~widelands-dev/widelands/split_up_liblogic_1_libraries

« back to all changes in this revision

Viewing changes to data/scripting/editor/tips.lua

Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
include "scripting/formatting.lua"
 
1
include "scripting/richtext.lua"
2
2
 
3
3
function get_editor_tips()
4
4
   include "txts/tips/editor.lua"
5
5
   return tips
6
6
end
7
7
 
8
 
local text = paragraphdivider()
 
8
local text = ""
9
9
for index, contents in pairs(get_editor_tips()) do
10
 
   text = text .. listitem_bullet(contents["text"])
 
10
   text = text .. li(contents["text"])
11
11
end
12
 
text = text .. "</p>"
13
12
 
14
13
set_textdomain("widelands_editor")
15
14
return {
16
15
  title = _"Tips",
17
 
  text = rt(text)
 
16
  text = text
18
17
}