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




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

    workspace: Mark a string as translatable
    
    This also replaces the wording as a desktop is no longer used to refer
    to a workspace
    
    Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2375>

 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 cf3563416f..1eec8f38a4 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -23,6 +23,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 3bd517fca6..e0e64a6b49 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, _("Workspace switched"), NULL);
 
  finish:
   meta_workspace_manager_free_workspace_layout (&layout);


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