-
-
Notifications
You must be signed in to change notification settings - Fork 398
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #219 from jockerz/master
Add locales Bahasa Indonesia (id)
- Loading branch information
Showing
1 changed file
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/*! | ||
* 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. | ||
* | ||
* bootstrap-star-rating v4.1.3 | ||
* 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['id'] = { | ||
defaultCaption: '{rating} Bintang', | ||
starCaptions: { | ||
0.5: 'Setengah Bintang', | ||
1: 'Satu Bintang', | ||
1.5: 'Satu Setengah Bintang', | ||
2: 'Dua Bintang', | ||
2.5: 'Dua Setengah Bintang', | ||
3: 'Tiga Bintang', | ||
3.5: 'Tiga Setangah Bintang', | ||
4: 'Empat Bintang', | ||
4.5: 'Empat Setangah Bintang', | ||
5: 'Lima Bintang' | ||
}, | ||
clearButtonTitle: 'Bersihkan', | ||
clearCaption: 'Belum ada penilaian' | ||
}; | ||
})); |
46c21f5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @kartik-v