-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathmessages.ts
More file actions
122 lines (119 loc) · 5.59 KB
/
messages.ts
File metadata and controls
122 lines (119 loc) · 5.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
import { defineMessages } from '@edx/frontend-platform/i18n';
const messages = defineMessages({
'authz.role.card.permission.for.role.status.granted': {
id: 'authz.role.card.permission.for.role.status.granted',
defaultMessage: 'Permission granted in {roleName} role',
description: 'Label for granted status of a permission in the permissions table',
},
'authz.role.card.permission.for.role.status.not.granted': {
id: 'authz.role.card.permission.for.role.status.not.granted',
defaultMessage: 'Permission not granted in {roleName} role',
description: 'Label for not granted status of a permission in the permissions table',
},
'authz.role.card.permission.for.role.status.disabled': {
id: 'authz.role.card.permission.for.role.status.disabled',
defaultMessage: 'We are expanding our permissions system. This role is currently unavailable but will be part of an upcoming update.',
description: 'Tooltip message for disabled roles in the permissions table',
},
'authz.anchor.button.alt': {
id: 'authz.anchor.button.alt',
defaultMessage: 'Scroll to top',
description: 'Alt text for the scroll to top anchor button',
},
'authz.table.controlbar.clearFilters': {
id: 'authz.table.controlbar.clearFilters',
defaultMessage: 'Clear filters',
description: 'Button to clear all active filters in the table',
},
'authz.user.table.org.all.organizations.label': {
id: 'authz.user.table.org.all.organizations.label',
defaultMessage: 'All Organizations',
description: 'Label for the "All Organizations" message on the user assignments table when a user has a django managed role assigned.',
},
'authz.table.controlbar.search': {
id: 'authz.table.controlbar.search',
defaultMessage: 'Search',
description: 'Search placeholder for two specific fields',
},
'authz.user.table.scope.global.label': {
id: 'authz.user.table.scope.global.label',
defaultMessage: 'Global',
description: 'Label for the "Global" scope in the user assignments table when a user has a django managed role assigned.',
},
'authz.table.controlbar.search.by.fields': {
id: 'authz.table.controlbar.search.by.fields',
defaultMessage: 'Search by {firstField} or {secondField}',
description: 'Search placeholder for two specific fields',
},
'authz.table.controlbar.filterby.label': {
id: 'authz.table.controlbar.filterby.label',
defaultMessage: 'Filtered by: ',
description: 'Label for active filters in the table',
},
'authz.table.controlbar.filters.limit.reached': {
id: 'authz.table.controlbar.filters.limit.reached',
defaultMessage: '10 filter limit reached. Remove one of the applied filters so you can select another one.',
description: 'Message displayed when the user reaches the applied filters limit',
},
'authz.table.controlbar.filters.items.showing': {
id: 'authz.table.controlbar.filters.limit.reached',
defaultMessage: 'Showing {current} of {total}.',
description: 'Message displayed when the user reaches the applied filters limit',
},
'authz.table.footer.items.showing.text': {
id: 'authz.table.footer.items.showing.text',
defaultMessage: 'Showing {pageSize} of {itemCount}.',
description: 'Text in the table footer indicating how many items are being shown out of the total count.',
},
'authz.table.username.current': {
id: 'authz.table.username.current',
defaultMessage: '(Me)',
description: 'Indicates the current user in the team members table',
},
'authz.table.column.actions.view.title': {
id: 'authz.table.column.actions.view.title',
defaultMessage: 'View',
description: 'Team members table view action text',
},
'authz.team.members.table.group.courses': {
id: 'authz.team.members.table.group.courses',
defaultMessage: 'Courses',
description: 'Label for the "Courses" group in the team members table filters',
},
'authz.team.members.table.group.libraries': {
id: 'authz.team.members.table.group.libraries',
defaultMessage: 'Libraries',
description: 'Label for the "Libraries" group in the team members table filters',
},
'authz.team.members.table.group.global': {
id: 'authz.team.members.table.group.global',
defaultMessage: 'Global',
description: 'Label for the "Global" group in the team members table filters',
},
'authz.table.controlbar.filters.more.results': {
id: 'authz.table.controlbar.filters.more.results',
defaultMessage: 'Search to show more',
description: 'Message displayed when there are more results available than currently shown',
},
'authz.user.table.permissions.access.label': {
id: 'authz.user.table.permissions.access.label',
defaultMessage: '{accessType, select, total {Total Access} partial {Partial Access} other {No Access}}',
description: 'Label for the permissions access level in the user assignments table, can be Total or Partial.',
},
'authz.user.table.permissions.available.count': {
id: 'authz.user.table.permissions.available.count',
defaultMessage: '{count, plural, one {# permission available} other {# permissions available}}',
description: 'Text showing the number of permissions available, with proper pluralization',
},
'authz.user.table.delete.action.alt': {
id: 'authz.user.table.delete.action.alt',
defaultMessage: 'Delete role action',
description: 'Alt description for delete button',
},
'authz.user.table.view_all_permissions.link.text': {
id: 'authz.user.table.view_all_permissions.link.text',
defaultMessage: 'View all permissions',
description: 'Text for the link to view all permissions in the user table',
},
});
export default messages;