When loading a savegame, the original map name is shown instead of the translated one

Bug #657404 reported by Hans Joachim Desserud
6
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

Revision history for this message
SirVer (sirver) wrote :

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.

Changed in widelands:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Small update: I just noticed that unlike regular maps, campaign maps are actually saved with the translated name. That is, the name the map has when you started it. For instance, if you switch to German and start a campaign map, the German name will be stored. For regular maps, the original map name will be stored.
For the record, in both cases, when switching to yet another language, the names are not shown in the new language.

Changed in widelands:
assignee: nobody → Jens Beyer (Qcumber-some) (qcumber-some)
status: Confirmed → In Progress
Revision history for this message
Jens Beyer (qcumber-some) wrote :

Regarding the campaign maps, Bug #946678 has been opened.

Changed in widelands:
status: In Progress → Fix Committed
assignee: Jens Beyer (Qcumber-some) (qcumber-some) → nobody
milestone: none → build17-rc1
Revision history for this message
SirVer (sirver) wrote :

Released in build17-rc1.

Changed in widelands:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.