aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/i18n/i18n.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/i18n/i18n.go')
-rw-r--r--src/i18n/i18n.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/i18n/i18n.go b/src/i18n/i18n.go
index 1258a27..6f7c286 100644
--- a/src/i18n/i18n.go
+++ b/src/i18n/i18n.go
@@ -254,7 +254,7 @@ var (
Name: "Svenska",
DateFormat: "2006-01-02",
Eurozone: true,
- Enabled: false,
+ Enabled: true,
GroupSeparator: ' ',
DecimalSeparator: ',',
MonetaryPre: [2]string{"", "-"},
@@ -304,7 +304,9 @@ func Init() {
if !li.Enabled {
continue
}
- Printers[li.Bcp] = Printer{li, gotext.NewLocale("po", li.Bcp)}
+ gl := gotext.NewLocale("po", li.Bcp)
+ gl.AddDomain("messages")
+ Printers[li.Bcp] = Printer{li, gl}
}
DefaultPrinter = Printers["en"]