File: makepot.sh

package info (click to toggle)
trustedqsl 2.8.4-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 38,156 kB
  • sloc: cpp: 36,377; xml: 7,984; javascript: 6,989; ansic: 634; sh: 149; makefile: 19; python: 18
file content (11 lines) | stat: -rw-r--r-- 552 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
# This script file processes the source files looking for strings
# marked as translatable and outputs them to a template (.pot) file.
# That template is then merged into existing translation-specific .po
# files, removing obsolete and adding new messages to those .po files.
#
xgettext --c++ --default-domain=tqslapp --output=tqslapp.pot \
	 --keyword=_  --keyword=__ --keyword=i18narg \
	 --escape --copyright-holder="The TrustedQSL Developers" \
	 --package-name="TQSL" --package-version="v2.8" \
	 --add-comments="TRANSLATORS:" *.cpp *.h