[mob][photos] Extract string
This commit is contained in:
parent
5c645d50f0
commit
9e7c82d5b9
4 changed files with 15 additions and 2 deletions
2
mobile/lib/generated/intl/messages_en.dart
generated
2
mobile/lib/generated/intl/messages_en.dart
generated
|
@ -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"),
|
||||
|
|
10
mobile/lib/generated/l10n.dart
generated
10
mobile/lib/generated/l10n.dart
generated
|
@ -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<S> {
|
||||
|
|
|
@ -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"
|
||||
}
|
|
@ -944,7 +944,7 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {
|
|||
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);
|
||||
|
|
Loading…
Add table
Reference in a new issue