File: makepot

package info (click to toggle)
cinnamon-control-center 3.2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 16,000 kB
  • sloc: ansic: 38,102; makefile: 855; python: 108; xml: 60; sh: 43
file content (10 lines) | stat: -rwxr-xr-x 373 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
for ui in $(find panels -name *.ui)
do
  intltool-extract --type=gettext/glade $ui
done

xgettext --language=C --from-code=UTF-8 --keyword=_ --keyword=C_:1c,2 --keyword=N_ --keyword=NC_:1c,2 --output=cinnamon-control-center.pot panels/*/*.c shell/*.c panels/*/*.ui.h panels/*/*/*.ui.h generate_additional_files.py

rm -f panels/*/*.ui.h
rm -f panels/*/*/*.ui.h