Skip to content

Commit

Permalink
Update wording weapon banner
Browse files Browse the repository at this point in the history
  • Loading branch information
MadeBaruna committed Jul 18, 2022
1 parent 39c283a commit 053078d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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!",
Expand Down
2 changes: 1 addition & 1 deletion src/routes/wish/_summaryItem.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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)}
Expand Down

0 comments on commit 053078d

Please sign in to comment.