fix: wrap 2 static texts in translate method
This commit is contained in:
parent
8115a1b1ee
commit
9d39632b73
|
@ -26,7 +26,7 @@
|
|||
|
||||
<div class="nhentai-login">
|
||||
{#if $loggedIn}
|
||||
<div>logged in!</div>
|
||||
<div>{ t('logged in!') }</div>
|
||||
{:else}
|
||||
<form class="nhentai-login">
|
||||
<label>
|
||||
|
@ -37,7 +37,7 @@
|
|||
<span>{ t('Password') }</span>
|
||||
<input bind:value="{form.password}" type="password" />
|
||||
</label>
|
||||
<Bttn on:click="{handleClick}">submit</Bttn>
|
||||
<Bttn on:click="{handleClick}">{ t('submit') }</Bttn>
|
||||
</form>
|
||||
{/if}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue