diff --git a/app/assets/javascripts/discourse/views/modal/image_selector.js b/app/assets/javascripts/discourse/views/modal/image_selector.js index 20de48ddd..2b52cca87 100644 --- a/app/assets/javascripts/discourse/views/modal/image_selector.js +++ b/app/assets/javascripts/discourse/views/modal/image_selector.js @@ -9,7 +9,7 @@ Discourse.ImageSelectorView = Discourse.View.extend({ templateName: 'image_selector', classNames: ['image-selector'], - title: 'Insert Image', + title: Em.String.i18n('image_selector.title'), init: function() { this._super(); diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index 7c1c75caf..734e7bea8 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -296,6 +296,7 @@ en: moved_post: " {{username}} moved post to {{link}}" image_selector: + title: "Insert Image" from_my_computer: "From My Device" from_the_web: "From The Web" add_image: "Add Image" diff --git a/config/locales/client.fr.yml b/config/locales/client.fr.yml index 623a1c875..d04bda0d6 100644 --- a/config/locales/client.fr.yml +++ b/config/locales/client.fr.yml @@ -280,6 +280,7 @@ fr: moved_post: " {{username}} a déplacé le message vers {{link}}" image_selector: + title: "Insérer une image" from_my_computer: "Local" from_the_web: "Depuis internet" add_image: "Ajouter une image"