forked from linuxmint/cinnamon
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakepot
More file actions
executable file
·10 lines (9 loc) · 735 Bytes
/
makepot
File metadata and controls
executable file
·10 lines (9 loc) · 735 Bytes
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
set -e
POT="cinnamon.pot"
xgettext -o $POT --language=C --keyword=_ --keyword=N_ src/*.c src/*/*.c
xgettext -o $POT --join-existing --language=glade --from-code=UTF-8 $(find files/usr/share/cinnamon -name "*.ui")
xgettext -o $POT --join-existing --language=javascript -cTranslators --keyword=_ --keyword=N_ --from-code=UTF-8 js/*/*.js files/usr/share/cinnamon/*/*/*.js
xgettext -o $POT --join-existing --language=python -c --keyword=_ generate_additional_files.py files/usr/share/cinnamon/*/*.py files/usr/share/cinnamon/*/*/*.py files/usr/bin/*
files/usr/bin/cinnamon-xlet-makepot -o $POT -p -m -j files/usr/share/cinnamon/applets/
files/usr/bin/cinnamon-xlet-makepot -o $POT -p -m -j files/usr/share/cinnamon/desklets/