mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-19 13:59:27 +02:00
Change trainer titles
This commit is contained in:
parent
4d02e74012
commit
ff560fa7ea
@ -194,7 +194,7 @@ export class TrainerConfig {
|
||||
}
|
||||
|
||||
// Make the title lowercase and replace spaces with underscores
|
||||
title = title.toLowerCase().replace(/\s/g, "_");
|
||||
title = toCamelCase(title);
|
||||
|
||||
// Get the title from the i18n file
|
||||
this.title = i18next.t(`titles:${title}`);
|
||||
@ -366,7 +366,7 @@ export class TrainerConfig {
|
||||
}
|
||||
|
||||
// Make the title lowercase and replace spaces with underscores
|
||||
titleDouble = titleDouble.toLowerCase().replace(/\s/g, "_");
|
||||
titleDouble = toCamelCase(titleDouble);
|
||||
|
||||
// Get the title from the i18n file
|
||||
this.titleDouble = i18next.t(`titles:${titleDouble}`);
|
||||
|
Loading…
Reference in New Issue
Block a user