chore: fix copy issue (#4102)
This commit is contained in:
parent
c4ccfee694
commit
a38f7c4357
3 changed files with 5 additions and 2 deletions
|
|
@ -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": {
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue