[PATCH v5 1/3] send-email: move newline character out of a translatable string
- From
- Dragan Simic <dsimic@manjaro.org>
- Date
- Apr 7, 2024, 10:48 UTC
- Message-ID
- <d2d456edcb5bdf7ec254542ed94fed56337f1856.1712486910.git.dsimic@manjaro.org>
- In-Reply-To
- <cover.1712486910.git.dsimic@manjaro.org>
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 --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;