你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/462277-change-notification-wording/discussions/249895,源站連結 點此以跳轉。
Replace sentence-like wording from yt notifications with predictable, readable-at-a-glance text.
我想使用中文,但是失敗了
zh-Hant-TW
zh-Hant
------
const langs = {
// The span stuff in the regexes prevents a bug where the notification text would get replaced recursively
// The key must correspond to the lang attribute on the html tag
"zh-Hant": {
notifTitleText: "通知",
video: /(?:.*<\/span>)?(?.*?) 上傳了新影片: (?.*)/,
live: /(?:.*<\/span>)?(?<channel>.*?) 正在直播:(?<title>.*)/,
premiere: /(?:.*<\/span>)?(?<channel>.*?) 正在首播: (?<title>.*)/,
commentReply: /(?:.*<\/span>)?(?<user>.*?) 回覆: (?<comment>.*)/,
commentLike: /(?:.*<\/span>)?👍 有人喜歡妳的留言: (?<comment>.*)/,
},
};