diff options
| author | Christian Couder <christian.couder@gmail.com> | 2025-10-30 13:33:32 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-10-30 07:06:58 -0700 |
| commit | 93cef5bda5f5d6f36b8442dd6bd871289bc48f10 (patch) | |
| tree | 6973541900161fc4fa2ec724ab2ec96657cef550 | |
| parent | fast-import: mark strings for translation (diff) | |
| download | git-93cef5bda5f5d6f36b8442dd6bd871289bc48f10.tar.gz git-93cef5bda5f5d6f36b8442dd6bd871289bc48f10.zip | |
gpg-interface: mark a string for translation
Previous commits have marked a number of error or warning messages in
"builtin/fast-export.c" and "builtin/fast-import.c" for translation.
As "gpg-interface.c" code is used by the fast-export and fast-import
code, we should make sure that error or warning messages are also all
marked for translation in "gpg-interface.c".
To ensure that, let's mark for translation an error message in a
die() function.
With this, all the error and warning messages emitted by fast-export
and fast-import can be properly translated.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
| -rw-r--r-- | gpg-interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gpg-interface.c b/gpg-interface.c index 91d1b58cb4..6b895f83ed 100644 --- a/gpg-interface.c +++ b/gpg-interface.c @@ -876,7 +876,7 @@ static char *get_default_ssh_signing_key(void) n = split_cmdline(key_command, &argv); if (n < 0) - die("malformed build-time gpg.ssh.defaultKeyCommand: %s", + die(_("malformed build-time gpg.ssh.defaultKeyCommand: %s"), split_cmdline_strerror(n)); strvec_pushv(&ssh_default_key.args, argv); |
