Translations.wiki
changeset 1589 109973baaf21
parent 1588 a864d2778694
child 1590 2ef11bd6751d
equal deleted inserted replaced
1588:a864d2778694 1589:109973baaf21
    80 See `en.txt` for the English original texts. Note that some of the numbers may be missing in your file, so you need to add them on your own.
    80 See `en.txt` for the English original texts. Note that some of the numbers may be missing in your file, so you need to add them on your own.
    81 
    81 
    82 The group `02` is special because texts can be repeated here. These texts are used for event messages like the death of a hedgehog (`02:00`). Hedgewars will randomly use any of these messages in the same group. Each language can have its own set of messages for this. Translations can be rather flexible here.
    82 The group `02` is special because texts can be repeated here. These texts are used for event messages like the death of a hedgehog (`02:00`). Hedgewars will randomly use any of these messages in the same group. Each language can have its own set of messages for this. Translations can be rather flexible here.
    83 In `02`, you don't need to translate every English message, but try to do your best. It is OK to omit messages if a direct translation wouldn't make sense (e.g. for weird English idioms). You can also invent your messages which are more appropriate for your language. If you're in a hurry, you can just add single a single message for each of the `02` groups (`02:00`, `02:01`, `02:02`, etc.), but don't forget to finish it later.
    83 In `02`, you don't need to translate every English message, but try to do your best. It is OK to omit messages if a direct translation wouldn't make sense (e.g. for weird English idioms). You can also invent your messages which are more appropriate for your language. If you're in a hurry, you can just add single a single message for each of the `02` groups (`02:00`, `02:01`, `02:02`, etc.), but don't forget to finish it later.
    84 
    84 
    85 In the `04` and `05` groups, you can use two special characters:
    85 In the `04` and `05` groups, you can use a couple of special characters:
    86 The `|` character is used as a line break.
    86 
    87 Also, for each line, all text written before a colon (`:`) including the colon itself will be highlighted.
    87  * `|`: Adds a line break
       
    88  * `:`: Highlight itself and all text before that chracter in this line. Only the first colon in a line counts. The colon is visible. If the colon is the final character in a line, it must be followed by a space for highlighting to work
       
    89  * `::`: Like above, except the two colons will be hidden.
       
    90  * `\:`: Literal “:” (escape sequence)
       
    91  * `\|`: Literal “|” (escape sequence)
    88 
    92 
    89 Don't forget to test these texts in-game to make sure everything looks fine.
    93 Don't forget to test these texts in-game to make sure everything looks fine.
    90 
    94 
    91 ==== `.lua` files ====
    95 ==== `.lua` files ====
    92 In a `.lua` file you will find many lines like this:
    96 In a `.lua` file you will find many lines like this: