Browse files

Merge pull request #35 from mh35/master

Translation bug fix
  • Loading branch information...
2 parents a07f46e + 0fa738b commit 281a0049eaa63d317f40babc1d82828d1c98443f @jzaefferer committed Jun 30, 2015
Showing with 5 additions and 4 deletions.
  1. +2 −1 demo/index.html
  2. +3 −3 i18n/jquery.prettydate-ja.js
View
3 demo/index.html
@@ -109,6 +109,7 @@
'es',
'fr',
'id',
+ 'ja',
'kr',
'lv',
'nl',
@@ -170,4 +171,4 @@
<p><a href="https://github.com/jzaefferer/jquery-prettydate">Source code: github.com/jzaefferer/jquery-prettydate</a></p>
</div>
</body>
-</html>
+</html>
View
6 i18n/jquery.prettydate-ja.js
@@ -7,11 +7,11 @@ $.extend($.prettyDate.messages, {
hours: $.prettyDate.template('{0}時間前'),
yesterday: '1日前',
dayBeforeYesterday: '2日前',
- days: '{0}日前',
+ days: $.prettyDate.template('{0}日前'),
week: '1週間前',
- weeks: '{0}週間前',
+ weeks: $.prettyDate.template('{0}週間前'),
month: '1ヶ月前',
- months: '{0}ヶ月前',
+ months: $.prettyDate.template('{0}ヶ月前'),
year: '1年前',
years: $.prettyDate.template('{0}年前')
});

0 comments on commit 281a004

Please sign in to comment.