From 5ddf7e008dcf34827fecbc8de5d5d66ab5575249 Mon Sep 17 00:00:00 2001 From: Mar0xy Date: Wed, 18 Oct 2023 19:01:50 +0200 Subject: [PATCH] add: locales for toggles --- locales/en-US.yml | 5 +++++ locales/index.d.ts | 5 +++++ locales/ja-JP.yml | 5 +++++ packages/frontend/src/pages/admin/other-settings.vue | 8 ++++---- packages/frontend/src/pages/settings/general.vue | 2 +- 5 files changed, 20 insertions(+), 5 deletions(-) diff --git a/locales/en-US.yml b/locales/en-US.yml index e77139036a..fd1d2be046 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -1101,6 +1101,10 @@ additionalEmojiDictionary: "Additional emoji dictionaries" installed: "Installed" branding: "Branding" enableServerMachineStats: "Publish server hardware stats" +enableAchievements: "Enable Achievements" +turnOffAchievements: "Turning this off will disable the achievement system" +enableBotTrending: "Populate Hashtags with Bots" +turnOffBotTrending: "Turning this off will stop Bots from populating Hashtags" enableIdenticonGeneration: "Enable user identicon generation" turnOffToImprovePerformance: "Turning this off can increase performance." createInviteCode: "Generate invite" @@ -1137,6 +1141,7 @@ loadConversation: "Show conversation" pinnedList: "Pinned list" keepScreenOn: "Keep screen on" clickToOpen: "Click to open notes" +showBots: "Show bots in timeline" 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 1d548979da..c8f38d1b33 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -1099,6 +1099,10 @@ export interface Locale { "installed": string; "branding": string; "enableServerMachineStats": string; + "enableAchievements": string; + "turnOffAchievements": string; + "enableBotTrending": string; + "turnOffBotTrending": string; "enableIdenticonGeneration": string; "turnOffToImprovePerformance": string; "createInviteCode": string; @@ -1135,6 +1139,7 @@ export interface Locale { "pinnedList": string; "keepScreenOn": string; "clickToOpen": string; + "showBots": string; "verifiedLink": string; "notifyNotes": string; "unnotifyNotes": string; diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 1195ed4357..ec50da79ee 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -1096,6 +1096,10 @@ additionalEmojiDictionary: "絵文字の追加辞書" installed: "インストール済み" branding: "ブランディング" enableServerMachineStats: "サーバーのマシン情報を公開する" +enableAchievements: "実績を有効にする" +turnOffAchievements: "これをオフにすると、達成システムは無効になります。" +enableBotTrending: "ハッシュタグにボットを追加する" +turnOffBotTrending: "これをオフにすると、ボットがハッシュタグを入力しなくなります。" enableIdenticonGeneration: "ユーザーごとのIdenticon生成を有効にする" turnOffToImprovePerformance: "オフにするとパフォーマンスが向上します。" createInviteCode: "招待コードを作成" @@ -1132,6 +1136,7 @@ loadConversation: "会話を見る" pinnedList: "ピン留めされたリスト" keepScreenOn: "デバイスの画面を常にオンにする" clickToOpen: "クリックしてノートを開く" +showBots: "ボットをタイムラインに表示" verifiedLink: "このリンク先の所有者であることが確認されました" notifyNotes: "投稿を通知" unnotifyNotes: "投稿の通知を解除" diff --git a/packages/frontend/src/pages/admin/other-settings.vue b/packages/frontend/src/pages/admin/other-settings.vue index 7d889e83fa..d1bc420db8 100644 --- a/packages/frontend/src/pages/admin/other-settings.vue +++ b/packages/frontend/src/pages/admin/other-settings.vue @@ -18,15 +18,15 @@ SPDX-License-Identifier: AGPL-3.0-only
- - + +
- - + +
diff --git a/packages/frontend/src/pages/settings/general.vue b/packages/frontend/src/pages/settings/general.vue index 97b8460806..753efafb3c 100644 --- a/packages/frontend/src/pages/settings/general.vue +++ b/packages/frontend/src/pages/settings/general.vue @@ -152,7 +152,7 @@ SPDX-License-Identifier: AGPL-3.0-only {{ i18n.ts.enableInfiniteScroll }} {{ i18n.ts.keepScreenOn }} {{ i18n.ts.clickToOpen }} - Show bots in timeline + {{ i18n.ts.showBots }}