Skip to content

Commit 30be301

Browse files
committed
fix(hub-ui): localize the docks landmark label
The nav landmark kept an English name when the UI switched language. It now uses the existing settings.docks translation.
1 parent d396dc6 commit 30be301

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎packages/hub-ui/src/client/components/dock/DockStandalone.vue‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<script setup lang="ts">
22
import type { DocksContext } from '@devframes/hub/client'
33
import { computed, useTemplateRef, watch } from 'vue'
4+
import { t } from '../../i18n'
45
import { getEntryGroup } from '../../state/dock-settings'
56
import { getEntryPaneKey, useIframePanes } from '../../utils/useIframePanes'
67
import { useIsRpcTrusted } from '../../utils/useIsRpcTrusted'
@@ -59,7 +60,7 @@ function switchEntry(id: string | undefined) {
5960
<ViewBuiltinClientAuthNotice :context="context" />
6061
</main>
6162
<div v-else class="h-screen w-screen of-clip grid cols-[max-content_1fr]">
62-
<nav aria-label="Docks" class="border-r border-base flex flex-col min-h-0">
63+
<nav :aria-label="t('settings.docks')" class="border-r border-base flex flex-col min-h-0">
6364
<div class="p2 border-b border-base flex">
6465
<BrandMark class="w-7 h-7 ma" />
6566
</div>

0 commit comments

Comments
 (0)