From 0527331f50e99a93e842e629335f54217c2b1628 Mon Sep 17 00:00:00 2001 From: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com> Date: Thu, 19 Dec 2024 23:59:11 +0900 Subject: [PATCH] =?UTF-8?q?locale=E3=81=AE=E6=95=B4=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- locales/index.d.ts | 8 -------- locales/ja-JP.yml | 2 -- .../src/components/MkWatermarkEditorDialog.anchor.vue | 8 ++++---- 3 files changed, 4 insertions(+), 14 deletions(-) diff --git a/locales/index.d.ts b/locales/index.d.ts index 95d3d07778..98bf7a305d 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -4542,14 +4542,6 @@ export interface Locale extends ILocale { * 位置 */ "position": string; - /** - * 繰り返し - */ - "repeat": string; - /** - * 引き伸ばし - */ - "enlargement": string; /** * 回転 */ diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 30c1e8c937..476ef4cc31 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -1131,8 +1131,6 @@ stackAxis: "スタック方向" vertical: "縦" horizontal: "横" position: "位置" -repeat: "繰り返し" -enlargement: "引き伸ばし" rotate: "回転" opacity: "透明度" serverRules: "サーバールール" diff --git a/packages/frontend/src/components/MkWatermarkEditorDialog.anchor.vue b/packages/frontend/src/components/MkWatermarkEditorDialog.anchor.vue index dcce0e4adb..7e7a575459 100644 --- a/packages/frontend/src/components/MkWatermarkEditorDialog.anchor.vue +++ b/packages/frontend/src/components/MkWatermarkEditorDialog.anchor.vue @@ -20,12 +20,12 @@ import { watermarkAnchor } from '@/scripts/watermark.js'; import type { WatermarkAnchor } from '@/scripts/watermark.js'; const langMap = { - 'top': i18n.ts.top, + 'top': i18n.ts.centerTop, 'top-left': i18n.ts.leftTop, 'top-right': i18n.ts.rightTop, - 'left': i18n.ts.left, - 'right': i18n.ts.right, - 'bottom': i18n.ts.bottom, + 'left': i18n.ts.leftCenter, + 'right': i18n.ts.rightCenter, + 'bottom': i18n.ts.centerBottom, 'bottom-left': i18n.ts.leftBottom, 'bottom-right': i18n.ts.rightBottom, 'center': i18n.ts.center,