47 lines
1.4 KiB
JavaScript
47 lines
1.4 KiB
JavaScript
/*!
|
|
* Star Rating Arabic Translations
|
|
* @author Abdulrahman Zaiter
|
|
*
|
|
* This file must be loaded after 'star-rating.js'. Patterns in braces '{}', or
|
|
* any HTML markup tags in the messages must not be converted or translated.
|
|
*
|
|
* NOTE: this file must be saved in UTF-8 encoding.
|
|
*
|
|
* bootstrap-star-rating v4.1.2
|
|
* http://plugins.krajee.com/star-rating
|
|
*
|
|
* Copyright: 2013 - 2021, Kartik Visweswaran, Krajee.com
|
|
*
|
|
* Licensed under the BSD 3-Clause
|
|
* https://github.com/kartik-v/bootstrap-star-rating/blob/master/LICENSE.md
|
|
*/
|
|
(function (factory) {
|
|
'use strict';
|
|
if (typeof define === 'function' && define.amd) {
|
|
define(['jquery'], factory);
|
|
} else if (typeof module === 'object' && typeof module.exports === 'object') {
|
|
factory(require('jquery'));
|
|
} else {
|
|
factory(window.jQuery);
|
|
}
|
|
}(function ($) {
|
|
"use strict";
|
|
$.fn.ratingLocales['ar'] = {
|
|
defaultCaption: '{rating} نجوم',
|
|
starCaptions: {
|
|
0.5: 'نصف نجمة',
|
|
1: 'نجمة واحدة',
|
|
1.5: 'نجمة ونصف',
|
|
2: 'نجمتين',
|
|
2.5: 'نجمتين ونصف',
|
|
3: 'ثلاث نجمات',
|
|
3.5: 'ثلاث نجمات ونصف',
|
|
4: 'أربع نجمات',
|
|
4.5: 'أربع نجمات ونصف',
|
|
5: 'خمسة نجمات'
|
|
},
|
|
clearButtonTitle: 'مسح',
|
|
clearCaption: 'غير مصنّف'
|
|
};
|
|
}));
|