Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Mon, 22 Jun 2015 13:46:11 UTC Commit: 0cc3bf31c2b83d53d48b9e3feda90715833e84ed https://github.com/geany/geany/commit/0cc3bf31c2b83d53d48b9e3feda90715833e84...
Log Message: ----------- Move comment meant for translators so xgettext can pick them
Apparently xgettext only recognize comments that are straight above the translation, so move them where it can find them.
Modified Paths: -------------- src/spawn.c
Modified: src/spawn.c 6 lines changed, 3 insertions(+), 3 deletions(-) =================================================================== @@ -117,8 +117,8 @@ gchar *spawn_get_program_name(const gchar *command_line, GError **error)
if (!*command_line) { - /* TL note: from glib */ g_set_error(error, G_SHELL_ERROR, G_SHELL_ERROR_EMPTY_STRING, + /* TL note: from glib */ _("Text was empty (or contained only whitespace)")); return FALSE; } @@ -132,8 +132,8 @@ gchar *spawn_get_program_name(const gchar *command_line, GError **error) /* Windows allows "foo.exe, but we may have extra arguments */ if ((s = strchr(command_line, '"')) == NULL) { - /* TL note: from glib */ g_set_error(error, G_SHELL_ERROR, G_SHELL_ERROR_BAD_QUOTING, + /* TL note: from glib */ _("Text ended before matching quote was found for %c." " (The text was '%s')"), '"', command_line); return FALSE; @@ -178,8 +178,8 @@ gchar *spawn_get_program_name(const gchar *command_line, GError **error)
if (open_quote) { - /* TL note: from glib */ g_set_error(error, G_SHELL_ERROR, G_SHELL_ERROR_BAD_QUOTING, + /* TL note: from glib */ _("Text ended before matching quote was found for %c." " (The text was '%s')"), '"', command_line); g_free(program);
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).