Skip to content

Commit

Permalink
(ad) translation for deck column settings (#11778)
Browse files Browse the repository at this point in the history
  • Loading branch information
kakkokari-gtyih authored Sep 4, 2023
1 parent 1f7a81a commit e7d30c8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions locales/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2168,6 +2168,8 @@ export interface Locale {
"introduction2": string;
"widgetsIntroduction": string;
"useSimpleUiForNonRootPages": string;
"usedAsMinWidthWhenFlexible": string;
"flexible": string;
"_columns": {
"main": string;
"widgets": string;
Expand Down
2 changes: 2 additions & 0 deletions locales/ja-JP.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2083,6 +2083,8 @@ _deck:
introduction2: "画面の右にある + を押して、いつでもカラムを追加できます。"
widgetsIntroduction: "カラムのメニューから、「ウィジェットの編集」を選択してウィジェットを追加してください"
useSimpleUiForNonRootPages: "非ルートページは簡易UIで表示"
usedAsMinWidthWhenFlexible: "「幅を自動調整」が有効の場合、これが幅の最小値となります"
flexible: "幅を自動調整"

_columns:
main: "メイン"
Expand Down
3 changes: 2 additions & 1 deletion packages/frontend/src/ui/deck/column.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
});
Expand Down

0 comments on commit e7d30c8

Please sign in to comment.