This commit is contained in:
2026-09-12 21:13:31 +04:00
parent 6956edf6cd
commit 0a277174bc
6 changed files with 22 additions and 8 deletions
+2
View File
@@ -63,6 +63,7 @@ def build_hotfixes(translated: dict[str, str]) -> int:
with output.open("w", encoding="utf-8", newline="\n") as sql:
sql.write("-- Generated from ChatGPT WoW localisation source.csv.\n")
sql.write("-- Apply to dc_hotfixes. Existing frFR rows are not modified.\n\n")
sql.write("SET NAMES utf8mb4;\n\n")
sql.write("INSERT INTO `broadcast_text_locale` "
"(`ID`,`locale`,`Text_lang`,`Text1_lang`,`VerifiedBuild`) VALUES\n")
values = []
@@ -110,6 +111,7 @@ def build_world(translated: dict[str, str]) -> int:
with output.open("w", encoding="utf-8", newline="\n") as sql:
sql.write("-- Generated from ChatGPT WoW localisation source.csv.\n")
sql.write("-- Apply to dc_world. Existing frFR rows are not modified.\n\n")
sql.write("SET NAMES utf8mb4;\n\n")
sql.write("INSERT INTO `creature_text_locale` "
"(`CreatureID`,`GroupID`,`ID`,`Locale`,`Text`) VALUES\n")
values = []