Commit 366b3920 authored by Carl Schwan's avatar Carl Schwan

Scripty run python3.5 text arg doesn't exist

parent 92f377d2
......@@ -18,7 +18,7 @@ def extract(args):
for webpage in webpage_list():
webpages += " --master \"" + webpage + "\""
command = "po4a-gettextize --format asciidoc " + webpages + " --master-charset \"UTF-8\" --po \"" + pot + "\""
subprocess.run(command, shell=True, check=True, text=True)
subprocess.run(command, shell=True, check=True)
def import_po(args):
......@@ -41,7 +41,7 @@ def generate_translations(args):
basename = os.path.splitext(webpage)[0]
translated = basename + "." + translations + extension
command = "po4a-translate --format asciidoc --po \"locale/" + translations + "/LC_MESSAGES/kate-editor-org.po\" --master \"" + webpage + "\" --localized \"" + translated + "\" --master-charset \"UTF-8\""
subprocess.run(command, shell=True, check=True, text=True)
subprocess.run(command, shell=True, check=True)
if __name__ == "__main__":
parser = argparse.ArgumentParser()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment