Skip to content

Commit 93eacff

Browse files
committed
l10n [nfc]: Use a generalized name for errorCouldNotConnectTitle
Signed-off-by: Zixuan James Li <[email protected]>
1 parent af0cc46 commit 93eacff

10 files changed

+11
-11
lines changed

assets/l10n/app_en.arb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,8 @@
206206
"url": {"type": "String", "example": "http://example.com/"}
207207
}
208208
},
209-
"errorLoginCouldNotConnectTitle": "Could not connect",
210-
"@errorLoginCouldNotConnectTitle": {
209+
"errorCouldNotConnectTitle": "Could not connect",
210+
"@errorCouldNotConnectTitle": {
211211
"description": "Error title when the app could not connect to the server."
212212
},
213213
"errorMessageDoesNotSeemToExist": "That message does not seem to exist.",

lib/generated/l10n/zulip_localizations.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ abstract class ZulipLocalizations {
391391
///
392392
/// In en, this message translates to:
393393
/// **'Could not connect'**
394-
String get errorLoginCouldNotConnectTitle;
394+
String get errorCouldNotConnectTitle;
395395

396396
/// Error message when loading a message that does not exist.
397397
///

lib/generated/l10n/zulip_localizations_ar.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ class ZulipLocalizationsAr extends ZulipLocalizations {
174174
}
175175

176176
@override
177-
String get errorLoginCouldNotConnectTitle => 'Could not connect';
177+
String get errorCouldNotConnectTitle => 'Could not connect';
178178

179179
@override
180180
String get errorMessageDoesNotSeemToExist => 'That message does not seem to exist.';

lib/generated/l10n/zulip_localizations_en.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ class ZulipLocalizationsEn extends ZulipLocalizations {
174174
}
175175

176176
@override
177-
String get errorLoginCouldNotConnectTitle => 'Could not connect';
177+
String get errorCouldNotConnectTitle => 'Could not connect';
178178

179179
@override
180180
String get errorMessageDoesNotSeemToExist => 'That message does not seem to exist.';

lib/generated/l10n/zulip_localizations_ja.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ class ZulipLocalizationsJa extends ZulipLocalizations {
174174
}
175175

176176
@override
177-
String get errorLoginCouldNotConnectTitle => 'Could not connect';
177+
String get errorCouldNotConnectTitle => 'Could not connect';
178178

179179
@override
180180
String get errorMessageDoesNotSeemToExist => 'That message does not seem to exist.';

lib/generated/l10n/zulip_localizations_nb.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ class ZulipLocalizationsNb extends ZulipLocalizations {
174174
}
175175

176176
@override
177-
String get errorLoginCouldNotConnectTitle => 'Could not connect';
177+
String get errorCouldNotConnectTitle => 'Could not connect';
178178

179179
@override
180180
String get errorMessageDoesNotSeemToExist => 'That message does not seem to exist.';

lib/generated/l10n/zulip_localizations_pl.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ class ZulipLocalizationsPl extends ZulipLocalizations {
174174
}
175175

176176
@override
177-
String get errorLoginCouldNotConnectTitle => 'Nie można połączyć';
177+
String get errorCouldNotConnectTitle => 'Could not connect';
178178

179179
@override
180180
String get errorMessageDoesNotSeemToExist => 'Taka wiadomość raczej nie istnieje.';

lib/generated/l10n/zulip_localizations_ru.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ class ZulipLocalizationsRu extends ZulipLocalizations {
174174
}
175175

176176
@override
177-
String get errorLoginCouldNotConnectTitle => 'Не удалось подключиться';
177+
String get errorCouldNotConnectTitle => 'Could not connect';
178178

179179
@override
180180
String get errorMessageDoesNotSeemToExist => 'Это сообщение, похоже, отсутствует.';

lib/generated/l10n/zulip_localizations_sk.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ class ZulipLocalizationsSk extends ZulipLocalizations {
174174
}
175175

176176
@override
177-
String get errorLoginCouldNotConnectTitle => 'Nepodarilo sa pripojiť';
177+
String get errorCouldNotConnectTitle => 'Could not connect';
178178

179179
@override
180180
String get errorMessageDoesNotSeemToExist => 'Správa zrejme neexistuje.';

lib/widgets/login.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ class _AddAccountPageState extends State<AddAccountPage> {
176176
// TODO(#105) give more helpful feedback; see `fetchServerSettings`
177177
// in zulip-mobile's src/message/fetchActions.js.
178178
showErrorDialog(context: context,
179-
title: zulipLocalizations.errorLoginCouldNotConnectTitle,
179+
title: zulipLocalizations.errorCouldNotConnectTitle,
180180
message: zulipLocalizations.errorLoginCouldNotConnect(url.toString()));
181181
return;
182182
}

0 commit comments

Comments
 (0)