summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-10-21 21:32:28 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-10-21 21:32:28 +0200
commitc55f1588ffbdf312a71b0170538d01c2445c7cd1 (patch)
tree8123b51eee394bedb5721a6046fc4eab18b3eff1
parent47cb16fb2210230b51a0dac0566e4517837fb501 (diff)
Add more language tags
-rw-r--r--src/templates/coins-designs-ad.html.tmpl6
-rw-r--r--src/templates/coins-designs-hr.html.tmpl9
-rw-r--r--src/templates/coins-designs-nl.html.tmpl20
3 files changed, 22 insertions, 13 deletions
diff --git a/src/templates/coins-designs-ad.html.tmpl b/src/templates/coins-designs-ad.html.tmpl
index 23d3a43..1effaeb 100644
--- a/src/templates/coins-designs-ad.html.tmpl
+++ b/src/templates/coins-designs-ad.html.tmpl
@@ -83,9 +83,9 @@
<li>The arms of the Viscounts of Béarn</li>
</ul>
{{ .T `
- The bottom of the coat of arms has the motto ‘VIRTVS VNITA FORTIOR’
- (‘UNITED VIRTUE IS STRONGER’).
- ` }}
+ The bottom of the coat of arms has the motto ‘%sVIRTVS VNITA
+ FORTIOR%s’ (‘UNITED VIRTUE IS STRONGER’).
+ ` `<span lang="la">` `</span>` }}
</p>
</main>
{{ end }}
diff --git a/src/templates/coins-designs-hr.html.tmpl b/src/templates/coins-designs-hr.html.tmpl
index 4fd625c..b6333ba 100644
--- a/src/templates/coins-designs-hr.html.tmpl
+++ b/src/templates/coins-designs-hr.html.tmpl
@@ -4,6 +4,9 @@
<h1>{{ .T "Croatian Euro Coin Designs" }}</h1>
</header>
<main>
+ {{ $croatianStart := `<span lang="hr">` }}
+ {{ $croatianEnd := `</span>` }}
+
<div class="design-container">
<img alt="Croatian 1 euro cent coin" src="/designs/hr-001.avif" />
<img alt="Croatian 50 euro cent coin" src="/designs/hr-050.avif" />
@@ -18,7 +21,7 @@
each design featuring the Croatian checkerboard and the
countries name in Croatian (‘%sHRVATSKA%s’). All designs
were selected after voting in a public design competition.
- ` `<span lang="hr">` `</span>` | safe }}
+ ` $croatianStart $croatianEnd | safe }}
</p>
<p>
{{ .T `
@@ -58,7 +61,7 @@
semi-official national animal of Croatia and the Kuna —
their pre-Euro currency — was named after the marten (‘%skuna
zlatica%s’ in Croatian).
- ` `<span lang="hr">` `</span>` | safe }}
+ ` $croatianStart $croatianEnd | safe }}
</p>
<p>
<!-- TODO: Include a photo of the edge inscription -->
@@ -68,7 +71,7 @@
reads ‘%sO LIJEPA O DRAGA O SLATKA SLOBODO%s’ (‘OH BEAUTIFUL,
OH DEAR, OH SWEET FREEDOM’) which is a line from the play
%sDubravka%s by Ivan Gundulić.
- ` `<span lang="hr">` `</span>`
+ ` $croatianStart $croatianEnd
`<a
target="_blank"
href="https://www.wikipedia.org/wiki/Dubravka_(drama)"
diff --git a/src/templates/coins-designs-nl.html.tmpl b/src/templates/coins-designs-nl.html.tmpl
index 4102bb5..2395480 100644
--- a/src/templates/coins-designs-nl.html.tmpl
+++ b/src/templates/coins-designs-nl.html.tmpl
@@ -4,6 +4,8 @@
<h1>{{ .T "Dutch Euro Coin Designs" }}</h1>
</header>
<main>
+ {{ $dutchStart := `<span lang="nl">` }}
+ {{ $dutchEnd := `</span>` }}
<div class="design-container">
<img
alt="Dutch 50 euro cent coin (Beatrix)"
@@ -38,13 +40,17 @@
<p>
<!-- TODO: Get a picture of the edge-inscription -->
{{ .T `
- Coins featuring both monarchs contain text reading ‘BEATRIX
- KONINGIN DER NEDERLANDEN’ (‘BEATRIX QUEEN OF THE
- NETHERLANDS’) and ‘Willem-Alexander Koning der Nederlanden’
- (‘Willem-Alexander King of the Netherlands’) respectively.
- The €2 coins also feature an edge-inscription reading
- ‘%sGOD ⋆ ZIJ ⋆ MET ⋆ ONS ⋆%s’ (‘GOD ⋆ IS ⋆ WITH ⋆ US ⋆’).
- ` `<span lang="nl">` `</span>` | safe }}
+ Coins featuring both monarchs contain text reading ‘%sBEATRIX
+ KONINGIN DER NEDERLANDEN%s’ (‘BEATRIX QUEEN OF THE
+ NETHERLANDS’) and ‘%sWillem-Alexander Koning der
+ Nederlanden%s’ (‘Willem-Alexander King of the Netherlands’)
+ respectively. The €2 coins also feature an edge-inscription
+ reading ‘%sGOD ⋆ ZIJ ⋆ MET ⋆ ONS ⋆%s’
+ (‘GOD ⋆ IS ⋆ WITH ⋆ US ⋆’).
+ `
+ $dutchStart $dutchEnd
+ $dutchStart $dutchEnd
+ $dutchStart $dutchEnd | safe }}
</p>
<p>
{{ .T `