Skip to content

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

chore: adding new i18n string

Ilian Sapundshiev98254e74cf46
diff --git a/app/components/EntryContainer.tsx b/app/components/EntryContainer.tsx
index 081c97888..f19a9ecc8 100644
--- a/app/components/EntryContainer.tsx
+++ b/app/components/EntryContainer.tsx
@@ -1136,7 +1136,7 @@ function EntryContainer(props: Props) {
{openedFile.isFile ? (
<>
{fileChanged.current ? (
- <Tooltip title="File changed">
+ <Tooltip title={i18n.t('core:fileChanged')}>
<span
style={{
color: theme.palette.text.primary,
diff --git a/app/components/TagContainer.tsx b/app/components/TagContainer.tsx
index bdc8c1e85..9227f4f8d 100644
--- a/app/components/TagContainer.tsx
+++ b/app/components/TagContainer.tsx
@@ -89,8 +89,7 @@ function TagContainer(props: Props) {
// const tagColors = getTagColors(getAllTags(), title);
const textColor = tag.textcolor || defaultTextColor; // || tagColors.textcolor
- const backgroundColor =
- tag.color || defaultBackgroundColor; // || tagColors.color
+ const backgroundColor = tag.color || defaultBackgroundColor; // || tagColors.color
let tid = 'tagContainer_';
if (title && title.length > 0) {
diff --git a/app/components/dialogs/AddTagToTagGroupDialog.tsx b/app/components/dialogs/AddTagToTagGroupDialog.tsx
index 9cccba4a4..4755581f5 100644
--- a/app/components/dialogs/AddTagToTagGroupDialog.tsx
+++ b/app/components/dialogs/AddTagToTagGroupDialog.tsx
@@ -36,7 +36,7 @@ import { getTagColor, getTagTextColor } from '-/reducers/settings';
import { TS } from '-/tagspaces.namespace';
import useTheme from '@mui/styles/useTheme';
import useMediaQuery from '@mui/material/useMediaQuery';
-import { getTagLibrary } from "-/services/taglibrary-utils";
+import { getTagLibrary } from '-/services/taglibrary-utils';
interface Props {
open: boolean;
diff --git a/app/locales/en/core.json b/app/locales/en/core.json
index 3171446a4..922f433a9 100644
--- a/app/locales/en/core.json
+++ b/app/locales/en/core.json
@@ -720,5 +720,6 @@
"finish": "Finish",
"showSubFolderDetails": "Show column details",
"showEntriesDescription": "Show description for files and folders",
+ "fileChanged": "File changed",
"-": "-"
}
diff --git a/app/utils/HandleAuth.tsx b/app/utils/HandleAuth.tsx
index 58f7f4852..6a735d73d 100644
--- a/app/utils/HandleAuth.tsx
+++ b/app/utils/HandleAuth.tsx
@@ -11,7 +11,7 @@ import { actions as LocationActions } from '-/reducers/locations';
// import { actions as TagGroupActions } from '-/reducers/taglibrary';
import { actions as AppActions } from '-/reducers/app';
import { TS } from '-/tagspaces.namespace';
-import { importTagGroups } from "-/services/taglibrary-utils";
+import { importTagGroups } from '-/services/taglibrary-utils';
interface Props {
loggedIn: (user: CognitoUserInterface) => void;
@@ -124,7 +124,7 @@ function mapDispatchToProps(dispatch) {
{
loggedIn: AppActions.loggedIn,
initApp: AppActions.initApp,
- addLocations: LocationActions.addLocations,
+ addLocations: LocationActions.addLocations
// importTagGroups: TagGroupActions.importTagGroups
},
dispatch