From 97bd4e6f829cc42514a3d21ae326552bb468849d Mon Sep 17 00:00:00 2001 From: Insert5StarName Date: Thu, 30 Nov 2023 13:25:35 +0100 Subject: [PATCH] chore: add locales for defaultLike --- locales/en-US.yml | 9 +++++++++ locales/index.d.ts | 1 + locales/ja-JP.yml | 3 ++- packages/frontend/src/pages/admin/branding.vue | 2 +- 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 - + Change 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 - + {{ i18n.ts.notSet }}