From 20f50a5bba7578e5c3ce83e1fdca53787fff5344 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20B=C3=B6hmke?= Date: Fri, 28 Feb 2020 16:56:38 +0100 Subject: [PATCH] xgotext: name generated files .pot --- cli/xgotext/parser/domain.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/xgotext/parser/domain.go b/cli/xgotext/parser/domain.go index 08c1765..55ff4a5 100644 --- a/cli/xgotext/parser/domain.go +++ b/cli/xgotext/parser/domain.go @@ -186,7 +186,7 @@ func (m *DomainMap) Save(directory string) error { // save each domain in a separate po file for name, domain := range m.Domains { - err := domain.Save(filepath.Join(directory, name+".po")) + err := domain.Save(filepath.Join(directory, name+".pot")) if err != nil { return fmt.Errorf("failed to save domain %s: %v", name, err) }