Skip to content

Commit cce67b0

Browse files
authored
Entity permission translation for US, UK and DK (#18225)
* Translation for user permissions DK and EN * Added UI Culture variants for EN-US user permissions section * removed redundant line * improved consistency for wording, and moved keys under user
1 parent 3157601 commit cce67b0

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1930,6 +1930,8 @@ export default {
19301930
chooseUserGroup: (multiple: boolean) => {
19311931
return multiple ? 'Vælg brugergrupper' : 'Vælg brugergruppe';
19321932
},
1933+
entityPermissionsLabel: 'Handlingsrettigheder',
1934+
entityPermissionsDescription: 'Tildel tilladelser til handlinger',
19331935
noStartNode: 'Ingen startnode valgt',
19341936
noStartNodes: 'Ingen startnoder valgt',
19351937
startnode: 'Indhold startnode',

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1983,6 +1983,8 @@ export default {
19831983
chooseUserGroup: (multiple: boolean) => {
19841984
return multiple ? 'Choose User Groups' : 'Choose User Group';
19851985
},
1986+
entityPermissionsLabel: 'Permissions',
1987+
entityPermissionsDescription: 'Assign permissions for actions',
19861988
noStartNode: 'No start node selected',
19871989
noStartNodes: 'No start nodes selected',
19881990
startnode: 'Content start node',

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2025,6 +2025,8 @@ export default {
20252025
chooseUserGroup: (multiple: boolean) => {
20262026
return multiple ? 'Choose User Groups' : 'Choose User Group';
20272027
},
2028+
entityPermissionsLabel: 'Permissions',
2029+
entityPermissionsDescription: 'Assign permissions for actions',
20282030
noStartNode: 'No start node selected',
20292031
noStartNodes: 'No start nodes selected',
20302032
startnode: 'Content start node',

src/Umbraco.Web.UI.Client/src/packages/user/user-group/workspace/user-group/user-group-workspace-editor.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ export class UmbUserGroupWorkspaceEditorElement extends UmbLitElement {
244244
<uui-box>
245245
<div slot="headline"><umb-localize key="user_permissionsDefault"></umb-localize></div>
246246
247-
<umb-property-layout label="Entity permissions" description="Assign permissions for an entity type">
247+
<umb-property-layout label=${this.localize.term('user_entityPermissionsLabel')} description=${this.localize.term('user_entityPermissionsDescription')}>
248248
<umb-user-group-entity-user-permission-list slot="editor"></umb-user-group-entity-user-permission-list>
249249
</umb-property-layout>
250250
</uui-box>

0 commit comments

Comments
 (0)