← Back to team overview

widelands-dev team mailing list archive

[Merge] lp:~widelands-dev/widelands/bug1504952 into lp:widelands

 

Jens Beyer has proposed merging lp:~widelands-dev/widelands/bug1504952 into lp:widelands.

Requested reviews:
  Widelands Developers (widelands-dev)
Related bugs:
  Bug #1504952 in widelands: ""No use for ships on this map!" message is not translateable"
  https://bugs.launchpad.net/widelands/+bug/1504952

For more details, see:
https://code.launchpad.net/~widelands-dev/widelands/bug1504952/+merge/274080

Merge request since I don't know if simply adding _ macro is enough nowadays, and if it is necessary to do something else because of the new translation stuff :-)
-- 
Your team Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands/bug1504952 into lp:widelands.
=== modified file 'src/logic/production_program.cc'
--- src/logic/production_program.cc	2015-10-02 07:02:00 +0000
+++ src/logic/production_program.cc	2015-10-11 15:12:05 +0000
@@ -814,7 +814,7 @@
 			if (game.map().allows_seafaring())
 				return ps.program_step(game, 0);
 			else {
-				ps.set_production_result("No use for ships on this map!");
+				ps.set_production_result(_"No use for ships on this map!");
 				return ps.program_end(game, None);
 			}
 		}


Follow ups