diff --git a/app/javascript/mastodon/locales/defaultMessages.json b/app/javascript/mastodon/locales/defaultMessages.json index 1e7fef6be67dd01e44a4a7ecb22bbac37cb2f0cb..7e8447e4f659b528c2e2729d557dcded265724c4 100644 --- a/app/javascript/mastodon/locales/defaultMessages.json +++ b/app/javascript/mastodon/locales/defaultMessages.json @@ -132,6 +132,31 @@ ], "path": "app/javascript/mastodon/components/missing_indicator.json" }, + { + "descriptors": [ + { + "defaultMessage": "now", + "id": "relative_time.just_now" + }, + { + "defaultMessage": "{number}s", + "id": "relative_time.seconds" + }, + { + "defaultMessage": "{number}m", + "id": "relative_time.minutes" + }, + { + "defaultMessage": "{number}h", + "id": "relative_time.hours" + }, + { + "defaultMessage": "{number}d", + "id": "relative_time.days" + } + ], + "path": "app/javascript/mastodon/components/relative_timestamp.json" + }, { "descriptors": [ { diff --git a/app/javascript/mastodon/locales/ja.json b/app/javascript/mastodon/locales/ja.json index 11356c6dbbc949e0313f42aae99c4c6d1f99fe6f..ce797a7c70b9c5c3addc23dfe9b6529f2822e912 100644 --- a/app/javascript/mastodon/locales/ja.json +++ b/app/javascript/mastodon/locales/ja.json @@ -160,6 +160,11 @@ "privacy.public.short": "公開", "privacy.unlisted.long": "公開TLã§è¡¨ç¤ºã—ãªã„", "privacy.unlisted.short": "未åŽè¼‰", + "relative_time.days": "{number}æ—¥å‰", + "relative_time.hours": "{number}時間å‰", + "relative_time.just_now": "今", + "relative_time.minutes": "{number}分å‰", + "relative_time.seconds": "{number}ç§’å‰", "reply_indicator.cancel": "ã‚ャンセル", "report.placeholder": "コメント", "report.submit": "é€šå ±ã™ã‚‹",