feat: extended tribe profile

This commit is contained in:
Dawid Wysokiński 2023-02-18 12:01:52 +01:00
parent 95545e380d
commit 2383730855
Signed by: Kichiyaki
GPG Key ID: B5445E357FB8B892
1 changed files with 5 additions and 0 deletions

View File

@ -9,6 +9,7 @@ const t = createTranslationFunc({
'Most points': 'Najwięcej punktów',
'Most villages': 'Najwięcej wiosek',
Changes: 'Zmiany',
'Number of members': 'Liczba członków',
Points: 'Punkty',
Rank: 'Ranking',
Villages: 'Wioski',
@ -117,6 +118,10 @@ class UI {
header: t('Dominance'),
value: this.tribe.dominance - (this.latestSnapshot?.dominance ?? 0),
},
{
header: t('Number of members'),
value: this.tribe.numMembers - (this.latestSnapshot?.numMembers ?? 0),
},
{
header: t('Rank'),
value: this.tribe.rank - (this.latestSnapshot?.rank ?? 0),