training site messages not translated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Training site messages like "upgrading soldier evade from level 0 to level 1" shown when hover on that site cannot be translated. Corresponding messages for production sites can be translated as expected.
Widelands version: bzr8668
Platform: Debian testing
In the beginning of constructor of TrainingSiteDescr class (src/logic/
: ProductionSiteD
If I modify the second argument like this:
: ProductionSiteD
the training site messages are translated as expected.
Related branches
- Notabilis: Approve
-
Diff: 84 lines (+14/-4)4 files modifiedsrc/logic/map_objects/tribes/productionsite.cc (+9/-2)
src/logic/map_objects/tribes/trainingsite.cc (+2/-1)
src/logic/map_objects/tribes/trainingsite.h (+1/-0)
src/logic/map_objects/tribes/tribes.cc (+2/-1)
description: | updated |
Changed in widelands: | |
status: | In Progress → Fix Committed |
assignee: | GunChleoc (gunchleoc) → nobody |
Thanks for the fix! I'll create a branch :)