TagSpaces is an offline, open source, document manager with tagging support
chore: improving searching notification
Ilian Sapundshiev3a0b06acb180
diff --git a/src/renderer/containers/PageNotification.tsx b/src/renderer/containers/PageNotification.tsxindex 7f2434800..083127db3 100644--- a/src/renderer/containers/PageNotification.tsx+++ b/src/renderer/containers/PageNotification.tsx@@ -36,6 +36,7 @@ import { openURLExternally } from '-/services/utils-io';import { useTranslation } from 'react-i18next';import { useNotificationContext } from '-/hooks/useNotificationContext';import { useLocationIndexContext } from '-/hooks/useLocationIndexContext';+import i18n from '-/services/i18n';const TSNotification = styled(Snackbar)(({ theme }) => {return {@@ -123,7 +124,7 @@ function PageNotification() {anchorOrigin={{ vertical: 'bottom', horizontal: 'center' }}open={isIndexing !== undefined}autoHideDuration={undefined}- message={'Indexing ' + isIndexing}+ message={i18n.t('indexing') + ': ' + isIndexing}action={[<Buttonkey="cancelIndexButton"diff --git a/src/renderer/locales/en/core.json b/src/renderer/locales/en/core.jsonindex f94cacb20..75ed7bc23 100644--- a/src/renderer/locales/en/core.json+++ b/src/renderer/locales/en/core.json@@ -439,7 +439,7 @@"movingFilesFailed": "Moving files failed","loadingIndex": "Loading index ...","loadingIndexFailed": "Loading index failed",- "searching": "Searching...",+ "searching": "Searching","searchingFailed": "Search failed.","addingTagsFailed": "Adding tags failed","removingSidecarTagsFailed": "Removing sidecar tags failed",@@ -820,5 +820,6 @@"clickToSelect": "Click to select","newVersionAvailable": "New version available","urlNotSupported": "URL not supported",+ "indexing": "Indexing","-": "-"}