From 684ae57011d7803f02d0b11bb22550f33bc013ab Mon Sep 17 00:00:00 2001 From: NoriDev Date: Thu, 15 Jun 2023 01:34:41 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=8A=E3=83=93=E3=82=B2=E3=83=BC=E3=82=B7?= =?UTF-8?q?=E3=83=A7=E3=83=B3=E3=83=A1=E3=83=8B=E3=83=A5=E3=83=BC=E3=81=AE?= =?UTF-8?q?=E3=83=90=E3=83=8A=E3=83=BC=E3=82=B9=E3=82=BF=E3=82=A4=E3=83=AB?= =?UTF-8?q?=E3=81=AE=E6=94=B9=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- locales/en-US.yml | 2 ++ locales/index.d.ts | 2 ++ locales/ja-JP.yml | 2 ++ locales/ko-KR.yml | 2 ++ packages/frontend/src/pages/settings/navbar.vue | 2 ++ packages/frontend/src/store.ts | 2 +- packages/frontend/src/ui/_common_/navbar-for-mobile.vue | 5 +++-- packages/frontend/src/ui/_common_/navbar.vue | 5 +++-- packages/frontend/src/ui/friendly/navbar-for-mobile.vue | 5 +++-- packages/frontend/src/ui/friendly/navbar.vue | 5 +++-- 10 files changed, 23 insertions(+), 9 deletions(-) diff --git a/locales/en-US.yml b/locales/en-US.yml index 16d3abaae5..1d9a9d3eac 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -1107,8 +1107,10 @@ branding: "Branding" translateProfile: "Translate a profile" _bannerDisplay: all: "All" + topBottom: "Top and Bottom" top: "Top (Server banner)" bottom: "Bottom (Profile banner)" + bg: "Background" hide: "Hide" _requireRefreshBehavior: dialog: "Show warning dialog" diff --git a/locales/index.d.ts b/locales/index.d.ts index aacb976673..9a6c46756f 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -1110,8 +1110,10 @@ export interface Locale { "translateProfile": string; "_bannerDisplay": { "all": string; + "topBottom": string; "top": string; "bottom": string; + "bg": string; "hide": string; }; "_requireRefreshBehavior": { diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 5ef56428a2..96941a5620 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -1108,8 +1108,10 @@ translateProfile: "プロフィールを翻訳する" _bannerDisplay: all: "全て" + topBottom: "上部と下部" top: "上部(サーバーバナー)" bottom: "下部(プロフィールバナー)" + bg: "バックグラウンド" hide: "隠す" _requireRefreshBehavior: diff --git a/locales/ko-KR.yml b/locales/ko-KR.yml index 8a93e4cec0..f082a96e73 100644 --- a/locales/ko-KR.yml +++ b/locales/ko-KR.yml @@ -1107,8 +1107,10 @@ installed: "설치됨" translateProfile: "프로필 번역하기" _bannerDisplay: all: "전부" + topBottom: "상단 및 하단" top: "상단 (서버 배너)" bottom: "하단 (프로필 배너)" + bg: "백그라운드" hide: "숨기기" _requireRefreshBehavior: dialog: "알림창 표시" diff --git a/packages/frontend/src/pages/settings/navbar.vue b/packages/frontend/src/pages/settings/navbar.vue index d7ba67a3f6..724d462921 100644 --- a/packages/frontend/src/pages/settings/navbar.vue +++ b/packages/frontend/src/pages/settings/navbar.vue @@ -41,8 +41,10 @@ + + diff --git a/packages/frontend/src/store.ts b/packages/frontend/src/store.ts index 0e86e56139..4af7ee0498 100644 --- a/packages/frontend/src/store.ts +++ b/packages/frontend/src/store.ts @@ -370,7 +370,7 @@ export const defaultStore = markRaw(new Storage('base', { }, bannerDisplay: { where: 'device', - default: 'all' as 'all' | 'top' | 'bottom' | 'hide', + default: 'topBottom' as 'all' | 'topBottom' | 'top' | 'bottom' | 'bg' | 'hide', }, hideAvatarsInNote: { where: 'device', diff --git a/packages/frontend/src/ui/_common_/navbar-for-mobile.vue b/packages/frontend/src/ui/_common_/navbar-for-mobile.vue index 904f1440f1..f9699736c6 100644 --- a/packages/frontend/src/ui/_common_/navbar-for-mobile.vue +++ b/packages/frontend/src/ui/_common_/navbar-for-mobile.vue @@ -1,7 +1,8 @@