Skip to content

Commit ac6fbc8

Browse files
committed
Merge pull request wenzhixin#1400 from phillip-kruger/af_ZA_locale
added af_ZA locale
2 parents 5ac22c0 + f77231e commit ac6fbc8

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

src/locale/bootstrap-table-af-ZA.js

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
/**
2+
* Bootstrap Table Afrikaans translation
3+
* Author: Phillip Kruger <phillip.kruger@gmail.com>
4+
*/
5+
(function ($) {
6+
'use strict';
7+
8+
$.fn.bootstrapTable.locales['af-ZA'] = {
9+
formatLoadingMessage: function () {
10+
return 'Besig om te laai, wag asseblief ...';
11+
},
12+
formatRecordsPerPage: function (pageNumber) {
13+
return pageNumber + ' rekords per bladsy';
14+
},
15+
formatShowingRows: function (pageFrom, pageTo, totalRows) {
16+
return 'Resultate ' + pageFrom + ' tot ' + pageTo + ' van ' + totalRows + ' rye';
17+
},
18+
formatSearch: function () {
19+
return 'Soek';
20+
},
21+
formatNoMatches: function () {
22+
return 'Geen rekords gevind nie';
23+
},
24+
formatPaginationSwitch: function () {
25+
return 'Wys/verberg bladsy nummering';
26+
},
27+
formatRefresh: function () {
28+
return 'Herlaai';
29+
},
30+
formatToggle: function () {
31+
return 'Wissel';
32+
},
33+
formatColumns: function () {
34+
return 'Kolomme';
35+
}
36+
};
37+
38+
$.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['af-ZA']);
39+
40+
})(jQuery);

0 commit comments

Comments
 (0)