WiP: localized categories

FIXME
This commit is contained in:
nikk gitanes
2024-04-06 12:39:03 +03:00
parent 08834e8785
commit d5699699db
12 changed files with 68 additions and 53 deletions

View File

@@ -148,11 +148,11 @@ export default function RightSideComponent({
onChange={handleCategoryChange}
variant='outlined'
fullWidth
defaultValue='Other'
defaultValue='other'
>
{TORRENT_CATEGORIES.map(category => (
<MenuItem key={category.name} value={category.name}>
{category.name}
<MenuItem key={category.key} value={category.key}>
{t(category.name)}
</MenuItem>
))}
</Select>