From 5b456a6a3f490a94a0988f82ee8b74edc3301f92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Tue, 5 Mar 2013 03:38:12 +0100 Subject: [PATCH] globalizing the image selector modal --- app/assets/javascripts/discourse/views/modal/image_selector.js | 2 +- config/locales/client.en.yml | 1 + config/locales/client.fr.yml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) 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"