chore: update messaging in subscription management (#3937)
This commit is contained in:
parent
39e01c320b
commit
0a29d07f74
3 changed files with 16 additions and 2 deletions
|
|
@ -5231,5 +5231,6 @@
|
|||
"openToJoin": "Open to join",
|
||||
"results": "Results",
|
||||
"activityDone": "Activity Done!",
|
||||
"moreLabel": "more"
|
||||
"moreLabel": "more",
|
||||
"promoCodeInfo": "Promo codes can be entered on the next page"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -198,6 +198,19 @@ class ChangeSubscription extends StatelessWidget {
|
|||
),
|
||||
],
|
||||
),
|
||||
if (kIsWeb)
|
||||
Row(
|
||||
spacing: 8.0,
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
const Icon(Icons.info_outlined),
|
||||
Flexible(
|
||||
child: Text(
|
||||
L10n.of(context).promoCodeInfo,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
const SizedBox(height: 20.0),
|
||||
],
|
||||
);
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ class ManagementNotAvailableWarning extends StatelessWidget {
|
|||
}
|
||||
|
||||
final DateFormat formatter = DateFormat('yyyy-MM-dd');
|
||||
return L10n.of(context).promoSubscriptionExpirationDesc(
|
||||
return L10n.of(context).trialExpiration(
|
||||
formatter.format(currentSubscriptionInfo!.expirationDate!),
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue