Skip to content

Commit 2aaa867

Browse files
committed
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 <[email protected]>
1 parent 2865fe4 commit 2aaa867

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gpg-interface.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@ static char *get_default_ssh_signing_key(void)
876876
n = split_cmdline(key_command, &argv);
877877

878878
if (n < 0)
879-
die("malformed build-time gpg.ssh.defaultKeyCommand: %s",
879+
die(_("malformed build-time gpg.ssh.defaultKeyCommand: %s"),
880880
split_cmdline_strerror(n));
881881

882882
strvec_pushv(&ssh_default_key.args, argv);

0 commit comments

Comments
 (0)