Skip to content

Commit 944fe85

Browse files
authored
Merge pull request #450 from PRUNplanner/improve-i18n-homagepage-header
improve(i18n): homepage navigation localization
2 parents 9e821bf + cb7be24 commit 944fe85

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

src/layout/components/HomepageHeader.vue

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,12 @@
4747
</div>
4848
<div
4949
class="flex flex-row gap-x-7 child:px-3 child:py-1 child:text-lg child:font-light child:hover:bg-white/10 child:hover:rounded-lg">
50-
<div @click="toggleRegistration">Create Account</div>
51-
<div @click="toggleLogin">Login</div>
50+
<div @click="toggleRegistration">
51+
{{ $t("homepage.navigation.registration") }}
52+
</div>
53+
<div @click="toggleLogin">
54+
{{ $t("homepage.navigation.login") }}
55+
</div>
5256
</div>
5357
</div>
5458
</div>

src/locales/en_US/homepage.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
{
2+
"navigation": {
3+
"registration": "Create Account",
4+
"login": "Login"
5+
},
26
"images": {
37
"section_title": "Command Your Empire from Anywhere",
48
"section_lead": "Monitor bases, manage production, and control your plans effortlessly. With intuitive, powerful tools, you can strategize, expand, and outsmart your rivals wherever you are.",

0 commit comments

Comments
 (0)