[PATCH rhel7-branch 7/7] Add missing files to po/POTFILES.in, after fixing the test for them.

Chris Lumens clumens at redhat.com
Wed Jun 3 13:55:44 UTC 2015


Related: rhbz#1196721
---
 po/POTFILES.in                    | 4 ++++
 tests/gettext/gettext_potfiles.py | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/po/POTFILES.in b/po/POTFILES.in
index 0ea4fb2..d3f8877 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -132,11 +132,15 @@ pyanaconda/ui/gui/spokes/source.glade.h
 pyanaconda/ui/gui/spokes/welcome.glade.h
 pyanaconda/ui/gui/spokes/user.glade.h
 pyanaconda/ui/gui/spokes/custom.glade.h
+pyanaconda/ui/gui/spokes/advstorage/dasd.glade.h
 pyanaconda/ui/gui/spokes/advstorage/fcoe.glade.h
 pyanaconda/ui/gui/spokes/advstorage/iscsi.glade.h
 pyanaconda/ui/gui/spokes/advstorage/zfcp.glade.h
 pyanaconda/ui/gui/spokes/lib/cart.glade.h
+pyanaconda/ui/gui/spokes/lib/custom_storage_helpers.glade.h
+pyanaconda/ui/gui/spokes/lib/dasdfmt.glade.h
 pyanaconda/ui/gui/spokes/lib/detailederror.glade.h
+pyanaconda/ui/gui/spokes/lib/entropy_dialog.glade.h
 pyanaconda/ui/gui/spokes/lib/passphrase.glade.h
 pyanaconda/ui/gui/spokes/lib/refresh.glade.h
 pyanaconda/ui/gui/spokes/lib/resize.glade.h
diff --git a/tests/gettext/gettext_potfiles.py b/tests/gettext/gettext_potfiles.py
index 5d80308..57c6bed 100755
--- a/tests/gettext/gettext_potfiles.py
+++ b/tests/gettext/gettext_potfiles.py
@@ -35,7 +35,7 @@ def check_potfile(checkfile, potlist):
     elif checkfile.endswith(".glade"):
         # Look for a "translatable=yes" attribute
         if ET.parse(checkfile).findall(".//*[@translatable='yes']"):
-            potcheckfile = checkfile
+            potcheckfile = checkfile + ".h"
     elif checkfile.endswith(".desktop.in"):
         # These are handled by intltool, make sure the .h version is present
         potcheckfile = checkfile + ".h"
-- 
2.2.2



More information about the anaconda-patches mailing list