diff --git a/locales/en.yml b/locales/en.yml index 23a3942dd4..7a10149408 100644 --- a/locales/en.yml +++ b/locales/en.yml @@ -237,6 +237,20 @@ common/views/widgets/broadcast.vue: no-broadcasts: "No announcements" have-a-nice-day: "Have a nice day!" next: "Next" + +common/views/widgets/calendar.vue: + year-english: "Year " + year-japanese: "" + month-english: "Month " + month-japanese: "" + day-english: "Day " + day-japanese: "" + weekday-english: "Weekday " + weekday-japanese: "" + today: "Today: " + this-month: "This month: " + this-year: "This year: " + common/views/widgets/donation.vue: title: "Request for donations" text: "To keep Misskey up and running, we have to spend money on our domain name, the server costs and so on. Since we don't receive money from advertisements, we count on donations from all of you. If you're interested in helping, contact {}. Thank you for your contribution!" diff --git a/locales/ja.yml b/locales/ja.yml index 1f76c9604c..a542f72933 100644 --- a/locales/ja.yml +++ b/locales/ja.yml @@ -266,6 +266,19 @@ common/views/widgets/broadcast.vue: no-broadcasts: "お知らせはありません" have-a-nice-day: "良い一日を!" next: "次" + +common/views/widgets/calendar.vue: + year-english: "" + year-japanese: "年" + month-english: "" + month-japanese: "月" + day-english: "" + day-japanese: "日" + weekday-english: "" + weekday-japanese: "曜日" + today: "今日:" + this-month: "今月:" + this-year: "今年:" common/views/widgets/donation.vue: title: "寄付のお願い" diff --git a/src/client/app/common/views/widgets/calendar.vue b/src/client/app/common/views/widgets/calendar.vue index 9c8f1bff68..d928663bb4 100644 --- a/src/client/app/common/views/widgets/calendar.vue +++ b/src/client/app/common/views/widgets/calendar.vue @@ -4,27 +4,27 @@
- {{ year }}年 - {{ month }}月 + %i18n:year-english%{{ year }}%i18n:year-japanese% + %i18n:month-english%{{ month }}%i18n:month-japanese%
-{{ day }}日
-{{ weekDay }}曜日
+>%i18n:day-english%{{ day }}%i18n:day-japanese%
+%i18n:weekday-english%{{ weekDay }}%i18n:weekday-japanese%
今日:{{ dayP.toFixed(1) }}%
+%i18n:today%{{ dayP.toFixed(1) }}%
今月:{{ monthP.toFixed(1) }}%
+%i18n:this-month%{{ monthP.toFixed(1) }}%
今年:{{ yearP.toFixed(1) }}%
+%i18n:this-year%{{ yearP.toFixed(1) }}%