Skip to content

Commit

Permalink
fix(relative-time): fix japanese locale name
Browse files Browse the repository at this point in the history
locale for Japanese is ja, not jp. relativeTime should now properly work for japanese
  • Loading branch information
HIRANO-Satoshi authored and zewa666 committed Oct 26, 2017
1 parent c40737f commit 42ec461
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion src/defaultTranslations/relative.time.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ export const translations = {
'day_in_plural': 'om __count__ dager'
}
},
jp: {
ja: {
translation: {
'now': 'たった今',
'second_ago': '__count__ 秒前',
Expand All @@ -300,6 +300,27 @@ export const translations = {
'day_in_plural': 'あと __count__ 日間'
}
},
jp: {
translation: {
'now': 'たった今',
'second_ago': '__count__ 秒前',
'second_ago_plural': '__count__ 秒前',
'second_in': 'あと __count__ 秒',
'second_in_plural': 'あと __count__ 秒',
'minute_ago': '__count__ 分前',
'minute_ago_plural': '__count__ 分前',
'minute_in': 'あと __count__ 分',
'minute_in_plural': 'あと __count__ 分',
'hour_ago': '__count__ 時間前',
'hour_ago_plural': '__count__ 時間前',
'hour_in': 'あと __count__ 時間',
'hour_in_plural': 'あと __count__ 時間',
'day_ago': '__count__ 日間前',
'day_ago_plural': '__count__ 日間前',
'day_in': 'あと __count__ 日間',
'day_in_plural': 'あと __count__ 日間'
}
},
pt: {
translation: {
'now': 'neste exato momento',
Expand Down

0 comments on commit 42ec461

Please sign in to comment.