diff --git a/update-po.sh b/update-po.sh index fc9c3ee..560449f 100755 --- a/update-po.sh +++ b/update-po.sh @@ -6,8 +6,8 @@ PO_DIR_NAME=po EXE_PATH="`readlink -f $0`" PRJ_PATH="${EXE_PATH%/*/*/*}" -C_FILELIST="${PRJ_PATH}/src/latex-struct/*.vala" -UI_FILELIST="${PRJ_PATH}/ui/*.glade" +C_FILELIST="`find ${PRJ_PATH}/src -type f -regex '.*\.\(c\|cxx\|cpp\|vala\)$'`" +#UI_FILELIST="`find ${PRJ_PATH}/ui -type f -regex '.*\.\(glade\)$'`" SOURCE_POT=source.pot GLADE_POT=glade.pot