From fffe3dee6ebffdceae09355ec260238e1af613b3 Mon Sep 17 00:00:00 2001 From: Mikulas Date: Mon, 24 Mar 2014 17:45:26 +0100 Subject: [PATCH] add localization to multiselect popup --- .../discourse/templates/selected_posts.js.handlebars | 4 ++-- config/locales/client.cs.yml | 2 ++ config/locales/client.en.yml | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/selected_posts.js.handlebars b/app/assets/javascripts/discourse/templates/selected_posts.js.handlebars index be520ff85f9..1452cc17c2b 100644 --- a/app/assets/javascripts/discourse/templates/selected_posts.js.handlebars +++ b/app/assets/javascripts/discourse/templates/selected_posts.js.handlebars @@ -1,11 +1,11 @@

{{countI18n topic.multi_select.description countBinding="selectedPostsCount"}}

{{#if canSelectAll}} -

select all

+

{{i18n topic.multi_select.select_all}}

{{/if}} {{#if canDeselectAll}} -

deselect all

+

{{i18n topic.multi_select.deselect_all}}

{{/if}} {{#if canDeleteSelected}} diff --git a/config/locales/client.cs.yml b/config/locales/client.cs.yml index d110e27b0cd..313595ba8d8 100644 --- a/config/locales/client.cs.yml +++ b/config/locales/client.cs.yml @@ -810,6 +810,8 @@ cs: select: označit selected: 'označeno ({{count}})' select_replies: vybrat +odpovědi + select_all: vybrat vše + deselect_all: zrušit výběr delete: odstranit označené cancel: zrušit označování description: diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index c1b1e50ff68..f138924b033 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -872,6 +872,8 @@ en: select_replies: 'select +replies' delete: delete selected cancel: cancel selecting + select_all: select all + deselect_all: deselect all description: one: You have selected 1 post. other: "You have selected {{count}} posts."