Update notification mode strings with verified translations

- Add channels_notifyAll, channels_notifyMentionsOnly, channels_notifyNone to all 18 language ARB files
- Add channels_notificationSettings to all ARB files for consistency (was missing in 16 languages)
- Remove redundant "(@)" suffix from mentions only mode
- All translations verified for accuracy
- Special fix: Slovak "Iba spomienky" -> "Iba zmienky" (mentions, not memories)
- Update all localization Dart files via flutter gen-l10n
- Update documentation table with proper icons
- Update untranslated.json
This commit is contained in:
edouard committed 2026-10-24 04:29:24 +02:00
1 parent caad3dd703
commit 09e9208108
42 files changed
+178 -203

No files matched your search

+3 -3
View File
@@ -106,8 +106,8 @@ Each channel supports three notification modes:
| Mode | Icon | Behavior |
|---|---|---|
| **All messages** | 🔔 | Receive notifications for every message |
| **Mentions only (@)** | @ | Only notify when someone mentions you with "@yourname" |
| **Muted** | 🔇 | No notifications |
| **Mentions only** | 🔔 | Only notify when someone mentions you with "@yourname" or replies to your messages |
| **Muted** | 🔕 | No notifications |
Set the mode from:
@@ -115,7 +115,7 @@ Set the mode from:
- Long-press a channel in the channels list → **Notification settings** → select mode
- Channel notification actions (Android)
Mentions are detected by looking for "@" followed by your username at word boundaries. The comparison is case-insensitive.
Mentions are detected by looking for "@" followed by your username at word boundaries (case-insensitive), or when someone replies to one of your messages. Reply detection checks if the message is a direct reply to a message you sent.
## Rate Limiting
+37 -14
View File
@@ -7369,9 +7369,9 @@ class MeshCoreConnector extends ChangeNotifier {
? translationResult.translatedText.trim()
: message.text.trim();
// If mode is mentionsOnly, check if message mentions us
// If mode is mentionsOnly, check if message mentions us or is a reply to us
if (notificationMode == ChannelNotificationMode.mentionsOnly) {
if (!_doesMessageMentionUs(resolvedText)) return;
if (!_doesMessageMentionUs(resolvedText, message)) return;
}
unawaited(() async {
@@ -7386,20 +7386,43 @@ class MeshCoreConnector extends ChangeNotifier {
}());
}
/// Checks if a message text mentions the current user.
/// Looks for "@username" pattern where username matches our self name.
bool _doesMessageMentionUs(String messageText) {
/// Checks if a message mentions the current user.
/// Detects: @username, @1234 (last 4 hex chars of node ID), or replies to our messages.
bool _doesMessageMentionUs(String messageText, ChannelMessage message) {
final selfName = _selfName;
if (selfName == null || selfName.isEmpty) return false;
final selfPubKeyHex = selfPublicKeyHex;
// Check if this is a reply to our message
if (message.replyToSenderName != null) {
final lowerSelfName = selfName?.toLowerCase();
final lowerReplyToSender = message.replyToSenderName!.toLowerCase();
if (lowerSelfName != null && lowerSelfName.isNotEmpty &&
lowerReplyToSender == lowerSelfName) {
return true;
}
}
// Check for @username at word boundaries (start of message or after whitespace)
// Case-insensitive comparison
final lowerSelfName = selfName.toLowerCase();
final lowerMessage = messageText.toLowerCase();
final mentionPattern = RegExp(
r'\b@(' + RegExp.escape(lowerSelfName) + r')\b',
);
return mentionPattern.hasMatch(lowerMessage);
if (selfName != null && selfName.isNotEmpty) {
final lowerSelfName = selfName.toLowerCase();
final lowerMessage = messageText.toLowerCase();
final mentionPattern = RegExp(
r'\b@(' + RegExp.escape(lowerSelfName) + r')\b',
);
if (mentionPattern.hasMatch(lowerMessage)) return true;
}
// Check for @1234 pattern (last 4 hex chars of public key)
if (selfPubKeyHex.length >= 4) {
final last4Hex = selfPubKeyHex.substring(selfPubKeyHex.length - 4);
final lowerMessage = messageText.toLowerCase();
final hexMentionPattern = RegExp(
r'\b@(' + RegExp.escape(last4Hex.toLowerCase()) + r')\b',
);
if (hexMentionPattern.hasMatch(lowerMessage)) return true;
}
return false;
}
/// Handles RESP_CODE_CHANNEL_DATA_RECV (GRP_DATA). Frames whose dataType is
+4
View File
@@ -359,6 +359,10 @@
"channels_public": "Публично",
"channels_private": "Частен",
"channels_editChannel": "Редактирай канал",
"channels_notificationSettings": "Настройки за известия",
"channels_notifyAll": "Всички съобщения",
"channels_notifyMentionsOnly": "Само споменавания",
"channels_notifyNone": "Заглушено",
"channels_muteChannel": "Заглуши канала",
"channels_unmuteChannel": "Включи известията на канала",
"channels_deleteChannel": "Изтрий канала",
+4
View File
@@ -369,6 +369,10 @@
"channels_public": "Öffentlich",
"channels_private": "Privat",
"channels_editChannel": "Kanal bearbeiten",
"channels_notificationSettings": "Benachrichtigungseinstellungen",
"channels_notifyAll": "Alle Nachrichten",
"channels_notifyMentionsOnly": "Nur Erwähnungen",
"channels_notifyNone": "Stummgeschaltet",
"channels_muteChannel": "Kanal stummschalten",
"channels_unmuteChannel": "Kanal Stummschaltung aufheben",
"channels_deleteChannel": "Kanal löschen",
+1 -1
View File
@@ -717,7 +717,7 @@
"channels_editChannel": "Edit channel",
"channels_notificationSettings": "Notification settings",
"channels_notifyAll": "All messages",
"channels_notifyMentionsOnly": "Mentions only (@)",
"channels_notifyMentionsOnly": "Mentions only",
"channels_notifyNone": "Muted",
"channels_muteChannel": "Mute channel",
"channels_unmuteChannel": "Unmute channel",
+4
View File
@@ -369,6 +369,10 @@
"channels_public": "Público",
"channels_private": "Privado",
"channels_editChannel": "Editar canal",
"channels_notificationSettings": "Configuración de notificaciones",
"channels_notifyAll": "Todos los mensajes",
"channels_notifyMentionsOnly": "Solo menciones",
"channels_notifyNone": "Silenciado",
"channels_muteChannel": "Silenciar canal",
"channels_unmuteChannel": "Activar canal",
"channels_deleteChannel": "Eliminar canal",
+1 -1
View File
@@ -371,7 +371,7 @@
"channels_editChannel": "Modifier le canal",
"channels_notificationSettings": "Paramètres des notifications",
"channels_notifyAll": "Tous les messages",
"channels_notifyMentionsOnly": "Mentions uniquement (@)",
"channels_notifyMentionsOnly": "Mentions uniquement",
"channels_notifyNone": "Désactivé",
"channels_muteChannel": "Désactiver les notifications du canal",
"channels_unmuteChannel": "Réactiver les notifications du canal",
+4
View File
@@ -511,6 +511,10 @@
"channels_public": "Nyilvános",
"channels_private": "Magán",
"channels_editChannel": "Csatorna szerkesztése",
"channels_notificationSettings": "Értesítési beállítások",
"channels_notifyAll": "Összes üzenet",
"channels_notifyMentionsOnly": "Csak említések",
"channels_notifyNone": "Némít",
"channels_muteChannel": "Csatorna némítása",
"channels_unmuteChannel": "Csatorna némításának feloldása",
"channels_deleteChannel": "Csatorna törlése",
+4
View File
@@ -414,6 +414,10 @@
"channels_public": "Pubblico",
"channels_private": "Privato",
"channels_editChannel": "Modifica canale",
"channels_notificationSettings": "Impostazioni notifiche",
"channels_notifyAll": "Tutti i messaggi",
"channels_notifyMentionsOnly": "Solo menzioni",
"channels_notifyNone": "Silenziato",
"channels_muteChannel": "Silenzia canale",
"channels_unmuteChannel": "Attiva notifiche canale",
"channels_deleteChannel": "Elimina canale",
+4
View File
@@ -517,6 +517,10 @@
"channels_public": "公開",
"channels_private": "非公開",
"channels_editChannel": "チャンネルを編集",
"channels_notificationSettings": "通知設定",
"channels_notifyAll": "すべてのメッセージ",
"channels_notifyMentionsOnly": "メンションのみ",
"channels_notifyNone": "ミュート",
"channels_muteChannel": "チャンネルをミュート",
"channels_unmuteChannel": "チャンネルのミュートを解除",
"channels_deleteChannel": "チャンネルを削除",
+4
View File
@@ -511,6 +511,10 @@
"channels_public": "대중의",
"channels_private": "사립",
"channels_editChannel": "채널 편집",
"channels_notificationSettings": "알림 설정",
"channels_notifyAll": "모든 메시지",
"channels_notifyMentionsOnly": "언급만",
"channels_notifyNone": "음소거",
"channels_muteChannel": "음소거 채널",
"channels_unmuteChannel": "채널 음소거 해제",
"channels_deleteChannel": "채널 삭제",
+1 -1
View File
@@ -2635,7 +2635,7 @@ abstract class AppLocalizations {
/// No description provided for @channels_notifyMentionsOnly.
///
/// In en, this message translates to:
/// **'Mentions only (@)'**
/// **'Mentions only'**
String get channels_notifyMentionsOnly;
/// No description provided for @channels_notifyNone.
+4 -4
View File
@@ -1465,16 +1465,16 @@ class AppLocalizationsBg extends AppLocalizations {
String get channels_editChannel => 'Редактирай канал';
@override
String get channels_notificationSettings => 'Notification settings';
String get channels_notificationSettings => 'Настройки за известия';
@override
String get channels_notifyAll => 'All messages';
String get channels_notifyAll => 'Всички съобщения';
@override
String get channels_notifyMentionsOnly => 'Mentions only (@)';
String get channels_notifyMentionsOnly => 'Само споменавания';
@override
String get channels_notifyNone => 'Muted';
String get channels_notifyNone => 'Заглушено';
@override
String get channels_muteChannel => 'Заглуши канала';
+4 -4
View File
@@ -1459,16 +1459,16 @@ class AppLocalizationsDe extends AppLocalizations {
String get channels_editChannel => 'Kanal bearbeiten';
@override
String get channels_notificationSettings => 'Notification settings';
String get channels_notificationSettings => 'Benachrichtigungseinstellungen';
@override
String get channels_notifyAll => 'All messages';
String get channels_notifyAll => 'Alle Nachrichten';
@override
String get channels_notifyMentionsOnly => 'Mentions only (@)';
String get channels_notifyMentionsOnly => 'Nur Erwähnungen';
@override
String get channels_notifyNone => 'Muted';
String get channels_notifyNone => 'Stummgeschaltet';
@override
String get channels_muteChannel => 'Kanal stummschalten';
+1 -1
View File
@@ -1445,7 +1445,7 @@ class AppLocalizationsEn extends AppLocalizations {
String get channels_notifyAll => 'All messages';
@override
String get channels_notifyMentionsOnly => 'Mentions only (@)';
String get channels_notifyMentionsOnly => 'Mentions only';
@override
String get channels_notifyNone => 'Muted';
+4 -4
View File
@@ -1458,16 +1458,16 @@ class AppLocalizationsEs extends AppLocalizations {
String get channels_editChannel => 'Editar canal';
@override
String get channels_notificationSettings => 'Notification settings';
String get channels_notificationSettings => 'Configuración de notificaciones';
@override
String get channels_notifyAll => 'All messages';
String get channels_notifyAll => 'Todos los mensajes';
@override
String get channels_notifyMentionsOnly => 'Mentions only (@)';
String get channels_notifyMentionsOnly => 'Solo menciones';
@override
String get channels_notifyNone => 'Muted';
String get channels_notifyNone => 'Silenciado';
@override
String get channels_muteChannel => 'Silenciar canal';
+1 -1
View File
@@ -1469,7 +1469,7 @@ class AppLocalizationsFr extends AppLocalizations {
String get channels_notifyAll => 'Tous les messages';
@override
String get channels_notifyMentionsOnly => 'Mentions uniquement (@)';
String get channels_notifyMentionsOnly => 'Mentions uniquement';
@override
String get channels_notifyNone => 'Désactivé';
+4 -4
View File
@@ -1454,16 +1454,16 @@ class AppLocalizationsHu extends AppLocalizations {
String get channels_editChannel => 'Csatorna szerkesztése';
@override
String get channels_notificationSettings => 'Notification settings';
String get channels_notificationSettings => 'Értesítési beállítások';
@override
String get channels_notifyAll => 'All messages';
String get channels_notifyAll => 'Összes üzenet';
@override
String get channels_notifyMentionsOnly => 'Mentions only (@)';
String get channels_notifyMentionsOnly => 'Csak említések';
@override
String get channels_notifyNone => 'Muted';
String get channels_notifyNone => 'Némít';
@override
String get channels_muteChannel => 'Csatorna némítása';
+4 -4
View File
@@ -1462,16 +1462,16 @@ class AppLocalizationsIt extends AppLocalizations {
String get channels_editChannel => 'Modifica canale';
@override
String get channels_notificationSettings => 'Notification settings';
String get channels_notificationSettings => 'Impostazioni notifiche';
@override
String get channels_notifyAll => 'All messages';
String get channels_notifyAll => 'Tutti i messaggi';
@override
String get channels_notifyMentionsOnly => 'Mentions only (@)';
String get channels_notifyMentionsOnly => 'Solo menzioni';
@override
String get channels_notifyNone => 'Muted';
String get channels_notifyNone => 'Silenziato';
@override
String get channels_muteChannel => 'Silenzia canale';
+4 -4
View File
@@ -1386,16 +1386,16 @@ class AppLocalizationsJa extends AppLocalizations {
String get channels_editChannel => 'チャンネルを編集';
@override
String get channels_notificationSettings => 'Notification settings';
String get channels_notificationSettings => '通知設定';
@override
String get channels_notifyAll => 'All messages';
String get channels_notifyAll => 'すべてのメッセージ';
@override
String get channels_notifyMentionsOnly => 'Mentions only (@)';
String get channels_notifyMentionsOnly => 'メンションのみ';
@override
String get channels_notifyNone => 'Muted';
String get channels_notifyNone => 'ミュート';
@override
String get channels_muteChannel => 'チャンネルをミュート';
+4 -4
View File
@@ -1391,16 +1391,16 @@ class AppLocalizationsKo extends AppLocalizations {
String get channels_editChannel => '채널 편집';
@override
String get channels_notificationSettings => 'Notification settings';
String get channels_notificationSettings => '알림 설정';
@override
String get channels_notifyAll => 'All messages';
String get channels_notifyAll => '모든 메시지';
@override
String get channels_notifyMentionsOnly => 'Mentions only (@)';
String get channels_notifyMentionsOnly => '언급만';
@override
String get channels_notifyNone => 'Muted';
String get channels_notifyNone => '음소거';
@override
String get channels_muteChannel => '음소거 채널';
+4 -4
View File
@@ -1450,16 +1450,16 @@ class AppLocalizationsNl extends AppLocalizations {
String get channels_editChannel => 'Kanaal bewerken';
@override
String get channels_notificationSettings => 'Notification settings';
String get channels_notificationSettings => 'Meldingsinstellingen';
@override
String get channels_notifyAll => 'All messages';
String get channels_notifyAll => 'Alle berichten';
@override
String get channels_notifyMentionsOnly => 'Mentions only (@)';
String get channels_notifyMentionsOnly => 'Alleen vermeldingen';
@override
String get channels_notifyNone => 'Muted';
String get channels_notifyNone => 'Gedempt';
@override
String get channels_muteChannel => 'Kanaal dempen';
+4 -4
View File
@@ -1476,16 +1476,16 @@ class AppLocalizationsPl extends AppLocalizations {
String get channels_editChannel => 'Edytuj kanał';
@override
String get channels_notificationSettings => 'Notification settings';
String get channels_notificationSettings => 'Ustawienia powiadomień';
@override
String get channels_notifyAll => 'All messages';
String get channels_notifyAll => 'Wszystkie wiadomości';
@override
String get channels_notifyMentionsOnly => 'Mentions only (@)';
String get channels_notifyMentionsOnly => 'Tylko wzmianki';
@override
String get channels_notifyNone => 'Muted';
String get channels_notifyNone => 'Wyciszone';
@override
String get channels_muteChannel => 'Wycisz kanał';
+4 -4
View File
@@ -1461,16 +1461,16 @@ class AppLocalizationsPt extends AppLocalizations {
String get channels_editChannel => 'Editar canal';
@override
String get channels_notificationSettings => 'Notification settings';
String get channels_notificationSettings => 'Configurações de notificação';
@override
String get channels_notifyAll => 'All messages';
String get channels_notifyAll => 'Todas as mensagens';
@override
String get channels_notifyMentionsOnly => 'Mentions only (@)';
String get channels_notifyMentionsOnly => 'Apenas menções';
@override
String get channels_notifyNone => 'Muted';
String get channels_notifyNone => 'Silenciado';
@override
String get channels_muteChannel => 'Silenciar canal';
+4 -4
View File
@@ -1465,16 +1465,16 @@ class AppLocalizationsRu extends AppLocalizations {
String get channels_editChannel => 'Изменить канал';
@override
String get channels_notificationSettings => 'Notification settings';
String get channels_notificationSettings => 'Настройки уведомлений';
@override
String get channels_notifyAll => 'All messages';
String get channels_notifyAll => 'Все сообщения';
@override
String get channels_notifyMentionsOnly => 'Mentions only (@)';
String get channels_notifyMentionsOnly => 'Только упоминания';
@override
String get channels_notifyNone => 'Muted';
String get channels_notifyNone => 'Без звука';
@override
String get channels_muteChannel => 'Отключить уведомления канала';
+4 -4
View File
@@ -1453,16 +1453,16 @@ class AppLocalizationsSk extends AppLocalizations {
String get channels_editChannel => 'Upraviť kanál';
@override
String get channels_notificationSettings => 'Notification settings';
String get channels_notificationSettings => 'Nastavenia notifikácií';
@override
String get channels_notifyAll => 'All messages';
String get channels_notifyAll => 'Všetky správy';
@override
String get channels_notifyMentionsOnly => 'Mentions only (@)';
String get channels_notifyMentionsOnly => 'Iba zmienky';
@override
String get channels_notifyNone => 'Muted';
String get channels_notifyNone => 'Stíšené';
@override
String get channels_muteChannel => 'Stlmiť kanál';
+4 -4
View File
@@ -1451,16 +1451,16 @@ class AppLocalizationsSl extends AppLocalizations {
String get channels_editChannel => 'Uredi kanal';
@override
String get channels_notificationSettings => 'Notification settings';
String get channels_notificationSettings => 'Nastavitve obvestil';
@override
String get channels_notifyAll => 'All messages';
String get channels_notifyAll => 'Vsa sporočila';
@override
String get channels_notifyMentionsOnly => 'Mentions only (@)';
String get channels_notifyMentionsOnly => 'Samo omembe';
@override
String get channels_notifyNone => 'Muted';
String get channels_notifyNone => 'Utišano';
@override
String get channels_muteChannel => 'Utišaj kanal';
+4 -4
View File
@@ -1440,16 +1440,16 @@ class AppLocalizationsSv extends AppLocalizations {
String get channels_editChannel => 'Redigera kanal';
@override
String get channels_notificationSettings => 'Notification settings';
String get channels_notificationSettings => 'Aviseringsinställningar';
@override
String get channels_notifyAll => 'All messages';
String get channels_notifyAll => 'Alla meddelanden';
@override
String get channels_notifyMentionsOnly => 'Mentions only (@)';
String get channels_notifyMentionsOnly => 'Endast omnämnanden';
@override
String get channels_notifyNone => 'Muted';
String get channels_notifyNone => 'Tyst';
@override
String get channels_muteChannel => 'Tysta kanal';
+4 -4
View File
@@ -1456,16 +1456,16 @@ class AppLocalizationsUk extends AppLocalizations {
String get channels_editChannel => 'Редагувати канал';
@override
String get channels_notificationSettings => 'Notification settings';
String get channels_notificationSettings => 'Налаштування сповіщень';
@override
String get channels_notifyAll => 'All messages';
String get channels_notifyAll => 'Усі повідомлення';
@override
String get channels_notifyMentionsOnly => 'Mentions only (@)';
String get channels_notifyMentionsOnly => 'Лише згадки';
@override
String get channels_notifyNone => 'Muted';
String get channels_notifyNone => 'Вимкнено';
@override
String get channels_muteChannel => 'Вимкнути сповіщення каналу';
+4 -4
View File
@@ -1368,16 +1368,16 @@ class AppLocalizationsZh extends AppLocalizations {
String get channels_editChannel => '编辑频道';
@override
String get channels_notificationSettings => 'Notification settings';
String get channels_notificationSettings => '通知设置';
@override
String get channels_notifyAll => 'All messages';
String get channels_notifyAll => '所有消息';
@override
String get channels_notifyMentionsOnly => 'Mentions only (@)';
String get channels_notifyMentionsOnly => '仅提及';
@override
String get channels_notifyNone => 'Muted';
String get channels_notifyNone => '静音';
@override
String get channels_muteChannel => '静音频道';
+4
View File
@@ -375,6 +375,10 @@
"channels_addSectionCreate": "Nieuw aanmaken",
"channels_dragToReorder": "Sleep om te herschikken",
"channels_editChannel": "Kanaal bewerken",
"channels_notificationSettings": "Meldingsinstellingen",
"channels_notifyAll": "Alle berichten",
"channels_notifyMentionsOnly": "Alleen vermeldingen",
"channels_notifyNone": "Gedempt",
"channels_muteChannel": "Kanaal dempen",
"channels_unmuteChannel": "Kanaal dempen opheffen",
"channels_deleteChannel": "Kanaal verwijderen",
+4
View File
@@ -369,6 +369,10 @@
"channels_public": "Publiczny",
"channels_private": "Prywatny",
"channels_editChannel": "Edytuj kanał",
"channels_notificationSettings": "Ustawienia powiadomień",
"channels_notifyAll": "Wszystkie wiadomości",
"channels_notifyMentionsOnly": "Tylko wzmianki",
"channels_notifyNone": "Wyciszone",
"channels_muteChannel": "Wycisz kanał",
"channels_unmuteChannel": "Wyłącz wyciszenie kanału",
"channels_deleteChannel": "Usuń kanał",
+4
View File
@@ -359,6 +359,10 @@
"channels_public": "Público",
"channels_private": "Privado",
"channels_editChannel": "Editar canal",
"channels_notificationSettings": "Configurações de notificação",
"channels_notifyAll": "Todas as mensagens",
"channels_notifyMentionsOnly": "Apenas menções",
"channels_notifyNone": "Silenciado",
"channels_muteChannel": "Silenciar canal",
"channels_unmuteChannel": "Ativar canal",
"channels_deleteChannel": "Excluir canal",
+4
View File
@@ -251,6 +251,10 @@
"channels_public": "Публичный",
"channels_private": "Приватный",
"channels_editChannel": "Изменить канал",
"channels_notificationSettings": "Настройки уведомлений",
"channels_notifyAll": "Все сообщения",
"channels_notifyMentionsOnly": "Только упоминания",
"channels_notifyNone": "Без звука",
"channels_muteChannel": "Отключить уведомления канала",
"channels_unmuteChannel": "Включить уведомления канала",
"channels_deleteChannel": "Удалить канал",
+4
View File
@@ -359,6 +359,10 @@
"channels_public": "Veľké verejné",
"channels_private": "Osobné",
"channels_editChannel": "Upraviť kanál",
"channels_notificationSettings": "Nastavenia notifikácií",
"channels_notifyAll": "Všetky správy",
"channels_notifyMentionsOnly": "Iba zmienky",
"channels_notifyNone": "Stíšené",
"channels_muteChannel": "Stlmiť kanál",
"channels_unmuteChannel": "Zrušiť stlmenie kanála",
"channels_deleteChannel": "Odstrániť kanál",
+4
View File
@@ -359,6 +359,10 @@
"channels_public": "Javni",
"channels_private": "Zasebni",
"channels_editChannel": "Uredi kanal",
"channels_notificationSettings": "Nastavitve obvestil",
"channels_notifyAll": "Vsa sporočila",
"channels_notifyMentionsOnly": "Samo omembe",
"channels_notifyNone": "Utišano",
"channels_muteChannel": "Utišaj kanal",
"channels_unmuteChannel": "Vklopi obvestila kanala",
"channels_deleteChannel": "Pošlji kanal",
+4
View File
@@ -359,6 +359,10 @@
"channels_public": "Publik",
"channels_private": "Privat",
"channels_editChannel": "Redigera kanal",
"channels_notificationSettings": "Aviseringsinställningar",
"channels_notifyAll": "Alla meddelanden",
"channels_notifyMentionsOnly": "Endast omnämnanden",
"channels_notifyNone": "Tyst",
"channels_muteChannel": "Tysta kanal",
"channels_unmuteChannel": "Slå på ljud för kanal",
"channels_deleteChannel": "Ta bort kanal",
+4
View File
@@ -362,6 +362,10 @@
"channels_via": "через {path}",
"channels_private": "Приватний",
"channels_editChannel": "Редагувати канал",
"channels_notificationSettings": "Налаштування сповіщень",
"channels_notifyAll": "Усі повідомлення",
"channels_notifyMentionsOnly": "Лише згадки",
"channels_notifyNone": "Вимкнено",
"channels_muteChannel": "Вимкнути сповіщення каналу",
"channels_unmuteChannel": "Увімкнути сповіщення каналу",
"channels_deleteChannel": "Видалити канал",
+4
View File
@@ -374,6 +374,10 @@
"channels_public": "公共",
"channels_private": "私有",
"channels_editChannel": "编辑频道",
"channels_notificationSettings": "通知设置",
"channels_notifyAll": "所有消息",
"channels_notifyMentionsOnly": "仅提及",
"channels_notifyNone": "静音",
"channels_muteChannel": "静音频道",
"channels_unmuteChannel": "取消静音频道",
"channels_deleteChannel": "删除频道",
+2 -2
View File
@@ -413,7 +413,7 @@ class _ChannelChatScreenState extends State<ChannelChatScreen> {
notificationMode == ChannelNotificationMode.muted
? Icons.notifications_off_outlined
: notificationMode == ChannelNotificationMode.mentionsOnly
? Icons.alternate_email
? Icons.notification_important
: Icons.notifications_outlined,
),
onSelected: (mode) {
@@ -439,7 +439,7 @@ class _ChannelChatScreenState extends State<ChannelChatScreen> {
value: ChannelNotificationMode.mentionsOnly,
child: Row(
children: [
const Icon(Icons.alternate_email),
const Icon(Icons.notification_important),
const SizedBox(width: 8),
Text(context.l10n.channels_notifyMentionsOnly),
],
+2 -2
View File
@@ -585,7 +585,7 @@ class _ChannelsScreenState extends State<ChannelsScreen>
Icon(
notificationMode == ChannelNotificationMode.muted
? Icons.notifications_off
: Icons.alternate_email,
: Icons.notification_important,
size: 18,
color: scheme.onSurfaceVariant,
),
@@ -719,7 +719,7 @@ class _ChannelsScreenState extends State<ChannelsScreen>
),
// Mentions only
ListTile(
leading: const Icon(Icons.alternate_email),
leading: const Icon(Icons.notification_important),
title: Text(sheetContext.l10n.channels_notifyMentionsOnly),
trailing: currentMode == ChannelNotificationMode.mentionsOnly
? const Icon(Icons.check)
+1 -113
View File
@@ -1,113 +1 @@
{
"bg": [
"channels_notificationSettings",
"channels_notifyAll",
"channels_notifyMentionsOnly",
"channels_notifyNone"
],
"de": [
"channels_notificationSettings",
"channels_notifyAll",
"channels_notifyMentionsOnly",
"channels_notifyNone"
],
"es": [
"channels_notificationSettings",
"channels_notifyAll",
"channels_notifyMentionsOnly",
"channels_notifyNone"
],
"hu": [
"channels_notificationSettings",
"channels_notifyAll",
"channels_notifyMentionsOnly",
"channels_notifyNone"
],
"it": [
"channels_notificationSettings",
"channels_notifyAll",
"channels_notifyMentionsOnly",
"channels_notifyNone"
],
"ja": [
"channels_notificationSettings",
"channels_notifyAll",
"channels_notifyMentionsOnly",
"channels_notifyNone"
],
"ko": [
"channels_notificationSettings",
"channels_notifyAll",
"channels_notifyMentionsOnly",
"channels_notifyNone"
],
"nl": [
"channels_notificationSettings",
"channels_notifyAll",
"channels_notifyMentionsOnly",
"channels_notifyNone"
],
"pl": [
"channels_notificationSettings",
"channels_notifyAll",
"channels_notifyMentionsOnly",
"channels_notifyNone"
],
"pt": [
"channels_notificationSettings",
"channels_notifyAll",
"channels_notifyMentionsOnly",
"channels_notifyNone"
],
"ru": [
"channels_notificationSettings",
"channels_notifyAll",
"channels_notifyMentionsOnly",
"channels_notifyNone"
],
"sk": [
"channels_notificationSettings",
"channels_notifyAll",
"channels_notifyMentionsOnly",
"channels_notifyNone"
],
"sl": [
"channels_notificationSettings",
"channels_notifyAll",
"channels_notifyMentionsOnly",
"channels_notifyNone"
],
"sv": [
"channels_notificationSettings",
"channels_notifyAll",
"channels_notifyMentionsOnly",
"channels_notifyNone"
],
"uk": [
"channels_notificationSettings",
"channels_notifyAll",
"channels_notifyMentionsOnly",
"channels_notifyNone"
],
"zh": [
"channels_notificationSettings",
"channels_notifyAll",
"channels_notifyMentionsOnly",
"channels_notifyNone"
]
}
{}