Localize weapon name on char build

pull/1/head
Made Baruna 2022-06-21 15:28:13 +07:00
parent ae360fec89
commit 15215cd9d7
1 changed files with 1 additions and 1 deletions

View File

@ -507,7 +507,7 @@
<Icon className={rarityColor[weaponList[weapon.id].rarity]} path={mdiStar} size={0.8} />
<img class="h-8 mr-2 ml-2" src="/images/weapons/{weapon.id}.png" alt={weaponList[weapon.id].name} />
<p class="pl-1 pr-2" style="padding-top: 2px;">
<span>{weaponList[weapon.id].name}</span>
<span>{$t(weaponList[weapon.id].name)}</span>
{#if weapon.refine}
<span class="ml-2 bg-blue-300 rounded-md px-1 text-sm text-gray-900"
>R{weapon.refine.join('-')}</span