i18n: adjust tooling to renamed resource
This commit is contained in:
parent
e34c0576e7
commit
713774ab40
@ -1,17 +1,12 @@
|
|||||||
[main]
|
[main]
|
||||||
host = https://www.transifex.com
|
host = https://www.transifex.com
|
||||||
|
|
||||||
[calamares.calamares-master]
|
[calamares.calamares]
|
||||||
file_filter = lang/calamares_<lang>.ts
|
file_filter = lang/calamares_<lang>.ts
|
||||||
source_file = lang/calamares_en.ts
|
source_file = lang/calamares_en.ts
|
||||||
source_lang = en
|
source_lang = en
|
||||||
type = QT
|
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]
|
[calamares.fdo]
|
||||||
file_filter = lang/desktop_<lang>.desktop
|
file_filter = lang/desktop_<lang>.desktop
|
||||||
source_file = calamares.desktop
|
source_file = calamares.desktop
|
||||||
|
@ -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"
|
$XMLLINT --c14n11 "$TS_FILE" | { echo "<!DOCTYPE TS>" ; cat - ; } | $XMLLINT --format --encode utf-8 -o "$TS_FILE".new - && mv "$TS_FILE".new "$TS_FILE"
|
||||||
fi
|
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
|
tx push --source --no-interactive -r calamares.fdo
|
||||||
|
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ def get_tx_stats(token, verbose):
|
|||||||
"""
|
"""
|
||||||
import requests
|
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:
|
if r.status_code != 200:
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user