diff options
author | Colin Watson <cjwatson@debian.org> | 2009-03-17 00:47:23 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2009-03-17 00:47:23 +0000 |
commit | a0c5fb489dacf4cb50b28c180aa35e3dfc38bdd3 (patch) | |
tree | 6a507d1f719bbf992e382fd47c62d2a8481f61d5 /functions | |
parent | 253678c4ffcda3ef52f6ec3d3037685004f79aa7 (diff) | |
download | debootstrap-a0c5fb489dacf4cb50b28c180aa35e3dfc38bdd3.tar.gz |
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-- | functions | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -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 |