diff --git a/assets/l10n/intl_en.arb b/assets/l10n/intl_en.arb index 541e2b8a7..1985e3d48 100644 --- a/assets/l10n/intl_en.arb +++ b/assets/l10n/intl_en.arb @@ -4878,5 +4878,13 @@ "newGrammar": "New grammar concepts", "congratulationsOnReaching": "Congratulations on reaching ", "seeDetails": "See Details", - "choosePracticeMode": "Click on one of the buttons above to start a practice activity" + "choosePracticeMode": "Click on one of the buttons above to start a practice activity", + "userWouldLikeToChangeTheSpace": "{user} would like to join the space.", + "@userWouldLikeToChangeTheSpace": { + "placeholders": { + "user": { + "type": "String" + } + } + } } \ No newline at end of file diff --git a/lib/pages/user_bottom_sheet/user_bottom_sheet_view.dart b/lib/pages/user_bottom_sheet/user_bottom_sheet_view.dart index f70e0a71d..9727f8096 100644 --- a/lib/pages/user_bottom_sheet/user_bottom_sheet_view.dart +++ b/lib/pages/user_bottom_sheet/user_bottom_sheet_view.dart @@ -75,8 +75,15 @@ class UserBottomSheetView extends StatelessWidget { title: Padding( padding: const EdgeInsets.only(bottom: 12.0), child: Text( - L10n.of(context) - .userWouldLikeToChangeTheChat(displayname), + // #Pangea + // L10n.of(context) + // .userWouldLikeToChangeTheChat(displayname), + (user?.room.isSpace ?? false) + ? L10n.of(context) + .userWouldLikeToChangeTheSpace(displayname) + : L10n.of(context) + .userWouldLikeToChangeTheChat(displayname), + // Pangea# ), ), subtitle: Row(