mirror of https://github.com/GNOME/gimp.git
app/config/gimprc.c app/plug-in/gimppluginmanager.c
2007-04-17 Michael Natterer <mitch@gimp.org> * app/config/gimprc.c * app/plug-in/gimppluginmanager.c * app/plug-in/gimpplugin.c * app/gui/themes.c: don't translate --verbose or g_printerr() messages, they are debugging output that often end up in bugzilla and should not depend on the locale. svn path=/trunk/; revision=22262
This commit is contained in:
parent
2951fbf1ea
commit
e198e7cba3
|
@ -1,3 +1,12 @@
|
|||
2007-04-17 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/config/gimprc.c
|
||||
* app/plug-in/gimppluginmanager.c
|
||||
* app/plug-in/gimpplugin.c
|
||||
* app/gui/themes.c: don't translate --verbose or g_printerr()
|
||||
messages, they are debugging output that often end up in bugzilla
|
||||
and should not depend on the locale.
|
||||
|
||||
2007-04-17 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* plug-ins/common/gqbist.c: applied slightly modified patch from
|
||||
|
|
|
@ -256,7 +256,7 @@ gimp_rc_load (GimpRc *rc)
|
|||
g_return_if_fail (GIMP_IS_RC (rc));
|
||||
|
||||
if (rc->verbose)
|
||||
g_print (_("Parsing '%s'\n"),
|
||||
g_print ("Parsing '%s'\n",
|
||||
gimp_filename_to_utf8 (rc->system_gimprc));
|
||||
|
||||
if (! gimp_config_deserialize_file (GIMP_CONFIG (rc),
|
||||
|
@ -269,7 +269,7 @@ gimp_rc_load (GimpRc *rc)
|
|||
}
|
||||
|
||||
if (rc->verbose)
|
||||
g_print (_("Parsing '%s'\n"),
|
||||
g_print ("Parsing '%s'\n",
|
||||
gimp_filename_to_utf8 (rc->user_gimprc));
|
||||
|
||||
if (! gimp_config_deserialize_file (GIMP_CONFIG (rc),
|
||||
|
@ -515,7 +515,7 @@ gimp_rc_save (GimpRc *rc)
|
|||
header = g_strconcat (top, rc->system_gimprc, bottom, NULL);
|
||||
|
||||
if (rc->verbose)
|
||||
g_print (_("Saving '%s'\n"),
|
||||
g_print ("Writing '%s'\n",
|
||||
gimp_filename_to_utf8 (rc->user_gimprc));
|
||||
|
||||
if (! gimp_config_serialize_to_file (GIMP_CONFIG (rc),
|
||||
|
|
|
@ -228,7 +228,7 @@ themes_apply_theme (Gimp *gimp,
|
|||
themerc = gimp_personal_rc_file ("themerc");
|
||||
|
||||
if (gimp->be_verbose)
|
||||
g_print (_("Writing '%s'\n"),
|
||||
g_print ("Writing '%s'\n",
|
||||
gimp_filename_to_utf8 (themerc));
|
||||
|
||||
file = g_fopen (themerc, "w");
|
||||
|
@ -282,7 +282,7 @@ themes_directories_foreach (const GimpDatafileData *file_data,
|
|||
Gimp *gimp = GIMP (user_data);
|
||||
|
||||
if (gimp->be_verbose)
|
||||
g_print (_("Adding theme '%s' (%s)\n"),
|
||||
g_print ("Adding theme '%s' (%s)\n",
|
||||
gimp_filename_to_utf8 (file_data->basename),
|
||||
gimp_filename_to_utf8 (file_data->filename));
|
||||
|
||||
|
|
|
@ -439,7 +439,7 @@ gimp_plug_in_close (GimpPlugIn *plug_in,
|
|||
if (kill_it)
|
||||
{
|
||||
if (plug_in->manager->gimp->be_verbose)
|
||||
g_print (_("Terminating plug-in: '%s'\n"),
|
||||
g_print ("Terminating plug-in: '%s'\n",
|
||||
gimp_filename_to_utf8 (plug_in->prog));
|
||||
|
||||
/* If the plug-in opened a process group, kill the group instead
|
||||
|
@ -478,7 +478,7 @@ gimp_plug_in_close (GimpPlugIn *plug_in,
|
|||
if (dwExitCode == STILL_ACTIVE)
|
||||
{
|
||||
if (plug_in->manager->gimp->be_verbose)
|
||||
g_print (_("Terminating plug-in: '%s'\n"),
|
||||
g_print ("Terminating plug-in: '%s'\n",
|
||||
gimp_filename_to_utf8 (plug_in->prog));
|
||||
|
||||
TerminateProcess ((HANDLE) plug_in->pid, 0);
|
||||
|
|
|
@ -390,7 +390,7 @@ gimp_plug_in_manager_restore (GimpPlugInManager *manager,
|
|||
gimp_filename_to_utf8 (pluginrc), 0.0);
|
||||
|
||||
if (gimp->be_verbose)
|
||||
g_print (_("Parsing '%s'\n"), gimp_filename_to_utf8 (pluginrc));
|
||||
g_print ("Parsing '%s'\n", gimp_filename_to_utf8 (pluginrc));
|
||||
|
||||
rc_defs = plug_in_rc_parse (gimp, pluginrc, &error);
|
||||
|
||||
|
@ -440,7 +440,7 @@ gimp_plug_in_manager_restore (GimpPlugInManager *manager,
|
|||
g_free (basename);
|
||||
|
||||
if (gimp->be_verbose)
|
||||
g_print (_("Querying plug-in: '%s'\n"),
|
||||
g_print ("Querying plug-in: '%s'\n",
|
||||
gimp_filename_to_utf8 (plug_in_def->prog));
|
||||
|
||||
gimp_plug_in_manager_call_query (manager, context, plug_in_def);
|
||||
|
@ -475,7 +475,7 @@ gimp_plug_in_manager_restore (GimpPlugInManager *manager,
|
|||
g_free (basename);
|
||||
|
||||
if (gimp->be_verbose)
|
||||
g_print (_("Initializing plug-in: '%s'\n"),
|
||||
g_print ("Initializing plug-in: '%s'\n",
|
||||
gimp_filename_to_utf8 (plug_in_def->prog));
|
||||
|
||||
gimp_plug_in_manager_call_init (manager, context, plug_in_def);
|
||||
|
@ -501,7 +501,7 @@ gimp_plug_in_manager_restore (GimpPlugInManager *manager,
|
|||
if (manager->write_pluginrc)
|
||||
{
|
||||
if (gimp->be_verbose)
|
||||
g_print (_("Writing '%s'\n"), gimp_filename_to_utf8 (pluginrc));
|
||||
g_print ("Writing '%s'\n", gimp_filename_to_utf8 (pluginrc));
|
||||
|
||||
if (! plug_in_rc_write (manager->plug_in_defs, pluginrc, &error))
|
||||
{
|
||||
|
@ -514,7 +514,7 @@ gimp_plug_in_manager_restore (GimpPlugInManager *manager,
|
|||
|
||||
g_free (pluginrc);
|
||||
|
||||
/* create help_path and locale_domain lists */
|
||||
/* create locale and help domain lists */
|
||||
for (list = manager->plug_in_defs; list; list = list->next)
|
||||
{
|
||||
GimpPlugInDef *plug_in_def = list->data;
|
||||
|
@ -608,7 +608,7 @@ gimp_plug_in_manager_restore (GimpPlugInManager *manager,
|
|||
GValueArray *args;
|
||||
|
||||
if (gimp->be_verbose)
|
||||
g_print (_("Starting extension: '%s'\n"),
|
||||
g_print ("Starting extension: '%s'\n",
|
||||
GIMP_OBJECT (proc)->name);
|
||||
|
||||
status_callback (NULL, GIMP_OBJECT (proc)->name,
|
||||
|
@ -658,7 +658,7 @@ gimp_plug_in_manager_add_procedure (GimpPlugInManager *manager,
|
|||
|
||||
list->data = g_object_ref (procedure);
|
||||
|
||||
g_printerr ("removing duplicate PDB procedure \"%s\" "
|
||||
g_printerr ("Removing duplicate PDB procedure '%s' "
|
||||
"registered by '%s'\n",
|
||||
GIMP_OBJECT (tmp_proc)->name,
|
||||
gimp_filename_to_utf8 (tmp_proc->prog));
|
||||
|
@ -808,7 +808,7 @@ gimp_plug_in_manager_add_from_file (const GimpDatafileData *file_data,
|
|||
|
||||
if (g_ascii_strcasecmp (file_data->basename, plug_in_name) == 0)
|
||||
{
|
||||
g_printerr ("skipping duplicate plug-in: '%s'\n",
|
||||
g_printerr ("Skipping duplicate plug-in: '%s'\n",
|
||||
gimp_filename_to_utf8 (file_data->filename));
|
||||
|
||||
g_free (plug_in_name);
|
||||
|
@ -906,7 +906,7 @@ gimp_plug_in_manager_add_from_rc (GimpPlugInManager *manager,
|
|||
g_free (basename1);
|
||||
|
||||
manager->write_pluginrc = TRUE;
|
||||
g_printerr ("executable not found: '%s'\n",
|
||||
g_printerr ("Executable not found: '%s'\n",
|
||||
gimp_filename_to_utf8 (plug_in_def->prog));
|
||||
g_object_unref (plug_in_def);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue