From 15145bd20e7da250b081a2f2c6596f38d0bf9247 Mon Sep 17 00:00:00 2001 From: Felipe Borges Date: Mon, 24 Apr 2023 10:49:31 +0200 Subject: universal-access: Make Hearing page string translatable Fixes #2457 --- panels/universal-access/cc-ua-hearing-page.c | 3 ++- po/POTFILES.in | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) 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 +#include #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 and */ - label = "System volume can be adjusted in Sound settings."; + label = _("System volume can be adjusted in Sound 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 -- cgit v1.2.1