summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--locales/index.d.ts4
-rw-r--r--locales/ja-JP.yml1
-rw-r--r--packages/frontend/src/pages/settings/preferences.vue12
3 files changed, 17 insertions, 0 deletions
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
</MkPreferenceContainer>
</SearchMarker>
+ <SearchMarker :keywords="['animation', 'image', 'photo', 'picture', 'media', 'thumbnail', 'gif']">
+ <MkPreferenceContainer k="disableShowingAnimatedImages">
+ <MkSwitch :modelValue="!disableShowingAnimatedImages" @update:modelValue="v => disableShowingAnimatedImages = !v">
+ <template #label><SearchLabel>{{ i18n.ts._settings.enableAnimatedImages }}</SearchLabel></template>
+ <template #caption>
+ <SearchText>{{ i18n.ts.turnOffToImprovePerformance }}</SearchText>
+ <div>{{ i18n.ts.disableShowingAnimatedImages_caption }}</div>
+ </template>
+ </MkSwitch>
+ </MkPreferenceContainer>
+ </SearchMarker>
+
<SearchMarker :keywords="['blur']">
<MkPreferenceContainer k="useBlurEffect">
<MkSwitch v-model="useBlurEffect">