mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 01:16:38 -06:00
extract some strings from views/modal
This commit is contained in:
parent
3fdc59b1d9
commit
5afd6cc8a1
@ -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 New Issue
Block a user