zh.js 899 B

1234567891011121314151617181920212223242526272829303132
  1. /*!
  2. * Star Rating Chinese Translations
  3. *
  4. * This file must be loaded after 'star-rating.js'. Patterns in braces '{}', or
  5. * any HTML markup tags in the messages must not be converted or translated.
  6. *
  7. * NOTE: this file must be saved in UTF-8 encoding.
  8. *
  9. * @see http://github.com/kartik-v/bootstrap-star-rating
  10. * @author Kartik Visweswaran <kartikv2@gmail.com>
  11. * @author Freeman
  12. */
  13. (function ($) {
  14. "use strict";
  15. $.fn.ratingLocales['zh'] = {
  16. defaultCaption: '{rating} 星',
  17. starCaptions: {
  18. 0.5: '半星',
  19. 1: '一星',
  20. 1.5: '一星半',
  21. 2: '二星',
  22. 2.5: '二星半',
  23. 3: '三星',
  24. 3.5: '三星半',
  25. 4: '四星',
  26. 4.5: '四星半',
  27. 5: '五星'
  28. },
  29. clearButtonTitle: '清除',
  30. clearCaption: '未评级'
  31. };
  32. })(window.jQuery);