widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #15039
[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:
https://code.launchpad.net/~widelands-dev/widelands/not-yet-implemented-rt-tags/+merge/356680
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 @@
set_textdomain("scenario_dummy.wmf")
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."),
width=500,
height=450,
posy=1,
Follow ups