Skip to content

armgit / ente

Public Imported from GitHub
0

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

[locker] Show favorite functionality (#7892)

Aman Rajd876ca8468c4
diff --cc mobile/apps/locker/lib/l10n/app_en.arb
index 8612a2b492,6e8717670a..77df05fd29
--- a/mobile/apps/locker/lib/l10n/app_en.arb
+++ b/mobile/apps/locker/lib/l10n/app_en.arb
@@@ -851,18 -851,44 +851,55 @@@
}
}
},
+ "important": "Important",
+ "unimportant": "Unimportant",
+ "removingFromImportant": "Removing from important...",
+ "markingAsImportant": "Marking as important...",
+ "fileMarkedAsImportant": "Item marked as important",
+ "fileRemovedFromImportant": "Item removed from important",
+ "filesMarkedAsImportant": "{count, plural, =1{1 item marked as important} other{{count} items marked as important}}",
+ "@filesMarkedAsImportant": {
+ "description": "Success message when items are marked as important",
+ "placeholders": {
+ "count": {
+ "type": "int",
+ "example": "3"
+ }
+ }
+ },
+ "allFilesAlreadyMarkedAsImportant": "All items are already marked as important",
+ "failedToMarkFilesAsImportant": "Failed to mark items as important: {error}",
+ "@failedToMarkFilesAsImportant": {
+ "description": "Error message when marking items as important fails",
+ "placeholders": {
+ "error": {
+ "type": "String",
+ "example": "Network error"
+ }
+ }
+ },
+ "failedToUpdateImportantStatus": "Failed to update important status: {error}",
+ "@failedToUpdateImportantStatus": {
+ "description": "Error message when updating important status fails",
+ "placeholders": {
+ "error": {
+ "type": "String",
+ "example": "Network error"
+ }
+ }
+ },
"sorry": "Sorry",
"subscribe": "Subscribe",
- "subscriptionRequiredForSharing": "You need a paid subscription to share links"
+ "sharedWith": "Shared with",
+ "shareLater": "Share later",
+ "enterNameOrEmailToShareWith": "Enter name or email to share with",
+ "chooseFromAnExistingContact": "Choose from an existing contact",
+ "scheduleShare": "Schedule share",
+ "addEmail": "Add email",
+ "addNewEmail": "Add new email",
+ "noSharedUsers": "Not shared with anyone yet. Share this collection by adding someone's email below.",
+ "removeAccess": "Remove access",
+ "subscriptionRequiredForSharing": "You need a paid subscription to share links",
+ "sessionExpired": "Session expired",
+ "pleaseLoginAgain": "Please login again"
}
diff --cc mobile/apps/locker/lib/ui/viewer/actions/file_selection_overlay_bar.dart
index 0b62cdd74d,fceee38dcd..d4e85f853d
--- a/mobile/apps/locker/lib/ui/viewer/actions/file_selection_overlay_bar.dart
+++ b/mobile/apps/locker/lib/ui/viewer/actions/file_selection_overlay_bar.dart
@@@ -10,10 -10,9 +10,9 @@@ import "package:locker/l10n/l10n.dart"
import "package:locker/models/selected_files.dart";
import "package:locker/services/collections/collections_service.dart";
import "package:locker/services/collections/models/collection.dart";
- import "package:locker/services/favorites_service.dart";
import "package:locker/services/files/sync/models/file.dart";
import "package:locker/ui/components/add_to_collection_dialog.dart";
-import "package:locker/ui/components/delete_confirmation_dialog.dart";
+import "package:locker/ui/components/delete_confirmation_sheet.dart";
import "package:locker/ui/components/selection_action_button_widget.dart";
import "package:locker/utils/collection_list_util.dart";
import "package:locker/utils/file_actions.dart";