From 334a4ffe59286c0ca1d605b9a89155cbf2aa1eae Mon Sep 17 00:00:00 2001
From: Thomas Voss
`)
+ bob.WriteString(`
')
bob.WriteString(string(trans))
bob.WriteString("")
}
bob.WriteString("")
- bob.WriteString(tag)
+ bob.WriteString(name)
bob.WriteByte('>')
return template.HTML(bob.String())
}
diff --git a/src/templates/coins-designs-ee.html.tmpl b/src/templates/coins-designs-ee.html.tmpl
index 53cb35b..5f41f29 100644
--- a/src/templates/coins-designs-ee.html.tmpl
+++ b/src/templates/coins-designs-ee.html.tmpl
@@ -1,5 +1,52 @@
{{ define "header" }}
{{ template "header-navbar" . }}
+
+
{{ end }}
{{ define "content" }}
@@ -23,7 +70,7 @@
(map "Link" (.Printer.Wikipedia "Eurovision Song Contest")) }}
- {{ .Get "In June 2004 a public design competition was announced with a deadline for the 19th of October. In total 134 designs were submitted by the deadline and 10 designs were selected by a jury. These 10 designs were then voted on in a public vote over the course of one week. In total 45,453 people voted and the current design won with a total of 12,482 votes (27.46%)." }} + {{ .Get "In June 2004 a public design competition was announced with a deadline for the 19th of October. A total of 134 designs were submitted by the deadline and of these submissions, 10 were picked by a jury to partake in the public vote over the course of one week. In total, 45,453 people voted and the current design won with a total of 12,482 votes (27.46%)." }}
{{ .Get "The winner of the contest was awarded 50,000 KR (€3,196) while the other finalists were each awarded 20,000 KR (€1,278)." }} @@ -32,7 +79,7 @@ -
{{ .Get "Position" }} | @@ -42,93 +89,95 @@{{ .Get "Author(s)" }} | {{ .Get "Votes" }} | -{{ .Get "Votes (%)" }} | +{{ .Get "Votes (%)" }} | |||||
---|---|---|---|---|---|---|---|---|---|
1 | +1 | {{/* TRANSLATORS: Name of a coin design. Don’t translate unless you use a non-latin script */}} - {{ withTranslation "td" "et" "Hara 2" - (.Get "Hara 2") }} -{{ .Get "Lembit Lõhmus" }} | -{{ .Printer.Itoa 12482 }} | -{{ .Printer.Ftop 27.46 }} | + {{ withTranslation $tag "et" "Hara 2" + (.Get "Hara 2") $attr }} +{{ .Get "Lembit Lõhmus" }} | +{{ .Printer.Itoa 12482 }} | +{{ .Printer.Ftop 27.46 }} | ||
2 | - {{ withTranslation "td" "et" "Järjepidevus" - (.Get "Consistency") }} -{{ .Get "Tiit Jürna" }} | -{{ .Printer.Itoa 7477 }} | -{{ .Printer.Ftop 16.45 }} | +2 | + {{ withTranslation $tag "et" "Järjepidevus" + (.Get "Consistency") $attr }} +{{ .Get "Tiit Jürna" }} | +{{ .Printer.Itoa 7477 }} | +{{ .Printer.Ftop 16.45 }} | ||
3 | - {{ withTranslation "td" "la" "In corpore" - (.Get "In the Body") }} -{{ .Get "Jaan Meristo" }} | -{{ .Printer.Itoa 7284 }} | -{{ .Printer.Ftop 16.03 }} | +3 | + {{ withTranslation $tag "la" "In corpore" + (.Get "In the Body") $attr }} +{{ .Get "Jaan Meristo" }} | +{{ .Printer.Itoa 7284 }} | +{{ .Printer.Ftop 16.03 }} | ||
4 | +4 | {{/* TRANSLATORS: Name of a coin design. Don’t translate unless you use a non-latin script */}} - {{ withTranslation "td" "et" "Tomson 5791" - (.Get "Tomson 5791") }} -{{ .Get "Taavi Torim" }} | -{{ .Printer.Itoa 6219 }} | -{{ .Printer.Ftop 13.68 }} | + {{ withTranslation $tag "et" "Tomson 5791" + (.Get "Tomson 5791") $attr }} +{{ .Get "Taavi Torim" }} | +{{ .Printer.Itoa 6219 }} | +{{ .Printer.Ftop 13.68 }} | ||
5 | - {{/* TRANSLATORS: Estonian Translatiors: Translate this to ‘Eesti keel’ */}} - {{ withTranslation "td" "et" "Eesti keel" - (.GetC "Estonian" "Language Name") }} -{{ .Get "Jaak Peep, Villem Valme" }} | -{{ .Printer.Itoa 5997 }} | -{{ .Printer.Ftop 13.19 }} | +5 | + {{/* TRANSLATORS: Estonian Translators: ‘Estonian’ as in the language, not the nationality */}} + {{ withTranslation $tag "et" "Eesti keel" + (.GetC "Estonian" "Coin Design") $attr }} +{{ .Get "Jaak Peep, Villem Valme" }} | +{{ .Printer.Itoa 5997 }} | +{{ .Printer.Ftop 13.19 }} | ||
6 | -261948 | -{{ .Get "Mai Järmut, Villu Järmut" }} | -{{ .Printer.Itoa 3036 }} | -{{ .Printer.Ftop 6.68 }} | +6 | +261948 | +{{ .Get "Mai Järmut, Villu Järmut" }} | +{{ .Printer.Itoa 3036 }} | +{{ .Printer.Ftop 6.68 }} |
7 | - {{ withTranslation "td" "et" "Linnutee" - (.Get "Bird Road") }} -{{ .Get "Tiit Jürna" }} | -{{ .Printer.Itoa 1323 }} | -{{ .Printer.Ftop 2.91 }} | +7 | + {{ withTranslation $tag "et" "Linnutee" + (.Get "Bird Road") $attr }} +{{ .Get "Tiit Jürna" }} | +{{ .Printer.Itoa 1323 }} | +{{ .Printer.Ftop 2.91 }} | ||
8 | - {{ withTranslation "td" "et" "Leopardid-2" - (.Get "Leopards-2") }} -{{ .Get "Jaarno Ester" }} | -{{ .Printer.Itoa 759 }} | -{{ .Printer.Ftop 1.67 }} | +8 | + {{ withTranslation $tag "et" "Leopardid-2" + (.Get "Leopards-2") $attr }} +{{ .Get "Jaarno Ester" }} | +{{ .Printer.Itoa 759 }} | +{{ .Printer.Ftop 1.67 }} | ||
9 | +9 | {{/* TRANSLATORS: Name of a coin design. Don’t translate unless you use a non-latin script */}} - {{ withTranslation "td" "et" "Nova" - (.Get "Nova") }} -{{ .Get "Rene Haljasmäe" }} | -{{ .Printer.Itoa 498 }} | -{{ .Printer.Ftop 1.1 }} | + {{ withTranslation $tag "et" "Nova" + (.Get "Nova") $attr }} +{{ .Get "Rene Haljasmäe" }} | +{{ .Printer.Itoa 498 }} | +{{ .Printer.Ftop 1.1 }} | ||
10 | - {{ withTranslation "td" "et" "Lill rukkis" - (.Get "A Flower in the Rye") }} -{{ .Get "Margus Kadarik" }} | -{{ .Printer.Itoa 378 }} | -{{ .Printer.Ftop 0.83 }} | +10 | + {{ withTranslation $tag "et" "Lill rukkis" + (.Get "A Flower in the Rye") $attr }} +{{ .Get "Margus Kadarik" }} | +{{ .Printer.Itoa 378 }} | +{{ .Printer.Ftop 0.83 }} |