← Back to team overview

widelands-dev team mailing list archive

[Merge] lp:~widelands-dev/widelands/not-yet-implemented-rt-tags into lp:widelands


GunChleoc has proposed merging lp:~widelands-dev/widelands/not-yet-implemented-rt-tags into lp:widelands.

Commit message:
Fix richtext error in dummy scenario

Requested reviews:
  Widelands Developers (widelands-dev)

For more details, see:

After testing https://code.launchpad.net/~widelands-dev/widelands/fri03, I accidentally clicked on the dummy scenario in trunk and noticed the error in the message box.
Your team Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands/not-yet-implemented-rt-tags into lp:widelands.
=== modified file 'data/campaigns/dummy.wmf/scripting/init.lua'
--- data/campaigns/dummy.wmf/scripting/init.lua	2017-12-16 19:43:03 +0000
+++ data/campaigns/dummy.wmf/scripting/init.lua	2018-10-14 08:09:00 +0000
@@ -4,12 +4,13 @@
 include "scripting/messages.lua"
+include "scripting/richtext.lua"
 include "scripting/ui.lua"
 p1 = wl.Game().players[1]
 dummy_msg = {
-   title=_ "Not yet implemented",
-   body=_ "Sorry, this map is not yet implemented.",
+   title=_"Not yet implemented",
+   body=p(_"Sorry, this map is not yet implemented."),

Follow ups