Skip to content

Commit ed1ae8a

Browse files
committed
Update top nav title to be 'Go to {page}' for improved clarity
1 parent fc00bc9 commit ed1ae8a

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

src/renderer/components/top-nav/top-nav.js

+7-3
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,13 @@ export default defineComponent({
4545
},
4646

4747
headerLogoTitle: function () {
48-
return this.$t(this.$router.getRoutes()
49-
.find((route) => route.path === '/' + this.landingPage)
50-
.meta.title)
48+
return this.$t('Go to page',
49+
{
50+
page: this.$t(this.$router.getRoutes()
51+
.find((route) => route.path === '/' + this.landingPage)
52+
.meta.title
53+
)
54+
})
5155
},
5256

5357
enableSearchSuggestions: function () {

static/locales/en-US.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ Close: Close
3131
Back: Back
3232
Forward: Forward
3333
Open New Window: Open New Window
34+
Go to page: Go to {page}
3435

3536
Version {versionNumber} is now available! Click for more details: Version {versionNumber} is now available! Click
3637
for more details

0 commit comments

Comments
 (0)