Update wording weapon banner

This commit is contained in:
Made Baruna 2022-07-18 21:04:27 +07:00
parent 39c283afb1
commit 053078d481
2 changed files with 3 additions and 2 deletions

View file

@ -430,7 +430,8 @@
"pityAverage": "Pity AVG",
"character": "Character",
"weapon": "Weapon",
"winRateOff": "Win 50:50"
"winRateOff": "Win 50:50",
"winRateOffWeapon": "Win 75:25"
},
"note": [
"Wish history is not updated automatically, please import again to update your history!",

View file

@ -51,7 +51,7 @@
{#if avg.legendary.rateOff !== undefined}
<tr>
<td class="text-legendary-from font-semibold pl-4 md:pl-4 pr-2 md:pr-4 border-t border-gray-700">
{$t('wish.summary.winRateOff')}
{$t(type.id === 'weapon-event' ? 'wish.summary.winRateOffWeapon' : 'wish.summary.winRateOff')}
</td>
<td class="text-legendary-from font-semibold pr-2 md:pr-4 text-right border-t border-gray-700">
{numberFormat.format(avg.legendary.rateOff.total)}