Skip to content

Commit

Permalink
xgettext's command line options suck, but at least fill in as much as…
Browse files Browse the repository at this point in the history
… we can
  • Loading branch information
thjaeger committed Jan 9, 2009
1 parent 2baa753 commit d010e78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ debug.mk
*.gz
po/de
po/POTFILES.in
po/*.pot
easystroke.desktop
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ all: $(BINARY) $(MOFILES)
.PHONY: all clean snapshot release translate

clean:
$(RM) $(OFILES) $(BINARY) $(GENFILES) $(DEPFILES) $(MANPAGE) $(GZFILES) po/untitled.pot
$(RM) $(OFILES) $(BINARY) $(GENFILES) $(DEPFILES) $(MANPAGE) $(GZFILES) po/*.pot
$(RM) -r $(MODIRS)

include $(DEPFILES)
Expand Down Expand Up @@ -95,7 +95,7 @@ po/POTFILES.in: $(CCFILES) $(HFILES)
echo easystroke.desktop.in >> $@

translate: po/POTFILES.in
cd po && intltool-update --pot --gettext-package=easystroke
cd po && XGETTEXT_ARGS="--package-name=easystroke --copyright-holder='Thomas Jaeger <ThJaeger@gmail.com>'" intltool-update --pot --gettext-package=easystroke

update-translations: po/POTFILES.in
cd po && for f in $(POFILES); do \
Expand Down

0 comments on commit d010e78

Please sign in to comment.