Skip to content

Commit

Permalink
Help drawer: Add missing translations (umbraco#6932)
Browse files Browse the repository at this point in the history
  • Loading branch information
BatJan authored and kjac committed Jan 14, 2020
1 parent 0ba5a0a commit 0ec3080
Show file tree
Hide file tree
Showing 4 changed files with 2,406 additions and 2,375 deletions.
24 changes: 18 additions & 6 deletions src/Umbraco.Web.UI.Client/src/views/common/drawers/help/help.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ <h5>Need help editing current item '{{vm.nodeName}}' ?</h5>
<!-- Tours -->
<div class="umb-help-section" ng-if="vm.tours.length > 0" data-element="help-tours">

<h5 class="umb-help-section__title">Tours</h5>
<h5 class="umb-help-section__title">
<localize key="help_tours">Tours</localize>
</h5>

<div ng-repeat="tourGroup in vm.tours | orderBy:'groupOrder'">

Expand All @@ -47,7 +49,9 @@ <h5 class="umb-help-section__title">Tours</h5>
<span class="umb-help-list-item__group-title bold">
<i ng-class="{'icon-navigation-right': !tourGroup.open, 'icon-navigation-down': tourGroup.open}" aria-hidden="true"></i>
<span ng-if="tourGroup.group !== 'undefined'">{{tourGroup.group}}</span>
<span ng-if="tourGroup.group === 'undefined'">Other</span>
<span ng-if="tourGroup.group === 'undefined'">
<localize key="general_other">Other</localize>
</span>
</span>
<umb-progress-circle
percentage="{{tourGroup.completedPercentage}}"
Expand Down Expand Up @@ -89,7 +93,9 @@ <h5 ng-show="dashboard.label">{{dashboard.label}}</h5>

<!-- Help Content -->
<div class="umb-help-section" data-element="help-articles" ng-if="vm.topics.length > 0">
<h5 class="umb-help-section__title">Articles</h5>
<h5 class="umb-help-section__title">
<localize key="general_articles">Articles</localize>
</h5>
<ul class="umb-help-list">
<li class="umb-help-list-item" ng-repeat="topic in vm.topics track by $index">
<a class="umb-help-list-item__content" data-element="help-article-{{topic.name}}" target="_blank" ng-href="{{topic.url}}?utm_source=core&utm_medium=help&utm_content=link&utm_campaign=tv">
Expand All @@ -107,7 +113,9 @@ <h5 class="umb-help-section__title">Articles</h5>

<!-- Umbraco tv content -->
<div class="umb-help-section" data-element="help-videos" ng-if="vm.hasAccessToSettings">
<h5 class="umb-help-section__title" ng-if="vm.videos.length > 0">Videos</h5>
<h5 class="umb-help-section__title" ng-if="vm.videos.length > 0">
<localize key="general_videos">Videos</localize>
</h5>
<ul class="umb-help-list">
<li class="umb-help-list-item" ng-repeat="video in vm.videos track by $index">
<a class="umb-help-list-item__content" data-element="help-article-{{video.title}}" target="_blank" ng-href="{{video.link}}?utm_source=core&utm_medium=help&utm_content=link&utm_campaign=tv">
Expand All @@ -123,7 +131,9 @@ <h5 class="umb-help-section__title" ng-if="vm.videos.length > 0">Videos</h5>
<div class="umb-help-section" data-element="help-links" ng-if="vm.hasAccessToSettings">
<a data-element="help-link-umbraco-tv" class="umb-help-badge" target="_blank" href="https://umbraco.tv?utm_source=core&utm_medium=help&utm_content=link&utm_campaign=tv">
<i class="umb-help-badge__icon icon-tv-old" aria-hidden="true"></i>
<div class="umb-help-badge__title">Visit umbraco.tv</div>
<div class="umb-help-badge__title">
<localize key="help_umbracoTv">Visit umbraco.tv</localize>
</div>
<small>
<localize key="help_theBestUmbracoVideoTutorials">The best Umbraco video tutorials</localize>
</small>
Expand All @@ -132,7 +142,9 @@ <h5 class="umb-help-section__title" ng-if="vm.videos.length > 0">Videos</h5>
<a data-element="help-link-our-umbraco" class="umb-help-badge" target="_blank" href="https://our.umbraco.com?utm_source=core&utm_medium=help&utm_content=link&utm_campaign=our">
<i class="umb-help-badge__icon icon-favorite" aria-hidden="true"></i>

<div class="umb-help-badge__title">Visit our.umbraco.com</div>
<div class="umb-help-badge__title">
<localize key="help_umbracoForum">Visit our.umbraco.com</localize>
</div>
<small>
<localize key="defaultdialogs_theFriendliestCommunity">The friendliest community</localize>
</small>
Expand Down
7 changes: 7 additions & 0 deletions src/Umbraco.Web.UI/Umbraco/config/lang/da.xml
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,7 @@
<key alias="viewCacheItem">Se cache element</key>
<key alias="relateToOriginalLabel">Relatér til original</key>
<key alias="includeDescendants">Inkludér undersider</key>
<key alias="theFriendliestCommunity">Det venligste community</key>
<key alias="linkToPage">Link til side</key>
<key alias="openInNewWindow">Åben linket i et nyt vindue eller fane</key>
<key alias="linkToMedia">Link til medie</key>
Expand Down Expand Up @@ -751,6 +752,9 @@
<key alias="current">nuværende</key>
<key alias="embed">Indlejring</key>
<key alias="selected">valgt</key>
<key alias="other">Andet</key>
<key alias="articles">Artikler</key>
<key alias="videos">Videoer</key>
</area>
<area alias="colors">
<key alias="blue">Blå</key>
Expand Down Expand Up @@ -1115,7 +1119,10 @@ Mange hilsner fra Umbraco robotten
<key alias="forms">Formularer</key>
</area>
<area alias="help">
<key alias="tours">Tours</key>
<key alias="theBestUmbracoVideoTutorials">De bedste Umbraco video tutorials</key>
<key alias="umbracoForum">Besøg our.umbraco.com</key>
<key alias="umbracoTv">Besøg umbraco.tv</key>
</area>
<area alias="settings">
<key alias="defaulttemplate">Standardskabelon</key>
Expand Down
Loading

0 comments on commit 0ec3080

Please sign in to comment.