-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(i18n): Update engine settings i18n #4935
Conversation
@rzats ! Now that's a name it is nice to see again. Welcome back 👋 |
Thanks @Cervator! (I still do a little lurking on Discord every now and then 👀) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR break English Language.
10:23:18.705 [main] ERROR o.t.gestalt.assets.AssetType - Failed to load asset 'engine:menu_en'
java.io.IOException: Could not parse file 'menu_en.lang'
at org.terasology.engine.i18n.assets.TranslationFormat.load(TranslationFormat.java:100)
at org.terasology.engine.i18n.assets.TranslationFormat.load(TranslationFormat.java:38)
....
Caused by: com.google.gson.JsonSyntaxException: duplicate key: settings-language
at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:190)
...
funny fact: breaking entry - Language
Ukrainian works in described place.
"settings-chunk-timeout": "Chunk generation fail timeout (ms)", | ||
"settings-chunks-till-save": "Max unloaded chunks percentage till save", | ||
"settings-debug-mode": "Debug mode", | ||
"settings-language": "Language", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicate entry.
see Line 356
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed this and the merge conflict!
Contains
A few strings in the core engine are currently untranslated - these are mostly found in the new autoconfig, as well as other settings. This fixes them to be properly i18n-able!
How to test
Browse around the settings menu to see if everything looks OK.
Outstanding before merging
None!