Get source catalog translations from subiquity git, as brz is in universe.

impish-sru-lp-1946520
Michael Hudson-Doyle 3 years ago
parent c78f283d9f
commit 17279822d5

@ -3,7 +3,8 @@
set -eux
branch=$1
target="$(readlink -f "${2}")"
dir=$2
target="$(readlink -f "${3}")"
tmpdir="$(mktemp -d)"
cd "${tmpdir}"
@ -16,7 +17,7 @@ trap cleanup EXIT
mkdir -p $target
bzr branch $branch checkout
for po in checkout/*.po; do
git clone $branch checkout
for po in checkout/$dir/*.po; do
msgfmt "${po}" -o "${target}/$(basename "${po}" .po).mo"
done

6
debian/changelog vendored

@ -1,3 +1,9 @@
livecd-rootfs (2.735) UNRELEASED; urgency=medium
* Get source catalog translations from subiquity git, as brz is in universe.
-- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Fri, 20 Aug 2021 09:20:44 +1200
livecd-rootfs (2.734) impish; urgency=medium
[ Ethan Hsieh ]

1
debian/control vendored

@ -11,7 +11,6 @@ Architecture: any
Depends: ${misc:Depends},
apt-utils,
attr,
bzr,
debootstrap,
distro-info,
dosfstools,

@ -812,8 +812,7 @@ case $PROJECT in
done
/usr/share/livecd-rootfs/checkout-translations-branch \
lp:~canonical-foundations/subiquity/translations-export \
config/catalog-translations
https://git.launchpad.net/subiquity po config/catalog-translations
;;
*)
echo "unrecognized subproject for server: '$SUBPROJECT'"

Loading…
Cancel
Save