浏览代码

Update bootstrap-table-ar-SA.js

Completed and corrected translation in Arabic.
OthmanAliModaes 2 年之前
父节点
当前提交
71806fa039
共有 1 个文件被更改,包括 29 次插入28 次删除
  1. 29 28
      src/locale/bootstrap-table-ar-SA.js

+ 29 - 28
src/locale/bootstrap-table-ar-SA.js

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