From b12aa32fb61e9228e3ae4f30e8d6362380636fd7 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 20 Jun 2023 22:22:22 +0200 Subject: Begin work on Portuguese translations --- build | 16 ++++++++++---- data/notes | 16 +++++++------- src/en/euro/tnotes.template.html | 11 +++------- src/pt/euro/coins.template.html | 10 +++++++++ src/pt/euro/index.html | 46 ++++++++++++++++++---------------------- src/pt/euro/note-nav.html | 16 +++++++------- src/pt/euro/tnotes.template.html | 21 +++++++----------- src/pt/table-key.html | 12 +++++------ 8 files changed, 76 insertions(+), 72 deletions(-) diff --git a/build b/build index 7924581..a9d0044 100755 --- a/build +++ b/build @@ -66,12 +66,16 @@ compile_for_lang() { sed -Ei ' /|s|([^<]*)|
\1
| ' $nod/index.html - gawk -v denom=$denom -v lang=$1 ' + gawk -v lang=$1 ' @include "scripts/getcls.awk" function fmt(n) { - return lang ~ /(en|ga|mt|nl)/ ? "€" n : n " €" + return lang ~ /(en|ga|mt|nl)/ ? "€" n : n " €" + } + + BEGIN { + FS = "\t" } $1 == "TN" { @@ -84,11 +88,15 @@ compile_for_lang() { END { for (i = 1; i <= length(col); i++) { printf \ - "%s%s\n", + "%s"\ + "%s\n", fmt(col[i][0]), getcls(col[i][2]), col[i][1] } + print "MARKER LOL" } - ' data/notes | xfsub '' - $nod/index.html + ' data/notes \ + | last-of-design.sed \ + | xfsub '' - $nod/index.html for CC in `grep -Eo '^[A-Z]{2}' data/coins | uniq`; do cc=`echo $CC | tr A-Z a-z` diff --git a/data/notes b/data/notes index fabbf91..368d050 100644 --- a/data/notes +++ b/data/notes @@ -150,11 +150,11 @@ 500 2002 NL - / / 500 2002 ES - / / -TN 5 ZA********** * -TN 20 NZ********** - -TN 20 S********999 - -TN 20 VH********** - -TN 20 XZ********** - -TN 50 VH********** - -TN 100 NZ********** - -TN 200 NZ********** - +TN 5 ZA********** / **** / Jean-Claude Trichet * +TN 20 NZ********** / **** / Mario Draghi - +TN 20 S********999 / S004 / Mario Draghi - +TN 20 VH********** / **** / Mario Draghi - +TN 20 XZ********** / **** / Mario Draghi - +TN 50 VH********** / **** / Mario Draghi - +TN 100 NZ********** / **** / Mario Draghi - +TN 200 NZ********** / **** / Mario Draghi - diff --git a/src/en/euro/tnotes.template.html b/src/en/euro/tnotes.template.html index a22c9b6..de0bdeb 100644 --- a/src/en/euro/tnotes.template.html +++ b/src/en/euro/tnotes.template.html @@ -32,11 +32,6 @@ The following “test banknotes” were banknotes from the “Europa” series printed to test their usage in ATMs and such. The ‘*’ character in the below serial numbers represents an arbitrary number/letter. -

- A few additional notes: the €5 test-note bears the signature of - Jean-Claude Trichet, and the €20 test-note beginning with ‘S’ was - printed on the plate “S004”. If a note matches the serial-number - pattern but does fails these requirements, it’s not a test-note.

@@ -47,11 +42,11 @@ - + - - + + diff --git a/src/pt/euro/coins.template.html b/src/pt/euro/coins.template.html index f4a4210..6a01507 100644 --- a/src/pt/euro/coins.template.html +++ b/src/pt/euro/coins.template.html @@ -81,6 +81,16 @@
+ +
+

+ Besides just the standard €2 commemorative releases, the Koninklijke + Nederlandse Munt (Royal Dutch Mint) also sells NIFC €5 commemorative + coins; these coins are suffixed with “€5”. +

+
+
+
diff --git a/src/pt/euro/index.html b/src/pt/euro/index.html index bf5c374..4941fb2 100644 --- a/src/pt/euro/index.html +++ b/src/pt/euro/index.html @@ -21,17 +21,13 @@

- This is my euro collection. It’s the largest collection I’ve ever - amassed. It’s also my primary collection as I reside in the Eurozone. - I do own uncirculated-coins and -banknotes, but all coins and - banknotes listed on this section of the site are circulated. -

There are various examples of euro coins that have slight varieties between their standard circulation releases and their coincard/set - releases, such as different mintmarks for example. In these cases, - the NIFC variety will not be listed on this site - unless I happen to get one for my collection (see Malta for an example). The same applies to error coins. + releases, such as different mintmarks. In these cases, the NIFC + variety will not be listed on this site + unless I happen to get one for my collection (see + Malta for an example). The same applies to error + coins.

@@ -82,16 +78,16 @@
Test BanknotesTest Banknotes
YearSerial NumberDenominationSerial Number / Printer Code / Signature
- - - - + + + + - - - - + + + +
€0.01€0.02€0.05€0.100,01 €0,02 €0,05 €0,10 €
€0.20€0.50€1.00€2.000,20 €0,50 €1,00 €2,00 €
@@ -104,16 +100,16 @@ - - - - + + + + - - - - + + + +
€5€10€20€505 €10 €20 €50 €
€100€200€500Test Notes100 €200 €500 €Notas de teste
diff --git a/src/pt/euro/note-nav.html b/src/pt/euro/note-nav.html index c5547b2..4178495 100644 --- a/src/pt/euro/note-nav.html +++ b/src/pt/euro/note-nav.html @@ -1,10 +1,10 @@ diff --git a/src/pt/euro/tnotes.template.html b/src/pt/euro/tnotes.template.html index a22c9b6..b336273 100644 --- a/src/pt/euro/tnotes.template.html +++ b/src/pt/euro/tnotes.template.html @@ -3,7 +3,7 @@ - Euro Test-Banknotes + Euro Notas de Teste @@ -17,7 +17,7 @@
-

Euro Test-Banknotes

+

Euro Notas de Teste

@@ -29,14 +29,9 @@

- The following “test banknotes” were banknotes from the “Europa” series - printed to test their usage in ATMs and such. The ‘*’ character in - the below serial numbers represents an arbitrary number/letter. -

- A few additional notes: the €5 test-note bears the signature of - Jean-Claude Trichet, and the €20 test-note beginning with ‘S’ was - printed on the plate “S004”. If a note matches the serial-number - pattern but does fails these requirements, it’s not a test-note. + As seguintes “notas de teste” foram notas da série “Europa” impressas + para testar seu uso em caixas eletrônicos. O caractere ‘*’ nos + números de série abaixo representa um número/letra arbitrário.

@@ -47,11 +42,11 @@ - + - - + + diff --git a/src/pt/table-key.html b/src/pt/table-key.html index 0868211..eaf6ac4 100644 --- a/src/pt/table-key.html +++ b/src/pt/table-key.html @@ -1,27 +1,27 @@
Test BanknotesNotas de Teste
YearSerial NumberDenominaçãoNúmero de Série / Código da Impressora / Assinatura
- + - + - + - + - + - +
Missing from my collection (NIFC)Falta na minha coleção (NIFC)
In my collectionNa minha coleção
In my collection (NIFC)Na minha coleção (NIFC)
Data missingFaltam dados
Not mintedNão cunhada Not printedNão impresso
-- cgit v1.2.3