Skip to content

Commit f1eb507

Browse files
committed
fix: some missing translations
1 parent f1f8692 commit f1eb507

File tree

6 files changed

+11
-4
lines changed

6 files changed

+11
-4
lines changed

app/app.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,9 @@ provide('navigation', navigation)
5858

5959
<ClientOnly>
6060
<LazyUContentSearch
61-
:files="files"
6261
shortcut="meta_k"
62+
:placeholder="$t('Search...')"
63+
:files="files"
6364
:navigation="navigation"
6465
:links="links"
6566
:fuse="{ resultLimit: 42 }"

app/error.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,9 @@ const links = [{
7777

7878
<ClientOnly>
7979
<LazyUContentSearch
80-
:files="files"
8180
shortcut="meta_k"
81+
:placeholder="$t('Search...')"
82+
:files="files"
8283
:navigation="navigation"
8384
:links="links"
8485
:fuse="{ resultLimit: 42 }"

app/layouts/app.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,10 @@ onMounted(async () => {
109109

110110
<template>
111111
<UDashboardGroup>
112-
<UDashboardSearch :groups="groups" />
112+
<UDashboardSearch
113+
:placeholder="$t('Search...')"
114+
:groups="groups"
115+
/>
113116

114117
<UDashboardSidebar
115118
v-model:open="open"

i18n/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"No Notification Found!": "No Notification Found!",
1717
"No more notifications": "No more notifications",
1818
"Search": "Search",
19+
"Search...": "Search...",
1920
"User": "User",
2021
"Profile Settings": "Profile Settings",
2122
"Billing & Plan": "Billing & Plan",

i18n/vi.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"No Notification Found!": "Không tìm thấy thông báo!",
1717
"No more notifications": "Không còn thông báo",
1818
"Search": "Tìm kiếm",
19+
"Search...": "Tìm kiếm...",
1920
"User": "Người dùng",
2021
"Profile Settings": "Cài đặt hồ sơ",
2122
"Billing & Plan": "Thanh toán & Gói",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@thecodeorigin/nuxt",
33
"type": "module",
4-
"version": "2.5.2",
4+
"version": "2.5.4",
55
"publishConfig": {
66
"registry": "https://registry.npmjs.org",
77
"access": "public"

0 commit comments

Comments
 (0)