{$t('itworks.body')}
-{@html $t('itworks.linkbody', {values:{link0:''+$t('itworks.linkbody.link0')+'',link1:''+$t('itworks.linkbody.link1')+''}})}
+{@html $t('itworks.linkbody', {link0:''+$t('itworks.linkbody.link0')+'',link1:''+$t('itworks.linkbody.link1')+''})}
{$t("hosts.delete.explainer")}
{#if loading} diff --git a/tfweb/src/routes/hosts/[host_id]/enroll/+page.svelte b/tfweb/src/routes/hosts/[host_id]/enroll/+page.svelte index 13a2ca5..2e26504 100644 --- a/tfweb/src/routes/hosts/[host_id]/enroll/+page.svelte +++ b/tfweb/src/routes/hosts/[host_id]/enroll/+page.svelte @@ -68,7 +68,7 @@ return; } else { isError = true; - error = $t("networkcreate.error.generic", {values:{err:resp_json.errors[0].code}}); + error = $t("networkcreate.error.generic", {err:resp_json.errors[0].code}); loading = false; return; } @@ -100,17 +100,17 @@{$t("hosts.enroll.explainer")}
{#if loading} {:else} -{$t("hosts.enroll.code", {values:{code: code.code, expires: code.lifetimeSeconds / 60}})}
+{$t("hosts.enroll.code", {code: code.code, expires: code.lifetimeSeconds / 60})}
{/if} diff --git a/tfweb/src/routes/hosts/add/+page.svelte b/tfweb/src/routes/hosts/add/+page.svelte index a2e0d20..f820d10 100644 --- a/tfweb/src/routes/hosts/add/+page.svelte +++ b/tfweb/src/routes/hosts/add/+page.svelte @@ -59,7 +59,7 @@ return; } else { isError = true; - error = $t("networkcreate.error.generic", {values:{err:resp_json.errors[0].code}}); + error = $t("networkcreate.error.generic", {err:resp_json.errors[0].code}); loading = false; return; } @@ -164,7 +164,7 @@{$t('login.emailbody')}
-{@html $t('login.emailbody2', {values:{link0:''+$t('login.emailbody2.link0')+''}})}
+{@html $t('login.emailbody2', {link0:''+$t('login.emailbody2.link0')+''})}
{:else}{@html $t('login.need', {values:{link0:''+$t('login.need.link0')+''}})}
+{@html $t('login.need', {link0:''+$t('login.need.link0')+''})}
{/if} diff --git a/tfweb/src/routes/magic-link/+page.svelte b/tfweb/src/routes/magic-link/+page.svelte index 5684231..01b73fc 100644 --- a/tfweb/src/routes/magic-link/+page.svelte +++ b/tfweb/src/routes/magic-link/+page.svelte @@ -45,7 +45,7 @@{$t("roles.delete.explainer")}
{#if loading} diff --git a/tfweb/src/routes/roles/[role_id]/edit/+page.svelte b/tfweb/src/routes/roles/[role_id]/edit/+page.svelte index 625afab..d96f4c9 100644 --- a/tfweb/src/routes/roles/[role_id]/edit/+page.svelte +++ b/tfweb/src/routes/roles/[role_id]/edit/+page.svelte @@ -276,7 +276,7 @@ return; } else { isError = true; - error = $t("networkcreate.error.generic", {values:{err:resp_json.errors[0].code}}); + error = $t("networkcreate.error.generic", {err:resp_json.errors[0].code}); loading = false; return; } @@ -346,12 +346,12 @@{@html $t('signup.already', {values:{link0:''+$t('signup.already.link0')+''}})}
+{@html $t('signup.already', {link0:''+$t('signup.already.link0')+''})}
{/if}