File tree Expand file tree Collapse file tree 8 files changed +10
-12
lines changed Expand file tree Collapse file tree 8 files changed +10
-12
lines changed Original file line number Diff line number Diff line change 79
79
- name : Gen Translation files (Windows)
80
80
if : ${{ matrix.os == 'windows-latest' }}
81
81
run : |
82
- .\scripts\build\windows\lupdate.ps1
83
- .\scripts\build\windows\lrelease.ps1
84
- .\scripts\build\windows\gen_translation_qrc.ps1
82
+ .\scripts\build\windows\translation\run.ps1
85
83
86
84
- name : Commit ts files to repo (Windows)
87
85
if : ${{ matrix.os == 'windows-latest' }}
@@ -141,4 +139,4 @@ jobs:
141
139
with :
142
140
name : windows_executable
143
141
path : |
144
- dist/scsd-gui_*_windows_amd64.exe
142
+ dist/scsd-gui_*_windows_amd64.exe
Original file line number Diff line number Diff line change 17
17
hooks :
18
18
- id : lupdate
19
19
name : lupdate
20
- entry : powershell ./scripts/build/windows/lupdate.ps1
20
+ entry : powershell ./scripts/build/windows/translation/ lupdate.ps1
21
21
pass_filenames : false
22
22
always_run : true
23
23
language : python
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- # Set-Location .\steamCloudSaveDownloaderGUI\res
2
1
pyside6-rcc.exe " .\steamCloudSaveDownloaderGUI\res\translations.qrc" - o " .\steamCloudSaveDownloaderGUI\res\translations.py"
3
-
4
- # Set-Location ..\..\
Original file line number Diff line number Diff line change
1
+ $languages = " zh_TW" , " zh_CN"
Original file line number Diff line number Diff line change 1
- . .\scripts\build\windows\languages.ps1
1
+ . .\scripts\build\windows\translation\ languages.ps1
2
2
foreach ($language in $languages )
3
3
{
4
4
pyside6-lrelease.exe " .\steamCloudSaveDownloaderGUI\i18n\scsdGUI_$ ( $language ) .ts" - qm " .\steamCloudSaveDownloaderGUI\res\scsdGUI_$ ( $language ) .qm"
Original file line number Diff line number Diff line change 1
- . .\scripts\build\windows\languages.ps1
1
+ . .\scripts\build\windows\translation\ languages.ps1
2
2
foreach ($language in $languages )
3
3
{
4
4
pyside6-lupdate.exe - extensions py - no- recursive .\steamCloudSaveDownloaderGUI - ts " .\steamCloudSaveDownloaderGUI\i18n\scsdGUI_$ ( $language ) .ts"
5
- }
5
+ }
Original file line number Diff line number Diff line change
1
+ .\scripts\build\windows\translation\lupdate.ps1
2
+ .\scripts\build\windows\translation\lrelease.ps1
3
+ .\scripts\build\windows\translation\gen_translation_qrc.ps1
You can’t perform that action at this time.
0 commit comments