From c5b682dc8976f42a91b2c44feb18228605b0a162 Mon Sep 17 00:00:00 2001 From: gutfuckllc <40531868+gutfuckllc@users.noreply.github.com> Date: Wed, 1 Aug 2018 14:25:55 -0400 Subject: [PATCH] common/views/widgets/calendar.vue Did weird formatting tricks. Hopefully should work. --- locales/en.yml | 14 ++++++++++++++ locales/ja.yml | 13 +++++++++++++ src/client/app/common/views/widgets/calendar.vue | 14 +++++++------- 3 files changed, 34 insertions(+), 7 deletions(-) diff --git a/locales/en.yml b/locales/en.yml index 23a3942dd..7a1014940 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 1f76c9604..a542f7293 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 9c8f1bff6..d928663bb 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) }}%