globalizing the image selector modal

This commit is contained in:
Régis Hanol 2013-03-05 03:38:12 +01:00
parent f544e1d4f7
commit 5b456a6a3f
3 changed files with 3 additions and 1 deletions

View File

@ -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();

View File

@ -296,6 +296,7 @@ en:
moved_post: "<i title='moved post' class='icon icon-arrow-right'></i> {{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"

View File

@ -280,6 +280,7 @@ fr:
moved_post: "<i title='moved post' class='icon icon-arrow-right'></i> {{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"