[gtk: 2/4] Localize the a11y label
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 2/4] Localize the a11y label
- Date: Mon, 26 Sep 2022 14:41:30 +0000 (UTC)
commit 6f01d458d539797615513f45f0e71c0c8a0c45d7
Author: Lukáš Tyrychtr <lukastyrychtr gmail com>
Date: Fri Apr 22 11:42:32 2022 +0200
Localize the a11y label
gtk/gtkstacksidebar.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/gtk/gtkstacksidebar.c b/gtk/gtkstacksidebar.c
index 0e84f52c11..e65e1ca7c5 100644
--- a/gtk/gtkstacksidebar.c
+++ b/gtk/gtkstacksidebar.c
@@ -34,6 +34,8 @@
#include "gtkwidgetprivate.h"
#include "gtkintl.h"
+#include <glib/gi18n-lib.h>
+
/**
* GtkStackSidebar:
*
@@ -149,7 +151,8 @@ gtk_stack_sidebar_init (GtkStackSidebar *self)
self->list = GTK_LIST_BOX (gtk_list_box_new ());
gtk_widget_add_css_class (GTK_WIDGET (self->list), "navigation-sidebar");
gtk_accessible_update_property (GTK_ACCESSIBLE (self->list),
- GTK_ACCESSIBLE_PROPERTY_LABEL, "Sidebar",
+ GTK_ACCESSIBLE_PROPERTY_LABEL,
+ NC_("accessibility", "Sidebar"),
-1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]