X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=List-of-translation-placeholders.md;h=bd8e49f978479d26633554bce8719899f817c04b;hb=b0255cc7cf21d6519b678d33a9511075b5072eaa;hp=d1d5509dd98ddd8f78cc1487ce55fbaeb59be07c;hpb=dfc773668254b2ad1c68c52fe4de5684ebcd0473;p=xonotic%2Fxonotic.wiki.git diff --git a/List-of-translation-placeholders.md b/List-of-translation-placeholders.md index d1d5509..bd8e49f 100644 --- a/List-of-translation-placeholders.md +++ b/List-of-translation-placeholders.md @@ -4,9 +4,10 @@ Variables and placeholders are codes that will be replaced with something else i | ------ | ------ | | `\n` | New line | | `^TT` | Team color name (e.g. "Red"). Will be replaced with one of the strings that has the `TEAM^`, `KEY^`, `GENERATOR^` or `FLAG^` prefix | -| `^COUNT` | A number, usually with an unit (e.g. "5 seconds") | +| `^COUNT` | Countdown number, usually with a unit (e.g. "5 seconds") | | `%s` | Arbitrary text | | `%d` | Whole number | +| `%f` | Floating-point number | | `%.*f` | Floating-point number | | `%.1f` | Floating-point number (1 decimal place) | | `%.2f` | Floating-point number (2 decimal places) | \ No newline at end of file