Skip to content

Commit 02fe4e0

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

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
@@ -214,8 +214,8 @@
214214
"url": {"type": "String", "example": "http://example.com/"}
215215
}
216216
},
217-
"errorLoginCouldNotConnectTitle": "Could not connect",
218-
"@errorLoginCouldNotConnectTitle": {
217+
"errorCouldNotConnectTitle": "Could not connect",
218+
"@errorCouldNotConnectTitle": {
219219
"description": "Error title when the app could not connect to the server."
220220
},
221221
"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
@@ -397,7 +397,7 @@ abstract class ZulipLocalizations {
397397
///
398398
/// In en, this message translates to:
399399
/// **'Could not connect'**
400-
String get errorLoginCouldNotConnectTitle;
400+
String get errorCouldNotConnectTitle;
401401

402402
/// Error message when loading a message that does not exist.
403403
///

lib/generated/l10n/zulip_localizations_ar.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ class ZulipLocalizationsAr extends ZulipLocalizations {
179179
}
180180

181181
@override
182-
String get errorLoginCouldNotConnectTitle => 'Could not connect';
182+
String get errorCouldNotConnectTitle => 'Could not connect';
183183

184184
@override
185185
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
@@ -179,7 +179,7 @@ class ZulipLocalizationsEn extends ZulipLocalizations {
179179
}
180180

181181
@override
182-
String get errorLoginCouldNotConnectTitle => 'Could not connect';
182+
String get errorCouldNotConnectTitle => 'Could not connect';
183183

184184
@override
185185
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
@@ -179,7 +179,7 @@ class ZulipLocalizationsJa extends ZulipLocalizations {
179179
}
180180

181181
@override
182-
String get errorLoginCouldNotConnectTitle => 'Could not connect';
182+
String get errorCouldNotConnectTitle => 'Could not connect';
183183

184184
@override
185185
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
@@ -179,7 +179,7 @@ class ZulipLocalizationsNb extends ZulipLocalizations {
179179
}
180180

181181
@override
182-
String get errorLoginCouldNotConnectTitle => 'Could not connect';
182+
String get errorCouldNotConnectTitle => 'Could not connect';
183183

184184
@override
185185
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
@@ -179,7 +179,7 @@ class ZulipLocalizationsPl extends ZulipLocalizations {
179179
}
180180

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

184184
@override
185185
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
@@ -179,7 +179,7 @@ class ZulipLocalizationsRu extends ZulipLocalizations {
179179
}
180180

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

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

lib/generated/l10n/zulip_localizations_sk.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ class ZulipLocalizationsSk extends ZulipLocalizations {
179179
}
180180

181181
@override
182-
String get errorLoginCouldNotConnectTitle => 'Nepodarilo sa pripojiť';
182+
String get errorCouldNotConnectTitle => 'Could not connect';
183183

184184
@override
185185
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
@@ -190,7 +190,7 @@ class _AddAccountPageState extends State<AddAccountPage> {
190190
// TODO(#105) give more helpful feedback; see `fetchServerSettings`
191191
// in zulip-mobile's src/message/fetchActions.js.
192192
showErrorDialog(context: context,
193-
title: zulipLocalizations.errorLoginCouldNotConnectTitle,
193+
title: zulipLocalizations.errorCouldNotConnectTitle,
194194
message: zulipLocalizations.errorLoginCouldNotConnect(url.toString()));
195195
return;
196196
}

0 commit comments

Comments
 (0)