From 11886e3e33d77a5d209ed47e463c80a58076445e Mon Sep 17 00:00:00 2001 From: Kuba Brecka Date: Wed, 10 Apr 2013 20:32:28 +0200 Subject: [PATCH] fix title of "quote post" button --- app/assets/javascripts/pagedown_custom.js | 2 +- config/locales/client.en.yml | 3 ++- config/locales/client.es.yml | 2 +- config/locales/client.it.yml | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/pagedown_custom.js b/app/assets/javascripts/pagedown_custom.js index e60999eba0b..9344908359f 100644 --- a/app/assets/javascripts/pagedown_custom.js +++ b/app/assets/javascripts/pagedown_custom.js @@ -4,7 +4,7 @@ window.PagedownCustom = { insertButtons: [ { id: 'wmd-quote-post', - description: I18n.t("js.composer.quote_title"), + description: I18n.t("js.composer.quote_post_title"), execute: function() { // AWFUL but I can't figure out how to call a controller method from outside our app return Discourse.__container__.lookup('controller:composer').importQuote(); diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index 425b7e6b354..e715341f67f 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -303,6 +303,7 @@ en: show_preview: 'show preview »' hide_preview: '« hide preview' + quote_post_title: "Quote whole post" bold_title: "Strong" bold_text: "strong text" italic_title: "Emphasis" @@ -312,7 +313,7 @@ en: link_dialog_title: "Insert Hyperlink" link_optional_text: "optional title" quote_title: "Blockquote" - quote_text: "Quote whole post" + quote_text: "Blockquote" code_title: "Code Sample" code_text: "enter code here" image_title: "Image" diff --git a/config/locales/client.es.yml b/config/locales/client.es.yml index f504bea5c9a..de591efac4f 100644 --- a/config/locales/client.es.yml +++ b/config/locales/client.es.yml @@ -303,7 +303,7 @@ es: link_dialog_title: "Insert Hyperlink" link_optional_text: "optional title" quote_title: "Blockquote" - quote_text: "Quote whole post" + quote_text: "Blockquote" code_title: "Code Sample" code_text: "enter code here" image_title: "Image" diff --git a/config/locales/client.it.yml b/config/locales/client.it.yml index f7ead76a823..41f750805ad 100644 --- a/config/locales/client.it.yml +++ b/config/locales/client.it.yml @@ -304,7 +304,7 @@ it: link_dialog_title: "Inserisci Link" link_optional_text: "titolo facoltativo" quote_title: "Blockquote" - quote_text: "Quote whole post" + quote_text: "Blockquote" code_title: "Code Sample" code_text: "inserisci il codice qui" image_title: "Immagine"