2025-05-30 03:09:08 -06:00

46 lines
1.5 KiB
JavaScript
Raw Permalink 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.

/*!
* Star Rating Russian Translations
*
* 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['ru'] = {
defaultCaption: '{rating} Звёзды',
starCaptions: {
0.5: 'Половина звезды',
1: 'Одна звезда',
1.5: 'Полторы звезды',
2: 'Две звезды',
2.5: 'Две с половиной звезды',
3: 'Три звезды',
3.5: 'Три с половиной звезды',
4: 'Четыре звезды',
4.5: 'Четыре с половиной звезды',
5: 'Пять звёзд'
},
clearButtonTitle: 'Очистить',
clearCaption: 'Без рейтинга'
};
}));