Typos 'texte' => 'parole'

This commit is contained in:
Cédric FAMIBELLE-PRONZOLA
2022-05-23 18:34:55 +04:00
parent c39a0e6669
commit 2d2d531a3e
10 changed files with 17 additions and 17 deletions
+2 -2
View File
@@ -4,8 +4,8 @@ import {Button} from '@mui/material'
export default function MontreTeks({handleClick}) {
return (
<Box sx={{'& > :not(style)': {m: 1.7}}}>
<Button variant='text' onClick={handleClick}>Afficher tous les textes</Button>
<Box sx={{'& > :not(style)': {m: 0.5}}}>
<Button variant='text' onClick={handleClick}>Afficher toutes les paroles</Button>
</Box>
)
}
+1 -1
View File
@@ -51,7 +51,7 @@ export default function Pataje({parole, setError, setSuccess}) {
const alias = artistes.data.map(({attributes}) => attributes.alias)
const renderAwtis = new Intl.ListFormat('fr').format(alias)
const text = parole.user || parole.userAdmin ? `${renderAwtis} - ${titre} (Paroles et Traductions) - (texte soumis par ${parole?.user?.data?.attributes?.username || parole.userAdmin?.data?.attributes?.username || parole.userAdmin?.data?.attributes?.firstname})` : `${renderAwtis} - ${parole} (Paroles et Traductions)`
const text = parole.user || parole.userAdmin ? `${renderAwtis} - ${titre} (Paroles et Traductions) - (parole soumise par ${parole?.user?.data?.attributes?.username || parole.userAdmin?.data?.attributes?.username || parole.userAdmin?.data?.attributes?.firstname})` : `${renderAwtis} - ${parole} (Paroles et Traductions)`
const handleClose = () => {
setOpen(false)
+1 -1
View File
@@ -163,7 +163,7 @@ export default function TeksDrawer({parole, paroleId, slug, denyeTeks}) {
</Stream>
) : (
<Typography noWrap variant='h6'>
Derniers textes
Dernières paroles
</Typography>
)}
</Toolbar>
+3 -3
View File
@@ -68,12 +68,12 @@ export default function TeksKat({parole}) {
<Typography variant='caption'>
{parole.user && (
<>
(<i>texte soumis par {parole.user.username}</i>)
(<i>parole soumise par {parole.user.username}</i>)
</>
)}
{parole.userAdmin && !parole.user && (
<>
(<i>texte soumis par {parole.userAdmin}</i>)
(<i>parole soumise par {parole.userAdmin}</i>)
</>
)}
</Typography>
@@ -84,7 +84,7 @@ export default function TeksKat({parole}) {
{annee}
</Typography>
<Typography align='center' style={{marginTop: '0.5em'}} variant='body1' color='textSecondary' component='p'>
Publié le : {datPiblikasyon}
Publiée le : {datPiblikasyon}
</Typography>
</CardContent>
</CardActionArea>
+2 -2
View File
@@ -158,12 +158,12 @@ export default function Teks({parole, paroleId, commentaires, open, success, err
</Typography>
{parole?.user?.data && (
<Typography style={{marginBottom: '1.5em'}} display='block' variant='caption'>
<i>texte soumis par {parole.user.data.attributes.username}</i>
<i>parole soumise par {parole.user.data.attributes.username}</i>
</Typography>
)}
{parole?.userAdmin?.data && !parole.user.data && (
<Typography style={{marginBottom: '1.5em'}} display='block' variant='caption'>
<i>texte soumis par {parole.userAdmin.data.attributes.username || parole.userAdmin.data.attributes.firstname}</i>
<i>parole soumise par {parole.userAdmin.data.attributes.username || parole.userAdmin.data.attributes.firstname}</i>
</Typography>
)}
</Box>