{child.children?.map((child) => (
))}
diff --git a/public/app/core/components/AppChrome/News/NewsContainer.tsx b/public/app/core/components/AppChrome/News/NewsContainer.tsx
index 6511dac8b7f..f82570c199c 100644
--- a/public/app/core/components/AppChrome/News/NewsContainer.tsx
+++ b/public/app/core/components/AppChrome/News/NewsContainer.tsx
@@ -2,6 +2,7 @@ import React from 'react';
import { useToggle } from 'react-use';
import { Drawer, ToolbarButton } from '@grafana/ui';
+import { t } from 'app/core/internationalization';
import { DEFAULT_FEED_URL } from 'app/plugins/panel/news/constants';
import { NewsWrapper } from './NewsWrapper';
@@ -17,7 +18,7 @@ export function NewsContainer() {
<>
{showNewsDrawer && (
-
+
)}
diff --git a/public/app/core/components/AppChrome/TopBar/TopNavBarMenu.tsx b/public/app/core/components/AppChrome/TopBar/TopNavBarMenu.tsx
index d41df0a14c4..a740f5afc60 100644
--- a/public/app/core/components/AppChrome/TopBar/TopNavBarMenu.tsx
+++ b/public/app/core/components/AppChrome/TopBar/TopNavBarMenu.tsx
@@ -6,7 +6,7 @@ import { useLocation } from 'react-router-dom';
import { GrafanaTheme2, NavModelItem } from '@grafana/data';
import { Menu, MenuItem, useStyles2 } from '@grafana/ui';
-import getNavTranslation from '../../NavBar/navBarItem-translations';
+import { getNavTitle } from '../../NavBar/navBarItem-translations';
import { enrichConfigItems, enrichWithInteractionTracking } from '../../NavBar/utils';
export interface TopNavBarMenuProps {
@@ -27,13 +27,13 @@ export function TopNavBarMenu({ node: nodePlain }: TopNavBarMenuProps) {
}
>
{node.children?.map((item) => {
- const itemText = getNavTranslation(item.id) ?? item.text;
+ const itemText = getNavTitle(item.id) ?? item.text;
const showExternalLinkIcon = /^https?:\/\//.test(item.url || '');
return item.url ? (