diff --git a/mobile/lib/generated/intl/messages_en.dart b/mobile/lib/generated/intl/messages_en.dart index 6c91e4c7c16fb093361941af06a8dd05fe3ee702..efa91ffb740a1e5bcd7e50a43faf3cf67c4c57c3 100644 --- a/mobile/lib/generated/intl/messages_en.dart +++ b/mobile/lib/generated/intl/messages_en.dart @@ -1000,6 +1000,8 @@ class MessageLookup extends MessageLookupByLibrary { MessageLookupByLibrary.simpleMessage("Or pick an existing one"), "pair": MessageLookupByLibrary.simpleMessage("Pair"), "pairWithPin": MessageLookupByLibrary.simpleMessage("Pair with PIN"), + "pairingComplete": + MessageLookupByLibrary.simpleMessage("Pairing complete"), "passkey": MessageLookupByLibrary.simpleMessage("Passkey"), "passkeyAuthTitle": MessageLookupByLibrary.simpleMessage("Passkey verification"), diff --git a/mobile/lib/generated/l10n.dart b/mobile/lib/generated/l10n.dart index 0acdf14df165ea65a29901a2c92a7a2528066468..fcf9265115a3df657d0d0b4f002736106dc9ae65 100644 --- a/mobile/lib/generated/l10n.dart +++ b/mobile/lib/generated/l10n.dart @@ -8683,6 +8683,16 @@ class S { args: [], ); } + + /// `Pairing complete` + String get pairingComplete { + return Intl.message( + 'Pairing complete', + name: 'pairingComplete', + desc: '', + args: [], + ); + } } class AppLocalizationDelegate extends LocalizationsDelegate { diff --git a/mobile/lib/l10n/intl_en.arb b/mobile/lib/l10n/intl_en.arb index dbfa1448c966512203ee78f03fe7fd4a7eac9ef3..7139a7098acf95b27067235ab036b54ce53c57f0 100644 --- a/mobile/lib/l10n/intl_en.arb +++ b/mobile/lib/l10n/intl_en.arb @@ -1224,5 +1224,6 @@ "stopCastingTitle": "Stop casting", "stopCastingBody": "Do you want to stop casting?", "castIPMismatchTitle": "Failed to cast album", - "castIPMismatchBody": "Please make sure you are on the same network as the TV." + "castIPMismatchBody": "Please make sure you are on the same network as the TV.", + "pairingComplete": "Pairing complete" } \ No newline at end of file diff --git a/mobile/lib/ui/viewer/gallery/gallery_app_bar_widget.dart b/mobile/lib/ui/viewer/gallery/gallery_app_bar_widget.dart index c363ebd2e02304c4b61f924d77766d804d01bcea..fc925b4c7d8053f999abb94cdf92a5ca0629745c 100644 --- a/mobile/lib/ui/viewer/gallery/gallery_app_bar_widget.dart +++ b/mobile/lib/ui/viewer/gallery/gallery_app_bar_widget.dart @@ -944,7 +944,7 @@ class _GalleryAppBarWidgetState extends State { widget.collection!.id, castToken, ); - showToast(context, "Pairing complete"); + showToast(context, S.of(context).pairingComplete); return true; } catch (e, s) { _logger.severe("Failed to cast album", e, s);