common/views/widgets/calendar.vue
Did weird formatting tricks. Hopefully should work.
This commit is contained in:
parent
86d49c6704
commit
c5b682dc89
|
@ -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!"
|
||||
|
|
|
@ -267,6 +267,19 @@ common/views/widgets/broadcast.vue:
|
|||
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: "寄付のお願い"
|
||||
text: "Misskeyの運営にはドメイン、サーバー等のコストが掛かります。Misskeyは広告を掲載したりしないため、収入を皆様からの寄付に頼っています。もしご興味があれば、{}までご連絡ください。ご協力ありがとうございます。"
|
||||
|
|
|
@ -4,27 +4,27 @@
|
|||
<div class="mkw-calendar--body">
|
||||
<div class="calendar" :data-is-holiday="isHoliday">
|
||||
<p class="month-and-year">
|
||||
<span class="year">{{ year }}年</span>
|
||||
<span class="month">{{ month }}月</span>
|
||||
<span class="year">%i18n:year-english%{{ year }}%i18n:year-japanese%</span>
|
||||
<span class="month">%i18n:month-english%{{ month }}%i18n:month-japanese%</span>
|
||||
</p>
|
||||
<p class="day">{{ day }}日</p>
|
||||
<p class="week-day">{{ weekDay }}曜日</p>
|
||||
<p class="day">>%i18n:day-english%{{ day }}%i18n:day-japanese%</p>
|
||||
<p class="week-day">%i18n:weekday-english%{{ weekDay }}%i18n:weekday-japanese%</p>
|
||||
</div>
|
||||
<div class="info">
|
||||
<div>
|
||||
<p>今日:<b>{{ dayP.toFixed(1) }}%</b></p>
|
||||
<p>%i18n:today%<b>{{ dayP.toFixed(1) }}%</b></p>
|
||||
<div class="meter">
|
||||
<div class="val" :style="{ width: `${dayP}%` }"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<p>今月:<b>{{ monthP.toFixed(1) }}%</b></p>
|
||||
<p>%i18n:this-month%<b>{{ monthP.toFixed(1) }}%</b></p>
|
||||
<div class="meter">
|
||||
<div class="val" :style="{ width: `${monthP}%` }"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<p>今年:<b>{{ yearP.toFixed(1) }}%</b></p>
|
||||
<p>%i18n:this-year%<b>{{ yearP.toFixed(1) }}%</b></p>
|
||||
<div class="meter">
|
||||
<div class="val" :style="{ width: `${yearP}%` }"></div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue