43 |
43 |
44 == Translation files == |
44 == Translation files == |
45 Here is a list of the different localization files of the English language that you should use as your translation reference/template as it should be the most accurate and up to date. The file locations are relative to the top directory of the Hedgewars source code. You can edit all these files with a text editor, but for some files special editors are available. |
45 Here is a list of the different localization files of the English language that you should use as your translation reference/template as it should be the most accurate and up to date. The file locations are relative to the top directory of the Hedgewars source code. You can edit all these files with a text editor, but for some files special editors are available. |
46 |
46 |
47 === Overview === |
47 === Overview === |
48 These are all files which contain translatable text. Replace “ZZ” with the actual language code. |
48 These are all files which contain translatable text for Hedgewars. Replace “ZZ” with the actual language code. |
49 |
|
50 * `/share/hedgewars/Data/Locale/ZZ.txt`—In-game strings |
49 * `/share/hedgewars/Data/Locale/ZZ.txt`—In-game strings |
51 * `/share/hedgewars/Data/Locale/ZZ.lua`—Scripted stuff |
50 * `/share/hedgewars/Data/Locale/ZZ.lua`—Scripted stuff |
52 * `/share/hedgewars/Data/Locale/hedgewars_ZZ.ts`—Frontend |
51 * `/share/hedgewars/Data/Locale/hedgewars_ZZ.ts`—Frontend |
53 * `/share/hedgewars/Data/Locale/missions_ZZ.txt`—Mission names and descriptions |
52 * `/share/hedgewars/Data/Locale/missions_ZZ.txt`—Mission names and descriptions |
54 * `/share/hedgewars/Data/Locale/campaigns_ZZ.txt`—Campaign names and descriptions |
53 * `/share/hedgewars/Data/Locale/campaigns_ZZ.txt`—Campaign names and descriptions |
55 * `/share/hedgewars/Data/Locale/tips_ZZ.xml`—Main menu tips |
54 * `/share/hedgewars/Data/Locale/tips_ZZ.xml`—Main menu tips |
56 * `/share/hedgewars/Data/Maps/<map name>/desc.txt`—Mission map descriptions |
55 * `/share/hedgewars/Data/Maps/<map name>/desc.txt`—Mission map descriptions |
|
56 |
|
57 These files are not part of Hedgewars itself, but are used by other programs and websites to present Hedgewars: |
|
58 |
57 * `/share/hedgewars/Data/misc/hedgewars.desktop`—[https://wiki.freedesktop.org/www/Specifications/desktop-entry-spec/ Desktop Entry] file for Hedgewars |
59 * `/share/hedgewars/Data/misc/hedgewars.desktop`—[https://wiki.freedesktop.org/www/Specifications/desktop-entry-spec/ Desktop Entry] file for Hedgewars |
58 * `/share/hedgewars/Data/misc/hwengine.desktop`—*Do not translate!* |
60 * `/share/hedgewars/Data/misc/hwengine.desktop`—*Do not translate!* |
59 * `/share/hedgewars/Data/misc/hwengine.desktop.in`—Desktop Entry file for the engine |
61 * `/share/hedgewars/Data/misc/hwengine.desktop.in`—Desktop Entry file for the engine |
60 * `/share/hedgewars/Data/misc/hedgewars-mimeinfo.xml`—File type descriptions |
62 * `/share/hedgewars/Data/misc/hedgewars-mimeinfo.xml`—File type descriptions |
61 * `/share/hedgewars.appdata.xml`—AppData description |
63 * `/share/hedgewars.appdata.xml`—AppData description |