mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 01:04:23 +08:00
Change edit category modal submit button text to Save Category
This commit is contained in:
parent
e1b958d483
commit
7b76447e5e
|
@ -57,8 +57,8 @@ Discourse.EditCategoryView = Discourse.ModalBodyView.extend({
|
|||
|
||||
buttonTitle: function() {
|
||||
if (this.get('saving')) return Em.String.i18n("saving");
|
||||
return this.get('title');
|
||||
}.property('title', 'saving'),
|
||||
return (this.get('category.id') ? Em.String.i18n("category.save") : Em.String.i18n("category.create"));
|
||||
}.property('saving', 'category.id'),
|
||||
|
||||
deleteButtonTitle: function() {
|
||||
return Em.String.i18n('category.delete');
|
||||
|
|
|
@ -690,6 +690,7 @@ en:
|
|||
view: 'View Topics in Category'
|
||||
delete: 'Delete Category'
|
||||
create: 'Create Category'
|
||||
save: 'Save Category'
|
||||
creation_error: There has been an error during the creation of the category.
|
||||
more_posts: "view all {{posts}}..."
|
||||
name: "Category Name"
|
||||
|
|
Loading…
Reference in New Issue
Block a user