Use new translation argument passing

This commit is contained in:
Johannes Zellner
2020-11-12 23:13:52 +01:00
parent 50433206a3
commit bf2965dba0
16 changed files with 50 additions and 72 deletions

View File

@@ -203,7 +203,7 @@
<div class="card" style="margin-bottom: 15px;">
<div class="row">
<div class="col-md-8">
<p ng-bind-html=" 'settings.timezone.description' | tr:timeZone "></p>
<p ng-bind-html=" 'settings.timezone.description' | tr:{ timeZone: currentTimeZone.display } "></p>
<p class="text-danger" ng-show="timeZone.error"><br/>{{ timeZone.error }}</p>
</div>
<div class="col-md-4">
@@ -278,7 +278,7 @@
<div class="card" style="margin-bottom: 15px;">
<div class="row">
<div class="col-xs-12">
<span ng-bind-html=" 'settings.privateDockerRegistry.description' | tr:translationLinks "></span>
<span ng-bind-html="'settings.privateDockerRegistry.description' | tr:{ customAppsLink: 'https://docs.cloudron.io/custom-apps/tutorial/' }"></span>
</div>
</div>