mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-01 23:40:25 +00:00
Add number l10n to another area
_Originally posted by @citrusella in https://github.com/HabitRPG/habitica/issues/9470#issuecomment-842279146_
This commit is contained in:
parent
14c4a4f50c
commit
55b14ad2d0
1 changed files with 7 additions and 1 deletions
|
|
@ -198,7 +198,13 @@
|
|||
<div class="col-6">
|
||||
<span
|
||||
class="float-left"
|
||||
>{{ $t('rage') }} {{ parseFloat(group.quest.progress.rage).toFixed(2) }} / {{ questData.boss.rage.value }}</span> <!-- eslint-disable-line max-len -->
|
||||
>{{ $t('rage') }} {{
|
||||
parseFloat(group.quest.progress.rage)
|
||||
| localizeNumber(user.preferences.language, { toFixed:2 })
|
||||
}} / {{
|
||||
questData.boss.rage.value
|
||||
| localizeNumber(user.preferences.language)
|
||||
}}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue