From 377a416f33c995dcd5ff276b96033d07e6fade65 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sun, 13 Oct 2024 20:41:37 +0200 Subject: fix locale parser on = --- translate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/translate.py b/translate.py index 28c61c6..cdc4086 100644 --- a/translate.py +++ b/translate.py @@ -19,7 +19,7 @@ for l in ["en", lang]: line = line.strip() if line == "[hurrycurry]": continue if line == "": continue - key, value = line.split("=") + key, value = line.split("=", 1) trmap[key.strip()] = value.strip().replace("<","<").replace(">",">") s = open("index_template.html").read() -- cgit v1.2.3-70-g09d2