Skip to content

Commit

Permalink
Improved Settings wording and organization.
Browse files Browse the repository at this point in the history
  • Loading branch information
JaiZed authored Dec 10, 2024
1 parent a7df6a9 commit d2dc869
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 42 deletions.
2 changes: 1 addition & 1 deletion frontend/src/pages/Settings/Languages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ const SettingsLanguagesView: FunctionComponent = () => {
empty if you don't want Bazarr to remove language profiles.
</Message>
</Section>
<Section header="Default Settings">
<Section header="Default Language Profiles For Newly Added Shows">
<Check
label="Series"
settingKey="settings-general-serie_default_enabled"
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/Settings/Radarr/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const SettingsRadarrView: FunctionComponent = () => {
</Section>
<Section header="Options">
<Slider
label="Minimum Score"
label="Minimum Score For Movies"
settingKey="settings-general-minimum_score_movie"
></Slider>
<Chips
Expand Down
12 changes: 6 additions & 6 deletions frontend/src/pages/Settings/Scheduler/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const SettingsSchedulerView: FunctionComponent = () => {
on={(k) => k === "Weekly"}
>
<Selector
label="Day of The Week"
label="Day of Week"
settingKey="settings-sonarr-full_update_day"
options={dayOptions}
></Selector>
Expand All @@ -107,7 +107,7 @@ const SettingsSchedulerView: FunctionComponent = () => {
on={(k) => k === "Daily" || k === "Weekly"}
>
<Selector
label="Time of The Day"
label="Time of Day"
settingKey="settings-sonarr-full_update_hour"
options={timeOptions}
></Selector>
Expand All @@ -134,7 +134,7 @@ const SettingsSchedulerView: FunctionComponent = () => {
on={(k) => k === "Weekly"}
>
<Selector
label="Day of The Week"
label="Day of Week"
settingKey="settings-radarr-full_update_day"
options={dayOptions}
></Selector>
Expand All @@ -144,7 +144,7 @@ const SettingsSchedulerView: FunctionComponent = () => {
on={(k) => k === "Daily" || k === "Weekly"}
>
<Selector
label="Time of The Day"
label="Time of Day"
settingKey="settings-radarr-full_update_hour"
options={timeOptions}
></Selector>
Expand Down Expand Up @@ -190,7 +190,7 @@ const SettingsSchedulerView: FunctionComponent = () => {
on={(k) => k === "Weekly"}
>
<Selector
label="Day of The Week"
label="Day of Week"
settingKey="settings-backup-day"
options={dayOptions}
></Selector>
Expand All @@ -200,7 +200,7 @@ const SettingsSchedulerView: FunctionComponent = () => {
on={(k) => k === "Daily" || k === "Weekly"}
>
<Selector
label="Time of The Day"
label="Time of Day"
settingKey="settings-backup-hour"
options={timeOptions}
></Selector>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/Settings/Sonarr/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const SettingsSonarrView: FunctionComponent = () => {
</Section>
<Section header="Options">
<Slider
label="Minimum Score"
label="Minimum Score For Episodes"
settingKey="settings-general-minimum_score"
></Slider>
<Chips
Expand Down
66 changes: 33 additions & 33 deletions frontend/src/pages/Settings/Subtitles/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ const commandOptionElements: React.JSX.Element[] = commandOptions.map(
const SettingsSubtitlesView: FunctionComponent = () => {
return (
<Layout name="Subtitles">
<Section header="Basic Options">
<Section header="Subtitle File Options">
<Selector
label="Subtitle Folder"
options={folderOptions}
Expand All @@ -156,8 +156,26 @@ const SettingsSubtitlesView: FunctionComponent = () => {
What file extension to use when saving hearing-impaired subtitles to
disk (e.g., video.en.sdh.srt).
</Message>
<Check
label="Encode Subtitles To UTF-8"
settingKey="settings-general-utf8_encode"
></Check>
<Message>
Re-encode downloaded subtitles to UTF-8. Should be left enabled in
most cases.
</Message>
<Check
label="Change Subtitle File Permission After Download (chmod)"
settingKey="settings-general-chmod_enabled"
></Check>
<CollapseBox indent settingKey="settings-general-chmod_enabled">
<Text placeholder="0777" settingKey="settings-general-chmod"></Text>
<Message>
Must be a 4 digit octal number. Only for non-Windows systems.
</Message>
</CollapseBox>
</Section>
<Section header="Embedded Subtitles">
<Section header="Embedded Subtitles Handling">
<Check
label="Treat Embedded Subtitles as Downloaded"
settingKey="settings-general-use_embedded_subs"
Expand Down Expand Up @@ -233,28 +251,6 @@ const SettingsSubtitlesView: FunctionComponent = () => {
</Message>
</CollapseBox>
</Section>
<Section header="Encoding">
<Check
label="Encode Subtitles To UTF-8"
settingKey="settings-general-utf8_encode"
></Check>
<Message>
Re-encode downloaded subtitles to UTF-8. Should be left enabled in
most cases.
</Message>
</Section>
<Section header="Permissions">
<Check
label="Change Subtitle File Permission (chmod)"
settingKey="settings-general-chmod_enabled"
></Check>
<CollapseBox indent settingKey="settings-general-chmod_enabled">
<Text placeholder="0777" settingKey="settings-general-chmod"></Text>
<Message>
Must be a 4 digit octal number. Only for non-Windows systems.
</Message>
</CollapseBox>
</Section>
<Section header="Performance / Optimization">
<Check
label="Adaptive Searching"
Expand Down Expand Up @@ -304,7 +300,11 @@ const SettingsSubtitlesView: FunctionComponent = () => {
results scores.
</Message>
</Section>
<Section header="Sub-Zero Modifications">
<Section header="Sub-Zero Subtitle Content Modifications">
<Message>
After downloaded, content of the subtitles will be modified based on
options selected below.
</Message>
<Check
label="Hearing Impaired"
settingOptions={{ onLoaded: SubzeroModification("remove_HI") }}
Expand Down Expand Up @@ -373,7 +373,7 @@ const SettingsSubtitlesView: FunctionComponent = () => {
playback devices.
</Message>
</Section>
<Section header="Synchronization / Alignment">
<Section header="Audio Synchronization / Alignment">
<Check
label="Always use Audio Track as Reference for Syncing"
settingKey="settings-subsync-force_audio"
Expand All @@ -383,7 +383,7 @@ const SettingsSubtitlesView: FunctionComponent = () => {
subtitle.
</Message>
<Check
label="No Fix Framerate"
label="Do Not Fix Framerate Mismatch"
settingKey="settings-subsync-no_fix_framerate"
></Check>
<Message>
Expand All @@ -408,11 +408,11 @@ const SettingsSubtitlesView: FunctionComponent = () => {
The max allowed offset seconds for any subtitle segment.
</Message>
<Check
label="Automatic Subtitles Synchronization"
label="Automatic Subtitles Audio Synchronization"
settingKey="settings-subsync-use_subsync"
></Check>
<Message>
Enable automatic synchronization after downloading subtitles.
Enable automatic audio synchronization after downloading subtitles.
</Message>
<CollapseBox indent settingKey="settings-subsync-use_subsync">
<MultiSelector
Expand All @@ -429,7 +429,7 @@ const SettingsSubtitlesView: FunctionComponent = () => {
the media file.
</Message>
<Check
label="Series Score Threshold"
label="Series Score Threshold For Audio Sync"
settingKey="settings-subsync-use_subsync_threshold"
></Check>
<CollapseBox
Expand All @@ -447,7 +447,7 @@ const SettingsSubtitlesView: FunctionComponent = () => {
</Message>
</CollapseBox>
<Check
label="Movies Score Threshold"
label="Movies Score Threshold For Audio Sync"
settingKey="settings-subsync-use_subsync_movie_threshold"
></Check>
<CollapseBox
Expand Down Expand Up @@ -478,7 +478,7 @@ const SettingsSubtitlesView: FunctionComponent = () => {
<CollapseBox indent settingKey="settings-general-use_postprocessing">
<Check
settingKey="settings-general-use_postprocessing_threshold"
label="Series Score Threshold"
label="Series Score Threshold For Post-Processing"
></Check>
<CollapseBox
indent
Expand All @@ -496,7 +496,7 @@ const SettingsSubtitlesView: FunctionComponent = () => {
</CollapseBox>
<Check
settingKey="settings-general-use_postprocessing_threshold_movie"
label="Movies Score Threshold"
label="Movies Score Threshold For Post-Processing"
></Check>
<CollapseBox
indent
Expand Down

0 comments on commit d2dc869

Please sign in to comment.