Edited home.banner.percentage phrase

Edited home.banner.percentage phrase to receive rarity ★ text so now we can put some texts behind the ★
pull/1/head
Kim MinJae 2021-04-26 20:43:21 +09:00 committed by GitHub
parent 04955815d3
commit 15b605f6cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -97,8 +97,7 @@
<div class="flex flex-wrap items-start pl-2">
<p class="text-white mr-4 leading-4">
<span class="font-semibold">{item.percentage}%</span>
{$t('home.banner.percentage')}
{item.rarity === 'legendary' ? '5' : '4'}
{$t('home.banner.percentage', { values: { rare: item.rarity === 'legendary' ? '5★' : '4★' } })}
</p>
<p class="text-white leading-4">{$t('home.banner.avg')} <span class="font-semibold">{item.average}</span></p>
</div>