Revert toTitleCase i18n change

This commit is contained in:
Hillel Coren 2023-01-15 12:11:40 +02:00
parent 11bf694161
commit 0efa075f52
1 changed files with 4 additions and 1 deletions

View File

@ -16,6 +16,9 @@ mixin LocalizationsProvider on LocaleCodeAware {
static final Map<String, Map<String, String>> _localizedValues = {
'en': {
// STARTER: lang key - do not remove comment
'mailgun': 'Mailgun',
'postmark': 'Postmark',
'microsoft': 'Microsoft',
'click_plus_to_create_record': 'Click + to create a record',
'last365_days': 'Last 365 Days',
'import_design': 'Import Design',
@ -93006,7 +93009,7 @@ mixin LocalizationsProvider on LocaleCodeAware {
final englishValue = _localizedValues['en'][lookupKey] ?? '';
return englishValue.isEmpty ? toTitleCase(key) : englishValue;
return englishValue.isEmpty ? key : englishValue;
}
return value;