diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-05-25 00:33:13 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-05-25 00:33:13 +0200 |
commit | b3c367d9255bcc296b6740d1b437335d445b7253 (patch) | |
tree | 8a3baa3f11b6412bfa887f085216ffbc4c25e300 | |
parent | cf1be05a20c7abd7405f5953679f39be9d1fa015 (diff) |
Don’t mind me
-rwxr-xr-x | build | 11 | ||||
-rw-r--r-- | data/country-info.de | 2 | ||||
-rw-r--r-- | data/country-info.pt | 62 | ||||
-rw-r--r-- | src/pt/euro/coins.template.html | 44 | ||||
-rw-r--r-- | src/pt/euro/index.html | 8 | ||||
-rw-r--r-- | src/pt/euro/note-nav.html | 3 | ||||
-rw-r--r-- | src/pt/euro/notes.template.html | 5 | ||||
-rw-r--r-- | src/pt/euro/tnotes.template.html | 6 | ||||
-rw-r--r-- | src/pt/footer.html | 2 | ||||
-rw-r--r-- | src/pt/index.html | 40 | ||||
-rw-r--r-- | src/pt/nav-bar.html | 13 | ||||
-rw-r--r-- | src/pt/table-key.html | 12 |
12 files changed, 121 insertions, 87 deletions
@@ -64,9 +64,14 @@ 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 ' + gawk -v denom=$denom -v lang=$1 ' @include "scripts/getcls.awk" + function fmt(n) + { + return lang ~ /(en|ga|mt|nl)/ ? "€" n : n " €" + } + $1 == "TN" { i++ col[i][0] = $2 @@ -77,8 +82,8 @@ compile_for_lang() { END { for (i = 1; i <= length(col); i++) { printf \ - "<tr><td class=missing>€%d</td><td class=%s>%s</td></tr>\n",\ - col[i][0], getcls(col[i][2]), col[i][1] + "<tr><td class=missing>%s</td><td class=%s>%s</td></tr>\n", + fmt(col[i][0]), getcls(col[i][2]), col[i][1] } } ' data/notes | xfsub '<!-- TABLE-BODY -->' - $nod/index.html diff --git a/data/country-info.de b/data/country-info.de index 74449f3..b4e6d96 100644 --- a/data/country-info.de +++ b/data/country-info.de @@ -1,4 +1,4 @@ -AD Andorran Andorra +AD Andorran Österreich AT Austrian Austria BE Belgian Belgium BG Bulgarian Bulgaria diff --git a/data/country-info.pt b/data/country-info.pt index 856c817..7c1f2d2 100644 --- a/data/country-info.pt +++ b/data/country-info.pt @@ -1,31 +1,31 @@ -AD Andorran Andorra -AT Austrian Austria -BE Belgian Belgium -BG Bulgarian Bulgaria -CY Cypriot Cyprus -DE German Germany -DE-R German Germany -DE-W German Germany -DE-X German Germany -EE Estonian Estonia -ES Spanish Spain -FI Finnish Finland -FR French France -FR-E French France -FR-U French France -GR Greek Greece -HR Croatian Croatia -IE Irish Ireland -IT Italian Italy -LT Lithuanian Lithuania -LU Luxembourgish Luxembourg -LV Latvian Latvia -MC Monégasque Monaco -MT Maltese Malta -NL holandesas Netherlands -PT Portuguese Portugal -SI Slovene Slovenia -SK Slovak Slovakia -SM Sammarinese San Marino -US American United States of America -VA Vatican Vatican City +AD andorranas Andorra +AT austríacas Áustria +BE belgas Bélgica +BG búlgaras Bulgária +CY cipriotas Chipre +DE alemãs Alemanha +DE-R alemãs Alemanha +DE-W alemãs Alemanha +DE-X alemãs Alemanha +EE estonianos Estônia +ES espanholas Espanha +FI finlandesas Finlândia +FR franceses França +FR-E franceses França +FR-U franceses França +GR gregas Grécia +HR croatas Croácia +IE irlandesas Irlanda +IT italianas Itália +LT lituanas Lituânia +LU luxemburguesas Luxemborgo +LV letãs Letônia +MC monegascas Mônaco +MT maltesas Malta +NL holandesas Holanda +PT portuguesas Portugal +SI eslovenas Eslovênia +SK eslovacas Eslováquia +SM sammarineses San Marino +US americanas Estados Unidos da América +VA vaticanas Cidade do Vaticano diff --git a/src/pt/euro/coins.template.html b/src/pt/euro/coins.template.html index 5708f69..439617d 100644 --- a/src/pt/euro/coins.template.html +++ b/src/pt/euro/coins.template.html @@ -1,5 +1,4 @@ <!DOCTYPE html> -<!-- TODO --> <html lang=XX> <head> <meta charset=UTF-8 /> @@ -9,7 +8,10 @@ </head> <body> - <nav><!-- NAV-BAR --></nav> + <nav> + <!-- NAV-BAR --> + <!-- COIN-NAV --> + </nav> <main> <section> @@ -27,15 +29,23 @@ <!-- IF-DE --> <section> <p> - Germany has 5 different mints that each mint coins. These mints are - located in Berlin (A), Munich (D), Stuttgart (F), Karlsruhe (G), and - Hamburg (J). All German euro-coins contain a letter (the “mintmark”) - identifying which mint the coin was minted at. This means that there - are 5 versions of every German euro-coin that must be collected. + All German coins bear one of five different mintmarks that represent + the city in which they were minted. These are: Berlin (A), Munich + (D), Stuttgart (F), Karlsruhe (G), and Hamburg (J). </p> </section> <br /> <!-- FI-DE --> + <!-- IF-FI --> + <section> + <p> + There is an error that exists for €2 coins minted in 1999 where the + holes in one, two, or even three of the 9’s are filled. The number of + 9’s filled is displayed with a fraction (e.g. 2/3 for two 9’s filled). + </p> + </section> + <br /> + <!-- FI-FI --> <!-- IF-GR --> <section> <p> @@ -50,14 +60,26 @@ <!-- IF-LU --> <section> <p> - For certain commemorative releases Luxembourg minted two different - varieties — “classic” and a “holographic”. Any years listed on this - page suffixed with ‘C’ are of the classic variety while any years - suffixed with ‘H’ are of the holographic variety. + For the years 2020–2021 Luxembourg released certain commemorative + coins in both a “classic” and “photo” variety. Any years labeled with + ‘P’ are of the “photo” variety while years without a label are of the + standard “classic” variety. </p> </section> <br /> <!-- FI-LU --> + <!-- IF-MT --> + <section> + <p> + Many Maltese commemoratives have different mintmarks depending on in + they were intended for circulation, coincards, or sets. Any years + listed on this page suffixed with “MdP” bear the mintmark of the + Monnaie de Paris (Paris Mint), while years suffixed with “KNM” bear + the mintmark of the Koninklijke Nederlandse Munt (Royal Dutch Mint). + </p> + </section> + <br /> + <!-- FI-MT --> <section class="cl-section slant-down"> <div> diff --git a/src/pt/euro/index.html b/src/pt/euro/index.html index 32c4469..d70bd8e 100644 --- a/src/pt/euro/index.html +++ b/src/pt/euro/index.html @@ -1,5 +1,4 @@ <!DOCTYPE html> -<!-- TODO --> <html lang=XX> <head> <meta charset=UTF-8 /> @@ -25,6 +24,13 @@ 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. </p> </section> diff --git a/src/pt/euro/note-nav.html b/src/pt/euro/note-nav.html index d2d5a46..bcbef8f 100644 --- a/src/pt/euro/note-nav.html +++ b/src/pt/euro/note-nav.html @@ -1,4 +1,3 @@ -<!-- TODO --> <ul> <li><a href=/XX/euro/5>5 €</a></li> <li><a href=/XX/euro/10>10 €</a></li> @@ -7,5 +6,5 @@ <li><a href=/XX/euro/100>100 €</a></li> <li><a href=/XX/euro/200>200 €</a></li> <li><a href=/XX/euro/500>500 €</a></li> - <li><a href=/XX/euro/tn>Notas de teste</a></li> + <li><a href=/XX/euro/tn>Test Notes</a></li> </ul> diff --git a/src/pt/euro/notes.template.html b/src/pt/euro/notes.template.html index f219178..f15f087 100644 --- a/src/pt/euro/notes.template.html +++ b/src/pt/euro/notes.template.html @@ -1,9 +1,8 @@ <!DOCTYPE html> -<!-- TODO --> <html lang=XX> <head> <meta charset=UTF-8 /> - <title><!-- DENOM --> € notas</title> + <title>€<!-- DENOM --> Banknotes</title> <link rel="shortcut icon" type="image/svg" href="/favicon.svg" /> <link rel="stylesheet" type="text/css" href="/style.css" /> </head> @@ -17,7 +16,7 @@ <main> <section> <header> - <h1><!-- DENOM --> € notas</h1> + <h1>€<!-- DENOM --> Banknotes</h1> </header> </section> diff --git a/src/pt/euro/tnotes.template.html b/src/pt/euro/tnotes.template.html index a5fde9b..982e1cf 100644 --- a/src/pt/euro/tnotes.template.html +++ b/src/pt/euro/tnotes.template.html @@ -1,5 +1,4 @@ <!DOCTYPE html> -<!-- TODO --> <html lang=XX> <head> <meta charset=UTF-8 /> @@ -9,7 +8,10 @@ </head> <body> - <nav><!-- NAV-BAR --></nav> + <nav> + <!-- NAV-BAR --> + <!-- NOTE-NAV --> + </nav> <main> <section> diff --git a/src/pt/footer.html b/src/pt/footer.html index c6351c6..ca42706 100644 --- a/src/pt/footer.html +++ b/src/pt/footer.html @@ -1,3 +1,3 @@ <p class=right-align> - Encontrou um erro ou uma tradução ruim? <a href=#>Contate-me!</a> + Found a mistake or a bad translation? <a href=#>Contact me!</a> </p> diff --git a/src/pt/index.html b/src/pt/index.html index 54dc842..b81583d 100644 --- a/src/pt/index.html +++ b/src/pt/index.html @@ -2,7 +2,7 @@ <html lang=XX> <head> <meta charset=UTF-8 /> - <title>Coleção de Euros de Thomas</title> + <title>Thomas’ Euro Collection</title> <link rel="shortcut icon" type="image/svg" href="/favicon.svg" /> <link rel="stylesheet" type="text/css" href="/style.css" /> </head> @@ -13,31 +13,31 @@ <main> <section> <header> - <h1>Coleção de Euros de Thomas</h1> - <h6>…e algumas coisas do mundo também!</h6> + <h1>Thomas’ Euro Collection</h1> + <h6>…and some world stuff too!</h6> </header> </section> <section> <p> - Este site contém toda a minha coleção de moedas e notas de euro em - circulação. Também tem algumas moedas diferentes do euro! Salvo - indicação em contrário, todas as moedas e notas listadas neste site - devem ser distribuídas. Em outras palavras, eles não deveriam ter - vindo apenas de um conjunto de moedas que comprei em uma casa da - moeda. Acho muito mais legal saber que uma parte do dinheiro foi - usada anteriormente em uma transação do mundo real. + This website houses the entirety of my circulated euro-coin and + -banknote collection. It also has some non-euro currencies too! + Unless explicitly stated otherwise, all coins and banknotes listed on + this site should be circulated. In other words, they shouldn’t’ve + just come from a coin set I purchased from a coin mint. I think it’s + just a lot cooler knowing that a piece of money was previously used in + a real-world transaction. </p> </section> <section class="c-section slant-up"> <a href=/XX/euro> - <h2>Moedas e Notas de Euro</h2> + <h2>Euro-Coins and -Banknotes</h2> <p> - O foco principal da minha coleta de moeda com uma moeda única que - abrange 26 países e quase 350 milhões de pessoas. Problemas padrão, - edições comemorativas e cédulas de todas as séries são todas - incluído. + The main focus of my currency collecting with a single currency that + spans 26 countries and almost 350 million people. Standard issues, + commemorative issues, and banknotes from all series are all + included. </p> <img src="/eu-stars.svg" /> </a> @@ -45,13 +45,13 @@ <section class="c-section slant-up"> <a href=#> - <h2>Moedas e Notas de Mundo</h2> + <h2>World-Coins and -Banknotes</h2> <p> - Dinheiro de todo o mundo! Esta coleção fica progressivamente maior - ao longo do tempo, mas não é meu foco principal. existem alguns - países nos quais tenho um interesse especial. + Money from around the world! This collection gets progressively + larger over time, but is not my primary focus. There are a few + countries in which I take a special interest though. <br /><br /> - <em>Esta seção está indisponível no momento.</em> + <em>This section is currently unavailable.</em> </p> <img src="/globe.svg" /> </a> diff --git a/src/pt/nav-bar.html b/src/pt/nav-bar.html index bd56bb1..21e15ad 100644 --- a/src/pt/nav-bar.html +++ b/src/pt/nav-bar.html @@ -1,11 +1,12 @@ <ul> - <li><a href=/XX>Lar</a></li> - <li><a href=/XX/changelog>Alterações</a></li> - <li><a href=/XX/euro>Moedas e Notas do Euro</a></li> - <li><div class=unavailable>Moedas do Mundo</div></li> - <li><div class=unavailable>Notas do Mundo</div></li> + <!--<li><div class=selected>Home</div></li>--> + <li><a href=/XX>Home</a></li> + <li><a href=/XX/changelog>Changelog</a></li> + <li><a href=/XX/euro>Euro-Coins & -Banknotes</a></li> + <li><div class=unavailable>World Coins</div></li> + <li><div class=unavailable>World Banknotes</div></li> <li> - <div id=lang-selected>Português</div> + <div id=lang-selected>English</div> <!-- LANG-SELECTOR --> </li> </ul> diff --git a/src/pt/table-key.html b/src/pt/table-key.html index 7f1f85e..0868211 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>Em falta na minha coleção (NIFC)</td> + <td>Missing from my collection (NIFC)</td> </tr> <tr> <td><div class=have></div></td> - <td>Na minha coleção</td> + <td>In my collection</td> </tr> <tr> <td><div class=have-nifc></div></td> - <td>Na minha coleção (NIFC)</td> + <td>In my collection (NIFC)</td> </tr> <tr> <td><div class=unknown></div></td> - <td>Faltam dados</td> + <td>Data missing</td> </tr> <tr> <td><div class=not-minted></div></td> <!-- IF-COINS --> - <td>Não cunhada</td> + <td>Not minted</td> <!-- FI-COINS --> <!-- IF-NOTES --> - <td>Não impresso</td> + <td>Not printed</td> <!-- FI-NOTES --> </tr> </table> |