web/settings: improve settings section ids

This commit is contained in:
wukko 2024-09-18 20:23:29 +06:00
parent b30b6957ce
commit ce054e63fc
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2
3 changed files with 5 additions and 6 deletions

View file

@ -9,7 +9,7 @@
import SettingsToggle from "$components/buttons/SettingsToggle.svelte";
</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")}>
{#each audioFormatOptions as value}
<SettingsButton
@ -23,8 +23,7 @@
</Switcher>
</SettingsCategory>
<SettingsCategory sectionId="audio-bitrate" title={$t("settings.audio.bitrate")}>
<SettingsCategory sectionId="bitrate" title={$t("settings.audio.bitrate")}>
<Switcher big={true} description={$t("settings.audio.bitrate.description")}>
{#each audioBitrateOptions as value}
<SettingsButton

View file

@ -45,7 +45,7 @@
</SettingsCategory>
<SettingsCategory
sectionId="disable-metadata"
sectionId="metadata"
title={$t("settings.metadata.file")}
>
<SettingsToggle

View file

@ -17,7 +17,7 @@
</script>
<SettingsCategory
sectionId="video-quality"
sectionId="quality"
title={$t("settings.video.quality")}
>
<Switcher big={true} description={$t("settings.video.quality.description")}>
@ -34,7 +34,7 @@
</SettingsCategory>
<SettingsCategory
sectionId="youtube-codec"
sectionId="codec"
title={$t("settings.video.youtube.codec")}
>
<Switcher