From c9acbf458ff90d37be76fa32aeb1a2591d87144f Mon Sep 17 00:00:00 2001 From: davidpkj Date: Sun, 5 Mar 2023 15:31:03 +0100 Subject: Added translations --- lib/views/info_view.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/views/info_view.dart') diff --git a/lib/views/info_view.dart b/lib/views/info_view.dart index fbe522a..2f164b8 100644 --- a/lib/views/info_view.dart +++ b/lib/views/info_view.dart @@ -93,8 +93,7 @@ class InfoViewState extends State { } cantOpenLink(var why, BuildContext context) { - // TODO: translation - ToastBar.showToastBar(context, "Could not open link", actionLabel: ""); + ToastBar.showToastBar(context, AppLocalizations.of(context)!.linkError, actionLabel: ""); debugPrint("Could not open $why"); } -- cgit v1.2.3