Added that the title will get made lower case so the rival is correctly set
parent
9b94d64b78
commit
c96dbd43fe
|
@ -253,6 +253,9 @@ export class TrainerConfig {
|
||||||
initI18n();
|
initI18n();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Make the title lowercase and replace spaces with underscores
|
||||||
|
title = title.toLowerCase().replace(/\s/g, '_');
|
||||||
|
|
||||||
this.title = i18next.t(`titles:${title}`);
|
this.title = i18next.t(`titles:${title}`);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue