summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmain/misc/genFAQ.py (renamed from misc/genFAQ.py)8
1 files changed, 4 insertions, 4 deletions
diff --git a/misc/genFAQ.py b/main/misc/genFAQ.py
index 713d71f1..b1506420 100755
--- a/misc/genFAQ.py
+++ b/main/misc/genFAQ.py
@@ -73,18 +73,18 @@ def loadstrres(filename,lang):
def main():
- loadstrres("res/values/strings.xml","default")
+ loadstrres("src/main/res/values/strings.xml","default")
- faqdom = dom.parse("res/layout/faq.xml")
+ faqdom = dom.parse("src/main/res/layout/faq.xml")
faq= genPage(faqdom,"default")
open(faqpath + "/FAQ.wiki","w").write(faq)
- for directory in os.listdir("res"):
+ for directory in os.listdir("src/main/res"):
if directory.startswith("values-") and directory.find("-sw")==-1:
lang = directory.split("-",1)[1]
print lang
- loadstrres("res/values-%s/strings.xml" % lang,lang)
+ loadstrres("src/main/res/values-%s/strings.xml" % lang,lang)
langdir= "%s/%s" %(faqpath,lang)
if lang=="zh-rCN":