[libcalamares] Split translatable timezone data
- Hide the one file from lupdate by giving it a weird suffix - Call lupdate a second time for the timezone translations - While here, adjust so that the options precede the directories they are supposed to affect I don't want to give the translation teams 444 new strings all at once (about 90% of which don't need translation).
This commit is contained in:
parent
e164f8d63a
commit
93ae44e214
@ -7,6 +7,12 @@ source_file = lang/calamares_en.ts
|
||||
source_lang = en
|
||||
type = QT
|
||||
|
||||
[calamares.tz]
|
||||
file_filter = lang/tz_<lang>.ts
|
||||
source_file = lang/tz_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
|
||||
|
@ -56,9 +56,11 @@ lupdate -version > /dev/null 2>&1 || { echo "! No working lupdate" ; lupdate -ve
|
||||
# Don't pull branding translations in,
|
||||
# those are done separately.
|
||||
_srcdirs="src/calamares src/libcalamares src/libcalamaresui src/modules src/qml"
|
||||
lupdate $_srcdirs -ts -no-obsolete lang/calamares_en.ts
|
||||
lupdate -no-obsolete $_srcdirs -ts lang/calamares_en.ts
|
||||
lupdate -no-obsolete -extensions cxxtr src/libcalamares/locale -ts lang/tz_en.ts
|
||||
|
||||
tx push --source --no-interactive -r calamares.calamares-master
|
||||
tx push --source --no-interactive -r calamares.tz
|
||||
tx push --source --no-interactive -r calamares.fdo
|
||||
|
||||
### PYTHON MODULES
|
||||
|
Loading…
Reference in New Issue
Block a user