Skip to content

Commit

Permalink
fix(i18n): Replace ZWNJ with \u200c in Persian
Browse files Browse the repository at this point in the history
Thanks to @salarmehr for the commit

Closes #3842
  • Loading branch information
c0bra committed Jul 1, 2015
1 parent 2ff2cf0 commit 2f2936a
Showing 1 changed file with 65 additions and 34 deletions.
99 changes: 65 additions & 34 deletions src/js/i18n/fa.js
@@ -1,56 +1,87 @@
(function () {
angular.module('ui.grid').config(['$provide', function($provide) {
$provide.decorator('i18nService', ['$delegate', function($delegate) {
/* jshint -W100 */
/**
* Translated by: R. Salarmehr
* M. Hosseynzade
* Using Vajje.com online dictionary.
*/
(function () {
angular.module('ui.grid').config(['$provide', function ($provide) {
$provide.decorator('i18nService', ['$delegate', function ($delegate) {
$delegate.add('fa', {
aggregate: {
label: 'موردها'
label: 'قلم'
},
groupPanel: {
description: 'یک عنوان ستون اینجا را بردار و به گروهی از آن ستون بیانداز.'
description: 'عنوان یک ستون را بگیر و به گروهی از آن ستون رها کن.'
},
search: {
placeholder: 'جستجو...',
showingItems: 'نمایش موردها:',
selectedItems: 'موردهای انتخاب\u200cشده:',
totalItems: 'همهٔ موردها:',
size: 'اندازهٔ صفحه:',
first: 'صفحهٔ اول',
next: 'صفحهٔ بعد',
previous: 'صفحهٔ قبل',
showingItems: 'نمایش اقلام:',
selectedItems: 'قلم\u200cهای انتخاب شده:',
totalItems: 'مجموع اقلام:',
size: 'اندازه\u200cی صفحه:',
first: 'اولین صفحه',
next: 'صفحه\u200cی\u200cبعدی',
previous: 'صفحه\u200cی\u200c قبلی',
last: 'آخرین صفحه'
},
menu: {
text: 'انتخاب ستون\u200cها:'
text: 'ستون\u200cهای انتخابی:'
},
sort: {
ascending: 'ترتیب صعودی',
descending: 'ترتیب نزولی',
remove: 'حذف مرتب کردن'
},
column: {
hide: 'ستون پنهان کن'
hide: 'پنهان\u200cکردن ستون'
},
aggregation: {
count: 'total rows: ',
sum: 'total: ',
avg: 'avg: ',
min: 'min: ',
max: 'max: '
count: 'تعداد: ',
sum: 'مجموع: ',
avg: 'میانگین: ',
min: 'کمترین: ',
max: 'بیشترین: '
},
pinning: {
pinLeft: 'پین کردن سمت چپ',
pinRight: 'پین کردن سمت راست',
unpin: 'حذف پین'
},
gridMenu: {
columns: 'Columns:',
importerTitle: 'Import file',
exporterAllAsCsv: 'Export all data as csv',
exporterVisibleAsCsv: 'Export visible data as csv',
exporterSelectedAsCsv: 'Export selected data as csv',
exporterAllAsPdf: 'Export all data as pdf',
exporterVisibleAsPdf: 'Export visible data as pdf',
exporterSelectedAsPdf: 'Export selected data as pdf'
columns: 'ستون\u200cها:',
importerTitle: 'وارد کردن فایل',
exporterAllAsCsv: 'خروجی تمام داده\u200cها در فایل csv',
exporterVisibleAsCsv: 'خروجی داده\u200cهای قابل مشاهده در فایل csv',
exporterSelectedAsCsv: 'خروجی داده\u200cهای انتخاب\u200cشده در فایل csv',
exporterAllAsPdf: 'خروجی تمام داده\u200cها در فایل pdf',
exporterVisibleAsPdf: 'خروجی داده\u200cهای قابل مشاهده در فایل pdf',
exporterSelectedAsPdf: 'خروجی داده\u200cهای انتخاب\u200cشده در فایل pdf'
},
importer: {
noHeaders: 'Column names were unable to be derived, does the file have a header?',
noObjects: 'Objects were not able to be derived, was there data in the file other than headers?',
invalidCsv: 'File was unable to be processed, is it valid CSV?',
invalidJson: 'File was unable to be processed, is it valid Json?',
jsonNotArray: 'Imported json file must contain an array, aborting.'
noHeaders: 'نام ستون قابل استخراج نیست. آیا فایل عنوان دارد؟',
noObjects: 'اشیا قابل استخراج نیستند. آیا به جز عنوان\u200cها در فایل داده وجود دارد؟',
invalidCsv: 'فایل قابل پردازش نیست. آیا فرمت csv معتبر است؟',
invalidJson: 'فایل قابل پردازش نیست. آیا فرمت json معتبر است؟',
jsonNotArray: 'فایل json وارد شده باید حاوی آرایه باشد. عملیات ساقط شد.'
},
pagination: {
sizes: 'اقلام در هر صفحه',
totalItems: 'اقلام',
of: 'از'
},
grouping: {
group: 'گروه\u200cبندی',
ungroup: 'حذف گروه\u200cبندی',
aggregate_count: 'Agg: تعداد',
aggregate_sum: 'Agg: جمع',
aggregate_max: 'Agg: بیشینه',
aggregate_min: 'Agg: کمینه',
aggregate_avg: 'Agg: میانگین',
aggregate_remove: 'Agg: حذف'
}
});
return $delegate;
}]);
}]);
})();
}]);
})();

0 comments on commit 2f2936a

Please sign in to comment.