mirror of
https://github.com/MadeBaruna/paimon-moe.git
synced 2025-01-07 11:04:50 +01:00
more i18n support for calculator
This commit is contained in:
parent
e77b9c9e4d
commit
720cc302fe
3 changed files with 4 additions and 4 deletions
|
@ -669,7 +669,7 @@
|
|||
<span class="w-6 inline-block">
|
||||
<img class="h-6 inline-block mr-1" src={`/images/items/${id}.png`} alt={item.name} />
|
||||
</span>
|
||||
{item.name}
|
||||
{$t(item.name)}
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -94,7 +94,7 @@
|
|||
<div class="mb-1 rounded-xl border-background border p-2">
|
||||
<div class="flex flex-row items-center mb-1">
|
||||
<img src={value.image} alt={value.name} class="w-6 mr-2" />
|
||||
<p class="text-white">{value.name}</p>
|
||||
<p class="text-white">{$t(value.name)}</p>
|
||||
</div>
|
||||
<div class="flex flex-row items-center">
|
||||
<div class="w-full">
|
||||
|
@ -155,7 +155,7 @@
|
|||
<td class="border-t border-gray-700 text-white pr-2">
|
||||
<span class="inline-flex align-middle">
|
||||
{#if res.image !== null}<img src={res.image} alt={res.name} class="w-6 h-6 mr-2" />{/if}
|
||||
<p class="text-white">{res.name}</p>
|
||||
<p class="text-white">{$t(res.name)}</p>
|
||||
</span>
|
||||
</td>
|
||||
<td class="border-t border-gray-700 text-white pr-2 text-center">
|
||||
|
|
|
@ -477,7 +477,7 @@
|
|||
<span class="w-6 inline-block">
|
||||
<img class="h-6 inline-block mr-1" src={`/images/items/${id}.png`} alt={item.name} />
|
||||
</span>
|
||||
{item.name}
|
||||
{$t(item.name)}
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in a new issue