File tree Expand file tree Collapse file tree 3 files changed +16
-6
lines changed
packages/orchestrator-ui-components/src Expand file tree Collapse file tree 3 files changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import { useGetVersionsQuery } from '@/rtk/endpoints/versions';
1616import { toOptionalArrayEntry } from '@/utils' ;
1717
1818export const WfoHamburgerMenu = ( { } ) => {
19- const t = useTranslations ( 'main ' ) ;
19+ const t = useTranslations ( 'hamburgerMenu ' ) ;
2020 const [ isPopoverOpen , setPopoverIsOpen ] = useState ( false ) ;
2121 const { theme, isDarkThemeActive } = useOrchestratorTheme ( ) ;
2222 const { enableSupportMenuItem, supportMenuItemUrl } =
@@ -34,7 +34,7 @@ export const WfoHamburgerMenu = ({}) => {
3434 } = useGetVersionsQuery ( ) ;
3535
3636 const logoutItem = {
37- name : 'Logout' ,
37+ name : t ( 'logout' ) ,
3838 icon : (
3939 < WfoLogoutIcon
4040 color = {
@@ -46,7 +46,7 @@ export const WfoHamburgerMenu = ({}) => {
4646 } ;
4747
4848 const supportItem = {
49- name : 'Support' ,
49+ name : t ( 'support' ) ,
5050 icon : (
5151 < WfoQuestionCircle
5252 color = {
@@ -58,7 +58,7 @@ export const WfoHamburgerMenu = ({}) => {
5858 } ;
5959
6060 const versionItem = {
61- name : 'Software Versions' ,
61+ name : t ( 'softwareVersions' ) ,
6262 icon : < WfoSquareStack3dStack width = { 24 } height = { 24 } /> ,
6363 panel : 4 ,
6464 } ;
Original file line number Diff line number Diff line change 2424 "resetToDefault" : " Reset to default" ,
2525 "savePreferences" : " Save preferences" ,
2626 "numberOfRows" : " Number of rows" ,
27- "tableSettings" : " Table settings" ,
28- "openMenu" : " Open menu"
27+ "tableSettings" : " Table settings"
2928 },
3029 "common" : {
3130 "product" : " Product" ,
428427 "headerTitle" : " Total number of products" ,
429428 "listTitle" : " Total number of product instances"
430429 }
430+ },
431+ "hamburgerMenu" : {
432+ "openMenu" : " Open menu" ,
433+ "support" : " Support" ,
434+ "softwareVersions" : " Software Versions" ,
435+ "logout" : " Logout"
431436 }
432437}
Original file line number Diff line number Diff line change 428428 "headerTitle" : " Totaal aantal producten" ,
429429 "listTitle" : " Totaal aantal productinstanties"
430430 }
431+ },
432+ "hamburgerMenu" : {
433+ "support" : " Support" ,
434+ "softwareVersions" : " Software Versies" ,
435+ "logout" : " Logout"
431436 }
432437}
You can’t perform that action at this time.
0 commit comments