summaryrefslogtreecommitdiff
path: root/git-debrebase
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 /git-debrebase
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 'git-debrebase')
-rwxr-xr-xgit-debrebase6
1 files changed, 3 insertions, 3 deletions
diff --git a/git-debrebase b/git-debrebase
index 0ef1077..4a3ed25 100755
--- a/git-debrebase
+++ b/git-debrebase
@@ -2066,7 +2066,7 @@ sub cmd_new_upstream () {
my $old_upstream;
if (!$old_anchor_cl->{OrigParents}) {
snag 'anchor-treated',
- 'old anchor is recognised due to --anchor, cannot check upstream';
+ __ 'old anchor is recognised due to --anchor, cannot check upstream';
} else {
$old_upstream = parsecommit
$old_anchor_cl->{OrigParents}[0]{CommitId};
@@ -2977,7 +2977,7 @@ getoptions_main
'experimental-merge-resolution!', \$opt_merges,
'-i:s' => sub {
my ($opt,$val) = @_;
- badusage "git-debrebase: no cuddling to -i for git-rebase"
+ badusage __ "git-debrebase: no cuddling to -i for git-rebase"
if length $val;
die if $opt_defaultcmd_interactive; # should not happen
$opt_defaultcmd_interactive = [ qw(-i) ];
@@ -3008,7 +3008,7 @@ if (!@ARGV || $opt_defaultcmd_interactive || $ARGV[0] =~ m{^-}) {
$cmdfn =~ y/-/_/;
$cmdfn = ${*::}{"cmd_$cmdfn"};
- $cmdfn or badusage "unknown git-debrebase sub-operation $cmd";
+ $cmdfn or badusage ___ "unknown git-debrebase sub-operation %s", $cmd;
$cmdfn->();
}