From 718b6fc2c922897a98de82afad0fc76345c7f1a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marie-H=C3=A9l=C3=A8ne?= Date: Tue, 26 Nov 2024 11:41:05 +0100 Subject: [PATCH] feat(orga): rename eligible for coertification into eligible in english --- orga/app/components/campaign/results/profile-list.gjs | 2 +- .../components/campaign/results/profile-list-test.js | 2 +- orga/translations/en.json | 1 + orga/translations/fr.json | 1 + orga/translations/nl.json | 1 + 5 files changed, 5 insertions(+), 2 deletions(-) diff --git a/orga/app/components/campaign/results/profile-list.gjs b/orga/app/components/campaign/results/profile-list.gjs index e911b6a58e6..e8e61a81390 100644 --- a/orga/app/components/campaign/results/profile-list.gjs +++ b/orga/app/components/campaign/results/profile-list.gjs @@ -121,7 +121,7 @@ import ParticipationEvolutionIcon from './participation-evolution-icon'; {{/if}} {{#if profile.certifiable}} - {{t "pages.profiles-list.table.column.certifiable"}} + {{t "pages.profiles-list.table.column.certifiable-tag"}} {{/if}} diff --git a/orga/tests/integration/components/campaign/results/profile-list-test.js b/orga/tests/integration/components/campaign/results/profile-list-test.js index b800094b288..33dc26bd1b9 100644 --- a/orga/tests/integration/components/campaign/results/profile-list-test.js +++ b/orga/tests/integration/components/campaign/results/profile-list-test.js @@ -387,7 +387,7 @@ module('Integration | Component | Campaign::Results::ProfileList', function (hoo // then assert.ok(screen.getByRole('cell', { name: '01/02/2020' })); assert.ok(screen.getByRole('cell', { name: '10' })); - assert.ok(screen.getByRole('cell', { name: 'Certifiable' })); + assert.ok(screen.getByRole('cell', { name: t('pages.profiles-list.table.column.certifiable-tag') })); assert.ok(screen.getByRole('cell', { name: '5' })); }); diff --git a/orga/translations/en.json b/orga/translations/en.json index 2efa3b99c4e..31cbcd2b151 100644 --- a/orga/translations/en.json +++ b/orga/translations/en.json @@ -1283,6 +1283,7 @@ "column": { "ariaSharedProfileCount": "Number of profiles shared", "certifiable": "Eligible for certification", + "certifiable-tag": "Eligible", "competences-certifiables": "Competences eligible for certification", "evolution": "Evolution", "first-name": "First name", diff --git a/orga/translations/fr.json b/orga/translations/fr.json index 8e8448c420f..882e73e69bf 100644 --- a/orga/translations/fr.json +++ b/orga/translations/fr.json @@ -1289,6 +1289,7 @@ "column": { "ariaSharedProfileCount": "Nombre de partages de profil", "certifiable": "Certifiable", + "certifiable-tag": "Certifiable", "competences-certifiables": "Comp. certifiables", "evolution": "Évolution", "first-name": "Prénom", diff --git a/orga/translations/nl.json b/orga/translations/nl.json index 997f3593fd0..ba85ae1fd48 100644 --- a/orga/translations/nl.json +++ b/orga/translations/nl.json @@ -1281,6 +1281,7 @@ "column": { "ariaSharedProfileCount": "Aantal profielaandelen", "certifiable": "Certificeerbaar", + "certifiable-tag": "Certificeerbaar", "competences-certifiables": "Certificeerbare vaard.", "evolution": "Evolutie", "first-name": "Voornaam",