mirror of
https://github.com/dz0ny/meshcore-sar.git
synced 2026-08-11 16:30:28 +00:00
Refactor voice support and add Greek localization
- Updated voice support to only include iOS, removing MacOS support. - Added Greek (el) to the list of supported locales in LocalePreferences. - Enhanced localization strings for Greek language. - Modified Podfile to exclude C source files from the macOS build of codec2_flutter, as voice messages are iOS-only.
This commit is contained in:
@@ -14,6 +14,7 @@ class LocalePreferences {
|
||||
Locale('es'), // Spanish
|
||||
Locale('fr'), // French
|
||||
Locale('it'), // Italian
|
||||
Locale('el'), // Greek
|
||||
];
|
||||
|
||||
/// Get the saved locale or return null to use system locale
|
||||
@@ -61,6 +62,8 @@ class LocalePreferences {
|
||||
return 'Français';
|
||||
case 'it':
|
||||
return 'Italiano';
|
||||
case 'el':
|
||||
return 'Greek';
|
||||
default:
|
||||
return locale.languageCode;
|
||||
}
|
||||
@@ -83,6 +86,8 @@ class LocalePreferences {
|
||||
return 'Français';
|
||||
case 'it':
|
||||
return 'Italiano';
|
||||
case 'el':
|
||||
return 'Ελληνικά';
|
||||
default:
|
||||
return locale.languageCode;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user