Skip to content

Commit

Permalink
Update transifex
Browse files Browse the repository at this point in the history
  • Loading branch information
RussKie committed Mar 18, 2021
1 parent cb13e1c commit 088b9f3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .tools/transifex/.tx/config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[main]
host = https://www.transifex.com

[git-extensions.ui-master]
[git-extensions.gitui-translation-english-xlf--master]
file_filter = <lang>.xlf
source_file = English.xlf
source_lang = en
Expand All @@ -25,7 +25,7 @@ trans.zh-Hans = Simplified Chinese.xlf
trans.zh-Hant = Traditional Chinese.xlf
type = XLIFF

[git-extensions.plugins-master]
[git-extensions.gitui-translation-english-plugins-xlf--master]
file_filter = <lang>.Plugins.xlf
source_file = English.Plugins.xlf
source_lang = en
Expand Down
8 changes: 4 additions & 4 deletions .tools/transifex/DownloadTransifexTranslations.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ try {
Remove-Item -Force;

# 2. download updated plugin translations
./tx.exe pull -a --parallel --minimum-perc 75 -f -r git-extensions.plugins-master
./tx.exe pull -a --parallel --minimum-perc 75 -f -r git-extensions.plugins-master --pseudo
./tx.exe pull -a --parallel --minimum-perc 75 -f -r git-extensions.gitui-translation-english-plugins-xlf--master
./tx.exe pull -a --parallel --minimum-perc 75 -f -r git-extensions.gitui-translation-english-plugins-xlf--master --pseudo

# 3. download updated translations
./tx.exe pull -a --parallel --minimum-perc 75 -f -r git-extensions.ui-master
./tx.exe pull -a --parallel --minimum-perc 75 -f -r git-extensions.ui-master --pseudo
./tx.exe pull -a --parallel --minimum-perc 75 -f -r git-extensions.gitui-translation-english-xlf--master
./tx.exe pull -a --parallel --minimum-perc 75 -f -r git-extensions.gitui-translation-english-xlf--master --pseudo

# 4. remove plugins translations without a main translation companion
Get-ChildItem -Path ./* -Include *.Plugins.xlf -Exclude '*pseudo*' | `
Expand Down

0 comments on commit 088b9f3

Please sign in to comment.