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

Update string extraction script and fix computer translation #39405

Merged

Conversation

Qrox
Copy link
Contributor

@Qrox Qrox commented Apr 9, 2020

Summary

SUMMARY: I18N "Fix translation of martial art initate message and computer translation"

Purpose of change

Extract martial art initiate message and fix translation of computer strings. Fixes #39290.

Describe the solution

Added missing json object types to the extraction script, suppressed an error when mutation definition copies from another definition and does not specify the name, and extracted martial art initate message.

Also, It now reads computer mapgen strings using translation.

Testing

Ran lang/update_pot.sh and martial art initiate messages were correctly extracted. Computer strings were also correctly translated.

Additional context

Maybe we should backport it to 0.E after the new strings are translated.

@Qrox Qrox changed the title Extract martial art initiate message and other updates to the extraction script Update string extraction script and fix computer translation Apr 9, 2020
@ZhilkinSerg ZhilkinSerg added <Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` [Python] Code made in Python Translation I18n labels Apr 9, 2020
@ZhilkinSerg ZhilkinSerg merged commit ab6c686 into CleverRaven:master Apr 9, 2020
@Qrox Qrox deleted the update-string-extraction-script branch April 9, 2020 16:08
@Qrox Qrox mentioned this pull request Jun 15, 2020
kevingranade pushed a commit that referenced this pull request Jun 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` [Python] Code made in Python Translation I18n
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Some sentences are not translated
2 participants