Skip to content
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

Merged
merged 7 commits into from
Nov 29, 2021
Merged

feat(i18n): Update engine settings i18n #4935

merged 7 commits into from
Nov 29, 2021

Conversation

rzats
Copy link
Member

@rzats rzats commented Oct 30, 2021

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!

@rzats rzats added the Topic: UI/UX Requests, Issues and Changes related to screens, artwork, sound and overall user experience label Oct 30, 2021
@Cervator
Copy link
Member

@rzats ! Now that's a name it is nice to see again. Welcome back 👋

@rzats
Copy link
Member Author

rzats commented Nov 2, 2021

Thanks @Cervator! (I still do a little lurking on Discord every now and then 👀)

Copy link
Contributor

@DarkWeird DarkWeird left a 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",
Copy link
Contributor

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

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

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!

@DarkWeird DarkWeird merged commit bda5145 into MovingBlocks:develop Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Topic: UI/UX Requests, Issues and Changes related to screens, artwork, sound and overall user experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants