keyboard: Use gtk4 translations instead of gtk3 ones for shortcut search
Otherwise looking up shortcuts with "ctrl" in non-English locales would fail without gtk3 installed. Fixes: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1546
This commit is contained in:
parent
14a2672e28
commit
b3a7a16d23
1 changed files with 1 additions and 1 deletions
|
@ -531,7 +531,7 @@ strv_contains_prefix_or_match (gchar **strv,
|
||||||
const gchar *translated_label;
|
const gchar *translated_label;
|
||||||
|
|
||||||
/* Steal GTK+'s translation */
|
/* Steal GTK+'s translation */
|
||||||
translated_label = g_dpgettext2 ("gtk30", "keyboard label", key_aliases[i].untranslated);
|
translated_label = g_dpgettext2 ("gtk40", "keyboard label", key_aliases[i].untranslated);
|
||||||
alias = g_utf8_strdown (translated_label, -1);
|
alias = g_utf8_strdown (translated_label, -1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue