File: makepot

package info (click to toggle)
cinnamon 2.2.16-5
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 11,060 kB
  • ctags: 8,649
  • sloc: ansic: 38,801; python: 12,141; makefile: 579; sh: 486; xml: 49
file content (8 lines) | stat: -rwxr-xr-x 1,004 bytes parent folder | download
1
2
3
4
5
6
7
8
#!/bin/bash
xgettext --language=C --keyword=_ --output=cinnamon-source.pot generate_additional_files.py src/*.c src/*/*.c js/*/*.js files/usr/share/cinnamon/applets/*/applet.js files/usr/share/cinnamon/desklets/*/desklet.js files/usr/lib/cinnamon-settings/*.py files/usr/lib/cinnamon-settings-users/*.py files/usr/lib/cinnamon-settings/modules/*.py files/usr/lib/cinnamon-settings/bin/ExtensionCore.py files/usr/lib/cinnamon-settings/bin/eyedropper.py files/usr/lib/cinnamon-settings/bin/Spices.py files/usr/lib/cinnamon-settings/bin/XletSettings.py files/usr/lib/cinnamon-settings/bin/XletSettingsWidgets.py files/usr/share/cinnamon/desklets/*/*.py files/usr/lib/cinnamon-screensaver-lock-dialog/*.py files/usr/bin/cinnamon-launcher
cd files
usr/lib/cinnamon-json-makepot/cinnamon-json-makepot.py ../cinnamon-json
cd ..
msguniq cinnamon-json.pot > uniq-cinnamon-json.pot
msgcat cinnamon-source.pot uniq-cinnamon-json.pot > cinnamon.pot
rm -f cinnamon-source.pot cinnamon-json.pot uniq-cinnamon-json.pot