From dfc773668254b2ad1c68c52fe4de5684ebcd0473 Mon Sep 17 00:00:00 2001 From: SpiKe Date: Sun, 6 Oct 2019 09:11:28 +0000 Subject: [PATCH] Create List of translation placeholders --- List-of-translation-placeholders.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 List-of-translation-placeholders.md diff --git a/List-of-translation-placeholders.md b/List-of-translation-placeholders.md new file mode 100644 index 0000000..d1d5509 --- /dev/null +++ b/List-of-translation-placeholders.md @@ -0,0 +1,12 @@ +Variables and placeholders are codes that will be replaced with something else in the final text. + +| Code | Replaced with | +| ------ | ------ | +| `\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") | +| `%s` | Arbitrary text | +| `%d` | Whole 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 -- 2.39.2