summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Borges <felipeborges@gnome.org>2023-04-24 10:49:31 +0200
committerFelipe Borges <felipeborges@gnome.org>2023-04-25 07:00:06 +0000
commit15145bd20e7da250b081a2f2c6596f38d0bf9247 (patch)
tree3e1004a63db68dbf05bea01bf8f2fce620013504
parent1e79b28b07cdd7e4510f0bf72fc59ce0058c4a42 (diff)
downloadgnome-control-center-15145bd20e7da250b081a2f2c6596f38d0bf9247.tar.gz
universal-access: Make Hearing page string translatable
Fixes #2457
-rw-r--r--panels/universal-access/cc-ua-hearing-page.c3
-rw-r--r--po/POTFILES.in1
2 files changed, 3 insertions, 1 deletions
diff --git a/panels/universal-access/cc-ua-hearing-page.c b/panels/universal-access/cc-ua-hearing-page.c
index 3e1ffa6b5..cc33cd416 100644
--- a/panels/universal-access/cc-ua-hearing-page.c
+++ b/panels/universal-access/cc-ua-hearing-page.c
@@ -37,6 +37,7 @@
#endif
#include <gdesktop-enums.h>
+#include <glib/gi18n-lib.h>
#include "shell/cc-shell.h"
#include "cc-ua-macros.h"
@@ -155,7 +156,7 @@ cc_ua_hearing_page_init (CcUaHearingPage *self)
/* '#' is a dummy target to make 'Sound' clickable */
/* TRANSLATORS: Don't translate <a href='#'> and </a> */
- label = "System volume can be adjusted in <a href='#'>Sound</a> settings.";
+ label = _("System volume can be adjusted in <a href='#'>Sound</a> settings.");
gtk_label_set_label (self->sound_settings_label, label);
self->sound_settings = g_settings_new (SOUND_SETTINGS);
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 091154e8e..2cc3124e2 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -220,6 +220,7 @@ panels/thunderbolt/cc-bolt-panel.ui
panels/thunderbolt/gnome-thunderbolt-panel.desktop.in
panels/universal-access/cc-cursor-size-dialog.ui
panels/universal-access/cc-ua-hearing-page.ui
+panels/universal-access/cc-ua-hearing-page.c
panels/universal-access/cc-ua-mouse-page.ui
panels/universal-access/cc-ua-panel.c
panels/universal-access/cc-ua-panel.ui