Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Extract string

ashilkn8e1d931c1f5b
diff --git a/mobile/lib/generated/intl/messages_en.dart b/mobile/lib/generated/intl/messages_en.dart
index 61b8cd4d19..d9982f9c27 100644
--- a/mobile/lib/generated/intl/messages_en.dart
+++ b/mobile/lib/generated/intl/messages_en.dart
@@ -1400,6 +1400,8 @@ class MessageLookup extends MessageLookupByLibrary {
"pleaseWaitForSometimeBeforeRetrying":
MessageLookupByLibrary.simpleMessage(
"Please wait for sometime before retrying"),
+ "pleaseWaitThisWillTakeAWhile": MessageLookupByLibrary.simpleMessage(
+ "Please wait, this will take a while."),
"preparingLogs":
MessageLookupByLibrary.simpleMessage("Preparing logs..."),
"preserveMore": MessageLookupByLibrary.simpleMessage("Preserve more"),
diff --git a/mobile/lib/generated/l10n.dart b/mobile/lib/generated/l10n.dart
index c3f99471c6..947d3c6060 100644
--- a/mobile/lib/generated/l10n.dart
+++ b/mobile/lib/generated/l10n.dart
@@ -11230,6 +11230,16 @@ class S {
args: [],
);
}
+
+ /// `Please wait, this will take a while.`
+ String get pleaseWaitThisWillTakeAWhile {
+ return Intl.message(
+ 'Please wait, this will take a while.',
+ name: 'pleaseWaitThisWillTakeAWhile',
+ desc: '',
+ args: [],
+ );
+ }
}
class AppLocalizationDelegate extends LocalizationsDelegate<S> {
diff --git a/mobile/lib/l10n/intl_en.arb b/mobile/lib/l10n/intl_en.arb
index d4ad2fb32e..58e80714fe 100644
--- a/mobile/lib/l10n/intl_en.arb
+++ b/mobile/lib/l10n/intl_en.arb
@@ -1674,5 +1674,6 @@
"failed": "Failed",
"playStream": "Play stream",
"playOriginal": "Play original",
- "joinAlbumConfirmationDialogBody" : "Joining an album will make your email visible to its participants."
+ "joinAlbumConfirmationDialogBody" : "Joining an album will make your email visible to its participants.",
+ "pleaseWaitThisWillTakeAWhile": "Please wait, this will take a while."
}
\ No newline at end of file
diff --git a/mobile/lib/utils/delete_file_util.dart b/mobile/lib/utils/delete_file_util.dart
index 0bee866ed3..1285675003 100644
--- a/mobile/lib/utils/delete_file_util.dart
+++ b/mobile/lib/utils/delete_file_util.dart
@@ -13,6 +13,7 @@ import 'package:photos/events/files_updated_event.dart';
import "package:photos/events/force_reload_trash_page_event.dart";
import 'package:photos/events/local_photos_updated_event.dart';
import "package:photos/generated/l10n.dart";
+import "package:photos/l10n/l10n.dart";
import 'package:photos/models/api/collection/trash_item_request.dart';
import "package:photos/models/backup_status.dart";
import 'package:photos/models/file/file.dart';
@@ -477,7 +478,7 @@ Future<bool> retryFreeUpSpaceAfterRemovingAssetsNonExistingInDisk(
);
final dialog =
- createProgressDialog(context, "Please wait, this will take a while...");
+ createProgressDialog(context, context.l10n.pleaseWaitThisWillTakeAWhile);
await dialog.show();
try {
final stopwatch = Stopwatch()..start();