Skip to content

Commit

Permalink
feat(dashboard): translate top dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Catinaud Taris committed May 28, 2024
1 parent fd9ad25 commit 8d87ab9
Show file tree
Hide file tree
Showing 12 changed files with 325 additions and 174 deletions.
5 changes: 5 additions & 0 deletions messages/en/components.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
"chart": {
"loading": "Loading data.."
},
"calculator": {
"intro": "Here are the impacts of the salmon industry around the world since you opened this web page.",
"seconds": "seconds",
"second": "second"
},
"join": {
"title": "Be the change.",
"intro": "There are alternatives to salmon in our way of eating, selling, and producing.",
Expand Down
1 change: 1 addition & 0 deletions messages/en/layout.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"layout": {
"top": "Back to top",
"nav": {
"title": "main",
"story": "Story",
Expand Down
70 changes: 69 additions & 1 deletion messages/en/pages/dashboard.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,73 @@
{
"dashboard": {
"title": "Dashboard"
"meta": {
"title": "Dashboard"
},
"title": "The numbers behind the story",
"summary": {
"intro": {
"title": "Intro",
"sublinks": {
"salmon-collapse-block": "Wild Altantic salmon collapse",
"hyper-growth-block": "Hyper-growth in salmon farming",
"top-10-block": "Main countries producing farmed salmon",
"intro-consumption-block": "Consumption"
}
},
"company": {
"title": "Companies",
"sublinks": {
"top-comp-block": "Main producers of open-net salmon",
"top-land-block": "The new threat: on land-based aquaculture farms",
"future-land-based-block": "The future of land-based aquaculture farms",
"companies-consumption-block": "Consumption"
}
},
"biodiversity": {
"title": "Biodiversity",
"sublinks": {
"deforestation-block": "Deforestation",
"escapes-rates-block": "Escapes"
}
},
"health": {
"title": "Human health",
"sublinks": {
"antibiotic-conso-block": "Antibiotic consumption",
"microplastics-block": "Microplastic"
}
},
"animals": {
"title": "Animal welfare",
"sublinks": {
"stress-onshore-block": "Stress in land-based facilities",
"mortality-rates-block": "Mortality rate"
}
},
"climate": {
"title": "Climate",
"sublinks": {
"carbon-bomb-block": "Carbon impact"
}
},
"social": {
"title": "Social",
"sublinks": {
"social-carbon-block": "Carbon impact"
}
},
"alternative": {
"title": "Alternatives",
"sublinks": {
"alternatives-block": "Nutrition matrix"
}
}
},
"calculator": {
"salmon": "slaughtered salmon",
"fish": "forage fish caught to feed salmon",
"companies": "tonnes of CO2 emitted by industry",
"money": "Euros of turnover for market leading companies"
}
}
}
5 changes: 5 additions & 0 deletions messages/fr/components.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
"chart": {
"loading": "Chargement des données en cours..."
},
"calculator": {
"intro": "Voici les impacts de l'industrie du saumon dans le monde depuis que vous avez ouvert cette page web.",
"seconds": "secondes",
"second": "seconde"
},
"join": {
"title": "Be the change.",
"intro": "Il existe des alternatives au saumon dans notre manière de manger, de vendre et de produire.",
Expand Down
1 change: 1 addition & 0 deletions messages/fr/layout.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"layout": {
"top": "Haut de page",
"nav": {
"title": "principale",
"story": "Story",
Expand Down
70 changes: 69 additions & 1 deletion messages/fr/pages/dashboard.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,73 @@
{
"dashboard": {
"title": "Dashboard"
"meta": {
"title": "Dashboard"
},
"title": "Les chiffres derrière l’histoire",
"summary": {
"intro": {
"title": "Intro",
"sublinks": {
"salmon-collapse-block": "Effondrement du saumon sauvage de l'Atlantique",
"hyper-growth-block": "Hyper-croissance de l’élevage du saumon",
"top-10-block": "Principaux pays producteurs de saumon d'élevage",
"intro-consumption-block": "Consommation"
}
},
"company": {
"title": "Entreprises",
"sublinks": {
"top-comp-block": "Principaux producteurs de saumon en filet ouvert",
"top-land-block": "La nouvelle menace : sur fermes aquacoles terrestres",
"future-land-based-block": "Le futur des fermes aquacoles terrestres",
"companies-consumption-block": "Consommation"
}
},
"biodiversity": {
"title": "Biodiversité",
"sublinks": {
"deforestation-block": "Déforestation",
"escapes-rates-block": "Les évasions"
}
},
"health": {
"title": "Human health",
"sublinks": {
"antibiotic-conso-block": "Consommation d'antibiotiques",
"microplastics-block": "Microplastique"
}
},
"animals": {
"title": "Bien être animal",
"sublinks": {
"stress-onshore-block": "Densité / stress dans usine à terre",
"mortality-rates-block": "Taux de mortalité"
}
},
"climate": {
"title": "Climat",
"sublinks": {
"carbon-bomb-block": "Impact carbone"
}
},
"social": {
"title": "Social",
"sublinks": {
"social-carbon-block": "Impact carbone"
}
},
"alternative": {
"title": "Alternatives",
"sublinks": {
"alternatives-block": "Matrice de nutrition"
}
}
},
"calculator": {
"salmon": "saumons abattus",
"fish": "poissons fourrages pêchés pour alimenter les saumons",
"companies": "tonnes de CO2 émis par l'industrie",
"money": "Euros de chiffre d'affaire pour les entreprises leadeurs du marché"
}
}
}
Loading

0 comments on commit 8d87ab9

Please sign in to comment.