From f50012def84fda2e57ac1e5d127fc87c4d57b8df Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Fri, 24 Apr 2020 09:02:44 +0200 Subject: Fix genFAQ.py script --- main/misc/genFAQ.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main/misc/genFAQ.py') diff --git a/main/misc/genFAQ.py b/main/misc/genFAQ.py index 821e9a4c..ab485af3 100755 --- a/main/misc/genFAQ.py +++ b/main/misc/genFAQ.py @@ -161,7 +161,7 @@ def main(): loadstrres("src/main/res/values/strings.xml","default") #faqdom = dom.parse("src/main/res/layout/faq.xml") - faqdom = open("src/main/java/de/blinkt/openvpn/fragments/FaqFragment.java").readlines() + faqdom = open("src/ui/java/de/blinkt/openvpn/fragments/FaqFragment.java").readlines() faq= genPage(faqdom,"default") open(faqpath + "/FAQ.html","w").write(template % {'content': faq}) @@ -170,7 +170,7 @@ def main(): if directory.startswith("values-") and directory.find("-sw")==-1 and not directory.startswith("values-v"): lang = directory.split("-",1)[1] print lang - loadstrres("src/main/res/values-%s/strings.xml" % lang,lang) + loadstrres("src/ui/res/values-%s/strings.xml" % lang,lang) langdir= "%s/FAQ-%s" %(faqpath,lang) if lang=="zh-rCN": -- cgit v1.2.3