From 11b35908fa48d3dba17cd0a2d02b40bbc9c1eebf Mon Sep 17 00:00:00 2001 From: Anders Jonsson Date: Mon, 18 Aug 2025 18:36:22 +0200 Subject: [PATCH] app: add missing context to make translations be used gimp_action_group_add_actions has a loop that expected all strings to have a context since msg_context was set. Without a context the original string was used. --- app/actions/layers-actions.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/actions/layers-actions.c b/app/actions/layers-actions.c index 2dd69ba7a2..4b1729d71a 100644 --- a/app/actions/layers-actions.c +++ b/app/actions/layers-actions.c @@ -62,9 +62,9 @@ static const GimpActionEntry layers_actions[] = layers_edit_text_cmd_callback, GIMP_HELP_LAYER_EDIT }, -{ "layers-edit-vector", GIMP_ICON_TOOL_PATH, - N_("Path Tool"), NULL, { NULL }, - N_("Activate the path tool on this vector layer's path"), + { "layers-edit-vector", GIMP_ICON_TOOL_PATH, + NC_("layers-action", "Path Tool"), NULL, { NULL }, + NC_("layers-action", "Activate the path tool on this vector layer's path"), layers_edit_vector_cmd_callback, GIMP_HELP_TOOL_PATH },