mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-22 10:51:11 +00:00
Get source catalog translations from subiquity git, as brz is in universe.
This commit is contained in:
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
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
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…
x
Reference in New Issue
Block a user