Skip to content

Commit

Permalink
[Copy] Skill portfolio and Skill showcase (#12391)
Browse files Browse the repository at this point in the history
* Update skill library to skill portfolio

* Update Description on what the skills showcase is

* Update French Name of the skill showcase page

* Update French Description of the skills to improve section and how to use it

* Update Page blurb for the top behavioural skills page

* Update Label for skill dialog trigger on skills showcase section

* Update Page description for the top technical skills page

* Update Page blurb for the improve behavioural skills page

* Update Page blurb for the improve technical skills page

* Update French First paragraph for remove skill dialog

* Replace skills showcase with skill showcase

* Rename variables

* Update copy

* Update copy

* Update to impératif

* Add missing s to strengths

* Update Title for the find a skill dialog within the skill portfolio
  • Loading branch information
mnigh authored Dec 31, 2024
1 parent c111489 commit 2f79fe9
Show file tree
Hide file tree
Showing 15 changed files with 100 additions and 100 deletions.
8 changes: 4 additions & 4 deletions api/app/Traits/Generator/GeneratesUserDoc.php
Original file line number Diff line number Diff line change
Expand Up @@ -451,14 +451,14 @@ public function experience(Section $section, AwardExperience|CommunityExperience
}

/**
* Generate a users skills showcase
* Generate a user's skill showcase
*
* @param Section $section The section to add info to
* @param User $user The user being generated
*/
protected function skillsShowcase(Section $section, User $user, $headingRank = 3)
protected function skillShowcase(Section $section, User $user, $headingRank = 3)
{
$section->addTitle($this->localizeHeading('skills_showcase'), $headingRank);
$section->addTitle($this->localizeHeading('skill_showcase'), $headingRank);
$subHeadingRank = $headingRank + 2;

if ($user->topBehaviouralSkillsRanking->count() > 0 || $user->topTechnicalSkillsRanking->count() > 0) {
Expand Down Expand Up @@ -498,7 +498,7 @@ protected function generateUser(Section $section, User $user, $headingRank = 2)
$this->dei($section, $user, $headingRank + 2);

$this->experiences($section, $user->experiences, true, $headingRank + 1);
$this->skillsShowcase($section, $user, $headingRank + 1);
$this->skillShowcase($section, $user, $headingRank + 1);

$section->addPageBreak();
}
Expand Down
2 changes: 1 addition & 1 deletion api/lang/en/headings.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
'career_timeline' => 'Career timeline',
'screening_questions' => 'Screening questions',
'general_questions' => 'General questions',
'skills_showcase' => 'Skills showcase',
'skill_showcase' => 'Skill showcase',
'top_skills' => 'Top skills',
'skills_to_improve' => 'Skills to improve',
'signature' => 'Signature',
Expand Down
2 changes: 1 addition & 1 deletion api/lang/fr/headings.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
'career_timeline' => 'Parcours professionnel',
'screening_questions' => 'Questions de sélection',
'general_questions' => 'Questions générale',
'skills_showcase' => 'Démonstration de compétences',
'skill_showcase' => 'Vitrine de compétences',
'top_skills' => 'Meilleures compétences',
'skills_to_improve' => 'Compétences à améliorer',
'signature' => 'Signature',
Expand Down
4 changes: 2 additions & 2 deletions apps/web/src/components/ExperienceCard/ExperienceCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -361,8 +361,8 @@ const ExperienceCard = ({
>
{intl.formatMessage({
defaultMessage:
"The following skills have been linked to this experience through your skills showcase or job applications. You link new skills by editing this experience or adding the skill to your library in the showcase.",
id: "xLIImd",
"You can link new skills by editing this experience or adding the skill to your skills portfolio. Skills added to this experience through job applications also appear here.",
id: "9nwXXJ",
description:
"Lead in text for list of skills linked to a specific experience",
})}
Expand Down
22 changes: 11 additions & 11 deletions apps/web/src/components/SkillBrowser/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ export const getSkillBrowserDialogMessages: GetSkillBrowserDialogMessages = ({
}),
subtitle: intl.formatMessage({
defaultMessage:
"The skill you choose will also be added to your skills showcase if it's not already there.",
id: "Y96JXz",
"This skill will also be added to your skills portfolio if it's not already there.",
id: "Z5Cv3U",
description:
"Subtitle for the find a skill dialog within an experience",
}),
Expand All @@ -131,17 +131,17 @@ export const getSkillBrowserDialogMessages: GetSkillBrowserDialogMessages = ({
"Button text to open the skill dialog and add a skill to the users library",
}),
title: intl.formatMessage({
defaultMessage: "Find and add a new skill to your library",
id: "iMtZOR",
defaultMessage: "Find and add a new skill to your portfolio",
id: "ZoZNDf",
description:
"Title for the find a skill dialog within the skill library",
"Title for the find a skill dialog within the skill portfolio",
}),
subtitle: intl.formatMessage({
defaultMessage:
"Search through our database of skills and link on to your profile.",
id: "XpiMeF",
"Search through our database of skills and link one to your profile.",
id: "5WEzE3",
description:
"Subtitle for the find a skill dialog within the skill library",
"Subtitle for the find a skill dialog within the skill portfolio",
}),
submit: intl.formatMessage({
defaultMessage: "Save and add this skill",
Expand All @@ -161,10 +161,10 @@ export const getSkillBrowserDialogMessages: GetSkillBrowserDialogMessages = ({
"Button text to open the skill dialog and add a skill to the users library",
}),
title: intl.formatMessage({
defaultMessage: "Find and add a skill to your showcase",
id: "Q9c+Kg",
defaultMessage: "Find and add a skill to your portfolio",
id: "+gnEgg",
description:
"Title for the find a skill dialog within the skill showcase",
"Title for the find a skill dialog within the skill portfolio",
}),
subtitle: intl.formatMessage({
defaultMessage:
Expand Down
Loading

0 comments on commit 2f79fe9

Please sign in to comment.