Commit 8e156764 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

all plug-ins except script-fu: removed the translation marks from the menu

2004-10-12  Michael Natterer  <mitch@gimp.org>

	* plug-ins/*/*.c: all plug-ins except script-fu: removed the
	translation marks from the menu paths passed to
	gimp_plugin_menu_register(). All default menu branches used by
	included plug-ins are created and translated by the core now.
parent ab6c609c
2004-10-12 Michael Natterer <mitch@gimp.org>
* plug-ins/*/*.c: all plug-ins except script-fu: removed the
translation marks from the menu paths passed to
gimp_plugin_menu_register(). All default menu branches used by
included plug-ins are created and translated by the core now.
2004-10-12 Sven Neumann <sven@gimp.org>
* app/core/gimpimage.[ch]: renamed struct member "unit" to
......
......@@ -265,7 +265,7 @@ query (void)
args, NULL);
gimp_plugin_menu_register ("plug_in_fractalexplorer",
N_("<Image>/Filters/Render"));
"<Image>/Filters/Render");
}
/**********************************************************************
......
......@@ -201,7 +201,7 @@ query (void)
args, NULL);
gimp_plugin_menu_register ("plug_in_lighting",
N_("<Image>/Filters/Light Effects"));
"<Image>/Filters/Light Effects");
}
static void
......
......@@ -202,8 +202,7 @@ query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register ("plug_in_map_object",
N_("<Image>/Filters/Map"));
gimp_plugin_menu_register ("plug_in_map_object", "<Image>/Filters/Map");
}
static void
......
......@@ -196,8 +196,7 @@ query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register ("plug_in_alienmap2",
N_("<Image>/Filters/Colors/Map"));
gimp_plugin_menu_register ("plug_in_alienmap2", "<Image>/Filters/Colors/Map");
}
static void
......
......@@ -471,8 +471,7 @@ query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register (PLUG_IN_NAME,
N_("<Image>/Filters/Render/Pattern"));
gimp_plugin_menu_register (PLUG_IN_NAME, "<Image>/Filters/Render/Pattern");
}
static void
......
......@@ -138,8 +138,7 @@ query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register (PLUG_IN_NAME,
N_("<Image>/Layer"));
gimp_plugin_menu_register (PLUG_IN_NAME, "<Image>/Layer");
}
static void
......
......@@ -185,7 +185,7 @@ query (void)
args, NULL);
gimp_plugin_menu_register ("plug_in_animationplay",
N_("<Image>/Filters/Animation"));
"<Image>/Filters/Animation");
}
static void
......
......@@ -180,11 +180,11 @@ query (void)
args, return_args);
gimp_plugin_menu_register ("plug_in_animationoptimize",
N_("<Image>/Filters/Animation"));
"<Image>/Filters/Animation");
gimp_plugin_menu_register ("plug_in_animationoptimize_diff",
N_("<Image>/Filters/Animation"));
"<Image>/Filters/Animation");
gimp_plugin_menu_register ("plug_in_animationunoptimize",
N_("<Image>/Filters/Animation"));
"<Image>/Filters/Animation");
#ifdef EXPERIMENTAL_BACKDROP_CODE
gimp_install_procedure ("plug_in_animation_remove_backdrop",
......@@ -219,9 +219,9 @@ query (void)
args, return_args);
gimp_plugin_menu_register ("plug_in_animation_remove_backdrop",
N_("<Image>/Filters/Animation"));
"<Image>/Filters/Animation");
gimp_plugin_menu_register ("plug_in_animation_find_backdrop",
N_("<Image>/Filters/Animation"));
"<Image>/Filters/Animation");
#endif
}
......
......@@ -116,7 +116,7 @@ query (void)
args, NULL);
gimp_plugin_menu_register ("plug_in_applylens",
N_("<Image>/Filters/Glass Effects"));
"<Image>/Filters/Glass Effects");
}
static void
......
......@@ -88,8 +88,7 @@ query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register ("plug_in_autocrop",
N_("<Image>/Image/Crop"));
gimp_plugin_menu_register ("plug_in_autocrop", "<Image>/Image/Crop");
gimp_install_procedure ("plug_in_autocrop_layer",
"Automagically crops a layer.",
......@@ -103,9 +102,7 @@ query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register ("plug_in_autocrop_layer",
N_("<Image>/Layer/Crop"));
gimp_plugin_menu_register ("plug_in_autocrop_layer", "<Image>/Layer/Crop");
}
static void
......
......@@ -84,7 +84,7 @@ query (void)
args, NULL);
gimp_plugin_menu_register ("plug_in_autostretch_hsv",
N_("<Image>/Layer/Colors/Auto"));
"<Image>/Layer/Colors/Auto");
}
static void
......
......@@ -127,8 +127,7 @@ query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register ("plug_in_blinds",
N_("<Image>/Filters/Distorts"));
gimp_plugin_menu_register ("plug_in_blinds", "<Image>/Filters/Distorts");
}
static void
......
......@@ -150,8 +150,7 @@ query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register ("plug_in_blur",
N_("<Image>/Filters/Blur"));
gimp_plugin_menu_register ("plug_in_blur", "<Image>/Filters/Blur");
}
......
......@@ -104,8 +104,7 @@ query (void)
G_N_ELEMENTS (return_vals),
args, return_vals);
gimp_plugin_menu_register ("plug_in_borderaverage",
N_("<Image>/Filters/Colors"));
gimp_plugin_menu_register ("plug_in_borderaverage", "<Image>/Filters/Colors");
}
static void
......
......@@ -344,8 +344,7 @@ query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register ("plug_in_bump_map",
N_("<Image>/Filters/Map"));
gimp_plugin_menu_register ("plug_in_bump_map", "<Image>/Filters/Map");
gimp_install_procedure ("plug_in_bump_map_tiled",
"Create an embossing effect using a tiled image "
......
......@@ -81,8 +81,7 @@ query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register ("plug_in_c_astretch",
N_("<Image>/Layer/Colors/Auto"));
gimp_plugin_menu_register ("plug_in_c_astretch", "<Image>/Layer/Colors/Auto");
}
static void
......
......@@ -113,10 +113,8 @@ query (void)
G_N_ELEMENTS (args), G_N_ELEMENTS (return_vals),
args, return_vals);
gimp_plugin_menu_register ("plug_in_ccanalyze",
N_("<Image>/Filters/Colors"));
gimp_plugin_menu_register ("plug_in_ccanalyze",
N_("<Image>/Layer/Colors/Info"));
gimp_plugin_menu_register ("plug_in_ccanalyze", "<Image>/Filters/Colors");
gimp_plugin_menu_register ("plug_in_ccanalyze", "<Image>/Layer/Colors/Info");
}
/* main function */
......
......@@ -200,8 +200,7 @@ query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register (PLUG_IN_NAME,
N_("<Image>/Filters/Colors"));
gimp_plugin_menu_register (PLUG_IN_NAME, "<Image>/Filters/Colors");
}
/*----------------------------------------------------------------------
......
......@@ -97,7 +97,7 @@ query (void)
args, NULL);
gimp_plugin_menu_register ("plug_in_checkerboard",
N_("<Image>/Filters/Render/Pattern"));
"<Image>/Filters/Render/Pattern");
}
static void
......
......@@ -84,7 +84,7 @@ query (void)
args, NULL);
gimp_plugin_menu_register ("plug_in_color_enhance",
N_("<Image>/Layer/Colors/Auto"));
"<Image>/Layer/Colors/Auto");
}
static void
......
......@@ -110,8 +110,7 @@ query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register (PLUG_IN_NAME,
N_("<Image>/Filters/Colors"));
gimp_plugin_menu_register (PLUG_IN_NAME, "<Image>/Filters/Colors");
}
static void
......
......@@ -101,9 +101,9 @@ query (void)
args, NULL);
gimp_plugin_menu_register ("plug_in_colortoalpha",
N_("<Image>/Filters/Colors"));
"<Image>/Filters/Colors");
gimp_plugin_menu_register ("plug_in_colortoalpha",
N_("<Image>/Layer/Transparency/Modify"));
"<Image>/Layer/Transparency/Modify");
}
static void
......
......@@ -298,10 +298,8 @@ query (void)
G_N_ELEMENTS (return_vals),
args, return_vals);
gimp_plugin_menu_register ("plug_in_compose",
N_("<Image>/Filters/Colors"));
gimp_plugin_menu_register ("plug_in_compose",
N_("<Image>/Image/Mode"));
gimp_plugin_menu_register ("plug_in_compose", "<Image>/Filters/Colors");
gimp_plugin_menu_register ("plug_in_compose", "<Image>/Image/Mode");
gimp_install_procedure ("plug_in_drawable_compose",
"Compose an image from multiple drawables of gray images",
......
......@@ -198,8 +198,7 @@ query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register ("plug_in_convmatrix",
N_("<Image>/Filters/Generic"));
gimp_plugin_menu_register ("plug_in_convmatrix", "<Image>/Filters/Generic");
}
static void
......
......@@ -149,8 +149,7 @@ query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register ("plug_in_cubism",
N_("<Image>/Filters/Artistic"));
gimp_plugin_menu_register ("plug_in_cubism", "<Image>/Filters/Artistic");
}
static void
......
......@@ -550,19 +550,22 @@ query (void)
gimp_install_procedure (PLUG_IN_NAME,
PLUG_IN_DESCRIPTION,
"This plug-in does bend the active layer "
"If there is a current selection it is copied to floating selection "
"and the curve_bend distortion is done on the floating selection. "
"If work_on_copy parameter is TRUE, the curve_bend distortion is done "
"on a copy of the active layer (or floating selection). "
"The upper and lower edges are bent in shape of 2 spline curves. "
"both (upper and lower) curves are determined by upto 17 points "
"or by 256 Y-Values if curve_type == 1 (freehand mode) "
"If rotation is not 0, the layer is rotated before "
"and rotated back after the bend operation. This enables "
"bending in other directions than vertical."
"bending usually changes the size of the handled layer."
"this plugin sets the offsets of the handled layer to keep its center at the same position"
,
"If there is a current selection it is copied to "
"floating selection and the curve_bend distortion "
"is done on the floating selection. If "
"work_on_copy parameter is TRUE, the curve_bend "
"distortion is done on a copy of the active layer "
"(or floating selection). The upper and lower edges "
"are bent in shape of 2 spline curves. both (upper "
"and lower) curves are determined by upto 17 points "
"or by 256 Y-Values if curve_type == 1 (freehand "
"mode) If rotation is not 0, the layer is rotated "
"before and rotated back after the bend operation. "
"This enables bending in other directions than "
"vertical. bending usually changes the size of "
"the handled layer. this plugin sets the offsets "
"of the handled layer to keep its center at the "
"same position",
PLUG_IN_AUTHOR,
PLUG_IN_COPYRIGHT,
PLUG_IN_VERSION,
......@@ -574,12 +577,13 @@ query (void)
args,
return_vals);
gimp_plugin_menu_register (PLUG_IN_NAME,
N_("<Image>/Filters/Distorts"));
gimp_plugin_menu_register (PLUG_IN_NAME, "<Image>/Filters/Distorts");
/* the installation of the Iterator procedure for the bend plugin */
gimp_install_procedure (PLUG_IN_ITER_NAME,
"This procedure calculates the modified values for one iterationstep for the call of plug_in_curve_bend",
"This procedure calculates the modified values "
"for one iterationstep for the call of "
"plug_in_curve_bend",
"",
PLUG_IN_AUTHOR,
PLUG_IN_COPYRIGHT,
......
......@@ -247,10 +247,8 @@ query (void)
G_N_ELEMENTS (return_vals),
args, return_vals);
gimp_plugin_menu_register ("plug_in_decompose",
N_("<Image>/Filters/Colors"));
gimp_plugin_menu_register ("plug_in_decompose",
N_("<Image>/Image/Mode"));
gimp_plugin_menu_register ("plug_in_decompose", "<Image>/Filters/Colors");
gimp_plugin_menu_register ("plug_in_decompose", "<Image>/Image/Mode");
}
static void
......
......@@ -102,8 +102,7 @@ query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register ("plug_in_deinterlace",
N_("<Image>/Filters/Enhance"));
gimp_plugin_menu_register ("plug_in_deinterlace", "<Image>/Filters/Enhance");
}
static void
......
......@@ -195,8 +195,7 @@ query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register (PLUG_IN_NAME,
N_("<Image>/Filters/Combine"));
gimp_plugin_menu_register (PLUG_IN_NAME, "<Image>/Filters/Combine");
}
static void
......
......@@ -148,8 +148,7 @@ query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register (PLUG_IN_NAME,
N_("<Image>/Filters/Enhance"));
gimp_plugin_menu_register (PLUG_IN_NAME, "<Image>/Filters/Enhance");
}
......
......@@ -116,8 +116,7 @@ query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register (PLUG_IN_NAME,
N_("<Image>/Filters/Enhance"));
gimp_plugin_menu_register (PLUG_IN_NAME, "<Image>/Filters/Enhance");
}
static void
......
......@@ -181,7 +181,7 @@ query (void)
args, NULL);
gimp_plugin_menu_register ("plug_in_diffraction",
N_("<Image>/Filters/Render/Pattern"));
"<Image>/Filters/Render/Pattern");
}
static void
......
......@@ -154,8 +154,7 @@ query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register ("plug_in_displace",
N_("<Image>/Filters/Map"));
gimp_plugin_menu_register ("plug_in_displace", "<Image>/Filters/Map");
}
static void
......
......@@ -141,8 +141,7 @@ query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register ("plug_in_dog",
N_("<Image>/Filters/Edge-Detect"));
gimp_plugin_menu_register ("plug_in_dog", "<Image>/Filters/Edge-Detect");
}
static void
......
......@@ -165,8 +165,7 @@ query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register ("plug_in_edge",
N_("<Image>/Filters/Edge-Detect"));
gimp_plugin_menu_register ("plug_in_edge", "<Image>/Filters/Edge-Detect");
}
static void
......
......@@ -138,8 +138,7 @@ query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register ("plug_in_emboss",
N_("<Image>/Filters/Distorts"));
gimp_plugin_menu_register ("plug_in_emboss", "<Image>/Filters/Distorts");
}
static void
......
......@@ -111,8 +111,7 @@ query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register ("plug_in_engrave",
N_("<Image>/Filters/Distorts"));
gimp_plugin_menu_register ("plug_in_engrave", "<Image>/Filters/Distorts");
}
static void
......
......@@ -136,8 +136,7 @@ query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register ("plug_in_exchange",
N_("<Image>/Filters/Colors/Map"));
gimp_plugin_menu_register ("plug_in_exchange", "<Image>/Filters/Colors/Map");
}
/* main function */
......
......@@ -244,8 +244,7 @@ query (void)
G_N_ELEMENTS (return_vals),
args, return_vals);
gimp_plugin_menu_register ("plug_in_film",
N_("<Image>/Filters/Combine"));
gimp_plugin_menu_register ("plug_in_film", "<Image>/Filters/Combine");
}
static void
......
......@@ -324,8 +324,7 @@ query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register ("plug_in_filter_pack",
N_("<Image>/Filters/Colors"));
gimp_plugin_menu_register ("plug_in_filter_pack", "<Image>/Filters/Colors");
}
/********************************STANDARD RUN*************************/
......
......@@ -129,8 +129,7 @@ query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register (PLUG_IN_NAME,
N_("<Image>/Filters/Map"));
gimp_plugin_menu_register (PLUG_IN_NAME, "<Image>/Filters/Map");
}
/******************************************************************************/
......
......@@ -240,8 +240,7 @@ query (void)
G_N_ELEMENTS (args2), 0,
args2, NULL);
gimp_plugin_menu_register ("plug_in_gauss",
N_("<Image>/Filters/Blur"));
gimp_plugin_menu_register ("plug_in_gauss", "<Image>/Filters/Blur");
}
static void
......
......@@ -97,8 +97,7 @@ query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register ("plug_in_the_slimy_egg",
N_("<Image>/Filters/Toys"));
gimp_plugin_menu_register ("plug_in_the_slimy_egg", "<Image>/Filters/Toys");
}
static void
......
......@@ -127,8 +127,7 @@ query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register ("plug_in_the_old_egg",
N_("<Image>/Filters/Toys"));
gimp_plugin_menu_register ("plug_in_the_old_egg", "<Image>/Filters/Toys");
}
static void
......
......@@ -120,7 +120,7 @@ query (void)
args, NULL);
gimp_plugin_menu_register ("plug_in_glasstile",
N_("<Image>/Filters/Glass Effects"));
"<Image>/Filters/Glass Effects");
}
static void
......
......@@ -418,8 +418,7 @@ query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register (PLUG_IN_NAME,
N_("<Image>/Filters/Render/Pattern"));
gimp_plugin_menu_register (PLUG_IN_NAME, "<Image>/Filters/Render/Pattern");
}
static void
......
......@@ -89,8 +89,7 @@ query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register ("plug_in_gradmap",
N_("<Image>/Filters/Colors/Map"));
gimp_plugin_menu_register ("plug_in_gradmap", "<Image>/Filters/Colors/Map");
}
static void
......
......@@ -152,8 +152,7 @@ void query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register ("plug_in_grid",
N_("<Image>/Filters/Render/Pattern"));
gimp_plugin_menu_register ("plug_in_grid", "<Image>/Filters/Render/Pattern");
}
static void
......
......@@ -75,8 +75,7 @@ query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register ("plug_in_guillotine",
N_("<Image>/Image/Transform"));
gimp_plugin_menu_register ("plug_in_guillotine", "<Image>/Image/Transform");
}
static void
......
......@@ -220,8 +220,7 @@ query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register ("plug_in_hot",
N_("<Image>/Filters/Colors"));
gimp_plugin_menu_register ("plug_in_hot", "<Image>/Filters/Colors");
}
static void
......
......@@ -104,8 +104,7 @@ query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register (PLUG_IN_NAME,
N_("<Image>/Filters/Map"));
gimp_plugin_menu_register (PLUG_IN_NAME, "<Image>/Filters/Map");
}
static void
......
......@@ -255,8 +255,7 @@ query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register ("plug_in_iwarp",
N_("<Image>/Filters/Distorts"));
gimp_plugin_menu_register ("plug_in_iwarp", "<Image>/Filters/Distorts");
}
static void
......
......@@ -385,7 +385,7 @@ query (void)
args, NULL);
gimp_plugin_menu_register ("plug_in_jigsaw",
N_("<Image>/Filters/Render/Pattern"));
"<Image>/Filters/Render/Pattern");
}
static void
......
......@@ -99,7 +99,7 @@ query (void)
args, NULL);
gimp_plugin_menu_register ("plug_in_laplace",
N_("<Image>/Filters/Edge-Detect"));
"<Image>/Filters/Edge-Detect");
}
static void
......
......@@ -787,8 +787,7 @@ query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register ("plug_in_lic",
N_("<Image>/Filters/Map"));
gimp_plugin_menu_register ("plug_in_lic", "<Image>/Filters/Map");
}
static void
......
......@@ -209,7 +209,8 @@ query (void)
"pipe files to uuencode then mail them",
"You need to have uuencode and mail installed",
"Adrian Likins, Reagan Blundell",
"Adrian Likins, Reagan Blundell, Daniel Risacher, Spencer Kimball and Peter Mattis",
"Adrian Likins, Reagan Blundell, Daniel Risacher, "
"Spencer Kimball and Peter Mattis",
"1995-1997",
N_("_Mail Image..."),
"RGB*, GRAY*, INDEXED*",
......@@ -217,8 +218,7 @@ query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register ("plug_in_mail_image",
N_("<Image>/File/Send"));
gimp_plugin_menu_register ("plug_in_mail_image", "<Image>/File/Send");
}
static void
......
......@@ -158,7 +158,7 @@ query (void)
adjust_args, NULL);
gimp_plugin_menu_register ("plug_in_color_adjust",
N_("<Image>/Filters/Colors/Map"));
"<Image>/Filters/Colors/Map");