diff --git a/ChangeLog b/ChangeLog index 3f3491a7de..13698744d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-03-13 Raphaƫl Quinet + + * 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. + 2007-03-13 Sven Neumann * app/tools/gimptransformtool.c (gimp_transform_tool_response): diff --git a/plug-ins/script-fu/script-fu-console.c b/plug-ins/script-fu/script-fu-console.c index 7550a88b1e..bdf3777a5b 100644 --- a/plug-ins/script-fu/script-fu-console.c +++ b/plug-ins/script-fu/script-fu-console.c @@ -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); } }