@@ -16,6 +16,11 @@ import { UserAvatar } from "../User"
16
16
import { UserProfileCard } from "../User/UserProfileCard"
17
17
import { BorderedMenu } from "./BorderedMenu"
18
18
19
+ export const Language = {
20
+ accountLabel :"Account" ,
21
+ docsLabel :"Documentation" ,
22
+ signOutLabel :"Sign Out" ,
23
+ }
19
24
export interface UserDropdownProps {
20
25
user :UserResponse
21
26
onSignOut :( ) => void
@@ -75,7 +80,7 @@ export const UserDropdown: React.FC<UserDropdownProps> = ({ user, onSignOut }: U
75
80
< ListItemIcon className = { styles . icon } >
76
81
< AccountIcon />
77
82
</ ListItemIcon >
78
- < ListItemText primary = "Account" />
83
+ < ListItemText primary = { Language . accountLabel } />
79
84
</ MenuItem >
80
85
</ Link >
81
86
@@ -84,15 +89,15 @@ export const UserDropdown: React.FC<UserDropdownProps> = ({ user, onSignOut }: U
84
89
< ListItemIcon className = { styles . icon } >
85
90
< DocsIcon />
86
91
</ ListItemIcon >
87
- < ListItemText primary = "Documentation" />
92
+ < ListItemText primary = { Language . docsLabel } />
88
93
</ MenuItem >
89
94
</ a >
90
95
91
96
< MenuItem className = { styles . menuItem } onClick = { onSignOut } >
92
97
< ListItemIcon className = { styles . icon } >
93
98
< LogoutIcon />
94
99
</ ListItemIcon >
95
- < ListItemText primary = "Sign Out" />
100
+ < ListItemText primary = { Language . signOutLabel } />
96
101
</ MenuItem >
97
102
</ div >
98
103
</ BorderedMenu >