diff --git a/apps/meteor/client/views/account/preferences/PreferencesUserPresenceSection.tsx b/apps/meteor/client/views/account/preferences/PreferencesUserPresenceSection.tsx index c9bc4df15b13a..bbc3a490454c4 100644 --- a/apps/meteor/client/views/account/preferences/PreferencesUserPresenceSection.tsx +++ b/apps/meteor/client/views/account/preferences/PreferencesUserPresenceSection.tsx @@ -1,5 +1,5 @@ import { AccordionItem } from '@rocket.chat/fuselage'; -import { Field, FieldGroup, FieldLabel, FieldRow, ToggleSwitch, NumberInput } from '@rocket.chat/fuselage-forms'; +import { Field, FieldGroup, FieldHint, FieldLabel, FieldRow, ToggleSwitch, NumberInput } from '@rocket.chat/fuselage-forms'; import { Controller, useFormContext } from 'react-hook-form'; import { useTranslation } from 'react-i18next'; @@ -19,6 +19,7 @@ const PreferencesUserPresenceSection = () => { render={({ field: { value, ...field } }) => } /> + {t('Enable_Auto_Away_Description')} {t('Idle_Time_Limit')} @@ -29,6 +30,7 @@ const PreferencesUserPresenceSection = () => { render={({ field: { value, ...field } }) => } /> + {t('Idle_Time_Limit_Description')} diff --git a/packages/i18n/src/locales/en.i18n.json b/packages/i18n/src/locales/en.i18n.json index 3222a9196906a..e80eaa9f4a480 100644 --- a/packages/i18n/src/locales/en.i18n.json +++ b/packages/i18n/src/locales/en.i18n.json @@ -1976,6 +1976,7 @@ "Empty_title": "Empty title", "Enable": "Enable", "Enable_Auto_Away": "Enable Auto Away", + "Enable_Auto_Away_Description": "Switches your status to Away after a period of inactivity. Has no effect if status is manually set to Busy or Away.", "Enable_CSP": "Enable Content-Security-Policy", "Enable_CSP_Description": "Do not disable this option unless you have a custom build and are having problems due to inline-scripts", "Enable_Desktop_Notifications": "Enable Desktop Notifications", @@ -2559,7 +2560,7 @@ "I_Saved_My_Password": "I saved my password", "Icon": "Icon", "Idle_Time_Limit": "Idle Time Limit", - "Idle_Time_Limit_Description": "Period of time until status changes to away. Value needs to be in seconds.", + "Idle_Time_Limit_Description": "Set how long (in seconds) the app waits before marking you as Away when you're not active. Minimum: 60 seconds", "If_this_email_is_registered": "If this email is registered, we'll send instructions on how to reset your password. If you do not receive an email shortly, please come back and try again.", "If_you_didnt_ask_for_reset_ignore_this_email": "If you didn't ask for your password reset, you can ignore this email.", "If_you_didnt_try_to_login_in_your_account_please_ignore_this_email": "If you didn't try to login in your account please ignore this email.",