From 5a733854b6c8af12c2563e4f463c4d1e34d44e00 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Sat, 10 Oct 2020 12:55:54 +0100 Subject: [PATCH] a11y: Localise the role name of the root node --- gtk/a11y/gtkatspiroot.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk/a11y/gtkatspiroot.c b/gtk/a11y/gtkatspiroot.c index e1a76b1e95..998ef95134 100644 --- a/gtk/a11y/gtkatspiroot.c +++ b/gtk/a11y/gtkatspiroot.c @@ -33,6 +33,7 @@ #include +#include #include #define ATSPI_VERSION "2.1" @@ -219,7 +220,7 @@ handle_accessible_method (GDBusConnection *connection, else if (g_strcmp0 (method_name, "GetRoleName") == 0) g_dbus_method_invocation_return_value (invocation, g_variant_new ("(s)", "application")); else if (g_strcmp0 (method_name, "GetLocalizedRoleName") == 0) - g_dbus_method_invocation_return_value (invocation, g_variant_new ("(s)", "application")); + g_dbus_method_invocation_return_value (invocation, g_variant_new ("(s)", C_("accessibility", "application"))); else if (g_strcmp0 (method_name, "GetState") == 0) { GVariantBuilder builder = G_VARIANT_BUILDER_INIT (G_VARIANT_TYPE ("(au)"));