Skip to content

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

chore: updating translations

Ilian Sapundshieve004ba7497b7
diff --git a/app/components/HelperComponents.tsx b/app/components/HelperComponents.tsx
index 8b4b8470f..6539a3247 100644
--- a/app/components/HelperComponents.tsx
+++ b/app/components/HelperComponents.tsx
@@ -25,7 +25,9 @@ import { Pro } from '-/pro';
export const BetaLabel = () => (
<Tooltip arrow placement="top" title={i18n.t('featureInBetaStatus')}>
<Typography style={{ display: 'initial' }}>
- <sup style={{ marginLeft: 5 }}>BETA</sup>
+ <sup style={{ marginLeft: 5, textTransform: 'uppercase' }}>
+ {i18n.t('betaStatus')}
+ </sup>
</Typography>
</Tooltip>
);
diff --git a/app/components/Search.tsx b/app/components/Search.tsx
index 4c0e4bd2e..8c2a7ae46 100644
--- a/app/components/Search.tsx
+++ b/app/components/Search.tsx
@@ -719,28 +719,18 @@ const Search = (props: Props) => {
value={searchType.current}
>
<ToggleButton value="fussy" data-tid="fussySearchTID">
- <Tooltip
- arrow
- title={i18n.t(
- 'Delivering broader search results, tolerating typos'
- )}
- >
- <div>{i18n.t('fussy')}</div>
+ <Tooltip arrow title={i18n.t('searchTypeFussyTooltip')}>
+ <div>{i18n.t('searchTypeFussy')}</div>
</Tooltip>
</ToggleButton>
<ToggleButton value="semistrict" data-tid="semiStrictSearchTID">
- <Tooltip
- arrow
- title={i18n.t(
- 'Exact search in file path, description and text content (by enabled full-text search)'
- )}
- >
- <div>{i18n.t('semistrict')}</div>
+ <Tooltip arrow title={i18n.t('searchTypeSemiStrictTooltip')}>
+ <div>{i18n.t('searchTypeSemiStrict')}</div>
</Tooltip>
</ToggleButton>
<ToggleButton value="strict" data-tid="strictSearchTID">
- <Tooltip arrow title="Same as semistrict but case sensitive">
- <div>{i18n.t('strict')}</div>
+ <Tooltip arrow title={i18n.t('searchTypeStrictTooltip')}>
+ <div>{i18n.t('searchTypeStrict')}</div>
</Tooltip>
</ToggleButton>
</ToggleButtonGroup>
@@ -757,21 +747,13 @@ const Search = (props: Props) => {
value={forceIndexing.current}
>
<ToggleButton value={false}>
- <Tooltip
- arrow
- title={i18n.t(
- 'Will the use the already create index, if it is not expired'
- )}
- >
- <div>{i18n.t('default index')}</div>
+ <Tooltip arrow title={i18n.t('useCurrentIndexTooltip')}>
+ <div>{i18n.t('useCurrentIndex')}</div>
</Tooltip>
</ToggleButton>
<ToggleButton value={true} data-tid="forceIndexingTID">
- <Tooltip
- arrow
- title={i18n.t('Will force the recreation of the index')}
- >
- <div>{i18n.t('force re-indexing')}</div>
+ <Tooltip arrow title={i18n.t('forceReindexTooltip')}>
+ <div>{i18n.t('forceReindex')}</div>
</Tooltip>
</ToggleButton>
</ToggleButtonGroup>
@@ -848,7 +830,7 @@ const Search = (props: Props) => {
className={classes.formControl}
disabled={indexing || !Pro}
>
- <ProTooltip tooltip="Filter the search result by their type">
+ <ProTooltip tooltip={i18n.t('filterByTypTooltip')}>
<InputLabel htmlFor="file-type">
{i18n.t('core:fileType')}
</InputLabel>
@@ -959,7 +941,7 @@ const Search = (props: Props) => {
className={classes.formControl}
disabled={indexing || !Pro}
>
- <ProTooltip tooltip="Filter the search results by their file size">
+ <ProTooltip tooltip={i18n.t('filterBySizeTooltip')}>
<InputLabel shrink htmlFor="file-size">
{i18n.t('core:sizeSearchTitle')}
</InputLabel>
@@ -1005,7 +987,7 @@ const Search = (props: Props) => {
className={classes.formControl}
disabled={indexing || !Pro}
>
- <ProTooltip tooltip="Filter the search result by last modified date">
+ <ProTooltip tooltip={i18n.t('filterByLastModifiedDateTooltip')}>
<InputLabel shrink htmlFor="modification-date">
{i18n.t('core:lastModifiedSearchTitle')}
</InputLabel>
@@ -1040,10 +1022,10 @@ const Search = (props: Props) => {
</ProTooltip>
</FormControl>
<FormControl className={classes.formControl}>
- <ProTooltip tooltip="Filter the search results for a given time period">
+ <ProTooltip tooltip={i18n.t('enterTimePeriodTooltip')}>
<TextField
id="tagTimePeriod"
- label={i18n.t('Enter time period')}
+ label={i18n.t('enterTimePeriod')}
value={tagTimePeriod.current}
disabled={indexing || !Pro}
onChange={handleTimePeriodChange}
@@ -1092,7 +1074,7 @@ const Search = (props: Props) => {
className={classes.formControl}
disabled={indexing || !Pro}
>
- <ProTooltip tooltip="Saved search queries for later use">
+ <ProTooltip tooltip={i18n.t('storedSearchQueriesTooltip')}>
<InputLabel shrink htmlFor="saved-searches">
{i18n.t('core:savedSearchesTitle')}
</InputLabel>
@@ -1105,7 +1087,7 @@ const Search = (props: Props) => {
>
<MenuItem value={-1} style={{ display: 'none' }} />
{props.searches.length < 1 && (
- <MenuItem>{i18n.t('noSearchesFound')}</MenuItem>
+ <MenuItem>{i18n.t('noStoredSearchQueriesFound')}</MenuItem>
)}
{props.searches.map(search => (
<MenuItem key={search.uuid} value={search.uuid}>
diff --git a/app/locales/en/core.json b/app/locales/en/core.json
index 6d33088a5..f35053155 100644
--- a/app/locales/en/core.json
+++ b/app/locales/en/core.json
@@ -322,6 +322,7 @@
"pleaseOpenLocation": "Please open location",
"thisIsStartupLocation": "This is the startup location",
"thisFunctionalityIsAvailableInPro": "This functionality is available in the PRO version",
+ "betaStatus": "beta",
"featureInBetaStatus": "This feature is in BETA status",
"fileType": "File type",
"fileEditor": "File Editor",
@@ -597,5 +598,22 @@
"welcomeToTagSpaces": "Welcome to TagSpaces",
"startUsingTagSpaces": "Start using TagSpaces",
"tagGroupLocation": "Store Tag Group in",
+ "enterTimePeriod": "Enter time period",
+ "enterTimePeriodTooltip": "Filter the search results for a given time period",
+ "storedSearchQueriesTooltip": "Stored search queries for later use",
+ "filterByLastModifiedDateTooltip": "Filter the search result by last modified date",
+ "filterBySizeTooltip": "Filter the search results by their file size",
+ "filterByTypTooltip": "Filter the search result by their type",
+ "useCurrentIndex": "Use current index",
+ "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",
+ "searchTypeSemiStrict": "Semi-strict",
+ "searchTypeSemiStrictTooltip": "Exact search in file path, description and text content (by enabled full-text search)",
+ "searchTypeStrict": "Strict",
+ "searchTypeStrictTooltip": "Same as semi-strict but case sensitive",
+ "noStoredSearchQueriesFound": "No stored search queries found",
"-": "-"
}