From e7d30c8eb469f01cea1380556fe82f9884072e33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=8B=E3=81=A3=E3=81=93=E3=81=8B=E3=82=8A?= <67428053+kakkokari-gtyih@users.noreply.github.com> Date: Mon, 4 Sep 2023 13:59:21 +0900 Subject: [PATCH] (ad) translation for deck column settings (#11778) --- locales/index.d.ts | 2 ++ locales/ja-JP.yml | 2 ++ packages/frontend/src/ui/deck/column.vue | 3 ++- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/locales/index.d.ts b/locales/index.d.ts index 1d756a14d..d281263e3 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -2168,6 +2168,8 @@ export interface Locale { "introduction2": string; "widgetsIntroduction": string; "useSimpleUiForNonRootPages": string; + "usedAsMinWidthWhenFlexible": string; + "flexible": string; "_columns": { "main": string; "widgets": string; diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 3396a3a83..90a00f0c8 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -2083,6 +2083,8 @@ _deck: introduction2: "画面の右にある + を押して、いつでもカラムを追加できます。" widgetsIntroduction: "カラムのメニューから、「ウィジェットの編集」を選択してウィジェットを追加してください" useSimpleUiForNonRootPages: "非ルートページは簡易UIで表示" + usedAsMinWidthWhenFlexible: "「幅を自動調整」が有効の場合、これが幅の最小値となります" + flexible: "幅を自動調整" _columns: main: "メイン" diff --git a/packages/frontend/src/ui/deck/column.vue b/packages/frontend/src/ui/deck/column.vue index d2eef4bea..d6cc6b3e6 100644 --- a/packages/frontend/src/ui/deck/column.vue +++ b/packages/frontend/src/ui/deck/column.vue @@ -116,11 +116,12 @@ function getMenu() { width: { type: 'number', label: i18n.ts.width, + description: i18n.ts._deck.usedAsMinWidthWhenFlexible, default: props.column.width, }, flexible: { type: 'boolean', - label: i18n.ts.flexible, + label: i18n.ts._deck.flexible, default: props.column.flexible, }, });