diff --git a/ChangeLog b/ChangeLog index aec459fb25..af5b5bd83b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-01-09 Sven Neumann + + * app/main.c (main) + * app/app_procs.c (app_init): combined console output into single + messages to allow for better translation. + 2003-01-09 Sven Neumann * app/core/gimpdrawable.c (gimp_drawable_configure): use _("Unnamed") diff --git a/app/app_procs.c b/app/app_procs.c index 5faaefe528..0b6fa4ba25 100644 --- a/app/app_procs.c +++ b/app/app_procs.c @@ -107,9 +107,13 @@ app_init (gint gimp_argc, if (no_interface) { - g_print (_("The GIMP is not properly installed for the current user\n")); - g_print (_("User installation was skipped because the '--nointerface' flag was encountered\n")); - g_print (_("To perform user installation, run the GIMP without the '--nointerface' flag\n")); + const gchar *msg; + + msg = _("GIMP is not properly installed for the current user.\n" + "User installation was skipped because the '--nointerface' flag was used.\n" + "To perform user installation, run the GIMP without the '--nointerface' flag."); + + g_print ("%s\n\n", msg); } else { diff --git a/app/main.c b/app/main.c index 3b0f4ca15b..c47118a3d3 100644 --- a/app/main.c +++ b/app/main.c @@ -165,8 +165,12 @@ main (int argc, { if (! gui_libs_init (&argc, &argv)) { - g_print (_("ERROR: GIMP could not initialize the GUI.\n\n")); - g_print (_("Make sure a proper setup for your display environment exists.\n")); + const gchar *msg; + + msg = _("GIMP could not initialize the GUI.\n" + "Make sure a proper setup for your display environment exists."); + g_print ("%s\n\n", msg); + gimp_text_console_exit (TRUE); } } @@ -468,8 +472,8 @@ gimp_show_help (const gchar *progname) g_print (_(" --debug-handlers Enable non-fatal debugging signal handlers.\n")); g_print (_(" --display Use the designated X display.\n")); g_print (_(" --system-gimprc Use an alternate system gimprc file.\n")); - g_print (" --enable-stack-trace \n"); - g_print (_(" Debugging mode for fatal signals.\n\n")); + g_print (_(" --enable-stack-trace \n" + " Debugging mode for fatal signals.\n\n")); } static void