Skip to content

Commit 85e6ac8

Browse files
committed
chore: add translations
1 parent 3805191 commit 85e6ac8

File tree

3 files changed

+120
-0
lines changed

3 files changed

+120
-0
lines changed

i18n/locales/en.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1122,6 +1122,30 @@
11221122
"packages_selected": "{count}/{max} packages selected.",
11231123
"add_hint": "Add at least 2 packages to compare."
11241124
},
1125+
"quadrant_chart": {
1126+
"label_x_axis": "Adoption",
1127+
"label_y_axis": "Efficiency",
1128+
"label_top_right": "high-impact",
1129+
"label_bottom_right": "resource-heavy",
1130+
"label_bottom_left": "low-impact",
1131+
"label_top_left": "efficient",
1132+
"title": "Adoption vs Efficiency matrix",
1133+
"filename": "package-adoption-vs-efficiency-matrix",
1134+
"label_freshness_score": "Freshness score",
1135+
"copy_alt": {
1136+
"description": "Quadrant chart mapping adoption versus efficiency for the {packages} packages. {analysis}. {watermark}.",
1137+
"side_analysis_top_right": "The following packages are positioned on the top-right quadrant (high-impact): {packages}",
1138+
"side_analysis_top_left": "The following packages are positioned on the top-left quadrant (efficient): {packages}",
1139+
"side_analysis_bottom_right": "The following packages are positioned on the bottom-right quadrant (resource-heavy): {packages}",
1140+
"side_analysis_bottom_left": "The following packages are positioned on the bottom-right quadrant (low-impact): {packages}"
1141+
},
1142+
"explanation": {
1143+
"introduction": "The score is calculated by combining multiple signals into two axes:",
1144+
"adoption": "Adoption: how widely used and actively maintained a package is",
1145+
"efficiency": "Efficiency: how lightweight, safe, and maintainable a package is",
1146+
"impact_details": "Each metric contributes differently to the final score. Key factors like downloads and install size have the biggest impact, while others refine the result. Some signals (like vulnerabilities or deprecation) apply penalties."
1147+
}
1148+
},
11251149
"no_dependency": {
11261150
"label": "(No dependency)",
11271151
"typeahead_title": "What Would James Do?",

i18n/locales/fr-FR.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1118,6 +1118,30 @@
11181118
"packages_selected": "{count}/{max} paquets sélectionnés.",
11191119
"add_hint": "Ajoutez au moins 2 paquets à comparer."
11201120
},
1121+
"quadrant_chart": {
1122+
"label_x_axis": "Adoption",
1123+
"label_y_axis": "Efficacité",
1124+
"label_top_right": "fort impact",
1125+
"label_bottom_right": "gourmand en ressources",
1126+
"label_bottom_left": "faible impact",
1127+
"label_top_left": "efficient",
1128+
"title": "Matrice Adoption vs Efficacité",
1129+
"filename": "matrice-adoption-vs-efficacite-des-paquets",
1130+
"label_freshness_score": "Score de fraîcheur",
1131+
"copy_alt": {
1132+
"description": "Graphique en quadrants représentant l’adoption par rapport à l’efficacité pour les paquets {packages}. {analysis}. {watermark}.",
1133+
"side_analysis_top_right": "Les paquets suivants se trouvent dans le quadrant supérieur droit (fort impact) : {packages}",
1134+
"side_analysis_top_left": "Les paquets suivants se trouvent dans le quadrant supérieur gauche (efficient) : {packages}",
1135+
"side_analysis_bottom_right": "Les paquets suivants se trouvent dans le quadrant inférieur droit (gourmand en ressources) : {packages}",
1136+
"side_analysis_bottom_left": "Les paquets suivants se trouvent dans le quadrant inférieur droit (faible impact) : {packages}"
1137+
},
1138+
"explanation": {
1139+
"introduction": "Le score est calculé en combinant plusieurs signaux sur deux axes :",
1140+
"adoption": "Adoption : à quel point un package est utilisé et activement maintenu",
1141+
"efficiency": "Efficacité : à quel point un package est léger, sûr et facile à maintenir",
1142+
"impact_details": "Chaque métrique contribue différemment au score final. Les facteurs clés comme les téléchargements et la taille d’installation ont le plus d’impact, tandis que d’autres affinent le résultat. Certains signaux, comme les vulnérabilités ou l’obsolescence, appliquent des pénalités."
1143+
}
1144+
},
11211145
"no_dependency": {
11221146
"label": "(Sans dépendance)",
11231147
"typeahead_title": "Et sans dépendance ?",

i18n/schema.json

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3370,6 +3370,78 @@
33703370
},
33713371
"additionalProperties": false
33723372
},
3373+
"quadrant_chart": {
3374+
"type": "object",
3375+
"properties": {
3376+
"label_x_axis": {
3377+
"type": "string"
3378+
},
3379+
"label_y_axis": {
3380+
"type": "string"
3381+
},
3382+
"label_top_right": {
3383+
"type": "string"
3384+
},
3385+
"label_bottom_right": {
3386+
"type": "string"
3387+
},
3388+
"label_bottom_left": {
3389+
"type": "string"
3390+
},
3391+
"label_top_left": {
3392+
"type": "string"
3393+
},
3394+
"title": {
3395+
"type": "string"
3396+
},
3397+
"filename": {
3398+
"type": "string"
3399+
},
3400+
"label_freshness_score": {
3401+
"type": "string"
3402+
},
3403+
"copy_alt": {
3404+
"type": "object",
3405+
"properties": {
3406+
"description": {
3407+
"type": "string"
3408+
},
3409+
"side_analysis_top_right": {
3410+
"type": "string"
3411+
},
3412+
"side_analysis_top_left": {
3413+
"type": "string"
3414+
},
3415+
"side_analysis_bottom_right": {
3416+
"type": "string"
3417+
},
3418+
"side_analysis_bottom_left": {
3419+
"type": "string"
3420+
}
3421+
},
3422+
"additionalProperties": false
3423+
},
3424+
"explanation": {
3425+
"type": "object",
3426+
"properties": {
3427+
"introduction": {
3428+
"type": "string"
3429+
},
3430+
"adoption": {
3431+
"type": "string"
3432+
},
3433+
"efficiency": {
3434+
"type": "string"
3435+
},
3436+
"impact_details": {
3437+
"type": "string"
3438+
}
3439+
},
3440+
"additionalProperties": false
3441+
}
3442+
},
3443+
"additionalProperties": false
3444+
},
33733445
"no_dependency": {
33743446
"type": "object",
33753447
"properties": {

0 commit comments

Comments
 (0)