Commit 6c5b6c61 authored by Jehan's avatar Jehan

Issue #2922: Some sentences appear untranslated.

Again some missing context when requesting the strings (while they were
declared with context in static NC_()).
Also some mixup with some zoom actions strings declared with different
context in the same GimpEnumActionEntry.
parent 60c334a7
......@@ -729,12 +729,12 @@ layers_actions_setup (GimpActionGroup *group)
G_N_ELEMENTS (layers_select_actions),
G_CALLBACK (layers_select_cmd_callback));
gimp_action_group_add_enum_actions (group, NULL,
gimp_action_group_add_enum_actions (group, "layers-action",
layers_opacity_actions,
G_N_ELEMENTS (layers_opacity_actions),
G_CALLBACK (layers_opacity_cmd_callback));
gimp_action_group_add_enum_actions (group, NULL,
gimp_action_group_add_enum_actions (group, "layers-action",
layers_mode_actions,
G_N_ELEMENTS (layers_mode_actions),
G_CALLBACK (layers_mode_cmd_callback));
......
......@@ -677,11 +677,11 @@ tools_actions_setup (GimpActionGroup *group)
G_N_ELEMENTS (tools_ink_blob_angle_actions),
G_CALLBACK (tools_ink_blob_angle_cmd_callback));
gimp_action_group_add_enum_actions (group, NULL,
gimp_action_group_add_enum_actions (group, "tools-action",
tools_airbrush_rate_actions,
G_N_ELEMENTS (tools_airbrush_rate_actions),
G_CALLBACK (tools_airbrush_rate_cmd_callback));
gimp_action_group_add_enum_actions (group, NULL,
gimp_action_group_add_enum_actions (group, "tools-action",
tools_airbrush_flow_actions,
G_N_ELEMENTS (tools_airbrush_flow_actions),
G_CALLBACK (tools_airbrush_flow_cmd_callback));
......
......@@ -317,17 +317,17 @@ static const GimpToggleActionEntry view_toggle_actions[] =
static const GimpEnumActionEntry view_zoom_actions[] =
{
{ "view-zoom", NULL,
NC_("view-action", "Set zoom factor"), NULL, NULL,
NC_("view-zoom-action", "Set zoom factor"), NULL, NULL,
GIMP_ACTION_SELECT_SET, TRUE,
NULL },
{ "view-zoom-minimum", GIMP_ICON_ZOOM_OUT,
NC_("view-action", "Zoom out as far as possible"), NULL, NULL,
NC_("view-zoom-action", "Zoom out as far as possible"), NULL, NULL,
GIMP_ACTION_SELECT_FIRST, FALSE,
GIMP_HELP_VIEW_ZOOM_OUT },
{ "view-zoom-maximum", GIMP_ICON_ZOOM_IN,
NC_("view-action", "Zoom in as far as possible"), NULL, NULL,
NC_("view-zoom-action", "Zoom in as far as possible"), NULL, NULL,
GIMP_ACTION_SELECT_LAST, FALSE,
GIMP_HELP_VIEW_ZOOM_IN },
......@@ -356,12 +356,12 @@ static const GimpEnumActionEntry view_zoom_actions[] =
GIMP_HELP_VIEW_ZOOM_IN },
{ "view-zoom-out-skip", GIMP_ICON_ZOOM_OUT,
NC_("view-action", "Zoom out a lot"), NULL, NULL,
NC_("view-zoom-action", "Zoom out a lot"), NULL, NULL,
GIMP_ACTION_SELECT_SKIP_PREVIOUS, FALSE,
GIMP_HELP_VIEW_ZOOM_OUT },
{ "view-zoom-in-skip", GIMP_ICON_ZOOM_IN,
NC_("view-action", "Zoom in a lot"), NULL, NULL,
NC_("view-zoom-action", "Zoom in a lot"), NULL, NULL,
GIMP_ACTION_SELECT_SKIP_NEXT, FALSE,
GIMP_HELP_VIEW_ZOOM_IN }
};
......@@ -747,12 +747,12 @@ view_actions_setup (GimpActionGroup *group)
G_N_ELEMENTS (view_padding_color_actions),
G_CALLBACK (view_padding_color_cmd_callback));
gimp_action_group_add_enum_actions (group, NULL,
gimp_action_group_add_enum_actions (group, "view-action",
view_scroll_horizontal_actions,
G_N_ELEMENTS (view_scroll_horizontal_actions),
G_CALLBACK (view_scroll_horizontal_cmd_callback));
gimp_action_group_add_enum_actions (group, NULL,
gimp_action_group_add_enum_actions (group, "view-action",
view_scroll_vertical_actions,
G_N_ELEMENTS (view_scroll_vertical_actions),
G_CALLBACK (view_scroll_vertical_cmd_callback));
......
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