diff mbox series

[11/16] fsmonitor-ipc: add _() to calls to die()

Message ID d9592c7a0b798d0b5ab60580afbe36cd48d12616.1647033303.git.gitgitgadget@gmail.com (mailing list archive)
State New, archived
Headers show
Series Builtin FSMonitor Part 2.5 | expand

Commit Message

Jeff Hostetler March 11, 2022, 9:14 p.m. UTC
From: Jeff Hostetler <jeffhost@microsoft.com>

fixup! fsmonitor-ipc: create client routines for git-fsmonitor--daemon

Fix translation markings.

Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
---
 fsmonitor-ipc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/fsmonitor-ipc.c b/fsmonitor-ipc.c
index 91a535f1219..789e7397baa 100644
--- a/fsmonitor-ipc.c
+++ b/fsmonitor-ipc.c
@@ -152,7 +152,7 @@  int fsmonitor_ipc__send_command(const char *command,
 	state = ipc_client_try_connect(fsmonitor_ipc__get_path(), &options,
 				       &connection);
 	if (state != IPC_STATE__LISTENING) {
-		die("fsmonitor--daemon is not running");
+		die(_("fsmonitor--daemon is not running"));
 		return -1;
 	}
 
@@ -161,7 +161,7 @@  int fsmonitor_ipc__send_command(const char *command,
 	ipc_client_close_connection(connection);
 
 	if (ret == -1) {
-		die("could not send '%s' command to fsmonitor--daemon", c);
+		die(_("could not send '%s' command to fsmonitor--daemon"), c);
 		return -1;
 	}