summaryrefslogtreecommitdiffstats
path: root/refresh-translations
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2018-08-07 15:19:05 +0000
committerintrigeri <intrigeri@boum.org>2018-08-07 15:19:05 +0000
commit84aec1edf1d5a2b204247d7b855215d0d80ea038 (patch)
tree5f63987435ef926ed128d62f6329e0b026fc4476 /refresh-translations
parentcd812efb950ad29d3ff2176c7d6c055fde73856c (diff)
Have translatable strings for the torstatus GNOME Shell extension added to tails.pot (refs: #15715).
Previously, refresh-translations extracted them into tmp/pot/extension.js.pot but then nothing more happened because that file was not in po/POTFILES.in. So the strings (e.g. "Open Onion Circuits") did not end up in tails.pot, never got translated, and were always displayed in English in the GUI.
Diffstat (limited to 'refresh-translations')
-rwxr-xr-xrefresh-translations3
1 files changed, 3 insertions, 0 deletions
diff --git a/refresh-translations b/refresh-translations
index c73f2e4..ad526f9 100755
--- a/refresh-translations
+++ b/refresh-translations
@@ -45,6 +45,9 @@ prog_potfile () {
/usr/share/gnome-shell/extensions/status-menu-helper@tails.boum.org/extension.js)
domain=status-menu-helper-extension.js
;;
+ /usr/share/gnome-shell/extensions/torstatus@tails.boum.org/extension.js)
+ domain=torstatus-extension.js
+ ;;
*)
domain=$(basename $prog)
;;