From 808a9de1e4e83aa3e9dbc11408de118af4bdeeab Mon Sep 17 00:00:00 2001 From: Nicola Benaglia Date: Wed, 28 May 2025 22:30:33 +0200 Subject: [PATCH] Add translation and refactor deprecated property --- src/components/Apps/AppsPrivate.tsx | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/src/components/Apps/AppsPrivate.tsx b/src/components/Apps/AppsPrivate.tsx index 355d868..3fe611b 100644 --- a/src/components/Apps/AppsPrivate.tsx +++ b/src/components/Apps/AppsPrivate.tsx @@ -281,7 +281,11 @@ export const AppsPrivate = ({ myName }) => { - Private + + {t('core:app_private', { + postProcess: 'capitalizeFirstChar', + })} + @@ -306,10 +310,12 @@ export const AppsPrivate = ({ myName }) => { }} maxWidth="md" fullWidth={true} - PaperProps={{ - style: { - backgroundColor: theme.palette.background.paper, - boxShadow: 'none', + slotProps={{ + paper: { + style: { + backgroundColor: theme.palette.background.paper, + boxShadow: 'none', + }, }, }} > @@ -354,6 +360,7 @@ export const AppsPrivate = ({ myName }) => { /> + {valueTabPrivateApp === 0 && ( <> @@ -369,6 +376,7 @@ export const AppsPrivate = ({ myName }) => { postProcess: 'capitalizeFirstChar', })} +