From 1593a094e1e9cf3006a084883539533856e1b535 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Wed, 23 Jul 2025 20:01:32 +0200 Subject: Use a semi-in-house translation system --- src/templates/banknotes-codes.html.tmpl | 239 ++++++++++++++------------------ 1 file changed, 103 insertions(+), 136 deletions(-) (limited to 'src/templates/banknotes-codes.html.tmpl') diff --git a/src/templates/banknotes-codes.html.tmpl b/src/templates/banknotes-codes.html.tmpl index f7aea7f..5e4eb47 100644 --- a/src/templates/banknotes-codes.html.tmpl +++ b/src/templates/banknotes-codes.html.tmpl @@ -1,44 +1,25 @@ {{ define "content" }}
{{ template "navbar" . }} -

{{ .T "Location Codes" }}

+

{{ .Get "Location Codes" }}

- {{ .T ` - Euro banknotes have two codes on them: a printer code and a serial - number. The printer code tells you where a given note was printed, - while the serial number tells you which country issues the banknote - (for the 2002 series) or where the banknote was printed (for the - Europa series). - ` }} + {{ .Get "Euro banknotes have two codes on them: a printer code and a serial number. The printer code tells you where a given note was printed, while the serial number tells you which country issued the banknote (for the 2002 series) or where the banknote was printed (for the Europa series)." }}

-

{{ .T "Printer Code" }}

+

{{ .Get "Printer Code" }}

- {{ .T ` - The printer code (not to be confused with the serial number) is a - small code printed on banknotes with information about where the - banknote was printed. All printer codes take the form of ‘X000X0’ - — or in other words — a letter followed by 3 numbers, a letter - and a final number. - ` }} + {{ .Get "The printer code (not to be confused with the serial number) is a small code printed on banknotes with information about where the banknote was printed. All printer codes have the form ‘X000X0’ — or in other words — a letter followed by 3 numbers, a letter and a final number." }}

- {{ .T ` - The printer code can be a bit tricky to find. The following - dropdowns will show you where to find the printer code on each - note. - ` }} + {{ .Get "The printer code can be a bit tricky to find. The following dropdown menus will show you where to find the printer code on each note." }}

- {{ .T "2002 Series Printer Codes" }} + {{ .Get "2002 Series Printer Codes" }}

- {{ .T ` - All these images are taken from %seurobilltracker.com%s.` - `` - `` | safe - }} + {{ .Get "All these images are taken from %(Link:r)." + (map "Link" `eurobilltracker.com`) }}

{{ template "banknotes/codes/code-pos" (tuple .Printer 5 "2002") }} {{ template "banknotes/codes/code-pos" (tuple .Printer 10 "2002") }} @@ -49,7 +30,7 @@ {{ template "banknotes/codes/code-pos" (tuple .Printer 500 "2002") }}
- {{ .T "Europa Series Printer Codes" }} + {{ .Get "Europa Series Printer Codes" }} {{ template "banknotes/codes/code-pos" (tuple .Printer 5 "europa") }} {{ template "banknotes/codes/code-pos" (tuple .Printer 10 "europa") }} {{ template "banknotes/codes/code-pos" (tuple .Printer 20 "europa") }} @@ -59,281 +40,264 @@

- {{ .T ` - The first letter in the printer code identifies the specific - printer at which the banknote was printed. The tables below will - tell you which letters correspond to which printers. The final - letter and number form a pair (such as ‘A2’ or ‘D6’). This pair - acts as a set of coordinates telling you where on the sheet of - paper the banknote was located. During printing, banknotes will be - printed multiple times on a large sheet of paper which is later cut - into smaller individual banknotes. A note with the pair ‘A1’ will - have been at the upper-left corner of the printing sheet, with ‘A2’ - to it’s right and ‘B1’ below it. - ` }} + {{ .Get "The first letter in the printer code identifies the specific printer at which the banknote was printed. The tables below will tell you which letters correspond to which printers. The final letter and number form a pair (such as ‘A2’ or ‘D6’) — this pair acts as a set of coordinates telling you where on the sheet of paper the banknote was located. During printing, banknotes are printed in a grid on a large sheet of paper which is then cut into individual banknotes. A note with the pair ‘A1’ will have been at the upper-left corner of the printing sheet, with ‘A2’ to its right and ‘B1’ below it." }}

-

{{ .T "2002 Series" }}

+

{{ .Get "2002 Series" }}

- {{ .T ` - In the 2002 series, the first letter of the serial number can be - used to identify the country that issued the banknote. The - following table shows which countries map to which codes. - ` }} + {{ .Get "In the 2002 series, the first letter of the serial number can be used to identify the country that issued the banknote. The following table shows which countries map to which codes." }}

- - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
{{ .T "Code" }}{{ .T "Country" }}{{ .Get "Code" }}{{ .Get "Country" }}
D{{ .T "Estonia" }}{{ .Get "Estonia" }}
E{{ .T "Slovakia" }}{{ .Get "Slovakia" }}
F{{ .T "Malta" }}{{ .Get "Malta" }}
G{{ .T "Cyprus" }}{{ .Get "Cyprus" }}
H{{ .T "Slovenia" }}{{ .Get "Slovenia" }}
L{{ .T "Finland" }}{{ .Get "Finland" }}
M{{ .T "Portugal" }}{{ .Get "Portugal" }}
N{{ .T "Austria" }}{{ .Get "Austria" }}
P{{ .T "Netherlands" }}{{ .Get "Netherlands" }}
S{{ .T "Italy" }}{{ .Get "Italy" }}
T{{ .T "Ireland" }}{{ .Get "Ireland" }}
U{{ .T "France" }}{{ .Get "France" }}
V{{ .T "Spain" }}{{ .Get "Spain" }}
X{{ .T "Germany" }}{{ .Get "Germany" }}
Y{{ .T "Greece" }}{{ .Get "Greece" }}
Z{{ .T "Belgium" }}{{ .Get "Belgium" }}

- {{ .T ` - The first letter of the printer code can also be used to identify - the specific printer at which the banknote was printed. The - printer- and country codes do not need to line up; a banknote - issued by a country will often be printed in another. - ` }} + {{ .Get "The first letter of the printer code can be used to identify the specific printer at which the banknote was printed. The printer- and country codes do not need to line up; a banknote issued by a country will often be printed in another." }}

- - - + + + - + - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - +
{{ .T "Code" }}{{ .T "Country" }}{{ .T "Printer" }}{{ .Get "Code" }}{{ .Get "Country" }}{{ .Get "Printer" }}
D{{ .T "Finland" }}{{ .Get "Finland" }} SETEC
E{{ .T "France" }}{{ .Get "France" }} Oberthur
F{{ .T "Austria" }}Österreichische Banknoten‐ und Sicherheitsdruck GmbH{{ .Get "Austria" }} + + Österreichische Banknoten- und Sicherheitsdruck GmbH + +
G{{ .T "Netherlands" }}Koninklijke Joh. Enschede{{ .Get "Netherlands" }}Koninklijke Joh. Enschedé
H{{ .T "United Kingdom" }}Thomas de la Rue{{ .Get "United Kingdom" }}De La Rue
J{{ .T "Italy" }}Banca d’ Italia{{ .Get "Italy" }}{{ .Get "Bank of Italy" }}
K{{ .T "Ireland" }}{{ .T "Central Bank of Ireland" }}{{ .Get "Ireland" }}{{ .Get "Central Bank of Ireland" }}
L{{ .T "France" }}Banque de France{{ .Get "France" }}{{ .Get "Bank of France" }}
M{{ .T "Spain" }}Fábrica Nacional de Moneda y Timbre{{ .Get "Spain" }}{{ .Get "Royal Mint of Spain" }}
N{{ .T "Greece" }}{{ .T "Bank of Greece" }}{{ .Get "Greece" }}{{ .Get "Bank of Greece" }}
P{{ .T "Germany" }}Giesecke & Devrient{{ .Get "Germany" }}Giesecke+Devrient GmbH
R{{ .T "Germany" }}Bundesdruckerei Berlin{{ .Get "Germany" }}Bundesdruckerei GmbH
T{{ .T "Belgium" }}{{ .T "National Bank of Belgium" }}{{ .Get "Belgium" }}{{ .Get "National Bank of Belgium" }}
U{{ .T "Portugal" }}{{ .Get "Portugal" }} Valora S.A.
-

{{ .T "Europa Series" }}

+

{{ .Get "Europa Series" }}

- {{ .T ` - In the Europa series the first letter of the serial number can be - used to identify the printer that printed the banknote, just like - the printer code. The following table shows which countries map to - which codes. - ` }} + {{ .Get "In the Europa series the first letter of the serial number can be used to identify the printer that printed the banknote, just like the printer code. The following table shows which countries map to which codes." }}

- - - + + + - + - + - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + +
{{ .T "Code" }}{{ .T "Country" }}{{ .T "Printer" }}{{ .Get "Code" }}{{ .Get "Country" }}{{ .Get "Printer" }}
E{{ .T "France" }}{{ .Get "France" }} Oberthur
F{{ .T "Bulgaria" }}{{ .Get "Bulgaria" }} Oberthur Fiduciaire AD
M{{ .T "Portugal" }}{{ .Get "Portugal" }} Valora S.A.
N{{ .T "Austria" }}Österreichische Banknoten‐ und Sicherheitsdruck GmbH{{ .Get "Austria" }} + + Österreichische Banknoten- und Sicherheitsdruck GmbH + +
P{{ .T "Netherlands" }}Koninklijke Joh. Enschedé{{ .Get "Netherlands" }}Koninklijke Joh. Enschedé
R{{ .T "Germany" }}Bundesdruckerei Berlin{{ .Get "Germany" }}Bundesdruckerei GmbH
S{{ .T "Italy" }}Banca d’Italia{{ .Get "Italy" }}{{ .Get "Bank of Italy" }}
T{{ .T "Ireland" }}{{ .T "Central Bank of Ireland" }}{{ .Get "Ireland" }}{{ .Get "Central Bank of Ireland" }}
U{{ .T "France" }}Banque de France{{ .Get "France" }}{{ .Get "Bank of France" }}
V{{ .T "Spain" }}Fábrica Nacional de Moneda y Timbre{{ .Get "Spain" }}{{ .Get "Royal Mint of Spain" }}
W{{ .T "Germany" }}Giesecke & Devrient Leipzig{{ .Get "Germany" }}Giesecke+Devrient GmbH {{ .Get "Leipzig" }}
X{{ .T "Germany" }}Giesecke & Devrient Munich{{ .Get "Germany" }}Giesecke+Devrient GmbH {{ .Get "Munich" }}
Y{{ .T "Greece" }}{{ .T "Bank of Greece" }}{{ .Get "Greece" }}{{ .Get "Bank of Greece" }}
Z{{ .T "Belgium" }}{{ .T "National Bank of Belgium" }}{{ .Get "Belgium" }}{{ .Get "National Bank of Belgium" }}
@@ -341,12 +305,15 @@ {{ define "banknotes/codes/code-pos" }} {{ $p := (index . 0) }} +{{ $d := (index . 1) }} +{{ $args := (map "N" $d) }}
- {{ $p.T "%d Euro" (index . 1) }} + {{/* TRANSLATORS: As in ‘5 Euro Banknote’ */}} + {{ $p.GetN "%(N) Euro" "%(N) Euro" $d $args }} {{
{{ end }} \ No newline at end of file -- cgit v1.2.3