As noted by fabio in #4931, the trigger difficulty selection dropdown does not appears with language other than english. This is because the test to check if a level is supported by the map is done on Name which has been translated before. That patch also add a level Ident which is not translated and used for tests.
Details
Details
- Reviewers
- None
- Commits
- rP20790: Fix trigger difficulty level (rP20760) for translation
- Trac Tickets
- #4931
check that the panel now works in any language when adding
"SupportedTriggerDifficulties": { "Values": ["Easy", "Medium", "Hard"], "Default": "Medium" }
in the map json file
Diff Detail
Diff Detail
- Repository
- rP 0 A.D. Public Repository
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
Might be less ambiguous to use Title for the label (like biomes.json, so only -1 +1 line in messages.json to accomplish that), and Name for the identification.
Other than that ok for me if it works.
Comment Actions
Successful build - Chance fights ever on the side of the prudent.
Updating workspaces... Build (release)... Build (debug)... Running release tests... Running cxxtest tests (308 tests)....................................................................................................................................................................................................................................................................................................................OK! Running debug tests... Running cxxtest tests (308 tests)....................................................................................................................................................................................................................................................................................................................OK! Checking XML files...