mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-06-04 14:41:42 +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
|
set -eux
|
||||||
|
|
||||||
branch=$1
|
branch=$1
|
||||||
target="$(readlink -f "${2}")"
|
dir=$2
|
||||||
|
target="$(readlink -f "${3}")"
|
||||||
|
|
||||||
tmpdir="$(mktemp -d)"
|
tmpdir="$(mktemp -d)"
|
||||||
cd "${tmpdir}"
|
cd "${tmpdir}"
|
||||||
@ -16,7 +17,7 @@ trap cleanup EXIT
|
|||||||
|
|
||||||
mkdir -p $target
|
mkdir -p $target
|
||||||
|
|
||||||
bzr branch $branch checkout
|
git clone $branch checkout
|
||||||
for po in checkout/*.po; do
|
for po in checkout/$dir/*.po; do
|
||||||
msgfmt "${po}" -o "${target}/$(basename "${po}" .po).mo"
|
msgfmt "${po}" -o "${target}/$(basename "${po}" .po).mo"
|
||||||
done
|
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
|
livecd-rootfs (2.734) impish; urgency=medium
|
||||||
|
|
||||||
[ Ethan Hsieh ]
|
[ Ethan Hsieh ]
|
||||||
|
1
debian/control
vendored
1
debian/control
vendored
@ -11,7 +11,6 @@ Architecture: any
|
|||||||
Depends: ${misc:Depends},
|
Depends: ${misc:Depends},
|
||||||
apt-utils,
|
apt-utils,
|
||||||
attr,
|
attr,
|
||||||
bzr,
|
|
||||||
debootstrap,
|
debootstrap,
|
||||||
distro-info,
|
distro-info,
|
||||||
dosfstools,
|
dosfstools,
|
||||||
|
@ -812,8 +812,7 @@ case $PROJECT in
|
|||||||
done
|
done
|
||||||
|
|
||||||
/usr/share/livecd-rootfs/checkout-translations-branch \
|
/usr/share/livecd-rootfs/checkout-translations-branch \
|
||||||
lp:~canonical-foundations/subiquity/translations-export \
|
https://git.launchpad.net/subiquity po config/catalog-translations
|
||||||
config/catalog-translations
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "unrecognized subproject for server: '$SUBPROJECT'"
|
echo "unrecognized subproject for server: '$SUBPROJECT'"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user