summaryrefslogtreecommitdiffstats
path: root/refresh-translations
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2018-07-05 09:29:31 +0000
committerintrigeri <intrigeri@boum.org>2018-07-05 09:34:17 +0000
commitd3e24f668fc7b55010081f1d0e4dda92f8c01ed2 (patch)
treebfe253dbe7101db404474a3ebe22921d803143ab /refresh-translations
parent2307893ccc6bfd57f5af23436b19ab7d75b61461 (diff)
Fix integration of VeraCrypt Mounter into our translation system (refs: #15043)
Diffstat (limited to 'refresh-translations')
-rwxr-xr-xrefresh-translations8
1 files changed, 1 insertions, 7 deletions
diff --git a/refresh-translations b/refresh-translations
index 7551567..2c27bbf 100755
--- a/refresh-translations
+++ b/refresh-translations
@@ -23,8 +23,6 @@ JAVASCRIPT_PROGS=" \
/usr/share/gnome-shell/extensions/status-menu-helper@tails.boum.org/extension.js \
/usr/share/gnome-shell/extensions/torstatus@tails.boum.org/extension.js \
"
-GLADE_FILES="/usr/share/veracrypt-mounter/ui/main.ui \
- /usr/share/veracrypt-mounter/ui/volume.ui"
LOCALE_BASEDIR=config/chroot_local-includes/usr/share/locale
@@ -49,11 +47,8 @@ prog_potfile () {
/usr/share/gnome-shell/extensions/status-menu-helper@tails.boum.org/extension.js)
domain=status-menu-helper-extension.js
;;
- /usr/share/veracrypt-mounter/ui/*)
- domain=veracrypt-mounter-ui
- ;;
/usr/local/lib/*/veracrypt_mounter/*)
- domain=veracrypt-mounter
+ domain="veracrypt-mounter-$(basename "$prog")"
;;
*)
domain=$(basename $prog)
@@ -173,7 +168,6 @@ for prog in $PERL_PROGS ; do create_pot $prog Perl ; done
for prog in $PYTHON_PROGS ; do create_pot $prog Python ; done
for prog in $SHELL_PROGS ; do create_pot $prog Shell ; done
for prog in $JAVASCRIPT_PROGS ; do create_pot $prog JavaScript ; done
-for prog in $GLADE_FILES ; do create_pot $prog Glade ; done
intltool_update_pot
# If left out files are detected, intltool-update --maintain writes