Merge pull request #366 from ZogStriP/moar-globalization
globalizing the image selector modal
This commit is contained in:
commit
97a2d6d0fe
|
@ -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();
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue