commit
eca2728dfa
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"
|
||||||
|
|
12
README.md
12
README.md
|
@ -12,6 +12,18 @@ also be discussed in the forum at https://forum.snapcraft.io.
|
||||||
Our localization platform is Launchpad, translations are managed at
|
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:
|
||||||
|
* update po/POTFILES.in with any new files that contain translations
|
||||||
|
* execute clean target, i.e. $ debuild -S
|
||||||
|
* dput subiquity into Ubuntu
|
||||||
|
|
||||||
|
To export and update translations in subiquity:
|
||||||
|
* Wait for new subiquity to publish
|
||||||
|
* Request fresh translation export from Launchpad at
|
||||||
|
https://translations.launchpad.net/ubuntu/focal/+source/subiquity/+export
|
||||||
|
* wait for export to generate
|
||||||
|
* download, unpack, rename .po files into po directory, and commit changes
|
||||||
|
|
||||||
# Acquire subiquity from source
|
# Acquire subiquity from source
|
||||||
|
|
||||||
`git clone https://github.com/CanonicalLtd/subiquity`
|
`git clone https://github.com/CanonicalLtd/subiquity`
|
||||||
|
|
|
@ -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