Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob][photos] Extract string

Neeraj Gupta9e7c82d5b9c5
diff --git a/mobile/lib/generated/intl/messages_en.dart b/mobile/lib/generated/intl/messages_en.dart
index 6c91e4c7c1..efa91ffb74 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 0acdf14df1..fcf9265115 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<S> {
diff --git a/mobile/lib/l10n/intl_en.arb b/mobile/lib/l10n/intl_en.arb
index dbfa1448c9..7139a7098a 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 c363ebd2e0..fc925b4c7d 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<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);