snipe-it/resources/assets/js/locale/bootstrap-table-fa-IR.js
snipe c50b81ff19
Added resources
Signed-off-by: snipe <[email protected]>
2020-04-22 07:15:24 -07:00

43 lines
1.3 KiB
JavaScript
Executable file
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* Bootstrap Table Persian translation
* Author: MJ Vakili <[email protected]>
*/
(function ($) {
'use strict';
$.fn.bootstrapTable.locales['fa-IR'] = {
formatLoadingMessage: function () {
return 'در حال بارگذاری, لطفا صبر کنید...';
},
formatRecordsPerPage: function (pageNumber) {
return pageNumber + ' رکورد در صفحه';
},
formatShowingRows: function (pageFrom, pageTo, totalRows) {
return 'نمایش ' + pageFrom + ' تا ' + pageTo + ' از ' + totalRows + ' ردیف';
},
formatSearch: function () {
return 'جستجو';
},
formatNoMatches: function () {
return 'رکوردی یافت نشد.';
},
formatPaginationSwitch: function () {
return 'نمایش/مخفی صفحه بندی';
},
formatRefresh: function () {
return 'به روز رسانی';
},
formatToggle: function () {
return 'تغییر نمایش';
},
formatColumns: function () {
return 'سطر ها';
},
formatAllRows: function () {
return 'همه';
}
};
$.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['fa-IR']);
})(jQuery);