summaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2009-03-17 00:47:23 (GMT)
committerColin Watson <cjwatson@debian.org>2009-03-17 00:47:23 (GMT)
commita0c5fb489dacf4cb50b28c180aa35e3dfc38bdd3 (patch)
tree6a507d1f719bbf992e382fd47c62d2a8481f61d5 /functions
parent253678c4ffcda3ef52f6ec3d3037685004f79aa7 (diff)
downloaddebootstrap-a0c5fb489dacf4cb50b28c180aa35e3dfc38bdd3.zip
debootstrap-a0c5fb489dacf4cb50b28c180aa35e3dfc38bdd3.tar.gz
debootstrap-a0c5fb489dacf4cb50b28c180aa35e3dfc38bdd3.tar.bz2
Remove partial support for emitting translated progress messages with
gettext. Don't panic; d-i still has all the support necessary for this. debootstrap's own support for doing this outside d-i with gettext's shell bindings has been completely broken ever since it was added in 2003, though, and nobody has complained. Fixing it would require a big pile of infrastructure and some non-trivial patches, plus arranging to copy all the translations over from base-installer, and it just doesn't seem worth it, so lose the cruft (LP: #188690). r57848
Diffstat (limited to 'functions')
-rw-r--r--functions6
1 files changed, 0 insertions, 6 deletions
diff --git a/functions b/functions
index 76e9b65..001018b 100644
--- a/functions
+++ b/functions
@@ -17,8 +17,6 @@ error () {
(echo "E: $name"
for x in "$@"; do echo "EA: $x"; done
echo "EF: $fmt") >&4
- elif [ "$USE_GETTEXT_INTERACTION" ]; then
- (printf "E: `LANG=$GETTEXT_LANG gettext debootstrap "$fmt"`\n" "$@") >&4
else
(printf "E: $fmt\n" "$@") >&4
fi
@@ -34,8 +32,6 @@ warning () {
(echo "W: $name"
for x in "$@"; do echo "WA: $x"; done
echo "WF: $fmt") >&4
- elif [ "$USE_GETTEXT_INTERACTION" ]; then
- printf "W: `LANG=$GETTEXT_LANG gettext debootstrap "$fmt"`\n" "$@" >&4
else
printf "W: $fmt\n" "$@" >&4
fi
@@ -50,8 +46,6 @@ info () {
(echo "I: $name"
for x in "$@"; do echo "IA: $x"; done
echo "IF: $fmt") >&4
- elif [ "$USE_GETTEXT_INTERACTION" ]; then
- printf "I: `LANG=$GETTEXT_LANG gettext debootstrap "$fmt"`\n" "$@" >&4
else
printf "I: $fmt\n" "$@" >&4
fi