English language elements for blueprints

This commit is contained in:
Lars-Erik Aabech
2017-06-04 21:00:08 +02:00
parent 6b0ef0e289
commit affe3d688b
3 changed files with 11 additions and 5 deletions

View File

@@ -1,7 +1,8 @@
<div class="umb-dialog-body with-footer" ng-controller="Umbraco.Editors.Content.CreateController" ng-cloak>
<div class="umb-pane">
<h5><localize key="create_createUnder">Create a page under</localize> {{currentNode.name}}</h5>
<h5 ng-show="selectContentType"><localize key="create_createUnder">Create a page under</localize> {{currentNode.name}}</h5>
<h5 ng-show="selectBlueprint"><localize key="content_selectBlueprint">Select a blueprint</localize></h5>
<p class="abstract" ng-if="allowedTypes && allowedTypes.length === 0">
<localize key="create_noDocumentTypes" />
@@ -36,7 +37,7 @@
<a ng-click="createBlank(docType)">
<i class="large {{docType.icon}}"></i>
<span class="menu-label">
<localize key="create_blank">Blank</localize>
<localize key="content_blankBlueprint">Blank</localize>
</span>
</a>
</li>

View File

@@ -2,16 +2,16 @@
<div class="umb-dialog-body with-footer" ng-cloak>
<div class="umb-pane">
<h5><localize key="create_createBlueprintFrom">Create a blueprint from</localize> {{currentNode.name}}</h5>
<h5><localize key="content_createBlueprintFrom">Create a blueprint from</localize> {{currentNode.name}}</h5>
<label for="name"><localize key="create_blueprintName">Name</localize></label>
<label for="name"><localize key="content_blueprintName">Name</localize></label>
<input type="text" name="name" id="name" ng-model="name" />
</div>
</div>
<div class="umb-dialog-footer btn-toolbar umb-btn-toolbar">
<button class="btn umb-button success" ng-click="create()">
<localize key="create">Create blueprint</localize>
<localize key="general_create">Create blueprint</localize>
</button>
</div>
</div>