From 18f70671037239bfe1e28c5f51303d930e6bac88 Mon Sep 17 00:00:00 2001 From: Mar0xy Date: Sun, 15 Oct 2023 19:25:21 +0200 Subject: [PATCH] upd: add locales for client settings --- locales/en-US.yml | 3 +++ locales/index.d.ts | 3 +++ locales/ja-JP.yml | 3 +++ packages/frontend/src/pages/settings/general.vue | 6 +++--- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/locales/en-US.yml b/locales/en-US.yml index 55c2ce17d..2f17a58e2 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -998,6 +998,8 @@ thisPostMayBeAnnoyingHome: "Post to home timeline" thisPostMayBeAnnoyingCancel: "Cancel" thisPostMayBeAnnoyingIgnore: "Post anyway" collapseRenotes: "Collapse renotes you've already seen" +collapseFiles: "Collapse files" +autoloadConversation: "Load conversation on replies" internalServerError: "Internal Server Error" internalServerErrorDescription: "The server has run into an unexpected error." copyErrorInfo: "Copy error details" @@ -1121,6 +1123,7 @@ loadReplies: "Show replies" loadConversation: "Show conversation" pinnedList: "Pinned list" keepScreenOn: "Keep screen on" +clickToOpen: "Click to open notes" verifiedLink: "Link ownership has been verified" notifyNotes: "Notify about new notes" unnotifyNotes: "Stop notifying about new notes" diff --git a/locales/index.d.ts b/locales/index.d.ts index bdd32566f..a4ffef814 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -1001,6 +1001,8 @@ export interface Locale { "thisPostMayBeAnnoyingCancel": string; "thisPostMayBeAnnoyingIgnore": string; "collapseRenotes": string; + "collapseFiles": string; + "autoloadConversation": string; "internalServerError": string; "internalServerErrorDescription": string; "copyErrorInfo": string; @@ -1124,6 +1126,7 @@ export interface Locale { "loadConversation": string; "pinnedList": string; "keepScreenOn": string; + "clickToOpen": string; "verifiedLink": string; "notifyNotes": string; "unnotifyNotes": string; diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 3bbab6982..5702e3740 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -998,6 +998,8 @@ thisPostMayBeAnnoyingHome: "ホームに投稿" thisPostMayBeAnnoyingCancel: "やめる" thisPostMayBeAnnoyingIgnore: "このまま投稿" collapseRenotes: "見たことのあるリノートを省略して表示" +collapseFiles: "ファイルを折りたたむ" +autoloadConversation: "返信に会話を読み込む" internalServerError: "サーバー内部エラー" internalServerErrorDescription: "サーバー内部で予期しないエラーが発生しました。" copyErrorInfo: "エラー情報をコピー" @@ -1121,6 +1123,7 @@ loadReplies: "返信を見る" loadConversation: "会話を見る" pinnedList: "ピン留めされたリスト" keepScreenOn: "デバイスの画面を常にオンにする" +clickToOpen: "クリックしてノートを開く" verifiedLink: "このリンク先の所有者であることが確認されました" notifyNotes: "投稿を通知" unnotifyNotes: "投稿の通知を解除" diff --git a/packages/frontend/src/pages/settings/general.vue b/packages/frontend/src/pages/settings/general.vue index f76230ea6..981216daa 100644 --- a/packages/frontend/src/pages/settings/general.vue +++ b/packages/frontend/src/pages/settings/general.vue @@ -46,8 +46,8 @@ SPDX-License-Identifier: AGPL-3.0-only {{ i18n.ts.showNoteActionsOnlyHover }} {{ i18n.ts.showClipButtonInNoteFooter }} {{ i18n.ts.collapseRenotes }} - Collapse files - Load conversation on replies + {{ i18n.ts.collapseFiles }} + {{ i18n.ts.autoloadConversation }} {{ i18n.ts.enableAdvancedMfm }} {{ i18n.ts.enableAnimatedMfm }} {{ i18n.ts.showGapBetweenNotesInTimeline }} @@ -151,7 +151,7 @@ SPDX-License-Identifier: AGPL-3.0-only {{ i18n.ts.openImageInNewTab }} {{ i18n.ts.enableInfiniteScroll }} {{ i18n.ts.keepScreenOn }} - Click to open notes + {{ i18n.ts.clickToOpen }}