i18n: adjust tooling to renamed resource

This commit is contained in:
Adriaan de Groot 2020-06-12 14:50:12 +02:00
parent e34c0576e7
commit 713774ab40
3 changed files with 3 additions and 8 deletions

View File

@ -1,17 +1,12 @@
[main]
host = https://www.transifex.com
[calamares.calamares-master]
[calamares.calamares]
file_filter = lang/calamares_<lang>.ts
source_file = lang/calamares_en.ts
source_lang = en
type = QT
[calamares.dummypythonqt]
file_filter = src/modules/dummypythonqt/lang/<lang>/LC_MESSAGES/dummypythonqt.po
source_file = src/modules/dummypythonqt/lang/dummypythonqt.pot
source_lang = en
[calamares.fdo]
file_filter = lang/desktop_<lang>.desktop
source_file = calamares.desktop

View File

@ -101,7 +101,7 @@ if test -n "$XMLLINT" ; then
$XMLLINT --c14n11 "$TS_FILE" | { echo "<!DOCTYPE TS>" ; cat - ; } | $XMLLINT --format --encode utf-8 -o "$TS_FILE".new - && mv "$TS_FILE".new "$TS_FILE"
fi
tx push --source --no-interactive -r calamares.calamares-master
tx push --source --no-interactive -r calamares.calamares
tx push --source --no-interactive -r calamares.fdo

View File

@ -58,7 +58,7 @@ def get_tx_stats(token, verbose):
"""
import requests
r = requests.get("https://api.transifex.com/organizations/calamares/projects/calamares/resources/calamares-master/", auth=("api", token))
r = requests.get("https://api.transifex.com/organizations/calamares/projects/calamares/resources/calamares/", auth=("api", token))
if r.status_code != 200:
return 1