Skip to content

Commit

Permalink
accelerators: fix some missing translation.
Browse files Browse the repository at this point in the history
  • Loading branch information
TurboGit committed Nov 12, 2021
1 parent 10428f6 commit 6c8d097
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/gui/accelerators.c
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ static gchar *_action_description(dt_shortcut_t *s, int components)
if(components == 2)
{
gchar *action_label = _action_full_label(s->action);
add_hint("%s", action_label);
add_hint("%s", _(action_label));
g_free(action_label);
}

Expand All @@ -564,8 +564,7 @@ static gchar *_action_description(dt_shortcut_t *s, int components)
if(def && def->elements)
{
if(components && (s->element || (!def->fallbacks && def->elements->name)))
add_hint(", %s", def->elements[s->element].name);

add_hint(", %s", _(def->elements[s->element].name));
if(def->elements[s->element].effects == dt_action_effect_selection
&& s->effect > DT_ACTION_EFFECT_COMBO_SEPARATOR)
{
Expand Down

0 comments on commit 6c8d097

Please sign in to comment.