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<
123
123
( ) => this . #renderBlueprints( ) ,
124
124
( ) => this . #renderDocumentTypes( ) ,
125
125
) }
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>
127
131
</ umb- body- layout>
128
132
` ;
129
133
}
@@ -136,7 +140,7 @@ export class UmbDocumentCreateOptionsModalElement extends UmbModalBaseElement<
136
140
<umb- localize key= "create_noDocumentTypes" >
137
141
There are no allowed Document Types available for creating content here . You must enable these in
138
142
<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 / >
140
144
</ umb- localize>
141
145
<uui- butto n
142
146
id= "edit-permissions"
Original file line number Diff line number Diff line change @@ -89,7 +89,11 @@ export class UmbMediaCreateOptionsModalElement extends UmbModalBaseElement<
89
89
}
90
90
91
91
#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 / >
93
97
<uui- butto n
94
98
id= "edit-permissions"
95
99
look = "secondary"
You can’t perform that action at this time.
0 commit comments