File: Messages.sh

package info (click to toggle)
lokalize 4%3A16.08.3-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,216 kB
  • ctags: 3,343
  • sloc: cpp: 26,215; python: 483; xml: 404; sh: 21; makefile: 1
file content (6 lines) | stat: -rwxr-xr-x 394 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
#! /usr/bin/env bash
$EXTRACTRC `find . -name \*.ui -o -name \*.rc -o -name \*.kcfg` >> rc.cpp
$EXTRACTATTR --attr=collection,text --attr=collection,comment --attr=script,text --attr=script,comment scripts/*.rc >> rc.cpp || exit 11
$XGETTEXT `find . -name \*.cpp -o -name \*.h` -o $podir/lokalize.pot
rm -f rc.cpp
$XGETTEXT --language=Python --join-existing scripts/*.py -o $podir/lokalize.pot