aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/templates/about.html.tmpl4
-rw-r--r--src/templates/banknotes-codes.html.tmpl8
-rw-r--r--src/templates/banknotes.html.tmpl19
-rw-r--r--src/templates/coins-designs-ad.html.tmpl86
-rw-r--r--src/templates/coins-designs-at.html.tmpl55
-rw-r--r--src/templates/coins-designs-be.html.tmpl48
-rw-r--r--src/templates/coins-designs-hr.html.tmpl77
-rw-r--r--src/templates/coins-designs.html.tmpl17
-rw-r--r--src/templates/coins.html.tmpl19
-rw-r--r--src/templates/language.html.tmpl12
10 files changed, 106 insertions, 239 deletions
diff --git a/src/templates/about.html.tmpl b/src/templates/about.html.tmpl
index b7b9026..11c0716 100644
--- a/src/templates/about.html.tmpl
+++ b/src/templates/about.html.tmpl
@@ -6,13 +6,13 @@
<main>
<h2>{{ .Get "Open Source" }}</h2>
<p>
- {{ .Get "This website is an open project, and a collaboration between developers, translators, and researchers. All source code, data, images, and more for the website are open source and can be found %(LinkGit:L)here%(-:E). This site is licensed under the %(LinkBSD:L)BSD Zero Clause License%(-:E) giving you the full freedom to do whatever you would like with any of the content on this site."
+ {{ .Get "This website is an open project, and a collaboration between developers, translators, and researchers. All source code, data, images, and more for the website are open source and can be found {LinkGit:L}here{-:E}. This site is licensed under the {LinkBSD:L}BSD Zero Clause License{-:E} giving you the full freedom to do whatever you would like with any of the content on this site."
(map "LinkGit" "https://git.thomasvoss.com/www.euro-cash.eu"
"LinkBSD" "https://opensource.org/license/0bsd") }}
</p>
<h2>{{ .Get "Contact Us" }}</h2>
<p>
- {{ .Get "While we try to stay as up-to-date as possible and to fact check our information, it is always possible that we get something wrong, lack a translation, or are missing some piece of data you may have. Should that be the case, don’t hesitate to contact us; we’ll try to get the site updated or fixed as soon as possible. You are always free to contribute via a git patch if you are more technically inclined, but if not you can always send an email to %(Email:e) or contact ‘@onetruemangoman’ on Discord."
+ {{ .Get "While we try to stay as up-to-date as possible and to fact check our information, it is always possible that we get something wrong, lack a translation, or are missing some piece of data you may have. Should that be the case, don’t hesitate to contact us; we’ll try to get the site updated or fixed as soon as possible. You are always free to contribute via a git patch if you are more technically inclined, but if not you can always send an email to {Email:e} or contact ‘@onetruemangoman’ on Discord."
(map "Email" "mail@euro-cash.eu") }}
</p>
<h2>{{ .Get "Special Thanks" }}</h2>
diff --git a/src/templates/banknotes-codes.html.tmpl b/src/templates/banknotes-codes.html.tmpl
index 5e4eb47..9136c32 100644
--- a/src/templates/banknotes-codes.html.tmpl
+++ b/src/templates/banknotes-codes.html.tmpl
@@ -18,8 +18,8 @@
<details>
<summary>{{ .Get "2002 Series Printer Codes" }}</summary>
<p>
- {{ .Get "All these images are taken from %(Link:r)."
- (map "Link" `<a href="https://eurobilltracker.com" target="_blank">eurobilltracker.com</a>`) }}
+ {{ .Get "All these images are taken from {Link:L}eurobilltracker.com{-:E}."
+ (map "Link" "https://eurobilltracker.com") }}
</p>
{{ template "banknotes/codes/code-pos" (tuple .Printer 5 "2002") }}
{{ template "banknotes/codes/code-pos" (tuple .Printer 10 "2002") }}
@@ -309,11 +309,11 @@
{{ $args := (map "N" $d) }}
<details>
{{/* TRANSLATORS: As in ‘5 Euro Banknote’ */}}
- <summary>{{ $p.GetN "%(N) Euro" "%(N) Euro" $d $args }}</summary>
+ <summary>{{ $p.GetN "{N} Euro" "{N} Euro" $d $args }}</summary>
<img
class="big"
src={{ sprintf "/codes/%s-%03d.jpg" (index . 2) $d }}
- alt={{ $p.GetN "Printer code on a %(N) euro bill" "Printer code on a %(N) euro bill" $d $args }}
+ alt={{ $p.GetN "Printer code on a {N} euro bill" "Printer code on a {N} euro bill" $d $args }}
>
</details>
{{ end }} \ No newline at end of file
diff --git a/src/templates/banknotes.html.tmpl b/src/templates/banknotes.html.tmpl
index 1a171db..7349dcf 100644
--- a/src/templates/banknotes.html.tmpl
+++ b/src/templates/banknotes.html.tmpl
@@ -1,14 +1,11 @@
{{ define "content" }}
<header>
{{ template "navbar" . }}
- <h1>{{ .T "Euro Banknotes" }}</h1>
+ <h1>{{ .Get "Euro Banknotes" }}</h1>
</header>
<main>
<p>
- {{ .T `
- On this section of the site you can find everything there is to
- know about the banknotes of the Eurozone.
- ` }}
+ {{ .Get "On this section of the site you can find everything there is to know about the banknotes of the Eurozone." }}
</p>
<hr>
<section>
@@ -16,30 +13,30 @@
<a class="no-deco" href="/banknotes/designs">
<article>
<header>
- <h3>{{ .T "Designs" }}</h3>
+ <h3>{{ .Get "Designs" }}</h3>
</header>
<main>
- {{ .T "View the different Euro-note designs!" }}
+ {{ .Get "View the different Euro-note designs!" }}
</main>
</article>
</a>
<a class="no-deco" href="/banknotes/codes">
<article>
<header>
- <h3>{{ .T "Location Codes" }}</h3>
+ <h3>{{ .Get "Location Codes" }}</h3>
</header>
<main>
- {{ .T "Find out where your notes were printed!" }}
+ {{ .Get "Find out where your notes were printed!" }}
</main>
</article>
</a>
<a class="no-deco" href="/banknotes/test">
<article>
<header>
- <h3>{{ .T "Test Notes" }}</h3>
+ <h3>{{ .Get "Test Notes" }}</h3>
</header>
<main>
- {{ .T "Learn about the special test notes!" }}
+ {{ .Get "Learn about the special test notes!" }}
</main>
</article>
</a>
diff --git a/src/templates/coins-designs-ad.html.tmpl b/src/templates/coins-designs-ad.html.tmpl
index 20199bb..ab27555 100644
--- a/src/templates/coins-designs-ad.html.tmpl
+++ b/src/templates/coins-designs-ad.html.tmpl
@@ -1,91 +1,51 @@
{{ define "content" }}
<header>
{{ template "navbar" . }}
- <h1>{{ .T "Andorran Euro Coin Designs" }}</h1>
+ <h1>{{ .Get "Andorran Euro Coin Designs" }}</h1>
</header>
<main>
<div class="design-container">
- <img alt="Andorran 1 euro cent coin" src="/designs/ad-001.avif" />
- <img alt="Andorran 50 euro cent coin" src="/designs/ad-050.avif" />
+ <img alt="{{ .Get `Andorran €0.01 coin` }}" src="/designs/ad-001.avif" />
+ <img alt="{{ .Get `Andorran €0.50 coin` }}" src="/designs/ad-050.avif" />
</div>
<div class="design-container">
- <img alt="Andorran 1 euro coin" src="/designs/ad-100.avif" />
- <img alt="Andorran 2 euro coin" src="/designs/ad-200.avif" />
+ <img alt="{{ .Get `Andorran €1 coin` }}" src="/designs/ad-100.avif" />
+ <img alt="{{ .Get `Andorran €2 coin` }}" src="/designs/ad-200.avif" />
</div>
<p>
- {{ .T `
- On March of 2013 Andorra held a public design competition for all
- denominations except for the €2 denomination which the government
- pre-decided would bear the coat of arms of Andorra. Each set of
- denominations had a theme that participants had to center their
- designs around. These themes were:
- ` }}
+ {{ .Get "On March of 2013 Andorra held a public design competition for all denominations except for the €2 denomination which the government pre-decided would bear the coat of arms of Andorra. Each set of denominations had a theme that participants had to center their designs around. These themes were:" }}
</p>
<dl>
- <dt>{{ .T "%s, %s, and %s"
- (.Printer.M 0.01)
- (.Printer.M 0.02)
- (.Printer.M 0.05) }}</dt>
- <dd>{{ .T "Andorran landscapes, nature, fauna, and flora" }}</dd>
- <dt>{{ .T "%s, %s, and %s"
- (.Printer.M 0.10)
- (.Printer.M 0.20)
- (.Printer.M 0.50) }}</dt>
- <dd>{{ .T "Andorra’s Romanesque art" }}</dd>
- <dt>{{ .Printer.M 1.00 }}</dt>
- <dd>{{ .T "Casa de la Vall" }}</dd>
+ <dt>{{ .Get "€0.01, €0.02 and €0.05" }}</dt>
+ <dd>{{ .Get "Andorran landscapes, nature, fauna and flora" }}</dd>
+ <dt>{{ .Get "€0.10, €0.20 and €0.50" }}</dt>
+ <dd>{{ .Get "Andorra’s Romanesque art" }}</dd>
+ <dt>{{ .Printer.Sprintf "{1e:m}" (map "1e" 1.00) }}</dt>
+ <dd>{{ .Get "Casa de la Vall" }}</dd>
</dl>
<p>
- {{ .T `
- The results of the design contest with a few modifications are what
- became the coins that entered circulation in 2014. While each set
- of denominations has its own design, all four designs prominently
- feature the country name ‘ANDORRA’ along the outer portion of the
- design with the year of issue written underneath.
- ` }}
+ {{ .Get "The results of the design contest with a few modifications are what became the coins that entered circulation in 2014. While each set of denominations has its own design, all four designs prominently feature the country name ‘ANDORRA’ along the outer portion of the design with the year of issue written underneath." }}
</p>
<p>
- {{ .T `
- The Andorran 1-, 2-, and 5 euro cent coins all feature the same
- design of a Pyrenean chamois in the center of the coin with a
- golden eagle flying above. Both animals are native to Andorra as
- well as the surrounding regions of France and Spain.
- ` }}
+ {{ .Get "The Andorran 1-, 2-, and 5 euro cent coins all feature the same design of a Pyrenean chamois in the center of the coin with a golden eagle flying above. Both animals are native to Andorra as well as the surrounding regions of France and Spain." }}
</p>
<p>
<!-- TODO: Can we find a photo of the rejected design with a source? -->
- {{ .T `
- The Andorran golden cents feature the Romanesque church of Santa
- Coloma. The church is the oldest in Andorra, dating back to the
- 9th century and is a UNESCO World Heritage site. Originally these
- coins were planned to depict an image of Christ, but that plan
- failed to go through after objections from the European Commission
- on grounds of religious neutrality on August 2013.
- ` }}
+ {{ .Get "The Andorran golden cents feature the Romanesque church of Santa Coloma. The church is the oldest in Andorra, dating back to the 9th century and is a UNESCO World Heritage site. Originally these coins were planned to depict an image of Christ, but that plan failed to go through after objections from the European Commission on grounds of religious neutrality on August 2013." }}
</p>
<p>
- {{ .T `
- The 1 Euro coin features the Case de la Vall: the former
- headquarters of the General Council of Andorra. It was constructed
- in 1580 as a manor and tower defense by the Busquets family.
- ` }}
+ {{ .Get "The 1 Euro coin features the Case de la Vall: the former headquarters of the General Council of Andorra. It was constructed in 1580 as a manor and tower defense by the Busquets family." }}
</p>
<p>
- {{ .T `
- Finally, the 2 Euro coin features the coat of arms of Andorra. The
- Andorran coat of arms is a grid of 4 other coats of arms which from
- top-to-bottom, left-to-right are:
- ` }}
+ {{ .Get "Finally, the 2 Euro coin features the coat of arms of Andorra. The Andorran coat of arms is a grid of 4 other coats of arms which from top-to-bottom, left-to-right are:" }}
<ul>
- <li>The arms of the Bishop of Urgell</li>
- <li>The arms of the Count of Foix</li>
- <li>The arms of Catalonia</li>
- <li>The arms of the Viscounts of Béarn</li>
+ <li>{{ .Get "The arms of the Bishop of Urgell" }}</li>
+ <li>{{ .Get "The arms of the Count of Foix" }}</li>
+ <li>{{ .Get "The arms of Catalonia" }}</li>
+ <li>{{ .Get "The arms of the Viscounts of Béarn" }}</li>
</ul>
- {{ .T `
- The bottom of the coat of arms has the motto ‘%sVIRTVS VNITA
- FORTIOR%s’ (‘UNITED VIRTUE IS STRONGER’).
- ` `<span lang="la">` `</span>` | safe }}
+ {{ .Get "The bottom of the coat of arms has the motto ‘{LatinStart:r}VIRTVS VNITA FORTIOR{LatinEnd:r}’ (English: ‘UNITED VIRTUE IS STRONGER’)."
+ (map "LatinStart" `<span lang="la"><em>` "LatinEnd" `</em></span>`) }}
</p>
</main>
{{ end }} \ No newline at end of file
diff --git a/src/templates/coins-designs-at.html.tmpl b/src/templates/coins-designs-at.html.tmpl
index 9f87d5f..b439629 100644
--- a/src/templates/coins-designs-at.html.tmpl
+++ b/src/templates/coins-designs-at.html.tmpl
@@ -1,59 +1,36 @@
{{ define "content" }}
<header>
{{ template "navbar" . }}
- <h1>{{ .T "Austrian Euro Coin Designs" }}</h1>
+ <h1>{{ .Get "Austrian Euro Coin Designs" }}</h1>
</header>
<main>
<p>
- {{ .T `
- The Austrian euro coins can be grouped into three different themes.
- The bronze coins feature Austrian flowers, the gold coins feature
- Austrian architecture, and the bimetalic coins feature famous
- Austrian people. All coins also feature an Austrian flag as well
- as the coins denomination. These coins together with the %sGreek
- euro coins%s are the only coins that feature the denomination on both
- the common- and national-sides of the coin.`
- `<a href="gr">` `</a>` | safe
- }}
+ {{ .Get "The Austrian euro coins can be grouped into three different themes. The bronze coins feature Austrian flowers, the gold coins feature Austrian architecture, and the bimetalic coins feature famous Austrian people. All coins also feature an Austrian flag as well as the coins denomination. These coins together with the {Link:l}Greek euro coins{-:E} are the only coins that feature the denomination on both the common- and national-sides of the coin."
+ (map "Link" "gr") }}
</p>
+
<div class="design-container">
- <img alt="Austrian 1 euro cent coin" src="/designs/at-001.avif">
- <img alt="Austrian 2 euro cent coin" src="/designs/at-002.avif">
- <img alt="Austrian 5 euro cent coin" src="/designs/at-005.avif">
+ <img alt="{{ .Get `Austrian €0.01 coin` }}" src="/designs/at-001.avif">
+ <img alt="{{ .Get `Austrian €0.02 coin` }}" src="/designs/at-002.avif">
+ <img alt="{{ .Get `Austrian €0.05 coin` }}" src="/designs/at-005.avif">
</div>
<p>
- {{ .T `
- The bronze coins feature the Alpine gentian, -edelweiss, and
- -primrose respectively, and were chosen to symbolize the role that
- Austria played in the development of EU environmental policy.
- ` }}
+ {{ .Get "The bronze coins feature the Alpine gentian, -edelweiss, and -primrose respectively, and were chosen to symbolize the role that Austria played in the development of EU environmental policy." }}
</p>
<div class="design-container">
- <img alt="Austrian 10 euro cent coin" src="/designs/at-010.avif">
- <img alt="Austrian 20 euro cent coin" src="/designs/at-020.avif">
- <img alt="Austrian 50 euro cent coin" src="/designs/at-050.avif">
+ <img alt="{{ .Get `Austrian €0.10 coin` }}" src="/designs/at-010.avif">
+ <img alt="{{ .Get `Austrian €0.20 coin` }}" src="/designs/at-020.avif">
+ <img alt="{{ .Get `Austrian €0.50 coin` }}" src="/designs/at-050.avif">
</div>
<p>
- {{ .T `
- The €0.10 coin features St. Stephen’s Cathedral. It symbolises the
- Viennese Gothic architectural style dating to around the year 1160.
- The €0.20 coin features Belvedere Palace. This is an example of
- Baroque architecture and symbolises the national freedom and
- sovereignty of Austria. The final gold coin — the €0.50 coin —
- features the Secession Building: an exhibition hall in the Art
- Nouveau style.
- ` }}
+ {{ .Get "The €0.10 coin features St. Stephen’s Cathedral. It symbolises the Viennese Gothic architectural style dating to around the year 1160. The €0.20 coin features Belvedere Palace. This is an example of Baroque architecture and symbolises the national freedom and sovereignty of Austria. The final gold coin — the €0.50 coin — features the Secession Building: an exhibition hall in the Art Nouveau style." }}
</p>
<div class="design-container">
- <img alt="Austrian 1 euro coin" src="/designs/at-100.avif">
- <img alt="Austrian 2 euro coin" src="/designs/at-200.avif">
+ <img alt="{{ .Get `Austrian €1 coin` }}" src="/designs/at-100.avif">
+ <img alt="{{ .Get `Austrian €2 coin` }}" src="/designs/at-200.avif">
</div>
<p>
- {{ .T `
- The two bimetallic coins feature the busts of the musical composer
- Wolfgang Amadeus Mozarts on the €1 coin, and the Austrian pacifist
- and Nobel Peace Prize winner Bertha von Suttner.
- ` }}
+ {{ .Get "The two bimetallic coins feature the busts of the musical composer Wolfgang Amadeus Mozarts on the €1 coin, and the Austrian pacifist and Nobel Peace Prize winner Bertha von Suttner." }}
</p>
</main>
-{{ end }}
+{{ end }} \ No newline at end of file
diff --git a/src/templates/coins-designs-be.html.tmpl b/src/templates/coins-designs-be.html.tmpl
index 4dcd325..b8fb0ef 100644
--- a/src/templates/coins-designs-be.html.tmpl
+++ b/src/templates/coins-designs-be.html.tmpl
@@ -1,46 +1,32 @@
{{ define "content" }}
<header>
{{ template "navbar" . }}
- <h1>{{ .T "Belgian Euro Coin Designs" }}</h1>
+ <h1>{{ .Get "Belgian Euro Coin Designs" }}</h1>
</header>
<main>
<div class="design-container">
- <img alt="Belgian 1 euro coin" src="/designs/be-100-albert-1.avif">
- <img alt="Belgian 1 euro coin" src="/designs/be-100-albert-2.avif">
- <img alt="Belgian 1 euro coin" src="/designs/be-100-philippe.avif">
+ <img
+ alt="{{ .Get `Belgian €1 coin (King Albert; Series 1)` }}"
+ src="/designs/be-100-albert-1.avif"
+ >
+ <img
+ alt="{{ .Get `Belgian €1 coin (King Albert; Series 2)` }}"
+ src="/designs/be-100-albert-2.avif"
+ >
+ <img
+ alt="{{ .Get `Belgian €1 coin (King Philippe)` }}"
+ src="/designs/be-100-philippe.avif"
+ >
</div>
<p>
- {{ .T `
- Since 1999 Belgium has released three series of euro coins,
- which each series having a single design repeated on all
- denominations. Starting in 1999 the Belgian euro coins
- featured the portrait of King Albert II with the %sroyal
- monogram%s in the outer ring of the coins.
- `
- `<a
- target="_blank"
- href="https://www.wikipedia.org/wiki/Royal_cypher"
- >`
- `</a>` | safe }}
+ {{ .Get "Since 1999 Belgium has released three series of euro coins, with each series having a single design repeated on all denominations. Starting in 1999 the Belgian euro coins featured the portrait of King Albert II with the {Link:L}royal monogram{-:E} in the outer ring of the coins."
+ (map "Link" "https://www.wikipedia.org/wiki/Royal_cypher") }}
</p>
<p>
- {{ .T `
- In 2008 a second series of coins was released featuring a
- slightly-modified design in which the royal monogram was
- moved to the inner portion of the coin along with the year of
- mintage in order to comply with the European Commission’s
- guidelines. The country code ‘BE’ was also added to the
- design underneath the royal monogram.
- ` }}
+ {{ .Get "In 2008 a second series of coins was released featuring a slightly modified design in which the royal monogram was moved to the inner portion of the coin along with the year of mintage in order to comply with the European Commission’s guidelines. The country code ‘BE’ was also added to the design underneath the royal monogram." }}
</p>
<p>
- {{ .T `
- After his accession to the throne Belgium began a third
- series of coins in 2014 featuring the portrait of King
- Philippe. As is customary with coins bearing the portraits
- of monarchs, the direction in which the portrait faces was
- flipped to face right instead of left.
- ` }}
+ {{ .Get "After his accession to the throne, Belgium began a third series of coins in 2014 featuring the portrait of King Philippe. As is customary with coins bearing the portraits of monarchs, the direction in which the portrait faces was flipped to face right instead of left." }}
</p>
</main>
{{ end }} \ No newline at end of file
diff --git a/src/templates/coins-designs-hr.html.tmpl b/src/templates/coins-designs-hr.html.tmpl
index 8b6976f..3c8fae5 100644
--- a/src/templates/coins-designs-hr.html.tmpl
+++ b/src/templates/coins-designs-hr.html.tmpl
@@ -1,83 +1,38 @@
{{ define "content" }}
<header>
{{ template "navbar" . }}
- <h1>{{ .T "Croatian Euro Coin Designs" }}</h1>
+ <h1>{{ .Get "Croatian Euro Coin Designs" }}</h1>
</header>
<main>
- {{ $croatianStart := `<span lang="hr">` }}
- {{ $croatianEnd := `</span>` }}
-
+ {{ $hrargs := (map "CroatianStart" `<span lang="hr"><em>` "CroatianEnd" `</em></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" />
+ <img alt="{{ .Get `Croatian €0.01 coin` }}" src="/designs/hr-001.avif" />
+ <img alt="{{ .Get `Croatian €0.50 coin` }}" src="/designs/hr-050.avif" />
</div>
<div class="design-container">
- <img alt="Croatian 1 euro coin" src="/designs/hr-100.avif" />
- <img alt="Croatian 2 euro coin" src="/designs/hr-200.avif" />
+ <img alt="{{ .Get `Croatian €1 coin` }}" src="/designs/hr-100.avif" />
+ <img alt="{{ .Get `Croatian €2 coin` }}" src="/designs/hr-200.avif" />
</div>
<p>
- {{ .T `
- The Croatian euro coins feature four different themes, with
- 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.
- ` $croatianStart $croatianEnd | safe }}
+ {{ .Get "The Croatian euro coins feature four different themes, with each design featuring the Croatian checkerboard and the country’s name in Croatian (‘{CroatianStart:r}HRVATSKA{CroatianEnd:r}’). All designs were selected after voting in a public design competition."
+ $hrargs }}
</p>
<p>
- {{ .T `
- The 1-, 2-, and 5 euro cent coins were designed by Maja
- Škripelj and feature a motif of the letters ‘ⰘⰓ’ from the
- %sGlagolitic script%s — an old Slavic script that saw use in
- Croatia up until the 19th century — representing Croatia’s country
- code (‘HR’ in the Latin alphabet).`
- `<a
- target="_blank"
- href="https://www.wikipedia.org/wiki/Glagolitic_script"
- >`
- `</a>` | safe
- }}
+ {{ .Get "The 1-, 2- and 5 euro cent coins were designed by Maja Škripelj and feature a motif of the letters ‘ⰘⰓ’ from the {Link:L}Glagolitic script{-:E} — an old Slavic script that saw use in Croatia up until the 19th century — representing Croatia’s country code (‘HR’ in the Latin alphabet)."
+ (map "Link" "https://www.wikipedia.org/wiki/Glagolitic_script") }}
</p>
<p>
- {{ .T `
- The 10-, 20-, and 50 euro cent coins were designed by Ivan
- Domagoj Račić and feature the portrait of the inventor and
- engineer %sNikola Tesla%s. The design of these coins caused
- controversy when they were first announced with the National
- Bank of Serbia claiming that it would be an appropriation of
- the cultural and scientific heritage of the Serbian people to
- feature the portrait of someone who ‘declared himself to be
- Serbian by origin’.`
- `<a
- target="_blank"
- href="https://www.wikipedia.org/wiki/Nikola_Tesla"
- >`
- `</a>` | safe
- }}
+ {{ .Get "The 10-, 20- and 50 euro cent coins were designed by Ivan Domagoj Račić and feature the portrait of the inventor and engineer {Link:L}Nikola Tesla{-:E}. The design of these coins caused controversy when they were first announced with the National Bank of Serbia claiming that it would be an appropriation of the cultural and scientific heritage of the Serbian people to feature the portrait of someone who ‘declared himself to be Serbian by origin’."
+ (map "Link" "https://www.wikipedia.org/wiki/Nikola_Tesla") }}
</p>
<p>
- {{ .T `
- The 1 euro coin was designed by Jagor Šunde, David Čemeljić
- and Fran Zekan and features a marten. The marten is the
- semi-official national animal of Croatia and the Kuna —
- their pre-Euro currency — was named after the marten (‘%skuna
- zlatica%s’ in Croatian).
- ` $croatianStart $croatianEnd | safe }}
+ {{ .Get "The 1 euro coin was designed by Jagor Šunde, David Čemeljić and Fran Zekan and features a marten. The marten is the semi-official national animal of Croatia and the Kuna — their pre-Euro currency — was named after the marten (‘{CroatianStart:r}kuna zlatica{CroatianEnd:r}’ in Croatian)."
+ $hrargs }}
</p>
<p>
<!-- TODO: Include a photo of the edge inscription -->
- {{ .T `
- The 2 euro coin was designed by Ivan Šivak and features the
- map of Croatia. The coin also has an edge-inscription that
- 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ć.
- ` $croatianStart $croatianEnd
- `<a
- target="_blank"
- href="https://www.wikipedia.org/wiki/Dubravka_(drama)"
- lang="hr"
- >`
- `</a>` | safe }}
+ {{ .Get "The 2 euro coin was designed by Ivan Šivak and features the map of Croatia. The coin also has an edge-inscription that reads ‘{CroatianStart:r}O LIJEPA O DRAGA O SLATKA SLOBODO{CroatianEnd:r}’ (English: ‘OH BEAUTIFUL, OH DEAR, OH SWEET FREEDOM’) which is a line from the play {Link:L}Dubravka{-:E} by Ivan Gundulić."
+ $hrargs (map "Link" "https://www.wikipedia.org/wiki/Dubravka_(drama)") }}
</p>
</main>
{{ end }} \ No newline at end of file
diff --git a/src/templates/coins-designs.html.tmpl b/src/templates/coins-designs.html.tmpl
index 05ff440..8cd8c84 100644
--- a/src/templates/coins-designs.html.tmpl
+++ b/src/templates/coins-designs.html.tmpl
@@ -1,17 +1,12 @@
{{ define "content" }}
<header>
{{ template "navbar" . }}
- <h1>{{ .T "Euro Coin Designs" }}</h1>
+ <h1>{{ .Get "Euro Coin Designs" }}</h1>
</header>
<main>
<p>
- {{ .T `
- Here you’ll be able to view all the coin designs for each country
- in the Eurozone. This section of the site doesn’t include minor
- varieties such as different mintmarks or errors; those are on the
- %svarieties%s page.`
- `<a href="/coins/varieties">` `</a>` | safe
- }}
+ {{ .Get "Here you’ll be able to view all the coin designs for each country in the Eurozone. This section of the site doesn’t include minor varieties such as different mintmarks or errors; those are on the {Link:l}varieties{-:E} page."
+ (map "Link" "/coins/varieties") }}
</p>
<hr />
<div class="country-grid">
@@ -19,11 +14,11 @@
{{ range .Countries }}
<a
class="outline"
- data-code={{ toUpper .Code }}
+ data-code="{{ toUpper .Code }}"
role="button"
- href=/coins/designs/{{ .Code }}
+ href="/coins/designs/{{ .Code }}"
>
- {{ $p.T .Name }}
+ {{ $p.Get .Name }}
</a>
{{ end }}
</div>
diff --git a/src/templates/coins.html.tmpl b/src/templates/coins.html.tmpl
index 481771c..6fbdf15 100644
--- a/src/templates/coins.html.tmpl
+++ b/src/templates/coins.html.tmpl
@@ -1,14 +1,11 @@
{{ define "content" }}
<header>
{{ template "navbar" . }}
- <h1>{{ .T "Euro Coins" }}</h1>
+ <h1>{{ .Get "Euro Coins" }}</h1>
</header>
<main>
<p>
- {{ .T `
- On this section of the site you can find everything there is to
- know about the coins of the Eurozone.
- ` }}
+ {{ .Get "On this section of the site you can find everything there is to know about the coins of the Eurozone." }}
</p>
<hr />
<section>
@@ -16,30 +13,30 @@
<a class="no-deco" href="/coins/designs">
<article>
<header>
- <h3>{{ .T "Designs" }}</h3>
+ <h3>{{ .Get "Designs" }}</h3>
</header>
<main>
- {{ .T "View the 600+ different Euro-coin designs!" }}
+ {{ .Get "View the 600+ different Euro-coin designs!" }}
</main>
</article>
</a>
<a class="no-deco" href="/coins/mintages">
<article>
<header>
- <h3>{{ .T "Mintages" }}</h3>
+ <h3>{{ .Get "Mintages" }}</h3>
</header>
<main>
- {{ .T "View the mintage figures of all the Euro coins!" }}
+ {{ .Get "View the mintage figures of all the Euro coins!" }}
</main>
</article>
</a>
<a class="no-deco" href="/coins/varieties">
<article>
<header>
- <h3>{{ .T "Varieties" }}</h3>
+ <h3>{{ .Get "Varieties" }}</h3>
</header>
<main>
- {{ .T "View all the known Euro varieties!" }}
+ {{ .Get "View all the known Euro varieties!" }}
</main>
</article>
</a>
diff --git a/src/templates/language.html.tmpl b/src/templates/language.html.tmpl
index ee66bf8..f4b240a 100644
--- a/src/templates/language.html.tmpl
+++ b/src/templates/language.html.tmpl
@@ -1,21 +1,21 @@
{{ define "content" }}
<header>
{{ template "navbar" . }}
- <h1>{{ .T "Select Your Language" }}</h1>
+ <h1>{{ .Get "Select Your Language" }}</h1>
</header>
<main>
<p>
- {{ .T "Select your preferred language to use on the site." }}
+ {{ .Get "Select your preferred language to use on the site." }}
</p>
<p>
If you are an American user, it’s suggested that you select
American English instead of British English. This will ensure that
- dates will be formatted with the month before the day.
+ dates will be formatted with the month before the day.
</p>
<hr />
- <h2>{{ .T "Eurozone Languages" }}</h2>
+ <h2>{{ .Get "Eurozone Languages" }}</h2>
{{ template "langgrid" true }}
- <h2>{{ .T "Other Languages" }}</h2>
+ <h2>{{ .Get "Other Languages" }}</h2>
{{ template "langgrid" false }}
</main>
{{ end }}
@@ -45,4 +45,4 @@
{{ end }}
</div>
</form>
-{{ end }}
+{{ end }} \ No newline at end of file