From 62b70f85f092c2369b4fb3c0ed9dc48146dff41b Mon Sep 17 00:00:00 2001 From: mattyatea Date: Mon, 18 Sep 2023 21:47:39 +0900 Subject: [PATCH] =?UTF-8?q?=E3=81=AA=E3=82=93=E3=81=8B=E3=82=82=E3=81=86?= =?UTF-8?q?=E8=89=B2=E3=80=85=E5=A4=89=E3=81=88=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- locales/en-US.yml | 3 +++ locales/index.d.ts | 2 ++ locales/ja-JP.yml | 2 ++ packages/backend/src/server/FileServerService.ts | 2 +- .../frontend/src/components/MkInstanceTicker.vue | 2 +- .../frontend/src/components/global/MkAvatar.vue | 2 +- .../src/components/global/MkCustomEmoji.vue | 2 +- packages/frontend/src/pages/settings/general.vue | 10 ++++++++-- packages/frontend/src/store.ts | 8 ++++++++ packages/frontend/src/ui/universal.vue | 15 +++++++++++++++ packages/frontend/vite.config.ts | 2 +- 11 files changed, 43 insertions(+), 7 deletions(-) diff --git a/locales/en-US.yml b/locales/en-US.yml index 9ce6ee5cdb..772e6f35da 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -1029,6 +1029,9 @@ noteIdOrUrl: "Note ID or URL" video: "Video" videos: "Videos" dataSaver: "Data Saver" +cellularWithDataSaver: "Turn on Data Saver in Mobile Data Communications" +UltimatedataSaver: "Ultimate Data Saver" +cellularWithUltimateDataSaver: "Turn on Ultimate Data Saver in Mobile Data Communications" accountMigration: "Account Migration" accountMoved: "This user has moved to a new account:" accountMovedShort: "This account has been migrated." diff --git a/locales/index.d.ts b/locales/index.d.ts index 2f8437f52a..32df226912 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -1033,6 +1033,8 @@ export interface Locale { "videos": string; "dataSaver": string; "cellularWithDataSaver": string; + "UltimateDataSaver": string; + "cellularWithUltimateDataSaver": string; "accountMigration": string; "accountMoved": string; "accountMovedShort": string; diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index b92aa0ec81..7cad2361bf 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -1030,6 +1030,8 @@ video: "動画" videos: "動画" dataSaver: "データセーバー" cellularWithDataSaver: "モバイルデータ通信でデータセーバーをオンにする" +UltimateDataSaver: "究極のデータセーバー" +cellularWithUltimateDataSaver: "モバイルデータ通信で究極のデータセーバーをオンにする" accountMigration: "アカウントの移行" accountMoved: "このユーザーは新しいアカウントに移行しました:" accountMovedShort: "このアカウントは移行されています" diff --git a/packages/backend/src/server/FileServerService.ts b/packages/backend/src/server/FileServerService.ts index 54b50041fd..247ef73de8 100644 --- a/packages/backend/src/server/FileServerService.ts +++ b/packages/backend/src/server/FileServerService.ts @@ -341,7 +341,7 @@ export class FileServerService { } else { const data = (await sharpBmp(file.path, file.mime, { animated: !('static' in request.query) })) .resize({ - height: 64, + height: 32, withoutEnlargement: true, }) .webp(webpDefault); diff --git a/packages/frontend/src/components/MkInstanceTicker.vue b/packages/frontend/src/components/MkInstanceTicker.vue index 3215d87ddf..c702b6403b 100644 --- a/packages/frontend/src/components/MkInstanceTicker.vue +++ b/packages/frontend/src/components/MkInstanceTicker.vue @@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only diff --git a/packages/frontend/src/components/global/MkAvatar.vue b/packages/frontend/src/components/global/MkAvatar.vue index 788e4ec9af..72768dd171 100644 --- a/packages/frontend/src/components/global/MkAvatar.vue +++ b/packages/frontend/src/components/global/MkAvatar.vue @@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only