Translations.wiki
changeset 921 8fab0a7c8164
parent 906 9879d6e10202
child 922 6d9246385399
equal deleted inserted replaced
920:657f3042209d 921:8fab0a7c8164
    58 
    58 
    59 The map selection shows brief descriptions for mission maps. Those can be translated and you find those texts in:
    59 The map selection shows brief descriptions for mission maps. Those can be translated and you find those texts in:
    60 
    60 
    61  * `/share/hedgewars/Data/Maps/<map name>/desc.txt`
    61  * `/share/hedgewars/Data/Maps/<map name>/desc.txt`
    62 
    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.
    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). Since version 0.9.23, you must use the following special character sequences for new lines, commas and underscores:
       
    64 
       
    65 || *Written text* || *Is replaced by* ||
       
    66 || `_n` || New line ||
       
    67 || `_c` || Comma ||
       
    68 || `__` || Underscore ||
    64 
    69 
    65 == Updating an existing translation ==
    70 == Updating an existing translation ==
    66 
    71 
    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.
    72 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.
    68 
    73