summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/i18n.go2
-rw-r--r--src/templates/coins-mintages.html.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/i18n.go b/src/i18n.go
index eaac4cf..2eb883c 100644
--- a/src/i18n.go
+++ b/src/i18n.go
@@ -222,7 +222,7 @@ func (p Printer) Date(d time.Time) string {
}
/* TODO: Try to use a decimal type here */
-func (p Printer) Money(val float64, round bool) string {
+func (p Printer) M(val float64, round bool) string {
var valstr string
/* Hack to avoid gotext writing these two ‘translations’ into the
diff --git a/src/templates/coins-mintages.html.tmpl b/src/templates/coins-mintages.html.tmpl
index b410e6e..4ac29e8 100644
--- a/src/templates/coins-mintages.html.tmpl
+++ b/src/templates/coins-mintages.html.tmpl
@@ -73,7 +73,7 @@
<th>{{ .T "Year" }}</th>
{{ with $p := .Printer }}
{{ range denoms }}
- <th>{{ $p.Money . false }}</th>
+ <th>{{ $p.M . false }}</th>
{{ end }}
{{ end }}
</thead>