Skip to content

Commit 77f836a

Browse files
committed
feat(i18n): add navigation label to localization and update Home.vue to use localized title
1 parent 01777e7 commit 77f836a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/application/i18n/messages/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@
108108
"title": "My notes"
109109
}
110110
},
111+
"navigation": "Navigation",
111112
"updated": "Updated",
112113
"title": "Home",
113114
"authText": "You are not logged in, log in to see your recent notes"

src/presentation/pages/Home.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ const activeMenuItem = ref<TabId>('recents');
100100
const sectionTitle = computed(() => t(tabs[activeMenuItem.value].titleKey));
101101
102102
const verticalMenuItems = computed<VerticalMenuItem>(() => ({
103-
title: 'Navigation',
103+
title: t('home.navigation'),
104104
isActive: false,
105105
items: (Object.keys(tabs) as TabId[]).map(tabId => ({
106106
title: t(tabs[tabId].titleKey),

0 commit comments

Comments
 (0)