mirror of
https://github.com/documize/community.git
synced 2025-07-19 05:09:42 +02:00
i18n strings
This commit is contained in:
parent
08f21346c1
commit
a7dac6911c
2 changed files with 25 additions and 15 deletions
|
@ -31,37 +31,37 @@ export default Model.extend({
|
|||
|
||||
switch (this.get('activityType')) {
|
||||
case constants.UserActivityType.Created:
|
||||
label = 'Added';
|
||||
label = this.i18n.localize('added');
|
||||
break;
|
||||
case constants.UserActivityType.Read:
|
||||
label = 'Viewed';
|
||||
label = this.i18n.localize('viewed');
|
||||
break;
|
||||
case constants.UserActivityType.Edited:
|
||||
label = 'Edited';
|
||||
label = this.i18n.localize('edited');
|
||||
break;
|
||||
case constants.UserActivityType.Deleted:
|
||||
label = 'Deleted';
|
||||
label = this.i18n.localize('deleted');
|
||||
break;
|
||||
case constants.UserActivityType.Archived:
|
||||
label = 'Archived';
|
||||
label = this.i18n.localize('archived');
|
||||
break;
|
||||
case constants.UserActivityType.Approved:
|
||||
label = 'Approved';
|
||||
label = this.i18n.localize('approved');
|
||||
break;
|
||||
case constants.UserActivityType.Reverted:
|
||||
label = 'Reverted';
|
||||
label = this.i18n.localize('reverted');
|
||||
break;
|
||||
case constants.UserActivityType.PublishedTemplate:
|
||||
label = 'Published Template';
|
||||
label = this.i18n.localize('template_published');
|
||||
break;
|
||||
case constants.UserActivityType.PublishedBlock:
|
||||
label = 'Published Block';
|
||||
label = this.i18n.localize('block_published');
|
||||
break;
|
||||
case constants.UserActivityType.Rejected:
|
||||
label = 'Rejected';
|
||||
label = this.i18n.localize('rejected');
|
||||
break;
|
||||
case constants.UserActivityType.Published:
|
||||
label = 'Published';
|
||||
label = this.i18n.localize('published');
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
"close": "Close",
|
||||
"copy": "Copy",
|
||||
"delete": "Delete",
|
||||
"deleted": "Deleted",
|
||||
"duplicate": "Duplicate",
|
||||
"edit": "Edit",
|
||||
"import": "Import",
|
||||
|
@ -25,6 +26,7 @@
|
|||
"publish": "Publish",
|
||||
"print": "Print",
|
||||
"reject": "Reject",
|
||||
"rejected": "Rejected",
|
||||
"remove": "Remove",
|
||||
"reply": "Reply",
|
||||
"reset": "Reset",
|
||||
|
@ -39,13 +41,18 @@
|
|||
"unassigned": "Unassigned",
|
||||
"update": "Update",
|
||||
"version": "Version",
|
||||
|
||||
"name": "Name",
|
||||
"description": "Description",
|
||||
"icon": "Icon",
|
||||
"added": "Added",
|
||||
"viewed": "Viewed",
|
||||
"edited": "Edited",
|
||||
"draft": "Draft",
|
||||
"live": "Live",
|
||||
"archived": "Archived",
|
||||
"approved": "Approved",
|
||||
"reverted": "Reverted",
|
||||
"published": "Published",
|
||||
"name": "Name",
|
||||
"description": "Description",
|
||||
"icon": "Icon",
|
||||
|
||||
"filter": "Filter",
|
||||
"all": "All",
|
||||
|
@ -75,6 +82,9 @@
|
|||
"approval_majority": "Majority approval required from approvers",
|
||||
"approval_unanimous": "Unanimous approval required from all approvers",
|
||||
|
||||
"template_published": "Published Template",
|
||||
|
||||
"block_published": "Published Block",
|
||||
|
||||
"z": "z"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue