-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathen.ts
293 lines (293 loc) · 13 KB
/
en.ts
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
/**
* Copyright (c) 2023 Visa, Inc.
*
* This source code is licensed under the MIT license
* https://github.com/visa/visa-chart-components/blob/master/LICENSE
*
**/
export const en = {
vcc: {
attr: {
language: 'en'
},
general: {
generic: {
altTextGenerator: {
overallNumberOfGroups: 'Overall number of elements:',
overallNumberOfGeom: 'Overall number of elements in this chart:',
numberOfInteractiveElements: 'Number of interactive elements:'
},
keyboardInstructions: {
enter: 'Enter the chart area/drill down a level on the chart area or element group.',
shiftEnter: 'Drill up a level on an element group or element.',
space: 'Select/Deselect an element on an element.',
horizontalArrows:
'Move among sibling element groups or elements when focusing on an element group or an element.',
verticalArrows: 'Move among elements across element groups when focusing on an element group or an element.'
}
},
geomTypes: {
bar: 'bar',
slice: 'slice',
point: 'point',
marker: 'marker',
node: 'node',
dumbbell: 'dumbbell',
link: 'link',
cell: 'cell'
},
groupNames: {
'scatter-group': 'scatter group',
stack: 'stack',
cluster: 'cluster',
'marker-group': 'marker group',
pie: 'pie',
line: 'line',
node: 'node',
row: 'row',
'node-collection': 'node collection'
},
keys: {
ctrl: 'Control',
enter: 'Enter',
shift: 'Shift',
space: 'Space',
esc: 'Esc',
tab: 'Tab'
},
keywords: {
structure: 'structure',
selected: 'selected',
action: 'action',
result: 'result',
note: 'note',
keyboard: 'keyboard',
interactive: 'interactive',
titled: 'titled',
title: 'title',
subtitle: 'subtitle',
static: 'static',
image: 'image',
purpose: 'purpose',
chart: 'chart',
start: 'start',
end: 'end',
value: 'value',
axis: 'axis',
annotation: 'annotation',
referenceLine: 'reference line'
},
expressions: {
keyboardInstructions: 'Keyboard Instructions',
showKeyboardInstructions: 'Display Keyboard Instructions',
keyboardInstructionsNote:
'Press and hold when using the arrow keys for the best navigation experience on a Mac (Voiceover).',
dismissTooltip: 'Dismiss the tooltip at any time.',
keyboardInstructionsEsc: 'Exit the chart at any time.',
butSomeMayBeHiddenUntilYouInteractWithThisNode: '(but some may be hidden until you interact with this node).',
asAPercentage: 'as a percentage',
numberOfAnnotations: 'Number of annotations:',
numberOfReferenceLines: 'Number of reference lines:'
}
},
dataTable: {
table1: 'You are currently on data table 1 of 2. This table contains data for the chart nodes.',
table2: 'You are currently on data table 2 of 2. This table contains the data for the chart links.',
display: 'display data table'
},
accessibilityController: {
navigateToTheChartAreaByPressingEnter: 'Navigate into the chart area by pressing ENTER.'
},
accessibilityDescriptions: {
chartLayoutDescription: 'Chart Layout Description',
withNoTitleProvided: 'with no title provided.',
fullDescription:
'This section contains additional information about this chart. To access the keyboard instructions menu, press TAB. To navigate to the chart area, press TAB again.',
nonInteractive: 'This section contains additional information about this chart.',
dataTableFocusOnHideDataTableButtonTrue:
'To access the data table, use your screen reader go to table shortcut key.',
dataTableFocusOnDataTableButtonFalse: 'To focus on the data table button, press TAB once more.',
longDescription: 'Long Description',
executiveSummary: 'Executive Summary',
statisticalInformation: 'Statistical Information',
xAxis: 'The chart has a horizontal X axis.',
yAxis: 'The chart has a vertical Y axis.',
primaryYAxis: 'The chart has a primary vertical Y axis.',
secondaryYAxis: 'The chart has a secondary vertical Y axis.',
multipleYAxisSections: 'The chart has multiple vertical Y axis sections.',
numberOfVerticalYAxisSections: 'Number of vertical Y axis sections:',
usingDifferentScales: 'The Y Axes are using different scales.',
thisSeriesIsTitled: 'This series is titled:',
notesAboutTheChartStructure: 'Notes about the chart structure',
referenceLineTitle: 'Reference line title:',
annotationTitle: 'Annotation title:'
},
'bar-chart': {
altTextGenerator: {
overallNumberOfGroups: 'Overall number of bars:',
overallNumberOfGeom: 'Overall number of bars in this bar chart:',
numberOfInteractiveElements: 'Number of interactive bars:'
},
keyboardInstructions: {
enter: 'Enter the chart area/drill down a level on the chart area or a bar group.',
shiftEnter: 'Drill up a level on a bar group or bar.',
space: 'Select/Deselect a bar on a bar.',
horizontalArrows: 'Move among sibling bar groups or bars when focusing on a bar group or a bar.',
verticalArrows: 'Move among bars across bar groups when focusing on a bar group or a bar.'
}
},
'clustered-bar-chart': {
altTextGenerator: {
overallNumberOfGroups: 'Overall number of clusters:',
overallNumberOfGeom: 'Overall number of bars in currently selected cluster:',
numberOfInteractiveElements: 'Number of interactive bars in cluster:'
},
keyboardInstructions: {
enter: 'Enter the chart area/drill down a level on the chart area or a cluster.',
shiftEnter: 'Drill up a level on a cluster or bar.',
space: 'Select/Deselect a bar on a bar.',
horizontalArrows: 'Move among sibling clusters or bars on a cluster or bar.',
verticalArrows: 'Move among bars across clusters on a cluster or bar.'
}
},
'stacked-bar-chart': {
altTextGenerator: {
overallNumberOfGroups: 'Overall number of stacks:',
overallNumberOfGeom: 'Overall number of bars in currently selected stack:',
numberOfInteractiveElements: 'Number of interactive bars in currently selected stack:'
},
keyboardInstructions: {
enter: 'Enter the chart area/drill down a level on the chart area or a stack.',
shiftEnter: 'Drill up a level on a stack or bar.',
space: 'Select/Deselect a bar on a bar.',
horizontalArrows: 'Move among sibling stacks or bars on a stack or bar.',
verticalArrows: 'Move among bars across stacks on a stack or bar.'
}
},
'line-chart': {
altTextGenerator: {
overallNumberOfGroups: 'Overall number of lines:',
overallNumberOfGeom: 'Overall number of points in currently selected line:',
numberOfInteractiveElements: 'Number of interactive points in selected line:'
},
keyboardInstructions: {
enter: 'Enter the chart area/drill down a level on the chart area or a line.',
shiftEnter: 'Drill up a level on a line or point.',
space: 'Select/Deselect a point on a line or point.',
horizontalArrows: 'Move among sibling lines or points on a line or point.',
verticalArrows: 'Move among points across lines on a line or point.'
}
},
'pie-chart': {
altTextGenerator: {
overallNumberOfGroups: 'Overall number of slices:',
overallNumberOfGeom: 'Overall number of slices in this pie chart:',
numberOfInteractiveElements: 'Number of interactive slices:'
},
keyboardInstructions: {
enter: 'Enter the chart area/drill down a level on the chart area or a pie.',
shiftEnter: 'Drill up a level on a pie or slice.',
space: 'Select/Deselect a slice on a slice.',
horizontalArrows: 'Move among sibling pies or slices on a pie or slice.'
}
},
'scatter-plot': {
altTextGenerator: {
overallNumberOfGroups: 'Overall number of scatter groups:',
overallNumberOfGeom: 'Overall number of points in currently selected scatter group:',
numberOfInteractiveElements: 'Number of interactive points in this scatter group:'
},
keyboardInstructions: {
enter: 'Enter the chart area/drill down a level on the chart area or a scatter group.',
shiftEnter: 'Drill up a level on a scatter group or point.',
space: 'Select/Deselect a point on a scatter group or group.',
horizontalArrows: 'Move among sibling scatter groups or points on a scatter group or point.',
verticalArrows: 'Move among points across scatter groups on a scatter group or point.'
}
},
'heat-map': {
altTextGenerator: {
overallNumberOfGroups: 'Overall number of rows:',
overallNumberOfGeom: 'Overall number of cells in this row:',
numberOfInteractiveElements: 'Number of interactive cells in this row:'
},
keyboardInstructions: {
enter: 'Enter the chart area/drill down a level on the chart area or a row.',
shiftEnter: 'Drill up a level on a row or cell.',
space: 'Select/Deselect a cell on a cell.',
horizontalArrows: 'Move among sibling rows or cells on a row or cell.',
verticalArrows: 'Move among cells across rows on a row or cell.'
}
},
'circle-packing': {
altTextGenerator: {
overallNumberOfGroups: 'Overall number of nodes:',
numberOfChildElements: 'Number of child elements:',
overallNumberOfGeom: 'Overall number of nodes in this node collection:',
numberOfInteractiveElements: 'Number of interactive nodes in this circle:'
},
keyboardInstructions: {
enter: 'Enter the chart area/drill down a level on the chart area or a node collection.',
shiftEnter: 'Drill up a level on a node collection or node.',
space: 'Select/Deselect a node on a node collection or node.',
horizontalArrows: 'Move among sibling node collections or nodes on a node collection or node.',
verticalArrows: 'Drill up or down a level on a node collection or node.'
}
},
'parallel-plot': {
altTextGenerator: {
overallNumberOfGroups: 'Overall number of lines:',
overallNumberOfGeom: 'Overall number of points in this line:',
numberOfInteractiveElements: 'Number of interactive points in this line:'
},
keyboardInstructions: {
enter: 'Enter the chart area/drill down a level on the chart area or a line.',
shiftEnter: 'Drill up a level on a line or point.',
space: 'Select/Deselect a point on a point.',
horizontalArrows: 'Move among sibling lines or points on a line or point.',
verticalArrows: 'Move among points across lines on a line or point.'
}
},
'dumbbell-plot': {
altTextGenerator: {
overallNumberOfGroups: 'Overall number of dumbbells:',
overallNumberOfGeom: 'Overall number of dumbbells in this dumbbell plot',
numberOfInteractiveElements: 'Number of interactive dumbbells in this dumbbell plot:'
},
keyboardInstructions: {
enter: 'Enter the chart area/drill down a level on the chart area or a group.',
shiftEnter: 'Drill up a level on a group or dumbbell.',
space: 'Select/Deselect a dumbbell on a dumbbell.',
horizontalArrows: 'Move among sibling groups or dumbbells on a group or dumbbell.'
}
},
'world-map': {
altTextGenerator: {
overallNumberOfGroups: 'Overall number of markers:',
overallNumberOfGeom: 'Overall number of markers on this map:',
numberOfInteractiveElements: 'Number of interactive markers on this map:'
},
keyboardInstructions: {
enter: 'Enter the chart area/drill down a level on the chart area or a marker group.',
shiftEnter: 'Drill up a level on a marker group or marker.',
space: 'Select/Deselect a marker on a marker.',
horizontalArrows: 'Move among sibling marker groups or markers on a marker group or marker.',
verticalArrows: 'Move among markers across marker groups on a marker group or marker.'
}
},
'alluvial-diagram': {
altTextGenerator: {
overallNumberOfGroups: 'Overall number of nodes or links:',
overallNumberOfGeom: 'Overall number of nodes or links in currently selected node or link:',
numberOfInteractiveElements: 'Number of interactive nodes or links in these nodes or links:'
},
keyboardInstructions: {
enter: 'Enter the chart area/drill down a level on the chart area or a node.',
shiftEnter: 'Drill up a level on a node or link.',
space: 'Select/Deselect a link on a link.',
horizontalArrows: 'Move among sibling nodes or links on a node or link.',
verticalArrows: "Drill up to link's Source or Target node on a link."
}
}
}
};