Merge pull request 19 with minor changes

This commit is contained in:
Captain Jack Sparrow 2024-05-05 14:47:00 +00:00
parent 493d2bee88
commit 8ce52438d1
3 changed files with 4253 additions and 5230 deletions

File diff suppressed because it is too large Load Diff

View File

@ -620,7 +620,7 @@
"previewQuote": "Would you rather have a thot daughter or a gay son? 🤔",
"textSizeLabel": "Text size",
"title": "Subtitles",
"textBoldLabel": "Text bold"
"textBoldLabel": "Bold text"
},
"unsaved": "You have unsaved changes... ฅ^•ﻌ•^ฅ"
}

View File

@ -253,6 +253,17 @@ export function CaptionSettingsView({ id }: { id: string }) {
/>
</div>
</div>
<div className="flex justify-between items-center">
<Menu.FieldTitle>
{t("settings.subtitles.textBoldLabel")}
</Menu.FieldTitle>
<div className="flex justify-center items-center">
<Toggle
enabled={styling.bold}
onClick={() => updateStyling({ bold: !styling.bold })}
/>
</div>
</div>
<Menu.Divider />
<CaptionSetting
label={t("settings.subtitles.backgroundLabel")}
@ -278,17 +289,6 @@ export function CaptionSettingsView({ id }: { id: string }) {
onChange={(v) => updateStyling({ size: v / 100 })}
value={styling.size * 100}
/>
<div className="flex justify-between items-center">
<Menu.FieldTitle>
{t("settings.subtitles.textBoldLabel")}
</Menu.FieldTitle>
<div className="flex justify-center items-center">
<Toggle
enabled={styling.bold}
onClick={() => updateStyling({ bold: !styling.bold })}
/>
</div>
</div>
<div className="flex justify-between items-center">
<Menu.FieldTitle>
{t("settings.subtitles.colorLabel")}