mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-11-21 20:36:01 +03:00
fix: fixed fluentscan.py script
This commit is contained in:
parent
e6076ef4a5
commit
cac3497600
1 changed files with 2 additions and 2 deletions
|
@ -168,7 +168,7 @@ if command == "unused":
|
||||||
output += f"[en/{all_entries[i][0]}]\n [Unused]\n"
|
output += f"[en/{all_entries[i][0]}]\n [Unused]\n"
|
||||||
output += f" {all_entries[i][1]} | {i} = {every_variable[i].strip()}\n"
|
output += f" {all_entries[i][1]} | {i} = {every_variable[i].strip()}\n"
|
||||||
|
|
||||||
output = re.sub("\[en", "\n[en", output)
|
output = re.sub("\\[en", "\n[en", output)
|
||||||
|
|
||||||
if not output:
|
if not output:
|
||||||
print("Nothing is unused")
|
print("Nothing is unused")
|
||||||
|
@ -187,7 +187,7 @@ elif command == "missing":
|
||||||
output += f"[{missing_entries[i]}]\n [Missing]\n"
|
output += f"[{missing_entries[i]}]\n [Missing]\n"
|
||||||
output += f" {script_entries[i][1]} | {i}\n"
|
output += f" {script_entries[i][1]} | {i}\n"
|
||||||
|
|
||||||
output = re.sub("\[src/", "\n[src/", output)
|
output = re.sub("\\[src/", "\n[src/", output)
|
||||||
if not output:
|
if not output:
|
||||||
print("Nothing is missing")
|
print("Nothing is missing")
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
Loading…
Reference in a new issue