[web] interviews/qns: make question count bold in import progress tooltip (#963)

Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Nitesh Seram 2024-11-14 12:36:40 +05:30 committed by GitHub
parent c2a091564f
commit b65ed439ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 19 additions and 16 deletions

View File

@ -364,18 +364,21 @@ export default function QuestionsListSession({
},
)}
size="xs"
tooltip={intl.formatMessage(
{
defaultMessage:
'Import the progress of {questionCount} previously completed {questionCount, plural, one {question} other {questions}}',
description:
'Tooltip for import button on import progress dialog',
id: 'MxvduC',
},
{
questionCount: previousSessionQuestionProgress.length,
},
)}
tooltip={
<FormattedMessage
defaultMessage="Import the progress of <bold>{questionCount}</bold> previously completed {questionCount, plural, one {question} other {questions}}"
description="Tooltip for import button on import progress dialog"
id="O0WPJA"
values={{
bold: (chunks) => (
<Text color="inherit" size="inherit" weight="bold">
{chunks}
</Text>
),
questionCount: previousSessionQuestionProgress.length,
}}
/>
}
variant="tertiary"
onClick={() => setShowImportProgressModal(true)}
/>

View File

@ -3639,10 +3639,6 @@
"defaultMessage": "See whole component track",
"description": "Label for \"See whole component track\" button in Component track accordion"
},
"MxvduC": {
"defaultMessage": "Import the progress of {questionCount} previously completed {questionCount, plural, one {question} other {questions}}",
"description": "Tooltip for import button on import progress dialog"
},
"N+FW6k": {
"defaultMessage": "Resize and customize the workspace as you like",
"description": "Label for item 2 for simulate real interviews section"
@ -3771,6 +3767,10 @@
"defaultMessage": "Article view",
"description": "View option for blog list"
},
"O0WPJA": {
"defaultMessage": "Import the progress of <bold>{questionCount}</bold> previously completed {questionCount, plural, one {question} other {questions}}",
"description": "Tooltip for import button on import progress dialog"
},
"O1vplm": {
"defaultMessage": "Top TypeScript front end interview coding questions to practice, with detailed solutions and explanations by ex-interviewers at FAANG.",
"description": "Description of Interview Questions page"