mirror of
https://github.com/LorenEteval/Furious.git
synced 2026-09-22 23:08:08 +03:00
Add reset source in Translation.py
Signed-off-by: Loren Eteval <loren.eteval@proton.me>
This commit is contained in:
@@ -64,6 +64,10 @@ def main():
|
||||
|
||||
translation = copy.deepcopy(TRANSLATION)
|
||||
|
||||
for key in translation.keys():
|
||||
# Reset source
|
||||
translation[key]['source'] = []
|
||||
|
||||
for text, source in TranslationPool:
|
||||
if text not in translation:
|
||||
translation[text] = {'source': [source]}
|
||||
|
||||
Reference in New Issue
Block a user