Skip to content

Commit f1998ca

Browse files
BatJannathanwoulfe
authored andcommitted
Add missing fallback texts
1 parent 965ce91 commit f1998ca

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

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

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,33 @@ <h5 ng-show="selectContentType" id="selectContentType"><localize key="create_cre
99
<h5 ng-show="selectBlueprint"><localize key="blueprints_selectBlueprint">Select a blueprint</localize></h5>
1010

1111
<div ng-if="allowedTypes && allowedTypes.length === 0">
12-
<p class="abstract" ng-if="!hasSettingsAccess"><localize key="create_noDocumentTypesWithNoSettingsAccess"></localize></p>
12+
<p class="abstract" ng-if="!hasSettingsAccess">
13+
<localize key="create_noDocumentTypesWithNoSettingsAccess">The selected page in the content tree doesn't allow for any pages to be created below it.</localize>
14+
</p>
1315
<div ng-if="hasSettingsAccess && currentNode.id >= 0">
1416
<p class="abstract">
15-
<localize key="create_noDocumentTypes"></localize>
17+
<localize key="create_noDocumentTypes">There are no allowed Document Types available for creating content here. You must enable these in <strong>Document
18+
Types</strong> within the <strong>Settings</strong> section, by editing the <strong>Allowed child node
19+
types</strong> under <strong>Permissions</strong>.</localize>
1620
</p>
1721
<button type="button" class="btn umb-outline" ng-click="editContentType()">
18-
<localize key="create_noDocumentTypesEditPermissions"></localize>
22+
<localize key="create_noDocumentTypesEditPermissions">Edit permissions for this Document Type</localize>
1923
</button>
2024
</div>
2125
<div ng-if="hasSettingsAccess && currentNode.id < 0">
2226
<!-- There are existing document types, but none are allowed at root -->
2327
<p class="abstract" ng-if="countTypes > 0">
24-
<localize key="create_noDocumentTypesAllowedAtRoot"></localize>
28+
<localize key="create_noDocumentTypesAllowedAtRoot">There are no allowed Document Types available for creating content here. You must enable these in <strong>Document
29+
Types</strong> within the <strong>Settings</strong> section, by changing the <strong>Allow as root</strong> option under <strong>Permissions</strong>.</localize>
2530
</p>
2631

2732
<!-- There's no document types, help people create one -->
2833
<p class="abstract" ng-if="countTypes === 0">
29-
<localize key="create_noDocumentTypesAtRoot"></localize>
34+
<localize key="create_noDocumentTypesAtRoot">There are no Document Types available for creating content here. You must create these in <strong>Document
35+
Types</strong> within the <strong>Settings</strong> section.</localize>
3036
</p>
3137
<button type="button" class="btn umb-outline" ng-click="createContentType()" ng-if="countTypes === 0">
32-
<localize key="create_noDocumentTypesCreateNew"></localize>
38+
<localize key="create_noDocumentTypesCreateNew">Create a new Document Type</localize>
3339
</button>
3440
</div>
3541
</div>
@@ -58,7 +64,7 @@ <h5 ng-show="selectBlueprint"><localize key="blueprints_selectBlueprint">Select
5864
</li>
5965

6066
</ul>
61-
67+
6268
<ul class="umb-actions umb-actions-child" ng-if="selectBlueprint">
6369

6470
<li class="umb-action" ng-repeat="blueprint in selectableBlueprints | orderBy:'name':false track by $index">

0 commit comments

Comments
 (0)