GNOME Bugzilla – Bug 72548
Backslash in glib message should be escaped
Last modified: 2004-12-22 21:47:04 UTC
From glib/gshell.c:525: g_set_error (error, G_SHELL_ERROR, G_SHELL_ERROR_BAD_QUOTING, _("Text ended just after a '\' character." " (The text was '%s')"), command_line); I assume that was is meant by the message is that the text ended just after a backslash character. In that case, the backslash should be escaped like this: g_set_error (error, G_SHELL_ERROR, G_SHELL_ERROR_BAD_QUOTING, _("Text ended just after a '\\' character." " (The text was '%s')"), command_line); As it is now, it is a problem with gettext translation because gettext will (correctly) put this message in the catalog for translators to translate: #: glib/gshell.c:528 #, c-format msgid "Text ended just after a '' character. (The text was '%s')"
Mon Feb 25 16:31:09 2002 Owen Taylor <otaylor@redhat.com> * glib/gshell.c (tokenize_command_line): Fix quoting of \' sequence (#72548, Christian Rose)