diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-05-24 22:39:19 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-05-24 22:39:19 +0200 |
commit | cf1be05a20c7abd7405f5953679f39be9d1fa015 (patch) | |
tree | 5fa73c983fe2b8aba579db9215ee674f04d4ea15 | |
parent | 8372e02f11e0914324ebf9f495393b4a9df01dd7 (diff) |
Add skeleton for German
-rwxr-xr-x | build | 14 | ||||
-rw-r--r-- | data/country-info.de (renamed from data/country-info) | 0 | ||||
-rw-r--r-- | data/country-info.en | 31 | ||||
-rw-r--r-- | data/country-info.pt | 31 | ||||
-rw-r--r-- | src/de/euro/coin-nav.html | 26 | ||||
-rw-r--r-- | src/de/euro/coins.template.html | 133 | ||||
-rw-r--r-- | src/de/euro/index.html | 108 | ||||
-rw-r--r-- | src/de/euro/note-nav.html | 10 | ||||
-rw-r--r-- | src/de/euro/notes.template.html | 87 | ||||
-rw-r--r-- | src/de/euro/tnotes.template.html | 66 | ||||
-rw-r--r-- | src/de/footer.html | 3 | ||||
-rw-r--r-- | src/de/index.html | 63 | ||||
-rw-r--r-- | src/de/nav-bar.html | 12 | ||||
-rw-r--r-- | src/de/table-key.html | 27 | ||||
-rw-r--r-- | src/language-selector.html | 1 |
15 files changed, 605 insertions, 7 deletions
@@ -91,7 +91,7 @@ compile_for_lang() { sed -i " /<nav>/,\\|</nav>|s|<a href=/../euro/$cc>$CC</a>|<div class=selected>$CC</div>| " $nod/index.html - grep -m1 "^$CC" data/country-info \ + grep -m1 "^$CC" data/country-info.$1 \ | cut -f2 \ | xfsub '<!-- DEMON -->' - $nod/index.html sed -Ei " @@ -186,12 +186,12 @@ compile_for_lang() { /<!-- IF-[0-9]+ -->/,/<!-- FI-[0-9]+ -->/d " $nod/index.html - gawk -v denom=$denom ' + gawk -v denom=$denom -v lang=$1 ' @include "scripts/getcls.awk" BEGIN { FS = "\t" } - FILENAME == "data/country-info" { cc2name[$1] = $3 } + FILENAME == "data/country-info." lang { cc2name[$1] = $3 } FILENAME == "data/note-info" && length == 0 { section++; next } FILENAME == "data/note-info" && section == 0 { cc2c[$1] = $2 } @@ -239,19 +239,19 @@ compile_for_lang() { } print "MARKER LOL" } - ' data/country-info data/note-info data/notes \ + ' data/country-info.$1 data/note-info data/notes \ | colspan.sed \ | last-of-design.sed \ | xfsub '<!-- 2002-TABLE-BODY -->' - $nod/index.html [ $denom -eq 500 ] && continue - gawk -v denom=$denom ' + gawk -v denom=$denom -v lang=$1 ' @include "scripts/getcls.awk" BEGIN { FS = "\t" } - FILENAME == "data/country-info" { cc2name[$1] = $3 } + FILENAME == "data/country-info." lang { cc2name[$1] = $3 } FILENAME == "data/note-info" && length == 0 { section++; next } FILENAME == "data/note-info" && section == 0 { cc2c[$1] = $2 } @@ -293,7 +293,7 @@ compile_for_lang() { } print "MARKER LOL" } - ' data/country-info data/note-info data/notes \ + ' data/country-info.$lang data/note-info data/notes \ | colspan.sed \ | last-of-design.sed \ | xfsub '<!-- EUROPA-TABLE-BODY -->' - $nod/index.html diff --git a/data/country-info b/data/country-info.de index 74449f3..74449f3 100644 --- a/data/country-info +++ b/data/country-info.de diff --git a/data/country-info.en b/data/country-info.en new file mode 100644 index 0000000..74449f3 --- /dev/null +++ b/data/country-info.en @@ -0,0 +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 Dutch Netherlands +PT Portuguese Portugal +SI Slovene Slovenia +SK Slovak Slovakia +SM Sammarinese San Marino +US American United States of America +VA Vatican Vatican City diff --git a/data/country-info.pt b/data/country-info.pt new file mode 100644 index 0000000..856c817 --- /dev/null +++ b/data/country-info.pt @@ -0,0 +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 diff --git a/src/de/euro/coin-nav.html b/src/de/euro/coin-nav.html new file mode 100644 index 0000000..e885b44 --- /dev/null +++ b/src/de/euro/coin-nav.html @@ -0,0 +1,26 @@ +<ul> + <li><a href=/XX/euro/ad>AD</a></li> + <li><a href=/XX/euro/at>AT</a></li> + <li><a href=/XX/euro/be>BE</a></li> + <li><a href=/XX/euro/cy>CY</a></li> + <li><a href=/XX/euro/de>DE</a></li> + <li><a href=/XX/euro/ee>EE</a></li> + <li><a href=/XX/euro/es>ES</a></li> + <li><a href=/XX/euro/fi>FI</a></li> + <li><a href=/XX/euro/fr>FR</a></li> + <li><a href=/XX/euro/gr>GR</a></li> + <li><a href=/XX/euro/hr>HR</a></li> + <li><a href=/XX/euro/ie>IE</a></li> + <li><a href=/XX/euro/it>IT</a></li> + <li><a href=/XX/euro/lt>LT</a></li> + <li><a href=/XX/euro/lu>LU</a></li> + <li><a href=/XX/euro/lv>LV</a></li> + <li><a href=/XX/euro/mc>MC</a></li> + <li><a href=/XX/euro/mt>MT</a></li> + <li><a href=/XX/euro/nl>NL</a></li> + <li><a href=/XX/euro/pt>PT</a></li> + <li><a href=/XX/euro/si>SI</a></li> + <li><a href=/XX/euro/sk>SK</a></li> + <li><a href=/XX/euro/sm>SM</a></li> + <li><a href=/XX/euro/va>VA</a></li> +</ul> diff --git a/src/de/euro/coins.template.html b/src/de/euro/coins.template.html new file mode 100644 index 0000000..439617d --- /dev/null +++ b/src/de/euro/coins.template.html @@ -0,0 +1,133 @@ +<!DOCTYPE html> +<html lang=XX> + <head> + <meta charset=UTF-8 /> + <title><!-- DEMON --> Euro Coins</title> + <link rel="shortcut icon" type="image/svg" href="/favicon.svg" /> + <link rel="stylesheet" type="text/css" href="/style.css" /> + </head> + + <body> + <nav> + <!-- NAV-BAR --> + <!-- COIN-NAV --> + </nav> + + <main> + <section> + <header> + <h1><!-- DEMON --> Euro Coins</h1> + </header> + </section> + + <br /><br /> + + <section><!-- TABLE-KEY --></section> + + <br /><br /> + + <!-- IF-DE --> + <section> + <p> + 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> + As a result of a late joining to the Eurozone, Greece was assisted by + the countries of France, Spain, and Finland to mint coins for 2002. + For this reason all 2002 coins have two varieties — one with a + mintmark in the star (‘F’, ‘E’, and ‘S’) and one without. + </p> + </section> + <br /> + <!-- FI-GR --> + <!-- IF-LU --> + <section> + <p> + 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> + <table class=coin-table cellspacing=0> + <thead> + <tr> + <th colspan=8>Standard Issues</th> + </tr> + <tr> + <th>1 Cent</th> + <th>2 Cent</th> + <th>5 Cent</th> + <th>10 Cent</th> + <th>20 Cent</th> + <th>50 Cent</th> + <th>1 Euro</th> + <th>2 Euro</th> + </tr> + </thead> + <tbody> + <!-- SCOIN-TABLE-BODY --> + </tbody> + </table> + </div> + </section> + + <!-- IF-!HR --> + <section class="cl-section slant-down"> + <div> + <table class="coin-table commemorative-table" cellspacing=0> + <thead> + <tr> + <th colspan=7>Commemorative Issues</th> + </tr> + <tr> + <th>Year</th> + <th colspan=6>Commemorated Topics</th> + </tr> + </thead> + <tbody> + <!-- CCOIN-TABLE-BODY --> + </tbody> + </table> + </div> + </section> + <!-- FI-!HR --> + + <section><!-- FOOTER --></section> + </main> + </body> +</html> diff --git a/src/de/euro/index.html b/src/de/euro/index.html new file mode 100644 index 0000000..d70bd8e --- /dev/null +++ b/src/de/euro/index.html @@ -0,0 +1,108 @@ +<!DOCTYPE html> +<html lang=XX> + <head> + <meta charset=UTF-8 /> + <title>Euro-Coins & -Banknotes</title> + <link rel="shortcut icon" type="image/svg" href="/favicon.svg" /> + <link rel="stylesheet" type="text/css" href="/style.css" /> + </head> + + <body> + <nav><!-- NAV-BAR --></nav> + + <main> + <section> + <header> + <h1>Euro-Coins and -Banknotes</h1> + <h6>My Primary Collection</h6> + </header> + </section> + + <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. + </p> + </section> + + <section class="cl-section slant-up"> + <div> + <h2>Euro Coins</h2> + <table class=country-table> + <tbody> + <tr> + <td><a href=ad>Andorra</a></td> + <td><a href=at>Austria</a></td> + <td><a href=be>Belgium</a></td> + <td><a href=hr>Croatia</a></td> + </tr> + <tr> + <td><a href=cy>Cyprus</a></td> + <td><a href=ee>Estonia</a></td> + <td><a href=fi>Finland</a></td> + <td><a href=fr>France</a></td> + </tr> + <tr> + <td><a href=de>Germany</a></td> + <td><a href=gr>Greece</a></td> + <td><a href=ie>Ireland</a></td> + <td><a href=it>Italy</a></td> + </tr> + <tr> + <td><a href=lv>Latvia</a></td> + <td><a href=lt>Lithuania</a></td> + <td><a href=lu>Luxembourg</a></td> + <td><a href=mt>Malta</a></td> + </tr> + <tr> + <td><a href=mc>Monaco</a></td> + <td><a href=nl>Netherlands</a></td> + <td><a href=pt>Portugal</a></td> + <td><a href=sm>San Marino</a></td> + </tr> + <tr> + <td><a href=sk>Slovakia</a></td> + <td><a href=si>Slovenia</a></td> + <td><a href=es>Spain</a></td> + <td><a href=va>Vatican City</a></td> + </tr> + </tbody> + </table> + </div> + </section> + + <section class="cl-section slant-up"> + <div> + <h2>Euro Banknotes</h2> + <table class=country-table> + <tbody> + <tr> + <td><a href=5>€5</a></td> + <td><a href=10>€10</a></td> + <td><a href=20>€20</a></td> + <td><a href=50>€50</a></td> + </tr> + <tr> + <td><a href=100>€100</a></td> + <td><a href=200>€200</a></td> + <td><a href=500>€500</a></td> + <td><a href=tn>Test Notes</a></td> + </tr> + </tbody> + </table> + </div> + </section> + + <section><!-- FOOTER --></section> + </main> + </body> +</html> diff --git a/src/de/euro/note-nav.html b/src/de/euro/note-nav.html new file mode 100644 index 0000000..1043191 --- /dev/null +++ b/src/de/euro/note-nav.html @@ -0,0 +1,10 @@ +<ul> + <li><a href=/XX/euro/5>€5</a></li> + <li><a href=/XX/euro/10>€10</a></li> + <li><a href=/XX/euro/20>€20</a></li> + <li><a href=/XX/euro/50>€50</a></li> + <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>Test Notes</a></li> +</ul> diff --git a/src/de/euro/notes.template.html b/src/de/euro/notes.template.html new file mode 100644 index 0000000..f15f087 --- /dev/null +++ b/src/de/euro/notes.template.html @@ -0,0 +1,87 @@ +<!DOCTYPE html> +<html lang=XX> + <head> + <meta charset=UTF-8 /> + <title>€<!-- DENOM --> Banknotes</title> + <link rel="shortcut icon" type="image/svg" href="/favicon.svg" /> + <link rel="stylesheet" type="text/css" href="/style.css" /> + </head> + + <body> + <nav> + <!-- NAV-BAR --> + <!-- NOTE-NAV --> + </nav> + + <main> + <section> + <header> + <h1>€<!-- DENOM --> Banknotes</h1> + </header> + </section> + + <br /><br /> + + <section><!-- TABLE-KEY --></section> + + <br /><br /> + + <section> + <p> + In the serial numbers of the banknotes found in the “Ages and Styles + of Europe” series, also known as the “2002” series, the first letter + represents the country that the banknote was issued by. In the second + series (the “Europa” series) the first letter no longer represents the + issuing country but instead the location at which the banknote was + printed. + <!-- IF-5 --> + <br /><br /> + No €5 banknotes were printed for the “Ages and Styles of Europe” + series which bear the signature of Mario Draghi. + <!-- FI-5 --> + <!-- IF-500 --> + <br /><br /> + The €500 banknote was discontinued and withdrawn from circulation with + the release of the “Europa” series. + <!-- FI-500 --> + </p> + </section> + + <br /> + + <section class="cl-section slant-down"> + <div> + <table class="coin-table bnote-table" cellspacing=0> + <thead> + <tr> + <th colspan=12>Ages and Styles of Europe</th> + </tr> + </thead> + <tbody> + <!-- 2002-TABLE-BODY --> + </tbody> + </table> + </div> + </section> + + <!-- IF-!500 --> + <section class="cl-section slant-down"> + <div> + <table class="coin-table bnote-table" cellspacing=0> + <thead> + <tr> + <th colspan=12>Europa Series</th> + </tr> + </thead> + <tbody> + <!-- EUROPA-TABLE-BODY --> + </tbody> + </table> + </div> + </section> + <!-- FI-!500 --> + + <section><!-- FOOTER --></section> + </main> + </body> +</html> diff --git a/src/de/euro/tnotes.template.html b/src/de/euro/tnotes.template.html new file mode 100644 index 0000000..982e1cf --- /dev/null +++ b/src/de/euro/tnotes.template.html @@ -0,0 +1,66 @@ +<!DOCTYPE html> +<html lang=XX> + <head> + <meta charset=UTF-8 /> + <title>Euro Test-Banknotes</title> + <link rel="shortcut icon" type="image/svg" href="/favicon.svg" /> + <link rel="stylesheet" type="text/css" href="/style.css" /> + </head> + + <body> + <nav> + <!-- NAV-BAR --> + <!-- NOTE-NAV --> + </nav> + + <main> + <section> + <header> + <h1>Euro Test-Banknotes</h1> + </header> + </section> + + <br /><br /> + + <section><!-- TABLE-KEY --></section> + + <br /><br /> + + <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. + </p> + </section> + + <br /> + + <section class="cl-section slant-down"> + <div> + <table id=test-banknote-table class=coin-table cellspacing=0> + <thead> + <tr> + <th colspan=2>Test Banknotes</th> + </tr> + <tr> + <th>Year</th> + <th>Serial Number</th> + </tr> + </thead> + <tbody> + <!-- TABLE-BODY --> + </tbody> + </table> + </div> + </section> + + <section><!-- FOOTER --></section> + </main> + </body> +</html> diff --git a/src/de/footer.html b/src/de/footer.html new file mode 100644 index 0000000..ca42706 --- /dev/null +++ b/src/de/footer.html @@ -0,0 +1,3 @@ +<p class=right-align> + Found a mistake or a bad translation? <a href=#>Contact me!</a> +</p> diff --git a/src/de/index.html b/src/de/index.html new file mode 100644 index 0000000..b81583d --- /dev/null +++ b/src/de/index.html @@ -0,0 +1,63 @@ +<!DOCTYPE html> +<html lang=XX> + <head> + <meta charset=UTF-8 /> + <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> + + <body> + <nav><!-- NAV-BAR --></nav> + + <main> + <section> + <header> + <h1>Thomas’ Euro Collection</h1> + <h6>…and some world stuff too!</h6> + </header> + </section> + + <section> + <p> + 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>Euro-Coins and -Banknotes</h2> + <p> + 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> + </section> + + <section class="c-section slant-up"> + <a href=#> + <h2>World-Coins and -Banknotes</h2> + <p> + 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>This section is currently unavailable.</em> + </p> + <img src="/globe.svg" /> + </a> + </section> + + <section><!-- FOOTER --></section> + </main> + </body> +</html> diff --git a/src/de/nav-bar.html b/src/de/nav-bar.html new file mode 100644 index 0000000..21e15ad --- /dev/null +++ b/src/de/nav-bar.html @@ -0,0 +1,12 @@ +<ul> + <!--<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>English</div> + <!-- LANG-SELECTOR --> + </li> +</ul> diff --git a/src/de/table-key.html b/src/de/table-key.html new file mode 100644 index 0000000..0868211 --- /dev/null +++ b/src/de/table-key.html @@ -0,0 +1,27 @@ +<table cellspacing=0 id=table-key> + <tr> + <td><div class=nifc></div></td> + <td>Missing from my collection (NIFC)</td> + </tr> + <tr> + <td><div class=have></div></td> + <td>In my collection</td> + </tr> + <tr> + <td><div class=have-nifc></div></td> + <td>In my collection (NIFC)</td> + </tr> + <tr> + <td><div class=unknown></div></td> + <td>Data missing</td> + </tr> + <tr> + <td><div class=not-minted></div></td> + <!-- IF-COINS --> + <td>Not minted</td> + <!-- FI-COINS --> + <!-- IF-NOTES --> + <td>Not printed</td> + <!-- FI-NOTES --> + </tr> +</table> diff --git a/src/language-selector.html b/src/language-selector.html index 96fb139..e5c1b61 100644 --- a/src/language-selector.html +++ b/src/language-selector.html @@ -1,4 +1,5 @@ <ul id=lang-dd> + <li><a href=/deXYZ>Deutsch</a></li> <li><a href=/enXYZ>English</a></li> <li><a href=/ptXYZ>Português</a></li> </ul> |