mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 12:50:01 +00:00
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";
|
||||
</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
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
</SettingsCategory>
|
||||
|
||||
<SettingsCategory
|
||||
sectionId="disable-metadata"
|
||||
sectionId="metadata"
|
||||
title={$t("settings.metadata.file")}
|
||||
>
|
||||
<SettingsToggle
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue