diff --git a/public/_locales/en/en.messages.json b/public/_locales/en/en.messages.json index 3a25fb76..3433cf21 100644 --- a/public/_locales/en/en.messages.json +++ b/public/_locales/en/en.messages.json @@ -809,6 +809,30 @@ "autoSkipOnMusicVideos": { "message": "Auto skip all segments when there is a non-music segment" }, + "danmakuSkip": { + "message": "Match parachute time from the danmaku" + }, + "autoSkipDanmakuSkip": { + "message": "Automatically skip after matching successfully" + }, + "menuDanmakuSkip": { + "message": "Open the submission window after matching successfully" + }, + "checkTimeDanmakuSkip": { + "message": "Check if there is already uploaded skip info near the segment, if so, this feature will not be triggered" + }, + "danmakuRegexPattern": { + "message": "Match Regex: " + }, + "danmakuRegexPatternPlaceholder": { + "message": "Regex requires capturing 2 to 3 sets of numbers" + }, + "danmakuRegexTitle": { + "message": "Please enter a regex that matches the time format, which should capture 2 to 3 sets of numbers. If you're not sure how to write a regex, do not modify this option" + }, + "danmakuRegexPatternDescription": { + "message": "Enable the skip function based on danmaku, currently in experimental status" + }, "muteSegments": { "message": "Allow segments that mute audio instead of skip" }, diff --git a/public/_locales/en/messages.json b/public/_locales/en/messages.json index 4797e486..3406a261 100644 --- a/public/_locales/en/messages.json +++ b/public/_locales/en/messages.json @@ -754,6 +754,30 @@ "autoSkipOnMusicVideos": { "message": "自动跳过所有音乐视频中的非音乐片段" }, + "danmakuSkip": { + "message": "从弹幕中匹配空降时间" + }, + "autoSkipDanmakuSkip": { + "message": "匹配成功后自动跳过" + }, + "menuDanmakuSkip": { + "message": "匹配成功后打开提交窗口" + }, + "checkTimeDanmakuSkip": { + "message": "检查片段附近是否已有上传的跳过信息,已有则不触发此功能" + }, + "danmakuRegexPattern": { + "message": "匹配正则: " + }, + "danmakuRegexPatternPlaceholder": { + "message": "正则要求能捕获2到3组数字" + }, + "danmakuRegexTitle": { + "message": "请输入一个匹配时间格式的正则表达式,要求能捕获2到3组数字。如果不清楚如何写正则表达式,请勿修改此项" + }, + "danmakuRegexPatternDescription": { + "message": "启用基于弹幕的跳过功能,目前处于实验状态" + }, "muteSegments": { "message": "允许片段静音而不是跳过" }, diff --git a/public/_locales/zh_CN/messages.json b/public/_locales/zh_CN/messages.json index 4797e486..3406a261 100644 --- a/public/_locales/zh_CN/messages.json +++ b/public/_locales/zh_CN/messages.json @@ -754,6 +754,30 @@ "autoSkipOnMusicVideos": { "message": "自动跳过所有音乐视频中的非音乐片段" }, + "danmakuSkip": { + "message": "从弹幕中匹配空降时间" + }, + "autoSkipDanmakuSkip": { + "message": "匹配成功后自动跳过" + }, + "menuDanmakuSkip": { + "message": "匹配成功后打开提交窗口" + }, + "checkTimeDanmakuSkip": { + "message": "检查片段附近是否已有上传的跳过信息,已有则不触发此功能" + }, + "danmakuRegexPattern": { + "message": "匹配正则: " + }, + "danmakuRegexPatternPlaceholder": { + "message": "正则要求能捕获2到3组数字" + }, + "danmakuRegexTitle": { + "message": "请输入一个匹配时间格式的正则表达式,要求能捕获2到3组数字。如果不清楚如何写正则表达式,请勿修改此项" + }, + "danmakuRegexPatternDescription": { + "message": "启用基于弹幕的跳过功能,目前处于实验状态" + }, "muteSegments": { "message": "允许片段静音而不是跳过" }, diff --git a/public/_locales/zh_TW/messages.json b/public/_locales/zh_TW/messages.json index c9696c30..d7663498 100644 --- a/public/_locales/zh_TW/messages.json +++ b/public/_locales/zh_TW/messages.json @@ -754,6 +754,30 @@ "autoSkipOnMusicVideos": { "message": "自動跳過所有音樂影片中的非音樂片段" }, + "danmakuSkip": { + "message": "從彈幕中匹配空降時間" + }, + "autoSkipDanmakuSkip": { + "message": "匹配成功後自動跳過" + }, + "menuDanmakuSkip": { + "message": "匹配成功後打開提交窗口" + }, + "checkTimeDanmakuSkip": { + "message": "檢查片段附近是否已有上傳的跳過信息,已有則不觸發此功能" + }, + "danmakuRegexPattern": { + "message": "匹配正則: " + }, + "danmakuRegexPatternPlaceholder": { + "message": "正則要求能捕獲2到3組數字" + }, + "danmakuRegexTitle": { + "message": "請輸入一個匹配時間格式的正則表達式,要求能捕獲2到3組數字。如果不清楚如何寫正則表達式,請勿修改此項" + }, + "danmakuRegexPatternDescription": { + "message": "啟用基於彈幕的跳過功能,目前處於實驗狀態" + }, "muteSegments": { "message": "允許片段靜音而不是跳過" }, diff --git a/public/options/options.html b/public/options/options.html index eb2b71ea..cffb8719 100644 --- a/public/options/options.html +++ b/public/options/options.html @@ -65,6 +65,54 @@