summaryrefslogtreecommitdiffhomepage
path: root/src/i18n.go
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-09-26 21:05:09 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-09-26 21:05:09 +0200
commite6aa239fc0ab15da036d10b5bd9c94dd4f0c4159 (patch)
treeb4cd0670d01e091625a3d9a6cf298050be45cfb9 /src/i18n.go
parentb21a6c4a1e802b4fce2b76902f86805611ba8805 (diff)
Rename .Money to .M for consistency with .T and .N
Diffstat (limited to 'src/i18n.go')
-rw-r--r--src/i18n.go2
1 files changed, 1 insertions, 1 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