Changeset View
Changeset View
Standalone View
Standalone View
kundo2_aware_xgettext.sh
1 | # | 1 | # | ||
---|---|---|---|---|---|
2 | # Helper function for extracting translatable messages from Kexi source code. | 2 | # Helper function for extracting translatable messages from KEXI source code. | ||
3 | # Usage: kundo2_aware_xgettext <pot-filename-without-path> <source-files-list> | 3 | # Usage: kundo2_aware_xgettext <pot-filename-without-path> <source-files-list> | ||
4 | # If there are no messages or the <source-files-list> is empty, the pot file is deleted. | 4 | # If there are no messages or the <source-files-list> is empty, the pot file is deleted. | ||
5 | # | 5 | # | ||
6 | # Example usage that creates $podir/myapp.pot file: | 6 | # Example usage that creates $podir/myapp.pot file: | ||
7 | # kundo2_aware_xgettext myapp.pot `find . -name \*.cpp -o -name \*.h` | 7 | # kundo2_aware_xgettext myapp.pot `find . -name \*.cpp -o -name \*.h` | ||
8 | # | 8 | # | ||
9 | function kundo2_aware_xgettext() { | 9 | function kundo2_aware_xgettext() { | ||
10 | POTFILE="$podir/$1" | 10 | POTFILE="$podir/$1" | ||
▲ Show 20 Lines • Show All 103 Lines • Show Last 20 Lines |