Changed home.banner.percentage

Changed home.banner.percentage 'rare' value to 'rarity'
pull/1/head
Kim MinJae 2021-04-26 21:25:17 +09:00 committed by GitHub
parent ce14a128c7
commit 51b9b14524
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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