「view this page in B3 βῆτα server」

Revisions №94

branch: interactive/develop 「№94」
Commited by: Rocco Moretti
GitHub commit link: 「2c0bb779b885ba8c」 「№4643」
Difference from previous tested commit:  code diff
Commit date: 2020-04-13 18:38:36

Merge pull request #4643 from RosettaCommons/roccomoretti/interactive_translate_log Foldit: Log untranslated messages The list of messages to translate in the Foldit-provided template is woefully out of date. Furthermore, it's a little impractical to require us to keep updating it as we add and change wording. So let's crowd-source it! This PR adds a change to the translation machinery such that when the translation machinery is passed a message that the currently loaded translation file is unaware of, that message will be logged. That way people looking for an up-to-date list of translations strings can simply look at their working directory. This feature is not enabled by default. It's only active if the translation machinery is loaded, and only if the player has explicitly added a "log_untranslated" : "1" line to their options.txt file. It also won't capture any messages in the code which are displayed to the players without passing through the translation machinery. The messages which are logged will be appended to the file untranslated_messages.<LANG_CODE>.log in the working directory. (in a pseudo gettext format). RELEASE NOTES: Translators: A new feature has been added which will log messages which could be translated but aren't currently present in the active language pack to the file "untranslated_messages.<LANG_CODE>.log" in the working directory. Add the line "log_untranslated" : "1" to your options.txt file to enable.

...