Skip to content

Commit e5c8299

Browse files
committed
feat(i18n): accessibility i18n terms to 'en'
Adds accessibility tags to the i18n service.
1 parent 22c7300 commit e5c8299

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

src/js/i18n/en.js

+25-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@
55
angular.module('ui.grid').config(['$provide', function($provide) {
66
$provide.decorator('i18nService', ['$delegate', function($delegate) {
77
$delegate.add('en', {
8+
headerCell: {
9+
aria: {
10+
defaultFilterLabel: 'Filter for column',
11+
removeFilter: 'Remove Filter',
12+
columnMenuButtonLabel: 'Column Menu'
13+
},
14+
priority: 'Priority:',
15+
filterLabel: "Filter for column: "
16+
},
817
aggregate: {
918
label: 'items'
1019
},
@@ -28,6 +37,7 @@
2837
sort: {
2938
ascending: 'Sort Ascending',
3039
descending: 'Sort Descending',
40+
none: 'Sort None',
3141
remove: 'Remove Sort'
3242
},
3343
column: {
@@ -41,11 +51,17 @@
4151
max: 'max: '
4252
},
4353
pinning: {
44-
pinLeft: 'Pin Left',
54+
pinLeft: 'Pin Left',
4555
pinRight: 'Pin Right',
4656
unpin: 'Unpin'
4757
},
58+
columnMenu: {
59+
close: 'Close'
60+
},
4861
gridMenu: {
62+
aria: {
63+
buttonLabel: 'Grid Menu'
64+
},
4965
columns: 'Columns:',
5066
importerTitle: 'Import file',
5167
exporterAllAsCsv: 'Export all data as csv',
@@ -63,8 +79,16 @@
6379
jsonNotArray: 'Imported json file must contain an array, aborting.'
6480
},
6581
pagination: {
82+
aria: {
83+
pageToFirst: 'Page to first',
84+
pageBack: 'Page back',
85+
pageSelected: 'Selected page',
86+
pageForward: 'Page forward',
87+
pageToLast: 'Page to last'
88+
},
6689
sizes: 'items per page',
6790
totalItems: 'items',
91+
through: 'through',
6892
of: 'of'
6993
},
7094
grouping: {

0 commit comments

Comments
 (0)