From bc32fc3f8a8f2e79997039b02dd881264945d1a8 Mon Sep 17 00:00:00 2001 From: Vijay <74645268+vijaysingh2219@users.noreply.github.com> Date: Thu, 28 Dec 2023 21:56:28 +0530 Subject: [PATCH] Create translation string for backlink in subtitles settings --- src/assets/locales/en.json | 1 + src/components/player/atoms/settings/CaptionSettingsView.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/assets/locales/en.json b/src/assets/locales/en.json index bc1b154e..4b4874de 100644 --- a/src/assets/locales/en.json +++ b/src/assets/locales/en.json @@ -178,6 +178,7 @@ "title": "Subtitles", "customizeLabel": "Customize", "settings": { + "backlink": "Custom Subtitles", "fixCapitals": "Fix capitalization", "delay": "Caption delay" }, diff --git a/src/components/player/atoms/settings/CaptionSettingsView.tsx b/src/components/player/atoms/settings/CaptionSettingsView.tsx index fa7a8cc2..a12dea63 100644 --- a/src/components/player/atoms/settings/CaptionSettingsView.tsx +++ b/src/components/player/atoms/settings/CaptionSettingsView.tsx @@ -229,7 +229,7 @@ export function CaptionSettingsView({ id }: { id: string }) { return ( <> router.navigate("/captions")}> - Custom Subtitles + {t("player.menus.subtitles.settings.backlink")}