Translations: Documentation of new desc.txt escapes
authorWuzzy
Sat, 19 Nov 2016 23:57:22 +0000
changeset 921 8fab0a7c8164
parent 920 657f3042209d
child 922 6d9246385399
Translations: Documentation of new desc.txt escapes
Translations.wiki
--- a/Translations.wiki	Sat Nov 19 22:21:47 2016 +0000
+++ b/Translations.wiki	Sat Nov 19 23:57:22 2016 +0000
@@ -60,7 +60,12 @@
 
  * `/share/hedgewars/Data/Maps/<map name>/desc.txt`
 
-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.
+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:
+
+|| *Written text* || *Is replaced by* ||
+|| `_n` || New line ||
+|| `_c` || Comma ||
+|| `__` || Underscore ||
 
 == Updating an existing translation ==