summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--po/POTFILES.in1
-rwxr-xr-xtests/potfiles.sh4
2 files changed, 3 insertions, 2 deletions
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 0d733484..cd04f74f 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -13,6 +13,7 @@ core/history.vala
core/loggable.vala
core/main.vala
core/network-check.vala
+core/plugins.vala
core/shortcuts.val
core/statusbar.vala
core/suggestion-row.vala
diff --git a/tests/potfiles.sh b/tests/potfiles.sh
index e6330c66..cddc8170 100755
--- a/tests/potfiles.sh
+++ b/tests/potfiles.sh
@@ -1,5 +1,5 @@
#! /usr/bin/env sh
-# Copyright 2012 Christian Dywan <christian@twotoasts.de>
+# Copyright 2012-2018 Christian Dywan <christian@twotoasts.de>
#
# This script is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@ -8,7 +8,7 @@
echo Checking POTFILES.in for completeness
test -n "$SRCDIR" && cd $SRCDIR
test -z "$BLDDIR" && BLDDIR=_build
-for i in $(find . -regextype posix-egrep \! -regex "./($BLDDIR|_.+|debian|tests)/.+" -a -regex './[^.]+.+[.](vala|c)'); do
+for i in $(find . -regextype posix-egrep \! -regex "./($BLDDIR|_.+|debian|tests|parts)/.+" -a -regex './[^.]+.+[.](vala|c)'); do
grep -q $(basename $i) po/POTFILES.in || FILES="$FILES$i\n"
done
test -n "$FILES" && echo "$FILES...FAILED"