Skip to content

Commit 09062a7

Browse files
authored
fix(app-shell): i18n the "Switch Object" breadcrumb dropdown label (#2783)
1 parent 8fb1295 commit 09062a7

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

packages/app-shell/src/layout/AppHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ export function AppHeader({
748748
</DropdownMenuTrigger>
749749
<DropdownMenuContent align="start" sideOffset={8} className="w-56 max-h-72 overflow-y-auto">
750750
<DropdownMenuLabel className="text-xs text-muted-foreground font-normal">
751-
Switch Object
751+
{t('topbar.switchObject', { defaultValue: 'Switch Object' })}
752752
</DropdownMenuLabel>
753753
<DropdownMenuSeparator />
754754
{seg.siblings.map((sibling) => (

packages/i18n/src/locales/en.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1894,6 +1894,7 @@ const en = {
18941894
offline: 'Offline',
18951895
usersOnline: 'Users currently online',
18961896
switchView: 'Switch view',
1897+
switchObject: 'Switch Object',
18971898
connection: {
18981899
connected: 'Connected',
18991900
connecting: 'Connecting...',

packages/i18n/src/locales/zh.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1977,6 +1977,7 @@ const zh = {
19771977
offline: '离线',
19781978
usersOnline: '当前在线用户',
19791979
switchView: '切换视图',
1980+
switchObject: '切换对象',
19801981
connection: {
19811982
connected: '已连接',
19821983
connecting: '连接中...',

0 commit comments

Comments
 (0)