ran biome & made @module comment

This commit is contained in:
Bertie690 2025-09-09 19:18:43 -04:00
parent 704b6f0083
commit 2decc1d88e
2 changed files with 4 additions and 6 deletions

View File

@ -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";
}
}

View File

@ -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?