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": { "@enhanceLowLightParamBrightnessLabel": {
"description": "This parameter sets how much brighter the output will be" "description": "This parameter sets how much brighter the output will be"
}, },
"collectionEnhancedPhotosLabel": "Enhanced", "collectionEditedPhotosLabel": "Edited",
"@collectionEnhancedPhotosLabel": { "@collectionEditedPhotosLabel": {
"description": "List photos enhanced by the app" "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": "Selected items will be deleted permanently from this device.\n\nThis action is nonreversible",
"@deletePermanentlyLocalConfirmationDialogContent": { "@deletePermanentlyLocalConfirmationDialogContent": {

View file

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

View file

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

View file

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