From 97984f85eb3b2c9da405868c903f24f060181dbe Mon Sep 17 00:00:00 2001 From: ggurdin <46800240+ggurdin@users.noreply.github.com> Date: Fri, 10 Oct 2025 16:40:09 -0400 Subject: [PATCH] chore: add leave space description (#4341) --- lib/l10n/intl_en.arb | 3 ++- lib/pangea/chat_settings/pages/space_details_content.dart | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/l10n/intl_en.arb b/lib/l10n/intl_en.arb index 92591e449..7098e8b4d 100644 --- a/lib/l10n/intl_en.arb +++ b/lib/l10n/intl_en.arb @@ -5311,5 +5311,6 @@ "noPublicCoursesFound": "No public courses found. Would you like to create one?", "noCourseTemplatesFound": "We couldn't find any courses for your target language. You can chat with Pangea Bot in the meantime, and check back later for more courses.", "botActivityJoinFailMessage": "Pangea Bot is taking a while to respond. Please try again later, or invite a friend.", - "unsubscribedResponseError": "This feature requires a subscription" + "unsubscribedResponseError": "This feature requires a subscription", + "leaveDesc": "Leave this space and all chats within it" } diff --git a/lib/pangea/chat_settings/pages/space_details_content.dart b/lib/pangea/chat_settings/pages/space_details_content.dart index b08140cbf..ac308b6f6 100644 --- a/lib/pangea/chat_settings/pages/space_details_content.dart +++ b/lib/pangea/chat_settings/pages/space_details_content.dart @@ -151,6 +151,7 @@ class SpaceDetailsContent extends StatelessWidget { ), ButtonDetails( title: l10n.leave, + description: l10n.leaveDesc, icon: const Icon(Icons.logout_outlined, size: 30.0), onPressed: () async { final confirmed = await showOkCancelAlertDialog(