diff mbox series

[v5,1/3] send-email: move newline character out of a translatable string

Message ID d2d456edcb5bdf7ec254542ed94fed56337f1856.1712486910.git.dsimic@manjaro.org (mailing list archive)
State Superseded
Headers show
Series send-email: make produced outputs more readable | expand

Commit Message

Dragan Simic April 7, 2024, 10:48 a.m. UTC
Move the already existing newline character out of a translatable string,
to help a bit with the translation efforts.

Signed-off-by: Dragan Simic <dsimic@manjaro.org>
---
 git-send-email.perl | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/git-send-email.perl b/git-send-email.perl
index 821b2b3a135a..a22f299ba051 100755
--- a/git-send-email.perl
+++ b/git-send-email.perl
@@ -1686,10 +1686,11 @@  sub send_message {
 		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;