Commit ff6bde0a authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

also use the translation context for the tooltips.

2008-12-04  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpactiongroup.[ch]: also use the translation
	context for the tooltips.

	* app/actions/*.c: added translation context to all tooltips. 
Also
	improved some tooltips while I was on it.


svn path=/trunk/; revision=27757
parent 1c30c4ae
2008-12-04 Sven Neumann <sven@gimp.org>
* app/widgets/gimpactiongroup.[ch]: also use the translation
context for the tooltips.
* app/actions/*.c: added translation context to all tooltips. Also
improved some tooltips while I was on it.
2008-12-03 Sven Neumann <sven@gimp.org>
* plug-ins/common/file-tiff-save.c (save_image)
......
......@@ -98,7 +98,7 @@ GimpActionFactory *global_action_factory = NULL;
/* private variables */
static GimpActionFactoryEntry action_groups[] =
static const GimpActionFactoryEntry action_groups[] =
{
{ "brush-editor", N_("Brush Editor"), GIMP_STOCK_BRUSH,
brush_editor_actions_setup,
......
......@@ -45,37 +45,37 @@ static const GimpActionEntry brushes_actions[] =
{ "brushes-open-as-image", GTK_STOCK_OPEN,
NC_("brushes-action", "_Open Brush as Image"), "",
N_("Open brush as image"),
NC_("brushes-action", "Open brush as image"),
G_CALLBACK (data_open_as_image_cmd_callback),
GIMP_HELP_BRUSH_OPEN_AS_IMAGE },
{ "brushes-new", GTK_STOCK_NEW,
NC_("brushes-action", "_New Brush"), "",
N_("Create a new brush"),
NC_("brushes-action", "Create a new brush"),
G_CALLBACK (data_new_cmd_callback),
GIMP_HELP_BRUSH_NEW },
{ "brushes-duplicate", GIMP_STOCK_DUPLICATE,
NC_("brushes-action", "D_uplicate Brush"), NULL,
N_("Duplicate this brush"),
NC_("brushes-action", "Duplicate this brush"),
G_CALLBACK (data_duplicate_cmd_callback),
GIMP_HELP_BRUSH_DUPLICATE },
{ "brushes-copy-location", GTK_STOCK_COPY,
NC_("brushes-action", "Copy Brush _Location"), "",
N_("Copy brush file location to clipboard"),
NC_("brushes-action", "Copy brush file location to clipboard"),
G_CALLBACK (data_copy_location_cmd_callback),
GIMP_HELP_BRUSH_COPY_LOCATION },
{ "brushes-delete", GTK_STOCK_DELETE,
NC_("brushes-action", "_Delete Brush"), "",
N_("Delete this brush"),
NC_("brushes-action", "Delete this brush"),
G_CALLBACK (data_delete_cmd_callback),
GIMP_HELP_BRUSH_DELETE },
{ "brushes-refresh", GTK_STOCK_REFRESH,
NC_("brushes-action", "_Refresh Brushes"), "",
N_("Refresh brushes"),
NC_("brushes-action", "Refresh brushes"),
G_CALLBACK (data_refresh_cmd_callback),
GIMP_HELP_BRUSH_REFRESH }
};
......@@ -84,7 +84,7 @@ static const GimpStringActionEntry brushes_edit_actions[] =
{
{ "brushes-edit", GTK_STOCK_EDIT,
NC_("brushes-action", "_Edit Brush..."), NULL,
N_("Edit brush"),
NC_("brushes-action", "Edit this brush"),
"gimp-brush-editor",
GIMP_HELP_BRUSH_EDIT }
};
......
......@@ -44,25 +44,25 @@ static const GimpActionEntry buffers_actions[] =
{ "buffers-paste", GTK_STOCK_PASTE,
NC_("buffers-action", "_Paste Buffer"), "",
N_("Paste the selected buffer"),
NC_("buffers-action", "Paste the selected buffer"),
G_CALLBACK (buffers_paste_cmd_callback),
GIMP_HELP_BUFFER_PASTE },
{ "buffers-paste-into", GIMP_STOCK_PASTE_INTO,
NC_("buffers-action", "Paste Buffer _Into"), NULL,
N_("Paste the selected buffer into the selection"),
NC_("buffers-action", "Paste the selected buffer into the selection"),
G_CALLBACK (buffers_paste_into_cmd_callback),
GIMP_HELP_BUFFER_PASTE_INTO },
{ "buffers-paste-as-new", GIMP_STOCK_PASTE_AS_NEW,
NC_("buffers-action", "Paste Buffer as _New"), NULL,
N_("Paste the selected buffer as new image"),
NC_("buffers-action", "Paste the selected buffer as a new image"),
G_CALLBACK (buffers_paste_as_new_cmd_callback),
GIMP_HELP_BUFFER_PASTE_AS_NEW },
{ "buffers-delete", GTK_STOCK_DELETE,
NC_("buffers-action", "_Delete Buffer"), "",
N_("Delete the selected buffer"),
NC_("buffers-action", "Delete the selected buffer"),
G_CALLBACK (buffers_delete_cmd_callback),
GIMP_HELP_BUFFER_DELETE }
};
......
......@@ -46,55 +46,58 @@ static const GimpActionEntry channels_actions[] =
{ "channels-edit-attributes", GTK_STOCK_EDIT,
NC_("channels-action", "_Edit Channel Attributes..."), NULL,
N_("Edit the channel's name, color and opacity"),
NC_("channels-action", "Edit the channel's name, color and opacity"),
G_CALLBACK (channels_edit_attributes_cmd_callback),
GIMP_HELP_CHANNEL_EDIT },
{ "channels-new", GTK_STOCK_NEW,
NC_("channels-action", "_New Channel..."), "",
N_("Create a new channel"),
NC_("channels-action", "Create a new channel"),
G_CALLBACK (channels_new_cmd_callback),
GIMP_HELP_CHANNEL_NEW },
{ "channels-new-last-values", GTK_STOCK_NEW,
NC_("channels-action", "_New Channel"), "",
N_("Create a new channel with last used values"),
NC_("channels-action", "Create a new channel with last used values"),
G_CALLBACK (channels_new_last_vals_cmd_callback),
GIMP_HELP_CHANNEL_NEW },
{ "channels-duplicate", GIMP_STOCK_DUPLICATE,
NC_("channels-action", "D_uplicate Channel"), NULL,
N_("Create a duplicate of this channel and add it to the image"),
NC_("channels-action",
"Create a duplicate of this channel and add it to the image"),
G_CALLBACK (channels_duplicate_cmd_callback),
GIMP_HELP_CHANNEL_DUPLICATE },
{ "channels-delete", GTK_STOCK_DELETE,
NC_("channels-action", "_Delete Channel"), "",
N_("Delete this channel"),
NC_("channels-action", "Delete this channel"),
G_CALLBACK (channels_delete_cmd_callback),
GIMP_HELP_CHANNEL_DELETE },
{ "channels-raise", GTK_STOCK_GO_UP,
NC_("channels-action", "_Raise Channel"), "",
N_("Raise this channel one step in the channel stack"),
NC_("channels-action", "Raise this channel one step in the channel stack"),
G_CALLBACK (channels_raise_cmd_callback),
GIMP_HELP_CHANNEL_RAISE },
{ "channels-raise-to-top", GTK_STOCK_GOTO_TOP,
NC_("channels-action", "Raise Channel to _Top"), "",
N_("Raise this channel to the top of the channel stack"),
NC_("channels-action",
"Raise this channel to the top of the channel stack"),
G_CALLBACK (channels_raise_to_top_cmd_callback),
GIMP_HELP_CHANNEL_RAISE_TO_TOP },
{ "channels-lower", GTK_STOCK_GO_DOWN,
NC_("channels-action", "_Lower Channel"), "",
N_("Lower this channel one step in the channel stack"),
NC_("channels-action", "Lower this channel one step in the channel stack"),
G_CALLBACK (channels_lower_cmd_callback),
GIMP_HELP_CHANNEL_LOWER },
{ "channels-lower-to-bottom", GTK_STOCK_GOTO_BOTTOM,
NC_("channels-action", "Lower Channel to _Bottom"), "",
N_("Lower this channel to the bottom of the channel stack"),
NC_("channels-action",
"Lower this channel to the bottom of the channel stack"),
G_CALLBACK (channels_lower_to_bottom_cmd_callback),
GIMP_HELP_CHANNEL_LOWER_TO_BOTTOM }
};
......@@ -103,25 +106,25 @@ static const GimpEnumActionEntry channels_to_selection_actions[] =
{
{ "channels-selection-replace", GIMP_STOCK_SELECTION_REPLACE,
NC_("channels-action", "Channel to Sele_ction"), NULL,
N_("Replace the selection with this channel"),
NC_("channels-action", "Replace the selection with this channel"),
GIMP_CHANNEL_OP_REPLACE, FALSE,
GIMP_HELP_CHANNEL_SELECTION_REPLACE },
{ "channels-selection-add", GIMP_STOCK_SELECTION_ADD,
NC_("channels-action", "_Add to Selection"), NULL,
N_("Add this channel to the current selection"),
NC_("channels-action", "Add this channel to the current selection"),
GIMP_CHANNEL_OP_ADD, FALSE,
GIMP_HELP_CHANNEL_SELECTION_ADD },
{ "channels-selection-subtract", GIMP_STOCK_SELECTION_SUBTRACT,
NC_("channels-action", "_Subtract from Selection"), NULL,
N_("Subtract this channel from the current selection"),
NC_("channels-action", "Subtract this channel from the current selection"),
GIMP_CHANNEL_OP_SUBTRACT, FALSE,
GIMP_HELP_CHANNEL_SELECTION_SUBTRACT },
{ "channels-selection-intersect", GIMP_STOCK_SELECTION_INTERSECT,
NC_("channels-action", "_Intersect with Selection"), NULL,
N_("Intersect this channel with the current selection"),
NC_("channels-action", "Intersect this channel with the current selection"),
GIMP_CHANNEL_OP_INTERSECT, FALSE,
GIMP_HELP_CHANNEL_SELECTION_INTERSECT }
};
......
......@@ -47,7 +47,7 @@ static const GimpActionEntry colormap_actions[] =
{ "colormap-edit-color", GTK_STOCK_EDIT,
NC_("colormap-action", "_Edit Color..."), NULL,
N_("Edit this color"),
NC_("colormap-action", "Edit this color"),
G_CALLBACK (colormap_edit_color_cmd_callback),
GIMP_HELP_INDEXED_PALETTE_EDIT }
};
......@@ -56,13 +56,13 @@ static const GimpEnumActionEntry colormap_add_color_actions[] =
{
{ "colormap-add-color-from-fg", GTK_STOCK_ADD,
NC_("colormap-action", "_Add Color from FG"), "",
N_("Add current foreground color"),
NC_("colormap-action", "Add current foreground color"),
FALSE, FALSE,
GIMP_HELP_INDEXED_PALETTE_ADD },
{ "colormap-add-color-from-bg", GTK_STOCK_ADD,
NC_("colormap-action", "_Add Color from BG"), "",
N_("Add current background color"),
NC_("colormap-action", "Add current background color"),
TRUE, FALSE,
GIMP_HELP_INDEXED_PALETTE_ADD }
};
......
......@@ -37,7 +37,7 @@ static const GimpToggleActionEntry config_toggle_actions[] =
{
{ "config-use-gegl", NULL,
NC_("config-action", "Use _GEGL"), NULL,
N_("If possible, use GEGL for image processing"),
NC_("config-action", "If possible, use GEGL for image processing"),
G_CALLBACK (config_use_gegl_cmd_callback),
FALSE,
GIMP_HELP_CONFIG_USE_GEGL }
......
......@@ -79,13 +79,14 @@ static const GimpActionEntry context_actions[] =
{ "context-colors-default", GIMP_STOCK_DEFAULT_COLORS,
NC_("context-action", "_Default Colors"), "D",
N_("Set foreground color to black, background color to white"),
NC_("context-action",
"Set foreground color to black, background color to white"),
G_CALLBACK (context_colors_default_cmd_callback),
GIMP_HELP_TOOLBOX_DEFAULT_COLORS },
{ "context-colors-swap", GIMP_STOCK_SWAP_COLORS,
NC_("context-action", "S_wap Colors"), "X",
N_("Exchange foreground and background colors"),
NC_("context-action", "Exchange foreground and background colors"),
G_CALLBACK (context_colors_swap_cmd_callback),
GIMP_HELP_TOOLBOX_SWAP_COLORS }
};
......
......@@ -46,7 +46,7 @@ static const GimpToggleActionEntry cursor_info_toggle_actions[] =
{
{ "cursor-info-sample-merged", NULL,
NC_("cursor-info-action", "_Sample Merged"), "",
N_("Use the composite color of all visible layers"),
NC_("cursor-info-action", "Use the composite color of all visible layers"),
G_CALLBACK (cursor_info_sample_merged_cmd_callback),
TRUE,
GIMP_HELP_POINTER_INFO_SAMPLE_MERGED }
......
......@@ -37,163 +37,163 @@ const GimpStringActionEntry dialogs_dockable_actions[] =
{
{ "dialogs-tool-options", GIMP_STOCK_TOOL_OPTIONS,
NC_("dialogs-action", "Tool _Options"), NULL,
N_("Open the tool options dialog"),
NC_("dialogs-action", "Open the tool options dialog"),
"gimp-tool-options",
GIMP_HELP_TOOL_OPTIONS_DIALOG },
{ "dialogs-device-status", GIMP_STOCK_DEVICE_STATUS,
NC_("dialogs-action", "_Device Status"), NULL,
N_("Open the device status dialog"),
NC_("dialogs-action", "Open the device status dialog"),
"gimp-device-status",
GIMP_HELP_DEVICE_STATUS_DIALOG },
{ "dialogs-layers", GIMP_STOCK_LAYERS,
NC_("dialogs-action", "_Layers"), "<control>L",
N_("Open the layers dialog"),
NC_("dialogs-action", "Open the layers dialog"),
"gimp-layer-list",
GIMP_HELP_LAYER_DIALOG },
{ "dialogs-channels", GIMP_STOCK_CHANNELS,
NC_("dialogs-action", "_Channels"), NULL,
N_("Open the channels dialog"),
NC_("dialogs-action", "Open the channels dialog"),
"gimp-channel-list",
GIMP_HELP_CHANNEL_DIALOG },
{ "dialogs-vectors", GIMP_STOCK_PATHS,
NC_("dialogs-action", "_Paths"), NULL,
N_("Open the paths dialog"),
NC_("dialogs-action", "Open the paths dialog"),
"gimp-vectors-list",
GIMP_HELP_PATH_DIALOG },
{ "dialogs-indexed-palette", GIMP_STOCK_COLORMAP,
NC_("dialogs-action", "Color_map"), NULL,
N_("Open the colormap dialog"),
NC_("dialogs-action", "Open the colormap dialog"),
"gimp-indexed-palette",
GIMP_HELP_INDEXED_PALETTE_DIALOG },
{ "dialogs-histogram", GIMP_STOCK_HISTOGRAM,
NC_("dialogs-action", "Histogra_m"), NULL,
N_("Open the histogram dialog"),
NC_("dialogs-action", "Open the histogram dialog"),
"gimp-histogram-editor",
GIMP_HELP_HISTOGRAM_DIALOG },
{ "dialogs-selection-editor", GIMP_STOCK_TOOL_RECT_SELECT,
NC_("dialogs-action", "_Selection Editor"), NULL,
N_("Open the selection editor"),
NC_("dialogs-action", "Open the selection editor"),
"gimp-selection-editor",
GIMP_HELP_SELECTION_DIALOG },
{ "dialogs-navigation", GIMP_STOCK_NAVIGATION,
NC_("dialogs-action", "Na_vigation"), NULL,
N_("Open the display navigation dialog"),
NC_("dialogs-action", "Open the display navigation dialog"),
"gimp-navigation-view",
GIMP_HELP_NAVIGATION_DIALOG },
{ "dialogs-undo-history", GIMP_STOCK_UNDO_HISTORY,
NC_("dialogs-action", "Undo _History"), NULL,
N_("Open the undo history dialog"),
NC_("dialogs-action", "Open the undo history dialog"),
"gimp-undo-history",
GIMP_HELP_UNDO_DIALOG },
{ "dialogs-cursor", GIMP_STOCK_CURSOR,
NC_("dialogs-action", "Pointer"), NULL,
N_("Open the pointer information dialog"),
NC_("dialogs-action", "Open the pointer information dialog"),
"gimp-cursor-view",
GIMP_HELP_POINTER_INFO_DIALOG },
{ "dialogs-sample-points", GIMP_STOCK_SAMPLE_POINT,
NC_("dialogs-action", "_Sample Points"), NULL,
N_("Open the sample points dialog"),
NC_("dialogs-action", "Open the sample points dialog"),
"gimp-sample-point-editor",
GIMP_HELP_SAMPLE_POINT_DIALOG },
{ "dialogs-colors", GIMP_STOCK_DEFAULT_COLORS,
NC_("dialogs-action", "Colo_rs"), NULL,
N_("Open the FG/BG color dialog"),
NC_("dialogs-action", "Open the FG/BG color dialog"),
"gimp-color-editor",
GIMP_HELP_COLOR_DIALOG },
{ "dialogs-brushes", GIMP_STOCK_BRUSH,
NC_("dialogs-action", "_Brushes"), "<control><shift>B",
N_("Open the brushes dialog"),
NC_("dialogs-action", "Open the brushes dialog"),
"gimp-brush-grid|gimp-brush-list",
GIMP_HELP_BRUSH_DIALOG },
{ "dialogs-brush-editor", GIMP_STOCK_BRUSH,
NC_("dialogs-action", "Brush Editor"), NULL,
N_("Open the brush editor"),
NC_("dialogs-action", "Open the brush editor"),
"gimp-brush-editor",
GIMP_HELP_BRUSH_EDIT },
{ "dialogs-patterns", GIMP_STOCK_PATTERN,
NC_("dialogs-action", "P_atterns"), "<control><shift>P",
N_("Open the patterns dialog"),
NC_("dialogs-action", "Open the patterns dialog"),
"gimp-pattern-grid|gimp-pattern-list",
GIMP_HELP_PATTERN_DIALOG },
{ "dialogs-gradients", GIMP_STOCK_GRADIENT,
NC_("dialogs-action", "_Gradients"), "<control>G",
N_("Open the gradients dialog"),
NC_("dialogs-action", "Open the gradients dialog"),
"gimp-gradient-list|gimp-gradient-grid",
GIMP_HELP_GRADIENT_DIALOG },
{ "dialogs-gradient-editor", GIMP_STOCK_GRADIENT,
NC_("dialogs-action", "Gradient Editor"), NULL,
N_("Open the gradient editor"),
NC_("dialogs-action", "Open the gradient editor"),
"gimp-gradient-editor",
GIMP_HELP_GRADIENT_EDIT },
{ "dialogs-palettes", GIMP_STOCK_PALETTE,
NC_("dialogs-action", "Pal_ettes"), NULL,
N_("Open the palettes dialog"),
NC_("dialogs-action", "Open the palettes dialog"),
"gimp-palette-list|gimp-palette-grid",
GIMP_HELP_PALETTE_DIALOG },
{ "dialogs-palette-editor", GIMP_STOCK_PALETTE,
NC_("dialogs-action", "Palette Editor"), NULL,
N_("Open the palette editor"),
NC_("dialogs-action", "Open the palette editor"),
"gimp-palette-editor",
GIMP_HELP_PALETTE_EDIT },
{ "dialogs-fonts", GIMP_STOCK_FONT,
NC_("dialogs-action", "_Fonts"), NULL,
N_("Open the fonts dialog"),
NC_("dialogs-action", "Open the fonts dialog"),
"gimp-font-list|gimp-font-grid",
GIMP_HELP_FONT_DIALOG },
{ "dialogs-buffers", GIMP_STOCK_BUFFER,
NC_("dialogs-action", "B_uffers"), "",
N_("Open the named buffers dialog"),
NC_("dialogs-action", "Open the named buffers dialog"),
"gimp-buffer-list|gimp-buffer-grid",
GIMP_HELP_BUFFER_DIALOG },
{ "dialogs-images", GIMP_STOCK_IMAGES,
NC_("dialogs-action", "_Images"), NULL,
N_("Open the images dialog"),
NC_("dialogs-action", "Open the images dialog"),
"gimp-image-list|gimp-image-grid",
GIMP_HELP_IMAGE_DIALOG },
{ "dialogs-document-history", "document-open-recent",
NC_("dialogs-action", "Document Histor_y"), "",
N_("Open the document history dialog"),
NC_("dialogs-action", "Open the document history dialog"),
"gimp-document-list|gimp-document-grid",
GIMP_HELP_DOCUMENT_DIALOG },
{ "dialogs-templates", GIMP_STOCK_TEMPLATE,
NC_("dialogs-action", "_Templates"), "",
N_("Open the image templates dialog"),
NC_("dialogs-action", "Open the image templates dialog"),
"gimp-template-list|gimp-template-grid",
GIMP_HELP_TEMPLATE_DIALOG },
{ "dialogs-tools", GIMP_STOCK_TOOLS,
NC_("dialogs-action", "T_ools"), NULL,
N_("Open the tools dialog"),
NC_("dialogs-action", "Open the tools dialog"),
"gimp-tool-list|gimp-tool-grid",
GIMP_HELP_TOOLS_DIALOG },
{ "dialogs-error-console", GIMP_STOCK_WARNING,
NC_("dialogs-action", "Error Co_nsole"), NULL,
N_("Open the error console"),
NC_("dialogs-action", "Open the error console"),
"gimp-error-console",
GIMP_HELP_ERRORS_DIALOG }
};
......@@ -204,31 +204,31 @@ static const GimpStringActionEntry dialogs_toplevel_actions[] =
{
{ "dialogs-preferences", GTK_STOCK_PREFERENCES,
NC_("dialogs-action", "_Preferences"), NULL,
N_("Open the preferences dialog"),
NC_("dialogs-action", "Open the preferences dialog"),
"gimp-preferences-dialog",
GIMP_HELP_PREFS_DIALOG },
{ "dialogs-keyboard-shortcuts", GIMP_STOCK_CHAR_PICKER,
NC_("dialogs-action", "_Keyboard Shortcuts"), NULL,
N_("Open the keyboard shortcuts editor"),
NC_("dialogs-action", "Open the keyboard shortcuts editor"),
"gimp-keyboard-shortcuts-dialog",
GIMP_HELP_KEYBOARD_SHORTCUTS },
{ "dialogs-module-dialog", GTK_STOCK_EXECUTE,
NC_("dialogs-action", "_Modules"), NULL,
N_("Open the module manager dialog"),
NC_("dialogs-action", "Open the module manager dialog"),
"gimp-module-dialog",
GIMP_HELP_MODULE_DIALOG },
{ "dialogs-tips", GIMP_STOCK_INFO,
NC_("dialogs-action", "_Tip of the Day"), NULL,
N_("Show some helpful tips on using GIMP"),
NC_("dialogs-action", "Show some helpful tips on using GIMP"),
"gimp-tips-dialog",
GIMP_HELP_TIPS_DIALOG },
{ "dialogs-about", GTK_STOCK_ABOUT,
NC_("dialogs-action", "_About"), NULL,
N_("About GIMP"),
NC_("dialogs-action", "About GIMP"),
"gimp-about-dialog",
GIMP_HELP_ABOUT_DIALOG }
};
......
......@@ -50,7 +50,7 @@ static const GimpActionEntry dock_actions[] =
{ "dock-open-display", NULL,
NC_("dock-action", "_Open Display..."), NULL,
N_("Connect to another display"),
NC_("dock-action", "Connect to another display"),
G_CALLBACK (window_open_display_cmd_callback),
NULL }
};
......
......@@ -49,10 +49,13 @@ static const GimpActionEntry dockable_actions[] =
NC_("dockable-action", "Dialogs Menu"), NULL, NULL, NULL,
GIMP_HELP_DOCK },
{ "dockable-menu", GTK_STOCK_MISSING_IMAGE, "" },
{ "dockable-add-tab-menu", NULL, NC_("dockable-action", "_Add Tab") },
{ "dockable-preview-size-menu", NULL, NC_("dockable-action", "_Preview Size") },
{ "dockable-tab-style-menu", NULL, NC_("dockable-action", "_Tab Style") },
{ "dockable-menu", GTK_STOCK_MISSING_IMAGE, "" },
{ "dockable-add-tab-menu", NULL, NC_("dockable-action",
"_Add Tab") },
{ "dockable-preview-size-menu", NULL, NC_("dockable-action",
"_Preview Size") },
{ "dockable-tab-style-menu", NULL, NC_("dockable-action",
"_Tab Style") },
{ "dockable-close-tab", GTK_STOCK_CLOSE,
NC_("dockable-action", "_Close Tab"), "", NULL,
......@@ -120,7 +123,8 @@ static const GimpToggleActionEntry dockable_toggle_actions[] =
{
{ "dockable-lock-tab", NULL,
NC_("dockable-action", "Loc_k Tab to Dock"), NULL,
N_("Protect this tab from being dragged with the mouse pointer"),
NC_("dockable-action",
"Protect this tab from being dragged with the mouse pointer"),
G_CALLBACK (dockable_lock_tab_cmd_callback),
FALSE,
GIMP_HELP_DOCK_TAB_LOCK },
......
......@@ -44,55 +44,56 @@ static const GimpActionEntry documents_actions[] =
{ "documents-open", GTK_STOCK_OPEN,
NC_("documents-action", "_Open Image"), "",
N_("Open the selected entry"),
NC_("documents-action", "Open the selected entry"),
G_CALLBACK (documents_open_cmd_callback),
GIMP_HELP_DOCUMENT_OPEN },
{ "documents-raise-or-open", NULL,
NC_("documents-action", "_Raise or Open Image"), "",
N_("Raise window if already open"),
NC_("documents-action", "Raise window if already open"),
G_CALLBACK (documents_raise_or_open_cmd_callback),
GIMP_HELP_DOCUMENT_OPEN },
{ "documents-file-open-dialog", NULL,
NC_("documents-action", "File Open _Dialog"), "",
N_("Open image dialog"),
NC_("documents-action", "Open image dialog"),
G_CALLBACK (documents_file_open_dialog_cmd_callback),
GIMP_HELP_DOCUMENT_OPEN },
{ "documents-copy-location", GTK_STOCK_COPY,
NC_("documents-action", "Copy Image _Location"), "",
N_("Copy image location to clipboard"),
NC_("documents-action", "Copy image location to clipboard"),
G_CALLBACK (documents_copy_location_cmd_callback),
GIMP_HELP_DOCUMENT_COPY_LOCATION },
{ "documents-remove", GTK_STOCK_REMOVE,
NC_("documents-action", "Remove _Entry"), "",
N_("Remove the selected entry"),
NC_("documents-action", "Remove the selected entry"),
G_CALLBACK (documents_remove_cmd_callback),
GIMP_HELP_DOCUMENT_REMOVE },
{ "documents-clear", GTK_STOCK_CLEAR,
NC_("documents-action", "_Clear History"), "",
N_("Clear the entire document history"),
NC_("documents-action", "Clear the entire document history"),
G_CALLBACK (documents_clear_cmd_callback),
GIMP_HELP_DOCUMENT_CLEAR },
{ "documents-recreate-preview", GTK_STOCK_REFRESH,
NC_("documents-action", "Recreate _Preview"), "",
N_("Recreate preview"),
NC_("documents-action", "Recreate preview"),
G_CALLBACK (documents_recreate_preview_cmd_callback),
GIMP_HELP_DOCUMENT_REFRESH },
{ "documents-reload-previews", NULL,
NC_("documents-action", "Reload _all Previews"), "",
N_("Reload all previews"),
NC_("documents-action", "Reload all previews"),
G_CALLBACK (documents_reload_previews_cmd_callback),
GIMP_HELP_DOCUMENT_REFRESH },
{ "documents-remove-dangling", NULL,
NC_("documents-action", "Remove Dangling E_ntries"), "",
N_("Remove dangling entries"),
NC_("documents-action",
"Remove entries for which the corresponding file is not available"),
G_CALLBACK (documents_remove_dangling_cmd_callback),
GIMP_HELP_DOCUMENT_REFRESH }
};
......
......@@ -44,25 +44,26 @@ static const GimpActionEntry drawable_actions[] =
{
{ "drawable-equalize", NULL,
NC_("drawable-action", "_Equalize"), NULL,
N_("Automatic contrast enhancement"),
NC_("drawable-action", "Automatic contrast enhancement"),
G_CALLBACK (drawable_equalize_cmd_callback),
GIMP_HELP_LAYER_EQUALIZE },
{ "drawable-invert", GIMP_STOCK_INVERT,
NC_("drawable-action", "In_vert"), NULL,
N_("Invert the colors"),
NC_("drawable-action", "Invert the colors"),
G_CALLBACK (drawable_invert_cmd_callback),
GIMP_HELP_LAYER_INVERT },
{ "drawable-levels-stretch", NULL,
NC_("drawable-action", "_White Balance"), NULL,
N_("Automatic white balance correction"),
NC_("drawable-action", "Automatic white balance correction"),
G_CALLBACK (drawable_levels_stretch_cmd_callback),
GIMP_HELP_LAYER_WHITE_BALANCE},
{ "drawable-offset", NULL,
NC_("drawable-action", "_Offset..."), "<control><shift>O",
N_("Shift the pixels, optionally wrapping them at the borders"),
NC_("drawable-action",
"Shift the pixels, optionally wrapping them at the borders"),
G_CALLBACK (drawable_offset_cmd_callback),
GIMP_HELP_LAYER_OFFSET }
};
......@@ -71,14 +72,14 @@ static const GimpToggleActionEntry drawable_toggle_actions[] =
{
{ "drawable-linked", GIMP_STOCK_LINKED,
NC_("drawable-action", "_Linked"), NULL,
N_("Toggle the linked state"),
NC_("drawable-action", "Toggle the linked state"),
G_CALLBACK (drawable_linked_cmd_callback),
FALSE,
GIMP_HELP_LAYER_LINKED },
{ "drawable-visible", GIMP_STOCK_VISIBLE,
NC_("drawable-action", "_Visible"), NULL,
N_("Toggle visibility"),
NC_("drawable-action", "Toggle visibility"),
G_CALLBACK (drawable_visible_cmd_callback),
FALSE,
GIMP_HELP_LAYER_VISIBLE }
......@@ -88,13 +89,13 @@ static const GimpEnumActionEntry drawable_flip_actions[] =
{
{ "drawable-flip-horizontal", GIMP_STOCK_FLIP_HORIZONTAL,
NC_("drawable-action", "Flip _Horizontally"), NULL,
N_("Flip horizontally"),
NC_("drawable-action", "Flip horizontally"),
GIMP_ORIENTATION_HORIZONTAL, FALSE,
GIMP_HELP_LAYER_FLIP_HORIZONTAL },
{ "drawable-flip-vertical", GIMP_STOCK_FLIP_VERTICAL,
NC_("drawable-action", "Flip _Vertically"), NULL,
N_("Flip vertically"),
NC_("drawable-action", "Flip vertically"),
GIMP_ORIENTATION_VERTICAL, FALSE,
GIMP_HELP_LAYER_FLIP_VERTICAL }
};
......@@ -103,19 +104,19 @@ static const GimpEnumActionEntry drawable_rotate_actions[] =
{
{ "drawable-rotate-90", GIMP_STOCK_ROTATE_90,
NC_("drawable-action", "Rotate 90° _clockwise"), NULL,
N_("Rotate 90 degrees to the right"),
NC_("drawable-action", "Rotate 90 degrees to the right"),
GIMP_ROTATE_90, FALSE,
GIMP_HELP_LAYER_ROTATE_90 },
{ "drawable-rotate-180", GIMP_STOCK_ROTATE_180,
NC_("drawable-action", "Rotate _180°"), NULL,
N_("Turn upside-down"),
NC_("drawable-action", "Turn upside-down"),
GIMP_ROTATE_180, FALSE,
GIMP_HELP_LAYER_ROTATE_180 },
{ "drawable-rotate-270", GIMP_STOCK_ROTATE_270,
NC_("drawable-action", "Rotate 90° counter-clock_wise"), NULL,
N_("Rotate 90 degrees to the left"),
NC_("drawable-action", "Rotate 90 degrees to the left"),
GIMP_ROTATE_270, FALSE,
GIMP_HELP_LAYER_ROTATE_270 }
};
......
......@@ -71,115 +71,118 @@ static const GimpActionEntry edit_actions[] =
{ "edit-undo", GTK_STOCK_UNDO,
NC_("edit-action", "_Undo"), "<control>Z",
N_("Undo the last operation"),
NC_("edit-action", "Undo the last operation"),
G_CALLBACK (edit_undo_cmd_callback),
GIMP_HELP_EDIT_UNDO },
{ "edit-redo", GTK_STOCK_REDO,
NC_("edit-action", "_Redo"), "<control>Y",
N_("Redo the last operation that was undone"),
NC_("edit-action", "Redo the last operation that was undone"),
G_CALLBACK (edit_redo_cmd_callback),
GIMP_HELP_EDIT_REDO },
{ "edit-strong-undo", GTK_STOCK_UNDO,
NC_("edit-action", "Strong Undo"), "<control><shift>Z",
N_("Undo the last operation, skipping visibility changes"),
NC_("edit-action", "Undo the last operation, skipping visibility changes"),
G_CALLBACK (edit_strong_undo_cmd_callback),
GIMP_HELP_EDIT_STRONG_UNDO },
{ "edit-strong-redo", GTK_STOCK_REDO,
NC_("edit-action", "Strong Redo"), "<control><shift>Y",
N_("Redo the last operation that was undone, skipping visibility changes"),
NC_("edit-action",