From 3a8cc43e138a324f911a49c565acbc9b0915ed61 Mon Sep 17 00:00:00 2001 From: heinrich5991 Date: Fri, 6 Jul 2018 14:59:01 +0200 Subject: [PATCH] Move language scripts to scripts/ --- {data/languages/scripts => scripts/languages}/analyze.py | 0 {data/languages/scripts => scripts/languages}/copy_fix.py | 0 .../languages/scripts => scripts/languages}/find_unchanged.py | 0 {data/languages/scripts => scripts/languages}/readme.txt | 0 {data/languages/scripts => scripts/languages}/twlang.py | 4 ++-- 5 files changed, 2 insertions(+), 2 deletions(-) rename {data/languages/scripts => scripts/languages}/analyze.py (100%) rename {data/languages/scripts => scripts/languages}/copy_fix.py (100%) rename {data/languages/scripts => scripts/languages}/find_unchanged.py (100%) rename {data/languages/scripts => scripts/languages}/readme.txt (100%) rename {data/languages/scripts => scripts/languages}/twlang.py (95%) diff --git a/data/languages/scripts/analyze.py b/scripts/languages/analyze.py similarity index 100% rename from data/languages/scripts/analyze.py rename to scripts/languages/analyze.py diff --git a/data/languages/scripts/copy_fix.py b/scripts/languages/copy_fix.py similarity index 100% rename from data/languages/scripts/copy_fix.py rename to scripts/languages/copy_fix.py diff --git a/data/languages/scripts/find_unchanged.py b/scripts/languages/find_unchanged.py similarity index 100% rename from data/languages/scripts/find_unchanged.py rename to scripts/languages/find_unchanged.py diff --git a/data/languages/scripts/readme.txt b/scripts/languages/readme.txt similarity index 100% rename from data/languages/scripts/readme.txt rename to scripts/languages/readme.txt diff --git a/data/languages/scripts/twlang.py b/scripts/languages/twlang.py similarity index 95% rename from data/languages/scripts/twlang.py rename to scripts/languages/twlang.py index 9a49539cd..76e766e07 100644 --- a/data/languages/scripts/twlang.py +++ b/scripts/languages/twlang.py @@ -59,7 +59,7 @@ def check_folder(path): def languages(): - index = decode(open("../index.txt"), 2) + index = decode(open("../../data/languages/index.txt"), 2) langs = {"../"+key+".txt" : [key]+elements for key, elements in index.items()} return langs @@ -70,5 +70,5 @@ def translations(filename): def localizes(): - englishlist = list(check_folder("../../../src")) + englishlist = list(check_folder("../../src")) return englishlist