diff options
author | Arne Schwabe <arne@rfc2549.org> | 2020-04-24 09:02:44 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2020-05-06 17:42:24 +0200 |
commit | f50012def84fda2e57ac1e5d127fc87c4d57b8df (patch) | |
tree | b339edf31a122f5076f778d324cbf1ff826a15d2 | |
parent | 3556185e9f632ddb54a569379d7de761e4fb8d6c (diff) |
Fix genFAQ.py script
-rwxr-xr-x | main/misc/genFAQ.py | 4 |
1 files changed, 2 insertions, 2 deletions
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": |