Skip to content

Commit b894473

Browse files
notif: Fix error message when account not found in store
1 parent 90c2457 commit b894473

14 files changed

+25
-33
lines changed

assets/l10n/app_en.arb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -855,9 +855,9 @@
855855
"@errorNotificationOpenTitle": {
856856
"description": "Error title when notification opening fails"
857857
},
858-
"errorNotificationOpenAccountMissing": "The account associated with this notification no longer exists.",
859-
"@errorNotificationOpenAccountMissing": {
860-
"description": "Error message when the account associated with the notification is not found"
858+
"errorNotificationOpenAccountNotFound": "The account associated with this notification could not be found.",
859+
"@errorNotificationOpenAccountNotFound": {
860+
"description": "Error message when the account associated with the notification could not be found"
861861
},
862862
"errorReactionAddingFailedTitle": "Adding reaction failed",
863863
"@errorReactionAddingFailedTitle": {

assets/l10n/app_pl.arb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -557,10 +557,6 @@
557557
"@errorNotificationOpenTitle": {
558558
"description": "Error title when notification opening fails"
559559
},
560-
"errorNotificationOpenAccountMissing": "Konto związane z tym powiadomieniem już nie istnieje.",
561-
"@errorNotificationOpenAccountMissing": {
562-
"description": "Error message when the account associated with the notification is not found"
563-
},
564560
"aboutPageOpenSourceLicenses": "Licencje otwartego źródła",
565561
"@aboutPageOpenSourceLicenses": {
566562
"description": "Item title in About Zulip page to navigate to Licenses page"

assets/l10n/app_ru.arb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -287,10 +287,6 @@
287287
"@errorNotificationOpenTitle": {
288288
"description": "Error title when notification opening fails"
289289
},
290-
"errorNotificationOpenAccountMissing": "Учетной записи, связанной с этим оповещением, больше нет.",
291-
"@errorNotificationOpenAccountMissing": {
292-
"description": "Error message when the account associated with the notification is not found"
293-
},
294290
"switchAccountButton": "Сменить учетную запись",
295291
"@switchAccountButton": {
296292
"description": "Label for main-menu button leading to the choose-account page."

lib/generated/l10n/zulip_localizations.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1256,11 +1256,11 @@ abstract class ZulipLocalizations {
12561256
/// **'Failed to open notification'**
12571257
String get errorNotificationOpenTitle;
12581258

1259-
/// Error message when the account associated with the notification is not found
1259+
/// Error message when the account associated with the notification could not be found
12601260
///
12611261
/// In en, this message translates to:
1262-
/// **'The account associated with this notification no longer exists.'**
1263-
String get errorNotificationOpenAccountMissing;
1262+
/// **'The account associated with this notification could not be found.'**
1263+
String get errorNotificationOpenAccountNotFound;
12641264

12651265
/// Error title when adding a message reaction fails
12661266
///

lib/generated/l10n/zulip_localizations_ar.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -696,8 +696,8 @@ class ZulipLocalizationsAr extends ZulipLocalizations {
696696
String get errorNotificationOpenTitle => 'Failed to open notification';
697697

698698
@override
699-
String get errorNotificationOpenAccountMissing =>
700-
'The account associated with this notification no longer exists.';
699+
String get errorNotificationOpenAccountNotFound =>
700+
'The account associated with this notification could not be found.';
701701

702702
@override
703703
String get errorReactionAddingFailedTitle => 'Adding reaction failed';

lib/generated/l10n/zulip_localizations_en.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -696,8 +696,8 @@ class ZulipLocalizationsEn extends ZulipLocalizations {
696696
String get errorNotificationOpenTitle => 'Failed to open notification';
697697

698698
@override
699-
String get errorNotificationOpenAccountMissing =>
700-
'The account associated with this notification no longer exists.';
699+
String get errorNotificationOpenAccountNotFound =>
700+
'The account associated with this notification could not be found.';
701701

702702
@override
703703
String get errorReactionAddingFailedTitle => 'Adding reaction failed';

lib/generated/l10n/zulip_localizations_ja.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -696,8 +696,8 @@ class ZulipLocalizationsJa extends ZulipLocalizations {
696696
String get errorNotificationOpenTitle => 'Failed to open notification';
697697

698698
@override
699-
String get errorNotificationOpenAccountMissing =>
700-
'The account associated with this notification no longer exists.';
699+
String get errorNotificationOpenAccountNotFound =>
700+
'The account associated with this notification could not be found.';
701701

702702
@override
703703
String get errorReactionAddingFailedTitle => 'Adding reaction failed';

lib/generated/l10n/zulip_localizations_nb.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -696,8 +696,8 @@ class ZulipLocalizationsNb extends ZulipLocalizations {
696696
String get errorNotificationOpenTitle => 'Failed to open notification';
697697

698698
@override
699-
String get errorNotificationOpenAccountMissing =>
700-
'The account associated with this notification no longer exists.';
699+
String get errorNotificationOpenAccountNotFound =>
700+
'The account associated with this notification could not be found.';
701701

702702
@override
703703
String get errorReactionAddingFailedTitle => 'Adding reaction failed';

lib/generated/l10n/zulip_localizations_pl.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -706,8 +706,8 @@ class ZulipLocalizationsPl extends ZulipLocalizations {
706706
'Otwieranie powiadomienia bez powodzenia';
707707

708708
@override
709-
String get errorNotificationOpenAccountMissing =>
710-
'Konto związane z tym powiadomieniem już nie istnieje.';
709+
String get errorNotificationOpenAccountNotFound =>
710+
'The account associated with this notification could not be found.';
711711

712712
@override
713713
String get errorReactionAddingFailedTitle => 'Dodanie reakcji bez powodzenia';

lib/generated/l10n/zulip_localizations_ru.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -710,8 +710,8 @@ class ZulipLocalizationsRu extends ZulipLocalizations {
710710
String get errorNotificationOpenTitle => 'Не удалось открыть оповещения';
711711

712712
@override
713-
String get errorNotificationOpenAccountMissing =>
714-
'Учетной записи, связанной с этим оповещением, больше нет.';
713+
String get errorNotificationOpenAccountNotFound =>
714+
'The account associated with this notification could not be found.';
715715

716716
@override
717717
String get errorReactionAddingFailedTitle => 'Не удалось добавить реакцию';

0 commit comments

Comments
 (0)