Skip to content

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

polish: updating translation strings

Ilian Sapundshiev0e85f3bb4e60
diff --git a/app/components/HelpFeedbackPanel.tsx b/app/components/HelpFeedbackPanel.tsx
index 285ec3f84..eacfcdbd5 100644
--- a/app/components/HelpFeedbackPanel.tsx
+++ b/app/components/HelpFeedbackPanel.tsx
@@ -23,6 +23,7 @@ import Typography from '@material-ui/core/Typography';
import CardActions from '@material-ui/core/CardActions';
import CardContent from '@material-ui/core/CardContent';
import Button from '@material-ui/core/Button';
+import Tooltip from '@material-ui/core/Tooltip';
import Avatar from '@material-ui/core/Avatar';
import Box from '@material-ui/core/Box';
import List from '@material-ui/core/List';
@@ -159,20 +160,22 @@ const HelpFeedbackPanel = (props: Props) => {
)}
{'SOFTWARE_TOKEN_MFA'.indexOf(props.user.preferredMFA) ===
-1 ? (
- <Button
- data-tid="setupTOTP"
- title={i18n.t('core:setupTOTP')}
- className={classes.mainActionButton}
- onClick={() => {
- setSetupTOTPOpened(true);
- }}
- size="small"
- variant="outlined"
- color="primary"
- style={{ width: '95%' }}
- >
- {i18n.t('core:setupTOTP')}
- </Button>
+ <Tooltip title={i18n.t('core:setupTOTPHelp')}>
+ <Button
+ data-tid="setupTOTP"
+ title={i18n.t('core:setupTOTP')}
+ className={classes.mainActionButton}
+ onClick={() => {
+ setSetupTOTPOpened(true);
+ }}
+ size="small"
+ variant="outlined"
+ color="primary"
+ style={{ width: '95%' }}
+ >
+ {i18n.t('core:setupTOTP')}
+ </Button>
+ </Tooltip>
) : (
<>
<Typography style={{ color: theme.palette.text.primary }}>
diff --git a/app/locales/en/core.json b/app/locales/en/core.json
index de2f22f85..7e790a460 100644
--- a/app/locales/en/core.json
+++ b/app/locales/en/core.json
@@ -524,14 +524,16 @@
"pauseSlideShow": "Pause Slide Show",
"startSlideShow": "Start Slide Show",
"thumbAlreadyExists": "Thumbnail for '{{directoryName}}' already exists, do you want to override it?",
- "setupTOTP": "Setup Time-based One-Time Password",
+ "setupTOTP": "Setup MFA with TOTP",
+ "setupTOTPHelp": "Setup mutli factor auth (MFA) with time-based one-time password (TOTP) generated from auth apps (e.g. Google Authenticator)",
"validationCodeLabel": "Validation Code",
"verifyTOTP": "Verify",
- "TOTPEnabled": "TOTP Is Enabled",
- "disableTOTP": "disable TOTP",
+ "verifyTOTPCodeHelp": "Scan the QR with an auth app (e.g. Google Authenticator) and enter the generated code here",
+ "TOTPEnabled": "TOTP is enabled",
+ "disableTOTP": "Disable TOTP",
"confirmResetColor": "Do you really want to clear this color?",
"maxIndexAge": "Index validity duration in minutes",
- "maxIndexAgeHelp": "After this time the search index will be invalidated",
+ "maxIndexAgeHelp": "After this time elapses, the search index will be invalidated",
"chooseTagGroup": "Choose Tag Group",
"addTagToTagGroup": "Add Tag to Tag Group",
"-": "-"