Skip to content

TagSpaces is an offline, open source, document manager with tagging support

fix: typo in search type

Ilian Sapundshievb28a9545958b
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ca6646a69..588d93187 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -34,7 +34,7 @@
### 🐛 Bug fixes
- reducing the usage of openFileNatively, fixing #1420
-- removing the location limitation of the search string in the fussy search
+- removing the location limitation of the search string in the fuzzy search
- making index preparation more robust
- clear folder background color
- default sorting per name is now alphabetic
diff --git a/README.md b/README.md
index 0c056eba9..b5618a822 100644
--- a/README.md
+++ b/README.md
@@ -24,7 +24,7 @@ A full list of the changes is available in the [changelog](CHANGELOG.md)
- **File and folder management** - TagSpaces provides a convenient user interface for browsing, viewing and man files and folders.
- **File tagging** - The application supports two ways for tagging files. The default one embeds the tags directly in the name of the file, the other one uses a so called sidecar files for persisting the tags.
-- **Searching** - The search functionality supports fussy functionality and can filter your locations for files and folders containing one or more tags
+- **Searching** - The search functionality supports fuzzy functionality and can filter your locations for files and folders containing one or more tags
- **Browser for local content** - TagSpaces can be used just as browser for your local photos or navigation thought your local ebook library
- **Media player** - It supports playing for common audio and video files types and has integrated basic media player functionalities.
- **No-Cloud:** TagSpaces is running completely offline and serverless on your laptop, desktop or tablet and does not require an internet connection and any kind of online registration or service provider.
diff --git a/app/components/Search.tsx b/app/components/Search.tsx
index ec9f88d54..12e5c89eb 100644
--- a/app/components/Search.tsx
+++ b/app/components/Search.tsx
@@ -116,8 +116,8 @@ const Search = (props: Props) => {
const searchBoxing = useRef<'location' | 'folder' | 'global'>(
props.searchQuery.searchBoxing ? props.searchQuery.searchBoxing : 'location'
);
- const searchType = useRef<'fussy' | 'semistrict' | 'strict'>(
- props.searchQuery.searchType ? props.searchQuery.searchType : 'fussy'
+ const searchType = useRef<'fuzzy' | 'semistrict' | 'strict'>(
+ props.searchQuery.searchType ? props.searchQuery.searchType : 'fuzzy'
);
const lastModified = useRef<string>(
props.searchQuery.lastModified ? props.searchQuery.lastModified : ''
@@ -493,7 +493,7 @@ const Search = (props: Props) => {
const clearSearch = () => {
textQuery.current = '';
searchBoxing.current = 'location';
- searchType.current = 'fussy';
+ searchType.current = 'fuzzy';
fileTypes.current = FileTypeGroups.any;
lastModified.current = '';
tagTimePeriod.current = '';
@@ -551,7 +551,7 @@ const Search = (props: Props) => {
const switchSearchType = (
event: React.MouseEvent<HTMLElement>,
- type: 'fussy' | 'semistrict' | 'strict'
+ type: 'fuzzy' | 'semistrict' | 'strict'
) => {
if (type !== null) {
searchType.current = type;
@@ -715,9 +715,9 @@ const Search = (props: Props) => {
style={{ marginBottom: 10, alignSelf: 'center' }}
value={searchType.current}
>
- <ToggleButton value="fussy" data-tid="fussySearchTID">
- <Tooltip arrow title={i18n.t('searchTypeFussyTooltip')}>
- <div>{i18n.t('searchTypeFussy')}</div>
+ <ToggleButton value="fuzzy" data-tid="fuzzySearchTID">
+ <Tooltip arrow title={i18n.t('searchTypeFuzzyTooltip')}>
+ <div>{i18n.t('searchTypeFuzzy')}</div>
</Tooltip>
</ToggleButton>
<ToggleButton value="semistrict" data-tid="semiStrictSearchTID">
diff --git a/app/locales/en/core.json b/app/locales/en/core.json
index fe2088530..0c7f5ca07 100644
--- a/app/locales/en/core.json
+++ b/app/locales/en/core.json
@@ -608,8 +608,8 @@
"useCurrentIndexTooltip": "Will the use the already created search index, if it is not expired",
"forceReindex": "Force re-indexing",
"forceReindexTooltip": "Will force the re-creation of the search index",
- "searchTypeFussy": "Fussy",
- "searchTypeFussyTooltip": "Delivers broader search results, tolerating typos in the seach query",
+ "searchTypeFuzzy": "Fuzzy",
+ "searchTypeFuzzyTooltip": "Delivers broader search results, tolerating typos in the seach query",
"searchTypeSemiStrict": "Semi-strict",
"searchTypeSemiStrictTooltip": "Exact search in file path, description and text content (by enabled full-text search)",
"searchTypeStrict": "Strict",
diff --git a/app/tagspaces.namespace.d.ts b/app/tagspaces.namespace.d.ts
index 966f38712..e55a8d934 100644
--- a/app/tagspaces.namespace.d.ts
+++ b/app/tagspaces.namespace.d.ts
@@ -56,7 +56,7 @@ export namespace TS {
lastModified?: string;
fileSize?: string;
searchBoxing?: 'location' | 'folder' | 'global';
- searchType?: 'fussy' | 'semistrict' | 'strict';
+ searchType?: 'fuzzy' | 'semistrict' | 'strict';
forceIndexing?: boolean;
currentDirectory?: string;
tagTimePeriodFrom?: number | null;