Skip to content

Commit 57637da

Browse files
BatJannathanwoulfe
authored andcommitted
Add missing fallback texts
1 parent 80c9c09 commit 57637da

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/Umbraco.Web.UI.Client/src/views/media/create.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@
55
<h5><localize key="create_createUnder">Create under</localize> {{currentNode.name}}</h5>
66

77
<div ng-if="allowedTypes && allowedTypes.length === 0">
8-
<p class="abstract" ng-if="!hasSettingsAccess"><localize key="create_noMediaTypesWithNoSettingsAccess"></localize></p>
8+
<p class="abstract" ng-if="!hasSettingsAccess"><localize key="create_noMediaTypesWithNoSettingsAccess">The selected media in the tree doesn't allow for any other media to be created below it.</localize></p>
99
<div ng-if="hasSettingsAccess">
10-
<p class="abstract"><localize key="create_noMediaTypes"></localize></p>
10+
<p class="abstract"><localize key="create_noMediaTypes">There are no allowed Media Types available for creating media here. You must enable these in <strong>Media Types
11+
Types</strong> within the <strong>Settings</strong> section, by editing the <strong>Allowed child node
12+
types</strong> under <strong>Permissions</strong>.</localize></p>
1113
<a class="btn" href="#settings/mediaTypes/edit/{{mediaTypeId}}?view=permissions" role="button" ng-click="close()">
12-
<localize key="create_noMediaTypesEditPermissions"></localize>
14+
<localize key="create_noMediaTypesEditPermissions">Edit permissions for this Media Type</localize>
1315
</a>
1416
</div>
1517
</div>

0 commit comments

Comments
 (0)