Localize text in help dialog

Add localization for text in help dialog, create and delete dialogs and
some minor parts of the member area.
This commit is contained in:
bjarnef
2015-08-19 02:03:54 +02:00
parent 127736d188
commit 5bc0c499d8
11 changed files with 57 additions and 22 deletions

View File

@@ -1,13 +1,13 @@
<div class="umb-panel" ng-controller="Umbraco.Dialogs.HelpController">
<div class="umb-panel-header">
<h1 class="headline">Help</h1>
<h1 class="headline"><localize key="sections_help">Help</localize></h1>
<small class="umb-version">Umbraco version {{version}}</small>
</div>
<div class="umb-panel-body umb-scrollable">
<div class="tab-content umb-control-group">
<div class="umb-pane">
<h5>Help topics for: {{section}}</h5>
<h5><localize key="help_helpTopicsFor">Help topics for</localize>: {{section}}</h5>
<ul class="unstyled list-icons" ng-show="topics">
<li ng-repeat="topic in topics">
<i class="icon icon-help-alt"></i>
@@ -23,7 +23,7 @@
<li>
<i class="icon icon-favorite"></i>
<a target="_blank" href="http://our.umbraco.org?utm_source=core&utm_medium=help&utm_content=link&utm_campaign=our">
go to our.umbraco.org
<localize key="help_goTo">go to</localize> our.umbraco.org
</a>
<small class="umb-detail">The friendliest community</small>
</li>
@@ -31,7 +31,7 @@
</div>
<div class="umb-pane">
<h5>Video chapters for: {{section}}</h5>
<h5><localize key="help_videoChaptersFor">Video chapters for</localize>: {{section}}</h5>
<ul class="thumbnails" ng-show="videos">
<li class="span2" ng-repeat="video in videos">
@@ -47,9 +47,9 @@
<li>
<i class="icon icon-tv-old"></i>
<a target="_blank" href="http://umbraco.tv?utm_source=core&utm_medium=help&utm_content=link&utm_campaign=tv">
go to umbraco.tv
<localize key="help_goTo">go to</localize> umbraco.tv
</a>
<small class="umb-detail">The best umbraco video tutorials</small>
<small class="umb-detail"><localize key="help_theBestUmbracoVideoTutorials">The best Umbraco video tutorials</localize></small>
</li>
</ul>
</div>

View File

@@ -39,7 +39,7 @@
</div>
<div class="umb-dialog-footer btn-toolbar umb-btn-toolbar">
<button class="btn" ng-click="nav.hideDialog(true)">
<localize key="buttons_somethingElse">Do something else</localize>
</button>
<button class="btn" ng-click="nav.hideDialog(true)">
<localize key="buttons_somethingElse">Do something else</localize>
</button>
</div>

View File

@@ -2,7 +2,7 @@
<div class="umb-dialog-body" auto-scale="90">
<p class="umb-abstract">
Are you sure you want to delete <strong>{{currentNode.name}}</strong> ?
<localize key="defaultdialogs_confirmdelete">Are you sure you want to delete</localize> <strong>{{currentNode.name}}</strong> ?
</p>
<umb-confirm on-confirm="performDelete" on-cancel="cancel">

View File

@@ -2,7 +2,7 @@
<div class="umb-dialog-body">
<p class="umb-abstract">
Are you sure you want to delete <strong>{{currentNode.name}}</strong> ?
<localize key="defaultdialogs_confirmdelete">Are you sure you want to delete</localize> <strong>{{currentNode.name}}</strong> ?
</p>
<umb-confirm on-confirm="performDelete" on-cancel="cancel">

View File

@@ -2,7 +2,7 @@
<div class="umb-dialog-body" auto-scale="90">
<p class="umb-abstract">
Are you sure you want to delete <strong>{{currentNode.name}}</strong> ?
<localize key="defaultdialogs_confirmdelete">Are you sure you want to delete</localize> <strong>{{currentNode.name}}</strong> ?
</p>
<umb-confirm on-confirm="performDelete" on-cancel="cancel"></umb-confirm>

View File

@@ -1,7 +1,7 @@
<div class="umb-dialog-body with-footer" ng-controller="Umbraco.Editors.Member.CreateController">
<div class="umb-pane">
<h5>Create a new member</h5>
<h5><localize key="member_createNewMember">Create a new member</localize></h5>
<ul class="umb-actions umb-actions-child">
<li ng-repeat="docType in allowedTypes">
@@ -20,6 +20,8 @@
</div>
<div class="umb-dialog-footer btn-toolbar umb-btn-toolbar" >
<button type="button" class="btn" ng-click="nav.hideDialog()">Do something else</button>
<button type="button" class="btn" ng-click="nav.hideDialog()">
<localize key="buttons_somethingElse">Do something else</localize>
</button>
</div>

View File

@@ -2,7 +2,7 @@
<div class="umb-dialog-body" auto-scale="90">
<p class="umb-abstract">
Are you sure you want to delete <strong>{{currentNode.name}}</strong> ?
<localize key="defaultdialogs_confirmdelete">Are you sure you want to delete</localize> <strong>{{currentNode.name}}</strong> ?
</p>
<umb-confirm on-confirm="performDelete" on-cancel="cancel">

View File

@@ -71,6 +71,7 @@
<key alias="macroInsert">Indsæt makro</key>
<key alias="pictureInsert">Indsæt billede</key>
<key alias="relations">Redigér relationer</key>
<key alias="returnToList">Tilbage til listen</key>
<key alias="save">Gem</key>
<key alias="saveAndPublish">Gem og udgiv</key>
<key alias="saveToPublish">Gem og send til udgivelse</key>
@@ -155,6 +156,10 @@
<key alias="clickToUpload">Klik for at uploade</key>
<key alias="dropFilesHere">Slip filerne her...</key>
</area>
<area alias="member">
<key alias="createNewMember">Opret et nyt medlem</key>
<key alias="allMembers">Alle medlemmer</key>
</area>
<area alias="create">
<key alias="chooseNode">Hvor ønsker du at oprette den nye %0%</key>
<key alias="createUnder">Opret under</key>
@@ -669,6 +674,14 @@ Mange hilsner fra Umbraco robotten
<key alias="translation">Oversættelse</key>
<key alias="users">Brugere</key>
<key alias="help">Hjælp</key>
<key alias="forms">Formularer</key>
<key alias="analytics">Analytics</key>
</area>
<area alias="help">
<key alias="goTo">gå til</key>
<key alias="helpTopicsFor">Hjælpeemner for</key>
<key alias="videoChaptersFor">Videokapitler for</key>
<key alias="theBestUmbracoVideoTutorials">De bedste Umbraco video tutorials</key>
</area>
<area alias="settings">
<key alias="defaulttemplate">Standardskabelon</key>
@@ -832,7 +845,7 @@ Mange hilsner fra Umbraco robotten
<key alias="memberType">Medlemstype</key>
<key alias="nodeTypes">Dokumenttyper</key>
<key alias="packager">Pakker</key>
<key alias="packages">Pakker</key>
<key alias="packages">Pakker</key>
<key alias="python">Python</key>
<key alias="repositories">Installer fra "repository"</key>
<key alias="runway">Installer Runway</key>

View File

@@ -169,6 +169,10 @@
<key alias="clickToUpload">Click to upload</key>
<key alias="dropFilesHere">Drop your files here...</key>
</area>
<area alias="member">
<key alias="createNewMember">Create a new member</key>
<key alias="allMembers">All Members</key>
</area>
<area alias="create">
<key alias="chooseNode">Where do you want to create the new %0%</key>
<key alias="createUnder">Create an item under</key>
@@ -748,6 +752,12 @@ To manage your website, simply open the Umbraco back office and start adding con
<key alias="forms">Forms</key>
<key alias="analytics">Analytics</key>
</area>
<area alias="help">
<key alias="goTo">go to</key>
<key alias="helpTopicsFor">Help topics for</key>
<key alias="videoChaptersFor">Video chapters for</key>
<key alias="theBestUmbracoVideoTutorials">The best Umbraco video tutorials</key>
</area>
<area alias="settings">
<key alias="defaulttemplate">Default template</key>
<key alias="dictionary editor egenskab">Dictionary Key</key>
@@ -774,11 +784,11 @@ To manage your website, simply open the Umbraco back office and start adding con
<key alias="sortPleaseWait"><![CDATA[ Please wait. Items are being sorted, this can take a while.<br/> <br/> Do not close this window during sorting]]></key>
</area>
<area alias="speechBubbles">
<key alias="operationFailedHeader">Failed</key>
<key alias="invalidUserPermissionsText">Insufficient user permissions, could not complete the operation</key>
<key alias="operationCancelledHeader">Cancelled</key>
<key alias="operationCancelledText">Operation was cancelled by a 3rd party add-in</key>
<key alias="contentPublishedFailedByEvent">Publishing was cancelled by a 3rd party add-in</key>
<key alias="operationFailedHeader">Failed</key>
<key alias="invalidUserPermissionsText">Insufficient user permissions, could not complete the operation</key>
<key alias="operationCancelledHeader">Cancelled</key>
<key alias="operationCancelledText">Operation was cancelled by a 3rd party add-in</key>
<key alias="contentPublishedFailedByEvent">Publishing was cancelled by a 3rd party add-in</key>
<key alias="contentTypeDublicatePropertyType">Property type already exists</key>
<key alias="contentTypePropertyTypeCreated">Property type created</key>
<key alias="contentTypePropertyTypeCreatedText"><![CDATA[Name: %0% <br /> DataType: %1%]]></key>

View File

@@ -169,6 +169,10 @@
<key alias="clickToUpload">Click to upload</key>
<key alias="dropFilesHere">Drop your files here...</key>
</area>
<area alias="member">
<key alias="createNewMember">Create a new member</key>
<key alias="allMembers">All Members</key>
</area>
<area alias="create">
<key alias="chooseNode">Where do you want to create the new %0%</key>
<key alias="createUnder">Create an item under</key>
@@ -749,6 +753,12 @@ To manage your website, simply open the Umbraco back office and start adding con
<key alias="forms">Forms</key>
<key alias="analytics">Analytics</key>
</area>
<area alias="help">
<key alias="goTo">go to</key>
<key alias="helpTopicsFor">Help topics for</key>
<key alias="videoChaptersFor">Video chapters for</key>
<key alias="theBestUmbracoVideoTutorials">The best Umbraco video tutorials</key>
</area>
<area alias="settings">
<key alias="defaulttemplate">Default template</key>
<key alias="dictionary editor egenskab">Dictionary Key</key>

View File

@@ -122,7 +122,7 @@ namespace Umbraco.Web.Trees
if (id == Constants.System.Root.ToInvariantString())
{
nodes.Add(
CreateTreeNode(Constants.Conventions.MemberTypes.AllMembersListId, id, queryStrings, "All Members", "icon-users", false,
CreateTreeNode(Constants.Conventions.MemberTypes.AllMembersListId, id, queryStrings, ui.Text("member", "allMembers"), "icon-users", false,
queryStrings.GetValue<string>("application") + TreeAlias.EnsureStartsWith('/') + "/list/" + Constants.Conventions.MemberTypes.AllMembersListId));
if (_isUmbracoProvider)