[mutter/bilelmoussaoui/make-canberra-a-plugin] i18n: Mark a string as translatable



commit 759d042d44968dead0a596cbb4513f645c532c85
Author: Bilal Elmoussaoui <belmouss redhat com>
Date:   Fri Apr 29 16:43:16 2022 +0200

    i18n: Mark a string as translatable

 po/POTFILES.in       | 1 +
 src/core/workspace.c | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index f51e98dd0a..6e2d5981b5 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -24,6 +24,7 @@ src/core/mutter.c
 src/core/prefs.c
 src/core/util.c
 src/core/window.c
+src/core/workspace.c
 src/ui/frames.c
 src/ui/theme.c
 src/wayland/meta-wayland-tablet-pad.c
diff --git a/src/core/workspace.c b/src/core/workspace.c
index 357e37d894..36423bb4e7 100644
--- a/src/core/workspace.c
+++ b/src/core/workspace.c
@@ -530,7 +530,7 @@ workspace_switch_sound(MetaWorkspace *from,
     }
 
   player = meta_display_get_sound_player (from->display);
-  meta_sound_player_play_from_theme (player, e, "Desktop switched", NULL);
+  meta_sound_player_play_from_theme (player, e, _("Desktop switched"), NULL);
 
  finish:
   meta_workspace_manager_free_workspace_layout (&layout);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]