File tree Expand file tree Collapse file tree 5 files changed +45
-10
lines changed
Expand file tree Collapse file tree 5 files changed +45
-10
lines changed Original file line number Diff line number Diff line change @@ -4,3 +4,4 @@ __pycache__/
44* .pyc
55* .stackdump
66.idea /
7+ .DS_Store
Original file line number Diff line number Diff line change 44 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
55 "version" : " 0.2.0" ,
66 "configurations" : [
7+ {
8+ "name" : " Python: Current File" ,
9+ "type" : " python" ,
10+ "request" : " launch" ,
11+ "program" : " ${file}" ,
12+ "console" : " integratedTerminal"
13+ },
714 {
815 "name" : " tg.py" ,
916 "type" : " python" ,
4956 },
5057 },
5158 {
52- "name" : " Python: Current File " ,
59+ "name" : " tg_mt.py " ,
5360 "type" : " python" ,
5461 "request" : " launch" ,
55- "program" : " ${file}" ,
56- "console" : " integratedTerminal"
57- }
62+ "program" : " ${workspaceFolder}/tg_mt.py" ,
63+ "console" : " integratedTerminal" ,
64+ "env" : {
65+ "https_proxy" : " http://127.0.0.1:1080" ,
66+ "http_proxy" : " http://127.0.0.1:1080" ,
67+ },
68+ },
5869 ]
5970}
Original file line number Diff line number Diff line change 55
66def open_files ():
77 return (
8- ArbFile ('../@tg/flutter_distar_ex17/lib/v2/resource/l10n/app_en.arb' , 'en' ),
9- ArbFile ('../@tg/flutter_distar_ex17/lib/v2/resource/l10n/app_th.arb' , 'th' ),
10- ArbFile ('../@tg/flutter_distar_ex17/lib/v2/resource/l10n/app_zh.arb' , 'zh' ),
8+ ArbFile ('../@tg/tg_flutter/ flutter_distar_ex17/lib/v2/resource/l10n/app_en.arb' , 'en' ),
9+ ArbFile ('../@tg/tg_flutter/ flutter_distar_ex17/lib/v2/resource/l10n/app_th.arb' , 'th' ),
10+ ArbFile ('../@tg/tg_flutter/ flutter_distar_ex17/lib/v2/resource/l10n/app_zh.arb' , 'zh' ),
1111 )
1212
1313
1414def main ():
15- translate_files (open_files (), translate_all_lang = True )
15+ # translate_files(open_files(), translate_all_lang=True)
1616 # import_xls('./tmp/urikar-2021-04-14-result.xls', open_files(), delete_no_exist_item=False)
17- # export_xls('./tmp/tg-bug-2022-01-22 .xls', open_files())
18- # import_xls('./tmp/tg-bug-2022-01-22 .xls', open_files())
17+ export_xls ('./tmp/tg-bug-2022-11-09 .xls' , open_files ())
18+ import_xls ('./tmp/tg-bug-2022-11-09 .xls' , open_files ())
1919 pass
2020
2121
Original file line number Diff line number Diff line change 1+ #!/usr/bin/env python3
2+ # -*- coding: utf-8 -*-
3+ from att import *
4+
5+
6+ def open_files ():
7+ return (
8+ ArbFile ('../@tg/tg_flutter/maintain/lib/resources/l10n/app_zh.arb' , 'zh' ),
9+ ArbFile ('../@tg/tg_flutter/maintain/lib/resources/l10n/app_en.arb' , 'en' ),
10+ ArbFile ('../@tg/tg_flutter/maintain/lib/resources/l10n/app_th.arb' , 'th' ),
11+ )
12+
13+
14+ def main ():
15+ translate_files (open_files (), translate_all_lang = True )
16+ # import_xls('./tmp/urikar-2021-04-14-result.xls', open_files(), delete_no_exist_item=False)
17+ # export_xls('./tmp/tg-mt-2022-01-22.xls', open_files())
18+ # import_xls('./tmp/tg-bmt-2022-01-22.xls', open_files())
19+ pass
20+
21+
22+ if __name__ == "__main__" :
23+ main ()
You can’t perform that action at this time.
0 commit comments