chore: fix copy issue (#4102)

This commit is contained in:
ggurdin 2025-09-23 12:09:16 -04:00 committed by GitHub
parent c4ccfee694
commit a38f7c4357
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 2 deletions

View file

@ -5235,6 +5235,7 @@
"promoCodeInfo": "Promo codes can be entered on the next page",
"editsComingSoon": "The ability to edit cities and activities is coming soon.",
"editing": "Editing",
"activityNeedsOneMember": "Uh oh! This activity needs 1 more person.",
"activityNeedsMembers": "Uh oh! This activity needs {num} more people.",
"@activityNeedsMembers": {
"placeholders": {

View file

@ -302,7 +302,7 @@ class ActivitySessionStartController extends State<ActivitySessionStartPage>
Future<void> confirmRoleSelection() async {
if (state != SessionState.selectedRole) return;
if (activityRoom != null) {
if (activityRoom?.membership == Membership.join) {
await showFutureLoadingDialog(
context: context,
future: () => activityRoom!.joinActivity(

View file

@ -268,7 +268,9 @@ class _ActivityStartButtons extends StatelessWidget {
children: [
if (!hasEnoughParticipants) ...[
Text(
L10n.of(context).activityNeedsMembers(neededParticipants),
neededParticipants > 1
? L10n.of(context).activityNeedsMembers(neededParticipants)
: L10n.of(context).activityNeedsOneMember,
textAlign: TextAlign.center,
),
ElevatedButton(