Skip to content

Commit fc7ad84

Browse files
committed
remove app name from i18n
1 parent b561bee commit fc7ad84

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

public/locales/en.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@
118118
"subtitleMessage": "Looks like this page is not opened inside of the Hyperspace Portal. Contact admins for help."
119119
},
120120
"ShellBar": {
121-
"applicationName": "ManagedControlPlane UI",
122121
"betaButton": "Beta",
123122
"betaButtonDescription": "This web app is currently in Beta, and may not be ready for productive use. We're actively improving the experience and would love your feedback — your input helps shape the future of the app!",
124123
"signOutButton": "Sign Out",

src/components/Core/ShellBar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ export function ShellBarComponent() {
2121
const auth = useAuthOnboarding();
2222
const profilePopoverRef = useRef<PopoverDomRef>(null);
2323
const [profilePopoverOpen, setProfilePopoverOpen] = useState(false);
24-
const { t } = useTranslation();
2524

2625
const onProfileClick = (e: Ui5CustomEvent<ShellBarDomRef, ShellBarProfileClickEventDetail>) => {
2726
profilePopoverRef.current!.opener = e.detail.targetRef;
@@ -47,7 +46,8 @@ export function ShellBarComponent() {
4746
<div className={styles.container}>
4847
<div className={styles.logoWrapper}>
4948
<img src={SapLogo} alt="SAP" className={styles.logo} />
50-
<span className={styles.logoText}>{t('ShellBar.applicationName')}</span>
49+
{/* eslint-disable-next-line i18next/no-literal-string */}
50+
<span className={styles.logoText}>ManagedControlPlane UI</span>
5151
</div>
5252
</div>
5353
}

0 commit comments

Comments
 (0)