add tooltips to the recording options in preferences page
This commit is contained in:
parent
5ff152233b
commit
71458e3983
|
|
@ -6,6 +6,7 @@ import { useAuth } from '../../context/UserAuth';
|
||||||
import { updateUser } from '../../helpers/rest';
|
import { updateUser } from '../../helpers/rest';
|
||||||
import { toast } from 'react-toastify';
|
import { toast } from 'react-toastify';
|
||||||
import { useForm } from 'react-hook-form';
|
import { useForm } from 'react-hook-form';
|
||||||
|
import JKTooltip from '../common/JKTooltip';
|
||||||
|
|
||||||
const JKAccountPreferences = () => {
|
const JKAccountPreferences = () => {
|
||||||
const { t } = useTranslation('account');
|
const { t } = useTranslation('account');
|
||||||
|
|
@ -79,7 +80,8 @@ const JKAccountPreferences = () => {
|
||||||
value="1"
|
value="1"
|
||||||
data-testid="recording_pref_my_audio"
|
data-testid="recording_pref_my_audio"
|
||||||
onClick={() => setSelectedPref(1)} />
|
onClick={() => setSelectedPref(1)} />
|
||||||
<Label for="exampleSelect">{t('preferences.recording_preferences.options.my_audio')}</Label>
|
<Label for="exampleSelect" className='mr-1'>{t('preferences.recording_preferences.options.my_audio')}</Label>
|
||||||
|
<JKTooltip title={t('preferences.recording_preferences.options.my_audio_tooltip')} />
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
<FormGroup>
|
<FormGroup>
|
||||||
<Input
|
<Input
|
||||||
|
|
@ -89,7 +91,8 @@ const JKAccountPreferences = () => {
|
||||||
value="2"
|
value="2"
|
||||||
data-testid="recording_pref_my_audio_and_session_mix"
|
data-testid="recording_pref_my_audio_and_session_mix"
|
||||||
onClick={() => setSelectedPref(2)} />
|
onClick={() => setSelectedPref(2)} />
|
||||||
<Label for="exampleSelect">{t('preferences.recording_preferences.options.my_audio_and_session_mix')}</Label>
|
<Label for="exampleSelect" className='mr-1'>{t('preferences.recording_preferences.options.my_audio_and_session_mix')}</Label>
|
||||||
|
<JKTooltip title={t('preferences.recording_preferences.options.my_audio_and_session_mix_tooltip')} />
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
</Form>
|
</Form>
|
||||||
</CardBody>
|
</CardBody>
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,9 @@
|
||||||
"options": {
|
"options": {
|
||||||
"none": "Don't record anything on my computer",
|
"none": "Don't record anything on my computer",
|
||||||
"my_audio": "Record my own audio tracks",
|
"my_audio": "Record my own audio tracks",
|
||||||
"my_audio_and_session_mix": "Record my own audio tracks and the session mix"
|
"my_audio_tooltip": "This will save each of your own tracks in high-quality format captured straight from your audio interface. This is a good option to use if you’re in a band and each band member has this preference selected, as each musician can share the high-quality recordings of their tracks with someone who then uses a DAW to mix/master a high-quality recording of the group’s performance.",
|
||||||
|
"my_audio_and_session_mix": "Record my own audio tracks and the session mix",
|
||||||
|
"my_audio_and_session_mix_tooltip": "As with the option above, this will save each of your own tracks in high-quality format captured straight from your audio interface, plus you’ll instantly have access to a session mix made from your high-quality tracks mixed with the streamed tracks of the other musicians, with the levels controlled by your personal mix settings."
|
||||||
},
|
},
|
||||||
"save_success": "Recording preference saved successfully.",
|
"save_success": "Recording preference saved successfully.",
|
||||||
"save_error": "Failed to save recording preference. Please try again later."
|
"save_error": "Failed to save recording preference. Please try again later."
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue