web/settings/video: update h265 toggle strings

because now it also applies to xiaohongshu
This commit is contained in:
wukko 2025-01-20 19:59:59 +06:00
parent 7488c74faf
commit 9f0f885ae6
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2
2 changed files with 12 additions and 11 deletions

View file

@ -40,9 +40,9 @@
"video.twitter.gif.title": "convert looping videos to GIF",
"video.twitter.gif.description": "GIF conversion is inefficient, converted file may be obnoxiously big and low quality.",
"video.tiktok.h265": "tiktok",
"video.tiktok.h265.title": "prefer HEVC/H265 format",
"video.tiktok.h265.description": "allows downloading videos in 1080p at cost of compatibility.",
"video.h265": "high efficiency video codec",
"video.h265.title": "allow h265 for videos",
"video.h265.description": "allows downloading videos from platforms like tiktok and xiaohongshu in higher quality at cost of compatibility.",
"audio.format": "audio format",
"audio.format.best": "best",

View file

@ -69,6 +69,15 @@
/>
</SettingsCategory>
<SettingsCategory sectionId="h265" title={$t("settings.video.h265")}>
<SettingsToggle
settingContext="save"
settingId="tiktokH265"
title={$t("settings.video.h265.title")}
description={$t("settings.video.h265.description")}
/>
</SettingsCategory>
<SettingsCategory sectionId="twitter" title={$t("settings.video.twitter.gif")}>
<SettingsToggle
settingContext="save"
@ -78,11 +87,3 @@
/>
</SettingsCategory>
<SettingsCategory sectionId="tiktok" title={$t("settings.video.tiktok.h265")}>
<SettingsToggle
settingContext="save"
settingId="tiktokH265"
title={$t("settings.video.tiktok.h265.title")}
description={$t("settings.video.tiktok.h265.description")}
/>
</SettingsCategory>