From bfc0c16b7f61a69a8a3203f94a029dce96799dd9 Mon Sep 17 00:00:00 2001 From: Hitesh Kumar Saini Date: Wed, 5 Oct 2022 13:34:28 -0500 Subject: [PATCH] intl: tweak serverAdded message --- lib/l10n/app_en.arb | 7 +------ lib/widgets/add_server_wizard.dart | 3 +-- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/lib/l10n/app_en.arb b/lib/l10n/app_en.arb index 4ca79cc1..a0d03eab 100644 --- a/lib/l10n/app_en.arb +++ b/lib/l10n/app_en.arb @@ -32,12 +32,7 @@ "field": {} } }, - "serverAdded": "{serverName} has been added.", - "@serverAdded": { - "placeholders": { - "serverName": {} - } - }, + "serverAdded": "Server has been added", "serverNotAddedError": "{serverName} could not be added. Please check the entered details.", "@serverNotAddedError": { "placeholders": { diff --git a/lib/widgets/add_server_wizard.dart b/lib/widgets/add_server_wizard.dart index d9201559..1ffa6271 100644 --- a/lib/widgets/add_server_wizard.dart +++ b/lib/widgets/add_server_wizard.dart @@ -885,8 +885,7 @@ class _LetsGoScreenState extends State { ), const SizedBox(width: 16.0), Expanded( - child: Text(AppLocalizations.of(context) - .serverAdded(widget.getServer()!.name)), + child: Text(AppLocalizations.of(context).serverAdded), ), ], ),