diff --git a/locales/index.d.ts b/locales/index.d.ts index 40837b05a2..48c3daf05a 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -1181,6 +1181,7 @@ export interface Locale { "code": string; "reloadRequiredToApplySettings": string; "remainingN": string; + "overwriteContentConfirm": string; "_announcement": { "forExistingUsers": string; "forExistingUsersDescription": string; diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 3ad27910ef..daa6a32032 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -1178,6 +1178,7 @@ doReaction: "リアクションする" code: "コード" reloadRequiredToApplySettings: "設定の反映にはリロードが必要です。" remainingN: "残り: {n}" +overwriteContentConfirm: "現在の内容に上書きされますがよろしいですか?" _announcement: forExistingUsers: "既存ユーザーのみ" diff --git a/packages/frontend/src/pages/settings/emoji-picker.vue b/packages/frontend/src/pages/settings/emoji-picker.vue index f3f974a96f..7e7bf9bd1f 100644 --- a/packages/frontend/src/pages/settings/emoji-picker.vue +++ b/packages/frontend/src/pages/settings/emoji-picker.vue @@ -167,7 +167,7 @@ function previewEmoji(ev: MouseEvent) { async function copyFromPinnedEmojis() { const { canceled } = await os.confirm({ type: 'warning', - text: 'a', + text: i18n.ts.overwriteContentConfirm, }); if (canceled) { @@ -180,7 +180,7 @@ async function copyFromPinnedEmojis() { async function copyFromPinnedEmojisForReaction() { const { canceled } = await os.confirm({ type: 'warning', - text: 'a', + text: i18n.ts.overwriteContentConfirm, }); if (canceled) {