TagSpaces is an offline, open source, document manager with tagging support
adjusting search ui
Ilian Sapundshiev813a88f20a24
diff --git a/app/components/Search.js b/app/components/Search.jsindex 2b90bcd7d..41d9e0b4f 100644--- a/app/components/Search.js+++ b/app/components/Search.js@@ -344,11 +344,12 @@ class Search extends React.Component<Props, State> {disabled={indexing || !Pro}title={i18n.t('core:thisFunctionalityIsAvailableInPro')}>- <InputLabel htmlFor="modification-date">{i18n.t('core:modifiedDate')}</InputLabel>+ <InputLabel shrink htmlFor="modification-date">{i18n.t('core:lastModifiedSearchTitle')}</InputLabel><Selectvalue={this.state.lastModified}onChange={this.handleInputChange}input={<Input name="lastModified" id="modification-date" />}+ displayEmpty><MenuItem value="">{i18n.t('core:anyTime')}@@ -381,11 +382,12 @@ class Search extends React.Component<Props, State> {disabled={indexing || !Pro}title={i18n.t('core:thisFunctionalityIsAvailableInPro')}>- <InputLabel htmlFor="file-size">{i18n.t('core:sizeAny')}</InputLabel>+ <InputLabel shrink htmlFor="file-size">{i18n.t('core:sizeSearchTitle')}</InputLabel><Selectvalue={this.state.fileSize}onChange={this.handleInputChange}input={<Input name="fileSize" id="file-size" />}+ displayEmpty><MenuItem value="">{i18n.t('core:sizeAny')}diff --git a/app/locales/en/core.json b/app/locales/en/core.jsonindex 4e6e490e2..12e0213c5 100644--- a/app/locales/en/core.json+++ b/app/locales/en/core.json@@ -298,7 +298,7 @@"fileType": "File type","fileEditor": "File Editor","anyType": "Any type",- "anyTime": "Any time",+ "anyTime": "Any date or time","today": "Today","yesterday": "Yesterday","past7Days": "Past 7 days",@@ -399,6 +399,8 @@"collectTagsFromLocation": "Collect Tags From Current Location","searchCurrentFolderWithSubFolders": "Search in folder with sub folders","dndDisabledReadOnlyMode": "Importing files is disabled because the location is in read-only mode.",+ "lastModifiedSearchTitle": "Last modified date",+ "sizeSearchTitle": "File size","sizeAny": "Any size","sizeEmpty": "Empty","sizeTiny": "Tiny",