Fix for bug #417467 based on modified patch by Eric Lamarque and suggested
2007-03-13 Raphael Quinet <raphael@gimp.org> * plug-ins/script-fu/script-fu-console.c: Fix for bug #417467 based on modified patch by Eric Lamarque and suggested by Mitch. Allows build without warnings and correct localization for Solaris and other platforms. svn path=/trunk/; revision=22109
This commit is contained in:

committed by
Raphaël Quinet

parent
54f709ec06
commit
66ac1db77c
@ -203,13 +203,13 @@ script_fu_console_interface (void)
|
||||
{
|
||||
const gchar * const greetings[] =
|
||||
{
|
||||
"strong", _("Welcome to TinyScheme"),
|
||||
"strong", N_("Welcome to TinyScheme"),
|
||||
NULL, "\n",
|
||||
NULL, "Copyright (c) Dimitrios Souflis",
|
||||
NULL, "\n",
|
||||
"strong", _("Script-Fu Console"),
|
||||
"strong", N_("Script-Fu Console"),
|
||||
NULL, " - ",
|
||||
"emphasis", _("Interactive Scheme Development"),
|
||||
"emphasis", N_("Interactive Scheme Development"),
|
||||
NULL, "\n"
|
||||
};
|
||||
|
||||
@ -222,12 +222,12 @@ script_fu_console_interface (void)
|
||||
{
|
||||
if (greetings[i])
|
||||
gtk_text_buffer_insert_with_tags_by_name (console->console, &cursor,
|
||||
greetings[i + 1], -1,
|
||||
greetings[i],
|
||||
gettext (greetings[i + 1]),
|
||||
-1, greetings[i],
|
||||
NULL);
|
||||
else
|
||||
gtk_text_buffer_insert (console->console, &cursor,
|
||||
greetings[i + 1], -1);
|
||||
gettext (greetings[i + 1]), -1);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user