Skip to content

Commit

Permalink
feat(PageFooter): add HotA version
Browse files Browse the repository at this point in the history
  • Loading branch information
rudnovd committed Apr 11, 2024
1 parent dbac17d commit 5651d7e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/components/PageFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@
{{ t('components.pageFooter.licenseInformation') }}
</router-link>
<a href="https://github.com/rudnovd/heroes3tools" target="_blank" rel="noopener">
{{ t('components.pageFooter.sourceCode') }}
🌟{{ t('components.pageFooter.sourceCode') }}
</a>

<span>{{ t('components.pageFooter.appVersion') }}: {{ appVersion }}</span>
<span>{{ t('components.pageFooter.hotaVersion') }}: 1.7.0</span>

<div class="theme-switch">
<input id="mode-input" type="checkbox" :value="isDark" @change="isDark = !isDark" />
Expand Down
3 changes: 2 additions & 1 deletion src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
"button": "Send Error",
"placeholder": "Describe error or paste links to screenshots (for example from https://imgur.com)"
},
"appVersion": "App version"
"appVersion": "App version",
"hotaVersion": "HotA version"
},
"homePage": {
"data": {
Expand Down
1 change: 1 addition & 0 deletions src/locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
"pageFooter": {
"about": "О проекте",
"appVersion": "Версия приложения",
"hotaVersion": "Версия HotA",
"foundAnError": "Нашли ошибку?",
"howToUse": "Как пользоваться",
"language": "Язык",
Expand Down

0 comments on commit 5651d7e

Please sign in to comment.