From 3f7e149694f52d606fce11e3a279e8a278e2e0fd Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sun, 27 Jul 2025 22:00:20 +0200 Subject: Fix things related to the translations system --- cmd/exttmpl/main.go | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'cmd') diff --git a/cmd/exttmpl/main.go b/cmd/exttmpl/main.go index c120ad2..4d11488 100644 --- a/cmd/exttmpl/main.go +++ b/cmd/exttmpl/main.go @@ -86,6 +86,27 @@ func main() { process(f) } + /* TODO: Use the correct date */ + fmt.Fprint(outfile, `# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2025-07-27 20:08+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +`) + for tl, ti := range translations { if ti.comment != "" { fmt.Fprintln(outfile, "#.", ti.comment) -- cgit v1.2.3