summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-06-20 22:22:22 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-06-20 22:22:22 +0200
commitb12aa32fb61e9228e3ae4f30e8d6362380636fd7 (patch)
treed79063f6e0c07723e3388b9aa79cfcc7cf5bf878
parent661b75adb2535adf2ced98ed415249f4a8055df5 (diff)
Begin work on Portuguese translations
-rwxr-xr-xbuild16
-rw-r--r--data/notes16
-rw-r--r--src/en/euro/tnotes.template.html11
-rw-r--r--src/pt/euro/coins.template.html10
-rw-r--r--src/pt/euro/index.html46
-rw-r--r--src/pt/euro/note-nav.html16
-rw-r--r--src/pt/euro/tnotes.template.html21
-rw-r--r--src/pt/table-key.html12
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 '
/<nav>/,\|</nav>|s|<a href=/../euro/tn>([^<]*)</a>|<div class=selected>\1</div>|
' $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 "&nbsp;€"
+ }
+
+ BEGIN {
+ FS = "\t"
}
$1 == "TN" {
@@ -84,11 +88,15 @@ compile_for_lang() {
END {
for (i = 1; i <= length(col); i++) {
printf \
- "<tr><td class=missing>%s</td><td class=%s>%s</td></tr>\n",
+ "<trX><td class=missing colspan=1>%s</td>"\
+ "<td class=%s colspan=6>%s</td></tr>\n",
fmt(col[i][0]), getcls(col[i][2]), col[i][1]
}
+ print "MARKER LOL"
}
- ' data/notes | xfsub '<!-- TABLE-BODY -->' - $nod/index.html
+ ' data/notes \
+ | last-of-design.sed \
+ | xfsub '<!-- TABLE-BODY -->' - $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.
- <br /><br />
- 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.
</p>
</section>
@@ -47,11 +42,11 @@
<table id=test-banknote-table class=coin-table cellspacing=0>
<thead>
<tr>
- <th colspan=2>Test Banknotes</th>
+ <th colspan=7>Test Banknotes</th>
</tr>
<tr>
- <th>Year</th>
- <th>Serial Number</th>
+ <th colspan=1>Denomination</th>
+ <th colspan=6>Serial Number / Printer Code / Signature</th>
</tr>
</thead>
<tbody>
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 @@
</section>
<br />
<!-- FI-MT -->
+ <!-- IF-NL -->
+ <section>
+ <p>
+ 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”.
+ </p>
+ </section>
+ <br />
+ <!-- FI-NL -->
<section class="cl-section slant-down">
<div>
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 @@
<section>
<p>
- 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.
- <br /><br />
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 <strong>not</strong> be listed on this site
- <em>unless</em> I happen to get one for my collection (see <a
- href=mt>Malta</a> for an example). The same applies to error coins.
+ releases, such as different mintmarks. In these cases, the NIFC
+ variety will <strong>not</strong> be listed on this site
+ <em>unless</em> I happen to get one for my collection (see
+ <a href=mt>Malta</a> for an example). The same applies to error
+ coins.
</p>
</section>
@@ -82,16 +78,16 @@
<table class=country-table>
<tbody>
<tr class=last-of-design>
- <td><a href=1c>€0.01</a></td>
- <td><a href=2c>€0.02</a></td>
- <td><a href=5c>€0.05</a></td>
- <td><a href=10c>€0.10</a></td>
+ <td><a href=1c>0,01&nbsp;€</a></td>
+ <td><a href=2c>0,02&nbsp;€</a></td>
+ <td><a href=5c>0,05&nbsp;€</a></td>
+ <td><a href=10c>0,10&nbsp;€</a></td>
</tr>
<tr class=last-of-design>
- <td><a href=20c>€0.20</a></td>
- <td><a href=50c>€0.50</a></td>
- <td><a href=1e>€1.00</a></td>
- <td><a href=2e>€2.00</a></td>
+ <td><a href=20c>0,20&nbsp;€</a></td>
+ <td><a href=50c>0,50&nbsp;€</a></td>
+ <td><a href=1e>1,00&nbsp;€</a></td>
+ <td><a href=2e>2,00&nbsp;€</a></td>
</tr>
</tbody>
</table>
@@ -104,16 +100,16 @@
<table class=country-table>
<tbody>
<tr>
- <td><a href=5e>€5</a></td>
- <td><a href=10e>€10</a></td>
- <td><a href=20e>€20</a></td>
- <td><a href=50e>€50</a></td>
+ <td><a href=5e>5&nbsp;€</a></td>
+ <td><a href=10e>10&nbsp;€</a></td>
+ <td><a href=20e>20&nbsp;€</a></td>
+ <td><a href=50e>50&nbsp;€</a></td>
</tr>
<tr>
- <td><a href=100e>€100</a></td>
- <td><a href=200e>€200</a></td>
- <td><a href=500e>€500</a></td>
- <td><a href=tn>Test Notes</a></td>
+ <td><a href=100e>100&nbsp;€</a></td>
+ <td><a href=200e>200&nbsp;€</a></td>
+ <td><a href=500e>500&nbsp;€</a></td>
+ <td><a href=tn>Notas de teste</a></td>
</tr>
</tbody>
</table>
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 @@
<ul>
- <li><a href=/XX/euro/5e>5 €</a></li>
- <li><a href=/XX/euro/10e>10 €</a></li>
- <li><a href=/XX/euro/20e>20 €</a></li>
- <li><a href=/XX/euro/50e>50 €</a></li>
- <li><a href=/XX/euro/100e>100 €</a></li>
- <li><a href=/XX/euro/200e>200 €</a></li>
- <li><a href=/XX/euro/500e>500 €</a></li>
- <li><a href=/XX/euro/tn>Test Notes</a></li>
+ <li><a href=/XX/euro/5e>5&nbsp;€</a></li>
+ <li><a href=/XX/euro/10e>10&nbsp;€</a></li>
+ <li><a href=/XX/euro/20e>20&nbsp;€</a></li>
+ <li><a href=/XX/euro/50e>50&nbsp;€</a></li>
+ <li><a href=/XX/euro/100e>100&nbsp;€</a></li>
+ <li><a href=/XX/euro/200e>200&nbsp;€</a></li>
+ <li><a href=/XX/euro/500e>500&nbsp;€</a></li>
+ <li><a href=/XX/euro/tn>Notas de teste</a></li>
</ul>
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 @@
<head>
<meta charset=UTF-8 />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>Euro Test-Banknotes</title>
+ <title>Euro Notas de Teste</title>
<link rel="shortcut icon" type="image/svg" href="/favicon.svg" />
<link rel="stylesheet" type="text/css" href="/style.css" />
</head>
@@ -17,7 +17,7 @@
<main>
<section>
<header>
- <h1>Euro Test-Banknotes</h1>
+ <h1>Euro Notas de Teste</h1>
</header>
</section>
@@ -29,14 +29,9 @@
<section>
<p>
- 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.
- <br /><br />
- 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.
</p>
</section>
@@ -47,11 +42,11 @@
<table id=test-banknote-table class=coin-table cellspacing=0>
<thead>
<tr>
- <th colspan=2>Test Banknotes</th>
+ <th colspan=7>Notas de Teste</th>
</tr>
<tr>
- <th>Year</th>
- <th>Serial Number</th>
+ <th colspan=1>Denominação</th>
+ <th colspan=6>Número de Série / Código da Impressora / Assinatura</th>
</tr>
</thead>
<tbody>
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 @@
<table cellspacing=0 id=table-key>
<tr>
<td><div class=nifc></div></td>
- <td>Missing from my collection (NIFC)</td>
+ <td>Falta na minha coleção (NIFC)</td>
</tr>
<tr>
<td><div class=have></div></td>
- <td>In my collection</td>
+ <td>Na minha coleção</td>
</tr>
<tr>
<td><div class=have-nifc></div></td>
- <td>In my collection (NIFC)</td>
+ <td>Na minha coleção (NIFC)</td>
</tr>
<tr>
<td><div class=unknown></div></td>
- <td>Data missing</td>
+ <td>Faltam dados</td>
</tr>
<tr>
<td><div class=not-minted></div></td>
<!-- IF-COINS -->
- <td>Not minted</td>
+ <td>Não cunhada</td>
<!-- FI-COINS -->
<!-- IF-NOTES -->
- <td>Not printed</td>
+ <td>Não impresso</td>
<!-- FI-NOTES -->
</tr>
</table>