summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2018-09-29 01:24:24 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2018-09-29 12:04:52 +0100
commitb30764495d682a756d2b3bd13935c3be46a0d339 (patch)
treecbb10e3adf621332f070a7471ae537922a8a929c /dgit
parent76876bd5a95c3ce1ff6ccf3f633a6cce6fa4e5b2 (diff)
i18n: Flag a handful of messages for translation
This is just useful for testing the forthcoming machinery, so far. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'dgit')
-rwxr-xr-xdgit11
1 files changed, 6 insertions, 5 deletions
diff --git a/dgit b/dgit
index 6a3c4da..238d324 100755
--- a/dgit
+++ b/dgit
@@ -1474,10 +1474,11 @@ sub madison_get_parse {
sub canonicalise_suite_madison {
# madison canonicalises for us
my @r = madison_get_parse(@_);
- @r or fail
- "unable to canonicalise suite using package $package".
- " which does not appear to exist in suite $isuite;".
- " --existing-package may help";
+ @r or fail ___
+ "unable to canonicalise suite using package %s".
+ " which does not appear to exist in suite %s;".
+ " --existing-package may help",
+ $package, $isuite;
return $r[0][2];
}
@@ -7192,7 +7193,7 @@ sub parseopts_late_defaults () {
$$vr = $v;
}
- fail "dgit: --include-dirty is not supported in split view quilt mode"
+ fail __ "dgit: --include-dirty is not supported in split view quilt mode"
if $split_brain && $includedirty;
if (!defined $cleanmode) {