Update clean target to regenerate .pot
This commit is contained in:
parent
a90be83685
commit
88dd0e021f
2
Makefile
2
Makefile
|
@ -28,7 +28,7 @@ install_deps:
|
||||||
python3-bson
|
python3-bson
|
||||||
|
|
||||||
i18n:
|
i18n:
|
||||||
$(PYTHON) setup.py build
|
$(PYTHON) setup.py build_i18n
|
||||||
|
|
||||||
dryrun: probert i18n
|
dryrun: probert i18n
|
||||||
$(MAKE) ui-view DRYRUN="--dry-run --bootloader uefi"
|
$(MAKE) ui-view DRYRUN="--dry-run --bootloader uefi"
|
||||||
|
|
|
@ -13,15 +13,16 @@ Our localization platform is Launchpad, translations are managed at
|
||||||
https://translations.launchpad.net/ubuntu/+source/subiquity/
|
https://translations.launchpad.net/ubuntu/+source/subiquity/
|
||||||
|
|
||||||
To update translation template in launchpad:
|
To update translation template in launchpad:
|
||||||
* execute $ make i18n
|
* update po/POTFILES.in with any new files that contain translations
|
||||||
* make an upload of subiquity into Ubuntu
|
* execute clean target, i.e. $ debuild -S
|
||||||
* wait for it to migrate
|
* dput subiquity into Ubuntu
|
||||||
|
|
||||||
To export and update translations in subiquity:
|
To export and update translations in subiquity:
|
||||||
|
* Wait for new subiquity to publish
|
||||||
* Request fresh translation export from Launchpad at
|
* Request fresh translation export from Launchpad at
|
||||||
https://translations.launchpad.net/ubuntu/focal/+source/subiquity/+export
|
https://translations.launchpad.net/ubuntu/focal/+source/subiquity/+export
|
||||||
* wait for export to generate
|
* wait for export to generate
|
||||||
* download, unpack, rename files into po directory, and commit changes
|
* download, unpack, rename .po files into po directory, and commit changes
|
||||||
|
|
||||||
# Acquire subiquity from source
|
# Acquire subiquity from source
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,7 @@ export PYBUILD_OPTION="-v"
|
||||||
override_dh_auto_clean:
|
override_dh_auto_clean:
|
||||||
rm -f .subiquity/subiquity-debug.log installer/geninstaller.log
|
rm -f .subiquity/subiquity-debug.log installer/geninstaller.log
|
||||||
rm -rf probert/
|
rm -rf probert/
|
||||||
|
python3 setup.py build_i18n
|
||||||
dh_auto_clean
|
dh_auto_clean
|
||||||
|
|
||||||
override_dh_install:
|
override_dh_install:
|
||||||
|
|
Loading…
Reference in New Issue