107 lines
2.5 KiB
JavaScript
107 lines
2.5 KiB
JavaScript
/**
|
|
* Bootstrap Table English translation
|
|
* Author: Zhixin Wen<wenzhixin2010@gmail.com>
|
|
*/
|
|
|
|
$.fn.bootstrapTable.locales['ar-SA'] = $.fn.bootstrapTable.locales['ar'] = {
|
|
formatCopyRows () {
|
|
return 'Copy Rows'
|
|
},
|
|
formatPrint () {
|
|
return 'Print'
|
|
},
|
|
formatLoadingMessage () {
|
|
return 'جاري التحميل, يرجى الإنتظار'
|
|
},
|
|
formatRecordsPerPage (pageNumber) {
|
|
return `${pageNumber} سجل لكل صفحة`
|
|
},
|
|
formatShowingRows (pageFrom, pageTo, totalRows, totalNotFiltered) {
|
|
if (totalNotFiltered !== undefined && totalNotFiltered > 0 && totalNotFiltered > totalRows) {
|
|
return `الظاهر ${pageFrom} إلى ${pageTo} من ${totalRows} سجل ${totalNotFiltered} total rows)`
|
|
}
|
|
|
|
return `الظاهر ${pageFrom} إلى ${pageTo} من ${totalRows} سجل`
|
|
},
|
|
formatSRPaginationPreText () {
|
|
return 'previous page'
|
|
},
|
|
formatSRPaginationPageText (page) {
|
|
return `to page ${page}`
|
|
},
|
|
formatSRPaginationNextText () {
|
|
return 'next page'
|
|
},
|
|
formatDetailPagination (totalRows) {
|
|
return `Showing ${totalRows} rows`
|
|
},
|
|
formatClearSearch () {
|
|
return 'Clear Search'
|
|
},
|
|
formatSearch () {
|
|
return 'بحث'
|
|
},
|
|
formatNoMatches () {
|
|
return 'لا توجد نتائج مطابقة للبحث'
|
|
},
|
|
formatPaginationSwitch () { /* eslint-disable no-useless-escape */
|
|
return 'إخفاء\إظهار ترقيم الصفحات'
|
|
},
|
|
formatPaginationSwitchDown () {
|
|
return 'Show pagination'
|
|
},
|
|
formatPaginationSwitchUp () {
|
|
return 'Hide pagination'
|
|
},
|
|
formatRefresh () {
|
|
return 'تحديث'
|
|
},
|
|
formatToggle () {
|
|
return 'تغيير'
|
|
},
|
|
formatToggleOn () {
|
|
return 'Show card view'
|
|
},
|
|
formatToggleOff () {
|
|
return 'Hide card view'
|
|
},
|
|
formatColumns () {
|
|
return 'أعمدة'
|
|
},
|
|
formatColumnsToggleAll () {
|
|
return 'Toggle all'
|
|
},
|
|
formatFullscreen () {
|
|
return 'Fullscreen'
|
|
},
|
|
formatAllRows () {
|
|
return 'All'
|
|
},
|
|
formatAutoRefresh () {
|
|
return 'Auto Refresh'
|
|
},
|
|
formatExport () {
|
|
return 'Export data'
|
|
},
|
|
formatJumpTo () {
|
|
return 'GO'
|
|
},
|
|
formatAdvancedSearch () {
|
|
return 'Advanced search'
|
|
},
|
|
formatAdvancedCloseButton () {
|
|
return 'Close'
|
|
},
|
|
formatFilterControlSwitch () {
|
|
return 'Hide/Show controls'
|
|
},
|
|
formatFilterControlSwitchHide () {
|
|
return 'Hide controls'
|
|
},
|
|
formatFilterControlSwitchShow () {
|
|
return 'Show controls'
|
|
}
|
|
}
|
|
|
|
$.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['ar-SA'])
|