Skip to content

Commit

Permalink
intl: tweak serverAdded message
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmercerind committed Oct 5, 2022
1 parent 09b2992 commit bfc0c16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
7 changes: 1 addition & 6 deletions lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
3 changes: 1 addition & 2 deletions lib/widgets/add_server_wizard.dart
Original file line number Diff line number Diff line change
Expand Up @@ -885,8 +885,7 @@ class _LetsGoScreenState extends State<LetsGoScreen> {
),
const SizedBox(width: 16.0),
Expanded(
child: Text(AppLocalizations.of(context)
.serverAdded(widget.getServer()!.name)),
child: Text(AppLocalizations.of(context).serverAdded),
),
],
),
Expand Down

0 comments on commit bfc0c16

Please sign in to comment.