From 053078d481a891b8ad46dbd4e8c2a7694a914c19 Mon Sep 17 00:00:00 2001 From: Made Baruna Date: Mon, 18 Jul 2022 21:04:27 +0700 Subject: [PATCH] Update wording weapon banner --- src/locales/en.json | 3 ++- src/routes/wish/_summaryItem.svelte | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/locales/en.json b/src/locales/en.json index 15d4285c..3f569583 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -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!", diff --git a/src/routes/wish/_summaryItem.svelte b/src/routes/wish/_summaryItem.svelte index ccf20940..e7ebf9ef 100644 --- a/src/routes/wish/_summaryItem.svelte +++ b/src/routes/wish/_summaryItem.svelte @@ -51,7 +51,7 @@ {#if avg.legendary.rateOff !== undefined} - └ {$t('wish.summary.winRateOff')} + └ {$t(type.id === 'weapon-event' ? 'wish.summary.winRateOffWeapon' : 'wish.summary.winRateOff')} {numberFormat.format(avg.legendary.rateOff.total)}