Small string change in Glib



Just fixed 

 http://bugzilla.gnome.org/show_bug.cgi?id=72548

===
>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')"
===

So the string has now changed with the fix.

Regards,
                                        Owen



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]