fabric-loader icon indicating copy to clipboard operation
fabric-loader copied to clipboard

Add Spanish translation and make `StringUtil` capitalize the first letter, not character

Open altrisi opened this issue 3 years ago • 0 comments

This pull request adds a Spanish translation, and adapts StringUtil.capitalize slightly to be able to support its leading punctuation (¡).

StringUtil will now search for the first letter or number instead of choosing always the first character, meaning that strings leaded by punctuation (such as ¡ in my case) will still be capitalized. Number is also checked because I believe 5 mods is the correct spelling, not 5 Mods.

I was not able to get JiJ-related strings to trigger.

Also, I think the title "Incompatible mod set!" (and probably the button texts) should be translatable.

altrisi avatar Oct 15 '22 21:10 altrisi