54 ==== Mission map descriptions ==== |
54 ==== Mission map descriptions ==== |
55 The map selection shows brief descriptions for mission maps below the preview image. Those can be translated and you find those texts in: |
55 The map selection shows brief descriptions for mission maps below the preview image. Those can be translated and you find those texts in: |
56 |
56 |
57 * `/share/hedgewars/Data/Maps/<map name>/desc.txt` |
57 * `/share/hedgewars/Data/Maps/<map name>/desc.txt` |
58 |
58 |
59 Replace “`<map name`>” with the name of any mission map. To translate these, add a line of the format `language code=description` (e.g. “en=This is an example.” for English). Since version 0.9.23, you must use the following special character sequences for new lines, commas and underscores: |
59 Replace “`<map name`>” with the name of any mission map. You see a list of mission maps if you select the map type “mission map” when preparing a game. |
|
60 |
|
61 To translate these, add a line of the format `language code=description` (e.g. “en=This is an example.” for English). Since version 0.9.23, you must use the following special character sequences for new lines, commas and underscores: |
60 |
62 |
61 || *Written text* || *Is replaced by* || |
63 || *Written text* || *Is replaced by* || |
62 || `_n` || New line || |
64 || `_n` || New line || |
63 || `_c` || Comma || |
65 || `_c` || Comma || |
64 || `__` || Underscore || |
66 || `__` || Underscore || |
65 |
|
66 Mission maps are saved like all image maps in `/share/hedgewars/Data/Maps/`. You see a list of mission maps if you select the map type “mission map” when preparing a game. |
|
67 |
67 |
68 === Metadata === |
68 === Metadata === |
69 The following files are not used by Hedgewars itself, but they contain translatable metadata about Hedgewars: |
69 The following files are not used by Hedgewars itself, but they contain translatable metadata about Hedgewars: |
70 |
70 |
71 * `/share/hedgewars/Data/misc/hedgewars.desktop`—[https://wiki.freedesktop.org/www/Specifications/desktop-entry-spec/ Desktop Entry] file for the Hedgewars application |
71 * `/share/hedgewars/Data/misc/hedgewars.desktop`—[https://wiki.freedesktop.org/www/Specifications/desktop-entry-spec/ Desktop Entry] file for the Hedgewars application |