web: fix misc strings not being translated properly

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-04-05 01:07:11 +02:00
parent a9336d0983
commit d0230c0b54
7 changed files with 17 additions and 17 deletions

View File

@ -59,7 +59,7 @@ export class DeleteForm extends ModalButton {
<section class="pf-c-page__main-section pf-m-light">
<form class="pf-c-form pf-m-horizontal">
<p>
${t`Are you sure you want to delete ${this.objectLabel} '${this.obj?.name}'?`}
${t`Are you sure you want to delete ${this.objectLabel} "${this.obj?.name}"?`}
</p>
</form>
</section>

View File

@ -20,7 +20,7 @@ export class Router404 extends LitElement {
<i class="fas fa-question-circle pf-c-empty-state__icon" aria-hidden="true"></i>
<h1 class="pf-c-title pf-m-lg">${t`Not found`}</h1>
<div class="pf-c-empty-state__body">
${t`The URL '${this.url}' was not found.`}
${t`The URL "${this.url}" was not found.`}
</div>
<a href="#/" class="pf-c-button pf-m-primary" type="button">${t`Return home`}</a>
</div>