mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
41d0f86b12
Thanks to @bojidar-bg for the hint.
17 lines
336 B
Python
Executable file
17 lines
336 B
Python
Executable file
#!/usr/bin/env python3
|
|
import os
|
|
import sys
|
|
import twlang
|
|
|
|
os.chdir(os.path.dirname(__file__) + "/../..")
|
|
|
|
if len(sys.argv) < 2:
|
|
print("usage: python find_unchanged.py <file>")
|
|
sys.exit()
|
|
infile = sys.argv[1]
|
|
|
|
trans = twlang.translations(infile)
|
|
for tran, (_, expr, _) in trans.items():
|
|
if tran == expr:
|
|
print(tran)
|