This repository was archived by the owner on Nov 6, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
documents/documents/entity-actions/create
media/media/entity-actions/create Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,11 @@ export class UmbDocumentCreateOptionsModalElement extends UmbModalBaseElement<
123123 ( ) => this . #renderBlueprints( ) ,
124124 ( ) => this . #renderDocumentTypes( ) ,
125125 ) }
126- <uui- butto n slot= "actions" id = "cancel" label = "Cancel" @click = "${ this . _rejectModal } " > </ uui- butto n>
126+ <uui- butto n
127+ slot= "actions"
128+ id = "cancel"
129+ label = ${ this . localize . term ( 'general_cancel' ) }
130+ @click = "${ this . _rejectModal } " > </ uui- butto n>
127131 </ umb- body- layout>
128132 ` ;
129133 }
@@ -136,7 +140,7 @@ export class UmbDocumentCreateOptionsModalElement extends UmbModalBaseElement<
136140 <umb- localize key= "create_noDocumentTypes" >
137141 There are no allowed Document Types available for creating content here . You must enable these in
138142 <strong> Document Types </ strong> within the <strong> Settings </ strong> section , by editing the
139- <strong> Allowed child node types </ strong> under <strong> Permissions </ strong> <br / >
143+ <strong> Allowed child node types </ strong> under <strong> Permissions </ strong> . <br / >
140144 </ umb- localize>
141145 <uui- butto n
142146 id= "edit-permissions"
Original file line number Diff line number Diff line change @@ -89,7 +89,11 @@ export class UmbMediaCreateOptionsModalElement extends UmbModalBaseElement<
8989 }
9090
9191 #renderNotAllowed( ) {
92- return html `<umb- localize key= "create_noMediaTypes" > </ umb- localize> <br / >
92+ return html `<umb- localize key= "create_noMediaTypes" >
93+ There are no allowed Media Types available for creating media here . You must enable these in
94+ <strong> Media Types </ strong> within the <strong> Settings </ strong> section , by editing the
95+ <strong> Allowed child node types </ strong> under <strong> Permissions </ strong> . </ umb- localize
96+ > <br / >
9397 <uui- butto n
9498 id= "edit-permissions"
9599 look = "secondary"
You can’t perform that action at this time.
0 commit comments