Add missing translation for task rety and fix an issue in the retry button

This commit is contained in:
Johannes Zellner
2020-11-24 19:00:16 +01:00
parent 06b25501a0
commit 7e0bd28bc2
3 changed files with 7 additions and 6 deletions

View File

@@ -1012,7 +1012,7 @@
<label class="control-label">{{ 'app.repair.taskError.title' | tr }}</label>
<p>{{ 'app.repair.taskError.description' | tr }}</p>
<p ng-show="app.error">An error occurred during the <b>{{ app.error.installationState | taskName }}</b> operation: <span class="text-danger"><b>{{ app.error.reason + ': ' + app.error.message }}</b></span></p>
<button class="btn btn-primary pull-right" ng-click="repair.confirm()" ng-disabled="app.taskId || !app.error" tooltip-enable="app.taskId" uib-tooltip="App is busy">{{ 'app.repair.taskError.retryAction' | tr:{ task: (app.error.installationState | taskName) } }}</button>
<button class="btn btn-primary pull-right" ng-click="repair.confirm()" ng-disabled="app.taskId || !app.error" tooltip-enable="app.taskId" uib-tooltip="{{ 'app.repair.appIsBusyTooltip' | tr }}">{{ 'app.repair.taskError.retryAction' | tr:{ task: (app.error.installationState | taskName) } }}</button>
</div>
</div>
</div>