diff options
| author | Insert5StarName <anime@shourai.de> | 2023-11-30 13:25:35 +0100 |
|---|---|---|
| committer | Insert5StarName <anime@shourai.de> | 2023-11-30 13:25:35 +0100 |
| commit | 97bd4e6f829cc42514a3d21ae326552bb468849d (patch) | |
| tree | 7242ee58d7a888ad6cf7bd9f6a2992fb555777b8 | |
| parent | upd: remove reload from `DisconnectedBehavior` (diff) | |
| download | sharkey-97bd4e6f829cc42514a3d21ae326552bb468849d.tar.gz sharkey-97bd4e6f829cc42514a3d21ae326552bb468849d.tar.bz2 sharkey-97bd4e6f829cc42514a3d21ae326552bb468849d.zip | |
chore: add locales for defaultLike
| -rw-r--r-- | locales/en-US.yml | 9 | ||||
| -rw-r--r-- | locales/index.d.ts | 1 | ||||
| -rw-r--r-- | locales/ja-JP.yml | 3 | ||||
| -rw-r--r-- | packages/frontend/src/pages/admin/branding.vue | 2 | ||||
| -rw-r--r-- | packages/frontend/src/pages/settings/reaction.vue | 2 |
5 files changed, 14 insertions, 3 deletions
diff --git a/locales/en-US.yml b/locales/en-US.yml index 11b4e4e28f..60282174d5 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -987,6 +987,7 @@ cannotLoad: "Unable to load" numberOfProfileView: "Profile views" like: "Like" unlike: "Unlike" +defaultLike: "Default like emoji" numberOfLikes: "Likes" show: "Show" neverShow: "Don't show again" @@ -1855,6 +1856,14 @@ _ago: monthsAgo: "{n}mo ago" yearsAgo: "{n}y ago" invalid: "None" +_timeIn: + seconds: "{n} seconds later" + minutes: "{n} minutes later" + hours: "{n} hours later" + days: "{n} days later" + weeks: "{n} weeks later" + months: "{n} months later" + years: "{n} years later" _time: second: "Second(s)" minute: "Minute(s)" diff --git a/locales/index.d.ts b/locales/index.d.ts index 27c647bdac..25fbf632b5 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -990,6 +990,7 @@ export interface Locale { "numberOfProfileView": string; "like": string; "unlike": string; + "defaultLike": string; "numberOfLikes": string; "show": string; "neverShow": string; diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 23c3a12a66..5a39757d71 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -987,6 +987,7 @@ cannotLoad: "読み込めません" numberOfProfileView: "プロフィール表示回数" like: "いいね!" unlike: "いいねを解除" +defaultLike: "絵文字のようなデフォルト" numberOfLikes: "いいね数" show: "表示" neverShow: "今後表示しない" @@ -2403,7 +2404,7 @@ _externalResourceInstaller: _themeInstallFailed: title: "テーマのインストールに失敗しました" description: "テーマのインストール中に問題が発生しました。もう一度お試しください。エラーの詳細はJavascriptコンソールをご覧ください。" - + _animatedMFM: play: "MFMアニメーションを再生" stop: "MFMアニメーション停止" diff --git a/packages/frontend/src/pages/admin/branding.vue b/packages/frontend/src/pages/admin/branding.vue index ed191818ee..96a2d8a300 100644 --- a/packages/frontend/src/pages/admin/branding.vue +++ b/packages/frontend/src/pages/admin/branding.vue @@ -48,7 +48,7 @@ SPDX-License-Identifier: AGPL-3.0-only </MkInput> <FromSlot> - <template #label>Default like emoji</template> + <template #label>{{ i18n.ts.defaultLike }}</template> <MkCustomEmoji v-if="defaultLike.startsWith(':')" style="max-height: 3em; font-size: 1.1em;" :useOriginalSize="false" :class="$style.reaction" :name="defaultLike" :normal="true" :noStyle="true"/> <MkEmoji v-else :emoji="defaultLike" style="max-height: 3em; font-size: 1.1em;" :normal="true" :noStyle="true"/> <MkButton rounded :small="true" @click="chooseNewLike"><i class="ph-smiley ph-bold ph-lg"></i> Change</MkButton> diff --git a/packages/frontend/src/pages/settings/reaction.vue b/packages/frontend/src/pages/settings/reaction.vue index 41ffbdb829..213e73b526 100644 --- a/packages/frontend/src/pages/settings/reaction.vue +++ b/packages/frontend/src/pages/settings/reaction.vue @@ -24,7 +24,7 @@ SPDX-License-Identifier: AGPL-3.0-only </FromSlot> <FromSlot> - <template #label>Default like emoji</template> + <template #label>{{ i18n.ts.defaultLike }}</template> <MkCustomEmoji v-if="like && like.startsWith(':')" style="max-height: 3em; font-size: 1.1em;" :useOriginalSize="false" :class="$style.reaction" :name="like" :normal="true" :noStyle="true"/> <MkEmoji v-else-if="like && !like.startsWith(':')" :emoji="like" style="max-height: 3em; font-size: 1.1em;" :normal="true" :noStyle="true"/> <span v-else-if="!like">{{ i18n.ts.notSet }}</span> |