diff options
author | Jonathan Nieder <jnieder@gmail.com> | 2012-04-20 19:08:40 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2012-06-30 06:35:24 +0200 |
commit | 9308127a8fcedc2325f804670c9bac4dee6516a7 (patch) | |
tree | 6362522dc8d66b8988f4a904988afa0c300f5d27 /dpkg-split | |
parent | 5a5203e9aabff52b39cb5b8a90e3341a29e8c69b (diff) | |
download | dpkg-9308127a8fcedc2325f804670c9bac4dee6516a7.tar.gz |
Avoid full stop and double newline at the end of errors and warnings
Error messages like "couldn't parse control information from foo.deb"
are not full sentences, so don't punctuate them like one. The main
purpose of this patch is stylistic consistency, but perhaps it can
also make copy-and-paste from messages like
dpkg-query: no path found matching pattern /usr/bin/agrep.
a little easier.
Most actual full sentences should remain untouched. A few full sentences
are error messages at heart, so this patch converts those to lower-case
sentence fragment form, too.
[guillem@debian.org:
- Add missed strings.
- Minor tweaks to strings. ]
Closes: #624000
Requested-by: Jari Aalto <jari.aalto@cante.net>
Signed-off-by: Guillem Jover <guillem@debian.org>
Diffstat (limited to 'dpkg-split')
-rw-r--r-- | dpkg-split/split.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dpkg-split/split.c b/dpkg-split/split.c index fa406b857..c8f9f5c31 100644 --- a/dpkg-split/split.c +++ b/dpkg-split/split.c @@ -196,10 +196,10 @@ mksplit(const char *file_src, const char *prefix, off_t maxpartsize, cur_partsize = partsize; if (cur_partsize > maxpartsize) { - ohshit(_("Header is too long, making part too long. " - "Your package name or version\n" - "numbers must be extraordinarily long, " - "or something. Giving up.\n")); + ohshit(_("header is too long, making part too long; " + "the package name or version\n" + "numbers must be extraordinarily long, " + "or something; giving up")); } /* Split the data. */ |