Correctly localize rank names
This commit is contained in:
parent
7d9993b158
commit
495dafaf12
2 changed files with 5 additions and 2 deletions
|
|
@ -97,7 +97,10 @@ export class HeroSummaryCardV1 extends GenericAppMixin(HandlebarsApplicationMixi
|
|||
step: ctx.actor.system.level.step,
|
||||
rank: {
|
||||
selected: ctx.actor.system.level.rank,
|
||||
options: Object.values(gameTerms.Rank),
|
||||
options: Object.values(gameTerms.Rank).map(rank => ({
|
||||
label: `RipCrypt.common.rankNames.${rank}`,
|
||||
value: rank,
|
||||
})),
|
||||
},
|
||||
};
|
||||
if (ctx.meta.limited) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue