Skip to content

Commit

Permalink
Update text to use sentence case (#12061)
Browse files Browse the repository at this point in the history
  • Loading branch information
mnigh authored Nov 21, 2024
1 parent 72081ba commit 00b4170
Show file tree
Hide file tree
Showing 5 changed files with 69 additions and 69 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const EducationFields = ({ labels }: SubExperienceFormProps) => {
const intl = useIntl();
const todayDate = new Date();
const [{ data }] = useQuery({ query: EducationOptions_Query });
// to toggle whether End Date is required, the state of the Current Role checkbox must be monitored and have to adjust the form accordingly
// to toggle whether End date is required, the state of the Current role checkbox must be monitored and have to adjust the form accordingly
const isCurrent = useWatch<EducationFormValues>({ name: "currentRole" });
// ensuring end date isn't before the start date, using this as a minimum value
const watchStartDate = useWatch<EducationFormValues>({ name: "startDate" });
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const PersonalFields = ({ labels }: SubExperienceFormProps) => {
setValue,
formState: { defaultValues },
} = useFormContext<PersonalFormValues>();
// to toggle whether End Date is required, the state of the Current Role checkbox must be monitored and have to adjust the form accordingly
// to toggle whether End date is required, the state of the Current role checkbox must be monitored and have to adjust the form accordingly
const isCurrent = useWatch<PersonalFormValues>({ name: "currentRole" });
// ensuring end date isn't before the start date, using this as a minimum value
const watchStartDate = useWatch<PersonalFormValues>({ name: "startDate" });
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { SubExperienceFormProps } from "~/types/experience";
const WorkFields = ({ labels }: SubExperienceFormProps) => {
const intl = useIntl();
const todayDate = new Date();
// to toggle whether End Date is required, the state of the Current Role checkbox must be monitored and have to adjust the form accordingly
// to toggle whether End date is required, the state of the Current role checkbox must be monitored and have to adjust the form accordingly
const isCurrent = useWatch<{ currentRole: string }>({ name: "currentRole" });
// ensuring end date isn't before the start date, using this as a minimum value
const startDate = useWatch<{ startDate: string }>({ name: "startDate" });
Expand Down
88 changes: 44 additions & 44 deletions apps/web/src/lang/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -675,10 +675,6 @@
"defaultMessage": "Modifier une expérience dans la chronologie de carrière",
"description": "Display text for edit experience form in breadcrumbs"
},
"1UYQaC": {
"defaultMessage": "Date du début",
"description": "Label displayed on an Experience form for start date input"
},
"1Wbu+6": {
"defaultMessage": "Premières Nations inscrites",
"description": "The indigenous community for status First Nations"
Expand Down Expand Up @@ -1299,10 +1295,6 @@
"defaultMessage": "Pour la raison suivante",
"description": "Lead in text for a decisions reason"
},
"4f5qcw": {
"defaultMessage": "Rôle actuel",
"description": "Label displayed on an Experience form for current role bounded box"
},
"4f9Xsc": {
"defaultMessage": "Les renseignements que vous fournissez peuvent également être utilisés à des fins statistiques et de recherche, et ils peuvent être communiqués à la<publicServiceLink>Direction des enquêtes de la Commission de la fonction publique</publicServiceLink> au besoin.",
"description": "Paragraph for privacy policy page"
Expand Down Expand Up @@ -1427,10 +1419,6 @@
"defaultMessage": "Sélectionnez une équipe",
"description": "Placeholder text for team selection input"
},
"5CONbw": {
"defaultMessage": "Date d’attribution",
"description": "Label displayed on award form for date awarded input"
},
"5Cwvgi": {
"defaultMessage": "Alors que les standards de niveau AA des <wcagLink>Règles pour l’accessibilité des contenus Web 2.1 (WCAG 2.1)</wcagLink> représente un niveau de base pour la conformité, les évaluations des utilisateurs réels nous permettent d’aller au-delà des exigences minimales. L’accessibilité est prise en compte à chaque étape du cycle de conception et de développement de nos produits. Nous voulons nous assurer que tout le monde connaît une expérience agréable sur notre plateforme.",
"description": "Paragraph describing accessibility at every level of development"
Expand Down Expand Up @@ -2355,6 +2343,10 @@
"defaultMessage": "Demande de renseignements",
"description": "Heading for the request information section of the single search request view."
},
"AAvLM5": {
"defaultMessage": "Type d’études",
"description": "Label displayed on Education form for education type input"
},
"ADPfNp": {
"defaultMessage": "Valider dès maintenant",
"description": "Button to start the email address verification process"
Expand Down Expand Up @@ -3127,10 +3119,6 @@
"defaultMessage": "Enregistrer la décision",
"description": "Submit message for job placement dialog"
},
"DyaaHi": {
"defaultMessage": "Portée du prix",
"description": "Label displayed on Award form for award scope input"
},
"DzCUmx": {
"defaultMessage": "Que vous envisagiez de travailler pour le gouvernement ou que vous soyez déjà employé, que vous souhaitiez embaucher ou que vous envisagiez un nouveau rôle, vous êtes au bon endroit pour faire partie de la collectivité numérique du GC.",
"description": "Description of the application on the homepage"
Expand Down Expand Up @@ -3159,6 +3147,10 @@
"defaultMessage": "Planification et établissement de rapports en matière de <abbreviation>TI</abbreviation>",
"description": "Title for the 'planning and reporting' IT work stream"
},
"E9I34y": {
"defaultMessage": "Titre de la thèse",
"description": "Label displayed on education form for thesis title input"
},
"EB70Il": {
"defaultMessage": "Cette section vous permet de présenter les compétences dans lesquelles vous êtes le plus fort. Vous pouvez spécifier jusqu’à 5 compétences comportementales et jusqu’à 10 compétences techniques pour vous aider à créer une image complète de vos talents. Les compétences que vous présentez ici aident les recruteurs potentiels à mieux comprendre vos points forts et la manière dont vous pourriez répondre aux besoins de leur équipe.",
"description": "Description of the top skills section and how to use it."
Expand Down Expand Up @@ -4831,10 +4823,6 @@
"defaultMessage": "Vous devez indiquer dans cette section vos connaissances linguistiques dans les deux langues officielles",
"description": "Descriptive text explaining the language profile section of the application profile"
},
"N87bC7": {
"defaultMessage": "Titre de la thèse",
"description": "Label displayed on education form for thesis title input"
},
"NAobki": {
"defaultMessage": "Si vous rencontrez toujours des difficultés, essayez d'envoyer un nouveau code en utilisant le lien fourni.",
"description": "Instructions to send another code"
Expand Down Expand Up @@ -5651,6 +5639,10 @@
"defaultMessage": "Qu'est-ce que je fais si j'ai effacé l'appli ou changé de téléphone et que je n'ai pas les codes de récupération?",
"description": "GCKey question for when user does not have recovery codes"
},
"RDkTqP": {
"defaultMessage": "Date d’attribution",
"description": "Label displayed on award form for date awarded input"
},
"RGl+Dr": {
"defaultMessage": "Cette possibilité d'emploi s'adresse aux employés internes",
"description": "Title of a note describing that a pool is only open to employees"
Expand Down Expand Up @@ -5879,6 +5871,10 @@
"defaultMessage": "Secrétariat du Conseil du Trésor du Canada",
"description": "Default department for pool"
},
"SZeO9P": {
"defaultMessage": "Éducation actuelle",
"description": "Label displayed on Education Experience form for current education bounded box"
},
"SaPE+p": {
"defaultMessage": "Filtrer par niveaux",
"description": "Label for the classification input"
Expand Down Expand Up @@ -6758,10 +6754,6 @@
"defaultMessage": "Une femme autochtone sourit, portant un chandail brun et des verres.",
"description": "Indigenous Apprenticeship applicant image text alternative"
},
"X8JZSG": {
"defaultMessage": "Date de fin",
"description": "Label displayed on an Experience form for end date input"
},
"X8e/zb": {
"defaultMessage": "personne en situation de handicap.",
"description": "Statement for when someone indicates they have a disability"
Expand Down Expand Up @@ -7074,6 +7066,10 @@
"defaultMessage": "Supprimer la notification",
"description": "Button text to confirm deleting a notification"
},
"Yaxm1W": {
"defaultMessage": "Date du début",
"description": "Label displayed on an Experience form for start date input"
},
"YbkM7u": {
"defaultMessage": "Architecture intégrée de la TI",
"description": "Label for the 'enterprise architecture' IT work stream"
Expand Down Expand Up @@ -7378,10 +7374,6 @@
"defaultMessage": "Question (EN)",
"description": "Label for an English general question"
},
"aDRIDD": {
"defaultMessage": "Éducation actuelle",
"description": "Label displayed on Education Experience form for current education bounded box"
},
"aFPUbm": {
"defaultMessage": "Passez en revue votre profil",
"description": "Page title for the application profile page"
Expand Down Expand Up @@ -7742,6 +7734,10 @@
"defaultMessage": "Vérifier les instructions",
"description": "Title for review instructions action"
},
"cD3QKi": {
"defaultMessage": "Date de fin",
"description": "Label displayed on an Experience form for end date input"
},
"cErFoy": {
"defaultMessage": "Une femme autochtone porte un manteau de jeans qui est orné de plusieurs épinglettes.",
"description": "Indigenous Apprenticeship woman smiling image text alternative"
Expand Down Expand Up @@ -8294,10 +8290,6 @@
"defaultMessage": "Télécharger le profil",
"description": "Button text to download pool candidate profiles"
},
"elFbzT": {
"defaultMessage": "Type d’études",
"description": "Label displayed on Education form for education type input"
},
"emx1cK": {
"defaultMessage": "Résumé des filtres",
"description": "Title of Summary of filters section"
Expand Down Expand Up @@ -8726,6 +8718,10 @@
"defaultMessage": "Le fournisseur et ses employés devront-ils avoir accès à des renseignements ou à des actifs protégés et/ou classifiés?",
"description": "Label for _contract amendable_ fieldset in the _digital services contracting questionnaire_"
},
"gnEK8V": {
"defaultMessage": "Portée du prix",
"description": "Label displayed on Award form for award scope input"
},
"gnGAe8": {
"defaultMessage": "Niveau de classification actuel",
"description": "Label displayed on classification level input"
Expand Down Expand Up @@ -9738,6 +9734,10 @@
"defaultMessage": "Copier l’identifiant de {title} dans le presse-papiers",
"description": "Button text to copy a specific qualified recruitment's ID"
},
"lhCCs2": {
"defaultMessage": "Titre du prix",
"description": "Label displayed on award form for award title input"
},
"lhLfd7": {
"defaultMessage": "Créer une collectivité",
"description": "Text to create a community"
Expand Down Expand Up @@ -10046,6 +10046,10 @@
"defaultMessage": "Nom de l’équipe (Anglais)",
"description": "Label for the English team display name input"
},
"n4pwef": {
"defaultMessage": "Rôle actuel",
"description": "Label displayed on an Experience form for current role bounded box"
},
"n7RwgC": {
"defaultMessage": "Autorité indépendante non gouvernementale requise (par exemple, examen indépendant des services.)",
"description": "Requires independent contracting rationale"
Expand Down Expand Up @@ -10194,6 +10198,10 @@
"defaultMessage": "Cet avis a été préparé pour expliquer la façon dont le gouvernement du Canada interagit avec le public sur les plateformes de médias sociaux.",
"description": "Paragraph describing social media section"
},
"nyQyqM": {
"defaultMessage": "Mon rôle",
"description": "Label displayed on an Experience form for role input"
},
"nzF0AE": {
"defaultMessage": "P",
"description": "Short form code representing 'priority entitlement'"
Expand Down Expand Up @@ -10618,10 +10626,6 @@
"defaultMessage": "Créer une nouvelle compétence",
"description": "Title for Create skill"
},
"q5rd9x": {
"defaultMessage": " Description de l’expérience",
"description": "Label displayed on Personal Experience form for experience description input"
},
"q70oUn": {
"defaultMessage": "Actuellement non vérifié",
"description": "Label for the unverified claim option"
Expand Down Expand Up @@ -10702,10 +10706,6 @@
"defaultMessage": "Processus dupliqué avec succès!",
"description": "Message displayed to user after pool is duplicated"
},
"qeD2p/": {
"defaultMessage": "Titre du prix",
"description": "Label displayed on award form for award title input"
},
"qek0N+": {
"defaultMessage": "Bienvenue dans votre panneau de notification. Cliquez ou activez une notification pour accéder à la page concernée. Chaque notification peut être marquée comme lue ou supprimée.",
"description": "Instructions on how to manage notifications"
Expand Down Expand Up @@ -10802,6 +10802,10 @@
"defaultMessage": "Aller à la page {pageNumber}",
"description": "Aria label for each button in pagination nav"
},
"rMJ7fd": {
"defaultMessage": "Description de l’expérience",
"description": "Label displayed on Personal Experience form for experience description input"
},
"rN333X": {
"defaultMessage": "Profil intégral",
"description": "Text in table search form column dropdown when no column is selected."
Expand Down Expand Up @@ -11710,10 +11714,6 @@
"defaultMessage": "Sauvegarder ce à quoi s’attendre",
"description": "Text on a button to save the pool what to expect"
},
"wl8GI6": {
"defaultMessage": "Mon rôle",
"description": "Label displayed on an Experience form for role input"
},
"wrqRvV": {
"defaultMessage": "N’a pas réussi au cours de l'évaluation",
"description": "Unsuccessful during assessment option"
Expand Down
44 changes: 22 additions & 22 deletions apps/web/src/utils/experienceUtils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ export const getExperienceFormLabels = (
experienceType?: ExperienceType,
) => {
let currentRole = intl.formatMessage({
defaultMessage: "Current Role",
id: "4f5qcw",
defaultMessage: "Current role",
id: "n4pwef",
description:
"Label displayed on an Experience form for current role bounded box",
});
Expand All @@ -59,8 +59,8 @@ export const getExperienceFormLabels = (
break;
case "education":
currentRole = intl.formatMessage({
defaultMessage: "Current Education",
id: "aDRIDD",
defaultMessage: "Current education",
id: "SZeO9P",
description:
"Label displayed on Education Experience form for current education bounded box",
});
Expand Down Expand Up @@ -113,13 +113,13 @@ export const getExperienceFormLabels = (
"Heading for the experience type section fo the experience form",
}),
awardTitle: intl.formatMessage({
defaultMessage: "Award Title",
id: "qeD2p/",
defaultMessage: "Award title",
id: "lhCCs2",
description: "Label displayed on award form for award title input",
}),
awardedDate: intl.formatMessage({
defaultMessage: "Date Awarded",
id: "5CONbw",
defaultMessage: "Date awarded",
id: "RDkTqP",
description: "Label displayed on award form for date awarded input",
}),
awardedTo: intl.formatMessage({
Expand All @@ -133,13 +133,13 @@ export const getExperienceFormLabels = (
description: "Label displayed on award form for organization section",
}),
awardedScope: intl.formatMessage({
defaultMessage: "Award Scope",
id: "DyaaHi",
defaultMessage: "Award scope",
id: "gnEK8V",
description: "Label displayed on Award form for award scope input",
}),
role: intl.formatMessage({
defaultMessage: "My Role",
id: "wl8GI6",
defaultMessage: "My role",
id: "nyQyqM",
description: "Label displayed on an Experience form for role input",
}),
currentRole,
Expand All @@ -151,13 +151,13 @@ export const getExperienceFormLabels = (
"Label displayed on Community Experience form for project input",
}),
startDate: intl.formatMessage({
defaultMessage: "Start Date",
id: "1UYQaC",
defaultMessage: "Start date",
id: "Yaxm1W",
description: "Label displayed on an Experience form for start date input",
}),
endDate: intl.formatMessage({
defaultMessage: "End Date",
id: "X8JZSG",
defaultMessage: "End date",
id: "cD3QKi",
description: "Label displayed on an Experience form for end date input",
}),
dateRange: intl.formatMessage({
Expand All @@ -166,8 +166,8 @@ export const getExperienceFormLabels = (
description: "Label for the start/end date for an experience",
}),
educationType: intl.formatMessage({
defaultMessage: "Type of Education",
id: "elFbzT",
defaultMessage: "Type of education",
id: "AAvLM5",
description: "Label displayed on Education form for education type input",
}),
areaOfStudy: intl.formatMessage({
Expand All @@ -182,8 +182,8 @@ export const getExperienceFormLabels = (
}),
educationStatus: intl.formatMessage(commonMessages.status),
thesisTitle: intl.formatMessage({
defaultMessage: "Thesis Title",
id: "N87bC7",
defaultMessage: "Thesis title",
id: "E9I34y",
description: "Label displayed on education form for thesis title input",
}),
experienceTitle: intl.formatMessage({
Expand All @@ -193,8 +193,8 @@ export const getExperienceFormLabels = (
"Label displayed on Personal Experience form for experience title input",
}),
experienceDescription: intl.formatMessage({
defaultMessage: "Experience Description",
id: "q5rd9x",
defaultMessage: "Experience description",
id: "rMJ7fd",
description:
"Label displayed on Personal Experience form for experience description input",
}),
Expand Down

0 comments on commit 00b4170

Please sign in to comment.