Titlecasing english texts because Polyglot ain't doing it

This commit is contained in:
minjaesong
2024-02-17 19:17:22 +09:00
parent 84222f0d98
commit c9f6246cd3
12 changed files with 153 additions and 57 deletions

View File

@@ -73,7 +73,7 @@ class ModOptionsHost(val remoCon: UIRemoCon) : UICanvas() {
val modOptions: ControlPanelOptions = mod.configPlan.map {
val options = it.split("->")
val labelfun = if (options[1].startsWith("Lang:")) {
{ Lang[options[1].substringAfter(":")] }
{ Lang[options[1].substringAfter(":"), true] }
}
else {
{ options[1] }