forked from FoundKeyGang/FoundKey
Improve i18n
This commit is contained in:
parent
2ffb8f7cf8
commit
b0fdf25b24
3 changed files with 44 additions and 27 deletions
|
@ -238,7 +238,7 @@ common/views/widgets/broadcast.vue:
|
||||||
no-broadcasts: "No announcements"
|
no-broadcasts: "No announcements"
|
||||||
have-a-nice-day: "Have a nice day!"
|
have-a-nice-day: "Have a nice day!"
|
||||||
next: "Next"
|
next: "Next"
|
||||||
|
|
||||||
common/views/widgets/calendar.vue:
|
common/views/widgets/calendar.vue:
|
||||||
year-english: "Year "
|
year-english: "Year "
|
||||||
year-japanese: ""
|
year-japanese: ""
|
||||||
|
@ -251,7 +251,7 @@ common/views/widgets/calendar.vue:
|
||||||
today: "Today: "
|
today: "Today: "
|
||||||
this-month: "This month: "
|
this-month: "This month: "
|
||||||
this-year: "This year: "
|
this-year: "This year: "
|
||||||
|
|
||||||
common/views/widgets/donation.vue:
|
common/views/widgets/donation.vue:
|
||||||
title: "Request for donations"
|
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!"
|
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!"
|
||||||
|
@ -276,7 +276,7 @@ common/views/widgets/slideshow.vue:
|
||||||
folder-customize-mode: "To specify a folder, please exit customize mode"
|
folder-customize-mode: "To specify a folder, please exit customize mode"
|
||||||
folder: "Please click and specify a folder"
|
folder: "Please click and specify a folder"
|
||||||
no-image: "There is no image in this folder"
|
no-image: "There is no image in this folder"
|
||||||
|
|
||||||
common/views/widgets/tips.vue:
|
common/views/widgets/tips.vue:
|
||||||
tips-line1: "You can focus on the timeline with <kbd>t</kbd>."
|
tips-line1: "You can focus on the timeline with <kbd>t</kbd>."
|
||||||
tips-line2: "Open posting form with <kbd>p</kbd> or <kbd>n</kbd>."
|
tips-line2: "Open posting form with <kbd>p</kbd> or <kbd>n</kbd>."
|
||||||
|
@ -715,18 +715,18 @@ desktop/views/pages/selectdrive.vue:
|
||||||
ok: "OK"
|
ok: "OK"
|
||||||
cancel: "Cancel"
|
cancel: "Cancel"
|
||||||
upload: "Upload files from your device"
|
upload: "Upload files from your device"
|
||||||
|
|
||||||
desktop/views/pages/search.vue:
|
desktop/views/pages/search.vue:
|
||||||
not-available: "The search function can not be used."
|
not-available: "The search function can not be used."
|
||||||
not-found-quotes1: "\""
|
not-found-quotes1: "\""
|
||||||
not-found-quotes2: "\""
|
not-found-quotes2: "\""
|
||||||
not-found-text-english: "No posts were found for "
|
not-found-text-english: "No posts were found for "
|
||||||
not-found-text-japanese: "."
|
not-found-text-japanese: "."
|
||||||
|
|
||||||
desktop/views/pages/share.vue:
|
desktop/views/pages/share.vue:
|
||||||
share-with: "Share with Misskey"
|
share-with: "Share with Misskey"
|
||||||
close: "Close"
|
close: "Close"
|
||||||
|
|
||||||
desktop/views/pages/tag.vue:
|
desktop/views/pages/tag.vue:
|
||||||
no-posts-found-english: "No posts were found for "
|
no-posts-found-english: "No posts were found for "
|
||||||
no-posts-found-japanese: ""
|
no-posts-found-japanese: ""
|
||||||
|
@ -888,7 +888,7 @@ mobile/views/components/sub-note-content.vue:
|
||||||
mobile/views/components/timeline.vue:
|
mobile/views/components/timeline.vue:
|
||||||
empty: "No notes"
|
empty: "No notes"
|
||||||
load-more: "More"
|
load-more: "More"
|
||||||
|
|
||||||
mobile/views/components/ui.header.vue:
|
mobile/views/components/ui.header.vue:
|
||||||
welcome-back: "Welcome back, "
|
welcome-back: "Welcome back, "
|
||||||
|
|
||||||
|
@ -977,7 +977,7 @@ mobile/views/pages/settings/settings.profile.vue:
|
||||||
saved: "Profile updated"
|
saved: "Profile updated"
|
||||||
uploading: "Uploading"
|
uploading: "Uploading"
|
||||||
upload-failed: "Failed to upload"
|
upload-failed: "Failed to upload"
|
||||||
|
|
||||||
mobile/views/pages/search.vue:
|
mobile/views/pages/search.vue:
|
||||||
search: "Search"
|
search: "Search"
|
||||||
empty: "No posts were found for '{}'"
|
empty: "No posts were found for '{}'"
|
||||||
|
|
|
@ -37,6 +37,15 @@ common:
|
||||||
friday: "金"
|
friday: "金"
|
||||||
saturday: "土"
|
saturday: "土"
|
||||||
|
|
||||||
|
weekday:
|
||||||
|
sunday: "日曜日"
|
||||||
|
monday: "月曜日"
|
||||||
|
tuesday: "火曜日"
|
||||||
|
wednesday: "水曜日"
|
||||||
|
thursday: "木曜日"
|
||||||
|
friday: "金曜日"
|
||||||
|
saturday: "土曜日"
|
||||||
|
|
||||||
reactions:
|
reactions:
|
||||||
like: "いいね"
|
like: "いいね"
|
||||||
love: "しゅき"
|
love: "しゅき"
|
||||||
|
@ -265,7 +274,7 @@ common/views/widgets/broadcast.vue:
|
||||||
no-broadcasts: "お知らせはありません"
|
no-broadcasts: "お知らせはありません"
|
||||||
have-a-nice-day: "良い一日を!"
|
have-a-nice-day: "良い一日を!"
|
||||||
next: "次"
|
next: "次"
|
||||||
|
|
||||||
common/views/widgets/calendar.vue:
|
common/views/widgets/calendar.vue:
|
||||||
year-english: ""
|
year-english: ""
|
||||||
year-japanese: "年"
|
year-japanese: "年"
|
||||||
|
@ -304,7 +313,7 @@ common/views/widgets/memo.vue:
|
||||||
title: "付箋"
|
title: "付箋"
|
||||||
memo: "ここに書いて!"
|
memo: "ここに書いて!"
|
||||||
save: "保存"
|
save: "保存"
|
||||||
|
|
||||||
common/views/widgets/slideshow.vue:
|
common/views/widgets/slideshow.vue:
|
||||||
folder-customize-mode: "フォルダを指定するには、カスタマイズモードを終了してください"
|
folder-customize-mode: "フォルダを指定するには、カスタマイズモードを終了してください"
|
||||||
folder: "クリックしてフォルダを指定してください"
|
folder: "クリックしてフォルダを指定してください"
|
||||||
|
@ -541,7 +550,7 @@ desktop/views/components/post-form.vue:
|
||||||
geolocation-alert: "お使いの端末は位置情報に対応していません"
|
geolocation-alert: "お使いの端末は位置情報に対応していません"
|
||||||
error: "エラー"
|
error: "エラー"
|
||||||
enter-username: "ユーザー名を入力してください"
|
enter-username: "ユーザー名を入力してください"
|
||||||
|
|
||||||
desktop/views/components/post-form-window.vue:
|
desktop/views/components/post-form-window.vue:
|
||||||
note: "新規投稿"
|
note: "新規投稿"
|
||||||
reply: "返信"
|
reply: "返信"
|
||||||
|
@ -760,7 +769,7 @@ desktop/views/components/received-follow-requests-window.vue:
|
||||||
title: "フォロー申請"
|
title: "フォロー申請"
|
||||||
accept: "承認"
|
accept: "承認"
|
||||||
reject: "拒否"
|
reject: "拒否"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
desktop/views/components/user-lists-window.vue:
|
desktop/views/components/user-lists-window.vue:
|
||||||
|
@ -830,17 +839,17 @@ desktop/views/pages/search.vue:
|
||||||
not-found-quotes2: "」"
|
not-found-quotes2: "」"
|
||||||
not-found-text-english: ""
|
not-found-text-english: ""
|
||||||
not-found-text-japanese: "に関する投稿は見つかりませんでした。"
|
not-found-text-japanese: "に関する投稿は見つかりませんでした。"
|
||||||
|
|
||||||
desktop/views/pages/share.vue:
|
desktop/views/pages/share.vue:
|
||||||
share-with: "Misskeyで共有"
|
share-with: "Misskeyで共有"
|
||||||
close: "閉じる"
|
close: "閉じる"
|
||||||
|
|
||||||
desktop/views/pages/tag.vue:
|
desktop/views/pages/tag.vue:
|
||||||
no-posts-found-english: ""
|
no-posts-found-english: ""
|
||||||
no-posts-found-japanese: "に関する投稿は見つかりませんでした。"
|
no-posts-found-japanese: "に関する投稿は見つかりませんでした。"
|
||||||
left-quote: "「"
|
left-quote: "「"
|
||||||
right-quote: "」"
|
right-quote: "」"
|
||||||
|
|
||||||
desktop/views/pages/user-list.users.vue:
|
desktop/views/pages/user-list.users.vue:
|
||||||
users: "ユーザー"
|
users: "ユーザー"
|
||||||
add-user: "ユーザーを追加"
|
add-user: "ユーザーを追加"
|
||||||
|
@ -1068,7 +1077,7 @@ mobile/views/pages/user-lists.vue:
|
||||||
mobile/views/pages/drive.vue:
|
mobile/views/pages/drive.vue:
|
||||||
drive: "ドライブ"
|
drive: "ドライブ"
|
||||||
more: "もっと見る"
|
more: "もっと見る"
|
||||||
|
|
||||||
mobile/views/pages/signup.vue:
|
mobile/views/pages/signup.vue:
|
||||||
lets-start: "📦 始めましょう"
|
lets-start: "📦 始めましょう"
|
||||||
|
|
||||||
|
@ -1089,12 +1098,12 @@ mobile/views/pages/tag.vue:
|
||||||
no-posts-found-english: ""
|
no-posts-found-english: ""
|
||||||
left-quote: "「"
|
left-quote: "「"
|
||||||
right-quote: "」"
|
right-quote: "」"
|
||||||
|
|
||||||
mobile/views/pages/welcome.vue:
|
mobile/views/pages/welcome.vue:
|
||||||
signup: "新規登録"
|
signup: "新規登録"
|
||||||
|
|
||||||
mobile/views/pages/widgets.vue:
|
mobile/views/pages/widgets.vue:
|
||||||
dashboard: "ダッシュボード"
|
dashboard: "ダッシュボード"
|
||||||
|
|
||||||
mobile/views/pages/widgets/activity.vue:
|
mobile/views/pages/widgets/activity.vue:
|
||||||
activity: "アクティビティ"
|
activity: "アクティビティ"
|
||||||
|
@ -1118,7 +1127,7 @@ mobile/views/pages/note.vue:
|
||||||
mobile/views/pages/notifications.vue:
|
mobile/views/pages/notifications.vue:
|
||||||
notifications: "通知"
|
notifications: "通知"
|
||||||
read-all: "すべての通知を既読にしますか?"
|
read-all: "すべての通知を既読にしますか?"
|
||||||
|
|
||||||
mobile/views/pages/reversi.vue:
|
mobile/views/pages/reversi.vue:
|
||||||
reversi: "リバーシ"
|
reversi: "リバーシ"
|
||||||
|
|
||||||
|
|
|
@ -4,27 +4,27 @@
|
||||||
<div class="mkw-calendar--body">
|
<div class="mkw-calendar--body">
|
||||||
<div class="calendar" :data-is-holiday="isHoliday">
|
<div class="calendar" :data-is-holiday="isHoliday">
|
||||||
<p class="month-and-year">
|
<p class="month-and-year">
|
||||||
<span class="year">%i18n:year-english%{{ year }}%i18n:year-japanese%</span>
|
<span class="year">%i18n:@year-english%{{ year }}%i18n:@year-japanese%</span>
|
||||||
<span class="month">%i18n:month-english%{{ month }}%i18n:month-japanese%</span>
|
<span class="month">%i18n:@month-english%{{ month }}%i18n:@month-japanese%</span>
|
||||||
</p>
|
</p>
|
||||||
<p class="day">>%i18n:day-english%{{ day }}%i18n:day-japanese%</p>
|
<p class="day">%i18n:@day-english%{{ day }}%i18n:@day-japanese%</p>
|
||||||
<p class="week-day">%i18n:weekday-english%{{ weekDay }}%i18n:weekday-japanese%</p>
|
<p class="week-day">{{ weekDay }}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="info">
|
<div class="info">
|
||||||
<div>
|
<div>
|
||||||
<p>%i18n:today%<b>{{ dayP.toFixed(1) }}%</b></p>
|
<p>%i18n:@today%<b>{{ dayP.toFixed(1) }}%</b></p>
|
||||||
<div class="meter">
|
<div class="meter">
|
||||||
<div class="val" :style="{ width: `${dayP}%` }"></div>
|
<div class="val" :style="{ width: `${dayP}%` }"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<p>%i18n:this-month%<b>{{ monthP.toFixed(1) }}%</b></p>
|
<p>%i18n:@this-month%<b>{{ monthP.toFixed(1) }}%</b></p>
|
||||||
<div class="meter">
|
<div class="meter">
|
||||||
<div class="val" :style="{ width: `${monthP}%` }"></div>
|
<div class="val" :style="{ width: `${monthP}%` }"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<p>%i18n:this-year%<b>{{ yearP.toFixed(1) }}%</b></p>
|
<p>%i18n:@this-year%<b>{{ yearP.toFixed(1) }}%</b></p>
|
||||||
<div class="meter">
|
<div class="meter">
|
||||||
<div class="val" :style="{ width: `${yearP}%` }"></div>
|
<div class="val" :style="{ width: `${yearP}%` }"></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -84,7 +84,15 @@ export default define({
|
||||||
this.year = ny;
|
this.year = ny;
|
||||||
this.month = nm + 1;
|
this.month = nm + 1;
|
||||||
this.day = nd;
|
this.day = nd;
|
||||||
this.weekDay = ['日', '月', '火', '水', '木', '金', '土'][now.getDay()];
|
this.weekDay = [
|
||||||
|
'%i18n:common.weekday.sunday%',
|
||||||
|
'%i18n:common.weekday.monday%',
|
||||||
|
'%i18n:common.weekday.tuesday%',
|
||||||
|
'%i18n:common.weekday.wednesday%',
|
||||||
|
'%i18n:common.weekday.thursday%',
|
||||||
|
'%i18n:common.weekday.friday%',
|
||||||
|
'%i18n:common.weekday.saturday%'
|
||||||
|
][now.getDay()];
|
||||||
|
|
||||||
const dayNumer = now.getTime() - new Date(ny, nm, nd).getTime();
|
const dayNumer = now.getTime() - new Date(ny, nm, nd).getTime();
|
||||||
const dayDenom = 1000/*ms*/ * 60/*s*/ * 60/*m*/ * 24/*h*/;
|
const dayDenom = 1000/*ms*/ * 60/*s*/ * 60/*m*/ * 24/*h*/;
|
||||||
|
|
Loading…
Reference in a new issue