feat: add lint:fix command to package.json and update French text for consistency across various components
This commit is contained in:
@@ -27,7 +27,7 @@ export function TeamDetailHeader({
|
||||
className="text-slate-400 hover:text-white hover:bg-white/10"
|
||||
>
|
||||
<ArrowLeft className="h-4 w-4 mr-2" />
|
||||
Retour à l'admin
|
||||
Retour à l'admin
|
||||
</Button>
|
||||
<div className="text-slate-400 text-sm">|</div>
|
||||
<div className="flex items-center gap-3">
|
||||
|
||||
@@ -116,7 +116,7 @@ export function TeamDetailModal({
|
||||
</div>
|
||||
</DialogTitle>
|
||||
<DialogDescription className="text-slate-400">
|
||||
Aperçu rapide de l'équipe. Cliquez sur "Voir tous les détails" pour
|
||||
Aperçu rapide de l'équipe. Cliquez sur "Voir tous les détails" pour
|
||||
une vue complète.
|
||||
</DialogDescription>
|
||||
</DialogHeader>
|
||||
|
||||
@@ -69,7 +69,7 @@ export function TeamDetailTabs({
|
||||
value="overview"
|
||||
className="data-[state=active]:bg-white/20 data-[state=active]:text-white text-slate-400 hover:text-white transition-colors"
|
||||
>
|
||||
Vue d'ensemble
|
||||
Vue d'ensemble
|
||||
</TabsTrigger>
|
||||
<TabsTrigger
|
||||
value="skills"
|
||||
|
||||
@@ -204,7 +204,7 @@ export function TeamInsightsTab({
|
||||
<div className="bg-white/5 backdrop-blur-sm border border-white/10 rounded-2xl p-6">
|
||||
<h3 className="text-lg font-semibold text-white mb-6 flex items-center gap-2">
|
||||
<Lightbulb className="h-5 w-5 text-yellow-400" />
|
||||
Recommandations pour l'équipe
|
||||
Recommandations pour l'équipe
|
||||
</h3>
|
||||
<div className="grid grid-cols-1 md:grid-cols-2 gap-4">
|
||||
<div className="p-4 bg-red-500/10 border border-red-500/20 rounded-xl">
|
||||
@@ -219,7 +219,7 @@ export function TeamInsightsTab({
|
||||
{teamInsights.skillGaps.incontournable > 1 ? "s" : ""}{" "}
|
||||
incontournable
|
||||
{teamInsights.skillGaps.incontournable > 1 ? "s" : ""} sous
|
||||
l'objectif de {COVERAGE_OBJECTIVES.incontournable}%.
|
||||
l'objectif de {COVERAGE_OBJECTIVES.incontournable}%.
|
||||
</>
|
||||
) : (
|
||||
<>
|
||||
@@ -239,9 +239,9 @@ export function TeamInsightsTab({
|
||||
<>
|
||||
Attention: {teamInsights.skillGaps.majeure} compétence
|
||||
{teamInsights.skillGaps.majeure > 1 ? "s" : ""} majeure
|
||||
{teamInsights.skillGaps.majeure > 1 ? "s" : ""} n'atteigne
|
||||
{teamInsights.skillGaps.majeure > 1 ? "s" : ""} n'atteigne
|
||||
{teamInsights.skillGaps.majeure > 1 ? "nt" : ""} pas
|
||||
l'objectif de {COVERAGE_OBJECTIVES.majeure}%.
|
||||
l'objectif de {COVERAGE_OBJECTIVES.majeure}%.
|
||||
</>
|
||||
) : (
|
||||
<>
|
||||
|
||||
@@ -74,7 +74,7 @@ export function TeamOverviewTab({
|
||||
<div className="bg-white/5 backdrop-blur-sm border border-white/10 rounded-2xl p-6">
|
||||
<h3 className="text-lg font-semibold text-white mb-6 flex items-center gap-2">
|
||||
<Star className="h-5 w-5 text-yellow-400" />
|
||||
Top Compétences de l'équipe
|
||||
Top Compétences de l'équipe
|
||||
</h3>
|
||||
<div className="grid grid-cols-1 md:grid-cols-3 gap-4">
|
||||
{team.topSkills.slice(0, 6).map((skill, idx) => (
|
||||
@@ -505,7 +505,7 @@ export function TeamOverviewTab({
|
||||
</div>
|
||||
|
||||
<div className="flex items-center justify-between p-3 bg-white/5 rounded-lg">
|
||||
<span className="text-slate-300">Objectifs d'apprentissage</span>
|
||||
<span className="text-slate-300">Objectifs d'apprentissage</span>
|
||||
<span className="text-white font-bold">
|
||||
{teamInsights.totalLearners}
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user