diff --git a/lib/l10n/intl_en.arb b/lib/l10n/intl_en.arb index bf9515fdf..0b8f711e6 100644 --- a/lib/l10n/intl_en.arb +++ b/lib/l10n/intl_en.arb @@ -5266,5 +5266,17 @@ "generatingSummary": "Analyzing chat and generating results", "instructionsLanguage": "Instructions language", "findCourse": "Find a course", - "activityCompletedDesc": "Your completed activity was added to analytics where you can review and practice the language you used." + "activityCompletedDesc": "Your completed activity was added to analytics where you can review and practice the language you used.", + "pingParticipantsNotification": "{user} is looking for users to join the activity session in {room}", + "@pingParticipantsNotification": { + "type": "String", + "placeholders": { + "user": { + "type": "String" + }, + "room": { + "type": "String" + } + } + } } diff --git a/lib/pangea/activity_sessions/activity_session_start/activity_session_start_page.dart b/lib/pangea/activity_sessions/activity_session_start/activity_session_start_page.dart index b7f07f186..57af3ee51 100644 --- a/lib/pangea/activity_sessions/activity_session_start/activity_session_start_page.dart +++ b/lib/pangea/activity_sessions/activity_session_start/activity_session_start_page.dart @@ -138,7 +138,12 @@ class ActivitySessionStartController extends State { throw Exception("Activity is not part of a course"); } - await room.courseParent!.sendTextEvent(""); + await room.courseParent!.sendTextEvent( + L10n.of(context).pingParticipantsNotification( + room.client.userID!.localpart ?? room.client.userID!, + room.getLocalizedDisplayname(MatrixLocals(L10n.of(context))), + ), + ); } @override