Skip to content

Commit

Permalink
feat: optimize view name
Browse files Browse the repository at this point in the history
  • Loading branch information
杨国璇 authored and 杨国璇 committed Oct 16, 2024
1 parent 2ef8c80 commit d64e08d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/metadata/hooks/metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export const MetadataProvider = ({ repoID, hideMetadataView, selectMetadataView,
}
viewsMap.current['_face_recognition'] = {
_id: '_face_recognition',
name: gettext('Photos - Classify By People'),
name: gettext('Photos - classfied by people'),
type: PRIVATE_FILE_TYPE.FACE_RECOGNITION,
};
setNavigation(navigation);
Expand Down Expand Up @@ -134,7 +134,7 @@ export const MetadataProvider = ({ repoID, hideMetadataView, selectMetadataView,
object: {
file_tags: [],
id: isFaceRecognitionView ? PRIVATE_FILE_TYPE.FACE_RECOGNITION : PRIVATE_FILE_TYPE.FILE_EXTENDED_PROPERTIES,
name: isFaceRecognitionView ? gettext('Photos - Classify By People') : gettext('File extended properties'),
name: isFaceRecognitionView ? gettext('Photos - classfied by people') : gettext('File extended properties'),
type: isFaceRecognitionView ? PRIVATE_FILE_TYPE.FACE_RECOGNITION : PRIVATE_FILE_TYPE.FILE_EXTENDED_PROPERTIES,
isDir: () => false,
},
Expand Down

0 comments on commit d64e08d

Please sign in to comment.