app/gui/layers-menu.c app/gui/patterns-menu.c app/gui/tool-options-menu.c

2004-01-08  Michael Natterer  <mitch@gimp.org>

	* app/gui/layers-menu.c
	* app/gui/patterns-menu.c
	* app/gui/tool-options-menu.c
	* plug-ins/script-fu/scripts/asc2img.scm: added the last missing
	menu mnemonics. Sorry for the string change but it's IMHO better
	to un-fuzzy these 14 strings now than to carry them around during
	the whole 2.0.x cycle. Finally fixes bug #106991.

	* plug-ins/script-fu/scripts/asc2img.scm: changed "ASCII to Image
	Layer" to "ASCII to Layer". We never use the term "Image Layer".
This commit is contained in:
Michael Natterer
2004-01-08 20:00:09 +00:00
committed by Michael Natterer
parent cecff205c6
commit 36c5fb0a25
6 changed files with 47 additions and 35 deletions

View File

@ -1,3 +1,16 @@
2004-01-08 Michael Natterer <mitch@gimp.org>
* app/gui/layers-menu.c
* app/gui/patterns-menu.c
* app/gui/tool-options-menu.c
* plug-ins/script-fu/scripts/asc2img.scm: added the last missing
menu mnemonics. Sorry for the string change but it's IMHO better
to un-fuzzy these 14 strings now than to carry them around during
the whole 2.0.x cycle. Finally fixes bug #106991.
* plug-ins/script-fu/scripts/asc2img.scm: changed "ASCII to Image
Layer" to "ASCII to Layer". We never use the term "Image Layer".
2004-01-08 Manish Singh <yosh@gimp.org>
* tools/pdbgen/fileops.pdb: Add notes about menu path requirements

View File

@ -158,12 +158,12 @@ GimpItemFactoryEntry layers_menu_entries[] =
MENU_SEPARATOR ("/---"),
{ { N_("/Merge Visible Layers..."), NULL,
{ { N_("/Merge _Visible Layers..."), NULL,
layers_merge_layers_cmd_callback, 0,
NULL, NULL },
NULL,
GIMP_HELP_IMAGE_MERGE_LAYERS, NULL },
{ { N_("/Flatten Image"), NULL,
{ { N_("/_Flatten Image"), NULL,
layers_flatten_image_cmd_callback, 0,
NULL, NULL },
NULL,

View File

@ -42,7 +42,7 @@
GimpItemFactoryEntry patterns_menu_entries[] =
{
{ { N_("/Edit Pattern..."), NULL,
{ { N_("/_Edit Pattern..."), NULL,
data_edit_data_cmd_callback, 0,
"<StockItem>", GIMP_STOCK_EDIT },
NULL,
@ -50,17 +50,17 @@ GimpItemFactoryEntry patterns_menu_entries[] =
MENU_SEPARATOR ("/---"),
{ { N_("/New Pattern"), "",
{ { N_("/_New Pattern"), "",
data_new_data_cmd_callback, 0,
"<StockItem>", GTK_STOCK_NEW },
NULL,
GIMP_HELP_PATTERN_NEW, NULL },
{ { N_("/Duplicate Pattern"), NULL,
{ { N_("/D_uplicate Pattern"), NULL,
data_duplicate_data_cmd_callback, 0,
"<StockItem>", GIMP_STOCK_DUPLICATE },
NULL,
GIMP_HELP_PATTERN_DUPLICATE, NULL },
{ { N_("/Delete Pattern..."), "",
{ { N_("/_Delete Pattern..."), "",
data_delete_data_cmd_callback, 0,
"<StockItem>", GTK_STOCK_DELETE },
NULL,
@ -68,7 +68,7 @@ GimpItemFactoryEntry patterns_menu_entries[] =
MENU_SEPARATOR ("/---"),
{ { N_("/Refresh Patterns"), "",
{ { N_("/_Refresh Patterns"), "",
data_refresh_data_cmd_callback, 0,
"<StockItem>", GTK_STOCK_REFRESH },
NULL,

View File

@ -54,30 +54,30 @@ static void tool_options_menu_update_presets (GtkItemFactory *factory,
GimpItemFactoryEntry tool_options_menu_entries[] =
{
{ { N_("/Save Options to/New Entry..."), "",
{ { N_("/_Save Options to/_New Entry..."), "",
tool_options_save_new_cmd_callback, 0,
"<StockItem>", GTK_STOCK_NEW },
NULL,
GIMP_HELP_TOOL_OPTIONS_SAVE, NULL },
{ { "/Save Options to/new-separator", "",
{ { "/_Save Options to/new-separator", "",
NULL, 0,
"<Separator>", NULL },
NULL,
NULL, NULL },
{ { N_("/Restore Options from/(None)"), "",
{ { N_("/_Restore Options from/(None)"), "",
NULL, 0,
"<Item>", NULL },
NULL,
NULL, NULL },
{ { N_("/Rename Saved Options/(None)"), "",
{ { N_("/Re_name Saved Options/(None)"), "",
NULL, 0,
"<Item>", NULL },
NULL,
NULL, NULL },
{ { N_("/Delete Saved Options/(None)"), "",
{ { N_("/_Delete Saved Options/(None)"), "",
NULL, 0,
"<Item>", NULL },
NULL,
@ -86,12 +86,12 @@ GimpItemFactoryEntry tool_options_menu_entries[] =
{ { "/reset-separator", NULL, NULL, 0, "<Separator>", NULL },
NULL, NULL, NULL },
{ { N_("/Reset Tool Options"), "",
{ { N_("/R_eset Tool Options"), "",
tool_options_reset_cmd_callback, 0,
"<StockItem>", GIMP_STOCK_RESET },
NULL,
GIMP_HELP_TOOL_OPTIONS_RESET, NULL },
{ { N_("/Reset all Tool Options..."), "",
{ { N_("/Reset _all Tool Options..."), "",
tool_options_reset_all_cmd_callback, 0,
"<StockItem>", GIMP_STOCK_RESET },
NULL,

View File

@ -54,30 +54,30 @@ static void tool_options_menu_update_presets (GtkItemFactory *factory,
GimpItemFactoryEntry tool_options_menu_entries[] =
{
{ { N_("/Save Options to/New Entry..."), "",
{ { N_("/_Save Options to/_New Entry..."), "",
tool_options_save_new_cmd_callback, 0,
"<StockItem>", GTK_STOCK_NEW },
NULL,
GIMP_HELP_TOOL_OPTIONS_SAVE, NULL },
{ { "/Save Options to/new-separator", "",
{ { "/_Save Options to/new-separator", "",
NULL, 0,
"<Separator>", NULL },
NULL,
NULL, NULL },
{ { N_("/Restore Options from/(None)"), "",
{ { N_("/_Restore Options from/(None)"), "",
NULL, 0,
"<Item>", NULL },
NULL,
NULL, NULL },
{ { N_("/Rename Saved Options/(None)"), "",
{ { N_("/Re_name Saved Options/(None)"), "",
NULL, 0,
"<Item>", NULL },
NULL,
NULL, NULL },
{ { N_("/Delete Saved Options/(None)"), "",
{ { N_("/_Delete Saved Options/(None)"), "",
NULL, 0,
"<Item>", NULL },
NULL,
@ -86,12 +86,12 @@ GimpItemFactoryEntry tool_options_menu_entries[] =
{ { "/reset-separator", NULL, NULL, 0, "<Separator>", NULL },
NULL, NULL, NULL },
{ { N_("/Reset Tool Options"), "",
{ { N_("/R_eset Tool Options"), "",
tool_options_reset_cmd_callback, 0,
"<StockItem>", GIMP_STOCK_RESET },
NULL,
GIMP_HELP_TOOL_OPTIONS_RESET, NULL },
{ { N_("/Reset all Tool Options..."), "",
{ { N_("/Reset _all Tool Options..."), "",
tool_options_reset_all_cmd_callback, 0,
"<StockItem>", GIMP_STOCK_RESET },
NULL,

View File

@ -223,18 +223,17 @@
SF-ADJUSTMENT _"Buffer Amount (% Height of Text)" '(35 0 100 1 10 0 0)
)
(script-fu-register
"script-fu-asc-2-img-layer"
_"<Image>/Script-Fu/Utils/ASCII to Image Layer..."
"Create a new layer of text from a simple text file"
"Chris Gutteridge: cjg@ecs.soton.ac.uk"
"30th April 1998"
"Chris Gutteridge / ECS @ University of Southampton, England"
"*"
SF-IMAGE "Image" 0
SF-DRAWABLE "Layer" 0
SF-FILENAME _"Filename" "afile"
SF-FONT _"Font" "Bitstream Charter"
SF-ADJUSTMENT _"Font Size (pixels)" '(45 2 1000 1 10 0 1)
SF-COLOR _"Text Color" '(0 0 0)
(script-fu-register "script-fu-asc-2-img-layer"
_"<Image>/Script-Fu/Utils/_ASCII to Layer..."
"Create a new layer of text from a simple text file"
"Chris Gutteridge: cjg@ecs.soton.ac.uk"
"30th April 1998"
"Chris Gutteridge / ECS @ University of Southampton, England"
"*"
SF-IMAGE "Image" 0
SF-DRAWABLE "Layer" 0
SF-FILENAME _"Filename" "afile"
SF-FONT _"Font" "Bitstream Charter"
SF-ADJUSTMENT _"Font Size (pixels)" '(45 2 1000 1 10 0 1)
SF-COLOR _"Text Color" '(0 0 0)
)