mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-09-20 14:39:34 +02:00
fix: translations
This commit is contained in:
@@ -117,7 +117,7 @@ export default function Hero() {
|
|||||||
if (tool === undefined) {
|
if (tool === undefined) {
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
return [tool];
|
return [{ ...tool, label: t(tool.label) }];
|
||||||
})
|
})
|
||||||
: exampleTools;
|
: exampleTools;
|
||||||
|
|
||||||
@@ -189,9 +189,9 @@ export default function Hero() {
|
|||||||
<Stack direction={'row'} spacing={2} alignItems={'center'}>
|
<Stack direction={'row'} spacing={2} alignItems={'center'}>
|
||||||
<Icon fontSize={20} icon={option.icon} />
|
<Icon fontSize={20} icon={option.icon} />
|
||||||
<Box>
|
<Box>
|
||||||
<Typography fontWeight={'bold'}>{option.name}</Typography>
|
<Typography fontWeight={'bold'}>{t(option.name)}</Typography>
|
||||||
<Typography fontSize={12}>
|
<Typography fontSize={12}>
|
||||||
{option.shortDescription}
|
{t(option.shortDescription)}
|
||||||
</Typography>
|
</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
Reference in New Issue
Block a user