Add localization support for German, Spanish, French, and Italian

- Updated localization files for French, Croatian, Italian, Slovenian to include translations for German, Spanish, French, and Italian.
- Added new methods for handling drawing messages sent to the public channel in multiple languages.
- Enhanced the Contact model to identify public channels using a dedicated method.
- Implemented echo detection for public channel messages, including tracking and reporting of echoes.
- Updated BLE response handling to support echo detection and tracking of sent messages.
- Modified UI components to reflect new localization strings and echo statuses.
This commit is contained in:
Janez T
2025-10-18 22:39:26 +02:00
parent da03592980
commit 52b2f4ede1
30 changed files with 1971 additions and 37 deletions

View File

@@ -360,6 +360,30 @@ abstract class AppLocalizations {
/// **'Croatian'**
String get croatian;
/// German language option
///
/// In en, this message translates to:
/// **'German'**
String get german;
/// Spanish language option
///
/// In en, this message translates to:
/// **'Spanish'**
String get spanish;
/// French language option
///
/// In en, this message translates to:
/// **'French'**
String get french;
/// Italian language option
///
/// In en, this message translates to:
/// **'Italian'**
String get italian;
/// Location settings section header
///
/// In en, this message translates to:
@@ -779,6 +803,18 @@ abstract class AppLocalizations {
/// **'Stored permanently in room'**
String get storedPermanently;
/// System message when drawings are sent to public channel
///
/// In en, this message translates to:
/// **'Sent {count} map drawing{plural} to Public Channel'**
String drawingsSentToPublicChannel(int count, String plural);
/// Snackbar message showing success count for drawings shared to public channel
///
/// In en, this message translates to:
/// **'Shared {success}/{total} drawings to Public Channel'**
String drawingsSharedToPublicChannel(int success, int total);
/// Error message when device is not connected for direct messaging
///
/// In en, this message translates to:
@@ -1835,6 +1871,12 @@ abstract class AppLocalizations {
/// **'Failed'**
String get failed;
/// Delivery status for channel messages (no echoes yet)
///
/// In en, this message translates to:
/// **'Broadcast'**
String get broadcast;
/// SAR marker type: found person
///
/// In en, this message translates to: