File: Messages.sh

package info (click to toggle)
tellico 4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 29,420 kB
  • sloc: cpp: 89,950; xml: 41,049; ansic: 7,011; javascript: 454; python: 354; ada: 32; sh: 28; perl: 17; makefile: 13
file content (9 lines) | stat: -rwxr-xr-x 320 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
#!/bin/sh
# extract rc, ui and kcfg files to rc.cpp
$EXTRACTRC `find . -name '*.rc' -o -name '*.ui' -o -name '*.kcfg'` >> rc.cpp
# extract other translation files
./prepare_i18n_xslt >> rc.cpp
# extract messages
$XGETTEXT `find . -name '*.cpp' -o -name '*.h' -o -name '*.c'` -o $podir/tellico.pot
# cleanup
rm -f rc.cpp