1set_textdomain("tribes_encyclopedia") 2 3include "scripting/richtext.lua" 4include "txts/help/common_helptexts.lua" 5 6local toggle_minimap_hotkey = help_toggle_minimap_hotkey() 7local toggle_building_spaces_hotkey = help_toggle_building_spaces_hotkey() 8local toggle_fullscreen_hotkey = help_toggle_fullscreen_hotkey() 9 10set_textdomain("tribes_encyclopedia") 11 12return { 13 title = _"Controls", 14 text = 15 h2(_"Window Control") .. 16 p( 17 -- TRANSLATORS: This is an access key combination. Localize, but do not change the key. 18 dl(help_format_hotkey(pgettext("hotkey", "Right-click")), _"Close window") .. 19 -- TRANSLATORS: This is an access key combination. Localize, but do not change the key. 20 dl(help_format_hotkey(pgettext("hotkey", "Middle-click or Ctrl + Left-click")), _"Minimize/Maximize window") .. 21 -- TRANSLATORS: This is an access key combination. Localize, but do not change the key. 22 dl(help_format_hotkey(pgettext("hotkey", "Ctrl + Left-click on Button")), _"Skip confirmation dialog")) .. 23 24 h2(_"Table Control") .. 25 h3(_"In tables that allow the selection of multiple entries, the following key combinations are available:") .. 26 p( 27 -- TRANSLATORS: This is an access key combination. Localize, but do not change the key. 28 dl(help_format_hotkey(pgettext("hotkey", "Ctrl + Click")), pgettext("table_control", "Select multiple entries")) .. 29 -- TRANSLATORS: This is an access key combination. Localize, but do not change the key. 30 dl(help_format_hotkey(pgettext("hotkey", "Shift + Click")), pgettext("table_control", "Select a range of entries")) .. 31 -- TRANSLATORS: This is an access key combination. Localize, but do not change the key. 32 dl(help_format_hotkey(pgettext("hotkey", "Ctrl + A")), pgettext("table_control", "Select all entries"))) .. 33 34 h2(_"Road Control") .. 35 p( 36 -- TRANSLATORS: This is an access key combination. Localize, but do not change the key. 37 dl(help_format_hotkey(pgettext("hotkey", "Ctrl + Left-click")), _"While connecting two flags: Place flags automatically") .. 38 -- TRANSLATORS: This is an access key combination. Localize, but do not change the key. 39 dl(help_format_hotkey(pgettext("hotkey", "Ctrl + Left-click")), _"While removing a flag: Remove all flags up to the first junction")) .. 40 41 h2(_"Keyboard Shortcuts") .. 42 p( 43 -- TRANSLATORS: This is an access key combination. Localize, but do not change the key. 44 dl(help_format_hotkey(pgettext("hotkey", "Page Up")), _"Increase game speed") .. 45 -- TRANSLATORS: This is an access key combination. Localize, but do not change the key. 46 dl(help_format_hotkey(pgettext("hotkey", "Page Down")), _"Decrease game speed") .. 47 -- TRANSLATORS: This is an access key combination. Localize, but do not change the key. 48 dl(help_format_hotkey(pgettext("hotkey", "Ctrl + Page Up")), _"Increase game speed by 10x") .. 49 -- TRANSLATORS: This is an access key combination. Localize, but do not change the key. 50 dl(help_format_hotkey(pgettext("hotkey", "Ctrl + Page Down")), _"Decrease game speed by 10x") .. 51 -- TRANSLATORS: This is an access key combination. Localize, but do not change the key. 52 dl(help_format_hotkey(pgettext("hotkey", "Shift + Page Up")), _"Increase game speed by 0.25x") .. 53 -- TRANSLATORS: This is an access key combination. Localize, but do not change the key. 54 dl(help_format_hotkey(pgettext("hotkey", "Shift + Page Down")), _"Decrease game speed by 0.25x") .. 55 -- TRANSLATORS: This is an access key combination. Localize, but do not change the key. 56 dl(help_format_hotkey(pgettext("hotkey", "Pause")), _"Pause the game") .. 57 -- TRANSLATORS: This is an access key combination. The hotkey is 'c' 58 dl(help_format_hotkey("C"), _"Toggle census") .. 59 -- TRANSLATORS: This is an access key combination. The hotkey is 's' 60 dl(help_format_hotkey("S"), _"Toggle statistics") .. 61 -- TRANSLATORS: This is an access key combination. The hotkey is 'l' 62 dl(help_format_hotkey("L"), _"Toggle soldier health bars and level icons") .. 63 toggle_minimap_hotkey .. 64 toggle_building_spaces_hotkey .. 65 -- TRANSLATORS: This is an access key combination. The hotkey is 'o' 66 dl(help_format_hotkey("O"), _"Toggle objectives") .. 67 -- TRANSLATORS: This is an access key combination. The hotkey is 'n' 68 dl(help_format_hotkey("N"), _"Toggle messages (‘news’)") .. 69 -- TRANSLATORS: This is an access key combination. 70 dl(help_format_hotkey("F1"), _"Tribal Encyclopedia") .. 71 -- TRANSLATORS: This is an access key combination. The hotkey is 'i' 72 dl(help_format_hotkey("I"), _"Toggle stock inventory") .. 73 -- TRANSLATORS: This is an access key combination. The hotkey is 'b' 74 dl(help_format_hotkey("B"), _"Toggle building statistics") .. 75 -- TRANSLATORS: This is an access key combination. The hotkey is 'e' 76 dl(help_format_hotkey("E"), _"Toggle seafaring statistics") .. 77 -- TRANSLATORS: This is an access key combination. Localize, but do not change the key. 78 dl(help_format_hotkey(pgettext("hotkey", "Arrow keys")), _"Move the map") .. 79 -- TRANSLATORS: This is an access key combination. Localize, but do not change the key. 80 dl(help_format_hotkey(pgettext("hotkey", "Ctrl + Arrow keys")), _"Move the map fast") .. 81 -- TRANSLATORS: This is an access key combination. Localize, but do not change the key. 82 dl(help_format_hotkey(pgettext("hotkey", "Shift + Arrow keys")), _"Move the map slowly") .. 83 -- TRANSLATORS: This is an access key combination. Localize, but do not change the key. 84 dl(help_format_hotkey(pgettext("hotkey", "Home")), _"Center main mapview on starting location") .. 85 -- TRANSLATORS: This is an access key combination. Localize, but do not change the key. 86 dl(help_format_hotkey(pgettext("hotkey", "Ctrl + 1-9")), _"Remember current location") .. 87 dl(help_format_hotkey(pgettext("hotkey", "1-9")), _"Go to previously remembered location") .. 88 -- TRANSLATORS: This is an access key combination. Localize, but do not change the key. 89 dl(help_format_hotkey(pgettext("hotkey", ", (comma)")), _"Go to previous location") .. 90 -- TRANSLATORS: This is an access key combination. Localize, but do not change the key. 91 dl(help_format_hotkey(pgettext("hotkey", ". (period)")), _"Go to next location") .. 92 -- TRANSLATORS: This is an access key combination. Localize, but do not change the key. 93 dl(help_format_hotkey(pgettext("hotkey", "Ctrl + +")), _"Increase zoom") .. 94 -- TRANSLATORS: This is an access key combination. Localize, but do not change the key. 95 dl(help_format_hotkey(pgettext("hotkey", "Ctrl + -")), _"Decrease zoom") .. 96 -- TRANSLATORS: This is an access key combination. Localize, but do not change the key. 97 dl(help_format_hotkey(pgettext("hotkey", "Ctrl + 0")), _"Reset zoom") .. 98 -- TRANSLATORS: This is an access key combination. Localize, but do not change the key. 99 dl(help_format_hotkey(pgettext("hotkey", "Ctrl + F11")), _"Take a screenshot") .. 100 toggle_fullscreen_hotkey .. 101 -- TRANSLATORS: This is an access key combination. 102 dl(help_format_hotkey(pgettext("hotkey", "F6")), _"Show the debug console (only in debug-builds)") 103 ) .. 104 105 -- TRANSLATORS: Heading in "Controls" help 106 h2(_"Message Window") .. 107 p( 108 -- TRANSLATORS: This is the helptext for an access key combination. 109 dl(help_format_hotkey(pgettext("hotkey", "Alt + 0")), _"Show all messages") .. 110 -- TRANSLATORS: This is the helptext for an access key combination. 111 dl(help_format_hotkey(pgettext("hotkey", "Alt + 1")), _"Show geologists’ messages only") .. 112 -- TRANSLATORS: This is the helptext for an access key combination. 113 dl(help_format_hotkey(pgettext("hotkey", "Alt + 2")), _"Show economy messages only") .. 114 -- TRANSLATORS: This is the helptext for an access key combination. 115 dl(help_format_hotkey(pgettext("hotkey", "Alt + 3")), _"Show seafaring messages only") .. 116 -- TRANSLATORS: This is the helptext for an access key combination. 117 dl(help_format_hotkey(pgettext("hotkey", "Alt + 4")), _"Show warfare messages only") .. 118 -- TRANSLATORS: This is the helptext for an access key combination. 119 dl(help_format_hotkey(pgettext("hotkey", "Alt + 5")), _"Show scenario messages only") .. 120 -- TRANSLATORS: This is the helptext for an access key combination. 121 dl(help_format_hotkey("G"), _"Jump to the location corresponding to the current message") .. 122 -- TRANSLATORS: This is an access key combination. Localize, but do not change the key. 123 dl(help_format_hotkey(pgettext("hotkey", "Delete")), _"Archive/Restore the current message") 124 ) .. 125 126 -- TRANSLATORS: Heading in "Controls" help 127 h2(_"Ship Statistics") .. 128 p( 129 -- TRANSLATORS: This is the helptext for an access key combination. 130 dl(help_format_hotkey(pgettext("hotkey", "Alt + 0")), _"Show all ships") .. 131 -- TRANSLATORS: This is the helptext for an access key combination. 132 dl(help_format_hotkey(pgettext("hotkey", "Alt + 1")), _"Show idle ships") .. 133 -- TRANSLATORS: This is the helptext for an access key combination. 134 dl(help_format_hotkey(pgettext("hotkey", "Alt + 2")), _"Show ships shipping wares and workers") .. 135 -- TRANSLATORS: This is the helptext for an access key combination. 136 dl(help_format_hotkey(pgettext("hotkey", "Alt + 3")), _"Show waiting expeditions") .. 137 -- TRANSLATORS: This is the helptext for an access key combination. 138 dl(help_format_hotkey(pgettext("hotkey", "Alt + 4")), _"Show scouting expeditions") .. 139 -- TRANSLATORS: This is the helptext for an access key combination. 140 dl(help_format_hotkey(pgettext("hotkey", "Alt + 5")), _"Show expeditions that have found a port space or are founding a colony") .. 141 -- TRANSLATORS: This is the helptext for an access key combination. 142 dl(help_format_hotkey("G"), _"Center the map on the selected ship") .. 143 -- TRANSLATORS: This is the helptext for an access key combination. 144 dl(help_format_hotkey("O"), _"Open the selected ship’s window") .. 145 -- TRANSLATORS: This is the helptext for an access key combination. 146 dl(help_format_hotkey("CTRL + O"), _"Go to the selected ship and open its window") .. 147 -- TRANSLATORS: This is the helptext for an access key combination. 148 dl(help_format_hotkey("W"), _"Watch the selected ship") 149 ) 150} 151