Skip to content

Commit 8769716

Browse files
lehrtTheresa LehrHighbury1993
authored
misc graph updates-token updates, translation issue, grammatical error (#3910)
Co-authored-by: Theresa Lehr <[email protected]> Co-authored-by: Highbury1993 <[email protected]>
1 parent e6a6a54 commit 8769716

File tree

4 files changed

+24
-6
lines changed

4 files changed

+24
-6
lines changed

package-lock.json

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/app/views/main-header/MainHeader.tsx

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
1-
import { makeStyles, Text, tokens } from '@fluentui/react-components';
1+
import { Text, makeStyles, tokens } from '@fluentui/react-components';
2+
import { useAppDispatch, useAppSelector } from '../../../store';
3+
24
import Authentication from '../authentication/Authentication';
35
import { FeedbackButton } from './FeedbackButton';
46
import { Help } from './Help';
7+
import { PanelLeftExpand20Regular } from '@fluentui/react-icons';
58
import { Settings } from './settings/Settings';
69
import { Tenant } from './Tenant';
7-
import { useAppDispatch, useAppSelector } from '../../../store';
810
import { toggleSidebar } from '../../services/slices/sidebar-properties.slice';
9-
import { PanelLeftExpand20Regular } from '@fluentui/react-icons';
11+
import { translateMessage } from '../../utils/translate-messages';
12+
1013
const useStyles = makeStyles({
1114
root: {
1215
display: 'flex',
@@ -58,7 +61,14 @@ const MainHeader = ()=>{
5861
{mobileScreen && (
5962
<PanelLeftExpand20Regular className={styles.menuIcon} onClick={handleSidebarToggle} />
6063
)}
61-
<Text size={mobileScreen ? 500 : 600} as="h1" className={styles.headerText}>Graph Explorer</Text>
64+
<Text
65+
size={mobileScreen ? 500 : 600} as="h1"
66+
style={{lineHeight: '28px',
67+
color: tokens.colorBrandForeground1
68+
}}
69+
className="notranslate">
70+
{translateMessage('Graph Explorer')}
71+
</Text>
6272
</div>
6373
<HeaderIcons />
6474
</div>

src/app/views/sidebar/sample-queries/tokens.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export function getTokens(user?: any) {
150150
},
151151
{
152152
placeholder: 'user-mail',
153-
demoTenantValue: '[email protected].com',
153+
demoTenantValue: '[email protected].com',
154154
authenticatedUserValueFn: () => {
155155
return emailAddress;
156156
}

src/messages/GE.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@
515515
"sample queries group has ": "sample queries group has ",
516516
"Getting profile details":"Getting profile details",
517517
"Banner notification 1 header": "New to Graph Explorer?",
518-
"Banner notification 1 content": "Graph Explorer is a developer tool that let's you learn about Microsoft Graph APIs. Use Graph Explorer to try the APIs on the default sample tenant to explore capabilities.",
518+
"Banner notification 1 content": "Graph Explorer is a developer tool that lets you learn about Microsoft Graph APIs. Use Graph Explorer to try the APIs on the default sample tenant to explore capabilities.",
519519
"Banner notification 1 link text": "Follow a step-by-step tutorial",
520520
"Banner notification 1 link": "https://learn.microsoft.com/graph/graph-explorer/graph-explorer-overview?view=graph-rest-1.0/?WT.mc_id=msgraph_inproduct_graphex",
521521
"Dismiss banner": "Dismiss banner",

0 commit comments

Comments
 (0)