bootstrap-table-ar-SA.js 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. /**
  2. * Bootstrap Table English translation
  3. * Author: Zhixin Wen<wenzhixin2010@gmail.com>
  4. */
  5. $.fn.bootstrapTable.locales['ar-SA'] = {
  6. formatLoadingMessage () {
  7. return 'جاري التحميل, يرجى الإنتظار'
  8. },
  9. formatRecordsPerPage (pageNumber) {
  10. return `${pageNumber} سجل لكل صفحة`
  11. },
  12. formatShowingRows (pageFrom, pageTo, totalRows, totalNotFiltered) {
  13. if (totalNotFiltered !== undefined && totalNotFiltered > 0 && totalNotFiltered < totalRows) {
  14. return `الظاهر ${pageFrom} إلى ${pageTo} من ${totalRows} سجل ${totalNotFiltered} total entries)`
  15. }
  16. return `الظاهر ${pageFrom} إلى ${pageTo} من ${totalRows} سجل`
  17. },
  18. formatDetailPagination (totalRows) {
  19. return `Showing ${totalRows} rows`
  20. },
  21. formatSearch () {
  22. return 'بحث'
  23. },
  24. formatNoMatches () {
  25. return 'لا توجد نتائج مطابقة للبحث'
  26. },
  27. formatPaginationSwitch () { /* eslint-disable no-useless-escape */
  28. return 'إخفاء\إظهار ترقيم الصفحات'
  29. },
  30. formatRefresh () {
  31. return 'تحديث'
  32. },
  33. formatToggle () {
  34. return 'تغيير'
  35. },
  36. formatColumns () {
  37. return 'أعمدة'
  38. },
  39. formatFullscreen () {
  40. return 'Fullscreen'
  41. },
  42. formatAllRows () {
  43. return 'All'
  44. },
  45. formatAutoRefresh () {
  46. return 'Auto Refresh'
  47. },
  48. formatExport () {
  49. return 'Export data'
  50. },
  51. formatClearFilters () {
  52. return 'Clear filters'
  53. },
  54. formatJumpTo () {
  55. return 'GO'
  56. },
  57. formatAdvancedSearch () {
  58. return 'Advanced search'
  59. },
  60. formatAdvancedCloseButton () {
  61. return 'Close'
  62. }
  63. }
  64. $.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['ar-SA'])