From 38230599d68ae097e886222f5c2384fe6dd9b5bc Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 29 Jul 2025 21:43:00 +0200 Subject: Switch dummy translations for the real-deal --- src/templates.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/templates.go') diff --git a/src/templates.go b/src/templates.go index e3a0465..ef7b0ec 100644 --- a/src/templates.go +++ b/src/templates.go @@ -17,6 +17,7 @@ import ( type templateData struct { Debugp bool Printer i18n.Printer + Printers map[string]i18n.Printer Code, Type string Mintages dbx.MintageData Countries []country @@ -27,11 +28,11 @@ var ( errorTmpl *template.Template templates map[string]*template.Template funcmap = map[string]any{ - "locales": i18n.Locales, - "map": templateMakeMap, - "safe": asHTML, - "toUpper": strings.ToUpper, - "tuple": templateMakeTuple, + "locales": i18n.Locales, + "map": templateMakeMap, + "safe": asHTML, + "toUpper": strings.ToUpper, + "tuple": templateMakeTuple, } ) -- cgit v1.2.3