File: Messages.sh

package info (click to toggle)
tellico 2.3.5%2Bdfsg.1-4
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 18,024 kB
  • sloc: cpp: 61,829; ansic: 8,304; python: 1,977; xml: 328; ruby: 189; perl: 52; ada: 32; sh: 11; makefile: 10
file content (17 lines) | stat: -rwxr-xr-x 553 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
# extract rc, ui and kcfg files to rc.cpp
$EXTRACTRC `find . -name '*.rc' -o -name '*.ui' -o -name '*.kcfg'` >> rc.cpp
# extract tips
./preparetips tellico.tips > tips.cpp
# extract other translation files
./prepare_i18n_xslt > xslt.cpp
./prepare_desktop src/fetch/z3950-servers.cfg > z3950.cpp
./prepare_desktop src/fetch/scripts/*.spec > scripts.cpp
# extract messages
$XGETTEXT `find . -name '*.cpp' -o -name '*.h' -o -name '*.c'` -o $podir/tellico.pot
# cleanup
rm -f rc.cpp
rm -f tips.cpp
rm -f xslt.cpp
rm -f z3950.cpp
rm -f scripts.cpp