Rename "childRoutes" to "children"

This commit is contained in:
schroda
2026-05-28 00:01:54 +02:00
parent e973872539
commit 27c87185b1
24 changed files with 85 additions and 106 deletions

View File

@@ -179,7 +179,7 @@ export function Library() {
<Button
size="large"
component={Link}
to={AppRoutes.sources.childRoutes.searchAll.path(query)}
to={AppRoutes.sources.children.searchAll.path(query)}
sx={{ textTransform: 'none', width: '100%' }}
>
{t`Search for "${query}" globally`}

View File

@@ -129,7 +129,7 @@ export function LibrarySettings() {
</ListSubheader>
}
>
<ListItemLink to={AppRoutes.settings.childRoutes.categories.path}>
<ListItemLink to={AppRoutes.settings.children.categories.path}>
<ListItemText
primary={t`Edit categories`}
secondary={plural(categoryCount, {
@@ -197,7 +197,7 @@ export function LibrarySettings() {
secondary={t`Remove non library manga from categories`}
/>
</ListItemButton>
<ListItemLink to={AppRoutes.settings.childRoutes.library.childRoutes.duplicates.path}>
<ListItemLink to={AppRoutes.settings.children.library.children.duplicates.path}>
<ListItemText
primary={t`Duplicated entries`}
secondary={t`Show all duplicated entries in your library`}