Clarify email help messages on Settings > Payment Settings
This commit is contained in:
parent
32b9a4a5a2
commit
232d5aeae5
|
|
@ -214,7 +214,7 @@ class _PaymentSettingsState extends State<PaymentSettings> {
|
|||
settings.rebuild(
|
||||
(b) => b..clientOnlinePaymentNotification = value)),
|
||||
label: localization.onlinePaymentEmail,
|
||||
helpLabel: localization.emailReceipt,
|
||||
helpLabel: localization.onlinePaymentEmailHelp,
|
||||
iconData: Icons.email,
|
||||
),
|
||||
BoolDropdownButton(
|
||||
|
|
@ -223,7 +223,7 @@ class _PaymentSettingsState extends State<PaymentSettings> {
|
|||
settings.rebuild(
|
||||
(b) => b..clientManualPaymentNotification = value)),
|
||||
label: localization.manualPaymentEmail,
|
||||
helpLabel: localization.emailReceipt,
|
||||
helpLabel: localization.manualPaymentEmailHelp,
|
||||
iconData: Icons.email,
|
||||
),
|
||||
BoolDropdownButton(
|
||||
|
|
@ -232,7 +232,7 @@ class _PaymentSettingsState extends State<PaymentSettings> {
|
|||
settings.rebuild(
|
||||
(b) => b..clientMarkPaidPaymentNotification = value)),
|
||||
label: localization.markPaidPaymentEmail,
|
||||
helpLabel: localization.emailReceipt,
|
||||
helpLabel: localization.markPaidPaymentEmailHelp,
|
||||
iconData: Icons.email,
|
||||
),
|
||||
],
|
||||
|
|
|
|||
|
|
@ -16,6 +16,12 @@ mixin LocalizationsProvider on LocaleCodeAware {
|
|||
static final Map<String, Map<String, String>> _localizedValues = {
|
||||
'en': {
|
||||
// STARTER: lang key - do not remove comment
|
||||
'online_payment_email_help':
|
||||
'Send an email when an online payment is made',
|
||||
'manual_payment_email_help':
|
||||
'Send an email when manually entering a payment',
|
||||
'mark_paid_payment_email_help':
|
||||
'Send an email when marking an invoice as pad',
|
||||
'delete_project': 'Delete Project',
|
||||
'linked_transaction': 'Successfully linked transaction',
|
||||
'link_to_payment': 'Link to Payment',
|
||||
|
|
@ -92176,6 +92182,18 @@ mixin LocalizationsProvider on LocaleCodeAware {
|
|||
_localizedValues[localeCode]['delete_project'] ??
|
||||
_localizedValues['en']['delete_project'];
|
||||
|
||||
String get onlinePaymentEmailHelp =>
|
||||
_localizedValues[localeCode]['online_payment_email_help'] ??
|
||||
_localizedValues['en']['online_payment_email_help'];
|
||||
|
||||
String get manualPaymentEmailHelp =>
|
||||
_localizedValues[localeCode]['manual_payment_email_help'] ??
|
||||
_localizedValues['en']['manual_payment_email_help'];
|
||||
|
||||
String get markPaidPaymentEmailHelp =>
|
||||
_localizedValues[localeCode]['mark_paid_payment_email_help'] ??
|
||||
_localizedValues['en']['mark_paid_payment_email_help'];
|
||||
|
||||
// STARTER: lang field - do not remove comment
|
||||
|
||||
String lookup(String key) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue