~widelands-dev/widelands/trunk

7877.1.10 by fios at foramnagaidhlig
Some more redesign.
1
include "txts/help/common_helptexts.lua"
6757 by Holger Rapp
One-to-One conversion of the README to a lua structured file. Most work for the conversion was done by hjd.
2
9387 by The Widelands Bunnybot
Stack lua textdomains in C++ (#4006)
3
push_textdomain("texts")
10525 by The Widelands Bunnybot
Make richtext.lua styleable and allow partial theme addons (#5748)
4
set_fs_style(true)
6757 by Holger Rapp
One-to-One conversion of the README to a lua structured file. Most work for the conversion was done by hjd.
5
9387 by The Widelands Bunnybot
Stack lua textdomains in C++ (#4006)
6
local r = {
10525 by The Widelands Bunnybot
Make richtext.lua styleable and allow partial theme addons (#5748)
7
   rt(
8
      title("Widelands/Widelands.ttf", img("images/logos/wl-ico-32.png") .. " Widelands") ..
9
      subtitle(_("an open source strategy game")) ..
8525.4.12 by GunChleoc
Converted About screens to new font renderer.
10
      help_introduction() ..
10525 by The Widelands Bunnybot
Make richtext.lua styleable and allow partial theme addons (#5748)
11
      p(vspace()) .. inline_header(_("Check out the Widelands project homepage:"), a("widelands.org", "url", "https://www.widelands.org")) .. p(vspace()) ..
10152 by The Widelands Bunnybot
Add check for missing copyright headers (#5223)
12
      p(_("Widelands is licensed under the GNU General Public License (GPL). For more information, see the file ‘COPYING’.")) ..
13
      h2(_("Status")) ..
14
      p(_("Widelands is nearly feature complete and is much fun to play alone and even more in multiplayer with others. Still, there is always more work to be done in all areas. If you are interested in contributing – be it by making graphics, fixing bugs or adding new features, translating the game into your language or creating new maps – get in touch on our homepage.")) ..
8525.4.12 by GunChleoc
Converted About screens to new font renderer.
15
10152 by The Widelands Bunnybot
Add check for missing copyright headers (#5223)
16
      h2(_("Widelands Help")) ..
8525.4.12 by GunChleoc
Converted About screens to new font renderer.
17
      -- TRANSLATORS: %1% is a key on the keyboard
10152 by The Widelands Bunnybot
Add check for missing copyright headers (#5223)
18
      p((_("You can find help about gameplay or the editor by using the help button on the bottom menu, or by pressing %1%."))
8525.4.12 by GunChleoc
Converted About screens to new font renderer.
19
         -- TRANSLATORS: This is a key on the keyboard
10152 by The Widelands Bunnybot
Add check for missing copyright headers (#5223)
20
         :bformat(_("F1"))) ..
8525.4.12 by GunChleoc
Converted About screens to new font renderer.
21
      help_online_help() ..
22
10152 by The Widelands Bunnybot
Add check for missing copyright headers (#5223)
23
      h2(_("Reporting Bugs")) ..
24
      p(_("If you encounter a bug, please report it to our bugtracker:")) ..
10410 by The Widelands Bunnybot
Encyclopedia Hyperlinks (#5533)
25
      p(a("widelands.org/wiki/ReportingBugs", "url", "https://www.widelands.org/wiki/ReportingBugs")) ..
10152 by The Widelands Bunnybot
Add check for missing copyright headers (#5223)
26
      p(_("Please provide enough background information. Tell us:")) ..
8525.4.12 by GunChleoc
Converted About screens to new font renderer.
27
      p(
10152 by The Widelands Bunnybot
Add check for missing copyright headers (#5223)
28
          li(_("Detailed steps on how to trigger the bug, if possible.")) ..
29
          li(_("What you expected to happen when performing the steps and what actually happened.")) ..
30
          li(_("Which version of Widelands you are running (i.e. either the build number or the revision number if you are running a development version or a daily build.)")) ..
31
          li(_("Please also include which operating system you are running Widelands on as some bugs can be platform specific.")) ..
32
          li(_("Which map you were playing when the bug occurred.")) ..
33
          li(_("If the bug concerns something not being displayed correctly or if it helps demonstrate the issue, please include one or more screenshots.")) ..
34
          li(_("If you have a save game or replay demonstrating the issue (for instance crashes where it can be hard to tell exactly what is triggering it), please include that too. For more information, see the section on Replays below."))) ..
8525.4.12 by GunChleoc
Converted About screens to new font renderer.
35
      help_replays()
10525 by The Widelands Bunnybot
Make richtext.lua styleable and allow partial theme addons (#5748)
36
   )
7175.7.282 by Holger Rapp
Bring back newline at end of files for lua files and fix fix_lua_tabs.py.
37
}
10525 by The Widelands Bunnybot
Make richtext.lua styleable and allow partial theme addons (#5748)
38
39
set_fs_style(false)
9387 by The Widelands Bunnybot
Stack lua textdomains in C++ (#4006)
40
pop_textdomain()
41
return r