Merge pull request #366 from ZogStriP/moar-globalization

globalizing the image selector modal
This commit is contained in:
Robin Ward 2013-03-05 06:41:49 -08:00
commit 97a2d6d0fe
3 changed files with 3 additions and 1 deletions

View File

@ -9,7 +9,7 @@
Discourse.ImageSelectorView = Discourse.View.extend({ Discourse.ImageSelectorView = Discourse.View.extend({
templateName: 'image_selector', templateName: 'image_selector',
classNames: ['image-selector'], classNames: ['image-selector'],
title: 'Insert Image', title: Em.String.i18n('image_selector.title'),
init: function() { init: function() {
this._super(); 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}}" moved_post: "<i title='moved post' class='icon icon-arrow-right'></i> {{username}} moved post to {{link}}"
image_selector: image_selector:
title: "Insert Image"
from_my_computer: "From My Device" from_my_computer: "From My Device"
from_the_web: "From The Web" from_the_web: "From The Web"
add_image: "Add Image" 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}}" moved_post: "<i title='moved post' class='icon icon-arrow-right'></i> {{username}} a déplacé le message vers {{link}}"
image_selector: image_selector:
title: "Insérer une image"
from_my_computer: "Local" from_my_computer: "Local"
from_the_web: "Depuis internet" from_the_web: "Depuis internet"
add_image: "Ajouter une image" add_image: "Ajouter une image"