π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Extract strings + minor fix
AmanRajSinghMourya8dd3ad9f5b0c
diff --git a/mobile/apps/locker/lib/l10n/app_en.arb b/mobile/apps/locker/lib/l10n/app_en.arbindex c317b02ec4..4cb86d4026 100644--- a/mobile/apps/locker/lib/l10n/app_en.arb+++ b/mobile/apps/locker/lib/l10n/app_en.arb@@ -490,5 +490,17 @@},"addMore": "Add more","you": "You",- "albumOwner": "Owner"+ "albumOwner": "Owner",+ "typeOfCollectionTypeIsNotSupportedForRename": "Type of collection {collectionType} is not supported for rename",+ "@typeOfCollectionTypeIsNotSupportedForRename": {+ "placeholders": {+ "collectionType": {+ "type": "String",+ "example": "no network"+ }+ }+ },+ "leaveCollection": "Leave collection",+ "filesAddedByYouWillBeRemovedFromTheCollection": "Files added by you will be removed from the collection",+ "leaveSharedCollection": "Leave shared collection?"}diff --git a/mobile/apps/locker/lib/l10n/app_localizations.dart b/mobile/apps/locker/lib/l10n/app_localizations.dartindex a8b444f10a..0dfaaefd87 100644--- a/mobile/apps/locker/lib/l10n/app_localizations.dart+++ b/mobile/apps/locker/lib/l10n/app_localizations.dart@@ -1551,6 +1551,30 @@ abstract class AppLocalizations {/// In en, this message translates to:/// **'Owner'**String get albumOwner;++ /// No description provided for @typeOfCollectionTypeIsNotSupportedForRename.+ ///+ /// In en, this message translates to:+ /// **'Type of collection {collectionType} is not supported for rename'**+ String typeOfCollectionTypeIsNotSupportedForRename(String collectionType);++ /// No description provided for @leaveCollection.+ ///+ /// In en, this message translates to:+ /// **'Leave collection'**+ String get leaveCollection;++ /// No description provided for @filesAddedByYouWillBeRemovedFromTheCollection.+ ///+ /// In en, this message translates to:+ /// **'Files added by you will be removed from the collection'**+ String get filesAddedByYouWillBeRemovedFromTheCollection;++ /// No description provided for @leaveSharedCollection.+ ///+ /// In en, this message translates to:+ /// **'Leave shared collection?'**+ String get leaveSharedCollection;}class _AppLocalizationsDelegatediff --git a/mobile/apps/locker/lib/l10n/app_localizations_en.dart b/mobile/apps/locker/lib/l10n/app_localizations_en.dartindex 1b97cbd359..58e7ab5bde 100644--- a/mobile/apps/locker/lib/l10n/app_localizations_en.dart+++ b/mobile/apps/locker/lib/l10n/app_localizations_en.dart@@ -881,4 +881,19 @@ class AppLocalizationsEn extends AppLocalizations {@overrideString get albumOwner => 'Owner';++ @override+ String typeOfCollectionTypeIsNotSupportedForRename(String collectionType) {+ return 'Type of collection $collectionType is not supported for rename';+ }++ @override+ String get leaveCollection => 'Leave collection';++ @override+ String get filesAddedByYouWillBeRemovedFromTheCollection =>+ 'Files added by you will be removed from the collection';++ @override+ String get leaveSharedCollection => 'Leave shared collection?';}diff --git a/mobile/apps/locker/lib/utils/collection_actions.dart b/mobile/apps/locker/lib/utils/collection_actions.dartindex d0a014e573..d7ffd5c40c 100644--- a/mobile/apps/locker/lib/utils/collection_actions.dart+++ b/mobile/apps/locker/lib/utils/collection_actions.dart@@ -11,6 +11,7 @@ import "package:ente_utils/email_util.dart";import "package:ente_utils/share_utils.dart";import 'package:flutter/material.dart';import "package:locker/core/errors.dart";+import "package:locker/extensions/user_extension.dart";import 'package:locker/l10n/l10n.dart';import "package:locker/services/collections/collections_api_client.dart";import 'package:locker/services/collections/collections_service.dart';@@ -489,7 +490,7 @@ class CollectionActions {),],title: context.l10n.removeWithQuestionMark,- body: context.l10n.removeParticipantBody(user.name ?? user.email),+ body: context.l10n.removeParticipantBody(user.displayName ?? user.email),);if (actionResult?.action != null) {if (actionResult!.action == ButtonAction.error) {