From 02110976dc7db9d134f5041e8682db3b57f94d52 Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Fri, 29 Apr 2022 16:43:16 +0200 Subject: [PATCH] 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: --- 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 cf3563416..1eec8f38a 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 3bd517fca..e0e64a6b4 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);