π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Add descriptions to sections
Neeraj Guptaf8b933a08f49
diff --git a/mobile/lib/generated/intl/messages_en.dart b/mobile/lib/generated/intl/messages_en.dartindex 49f044873b..7bb46b787e 100644--- a/mobile/lib/generated/intl/messages_en.dart+++ b/mobile/lib/generated/intl/messages_en.dart@@ -763,6 +763,8 @@ class MessageLookup extends MessageLookupByLibrary {"freeUpAmount": m29,"freeUpDeviceSpace":MessageLookupByLibrary.simpleMessage("Free up device space"),+ "freeUpDeviceSpaceDesc": MessageLookupByLibrary.simpleMessage(+ "Save space on your device by clearing files that have been already backed up."),"freeUpSpace": MessageLookupByLibrary.simpleMessage("Free up space"),"freeUpSpaceSaving": m30,"galleryMemoryLimitInfo": MessageLookupByLibrary.simpleMessage(@@ -1154,6 +1156,8 @@ class MessageLookup extends MessageLookupByLibrary {"remove": MessageLookupByLibrary.simpleMessage("Remove"),"removeDuplicates":MessageLookupByLibrary.simpleMessage("Remove duplicates"),+ "removeDuplicatesDesc": MessageLookupByLibrary.simpleMessage(+ "Review and remove files that are exact duplicates."),"removeFromAlbum":MessageLookupByLibrary.simpleMessage("Remove from album"),"removeFromAlbumTitle":diff --git a/mobile/lib/generated/l10n.dart b/mobile/lib/generated/l10n.dartindex cf959e8be5..e9925a5eb9 100644--- a/mobile/lib/generated/l10n.dart+++ b/mobile/lib/generated/l10n.dart@@ -3432,6 +3432,16 @@ class S {);}+ /// `Save space on your device by clearing files that have been already backed up.`+ String get freeUpDeviceSpaceDesc {+ return Intl.message(+ 'Save space on your device by clearing files that have been already backed up.',+ name: 'freeUpDeviceSpaceDesc',+ desc: '',+ args: [],+ );+ }+/// `β¨ All clear`String get allClear {return Intl.message(@@ -3462,6 +3472,16 @@ class S {);}+ /// `Review and remove files that are exact duplicates.`+ String get removeDuplicatesDesc {+ return Intl.message(+ 'Review and remove files that are exact duplicates.',+ name: 'removeDuplicatesDesc',+ desc: '',+ args: [],+ );+ }+/// `β¨ No duplicates`String get noDuplicates {return Intl.message(diff --git a/mobile/lib/l10n/intl_en.arb b/mobile/lib/l10n/intl_en.arbindex 753eccd865..8fca573f86 100644--- a/mobile/lib/l10n/intl_en.arb+++ b/mobile/lib/l10n/intl_en.arb@@ -478,9 +478,11 @@"automaticBackups": "Automatic backups","backup": "Backup","freeUpDeviceSpace": "Free up device space",+ "freeUpDeviceSpaceDesc": "Save space on your device by clearing files that have been already backed up.","allClear": "β¨ All clear","noDeviceThatCanBeDeleted": "You've no files on this device that can be deleted","removeDuplicates": "Remove duplicates",+ "removeDuplicatesDesc": "Review and remove files that are exact duplicates.","noDuplicates": "β¨ No duplicates","youveNoDuplicateFilesThatCanBeCleared": "You've no duplicate files that can be cleared","success": "Success",diff --git a/mobile/lib/ui/settings/backup/free_space_options.dart b/mobile/lib/ui/settings/backup/free_space_options.dartindex 3053dbbf5c..3619393ee0 100644--- a/mobile/lib/ui/settings/backup/free_space_options.dart+++ b/mobile/lib/ui/settings/backup/free_space_options.dart@@ -14,6 +14,7 @@ import 'package:photos/ui/components/buttons/icon_button_widget.dart';import 'package:photos/ui/components/captioned_text_widget.dart';import "package:photos/ui/components/dialog_widget.dart";import 'package:photos/ui/components/menu_item_widget/menu_item_widget.dart';+import "package:photos/ui/components/menu_section_description_widget.dart";import "package:photos/ui/components/models/button_type.dart";import 'package:photos/ui/components/title_bar_title_widget.dart';import 'package:photos/ui/components/title_bar_widget.dart';@@ -118,6 +119,9 @@ class _FreeUpSpaceOptionsScreenState extends State<FreeUpSpaceOptionsScreen> {}},),+ MenuSectionDescriptionWidget(+ content: S.of(context).freeUpDeviceSpaceDesc,+ ),const SizedBox(height: 24,),@@ -172,6 +176,9 @@ class _FreeUpSpaceOptionsScreenState extends State<FreeUpSpaceOptionsScreen> {}},),+ MenuSectionDescriptionWidget(+ content: S.of(context).removeDuplicatesDesc,+ ),const SizedBox(height: 24,),