fix: add missing localization keys

This commit is contained in:
Jacob Overgaard
2024-07-23 11:18:01 +02:00
parent dbb7c3e877
commit 29e5ef4911
4 changed files with 18 additions and 11 deletions

View File

@@ -328,8 +328,9 @@ export default {
variantUnpublishNotAllowed: 'Unpublish is not allowed',
},
blueprints: {
createBlueprintFrom: 'Opret en ny indholdsskabelon fra <em>%0%</em>',
createBlueprintFolderUnder: 'Opret en ny mappe under "%0%"',
createBlueprintFrom: "Opret en ny indholdsskabelon fra '%0%'",
createBlueprintItemUnder: "Opret en ny indholdsskabelon under '%0%'",
createBlueprintFolderUnder: "Opret en ny mappe under '%0%'",
blankBlueprint: 'Blank',
selectBlueprint: 'Vælg en indholdsskabelon',
createdBlueprintHeading: 'Indholdsskabelon oprettet',

View File

@@ -335,8 +335,9 @@ export default {
variantUnpublishNotAllowed: 'Unpublish is not allowed',
},
blueprints: {
createBlueprintFrom: 'Create a new Document Blueprint from <em>%0%</em>',
createBlueprintFolderUnder: 'Create a new folder under "%0%"',
createBlueprintFrom: "Create a new Document Blueprint from '%0%'",
createBlueprintItemUnder: "Create a new item under '%0%'",
createBlueprintFolderUnder: "Create a new folder under '%0%'",
blankBlueprint: 'Blank',
selectBlueprint: 'Select a Document Blueprint',
createdBlueprintHeading: 'Document Blueprint created',

View File

@@ -343,8 +343,9 @@ export default {
selectAllVariants: 'Select all variants',
},
blueprints: {
createBlueprintFrom: 'Create a new Document Blueprint from <em>%0%</em>',
createBlueprintFolderUnder: 'Create a new folder under "%0%"',
createBlueprintFrom: "Create a new Document Blueprint from '%0%'",
createBlueprintItemUnder: "Create a new item under '%0%'",
createBlueprintFolderUnder: "Create a new folder under '%0%'",
blankBlueprint: 'Blank',
selectBlueprint: 'Select a Document Blueprint',
createdBlueprintHeading: 'Document Blueprint created',

View File

@@ -39,7 +39,7 @@ export class UmbDocumentBlueprintOptionsCreateModalElement extends UmbModalBaseE
entityType: this.data.parent.entityType,
meta: {
icon: 'icon-folder',
label: 'New Folder...',
label: this.localize.term('create_newFolder'),
folderRepositoryAlias: UMB_DOCUMENT_BLUEPRINT_FOLDER_REPOSITORY_ALIAS,
},
});
@@ -68,13 +68,13 @@ export class UmbDocumentBlueprintOptionsCreateModalElement extends UmbModalBaseE
return html`
<umb-body-layout headline=${this.localize.term('actions_createblueprint')}>
<uui-box headline=${this.localize.term('blueprints_createBlueprintFolderUnder', this._parentName)}>
<uui-menu-item @click=${this.#onCreateFolderClick} label="New Folder...">
<uui-menu-item @click=${this.#onCreateFolderClick} label=${this.localize.term('create_newFolder') + '...'}>
<uui-icon slot="icon" name="icon-folder"></uui-icon>
</uui-menu-item>
</uui-box>
<uui-box headline="Create an item under Content Templates">
<uui-box headline=${this.localize.term('blueprints_createBlueprintItemUnder', this._parentName)}>
<umb-localize key="create_createContentBlueprint">
Select the Document Type you want to make a content blueprint for
Select the Document Type you want to make a Document Blueprint for
</umb-localize>
<umb-tree
alias="Umb.Tree.DocumentType"
@@ -84,7 +84,11 @@ export class UmbDocumentBlueprintOptionsCreateModalElement extends UmbModalBaseE
}}
@selected=${this.#onSelected}></umb-tree>
</uui-box>
<uui-button slot="actions" id="cancel" label="Cancel" @click="${this._rejectModal}"></uui-button>
<uui-button
slot="actions"
id="cancel"
label=${this.localize.term('buttons_confirmActionCancel')}
@click="${this._rejectModal}"></uui-button>
</umb-body-layout>
`;
}