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>

View File

@@ -40,6 +40,7 @@
<key alias="translate">Translate</key>
<key alias="update">Update</key>
<key alias="defaultValue">Default value</key>
<key alias="createblueprint">Create blueprint</key>
</area>
<area alias="assignDomain">
<key alias="permissionDenied">Permission denied.</key>
@@ -177,6 +178,10 @@
<key alias="target" version="7.0">Target</key>
<key alias="scheduledPublishServerTime">This translates to the following time on the server:</key>
<key alias="scheduledPublishDocumentation"><![CDATA[<a href="https://our.umbraco.org/documentation/Getting-Started/Data/Scheduled-Publishing/#timezones" target="_blank">What does this mean?</a>]]></key>
<key alias="createBlueprintFrom">Create a blueprint from</key>
<key alias="blueprintName">Name</key>
<key alias="blankBlueprint">Blank</key>
<key alias="selectBlueprint">Select a blueprint</key>
</area>
<area alias="media">
<key alias="clickToUpload">Click to upload</key>