Rename enhanced collection to edited to be more generic

This commit is contained in:
Ming Ming 2022-09-10 15:22:14 +08:00
parent fbec0f1af8
commit 4e821514e6
4 changed files with 18 additions and 15 deletions

View file

@ -1238,9 +1238,9 @@
"@enhanceLowLightParamBrightnessLabel": {
"description": "This parameter sets how much brighter the output will be"
},
"collectionEnhancedPhotosLabel": "Enhanced",
"@collectionEnhancedPhotosLabel": {
"description": "List photos enhanced by the app"
"collectionEditedPhotosLabel": "Edited",
"@collectionEditedPhotosLabel": {
"description": "List photos modified by the app, via image enhancements or the image editor"
},
"deletePermanentlyLocalConfirmationDialogContent": "Selected items will be deleted permanently from this device.\n\nThis action is nonreversible",
"@deletePermanentlyLocalConfirmationDialogContent": {

View file

@ -111,7 +111,7 @@
"enhanceIntroDialogDescription",
"enhanceLowLightTitle",
"enhanceLowLightParamBrightnessLabel",
"collectionEnhancedPhotosLabel",
"collectionEditedPhotosLabel",
"deletePermanentlyLocalConfirmationDialogContent",
"enhancePortraitBlurTitle",
"enhancePortraitBlurParamBlurLabel",
@ -286,7 +286,7 @@
"enhanceIntroDialogDescription",
"enhanceLowLightTitle",
"enhanceLowLightParamBrightnessLabel",
"collectionEnhancedPhotosLabel",
"collectionEditedPhotosLabel",
"deletePermanentlyLocalConfirmationDialogContent",
"enhancePortraitBlurTitle",
"enhancePortraitBlurParamBlurLabel",
@ -357,6 +357,7 @@
"shareMethodPreviewDescription",
"shareMethodOriginalFileTitle",
"shareMethodOriginalFileDescription",
"collectionEditedPhotosLabel",
"enhanceStyleTransferStyleDialogTitle",
"doubleTapExitNotification",
"imageEditDiscardDialogTitle",
@ -417,6 +418,7 @@
"shareMethodPreviewDescription",
"shareMethodOriginalFileTitle",
"shareMethodOriginalFileDescription",
"collectionEditedPhotosLabel",
"imageEditToolbarColorLabel",
"imageEditToolbarTransformLabel",
"imageEditTransformOrientation",
@ -444,6 +446,7 @@
"shareMethodPreviewDescription",
"shareMethodOriginalFileTitle",
"shareMethodOriginalFileDescription",
"collectionEditedPhotosLabel",
"imageEditToolbarColorLabel",
"imageEditToolbarTransformLabel",
"imageEditTransformOrientation",
@ -491,7 +494,7 @@
"enhanceIntroDialogDescription",
"enhanceLowLightTitle",
"enhanceLowLightParamBrightnessLabel",
"collectionEnhancedPhotosLabel",
"collectionEditedPhotosLabel",
"deletePermanentlyLocalConfirmationDialogContent",
"enhancePortraitBlurTitle",
"enhancePortraitBlurParamBlurLabel",
@ -593,7 +596,7 @@
"enhanceIntroDialogDescription",
"enhanceLowLightTitle",
"enhanceLowLightParamBrightnessLabel",
"collectionEnhancedPhotosLabel",
"collectionEditedPhotosLabel",
"deletePermanentlyLocalConfirmationDialogContent",
"enhancePortraitBlurTitle",
"enhancePortraitBlurParamBlurLabel",
@ -674,7 +677,7 @@
"enhanceIntroDialogDescription",
"enhanceLowLightTitle",
"enhanceLowLightParamBrightnessLabel",
"collectionEnhancedPhotosLabel",
"collectionEditedPhotosLabel",
"deletePermanentlyLocalConfirmationDialogContent",
"enhancePortraitBlurTitle",
"enhancePortraitBlurParamBlurLabel",
@ -755,7 +758,7 @@
"enhanceIntroDialogDescription",
"enhanceLowLightTitle",
"enhanceLowLightParamBrightnessLabel",
"collectionEnhancedPhotosLabel",
"collectionEditedPhotosLabel",
"deletePermanentlyLocalConfirmationDialogContent",
"enhancePortraitBlurTitle",
"enhancePortraitBlurParamBlurLabel",
@ -836,7 +839,7 @@
"enhanceIntroDialogDescription",
"enhanceLowLightTitle",
"enhanceLowLightParamBrightnessLabel",
"collectionEnhancedPhotosLabel",
"collectionEditedPhotosLabel",
"deletePermanentlyLocalConfirmationDialogContent",
"enhancePortraitBlurTitle",
"enhancePortraitBlurParamBlurLabel",
@ -917,7 +920,7 @@
"enhanceIntroDialogDescription",
"enhanceLowLightTitle",
"enhanceLowLightParamBrightnessLabel",
"collectionEnhancedPhotosLabel",
"collectionEditedPhotosLabel",
"deletePermanentlyLocalConfirmationDialogContent",
"enhancePortraitBlurTitle",
"enhancePortraitBlurParamBlurLabel",

View file

@ -124,7 +124,7 @@ class _EnhancedPhotoBrowserState extends State<EnhancedPhotoBrowser>
return Column(
children: [
AppBar(
title: Text(L10n.global().collectionEnhancedPhotosLabel),
title: Text(L10n.global().collectionEditedPhotosLabel),
elevation: 0,
),
Expanded(
@ -141,7 +141,7 @@ class _EnhancedPhotoBrowserState extends State<EnhancedPhotoBrowser>
return Column(
children: [
AppBar(
title: Text(L10n.global().collectionEnhancedPhotosLabel),
title: Text(L10n.global().collectionEditedPhotosLabel),
elevation: 0,
),
Expanded(
@ -192,7 +192,7 @@ class _EnhancedPhotoBrowserState extends State<EnhancedPhotoBrowser>
}
Widget _buildNormalAppBar(BuildContext context) => SliverAppBar(
title: Text(L10n.global().collectionEnhancedPhotosLabel),
title: Text(L10n.global().collectionEditedPhotosLabel),
);
Widget _buildSelectionAppBar(BuildContext context) {

View file

@ -271,7 +271,7 @@ class _HomeAlbumsState extends State<HomeAlbums>
SelectableItem _buildEnhancedPhotosItem(BuildContext context) {
return _ButtonListItem(
icon: Icons.auto_fix_high_outlined,
label: L10n.global().collectionEnhancedPhotosLabel,
label: L10n.global().collectionEditedPhotosLabel,
onTap: () {
if (!isSelectionMode) {
Navigator.of(context).pushNamed(EnhancedPhotoBrowser.routeName,