Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4a41046

Browse files
authored
Update the tx config format
1 parent2797f58 commit4a41046

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)

[8]ページ先頭

©2009-2025 Movatter.jp