aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2025-07-23 19:57:57 +0200
committerThomas Voss <mail@thomasvoss.com> 2025-07-23 19:57:57 +0200
commit92e8197a51e176a9b4c91175aa7e14f86dfa5092 (patch)
tree051fabe88e70798953988b234e15070b5e7bb09f
parenteefb0bfd01c487f0f272d4b479799deadc231474 (diff)
Update TODO
-rw-r--r--TODO17
1 files changed, 16 insertions, 1 deletions
diff --git a/TODO b/TODO
index a49d604..e3d47d0 100644
--- a/TODO
+++ b/TODO
@@ -13,4 +13,19 @@ Before private release:
— Add test notes page
Before public release:
-— Get up-to-date CRH info \ No newline at end of file
+— Get up-to-date CRH info
+
+Notes for translation system:
+1. Fetch translation
+2. Apply variable substitutions
+ — Syntax is %(Name:flags)
+ — Flags are optional
+ — Flags are:
+ 1. ‘e’: [e]mail → <a href="mailto:mail@domain.eu">mail@domain.eu</a>
+ 2. ‘L’: [L]ink external → <a href="https://foo.com" target="_blank">
+ 3. ‘l’: [l]ink internal → <a href="https://foo.com">
+ 4. ‘m’: [m]onetary → €1.234,56
+ — Only show decimals if the arg is a float
+ 5. ‘r’: [r]aw: Put content in literally; no HTML escaping
+ 6. ‘E’: Link [E]nd → </a>
+3. HTML escape everything if we’re in the template wrappers \ No newline at end of file