Skip to content

Commit

Permalink
Merge pull request wenzhixin#4209 from wenzhixin/feature/update-locale
Browse files Browse the repository at this point in the history
Feature/update locale
  • Loading branch information
wenzhixin authored Mar 14, 2019
2 parents e71ddef + 13624d9 commit 4dce26d
Show file tree
Hide file tree
Showing 49 changed files with 1,162 additions and 195 deletions.
12 changes: 6 additions & 6 deletions src/bootstrap-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -500,13 +500,13 @@
return 'Loading, please wait...'
},
formatRecordsPerPage (pageNumber) {
return Utils.sprintf('%s rows per page', pageNumber)
return `${pageNumber} rows per page`
},
formatShowingRows (pageFrom, pageTo, totalRows) {
return Utils.sprintf('Showing %s to %s of %s rows', pageFrom, pageTo, totalRows)
return `Showing ${pageFrom} to ${pageTo} of ${totalRows} rows`
},
formatDetailPagination (totalRows) {
return Utils.sprintf('Showing %s rows', totalRows)
return `Showing ${totalRows} rows`
},
formatSearch () {
return 'Search'
Expand All @@ -523,12 +523,12 @@
formatToggle () {
return 'Toggle'
},
formatFullscreen () {
return 'Fullscreen'
},
formatColumns () {
return 'Columns'
},
formatFullscreen () {
return 'Fullscreen'
},
formatAllRows () {
return 'All'
}
Expand Down
27 changes: 27 additions & 0 deletions src/locale/bootstrap-table-af-ZA.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
formatShowingRows (pageFrom, pageTo, totalRows) {
return `Resultate ${pageFrom} tot ${pageTo} van ${totalRows} rye`
},
formatDetailPagination (totalRows) {
return `Showing ${totalRows} rows`
},
formatSearch () {
return 'Soek'
},
Expand All @@ -30,6 +33,30 @@
},
formatColumns () {
return 'Kolomme'
},
formatFullscreen () {
return 'Fullscreen'
},
formatAllRows () {
return 'All'
},
formatAutoRefresh () {
return 'Auto Refresh'
},
formatExport () {
return 'Export data'
},
formatClearFilters () {
return 'Clear filters'
},
formatJumpto () {
return 'GO'
},
formatAdvancedSearch () {
return 'Advanced search'
},
formatAdvancedCloseButton () {
return 'Close'
}
}

Expand Down
30 changes: 28 additions & 2 deletions src/locale/bootstrap-table-ar-SA.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,16 @@
formatShowingRows (pageFrom, pageTo, totalRows) {
return `الظاهر ${pageFrom} إلى ${pageTo} من ${totalRows} سجل`
},
formatDetailPagination (totalRows) {
return `Showing ${totalRows} rows`
},
formatSearch () {
return 'بحث'
},
formatNoMatches () {
return 'لا توجد نتائج مطابقة للبحث'
},
formatPaginationSwitch () {
/* eslint-disable no-useless-escape */
formatPaginationSwitch () { /* eslint-disable no-useless-escape */
return 'إخفاء\إظهار ترقيم الصفحات'
},
formatRefresh () {
Expand All @@ -31,6 +33,30 @@
},
formatColumns () {
return 'أعمدة'
},
formatFullscreen () {
return 'Fullscreen'
},
formatAllRows () {
return 'All'
},
formatAutoRefresh () {
return 'Auto Refresh'
},
formatExport () {
return 'Export data'
},
formatClearFilters () {
return 'Clear filters'
},
formatJumpto () {
return 'GO'
},
formatAdvancedSearch () {
return 'Advanced search'
},
formatAdvancedCloseButton () {
return 'Close'
}
}

Expand Down
24 changes: 24 additions & 0 deletions src/locale/bootstrap-table-ca-ES.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
formatShowingRows (pageFrom, pageTo, totalRows) {
return `Mostrant de ${pageFrom} fins ${pageTo} - total ${totalRows} resultats`
},
formatDetailPagination (totalRows) {
return `Showing ${totalRows} rows`
},
formatSearch () {
return 'Cerca'
},
Expand All @@ -32,8 +35,29 @@
formatColumns () {
return 'Columnes'
},
formatFullscreen () {
return 'Fullscreen'
},
formatAllRows () {
return 'Tots'
},
formatAutoRefresh () {
return 'Auto Refresh'
},
formatExport () {
return 'Export data'
},
formatClearFilters () {
return 'Clear filters'
},
formatJumpto () {
return 'GO'
},
formatAdvancedSearch () {
return 'Advanced search'
},
formatAdvancedCloseButton () {
return 'Close'
}
}

Expand Down
24 changes: 24 additions & 0 deletions src/locale/bootstrap-table-cs-CZ.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
formatShowingRows (pageFrom, pageTo, totalRows) {
return `Zobrazena ${pageFrom}. - ${pageTo}. položka z celkových ${totalRows}`
},
formatDetailPagination (totalRows) {
return `Showing ${totalRows} rows`
},
formatSearch () {
return 'Vyhledávání'
},
Expand All @@ -32,8 +35,29 @@
formatColumns () {
return 'Sloupce'
},
formatFullscreen () {
return 'Fullscreen'
},
formatAllRows () {
return 'Vše'
},
formatAutoRefresh () {
return 'Auto Refresh'
},
formatExport () {
return 'Export data'
},
formatClearFilters () {
return 'Clear filters'
},
formatJumpto () {
return 'GO'
},
formatAdvancedSearch () {
return 'Advanced search'
},
formatAdvancedCloseButton () {
return 'Close'
}
}

Expand Down
15 changes: 15 additions & 0 deletions src/locale/bootstrap-table-da-DK.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,29 @@
formatColumns () {
return 'Kolonner'
},
formatFullscreen () {
return 'Fullscreen'
},
formatAllRows () {
return 'Alle'
},
formatAutoRefresh () {
return 'Auto Refresh'
},
formatExport () {
return 'Eksporter'
},
formatClearFilters () {
return 'Ryd filtre'
},
formatJumpto () {
return 'GO'
},
formatAdvancedSearch () {
return 'Advanced search'
},
formatAdvancedCloseButton () {
return 'Close'
}
}

Expand Down
15 changes: 15 additions & 0 deletions src/locale/bootstrap-table-de-DE.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,29 @@
formatColumns () {
return 'Spalten'
},
formatFullscreen () {
return 'Fullscreen'
},
formatAllRows () {
return 'Alle'
},
formatAutoRefresh () {
return 'Auto Refresh'
},
formatExport () {
return 'Datenexport'
},
formatClearFilters () {
return 'Lösche Filter'
},
formatJumpto () {
return 'GO'
},
formatAdvancedSearch () {
return 'Advanced search'
},
formatAdvancedCloseButton () {
return 'Close'
}
}

Expand Down
39 changes: 39 additions & 0 deletions src/locale/bootstrap-table-el-GR.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,50 @@
formatShowingRows (pageFrom, pageTo, totalRows) {
return `Εμφανίζονται από την ${pageFrom} ως την ${pageTo} από σύνολο ${totalRows} σειρών`
},
formatDetailPagination (totalRows) {
return `Showing ${totalRows} rows`
},
formatSearch () {
return 'Αναζητήστε'
},
formatNoMatches () {
return 'Δεν βρέθηκαν αποτελέσματα'
},
formatPaginationSwitch () {
return 'Hide/Show pagination'
},
formatRefresh () {
return 'Refresh'
},
formatToggle () {
return 'Toggle'
},
formatColumns () {
return 'Columns'
},
formatFullscreen () {
return 'Fullscreen'
},
formatAllRows () {
return 'All'
},
formatAutoRefresh () {
return 'Auto Refresh'
},
formatExport () {
return 'Export data'
},
formatClearFilters () {
return 'Clear filters'
},
formatJumpto () {
return 'GO'
},
formatAdvancedSearch () {
return 'Advanced search'
},
formatAdvancedCloseButton () {
return 'Close'
}
}

Expand Down
18 changes: 18 additions & 0 deletions src/locale/bootstrap-table-en-US.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
formatShowingRows (pageFrom, pageTo, totalRows) {
return `Showing ${pageFrom} to ${pageTo} of ${totalRows} rows`
},
formatDetailPagination (totalRows) {
return `Showing ${totalRows} rows`
},
formatSearch () {
return 'Search'
},
Expand All @@ -31,14 +34,29 @@
formatColumns () {
return 'Columns'
},
formatFullscreen () {
return 'Fullscreen'
},
formatAllRows () {
return 'All'
},
formatAutoRefresh () {
return 'Auto Refresh'
},
formatExport () {
return 'Export data'
},
formatClearFilters () {
return 'Clear filters'
},
formatJumpto () {
return 'GO'
},
formatAdvancedSearch () {
return 'Advanced search'
},
formatAdvancedCloseButton () {
return 'Close'
}
}

Expand Down
Loading

0 comments on commit 4dce26d

Please sign in to comment.