mirror of
https://github.com/git/git.git
synced 2024-11-08 15:19:28 +01:00
send-email: move newline characters out of a few translatable strings
Move the already existing newline characters out of a few translatable strings, to help a bit with the translation efforts. Signed-off-by: Dragan Simic <dsimic@manjaro.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
7774cfed62
commit
c02dc38570
@ -1664,9 +1664,11 @@ EOF
|
||||
$smtp->code =~ /250|200/ or die sprintf(__("Failed to send %s\n"), $subject).$smtp->message;
|
||||
}
|
||||
if ($quiet) {
|
||||
printf($dry_run ? __("Dry-Sent %s\n") : __("Sent %s\n"), $subject);
|
||||
printf($dry_run ? __("Dry-Sent %s") : __("Sent %s"), $subject);
|
||||
print "\n";
|
||||
} else {
|
||||
print($dry_run ? __("Dry-OK. Log says:\n") : __("OK. Log says:\n"));
|
||||
print($dry_run ? __("Dry-OK. Log says:") : __("OK. Log says:"));
|
||||
print "\n";
|
||||
if (!defined $sendmail_cmd && !file_name_is_absolute($smtp_server)) {
|
||||
print "Server: $smtp_server\n";
|
||||
print "MAIL FROM:<$raw_from>\n";
|
||||
@ -1686,10 +1688,11 @@ EOF
|
||||
print $header, "\n";
|
||||
if ($smtp) {
|
||||
print __("Result: "), $smtp->code, ' ',
|
||||
($smtp->message =~ /\n([^\n]+\n)$/s), "\n";
|
||||
($smtp->message =~ /\n([^\n]+\n)$/s);
|
||||
} else {
|
||||
print __("Result: OK\n");
|
||||
print __("Result: OK");
|
||||
}
|
||||
print "\n";
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user