Skip to content

Commit

Permalink
feat(i18n): Add Arabic translation (#6551)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfarahat authored and mportuga committed Jan 30, 2018
1 parent c6b8d3b commit 24be1fb
Showing 1 changed file with 116 additions and 0 deletions.
116 changes: 116 additions & 0 deletions src/js/i18n/ar.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
/**
* Created by Mahmoud Farahat on 30/01/2018.
*/
(function () {
angular.module('ui.grid').config(['$provide', function($provide) {
$provide.decorator('i18nService', ['$delegate', function($delegate) {
$delegate.add('ar', {
"headerCell": {
"aria": {
"defaultFilterLabel": "التصفيه بالعمود",
"removeFilter": "محو التصفيه",
"columnMenuButtonLabel": "قاءمه الاعمده"
},
"priority": "أولويه : ",
"filterLabel": "تصفيه بالاعمده :"
},
"aggregate": {
"label": "العناصر"
},
"groupPanel": {
"description": "اسحب رأس العمود هنا وأسقطه لإنشاء مجموعه"
},
"search": {
"placeholder": "بحث ...",
"showingItems": "العناصر الظاهره :",
"selectedItems": "العناصر المحدده :",
"totalItems": "عدد العناصر :",
"size": "حجم الصفحه :",
"first": "اول صفحه",
"next": "الصفحه التاليه",
"previous": "الصفحه الصابقه",
"last": "الصفحه الاخيره"
},
"menu": {
"text": "اختيار العمود :"
},
"sort": {
"ascending": "ترتيب تصاعدى",
"descending": "ترتيب تنازلى",
"none": "عدم التحديد",
"remove": "حذف الترتيب"
},
"column": {
"hide": "إخفاء عمود"
},
"aggregation": {
"count": "عدد الصفوف: ",
"sum": "جمع: ",
"avg": "المتوسط الحسابى: ",
"min": "الادنى: ",
"max": "الاقصى: "
},
"pinning": {
"pinLeft": "تثبيت لليسار",
"pinRight": "تثبيت لليمين",
"unpin": "فك التثبيت"
},
"columnMenu": {
"close": "غلق"
},
"gridMenu": {
"aria": {
"buttonLabel": "قائمه الجدول"
},
"columns": "الاعمده:",
"importerTitle": "إدخال ملف",
"exporterAllAsCsv": "إخراج كل البيانات ك(csv)",
"exporterVisibleAsCsv": "إخراج كل البيانات الواضحه ك (csv)",
"exporterSelectedAsCsv": "إخراج كل البيانات المحدده ك (csv)",
"exporterAllAsPdf": "إخراج كل البيانات ك(pdf)",
"exporterVisibleAsPdf": "إخراج كل البيانات الواضحه ك (pdf)",
"exporterSelectedAsPdf": "إخراج كل البيانات المحدده ك (pdf)",
"clearAllFilters": "محو كل الترشيح"
},
"importer": {
"noHeaders": "اسماء هؤلاء الاعمده غير واضحه، هل يوجد رأس للملف؟",
"noObjects": "Objects were not able to be derived, was there data in the file other than headers?",
"invalidCsv": "الملف غير قادر على الاتمام ، هل ال (CSV) صحيح؟",
"invalidJson": "الملف غير قادر على الاتمام ، هل ال (JSON) صحيح؟",
"jsonNotArray": "Imported json file must contain an array, aborting."
},
"pagination": {
"aria": {
"pageToFirst": "الصفحه الاولى",
"pageBack": "الصفه السابقه",
"pageSelected": "الصفحه المحدده",
"pageForward": "الصفحه التاليه",
"pageToLast": "الصفحه الاخيره"
},
"sizes": "عدد العناصر فى الصفحه",
"totalItems": "عناصر",
"through": "إلى",
"of": "من"
},
"grouping": {
"group": "جمع",
"ungroup": "فك الجمع",
"aggregate_count": "جمله : العدد",
"aggregate_sum": "جمله : الحاصل",
"aggregate_max": "جمله : الاقصى",
"aggregate_min": "جمله : الاقل",
"aggregate_avg": "جمله :المتوسط ",
"aggregate_remove": "جمله : حذف"
},
"validate": {
"error": "خطأ :",
"minLength": "القيمه لابد ان لا تقل عن THRESHOLD حرف.",
"maxLength": "القيمه لابد ان لا تزيد عن THRESHOLD حرف.",
"required": "مطلوب قيمه"
}
});
return $delegate;
}]);
}]);
})();

0 comments on commit 24be1fb

Please sign in to comment.