Commit bfbeae98 authored by Rebecca Walter's avatar Rebecca Walter Committed by Rebecca Jean Pedersen
Browse files

app/gui/module-browser.c More of my proofing.

2001-12-06  Rebecca Walter <bex@gimp.org>

	* app/gui/module-browser.c
	* app/gui/offset-dialog.c: More of my proofing.
parent 5cebb047
2001-12-06 Rebecca Walter <bex@gimp.org>
* app/gui/module-browser.c
* app/gui/offset-dialog.c: More of my proofing.
2001-12-06 Dindinx <David@dindinx.org>
* plug-ins/*/*.c: use the G_N_ELEMENTS macro where appropriate,
......
......@@ -348,7 +348,8 @@ browser_info_remove (GimpContainer *container,
}
while (gtk_tree_model_iter_next (GTK_TREE_MODEL (st->list), &iter));
g_warning ("tried to remove module that wasn't in brower's list");
g_warning ("%s: Tried to remove a module not in the browser's list.",
G_STRLOC);
}
static void
......@@ -389,7 +390,7 @@ browser_info_update (GimpModuleInfoObj *mod,
text[2] = mod->info->version;
text[3] = mod->info->copyright;
text[4] = mod->info->date;
text[5] = mod->on_disk ? _("on disk") : _("only in memory");
text[5] = mod->on_disk ? _("On disk") : _("Only in memory");
}
else
{
......@@ -398,12 +399,12 @@ browser_info_update (GimpModuleInfoObj *mod,
text[2] = "--";
text[3] = "--";
text[4] = "--";
text[5] = mod->on_disk ? _("on disk") : _("nowhere (click 'refresh')");
text[5] = mod->on_disk ? _("On disk") : _("No longer available");
}
if (mod->state == GIMP_MODULE_STATE_ERROR && mod->last_module_error)
{
status = g_strdup_printf ("%s (%s)", gettext (statename[mod->state]),
status = g_strdup_printf ("%s\n(%s)", gettext (statename[mod->state]),
mod->last_module_error);
}
else
......@@ -481,7 +482,7 @@ browser_info_init (BrowserState *st,
}
st->load_inhibit_check =
gtk_check_button_new_with_label (_("Autoload during startup"));
gtk_check_button_new_with_label (_("Autoload during start-up"));
gtk_widget_show (st->load_inhibit_check);
gtk_table_attach (GTK_TABLE (table), st->load_inhibit_check,
0, 2, i, i+1,
......
......@@ -83,7 +83,7 @@ offset_dialog_create (GimpDrawable *drawable)
off_d->fill_type = gimp_drawable_has_alpha (drawable);
off_d->gimage = gimp_drawable_gimage (drawable);
off_d->dlg = gimp_dialog_new (_("Offset"), "offset",
off_d->dlg = gimp_dialog_new (_("Offset Layer"), "offset",
gimp_standard_help_func,
"dialogs/offset.html",
GTK_WIN_POS_NONE,
......@@ -163,7 +163,7 @@ offset_dialog_create (GimpDrawable *drawable)
gtk_widget_show (table);
/* The wrap around option */
check = gtk_check_button_new_with_label (_("Wrap Around"));
check = gtk_check_button_new_with_label (_("Wrap"));
gtk_box_pack_start (GTK_BOX (vbox), check, FALSE, FALSE, 0);
gtk_widget_show (check);
......@@ -188,6 +188,7 @@ offset_dialog_create (GimpDrawable *drawable)
gtk_widget_set_sensitive (radio_button, FALSE);
/* The by half height and half width option */
#warning FIXME move button
push = gtk_button_new_with_label (_("Offset by (x/2),(y/2)"));
gtk_container_set_border_width (GTK_CONTAINER (push), 2);
gtk_box_pack_start (GTK_BOX (vbox), push, FALSE, FALSE, 0);
......
......@@ -348,7 +348,8 @@ browser_info_remove (GimpContainer *container,
}
while (gtk_tree_model_iter_next (GTK_TREE_MODEL (st->list), &iter));
g_warning ("tried to remove module that wasn't in brower's list");
g_warning ("%s: Tried to remove a module not in the browser's list.",
G_STRLOC);
}
static void
......@@ -389,7 +390,7 @@ browser_info_update (GimpModuleInfoObj *mod,
text[2] = mod->info->version;
text[3] = mod->info->copyright;
text[4] = mod->info->date;
text[5] = mod->on_disk ? _("on disk") : _("only in memory");
text[5] = mod->on_disk ? _("On disk") : _("Only in memory");
}
else
{
......@@ -398,12 +399,12 @@ browser_info_update (GimpModuleInfoObj *mod,
text[2] = "--";
text[3] = "--";
text[4] = "--";
text[5] = mod->on_disk ? _("on disk") : _("nowhere (click 'refresh')");
text[5] = mod->on_disk ? _("On disk") : _("No longer available");
}
if (mod->state == GIMP_MODULE_STATE_ERROR && mod->last_module_error)
{
status = g_strdup_printf ("%s (%s)", gettext (statename[mod->state]),
status = g_strdup_printf ("%s\n(%s)", gettext (statename[mod->state]),
mod->last_module_error);
}
else
......@@ -481,7 +482,7 @@ browser_info_init (BrowserState *st,
}
st->load_inhibit_check =
gtk_check_button_new_with_label (_("Autoload during startup"));
gtk_check_button_new_with_label (_("Autoload during start-up"));
gtk_widget_show (st->load_inhibit_check);
gtk_table_attach (GTK_TABLE (table), st->load_inhibit_check,
0, 2, i, i+1,
......
......@@ -83,7 +83,7 @@ offset_dialog_create (GimpDrawable *drawable)
off_d->fill_type = gimp_drawable_has_alpha (drawable);
off_d->gimage = gimp_drawable_gimage (drawable);
off_d->dlg = gimp_dialog_new (_("Offset"), "offset",
off_d->dlg = gimp_dialog_new (_("Offset Layer"), "offset",
gimp_standard_help_func,
"dialogs/offset.html",
GTK_WIN_POS_NONE,
......@@ -163,7 +163,7 @@ offset_dialog_create (GimpDrawable *drawable)
gtk_widget_show (table);
/* The wrap around option */
check = gtk_check_button_new_with_label (_("Wrap Around"));
check = gtk_check_button_new_with_label (_("Wrap"));
gtk_box_pack_start (GTK_BOX (vbox), check, FALSE, FALSE, 0);
gtk_widget_show (check);
......@@ -188,6 +188,7 @@ offset_dialog_create (GimpDrawable *drawable)
gtk_widget_set_sensitive (radio_button, FALSE);
/* The by half height and half width option */
#warning FIXME move button
push = gtk_button_new_with_label (_("Offset by (x/2),(y/2)"));
gtk_container_set_border_width (GTK_CONTAINER (push), 2);
gtk_box_pack_start (GTK_BOX (vbox), push, FALSE, FALSE, 0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment