equal
deleted
inserted
replaced
54 * `/share/hedgewars/Data/misc/hedgewars.desktop`—[https://wiki.freedesktop.org/www/Specifications/desktop-entry-spec/ Desktop Entry] file for the Hedgewars application |
54 * `/share/hedgewars/Data/misc/hedgewars.desktop`—[https://wiki.freedesktop.org/www/Specifications/desktop-entry-spec/ Desktop Entry] file for the Hedgewars application |
55 * `/share/hedgewars/Data/misc/hwengine.desktop.in`—Desktop Entry file for the Hedgewars engine for playing savegames and demos |
55 * `/share/hedgewars/Data/misc/hwengine.desktop.in`—Desktop Entry file for the Hedgewars engine for playing savegames and demos |
56 * `/share/hedgewars/Data/misc/hwengine.desktop`—*Do not translate*! This file will be automatically generated from `hwengine.desktop.in` when building Hedgewars |
56 * `/share/hedgewars/Data/misc/hwengine.desktop`—*Do not translate*! This file will be automatically generated from `hwengine.desktop.in` when building Hedgewars |
57 * `/share/hedgewars/Data/misc/hedgewars-mimeinfo.xml`—Description of Hedgewars file types |
57 * `/share/hedgewars/Data/misc/hedgewars-mimeinfo.xml`—Description of Hedgewars file types |
58 |
58 |
|
59 The map selection shows brief descriptions for mission maps. Those can be translated and you find those texts in: |
|
60 |
|
61 * `/share/hedgewars/Data/Maps/<map name>/desc.txt` |
|
62 |
|
63 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.) You must prepend commas with a backslash (so write “`\,` for a comma). The space for mission map descriptions is short, so make sure to test your translations in the menu. |
|
64 |
59 == Updating an existing translation == |
65 == Updating an existing translation == |
60 |
66 |
61 That is relatively easy. Just edit the existing file. You can edit every file with your favorite editor and the `.ts` file with Qt Linguist. |
67 That is relatively easy. Just edit the existing file. You can edit every file with your favorite editor and the `.ts` file with Qt Linguist. |
62 |
68 |
63 The `en.lua` file doesn’t exist. The strings are hard coded in the code. |
69 The `en.lua` file doesn’t exist. The strings are hard coded in the code. |