Translations.wiki
changeset 1590 2ef11bd6751d
parent 1589 109973baaf21
child 1591 a2986bfc8764
equal deleted inserted replaced
1589:109973baaf21 1590:2ef11bd6751d
    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 a couple of special characters:
    85 In the `04` and `05` groups, you can use a couple of special characters:
    86 
    86 
    87  * `|`: Adds a line break
    87  * `|`: 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
    88  * `:`: Highlight itself and all text before that chracter in this line. The colon itself will be written.
    89  * `::`: Like above, except the two colons will be hidden.
    89  * `::`: Like above, except this one will not be written.
    90  * `\:`: Literal “:” (escape sequence)
    90  * `\:`: Will be replaced with “:” without triggering highlighting (escape sequence)
    91  * `\|`: Literal “|” (escape sequence)
    91  * `\|`: Will be replaced with “|” without triggering a line break (escape sequence)
    92 
    92 
    93 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.
    94 
    94 
    95 ==== `.lua` files ====
    95 ==== `.lua` files ====
    96 In a `.lua` file you will find many lines like this:
    96 In a `.lua` file you will find many lines like this: