32 lines
934 B
JavaScript
Executable File
32 lines
934 B
JavaScript
Executable File
/*!
|
|
* Star Rating <LANG> 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.
|
|
*
|
|
* @see http://github.com/kartik-v/bootstrap-star-rating
|
|
* @author Kartik Visweswaran <kartikv2@gmail.com>
|
|
*/
|
|
(function ($) {
|
|
"use strict";
|
|
$.fn.ratingLocales['<LANG>'] = {
|
|
defaultCaption: '{rating} Stars',
|
|
starCaptions: {
|
|
0.5: 'Half Star',
|
|
1: 'One Star',
|
|
1.5: 'One & Half Star',
|
|
2: 'Two Stars',
|
|
2.5: 'Two & Half Stars',
|
|
3: 'Three Stars',
|
|
3.5: 'Three & Half Stars',
|
|
4: 'Four Stars',
|
|
4.5: 'Four & Half Stars',
|
|
5: 'Five Stars'
|
|
},
|
|
clearButtonTitle: 'Clear',
|
|
clearCaption: 'Not Rated'
|
|
};
|
|
})(window.jQuery);
|