mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-12 03:24:06 +09:00
Titlecasing english texts because Polyglot ain't doing it
This commit is contained in:
@@ -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] }
|
||||
|
||||
Reference in New Issue
Block a user