summaryrefslogtreecommitdiff
path: root/scripts/Dpkg/Source/Package/V3/git.pm
diff options
context:
space:
mode:
authorJonathan Nieder <jnieder@gmail.com>2012-04-20 19:08:40 +0200
committerGuillem Jover <guillem@debian.org>2012-06-30 06:35:24 +0200
commit9308127a8fcedc2325f804670c9bac4dee6516a7 (patch)
tree6362522dc8d66b8988f4a904988afa0c300f5d27 /scripts/Dpkg/Source/Package/V3/git.pm
parent5a5203e9aabff52b39cb5b8a90e3341a29e8c69b (diff)
downloaddpkg-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 'scripts/Dpkg/Source/Package/V3/git.pm')
-rw-r--r--scripts/Dpkg/Source/Package/V3/git.pm6
1 files changed, 3 insertions, 3 deletions
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);
}