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




commit 29b0d6c23f204707bd641e9d2e1d58bf1d346851
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

 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]