From 69619a5acf5ef67fc09e5378ff2cd1d06d24dc4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Mon, 8 Jul 2013 15:24:48 +0200 Subject: [PATCH] Use all xml files to figure out strings --- fdroidserver/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index ce6177e5..ebf23eb9 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -864,7 +864,7 @@ def description_html(lines,linkres): def retrieve_string(app_dir, string_id): string_search = re.compile(r'.*"'+string_id+'".*>([^<]+?)<.*').search for xmlfile in glob.glob(os.path.join( - app_dir, 'res', 'values', '*string*.xml')): + app_dir, 'res', 'values', '*.xml')): for line in file(xmlfile): matches = string_search(line) if matches: