mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
extract some strings from views/modal
This commit is contained in:
parent
3fdc59b1d9
commit
5afd6cc8a1
3 changed files with 3 additions and 2 deletions
|
@ -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() {
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
**/
|
||||
Discourse.HistoryView = Discourse.View.extend({
|
||||
templateName: 'history',
|
||||
title: 'History',
|
||||
title: Em.String.i18n('history'),
|
||||
modalClass: 'history-modal',
|
||||
|
||||
loadSide: function(side) {
|
||||
|
|
|
@ -585,6 +585,7 @@ en:
|
|||
likes: "Likes"
|
||||
top_contributors: "Participants"
|
||||
category_title: "Category"
|
||||
history: "History"
|
||||
|
||||
categories_list: "Categories List"
|
||||
|
||||
|
|
Loading…
Reference in a new issue