xgotext: name generated files .pot

This commit is contained in:
Benjamin Böhmke
2020-02-28 16:56:38 +01:00
parent 5b0ba55f37
commit 20f50a5bba

View File

@@ -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)
}