aboutsummaryrefslogtreecommitdiffhomepage
path: root/TODO
blob: e3d47d00816c88bc3248b627463f8c60b1aa4e05 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Before private release:
— Commemorative mintages
— Translations UI
— Handle translations of plurals
— Write page on shop hunting
— Switch to gettext?
— Add a book theme
— Add the news section
— Add all missing mintages
— Add missing coin varieties
— Add missing coin design pages
— Add missing banknote design pages
— Add test notes page

Before public release:
— 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