app/gui/gradient-select.c app/gui/gui.c app/gui/indicator-area.c

2001-11-30  Rebecca Walter  <bex@gimp.org>

	* app/gui/gradient-select.c
	* app/gui/gui.c
	* app/gui/indicator-area.c
	* app/gui/info-dialog.c
	* app/gui/info-window.c:  More proofreading.
	In cooperation with Marco Wessel (CyBeR)
This commit is contained in:
Rebecca Walter 2001-11-30 16:52:28 +00:00 committed by Rebecca Jean Pedersen
parent cacbd302e8
commit bf860fd1af
9 changed files with 35 additions and 16 deletions

View file

@ -1,3 +1,12 @@
2001-11-30 Rebecca Walter <bex@gimp.org>
* app/gui/gradient-select.c
* app/gui/gui.c
* app/gui/indicator-area.c
* app/gui/info-dialog.c
* app/gui/info-window.c: More proofreading.
In cooperation with Marco Wessel (CyBeR)
2001-11-30 Michael Natterer <mitch@gimp.org>
* app/Makefile.am

View file

@ -137,7 +137,7 @@ update_field (InfoField *field)
break;
default:
g_warning ("Unknown info_dialog field type.");
g_warning ("%s: Unknown info_dialog field type.", G_STRLOC);
break;
}

View file

@ -250,24 +250,28 @@ info_window_create_extended (InfoDialog *info_win,
GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 2, 2);
gtk_widget_show (preview);
/* Red */
label = gtk_label_new (_("R:"));
gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, 0, 1, 1, 2,
GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0);
gtk_widget_show (label);
/* Green */
label = gtk_label_new (_("G:"));
gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, 0, 1, 2, 3,
GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0);
gtk_widget_show (label);
/* Blue */
label = gtk_label_new (_("B:"));
gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, 0, 1, 3, 4,
GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0);
gtk_widget_show (label);
/* Alpha */
label = gtk_label_new (_("A:"));
gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, 0, 1, 4, 5,
@ -335,7 +339,7 @@ info_window_create (GimpDisplay *gdisp)
info_win->user_data = iwd;
/* add the information fields */
info_dialog_add_label (info_win, _("Dimensions (w x h):"),
info_dialog_add_label (info_win, _("Dimensions (W x H):"),
iwd->dimensions_str);
info_dialog_add_label (info_win, '\0',
iwd->real_dimensions_str);

View file

@ -265,7 +265,8 @@ gradient_select_change_callbacks (GradientSelect *gsp,
GIMP_PDB_END);
if (!return_vals || return_vals[0].value.pdb_int != GIMP_PDB_SUCCESS)
g_message ("failed to run gradient callback function");
g_message (_("Failed to run gradient callback function.\n"
"The corresponding plug-in may have crashed."));
else
procedural_db_destroy_args (return_vals, nreturn_vals);
}

View file

@ -113,7 +113,7 @@ gui_themes_dir_foreach_func (const gchar *filename,
basename = g_path_get_basename (filename);
if (gimp->be_verbose)
g_print (_("adding theme \"%s\" (%s)\n"), basename, filename);
g_print (_("Adding theme '%s' (%s)\n"), basename, filename);
g_hash_table_insert (themes_hash,
basename,
@ -179,7 +179,7 @@ gui_themes_init (Gimp *gimp)
}
if (gimp->be_verbose)
g_print (_("parsing \"%s\"\n"), gtkrc);
g_print (_("Parsing '%s'\n"), gtkrc);
gtk_rc_parse (gtkrc);
@ -190,7 +190,7 @@ gui_themes_init (Gimp *gimp)
gtkrc = gimp_personal_rc_file ("gtkrc");
if (gimp->be_verbose)
g_print (_("parsing \"%s\"\n"), gtkrc);
g_print (_("Parsing '%s'\n"), gtkrc);
gtk_rc_parse (gtkrc);
@ -376,11 +376,12 @@ gui_really_quit_dialog (GCallback quit_func)
gimp_menu_item_set_sensitive ("<Toolbox>/File/Quit", FALSE);
gimp_menu_item_set_sensitive ("<Image>/File/Quit", FALSE);
dialog = gimp_query_boolean_box (_("Quit the GIMP?"),
dialog = gimp_query_boolean_box (_("Quit The GIMP?"),
gimp_standard_help_func,
"dialogs/really_quit.html",
TRUE,
_("Some files unsaved.\n\nQuit the GIMP?"),
_("Some files are unsaved.\n"
"\nReally quit The GIMP?"),
GTK_STOCK_QUIT, GTK_STOCK_CANCEL,
NULL, NULL,
gui_really_quit_callback,

View file

@ -137,7 +137,7 @@ indicator_area_create (GimpContext *context)
gimp_help_set_help_data (brush_preview,
_("The active brush.\n"
"Click to open the Brushes Dialog."), NULL);
"Click to open the Brush Dialog."), NULL);
g_signal_connect_object (G_OBJECT (context), "brush_changed",
G_CALLBACK (gimp_preview_set_viewable),
@ -169,7 +169,7 @@ indicator_area_create (GimpContext *context)
gimp_help_set_help_data (pattern_preview,
_("The active pattern.\n"
"Click to open the Patterns Dialog."), NULL);
"Click to open the Pattern Dialog."), NULL);
g_signal_connect_object (G_OBJECT (context), "pattern_changed",
G_CALLBACK (gimp_preview_set_viewable),
@ -201,7 +201,7 @@ indicator_area_create (GimpContext *context)
gimp_help_set_help_data (gradient_preview,
_("The active gradient.\n"
"Click to open the Gradients Dialog."), NULL);
"Click to open the Gradient Dialog."), NULL);
g_signal_connect_object (G_OBJECT (context), "gradient_changed",
G_CALLBACK (gimp_preview_set_viewable),

View file

@ -137,7 +137,7 @@ update_field (InfoField *field)
break;
default:
g_warning ("Unknown info_dialog field type.");
g_warning ("%s: Unknown info_dialog field type.", G_STRLOC);
break;
}

View file

@ -250,24 +250,28 @@ info_window_create_extended (InfoDialog *info_win,
GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 2, 2);
gtk_widget_show (preview);
/* Red */
label = gtk_label_new (_("R:"));
gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, 0, 1, 1, 2,
GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0);
gtk_widget_show (label);
/* Green */
label = gtk_label_new (_("G:"));
gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, 0, 1, 2, 3,
GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0);
gtk_widget_show (label);
/* Blue */
label = gtk_label_new (_("B:"));
gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, 0, 1, 3, 4,
GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0);
gtk_widget_show (label);
/* Alpha */
label = gtk_label_new (_("A:"));
gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, 0, 1, 4, 5,
@ -335,7 +339,7 @@ info_window_create (GimpDisplay *gdisp)
info_win->user_data = iwd;
/* add the information fields */
info_dialog_add_label (info_win, _("Dimensions (w x h):"),
info_dialog_add_label (info_win, _("Dimensions (W x H):"),
iwd->dimensions_str);
info_dialog_add_label (info_win, '\0',
iwd->real_dimensions_str);

View file

@ -137,7 +137,7 @@ indicator_area_create (GimpContext *context)
gimp_help_set_help_data (brush_preview,
_("The active brush.\n"
"Click to open the Brushes Dialog."), NULL);
"Click to open the Brush Dialog."), NULL);
g_signal_connect_object (G_OBJECT (context), "brush_changed",
G_CALLBACK (gimp_preview_set_viewable),
@ -169,7 +169,7 @@ indicator_area_create (GimpContext *context)
gimp_help_set_help_data (pattern_preview,
_("The active pattern.\n"
"Click to open the Patterns Dialog."), NULL);
"Click to open the Pattern Dialog."), NULL);
g_signal_connect_object (G_OBJECT (context), "pattern_changed",
G_CALLBACK (gimp_preview_set_viewable),
@ -201,7 +201,7 @@ indicator_area_create (GimpContext *context)
gimp_help_set_help_data (gradient_preview,
_("The active gradient.\n"
"Click to open the Gradients Dialog."), NULL);
"Click to open the Gradient Dialog."), NULL);
g_signal_connect_object (G_OBJECT (context), "gradient_changed",
G_CALLBACK (gimp_preview_set_viewable),