diff options
Diffstat (limited to 'ncpwrapper.c')
-rw-r--r-- | ncpwrapper.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/ncpwrapper.c b/ncpwrapper.c index 9d8d889..e4de9c6 100644 --- a/ncpwrapper.c +++ b/ncpwrapper.c @@ -65,9 +65,7 @@ void fill_data (TData *data, * Catch termination of the process */ static void -cb_child_watch( GPid pid, - gint status, - TData *data) +cb_child_watch(GPid pid) { /* Close pid */ g_spawn_close_pid( pid ); @@ -90,7 +88,7 @@ cb_timeout( TData *data ) if(data->stderr_end && data->stdout_end) { if(data->count == 0) - show_message(GTK_MESSAGE_INFO, "Mounting succesfull", "","Mounted to \"%s\" directory.",cmd_params.mount_point); + show_message(GTK_MESSAGE_INFO, _("Mounting succesfull"), "",_("Mounted to \"%s\" directory."),cmd_params.mount_point); g_source_remove(data->timeout); } @@ -129,7 +127,7 @@ cb_out_watch( GIOChannel *channel, g_free( tmp ); } - fill_data (data,"%s", "ncpmount output","%s",string->str, GTK_MESSAGE_INFO, TRUE); + fill_data (data,"%s", _("ncpmount output"),"%s",string->str, GTK_MESSAGE_INFO, TRUE); g_string_free(string, TRUE); return( TRUE ); @@ -165,7 +163,7 @@ cb_err_watch( GIOChannel *channel, g_free( tmp ); } - fill_data (data, "%s", "ncpmount error","%s",string->str, GTK_MESSAGE_ERROR, TRUE); + fill_data (data, "%s", _("ncpmount error"),"%s",string->str, GTK_MESSAGE_ERROR, TRUE); g_string_free(string, TRUE); return( TRUE ); |