diff --git a/src/assets/locales/en.json b/src/assets/locales/en.json
index f0ef16ea..bc1b154e 100644
--- a/src/assets/locales/en.json
+++ b/src/assets/locales/en.json
@@ -143,8 +143,8 @@
"settings": {
"videoSection": "Video settings",
"experienceSection": "Viewing experience",
- "enableCaptions": "Enable captions",
- "captionItem": "Caption settings",
+ "enableSubtitles": "Enable Subtitles",
+ "subtitleItem": "Subtitle settings",
"sourceItem": "Video sources",
"playbackItem": "Playback settings",
"downloadItem": "Download",
@@ -174,8 +174,8 @@
"text": "There was an error while trying to find any videos, please try a different source."
}
},
- "captions": {
- "title": "Captions",
+ "subtitles": {
+ "title": "Subtitles",
"customizeLabel": "Customize",
"settings": {
"fixCapitals": "Fix capitalization",
@@ -363,8 +363,8 @@
"language": "Application language",
"languageDescription": "Language applied to the entire application."
},
- "captions": {
- "title": "Captions",
+ "subtitles": {
+ "title": "Subtitles",
"previewQuote": "I must not fear. Fear is the mind-killer.",
"backgroundLabel": "Background opacity",
"textSizeLabel": "Text size",
diff --git a/src/components/player/atoms/settings/CaptionSettingsView.tsx b/src/components/player/atoms/settings/CaptionSettingsView.tsx
index 000cbd30..fa7a8cc2 100644
--- a/src/components/player/atoms/settings/CaptionSettingsView.tsx
+++ b/src/components/player/atoms/settings/CaptionSettingsView.tsx
@@ -229,11 +229,11 @@ export function CaptionSettingsView({ id }: { id: string }) {
return (
<>
router.navigate("/captions")}>
- Custom captions
+ Custom Subtitles
setDelay(v)}
@@ -244,7 +244,7 @@ export function CaptionSettingsView({ id }: { id: string }) {
/>
- {t("player.menus.captions.settings.fixCapitals")}
+ {t("player.menus.subtitles.settings.fixCapitals")}
updateStyling({ backgroundOpacity: v / 100 })}
@@ -263,7 +263,7 @@ export function CaptionSettingsView({ id }: { id: string }) {
textTransformer={(s) => `${s}%`}
/>
`${s}%`}
@@ -271,7 +271,9 @@ export function CaptionSettingsView({ id }: { id: string }) {
value={styling.size * 100}
/>
-
{t("settings.captions.colorLabel")}
+
+ {t("settings.subtitles.colorLabel")}
+
{colors.map((v) => (
fileInput.current?.click()}
>
- {t("player.menus.captions.customChoice")}
+ {t("player.menus.subtitles.customChoice")}
{
const input = subs.map((t) => ({
...t,
@@ -162,11 +162,11 @@ export function CaptionsView({ id }: { id: string }) {
onClick={() => router.navigate("/captions/settings")}
className="py-1 -my-1 px-3 -mx-3 rounded tabbable"
>
- {t("player.menus.captions.customizeLabel")}
+ {t("player.menus.subtitles.customizeLabel")}
}
>
- {t("player.menus.captions.title")}
+ {t("player.menus.subtitles.title")}
@@ -174,7 +174,7 @@ export function CaptionsView({ id }: { id: string }) {
disable()} selected={!lang}>
- {t("player.menus.captions.offChoice")}
+ {t("player.menus.subtitles.offChoice")}
{content}
diff --git a/src/components/player/atoms/settings/SettingsMenu.tsx b/src/components/player/atoms/settings/SettingsMenu.tsx
index 14b3827f..c9ecdf52 100644
--- a/src/components/player/atoms/settings/SettingsMenu.tsx
+++ b/src/components/player/atoms/settings/SettingsMenu.tsx
@@ -32,7 +32,7 @@ export function SettingsMenu({ id }: { id: string }) {
const selectedLanguagePretty = selectedCaptionLanguage
? getLanguageFromIETF(selectedCaptionLanguage) ??
- t("player.menus.captions.unknownLanguage")
+ t("player.menus.subtitles.unknownLanguage")
: undefined;
const source = usePlayerStore((s) => s.source);
@@ -81,13 +81,13 @@ export function SettingsMenu({ id }: { id: string }) {
/>
}
>
- {t("player.menus.settings.enableCaptions")}
+ {t("player.menus.settings.enableSubtitles")}
router.navigate("/captions")}
rightText={selectedLanguagePretty ?? undefined}
>
- {t("player.menus.settings.captionItem")}
+ {t("player.menus.settings.subtitleItem")}
router.navigate("/playback")}>
{t("player.menus.settings.playbackItem")}
diff --git a/src/pages/parts/settings/CaptionsPart.tsx b/src/pages/parts/settings/CaptionsPart.tsx
index 8327e343..f40e1d93 100644
--- a/src/pages/parts/settings/CaptionsPart.tsx
+++ b/src/pages/parts/settings/CaptionsPart.tsx
@@ -58,7 +58,7 @@ export function CaptionPreview(props: {
}
>
@@ -79,11 +79,11 @@ export function CaptionsPart(props: {
return (
-
{t("settings.captions.title")}
+
{t("settings.subtitles.title")}
@@ -93,7 +93,7 @@ export function CaptionsPart(props: {
textTransformer={(s) => `${s}%`}
/>
`${s}%`}
@@ -104,7 +104,7 @@ export function CaptionsPart(props: {
/>
- {t("settings.captions.colorLabel")}
+ {t("settings.subtitles.colorLabel")}
{colors.map((v) => (
diff --git a/src/pages/parts/settings/SidebarPart.tsx b/src/pages/parts/settings/SidebarPart.tsx
index 66d33028..16c657d3 100644
--- a/src/pages/parts/settings/SidebarPart.tsx
+++ b/src/pages/parts/settings/SidebarPart.tsx
@@ -54,7 +54,7 @@ export function SidebarPart() {
icon: Icons.BRUSH,
},
{
- textKey: "settings.captions.title",
+ textKey: "settings.subtitles.title",
id: "settings-captions",
icon: Icons.CAPTIONS,
},