diff options
author | Thomas Voss <mail@thomasvoss.com> | 2025-07-23 22:12:30 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2025-07-23 22:12:30 +0200 |
commit | 3ef5b060962cdfca5e0eb04bbae6b026a13fecf7 (patch) | |
tree | 552a09a5cb341c41da1ed740ad01c4e4428ccf0f /src/templates.go | |
parent | 5c921a58aedcd53975d5d0dba1fe9e2759e15541 (diff) |
Improve homebrewed translations
Diffstat (limited to 'src/templates.go')
-rw-r--r-- | src/templates.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/templates.go b/src/templates.go index 972d69a..20fcf79 100644 --- a/src/templates.go +++ b/src/templates.go @@ -105,6 +105,6 @@ func (td templateData) Get(fmt string, args ...map[string]any) template.HTML { return template.HTML(td.Printer.Get(fmt, args...)) } -func (td templateData) GetN(fmtS, fmtP string, n int, args map[string]any) template.HTML { - return template.HTML(td.Printer.GetN(fmtS, fmtP, n, args)) -}
\ No newline at end of file +func (td templateData) GetN(fmtS, fmtP string, n int, args ...map[string]any) template.HTML { + return template.HTML(td.Printer.GetN(fmtS, fmtP, n, args...)) +} |