Skip to content

Commit cdfd15f

Browse files
committed
makepot: Fix insufficient recursion for C and JS paths.
Missed: - js/ui/screensaver/*.js - src/screensaver/backup-locker.c
1 parent 4274e2e commit cdfd15f

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

makepot

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
#!/bin/bash
22
set -e
3+
shopt -s globstar
34
POT="cinnamon.pot"
4-
xgettext -o $POT --language=C --keyword=_ --keyword=N_ src/*.c src/*/*.c
5+
xgettext -o $POT --language=C --keyword=_ --keyword=N_ src/**/*.c
56
xgettext -o $POT --join-existing --language=glade --from-code=UTF-8 $(find files/usr/share/cinnamon -name "*.ui")
6-
xgettext -o $POT --join-existing --language=javascript -cTranslators --keyword=_ --keyword=N_ --from-code=UTF-8 js/*/*.js files/usr/share/cinnamon/*/*/*.js
7-
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/*
7+
xgettext -o $POT --join-existing --language=javascript -cTranslators --keyword=_ --keyword=N_ --from-code=UTF-8 js/**/*.js files/usr/share/cinnamon/**/*.js
8+
xgettext -o $POT --join-existing --language=python -c --keyword=_ generate_additional_files.py files/usr/share/cinnamon/**/*.py files/usr/bin/*
89

910
files/usr/bin/cinnamon-xlet-makepot -o $POT -p -m -j files/usr/share/cinnamon/applets/
1011
files/usr/bin/cinnamon-xlet-makepot -o $POT -p -m -j files/usr/share/cinnamon/desklets/

0 commit comments

Comments
 (0)