[fractal] sidebar: Improve labels for dnd
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [fractal] sidebar: Improve labels for dnd
- Date: Wed, 27 Apr 2022 12:57:41 +0000 (UTC)
commit 61c74b975a972051c5b58373bde2e71340d96c70
Author: Julian Sparber <julian sparber net>
Date: Wed Apr 27 13:40:06 2022 +0200
sidebar: Improve labels for dnd
Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/931>
src/session/sidebar/category_row.rs | 26 +++++++++++++++++++-------
1 file changed, 19 insertions(+), 7 deletions(-)
---
diff --git a/src/session/sidebar/category_row.rs b/src/session/sidebar/category_row.rs
index fa076643e..42173eb9d 100644
--- a/src/session/sidebar/category_row.rs
+++ b/src/session/sidebar/category_row.rs
@@ -162,30 +162,42 @@ impl CategoryRow {
CategoryType::Normal => gettext("Join Room"),
CategoryType::LowPriority => gettext("Join Room as Low Priority"),
CategoryType::Left => gettext("Reject Invite"),
+ CategoryType::Direct => gettext("Join Room as People"),
_ => to_type.to_string(),
},
CategoryType::Favorite => match to_type {
- CategoryType::Normal => gettext("Unmark as Favorite"),
- CategoryType::LowPriority => gettext("Mark as Low Priority"),
+ CategoryType::Normal => gettext("Move to Rooms"),
+ CategoryType::LowPriority => gettext("Move to Low Priority"),
CategoryType::Left => gettext("Leave Room"),
+ CategoryType::Direct => gettext("Move to People"),
_ => to_type.to_string(),
},
CategoryType::Normal => match to_type {
- CategoryType::Favorite => gettext("Mark as Favorite"),
- CategoryType::LowPriority => gettext("Mark as Low Priority"),
+ CategoryType::Favorite => gettext("Move to Favorites"),
+ CategoryType::LowPriority => gettext("Move to Low Priority"),
CategoryType::Left => gettext("Leave Room"),
+ CategoryType::Direct => gettext("Move to People"),
_ => to_type.to_string(),
},
CategoryType::LowPriority => match to_type {
- CategoryType::Favorite => gettext("Mark as Favorite"),
- CategoryType::Normal => gettext("Unmark as Low Priority"),
+ CategoryType::Favorite => gettext("Move to Favorites"),
+ CategoryType::Normal => gettext("Move to Rooms"),
CategoryType::Left => gettext("Leave Room"),
+ CategoryType::Direct => gettext("Move to People"),
_ => to_type.to_string(),
},
CategoryType::Left => match to_type {
- CategoryType::Favorite => gettext("Rejoin Room as Favorite"),
+ CategoryType::Favorite => gettext("Rejoin Room as Favorites"),
CategoryType::Normal => gettext("Rejoin Room"),
CategoryType::LowPriority => gettext("Rejoin Room as Low Priority"),
+ CategoryType::Direct => gettext("Rejoin Room as People"),
+ _ => to_type.to_string(),
+ },
+ CategoryType::Direct => match to_type {
+ CategoryType::Favorite => gettext("Move to Favorites"),
+ CategoryType::Normal => gettext("Mov to Rooms"),
+ CategoryType::LowPriority => gettext("Move to Low Priority"),
+ CategoryType::Left => gettext("Leave Room"),
_ => to_type.to_string(),
},
_ => to_type.to_string(),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]