app/main.c (main) combined console output into single messages to allow

2003-01-09  Sven Neumann  <sven@gimp.org>

	* app/main.c (main)
	* app/app_procs.c (app_init): combined console output into single
	messages to allow for better translation.
This commit is contained in:
Sven Neumann 2003-01-09 11:01:01 +00:00 committed by Sven Neumann
parent bf31a00fc8
commit e903355a62
3 changed files with 21 additions and 7 deletions

View File

@ -1,3 +1,9 @@
2003-01-09 Sven Neumann <sven@gimp.org>
* 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 <sven@gimp.org>
* app/core/gimpdrawable.c (gimp_drawable_configure): use _("Unnamed")

View File

@ -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
{

View File

@ -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 <display> Use the designated X display.\n"));
g_print (_(" --system-gimprc <gimprc> Use an alternate system gimprc file.\n"));
g_print (" --enable-stack-trace <never | query | always>\n");
g_print (_(" Debugging mode for fatal signals.\n\n"));
g_print (_(" --enable-stack-trace <never | query | always>\n"
" Debugging mode for fatal signals.\n\n"));
}
static void