Don't forget to replace COLON in the title too.

pull/1/head
Simon Quigley 6 years ago
parent fb63be2efc
commit abe8636c92

@ -61,7 +61,7 @@ def main():
html = open("l10n-template.html", "r", encoding="utf-8")
htmltext = html.read()
translatedtext = htmltext.replace("POSTCONTENT", md)
translatedtext = translatedtext.replace("TITLE", infoyaml["title"].replace("POUND", "#"))
translatedtext = translatedtext.replace("TITLE", infoyaml["title"].replace("POUND", "#").replace("COLON", ":"))
translatedtext = translatedtext.replace("SLUG", infoyaml["slug"])
l10nfile = open(slugdir + lang + "/index.html", "w")

Loading…
Cancel
Save