chiark / gitweb /
Use all xml files to figure out strings
authorDaniel Martí <mvdan@mvdan.cc>
Mon, 8 Jul 2013 13:24:48 +0000 (15:24 +0200)
committerDaniel Martí <mvdan@mvdan.cc>
Mon, 8 Jul 2013 13:24:48 +0000 (15:24 +0200)
fdroidserver/common.py

index ce6177e5f7c56baf932aca73081b241cf84bcbac..ebf23eb9666380a31ad06879e9bbe617eb60c29b 100644 (file)
@@ -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: