From ed5805e5afe940a40948198f6d20ec4b5ca3dd92 Mon Sep 17 00:00:00 2001 From: tamaina Date: Sat, 29 Jan 2022 18:37:36 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=A1=E3=83=8B=E3=83=A5=E3=83=BC=E3=82=92Co?= =?UTF-8?q?mposition=20API=E5=8C=96=E3=80=81switch=E3=82=A2=E3=82=A4?= =?UTF-8?q?=E3=83=86=E3=83=A0=E8=BF=BD=E5=8A=A0=20=E3=82=AF=E3=83=A9?= =?UTF-8?q?=E3=82=A4=E3=82=A2=E3=83=B3=E3=83=88=E3=82=B5=E3=82=A4=E3=83=89?= =?UTF-8?q?=E7=94=BB=E5=83=8F=E5=9C=A7=E7=B8=AE=E3=81=AE=E6=BA=96=E5=82=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- locales/ja-JP.yml | 2 + .../client/src/components/form/switch.vue | 58 +++--- .../client/src/components/ui/context-menu.vue | 114 +++++------ packages/client/src/components/ui/menu.vue | 185 ++++++++---------- .../client/src/components/ui/popup-menu.vue | 50 ++--- packages/client/src/os.ts | 9 +- packages/client/src/pages/settings/drive.vue | 7 +- packages/client/src/scripts/select-file.ts | 9 +- packages/client/src/store.ts | 4 + 9 files changed, 203 insertions(+), 235 deletions(-) diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index b3279d78b..8fd41e533 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -235,6 +235,8 @@ resetAreYouSure: "リセットしますか?" saved: "保存しました" messaging: "チャット" upload: "アップロード" +keepOriginalUploading: "オリジナル画像を保持" +keepOriginalUploadingDescription: "画像をアップロードする時にオリジナル版を保持します。オフにするとアップロード時にブラウザでWeb公開用画像を生成します。" fromDrive: "ドライブから" fromUrl: "URLから" uploadFromUrl: "URLアップロード" diff --git a/packages/client/src/components/form/switch.vue b/packages/client/src/components/form/switch.vue index f8a07b4ca..e57941c67 100644 --- a/packages/client/src/components/form/switch.vue +++ b/packages/client/src/components/form/switch.vue @@ -20,44 +20,38 @@ - diff --git a/packages/client/src/components/ui/context-menu.vue b/packages/client/src/components/ui/context-menu.vue index 85606bf6d..463426282 100644 --- a/packages/client/src/components/ui/context-menu.vue +++ b/packages/client/src/components/ui/context-menu.vue @@ -1,88 +1,70 @@ -