mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-11-08 09:45:34 +05:30
fix: translations
This commit is contained in:
parent
73224021d6
commit
67e092ff1c
1 changed files with 3 additions and 3 deletions
|
|
@ -117,7 +117,7 @@ export default function Hero() {
|
|||
if (tool === undefined) {
|
||||
return [];
|
||||
}
|
||||
return [tool];
|
||||
return [{ ...tool, label: t(tool.label) }];
|
||||
})
|
||||
: exampleTools;
|
||||
|
||||
|
|
@ -189,9 +189,9 @@ export default function Hero() {
|
|||
<Stack direction={'row'} spacing={2} alignItems={'center'}>
|
||||
<Icon fontSize={20} icon={option.icon} />
|
||||
<Box>
|
||||
<Typography fontWeight={'bold'}>{option.name}</Typography>
|
||||
<Typography fontWeight={'bold'}>{t(option.name)}</Typography>
|
||||
<Typography fontSize={12}>
|
||||
{option.shortDescription}
|
||||
{t(option.shortDescription)}
|
||||
</Typography>
|
||||
</Box>
|
||||
</Stack>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue