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