From 23d2d191a0b0dfc8ce3a369d0077dc5991ea42f4 Mon Sep 17 00:00:00 2001 From: syuilo <4439005+syuilo@users.noreply.github.com> Date: Mon, 10 Nov 2025 13:23:23 +0900 Subject: chore(frontend): アニメーション画像設定をパフォーマンスセクションにも追加 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- locales/index.d.ts | 4 ++++ locales/ja-JP.yml | 1 + packages/frontend/src/pages/settings/preferences.vue | 12 ++++++++++++ 3 files changed, 17 insertions(+) diff --git a/locales/index.d.ts b/locales/index.d.ts index 0d0c1cfc53..0c93055b39 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -6187,6 +6187,10 @@ export interface Locale extends ILocale { * 絵文字ピッカーに固定表示するプリセットをパレットとして登録したり、ピッカーの表示方法をカスタマイズしたりできます。 */ "emojiPaletteBanner": string; + /** + * アニメーション画像を有効にする + */ + "enableAnimatedImages": string; "_chat": { /** * 送信者の名前を表示 diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index e40c083cff..bcd2b9add6 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -1554,6 +1554,7 @@ _settings: showAvailableReactionsFirstInNote: "利用できるリアクションを先頭に表示" showPageTabBarBottom: "ページのタブバーを下部に表示" emojiPaletteBanner: "絵文字ピッカーに固定表示するプリセットをパレットとして登録したり、ピッカーの表示方法をカスタマイズしたりできます。" + enableAnimatedImages: "アニメーション画像を有効にする" _chat: showSenderName: "送信者の名前を表示" diff --git a/packages/frontend/src/pages/settings/preferences.vue b/packages/frontend/src/pages/settings/preferences.vue index 5e3f148710..972b50f8cd 100644 --- a/packages/frontend/src/pages/settings/preferences.vue +++ b/packages/frontend/src/pages/settings/preferences.vue @@ -603,6 +603,18 @@ SPDX-License-Identifier: AGPL-3.0-only + + + disableShowingAnimatedImages = !v"> + {{ i18n.ts._settings.enableAnimatedImages }} + + {{ i18n.ts.turnOffToImprovePerformance }} + {{ i18n.ts.disableShowingAnimatedImages_caption }} + + + + + -- cgit v1.2.3-freya