Skip to content

Commit

Permalink
Merge pull request #189 from sandofvega/master
Browse files Browse the repository at this point in the history
Add Bengali Translations
  • Loading branch information
kartik-v committed Oct 4, 2018
2 parents 67b2fbc + e513cd9 commit 51f5786
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions js/locales/bn.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/*!
* Star Rating Bengali 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['bn'] = {
defaultCaption: '{rating} তারা',
starCaptions: {
0.5: 'অর্ধেক তারা',
1: 'এক তারা',
1.5: 'দেড় তারা',
2: 'দুই তারা',
2.5: 'আড়াই তারা',
3: 'তিন তারা',
3.5: 'সাড়ে তিন তারা',
4: 'চার তারা',
4.5: 'সাড়ে চার তারা',
5: 'পাঁচ তারা'
},
clearButtonTitle: 'মুছে ফেলুন',
clearCaption: 'কোন তারা নেই'
};
})(window.jQuery);

0 comments on commit 51f5786

Please sign in to comment.