added german, code refactoring
This commit is contained in:
@@ -176,7 +176,7 @@ languages:
|
|||||||
clipboardAction: URL copiato negli appunti
|
clipboardAction: URL copiato negli appunti
|
||||||
playlistCheckbox: Download playlist (richiederà tempo, puoi chiudere la finestra dopo l'inoltro)
|
playlistCheckbox: Download playlist (richiederà tempo, puoi chiudere la finestra dopo l'inoltro)
|
||||||
restartAppMessage: La finestra deve essere ricaricata perché abbia effetto
|
restartAppMessage: La finestra deve essere ricaricata perché abbia effetto
|
||||||
servedFromReverseProxyCheckbox: Is behind a reverse proxy subfolder
|
servedFromReverseProxyCheckbox: Is behind a reverse proxy
|
||||||
newDownloadButton: Nuovo download
|
newDownloadButton: Nuovo download
|
||||||
homeButtonLabel: Home
|
homeButtonLabel: Home
|
||||||
archiveButtonLabel: Archive
|
archiveButtonLabel: Archive
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ export const languages = [
|
|||||||
'catalan',
|
'catalan',
|
||||||
'ukrainian',
|
'ukrainian',
|
||||||
'polish',
|
'polish',
|
||||||
|
'german'
|
||||||
] as const
|
] as const
|
||||||
|
|
||||||
export type Language = (typeof languages)[number]
|
export type Language = (typeof languages)[number]
|
||||||
|
|||||||
@@ -27,9 +27,14 @@ const DownloadsListView: React.FC = () => {
|
|||||||
return (
|
return (
|
||||||
<Grid container spacing={{ xs: 2, md: 2 }} columns={{ xs: 4, sm: 8, md: 12 }} pt={2}>
|
<Grid container spacing={{ xs: 2, md: 2 }} columns={{ xs: 4, sm: 8, md: 12 }} pt={2}>
|
||||||
<Grid item xs={12}>
|
<Grid item xs={12}>
|
||||||
<TableContainer component={Paper} sx={{ minHeight: '100%' }} elevation={2}>
|
<TableContainer
|
||||||
|
component={Paper}
|
||||||
|
sx={{ minHeight: '100%' }}
|
||||||
|
elevation={2}
|
||||||
|
hidden={downloads.length === 0}
|
||||||
|
>
|
||||||
<Table>
|
<Table>
|
||||||
<TableHead hidden={downloads.length === 0}>
|
<TableHead>
|
||||||
<TableRow>
|
<TableRow>
|
||||||
<TableCell>
|
<TableCell>
|
||||||
<Typography fontWeight={500} fontSize={15}>Title</Typography>
|
<Typography fontWeight={500} fontSize={15}>Title</Typography>
|
||||||
|
|||||||
Reference in New Issue
Block a user