Skip to content

Commit 1b4752c

Browse files
committed
Translations
1 parent 0b2f103 commit 1b4752c

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

messages/en-US.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
},
55
"Footer": {
66
"madeIn": "Made in Montréal, Québec 🇨🇦",
7-
"builtBy": "Built by <author>Sebastien Castiel</author> and <source>contributors</source>"
7+
"builtBy": "Built by <author>Sebastien Castiel</author> and <source>contributors</source>",
8+
"onOurBlog": "On our blog"
9+
},
10+
"Support": {
11+
"buttonLabel": "Support us"
812
},
913
"Expenses": {
1014
"title": "Expenses",

messages/fi.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
},
55
"Footer": {
66
"madeIn": "Made in Montréal, Québec 🇨🇦",
7-
"builtBy": "Tekijät: <author>Sebastien Castiel</author> ja <source>muut osallistujat</source>"
7+
"builtBy": "Tekijät: <author>Sebastien Castiel</author> ja <source>muut osallistujat</source>",
8+
"onOurBlog": "Blogissamme (englanti)"
9+
},
10+
"Support": {
11+
"buttonLabel": "Tue meitä"
812
},
913
"Expenses": {
1014
"title": "Kulut",

src/app/layout.tsx

+4-2
Original file line numberDiff line numberDiff line change
@@ -193,14 +193,16 @@ function Content({ children }: { children: React.ReactNode }) {
193193
>
194194
<Button variant="link" className="text-pink-600 -mx-4">
195195
<HeartFilledIcon className="w-4 h-4 mr-2" />
196-
Support us
196+
{t('Support.buttonLabel')}
197197
</Button>
198198
</FeedbackModal>
199199
</span>
200200
</div>
201201
</div>
202202
<div>
203-
<h3 className="text-[small] font-semibold mb-1">On our blog</h3>
203+
<h3 className="text-[small] font-semibold mb-1">
204+
{t('Footer.onOurBlog')}
205+
</h3>
204206
<Suspense fallback={<div>Loading…</div>}>
205207
<BlogPostsList />
206208
</Suspense>

0 commit comments

Comments
 (0)