When loading a savegame, the original map name is shown instead of the translated one
Bug #657404 reported by
Hans Joachim Desserud
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Low
|
Unassigned |
Bug Description
Go to Single player->Load game.
Pick a game in the list and observe the map name associated with the save game.
Even when options is set to use another language than English, and the map name has been translated, the map name listed will be the original map name.
I am not sure why the map name is not translated here, since it shows the translated name fine in the list of available maps when starting a new game.
Widelands bzr rev 5563 on Ubuntu 10.04.
Related branches
lp:~qcumber-some/widelands/bugfix-657404
- Widelands Developers: Pending requested
-
Diff: 20 lines (+9/-1)1 file modifiedsrc/ui_fsmenu/loadgame.cc (+9/-1)
Changed in widelands: | |
assignee: | nobody → Jens Beyer (Qcumber-some) (qcumber-some) |
status: | Confirmed → In Progress |
Changed in widelands: | |
status: | In Progress → Fix Committed |
assignee: | Jens Beyer (Qcumber-some) (qcumber-some) → nobody |
milestone: | none → build17-rc1 |
To post a comment you must log in.
The problem is that the default english name is saved into the savegame. The easiest fix is to simply try to translate the map name in the maps text domain. If the map name is not from an offical map this will silently fail.