web: fix misc strings not being translated properly
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
a9336d0983
commit
d0230c0b54
|
@ -59,7 +59,7 @@ export class DeleteForm extends ModalButton {
|
||||||
<section class="pf-c-page__main-section pf-m-light">
|
<section class="pf-c-page__main-section pf-m-light">
|
||||||
<form class="pf-c-form pf-m-horizontal">
|
<form class="pf-c-form pf-m-horizontal">
|
||||||
<p>
|
<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>
|
</p>
|
||||||
</form>
|
</form>
|
||||||
</section>
|
</section>
|
||||||
|
|
|
@ -20,7 +20,7 @@ export class Router404 extends LitElement {
|
||||||
<i class="fas fa-question-circle pf-c-empty-state__icon" aria-hidden="true"></i>
|
<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>
|
<h1 class="pf-c-title pf-m-lg">${t`Not found`}</h1>
|
||||||
<div class="pf-c-empty-state__body">
|
<div class="pf-c-empty-state__body">
|
||||||
${t`The URL '${this.url}' was not found.`}
|
${t`The URL "${this.url}" was not found.`}
|
||||||
</div>
|
</div>
|
||||||
<a href="#/" class="pf-c-button pf-m-primary" type="button">${t`Return home`}</a>
|
<a href="#/" class="pf-c-button pf-m-primary" type="button">${t`Return home`}</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -189,12 +189,12 @@ msgstr ""
|
||||||
"This will cause all policies to be re-evaluated on their next usage."
|
"This will cause all policies to be re-evaluated on their next usage."
|
||||||
|
|
||||||
#: src/elements/forms/DeleteForm.ts:62
|
#: src/elements/forms/DeleteForm.ts:62
|
||||||
msgid "Are you sure you want to delete {0} '{1}'?"
|
msgid "Are you sure you want to delete {0} \"{1}\"?"
|
||||||
msgstr "Are you sure you want to delete {0} '{1}'?"
|
msgstr "Are you sure you want to delete {0} \"{1}\"?"
|
||||||
|
|
||||||
#: src/pages/users/UserActiveForm.ts:52
|
#: src/pages/users/UserActiveForm.ts:52
|
||||||
msgid "Are you sure you want to update {0} '{1}'?"
|
msgid "Are you sure you want to update {0} \"{1}\"?"
|
||||||
msgstr "Are you sure you want to update {0} '{1}'?"
|
msgstr "Are you sure you want to update {0} \"{1}\"?"
|
||||||
|
|
||||||
#: src/pages/providers/saml/SAMLProviderForm.ts:202
|
#: src/pages/providers/saml/SAMLProviderForm.ts:202
|
||||||
msgid "Assertion not valid on or after current time + this value (Format: hours=1;minutes=2;seconds=3)."
|
msgid "Assertion not valid on or after current time + this value (Format: hours=1;minutes=2;seconds=3)."
|
||||||
|
@ -3123,8 +3123,8 @@ msgid "Text: Simple Text input"
|
||||||
msgstr "Text: Simple Text input"
|
msgstr "Text: Simple Text input"
|
||||||
|
|
||||||
#: src/elements/router/Router404.ts:26
|
#: src/elements/router/Router404.ts:26
|
||||||
msgid "The URL '{0}' was not found."
|
msgid "The URL \"{0}\" was not found."
|
||||||
msgstr "The URL '{0}' was not found."
|
msgstr "The URL \"{0}\" was not found."
|
||||||
|
|
||||||
#: src/pages/policies/dummy/DummyPolicyForm.ts:86
|
#: src/pages/policies/dummy/DummyPolicyForm.ts:86
|
||||||
msgid "The policy takes a random time to execute. This controls the minimum time it will take."
|
msgid "The policy takes a random time to execute. This controls the minimum time it will take."
|
||||||
|
@ -3690,8 +3690,8 @@ msgid "{0}"
|
||||||
msgstr "{0}"
|
msgstr "{0}"
|
||||||
|
|
||||||
#: src/pages/stages/prompt/PromptStageForm.ts:77
|
#: src/pages/stages/prompt/PromptStageForm.ts:77
|
||||||
msgid "{0} ('{1}', Type {2})"
|
msgid "{0} (\"{1}\", Type {2})"
|
||||||
msgstr "{0} ('{1}', Type {2})"
|
msgstr "{0} (\"{1}\", Type {2})"
|
||||||
|
|
||||||
#: src/pages/stages/prompt/PromptStageForm.ts:97
|
#: src/pages/stages/prompt/PromptStageForm.ts:97
|
||||||
msgid "{0} ({1})"
|
msgid "{0} ({1})"
|
||||||
|
|
|
@ -185,11 +185,11 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/elements/forms/DeleteForm.ts:62
|
#: src/elements/forms/DeleteForm.ts:62
|
||||||
msgid "Are you sure you want to delete {0} '{1}'?"
|
msgid "Are you sure you want to delete {0} \"{1}\"?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/users/UserActiveForm.ts:52
|
#: src/pages/users/UserActiveForm.ts:52
|
||||||
msgid "Are you sure you want to update {0} '{1}'?"
|
msgid "Are you sure you want to update {0} \"{1}\"?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/providers/saml/SAMLProviderForm.ts:202
|
#: src/pages/providers/saml/SAMLProviderForm.ts:202
|
||||||
|
@ -3119,7 +3119,7 @@ msgid "Text: Simple Text input"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/elements/router/Router404.ts:26
|
#: src/elements/router/Router404.ts:26
|
||||||
msgid "The URL '{0}' was not found."
|
msgid "The URL \"{0}\" was not found."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/policies/dummy/DummyPolicyForm.ts:86
|
#: src/pages/policies/dummy/DummyPolicyForm.ts:86
|
||||||
|
@ -3684,7 +3684,7 @@ msgid "{0}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/stages/prompt/PromptStageForm.ts:77
|
#: src/pages/stages/prompt/PromptStageForm.ts:77
|
||||||
msgid "{0} ('{1}', Type {2})"
|
msgid "{0} (\"{1}\", Type {2})"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/stages/prompt/PromptStageForm.ts:97
|
#: src/pages/stages/prompt/PromptStageForm.ts:97
|
||||||
|
|
|
@ -100,7 +100,7 @@ export class StageListPage extends TablePage<Stage> {
|
||||||
</ak-forms-modal>
|
</ak-forms-modal>
|
||||||
<ak-forms-delete
|
<ak-forms-delete
|
||||||
.obj=${item}
|
.obj=${item}
|
||||||
objectLabel=${item.verboseName}
|
objectLabel=${item.verboseName || ""}
|
||||||
.delete=${() => {
|
.delete=${() => {
|
||||||
return new StagesApi(DEFAULT_CONFIG).stagesAllDelete({
|
return new StagesApi(DEFAULT_CONFIG).stagesAllDelete({
|
||||||
stageUuid: item.pk || ""
|
stageUuid: item.pk || ""
|
||||||
|
|
|
@ -70,7 +70,7 @@ export class PromptStageForm extends Form<PromptStage> {
|
||||||
return su == prompt.pk;
|
return su == prompt.pk;
|
||||||
});
|
});
|
||||||
return html`<option value=${ifDefined(prompt.pk)} ?selected=${selected}>
|
return html`<option value=${ifDefined(prompt.pk)} ?selected=${selected}>
|
||||||
${t`${prompt.fieldKey} ('${prompt.label}', Type ${prompt.type})`}
|
${t`${prompt.fieldKey} ("${prompt.label}", Type ${prompt.type})`}
|
||||||
</option>`;
|
</option>`;
|
||||||
});
|
});
|
||||||
}), html`<option>${t`Loading...`}</option>`)}
|
}), html`<option>${t`Loading...`}</option>`)}
|
||||||
|
|
|
@ -37,7 +37,7 @@ export class UserActiveForm extends DeleteForm {
|
||||||
<div class="pf-c-card__body">
|
<div class="pf-c-card__body">
|
||||||
<form class="pf-c-form pf-m-horizontal">
|
<form class="pf-c-form pf-m-horizontal">
|
||||||
<p>
|
<p>
|
||||||
${t`Are you sure you want to update ${this.objectLabel} '${this.obj?.name}'?`}
|
${t`Are you sure you want to update ${this.objectLabel} "${this.obj?.name}"?`}
|
||||||
</p>
|
</p>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
Reference in New Issue