feat: Add localization for no recipients and no channels found messages

This commit is contained in:
Janez T
2025-11-14 11:35:06 +01:00
parent 38523c3bb4
commit c621db0800
13 changed files with 64 additions and 2 deletions

View File

@@ -2647,6 +2647,8 @@
"noContactsFound": "Keine Kontakte gefunden",
"noRoomsFound": "Keine Räume gefunden",
"noContactsOrRoomsAvailable": "Keine Kontakte oder Räume verfügbar",
"noRecipientsAvailable": "Keine Empfänger verfügbar",
"noChannelsFound": "Keine Kanäle gefunden",
"messagesWillBeSentToPublicChannel": "Nachrichten werden an öffentlichen Kanal gesendet",
"newMessage": "Neue Nachricht",
"channel": "Kanal",

View File

@@ -2642,6 +2642,8 @@
"noContactsFound": "No se encontraron contactos",
"noRoomsFound": "No se encontraron salas",
"noContactsOrRoomsAvailable": "No hay contactos o salas disponibles",
"noRecipientsAvailable": "No hay destinatarios disponibles",
"noChannelsFound": "No se encontraron canales",
"messagesWillBeSentToPublicChannel": "Los mensajes se enviarán al canal público",
"newMessage": "Nuevo mensaje",
"channel": "Canal",

View File

@@ -2647,6 +2647,8 @@
"noContactsFound": "Aucun contact trouvé",
"noRoomsFound": "Aucune salle trouvée",
"noContactsOrRoomsAvailable": "Aucun contact ou salle disponible",
"noRecipientsAvailable": "Aucun destinataire disponible",
"noChannelsFound": "Aucun canal trouvé",
"messagesWillBeSentToPublicChannel": "Les messages seront envoyés au canal public",
"newMessage": "Nouveau message",
"channel": "Canal",

View File

@@ -2647,6 +2647,8 @@
"noContactsFound": "Nessun contatto trovato",
"noRoomsFound": "Nessuna stanza trovata",
"noContactsOrRoomsAvailable": "Nessun contatto o stanza disponibile",
"noRecipientsAvailable": "Nessun destinatario disponibile",
"noChannelsFound": "Nessun canale trovato",
"messagesWillBeSentToPublicChannel": "I messaggi saranno inviati al canale pubblico",
"newMessage": "Nuovo messaggio",
"channel": "Canale",

View File

@@ -3081,6 +3081,18 @@ abstract class AppLocalizations {
/// **'No contacts or rooms available'**
String get noContactsOrRoomsAvailable;
/// Message when no recipients exist (contacts, rooms, or channels)
///
/// In en, this message translates to:
/// **'No recipients available'**
String get noRecipientsAvailable;
/// Message when no channels match the search
///
/// In en, this message translates to:
/// **'No channels found'**
String get noChannelsFound;
/// Info message when only public channel is available
///
/// In en, this message translates to:

View File

@@ -1733,6 +1733,12 @@ class AppLocalizationsDe extends AppLocalizations {
String get noContactsOrRoomsAvailable =>
'Keine Kontakte oder Räume verfügbar';
@override
String get noRecipientsAvailable => 'Keine Empfänger verfügbar';
@override
String get noChannelsFound => 'Keine Kanäle gefunden';
@override
String get messagesWillBeSentToPublicChannel =>
'Nachrichten werden an öffentlichen Kanal gesendet';

View File

@@ -1717,6 +1717,12 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get noContactsOrRoomsAvailable => 'No contacts or rooms available';
@override
String get noRecipientsAvailable => 'No recipients available';
@override
String get noChannelsFound => 'No channels found';
@override
String get messagesWillBeSentToPublicChannel =>
'Messages will be sent to public channel';

View File

@@ -1732,6 +1732,12 @@ class AppLocalizationsEs extends AppLocalizations {
String get noContactsOrRoomsAvailable =>
'No hay contactos o salas disponibles';
@override
String get noRecipientsAvailable => 'No hay destinatarios disponibles';
@override
String get noChannelsFound => 'No se encontraron canales';
@override
String get messagesWillBeSentToPublicChannel =>
'Los mensajes se enviarán al canal público';

View File

@@ -1737,6 +1737,12 @@ class AppLocalizationsFr extends AppLocalizations {
@override
String get noContactsOrRoomsAvailable => 'Aucun contact ou salle disponible';
@override
String get noRecipientsAvailable => 'Aucun destinataire disponible';
@override
String get noChannelsFound => 'Aucun canal trouvé';
@override
String get messagesWillBeSentToPublicChannel =>
'Les messages seront envoyés au canal public';

View File

@@ -1720,6 +1720,12 @@ class AppLocalizationsHr extends AppLocalizations {
@override
String get noContactsOrRoomsAvailable => 'Nema dostupnih kontakata ili soba';
@override
String get noRecipientsAvailable => 'Nema dostupnih primatelja';
@override
String get noChannelsFound => 'Nije pronađen nijedan kanal';
@override
String get messagesWillBeSentToPublicChannel =>
'Poruke će biti poslane na javni kanal';

View File

@@ -1731,6 +1731,12 @@ class AppLocalizationsIt extends AppLocalizations {
String get noContactsOrRoomsAvailable =>
'Nessun contatto o stanza disponibile';
@override
String get noRecipientsAvailable => 'Nessun destinatario disponibile';
@override
String get noChannelsFound => 'Nessun canale trovato';
@override
String get messagesWillBeSentToPublicChannel =>
'I messaggi saranno inviati al canale pubblico';

View File

@@ -1721,6 +1721,12 @@ class AppLocalizationsSl extends AppLocalizations {
@override
String get noContactsOrRoomsAvailable => 'Ni na voljo kontaktov ali sob';
@override
String get noRecipientsAvailable => 'Ni na voljo prejemnikov';
@override
String get noChannelsFound => 'Ni najdenih kanalov';
@override
String get messagesWillBeSentToPublicChannel =>
'Sporočila bodo poslana na javni kanal';

View File

@@ -434,8 +434,8 @@ class _SarUpdateSheetState extends State<SarUpdateSheet> {
AppLocalizations.of(
context,
)!.noDestinationsAvailable,
style: const TextStyle(
color: Colors.white70,
style: TextStyle(
color: Colors.red.shade900,
fontSize: 11,
),
),