Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2797f58 commit 4a41046Copy full SHA for 4a41046
.github/scripts/generate_tx_config.py
@@ -59,6 +59,10 @@ def patch_config(path: str):
59
cwd = os.getcwd()
60
os.chdir(path)
61
config_content = FILTER_PATTERN.sub(name_replacer, config_content)
62
+ config_content = re.sub(r'replace_edited_strings.*\n','', config_content)
63
+ config_content = re.sub(r'keep_translations.*\n','', config_content)
64
+ config_content = re.sub(r'0\ntrans\.zh_CN.*\n','0\n', config_content)
65
+ config_content = config_content.replace(' =','=')
66
os.chdir(cwd)
67
68
tx_config_path.write_text(config_content, "utf-8")
0 commit comments