mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-23 15:03:24 +02:00
ran biome & made @module
comment
This commit is contained in:
parent
704b6f0083
commit
2decc1d88e
@ -771,12 +771,9 @@ export class TrainerConfig {
|
||||
}
|
||||
}
|
||||
// Check if !variant is true, if so return the name, else return the name with _female appended
|
||||
else if (variant) {
|
||||
// Check if the female version exists in the i18n file
|
||||
if (i18next.exists(`trainerClasses:${toCamelCase(this.name)}Female`)) {
|
||||
// If it does, return
|
||||
return ret + "Female";
|
||||
}
|
||||
// Check if the female version exists in the i18n file
|
||||
else if (variant && i18next.exists(`trainerClasses:${toCamelCase(this.name)}Female`)) {
|
||||
return ret + "Female";
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -137,6 +137,7 @@ function i18nMoneyFormatter(amount: any): string {
|
||||
//#region Initialization
|
||||
|
||||
/**
|
||||
* @module
|
||||
* i18next is a localization library for maintaining and using translation resources.
|
||||
*
|
||||
* Q: How do I add a new language?
|
||||
|
Loading…
Reference in New Issue
Block a user