Skip to content

Commit b007442

Browse files
committed
chore: add i18n
1 parent 0f6ff13 commit b007442

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

apps/site/components/withFooter.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const WithFooter: FC = async () => {
3737
badgeText={release.versionWithPrefix}
3838
href={`/blog/release/${release.versionWithPrefix}`}
3939
>
40-
Latest LTS
40+
{t('components.containers.footer.releasePills.latestLTS')}
4141
</BadgeGroup>
4242
)}
4343
</WithNodeRelease>
@@ -49,7 +49,7 @@ const WithFooter: FC = async () => {
4949
badgeText={release.versionWithPrefix}
5050
href={`/blog/release/${release.versionWithPrefix}`}
5151
>
52-
Latest Release
52+
{t('components.containers.footer.releasePills.latestRelease')}
5353
</BadgeGroup>
5454
)}
5555
</WithNodeRelease>

packages/i18n/src/locales/en.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
"versionSupport": "Version Support",
99
"codeOfConduct": "Code of Conduct",
1010
"security": "Security Policy"
11+
},
12+
"releasePills": {
13+
"latestLTS": "Latest LTS",
14+
"latestRelease": "Latest Release"
1115
}
1216
},
1317
"navBar": {

0 commit comments

Comments
 (0)