From: Jeff Hostetler via GitGitGadget Date: Fri, 11 Mar 2022 21:14:59 GMT Subject: [PATCH 12/16] compat/fsmonitor/fsm-listen-darwin: add _() to calls to error() Message-ID: <25fc4c993422cfcc1fcf7d4432828a8df1bb25bd.1647033303.git.gitgitgadget@gmail.com> In-Reply-To: From: Jeff Hostetler fixup! compat/fsmonitor/fsm-listen-darwin: implement FSEvent listener \ on MacOS Signed-off-by: Jeff Hostetler --- compat/fsmonitor/fsm-listen-darwin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compat/fsmonitor/fsm-listen-darwin.c b/compat/fsmonitor/fsm-listen-darwin.c index 9a73fb607d5..d9d0d0fa0e9 100644 --- a/compat/fsmonitor/fsm-listen-darwin.c +++ b/compat/fsmonitor/fsm-listen-darwin.c @@ -335,7 +335,7 @@ int fsm_listen__ctor(struct fsmonitor_daemon_state *state) return 0; failed: - error("Unable to create FSEventStream."); + error(_("Unable to create FSEventStream.")); FREE_AND_NULL(state->backend_data); return -1; @@ -383,7 +383,7 @@ void fsm_listen__loop(struct fsmonitor_daemon_state *state) data->stream_scheduled = 1; if (!FSEventStreamStart(data->stream)) { - error("Failed to start the FSEventStream"); + error(_("Failed to start the FSEventStream")); goto force_error_stop_without_loop; } data->stream_started = 1; -- gitgitgadget