Skip to content

Commit 4a41046

Browse files
authored
Update the tx config format
1 parent 2797f58 commit 4a41046

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/scripts/generate_tx_config.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ def patch_config(path: str):
5959
cwd = os.getcwd()
6060
os.chdir(path)
6161
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(' =','=')
6266
os.chdir(cwd)
6367

6468
tx_config_path.write_text(config_content, "utf-8")

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy