Skip to content

Commit 5a565b7

Browse files
authored
Localization: Added translations for area validation property labels (#20362)
Localization of property labels
1 parent cd1cbb3 commit 5a565b7

File tree

3 files changed

+6
-2
lines changed
  • src/Umbraco.Web.UI.Client/src

3 files changed

+6
-2
lines changed

src/Umbraco.Web.UI.Client/src/assets/lang/da.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2546,6 +2546,8 @@ export default {
25462546
pickSpecificAllowance: 'Tilføj gruppe eller blok',
25472547
allowanceMinimum: 'Sæt minimum krav',
25482548
allowanceMaximum: 'Sæt maksimum krav',
2549+
rangeAllowed: 'Antal blokke',
2550+
specifiedAllowance: 'Tilladte bloktyper',
25492551
block: 'Blok',
25502552
tabBlock: 'Blok',
25512553
tabBlockTypeSettings: 'Indstillinger',

src/Umbraco.Web.UI.Client/src/assets/lang/en.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2681,6 +2681,8 @@ export default {
26812681
pickSpecificAllowance: 'Pick group or Block',
26822682
allowanceMinimum: 'Set a minimum requirement',
26832683
allowanceMaximum: 'Set a maximum requirement',
2684+
rangeAllowed: 'Number of blocks',
2685+
specifiedAllowance: 'Allowed block types',
26842686
block: 'Block',
26852687
tabBlock: 'Block',
26862688
tabBlockTypeSettings: 'Settings',

src/Umbraco.Web.UI.Client/src/packages/block/block-grid/components/block-grid-area-config-entry/workspace/views/settings.element.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export class UmbBlockGridAreaTypeWorkspaceViewSettingsElement extends UmbLitElem
5858
property-editor-ui-alias="Umb.PropertyEditorUi.TextBox"></umb-property>
5959
</uui-box>
6060
<uui-box headline=${'Validation'}>
61-
<umb-property-layout label=${'rangeAllowed'}>
61+
<umb-property-layout label=${this.localize.term('blockEditor_rangeAllowed')}>
6262
<umb-input-number-range
6363
slot="editor"
6464
.minValue=${this._minValue}
@@ -68,7 +68,7 @@ export class UmbBlockGridAreaTypeWorkspaceViewSettingsElement extends UmbLitElem
6868
</umb-property-layout>
6969
7070
<umb-property
71-
label=${'specifiedAllowance'}
71+
label=${this.localize.term('blockEditor_specifiedAllowance')}
7272
alias="specifiedAllowance"
7373
property-editor-ui-alias="Umb.PropertyEditorUi.BlockGridAreaTypePermission"></umb-property>
7474
</uui-box>

0 commit comments

Comments
 (0)