Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: po: rename committed pot file
Weblate needs the pot file checked in, but Makefile provided my intltool
will clean the pot file on "make clean". As such, copy it to the side so
we can point Weblate to one that doesn't get cleaned.

Fixes: 06b19e4 ("chore: prepare translations for migration to Weblate")
  • Loading branch information
erig0 committed Mar 30, 2020
1 parent 983b1be commit 27304d1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -48,5 +48,5 @@
Makefile
Makefile.in
!/po/*.po
!/po/firewalld.pot
!/po/firewalld.weblate.pot
!/po/POTFILES.in
1 change: 1 addition & 0 deletions Makefile.am
Expand Up @@ -107,6 +107,7 @@ test-srpm: dist
update-po:
ls $(top_srcdir)/po/*.po | sed 's/.*\/po\///;s/.po//' > $(top_srcdir)/po/LINGUAS
$(MAKE) -C po update-po ${PACKAGE_NAME}.pot
cp po/${PACKAGE_NAME}.pot po/${PACKAGE_NAME}.weblate.pot

# This merges translations from the upstream master branch.
# It's only meant to be used from the stable branches. Translations
Expand Down
File renamed without changes.

0 comments on commit 27304d1

Please sign in to comment.