[PATCH 11/16] fsmonitor-ipc: add _() to calls to die()
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 --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;
}
--
gitgitgadget