Edited calculator.goto phrase

Edited calculator.goto phrase to receive redirecting page name so we now we can use it more flexibly.
pull/1/head
Kim MinJae 2021-04-26 20:48:54 +09:00 committed by GitHub
parent 15b605f6cd
commit ce14a128c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 8 deletions

View File

@ -69,8 +69,7 @@
>
<Button on:click={() => findPos('character')}>
<Icon size={0.8} path={mdiArrowDown} />
{$t('calculator.goto')}
{$t('calculator.titleCharacter')}
{$t('calculator.goto', { values: { where: $t('calculator.titleCharacter') })}
</Button>
<h1
@ -86,13 +85,11 @@
>
<Button on:click={() => findPos('weapon')}>
<Icon size={0.8} path={mdiArrowUp} />
{$t('calculator.goto')}
{$t('calculator.titleWeapon')}
{$t('calculator.goto', { values: { where: $t('calculator.titleWeapon') })}
</Button>
<Button className="md:mt-0 md:mr-4 mt-4" on:click={() => findPos('resin')}>
<Icon size={0.8} path={mdiArrowDown} />
{$t('calculator.goto')}
{$t('calculator.titleResin')}
{$t('calculator.goto', { values: { where: $t('calculator.titleResin') })}
</Button>
<h1
class="font-display font-black text-center mt-2 md:mt-0 md:mr-2 xl:mr-8 text-3xl lg:text-left lg:text-5xl text-white"
@ -107,8 +104,7 @@
>
<Button on:click={() => findPos('character')}>
<Icon size={0.8} path={mdiArrowUp} />
{$t('calculator.goto')}
{$t('calculator.titleCharacter')}
{$t('calculator.goto', { values: { where: $t('calculator.titleCharacter') })}
</Button>
<h1
class="font-display font-black text-center mt-2 md:mt-0 md:mr-2 xl:mr-8 text-3xl lg:text-left lg:text-5xl text-white"