From 9308127a8fcedc2325f804670c9bac4dee6516a7 Mon Sep 17 00:00:00 2001 From: Jonathan Nieder Date: Fri, 20 Apr 2012 19:08:40 +0200 Subject: 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 Signed-off-by: Guillem Jover --- scripts/Dpkg/Source/Package/V3/git.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/Dpkg/Source/Package/V3/git.pm') diff --git a/scripts/Dpkg/Source/Package/V3/git.pm b/scripts/Dpkg/Source/Package/V3/git.pm index de80b4ea1..d4cd53630 100644 --- a/scripts/Dpkg/Source/Package/V3/git.pm +++ b/scripts/Dpkg/Source/Package/V3/git.pm @@ -52,8 +52,8 @@ sub import { return 1; } } - error(_g("This source package can only be manipulated using git, " . - "which is not in the PATH.")); + error(_g("cannot unpack git-format source package because " . + "git is not in the PATH")); } sub sanity_check { @@ -65,7 +65,7 @@ sub sanity_check { "specified"), $srcdir); } if (-s "$srcdir/.gitmodules") { - error(_g("git repository %s uses submodules. This is not yet supported."), + error(_g("git repository %s uses submodules; this is not yet supported"), $srcdir); } -- cgit v1.2.3