Skip to content

Commit 9f0f885

Browse files
committed
web/settings/video: update h265 toggle strings
because now it also applies to xiaohongshu
1 parent 7488c74 commit 9f0f885

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

web/i18n/en/settings.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@
4040
"video.twitter.gif.title": "convert looping videos to GIF",
4141
"video.twitter.gif.description": "GIF conversion is inefficient, converted file may be obnoxiously big and low quality.",
4242

43-
"video.tiktok.h265": "tiktok",
44-
"video.tiktok.h265.title": "prefer HEVC/H265 format",
45-
"video.tiktok.h265.description": "allows downloading videos in 1080p at cost of compatibility.",
43+
"video.h265": "high efficiency video codec",
44+
"video.h265.title": "allow h265 for videos",
45+
"video.h265.description": "allows downloading videos from platforms like tiktok and xiaohongshu in higher quality at cost of compatibility.",
4646

4747
"audio.format": "audio format",
4848
"audio.format.best": "best",

web/src/routes/settings/video/+page.svelte

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -69,20 +69,21 @@
6969
/>
7070
</SettingsCategory>
7171

72-
<SettingsCategory sectionId="twitter" title={$t("settings.video.twitter.gif")}>
72+
<SettingsCategory sectionId="h265" title={$t("settings.video.h265")}>
7373
<SettingsToggle
7474
settingContext="save"
75-
settingId="twitterGif"
76-
title={$t("settings.video.twitter.gif.title")}
77-
description={$t("settings.video.twitter.gif.description")}
75+
settingId="tiktokH265"
76+
title={$t("settings.video.h265.title")}
77+
description={$t("settings.video.h265.description")}
7878
/>
7979
</SettingsCategory>
8080

81-
<SettingsCategory sectionId="tiktok" title={$t("settings.video.tiktok.h265")}>
81+
<SettingsCategory sectionId="twitter" title={$t("settings.video.twitter.gif")}>
8282
<SettingsToggle
8383
settingContext="save"
84-
settingId="tiktokH265"
85-
title={$t("settings.video.tiktok.h265.title")}
86-
description={$t("settings.video.tiktok.h265.description")}
84+
settingId="twitterGif"
85+
title={$t("settings.video.twitter.gif.title")}
86+
description={$t("settings.video.twitter.gif.description")}
8787
/>
8888
</SettingsCategory>
89+

0 commit comments

Comments
 (0)