← Back to team overview

widelands-dev team mailing list archive

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

 

hessenfarmer has proposed merging lp:~widelands-dev/widelands/bug_1780486_translation_fix into lp:widelands.

Commit message:
missing textdomain set for "no space" message in place buildings in region function

Requested reviews:
  Widelands Developers (widelands-dev)
Related bugs:
  Bug #1780486 in widelands: ""No Space" message in infrastructure.lua is not translated"
  https://bugs.launchpad.net/widelands/+bug/1780486

For more details, see:
https://code.launchpad.net/~widelands-dev/widelands/bug_1780486_translation_fix/+merge/349208
-- 
Your team Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands/bug_1780486_translation_fix into lp:widelands.
=== modified file 'data/scripting/infrastructure.lua'
--- data/scripting/infrastructure.lua	2018-07-06 20:28:35 +0000
+++ data/scripting/infrastructure.lua	2018-07-09 19:27:21 +0000
@@ -147,6 +147,7 @@
 --    :returns: The building created
 
 function place_building_in_region(plr, building, fields, gargs)
+   set_textdomain("widelands")
    local idx
    local f
    local args = gargs or {}


Follow ups