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-deb | |
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-deb')
-rw-r--r-- | dpkg-deb/build.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dpkg-deb/build.c b/dpkg-deb/build.c index da099a4ef..b798b1f47 100644 --- a/dpkg-deb/build.c +++ b/dpkg-deb/build.c @@ -430,7 +430,7 @@ do_build(const char *const *argv) if (nocheckflag) { if (subdir) ohshit(_("target is directory - cannot skip control file check")); - warning(_("not checking contents of control area.")); + warning(_("not checking contents of control area")); printf(_("dpkg-deb: building an unknown package in '%s'.\n"), debar); } else { struct pkginfo *pkg; |