extract some strings from views/modal

This commit is contained in:
Kuba Brecka 2013-03-05 08:30:47 +01:00
parent 3fdc59b1d9
commit 5afd6cc8a1
3 changed files with 3 additions and 2 deletions

View file

@ -23,7 +23,7 @@ Discourse.EditCategoryView = Discourse.ModalBodyView.extend({
title: (function() {
if (this.get('category.id')) return Em.String.i18n("category.edit_long");
return "Create Category";
return Em.String.i18n("category.create");
}).property('category.id'),
buttonTitle: (function() {

View file

@ -8,7 +8,7 @@
**/
Discourse.HistoryView = Discourse.View.extend({
templateName: 'history',
title: 'History',
title: Em.String.i18n('history'),
modalClass: 'history-modal',
loadSide: function(side) {

View file

@ -585,6 +585,7 @@ en:
likes: "Likes"
top_contributors: "Participants"
category_title: "Category"
history: "History"
categories_list: "Categories List"