Merge lp:~hjd/widelands/ware-data into lp:widelands

Proposed by Hans Joachim Desserud
Status: Merged
Merged at revision: 5922
Proposed branch: lp:~hjd/widelands/ware-data
Merge into: lp:widelands
Diff against target: 24 lines (+2/-2)
2 files modified
src/map_io/widelands_map_loader.cc (+1/-1)
src/map_io/widelands_map_waredata_data_packet.cc (+1/-1)
To merge this branch: bzr merge lp:~hjd/widelands/ware-data
Reviewer Review Type Date Requested Status
Nasenbaer Approve
Review via email: mp+63462@code.launchpad.net

Description of the change

The two strings
https://translations.launchpad.net/widelands/trunk/+pots/widelands/nb/418/+translate and
https://translations.launchpad.net/widelands/trunk/+pots/widelands/nb/420/+translate are basically the same, except for a space. I don't really see the use for having two different versions of what is really the same message, so I changed the one without a space to be identical.

Updated another message mentioning ware data at the same time.

To post a comment you must log in.
Revision history for this message
SirVer (sirver) wrote :

those are error messages. I do not think they should be translated at all. Eg. a turkish user that would open a bug report with the translation of the error would not help me in any way to fix the problem.

Revision history for this message
Nasenbaer (nasenbaer) wrote :

I partly disagree with SirVer in this case - the log(.......) stuff should of course not be translated (and it is not at the moment), but the game data error should be translated, as in nearly all cases this bug is triggered through user modified data - that's why the game data error was introduced, to directly show, that widelands is running as it should, but just some game data is somehow messed up.

Anyway: the first part of the fix is wrong because it really ist "waredata data" - just take a look one line below - the package that is about to be read is waredata_data.

The second part is fine for me.

review: Needs Fixing
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Nasenbaer: Ok, I just thought it sounded a bit redundant. I am not sure if it is possible to merge only one of the commits, but if it isn't I can revert it some time.

Revision history for this message
Nasenbaer (nasenbaer) wrote :

i do not know either, but I just merged it manually and committed it, so ... :)

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/map_io/widelands_map_loader.cc'
2--- src/map_io/widelands_map_loader.cc 2010-11-01 22:05:56 +0000
3+++ src/map_io/widelands_map_loader.cc 2011-06-04 15:34:36 +0000
4@@ -258,7 +258,7 @@
5 log("done!\n ");
6
7 if (have_oldwares) {
8- log("Reading Waredata Data ... ");
9+ log("Reading Ware Data ... ");
10 {Map_Waredata_Data_Packet p; p.Read(m_fs, egbase, !scenario, *m_mol);}
11 log("done!\n ");
12 }
13
14=== modified file 'src/map_io/widelands_map_waredata_data_packet.cc'
15--- src/map_io/widelands_map_waredata_data_packet.cc 2010-11-07 15:36:29 +0000
16+++ src/map_io/widelands_map_waredata_data_packet.cc 2011-06-04 15:34:36 +0000
17@@ -205,7 +205,7 @@
18 throw game_data_error
19 (_("unknown/unhandled version %u"), packet_version);
20 } catch (_wexception const & e) {
21- throw game_data_error(_("waredata: %s"), e.what());
22+ throw game_data_error(_("ware data: %s"), e.what());
23 }
24 }
25

Subscribers

People subscribed via source and target branches

to status/vote changes: