Add translation and refactor deprecated property

This commit is contained in:
Nicola Benaglia 2025-05-28 22:30:33 +02:00
parent 94d538b9eb
commit 808a9de1e4

View File

@ -281,7 +281,11 @@ export const AppsPrivate = ({ myName }) => {
<AddIcon />
</AppCircle>
<AppCircleLabel>Private</AppCircleLabel>
<AppCircleLabel>
{t('core:app_private', {
postProcess: 'capitalizeFirstChar',
})}
</AppCircleLabel>
</AppCircleContainer>
</ButtonBase>
@ -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 }) => {
/>
</Tabs>
</Box>
{valueTabPrivateApp === 0 && (
<>
<DialogContent>
@ -369,6 +376,7 @@ export const AppsPrivate = ({ myName }) => {
postProcess: 'capitalizeFirstChar',
})}
</Label>
<Label>
{t('group:message.generic.only_private_groups', {
postProcess: 'capitalizeFirstChar',
@ -422,6 +430,7 @@ export const AppsPrivate = ({ myName }) => {
<Label>
{t('core:name', { postProcess: 'capitalizeFirstChar' })}
</Label>
<Input
placeholder={t('core:name', {
postProcess: 'capitalizeFirstChar',
@ -480,6 +489,7 @@ export const AppsPrivate = ({ myName }) => {
postProcess: 'capitalizeFirstChar',
})}
</Button>
<Button
disabled={
!privateAppValues.name ||
@ -498,6 +508,7 @@ export const AppsPrivate = ({ myName }) => {
</DialogActions>
</>
)}
{valueTabPrivateApp === 1 && (
<>
<DialogContent>
@ -519,8 +530,7 @@ export const AppsPrivate = ({ myName }) => {
backgroundColor: theme.palette.background.paper,
fontSize: '14px',
}}
>{`
50mb MB max`}</PublishQAppInfo>
>{` 50mb MB max`}</PublishQAppInfo>
{file && (
<>
<Spacer height="5px" />
@ -612,6 +622,7 @@ export const AppsPrivate = ({ myName }) => {
postProcess: 'capitalizeFirstChar',
})}
</Label>
<Input
placeholder={t('core:identifier', {
postProcess: 'capitalizeFirstChar',