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>
This commit is contained in:
Bilal Elmoussaoui 2022-04-29 16:43:16 +02:00 committed by Marge Bot
parent 7902fa3f9f
commit 02110976dc
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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);