web/settings: improve settings section ids
This commit is contained in:
parent
b30b6957ce
commit
ce054e63fc
3 changed files with 5 additions and 6 deletions
|
@ -9,7 +9,7 @@
|
||||||
import SettingsToggle from "$components/buttons/SettingsToggle.svelte";
|
import SettingsToggle from "$components/buttons/SettingsToggle.svelte";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<SettingsCategory sectionId="audio-format" title={$t("settings.audio.format")}>
|
<SettingsCategory sectionId="format" title={$t("settings.audio.format")}>
|
||||||
<Switcher big={true} description={$t("settings.audio.format.description")}>
|
<Switcher big={true} description={$t("settings.audio.format.description")}>
|
||||||
{#each audioFormatOptions as value}
|
{#each audioFormatOptions as value}
|
||||||
<SettingsButton
|
<SettingsButton
|
||||||
|
@ -23,8 +23,7 @@
|
||||||
</Switcher>
|
</Switcher>
|
||||||
</SettingsCategory>
|
</SettingsCategory>
|
||||||
|
|
||||||
|
<SettingsCategory sectionId="bitrate" title={$t("settings.audio.bitrate")}>
|
||||||
<SettingsCategory sectionId="audio-bitrate" title={$t("settings.audio.bitrate")}>
|
|
||||||
<Switcher big={true} description={$t("settings.audio.bitrate.description")}>
|
<Switcher big={true} description={$t("settings.audio.bitrate.description")}>
|
||||||
{#each audioBitrateOptions as value}
|
{#each audioBitrateOptions as value}
|
||||||
<SettingsButton
|
<SettingsButton
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
</SettingsCategory>
|
</SettingsCategory>
|
||||||
|
|
||||||
<SettingsCategory
|
<SettingsCategory
|
||||||
sectionId="disable-metadata"
|
sectionId="metadata"
|
||||||
title={$t("settings.metadata.file")}
|
title={$t("settings.metadata.file")}
|
||||||
>
|
>
|
||||||
<SettingsToggle
|
<SettingsToggle
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<SettingsCategory
|
<SettingsCategory
|
||||||
sectionId="video-quality"
|
sectionId="quality"
|
||||||
title={$t("settings.video.quality")}
|
title={$t("settings.video.quality")}
|
||||||
>
|
>
|
||||||
<Switcher big={true} description={$t("settings.video.quality.description")}>
|
<Switcher big={true} description={$t("settings.video.quality.description")}>
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
</SettingsCategory>
|
</SettingsCategory>
|
||||||
|
|
||||||
<SettingsCategory
|
<SettingsCategory
|
||||||
sectionId="youtube-codec"
|
sectionId="codec"
|
||||||
title={$t("settings.video.youtube.codec")}
|
title={$t("settings.video.youtube.codec")}
|
||||||
>
|
>
|
||||||
<Switcher
|
<Switcher
|
||||||
|
|
Loading…
Reference in a new issue