Commit 399e35b6 authored by Sven Neumann's avatar Sven Neumann
Browse files

i18n stuff


--Sven
parent eb7d3013
Mon Nov 22 23:29:16 MET 1999 Sven Neumann <sven@gimp.org>
* app/airbrush.c
* app/devices.c
* app/menus.c
* app/module_db.c
* app/paint_core.c
* app/preferences_dialog.c
* app/tools.c
* po-plug-ins/POTFILES.in
* plug-ins/helpbrowser/helpbrowser.c
* plug-ins/gap/gap_range_ops.c
* plug-ins/common/rotate.c
* plug-ins/common/screenshot.c
* libgimp/gimpenv.c
* libgimp/gimpunitmenu.c: internationalization stuff:
Fixed a few typos, internationalized some plug-ins, removed the
_() from a few strings that are only debugging messages.
And the rotate plug-ins are now put into a sane order in the menus.
Mon Nov 22 13:18:40 GMT 1999 Adam D. Moss <adam@gimp.org>
* app/channel_ops.c: Disabled the copy-on-write for gimage
......
......@@ -201,7 +201,7 @@ airbrush_paint_func (PaintCore *paint_core,
/* timer_state = OFF; */
if (timer_state == ON)
{
g_warning (_("killing stray timer, please report to lewing@gimp.org"));
g_warning ("killing stray timer, please report to lewing@gimp.org");
gtk_timeout_remove (timer);
}
timer_state = OFF;
......
......@@ -439,8 +439,8 @@ devices_rc_update (gchar *name,
}
else
{
g_warning (_("devices_rc_update called multiple times "
"for not present device\n"));
g_warning ("devices_rc_update called multiple times "
"for not present device\n");
return;
}
}
......
......@@ -607,10 +607,10 @@ mod_load (module_info *mod,
if (mod->last_module_error)
g_free (mod->last_module_error);
mod->last_module_error = g_strdup (_("missing module_init() symbol"));
mod->last_module_error = g_strdup ("missing module_init() symbol");
if (verbose)
g_warning (_("%s: module_init() symbol not found"), mod->fullpath);
g_warning ("%s: module_init() symbol not found", mod->fullpath);
g_module_close (mod->module);
mod->module = NULL;
......
......@@ -250,7 +250,7 @@ file_prefs_ok_callback (GtkWidget *widget,
if (default_xresolution < GIMP_MIN_RESOLUTION ||
default_yresolution < GIMP_MIN_RESOLUTION)
{
g_message (_("Error: default resolution must not be zero."));
g_message (_("Error: Default resolution must not be zero."));
default_xresolution = old_default_xresolution;
default_yresolution = old_default_yresolution;
return;
......
......@@ -439,8 +439,8 @@ devices_rc_update (gchar *name,
}
else
{
g_warning (_("devices_rc_update called multiple times "
"for not present device\n"));
g_warning ("devices_rc_update called multiple times "
"for not present device\n");
return;
}
}
......
......@@ -439,8 +439,8 @@ devices_rc_update (gchar *name,
}
else
{
g_warning (_("devices_rc_update called multiple times "
"for not present device\n"));
g_warning ("devices_rc_update called multiple times "
"for not present device\n");
return;
}
}
......
......@@ -934,9 +934,16 @@ menus_reorder_plugins (void)
static gint n_xtns_plugins = (sizeof (xtns_plugins) /
sizeof (xtns_plugins[0]));
static gchar *rotate_plugins[] = { "90 degrees",
"180 degrees",
"270 degrees" };
static gint n_rotate_plugins = (sizeof (rotate_plugins) /
sizeof (rotate_plugins[0]));
GtkWidget *menu;
GtkWidget *menu_item;
GList *list;
gchar *path;
gint i, pos;
/* Beautify <Toolbox>/Xtns */
......@@ -973,6 +980,32 @@ menus_reorder_plugins (void)
if (menu_item->submenu)
menus_filters_subdirs_to_top (GTK_MENU (menu_item->submenu));
}
/* Reorder Rotate plugin menu entries */
pos = 2;
for (i = 0; i < n_rotate_plugins; i++)
{
path = g_strconcat ("/Image/Transforms/Rotate/", rotate_plugins[i], NULL);
menu_item = gtk_item_factory_get_widget (image_factory, path);
if (menu_item && menu_item->parent)
{
gtk_menu_reorder_child (GTK_MENU (menu_item->parent), menu_item, pos);
pos++;
}
g_free (path);
}
pos = 2;
for (i = 0; i < n_rotate_plugins; i++)
{
path = g_strconcat ("/Layers/Rotate/", rotate_plugins[i], NULL);
menu_item = gtk_item_factory_get_widget (image_factory, path);
if (menu_item && menu_item->parent)
{
gtk_menu_reorder_child (GTK_MENU (menu_item->parent), menu_item, pos);
pos++;
}
g_free (path);
}
}
static void
......@@ -1567,7 +1600,7 @@ tearoff_cmd_callback (GtkWidget *widget,
/* This should be a window */
if (!GTK_IS_WINDOW (top))
{
g_message(_("tearoff menu not in top level window"));
g_message("tearoff menu not in top level window");
}
else
{
......@@ -1590,7 +1623,7 @@ tearoff_cmd_callback (GtkWidget *widget,
if (!top)
{
g_message (_("can't unregister tearoff menu top level window"));
g_message ("can't unregister tearoff menu top level window");
}
else
{
......
......@@ -607,10 +607,10 @@ mod_load (module_info *mod,
if (mod->last_module_error)
g_free (mod->last_module_error);
mod->last_module_error = g_strdup (_("missing module_init() symbol"));
mod->last_module_error = g_strdup ("missing module_init() symbol");
if (verbose)
g_warning (_("%s: module_init() symbol not found"), mod->fullpath);
g_warning ("%s: module_init() symbol not found", mod->fullpath);
g_module_close (mod->module);
mod->module = NULL;
......
......@@ -250,7 +250,7 @@ file_prefs_ok_callback (GtkWidget *widget,
if (default_xresolution < GIMP_MIN_RESOLUTION ||
default_yresolution < GIMP_MIN_RESOLUTION)
{
g_message (_("Error: default resolution must not be zero."));
g_message (_("Error: Default resolution must not be zero."));
default_xresolution = old_default_xresolution;
default_yresolution = old_default_yresolution;
return;
......
......@@ -934,9 +934,16 @@ menus_reorder_plugins (void)
static gint n_xtns_plugins = (sizeof (xtns_plugins) /
sizeof (xtns_plugins[0]));
static gchar *rotate_plugins[] = { "90 degrees",
"180 degrees",
"270 degrees" };
static gint n_rotate_plugins = (sizeof (rotate_plugins) /
sizeof (rotate_plugins[0]));
GtkWidget *menu;
GtkWidget *menu_item;
GList *list;
gchar *path;
gint i, pos;
/* Beautify <Toolbox>/Xtns */
......@@ -973,6 +980,32 @@ menus_reorder_plugins (void)
if (menu_item->submenu)
menus_filters_subdirs_to_top (GTK_MENU (menu_item->submenu));
}
/* Reorder Rotate plugin menu entries */
pos = 2;
for (i = 0; i < n_rotate_plugins; i++)
{
path = g_strconcat ("/Image/Transforms/Rotate/", rotate_plugins[i], NULL);
menu_item = gtk_item_factory_get_widget (image_factory, path);
if (menu_item && menu_item->parent)
{
gtk_menu_reorder_child (GTK_MENU (menu_item->parent), menu_item, pos);
pos++;
}
g_free (path);
}
pos = 2;
for (i = 0; i < n_rotate_plugins; i++)
{
path = g_strconcat ("/Layers/Rotate/", rotate_plugins[i], NULL);
menu_item = gtk_item_factory_get_widget (image_factory, path);
if (menu_item && menu_item->parent)
{
gtk_menu_reorder_child (GTK_MENU (menu_item->parent), menu_item, pos);
pos++;
}
g_free (path);
}
}
static void
......@@ -1567,7 +1600,7 @@ tearoff_cmd_callback (GtkWidget *widget,
/* This should be a window */
if (!GTK_IS_WINDOW (top))
{
g_message(_("tearoff menu not in top level window"));
g_message("tearoff menu not in top level window");
}
else
{
......@@ -1590,7 +1623,7 @@ tearoff_cmd_callback (GtkWidget *widget,
if (!top)
{
g_message (_("can't unregister tearoff menu top level window"));
g_message ("can't unregister tearoff menu top level window");
}
else
{
......
......@@ -934,9 +934,16 @@ menus_reorder_plugins (void)
static gint n_xtns_plugins = (sizeof (xtns_plugins) /
sizeof (xtns_plugins[0]));
static gchar *rotate_plugins[] = { "90 degrees",
"180 degrees",
"270 degrees" };
static gint n_rotate_plugins = (sizeof (rotate_plugins) /
sizeof (rotate_plugins[0]));
GtkWidget *menu;
GtkWidget *menu_item;
GList *list;
gchar *path;
gint i, pos;
/* Beautify <Toolbox>/Xtns */
......@@ -973,6 +980,32 @@ menus_reorder_plugins (void)
if (menu_item->submenu)
menus_filters_subdirs_to_top (GTK_MENU (menu_item->submenu));
}
/* Reorder Rotate plugin menu entries */
pos = 2;
for (i = 0; i < n_rotate_plugins; i++)
{
path = g_strconcat ("/Image/Transforms/Rotate/", rotate_plugins[i], NULL);
menu_item = gtk_item_factory_get_widget (image_factory, path);
if (menu_item && menu_item->parent)
{
gtk_menu_reorder_child (GTK_MENU (menu_item->parent), menu_item, pos);
pos++;
}
g_free (path);
}
pos = 2;
for (i = 0; i < n_rotate_plugins; i++)
{
path = g_strconcat ("/Layers/Rotate/", rotate_plugins[i], NULL);
menu_item = gtk_item_factory_get_widget (image_factory, path);
if (menu_item && menu_item->parent)
{
gtk_menu_reorder_child (GTK_MENU (menu_item->parent), menu_item, pos);
pos++;
}
g_free (path);
}
}
static void
......@@ -1567,7 +1600,7 @@ tearoff_cmd_callback (GtkWidget *widget,
/* This should be a window */
if (!GTK_IS_WINDOW (top))
{
g_message(_("tearoff menu not in top level window"));
g_message("tearoff menu not in top level window");
}
else
{
......@@ -1590,7 +1623,7 @@ tearoff_cmd_callback (GtkWidget *widget,
if (!top)
{
g_message (_("can't unregister tearoff menu top level window"));
g_message ("can't unregister tearoff menu top level window");
}
else
{
......
......@@ -607,10 +607,10 @@ mod_load (module_info *mod,
if (mod->last_module_error)
g_free (mod->last_module_error);
mod->last_module_error = g_strdup (_("missing module_init() symbol"));
mod->last_module_error = g_strdup ("missing module_init() symbol");
if (verbose)
g_warning (_("%s: module_init() symbol not found"), mod->fullpath);
g_warning ("%s: module_init() symbol not found", mod->fullpath);
g_module_close (mod->module);
mod->module = NULL;
......
......@@ -201,7 +201,7 @@ airbrush_paint_func (PaintCore *paint_core,
/* timer_state = OFF; */
if (timer_state == ON)
{
g_warning (_("killing stray timer, please report to lewing@gimp.org"));
g_warning ("killing stray timer, please report to lewing@gimp.org");
gtk_timeout_remove (timer);
}
timer_state = OFF;
......
......@@ -1766,7 +1766,7 @@ set_undo_tiles (GimpDrawable *drawable,
if (undo_tiles == NULL)
{
g_warning (_("set_undo_tiles: undo_tiles is null"));
g_warning ("set_undo_tiles: undo_tiles is null");
return;
}
......
......@@ -250,7 +250,7 @@ file_prefs_ok_callback (GtkWidget *widget,
if (default_xresolution < GIMP_MIN_RESOLUTION ||
default_yresolution < GIMP_MIN_RESOLUTION)
{
g_message (_("Error: default resolution must not be zero."));
g_message (_("Error: Default resolution must not be zero."));
default_xresolution = old_default_xresolution;
default_yresolution = old_default_yresolution;
return;
......
......@@ -735,7 +735,7 @@ ToolInfo tool_info[] =
N_("/Image/Histogram..."),
NULL,
NULL,
N_("View image historgam"),
N_("View image histogram"),
"tools/histogram.html",
HISTOGRAM,
tools_new_histogram_tool,
......
......@@ -201,7 +201,7 @@ airbrush_paint_func (PaintCore *paint_core,
/* timer_state = OFF; */
if (timer_state == ON)
{
g_warning (_("killing stray timer, please report to lewing@gimp.org"));
g_warning ("killing stray timer, please report to lewing@gimp.org");
gtk_timeout_remove (timer);
}
timer_state = OFF;
......
......@@ -201,7 +201,7 @@ airbrush_paint_func (PaintCore *paint_core,
/* timer_state = OFF; */
if (timer_state == ON)
{
g_warning (_("killing stray timer, please report to lewing@gimp.org"));
g_warning ("killing stray timer, please report to lewing@gimp.org");
gtk_timeout_remove (timer);
}
timer_state = OFF;
......
......@@ -1766,7 +1766,7 @@ set_undo_tiles (GimpDrawable *drawable,
if (undo_tiles == NULL)
{
g_warning (_("set_undo_tiles: undo_tiles is null"));
g_warning ("set_undo_tiles: undo_tiles is null");
return;
}
......
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