Skip to content

Commit 5b584f9

Browse files
edesr1988mportuga
authored andcommitted
Update sk.js
Added Slovak translations for more grid functions
1 parent 2d6907f commit 5b584f9

File tree

1 file changed

+76
-26
lines changed

1 file changed

+76
-26
lines changed

src/js/i18n/sk.js

Lines changed: 76 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,27 @@
55
angular.module('ui.grid').config(['$provide', function($provide) {
66
$provide.decorator('i18nService', ['$delegate', function($delegate) {
77
$delegate.add('sk', {
8-
aggregate: {
9-
label: 'items'
8+
headerCell: {
9+
aria: {
10+
defaultFilterLabel: 'Filter pre stĺpec',
11+
removeFilter: 'Odstrániť filter',
12+
columnMenuButtonLabel: 'Menu pre stĺpec',
13+
column: 'Stĺpec'
14+
},
15+
priority: 'Priorita:',
16+
filterLabel: "Filter pre stĺpec: "
17+
},
18+
aggregate: {
19+
label: 'položky'
1020
},
1121
groupPanel: {
1222
description: 'Pretiahni sem názov stĺpca pre zoskupenie podľa toho stĺpca.'
1323
},
1424
search: {
25+
aria: {
26+
selected: 'Označený riadok',
27+
notSelected: 'Neoznačený riadok'
28+
},
1529
placeholder: 'Hľadaj...',
1630
showingItems: 'Zobrazujem položky:',
1731
selectedItems: 'Vybraté položky:',
@@ -28,46 +42,82 @@
2842
sort: {
2943
ascending: 'Zotriediť vzostupne',
3044
descending: 'Zotriediť zostupne',
45+
none: 'Nezotriediť',
3146
remove: 'Vymazať triedenie'
3247
},
48+
column: {
49+
hide: 'Skryť stĺpec'
50+
},
3351
aggregation: {
34-
count: 'total rows: ',
35-
sum: 'total: ',
52+
count: 'počet riadkov: ',
53+
sum: 'spolu: ',
3654
avg: 'avg: ',
3755
min: 'min: ',
3856
max: 'max: '
3957
},
58+
pinning: {
59+
pinLeft: 'Pripnúť vľavo',
60+
pinRight: 'Pripnúť vpravo',
61+
unpin: 'Odopnúť'
62+
},
63+
columnMenu: {
64+
close: 'Zavrieť'
65+
},
4066
gridMenu: {
41-
columns: 'Columns:',
42-
importerTitle: 'Import file',
43-
exporterAllAsCsv: 'Export all data as csv',
44-
exporterVisibleAsCsv: 'Export visible data as csv',
45-
exporterSelectedAsCsv: 'Export selected data as csv',
46-
exporterAllAsPdf: 'Export all data as pdf',
47-
exporterVisibleAsPdf: 'Export visible data as pdf',
48-
exporterSelectedAsPdf: 'Export selected data as pdf',
49-
exporterAllAsExcel: 'Export all data as excel',
50-
exporterVisibleAsExcel: 'Export visible data as excel',
51-
exporterSelectedAsExcel: 'Export selected data as excel',
52-
clearAllFilters: 'Clear all filters'
67+
aria: {
68+
buttonLabel: 'Grid Menu'
69+
},
70+
columns: 'Stĺpce:',
71+
importerTitle: 'Importovať súbor',
72+
exporterAllAsCsv: 'Exportovať všetky údaje ako CSV',
73+
exporterVisibleAsCsv: 'Exportovť viditeľné údaje ako CSV',
74+
exporterSelectedAsCsv: 'Exportovať označené údaje ako CSV',
75+
exporterAllAsPdf: 'Exportovať všetky údaje ako pdf',
76+
exporterVisibleAsPdf: 'Exportovať viditeľné údaje ako pdf',
77+
exporterSelectedAsPdf: 'Exportovať označené údaje ako pdf',
78+
exporterAllAsExcel: 'Exportovať všetky údaje ako excel',
79+
exporterVisibleAsExcel: 'Exportovať viditeľné údaje ako excel',
80+
exporterSelectedAsExcel: 'Exportovať označené údaje ako excel',
81+
clearAllFilters: 'Zrušiť všetky filtre'
5382
},
5483
importer: {
55-
noHeaders: 'Column names were unable to be derived, does the file have a header?',
56-
noObjects: 'Objects were not able to be derived, was there data in the file other than headers?',
57-
invalidCsv: 'File was unable to be processed, is it valid CSV?',
58-
invalidJson: 'File was unable to be processed, is it valid Json?',
59-
jsonNotArray: 'Imported json file must contain an array, aborting.'
84+
noHeaders: 'Názvy stĺpcov sa nedali odvodiť, má súbor hlavičku?',
85+
noObjects: 'Objekty nebolo možné odvodiť, existovali iné údaje v súbore ako hlavičky?',
86+
invalidCsv: 'Súbor sa nepodarilo spracovať, je to platný súbor CSV?',
87+
invalidJson: 'Súbor nebolo možné spracovať, je to platný súbor typu Json?',
88+
jsonNotArray: 'Importovaný súbor json musí obsahovať pole, ukončujem.'
89+
},
90+
pagination: {
91+
aria: {
92+
pageToFirst: 'Strana na začiatok',
93+
pageBack: 'Strana dozadu',
94+
pageSelected: 'Označená strana',
95+
pageForward: 'Strana dopredu',
96+
pageToLast: 'Strana na koniec'
97+
},
98+
sizes: 'položky na stranu',
99+
totalItems: 'položky spolu',
100+
through: 'do konca',
101+
of: 'z'
60102
},
61103
grouping: {
62-
group: 'Group',
63-
ungroup: 'Ungroup',
64-
aggregate_count: 'Agg: Count',
65-
aggregate_sum: 'Agg: Sum',
104+
group: 'Zoskupiť',
105+
ungroup: 'Zrušiť zoskupenie',
106+
aggregate_count: 'Agg: Počet',
107+
108+
aggregate_sum: 'Agg: Suma',
66109
aggregate_max: 'Agg: Max',
67110
aggregate_min: 'Agg: Min',
68111
aggregate_avg: 'Agg: Avg',
69-
aggregate_remove: 'Agg: Remove'
112+
aggregate_remove: 'Agg: Zrušiť'
113+
},
114+
validate: {
115+
error: 'Chyba:',
116+
minLength: 'Hodnota by mala mať aspoň THRESHOLD znakov dlhá.',
117+
maxLength: 'Hodnota by mala byť maximálne THRESHOLD znakov dlhá.',
118+
required: 'Vyžaduje sa hodnota.'
70119
}
120+
71121
});
72122
return $delegate;
73123
}]);

0 commit comments

Comments
 (0)