mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-23 23:13:42 +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
|
// 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
|
||||||
// Check if the female version exists in the i18n file
|
else if (variant && i18next.exists(`trainerClasses:${toCamelCase(this.name)}Female`)) {
|
||||||
if (i18next.exists(`trainerClasses:${toCamelCase(this.name)}Female`)) {
|
return ret + "Female";
|
||||||
// If it does, return
|
|
||||||
return ret + "Female";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -137,6 +137,7 @@ function i18nMoneyFormatter(amount: any): string {
|
|||||||
//#region Initialization
|
//#region Initialization
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @module
|
||||||
* i18next is a localization library for maintaining and using translation resources.
|
* i18next is a localization library for maintaining and using translation resources.
|
||||||
*
|
*
|
||||||
* Q: How do I add a new language?
|
* Q: How do I add a new language?
|
||||||
|
Loading…
Reference in New Issue
Block a user