Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing texts #83

Merged
merged 4 commits into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion messages/en/layout.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"footer": {
"allRight": "All rights reserved",
"and": "and",
"donation": "Make a donation",
"donation": "Donate",
"legalNotice": "Legal notices"
}
},
Expand Down
2 changes: 1 addition & 1 deletion messages/en/pages/dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@
}
},
"social": {
"title": "Social",
"title": "Social Justice",
"blocks": {
"social-carbon": {
"title": "Diversion of resources and food injustice",
Expand Down
4 changes: 2 additions & 2 deletions messages/en/pages/story.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"explode": {
"intro": "The salmon industry is a bomb with multiple impacts",
"social": {
"title": "Social",
"title": "Social Justice",
"content": "Diverts food from West African communities."
},
"climat": {
Expand All @@ -27,7 +27,7 @@
},
"edito": {
"social": {
"title": "Social",
"title": "Social Justice",
"content": "Every year, 123,000 to 144,000 tonnes of wild fish are harvested from West African waters to feed Norway's farmed salmon, putting the food security of local communities at risk."
},
"climat": {
Expand Down
2 changes: 1 addition & 1 deletion messages/fr/pages/story.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"explode": {
"intro": "L’industrie du saumon est une bombe écologique et sociale",
"social": {
"title": "Social",
"title": "Justice Social",
"content": "Détourne la nourriture des communautés d'Afrique de l'Ouest."
},
"climat": {
Expand Down
17 changes: 0 additions & 17 deletions src/app/[locale]/about/about.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"use client";

import Image from "next/image";
import { useTranslations } from "next-intl";
import * as React from "react";
import "@/lib/env";
Expand Down Expand Up @@ -50,14 +49,6 @@ const ExplainSection = () => {
<h3 className="h3 text-red1 mt-8 mb-4">
{t("who.content.parts.seastemik.title")}
</h3>
<Image
loading="lazy"
src="/images/seastemik.avif"
width={200}
height={100}
alt=""
className="object-contain"
/>
<p
dangerouslySetInnerHTML={{
__html: t.raw("who.content.parts.seastemik.content"),
Expand Down Expand Up @@ -86,14 +77,6 @@ const ExplainSection = () => {
<h3 className="h3 text-red1 mt-8 mb-4">
{t("who.content.parts.dataforgood.title")}
</h3>
<Image
loading="lazy"
src="/images/dataforgood.svg"
width={200}
height={100}
alt=""
className="object-contain"
/>
<p
dangerouslySetInnerHTML={{
__html: t.raw("who.content.parts.dataforgood.content"),
Expand Down
Loading