Skip to content

Commit

Permalink
Strip line numbers in translations
Browse files Browse the repository at this point in the history
Makes for smaller diffs when updating translations
  • Loading branch information
thjaeger committed Sep 9, 2012
1 parent 0ab016e commit 569335e
Show file tree
Hide file tree
Showing 17 changed files with 6 additions and 2,208 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@ update-translations: po/POTFILES.in
intltool-update `echo $$f | sed "s|po/\(.*\)\.po$$|\1|"`; \
done

strip-translations:
for f in $(POFILES); do \
grep -v '^#:' $$f > $$f.out; \
mv $$f.out $$f; \
done

po/%/LC_MESSAGES/easystroke.mo: po/%.po
mkdir -p po/$*/LC_MESSAGES
msgfmt -c $< -o $@
Expand Down
Loading

0 comments on commit 569335e

Please sign in to comment.