TETR.IO中文翻译

将TETR.IO中的内容翻译成中文并自动刷新保证翻译内容基本完成,对性能可能有一点影响 鸣谢:mrz,xb以及各位群友1.2.6更新:添加对TETR.IO VERGE的翻译支持,大家有遇到没翻的文本可以截图发送到[email protected]我会及时添加的

目前为 2024-03-02 提交的版本。查看 最新版本

// ==UserScript==
// @name         TETR.IO中文翻译
// @namespace    https://github.com/huanmieSAA/iotranslate
// @version      1.2.6
// @description  将TETR.IO中的内容翻译成中文并自动刷新保证翻译内容基本完成,对性能可能有一点影响 鸣谢:mrz,xb以及各位群友1.2.6更新:添加对TETR.IO VERGE的翻译支持,大家有遇到没翻的文本可以截图发送到[email protected]我会及时添加的
// @match        https://*.tetr.io/*
// @grant        GM_registerMenuCommand
// ==/UserScript==

(() => {
    "use strict";

    // 定义文本映射表

    // 常规文本
    const textMap = {
        "WINS AGAINST OPENERS": "对开局策略高胜率",
        "WINS AGAINST INF DS'ERS": "对挖掘策略高胜率",
        "WINS AGAINST STRIDERS": "对火力策略高胜率",
        "WINS AGAINST PLONKERS": "对反击策略高胜率",
        "LOSES AGAINST OPENERS": "对开局策略低胜率",
        "LOSES AGAINST INF DS'ERS": "对挖掘策略低胜率",
        "LOSES AGAINST STRIDERS": "对火力策略低胜率",
        "LOSES AGAINST PLONKERS": "对反击策略低胜率",
        "LOW VS": "低VS",
        "LOW APM": "低APM",
        "LOW PPS": "低PPS",
        "HIGH VS": "高VS",
        "HIGH APM": "高APM",
        "HIGH PPS": "高PPS",
        "PLONKER": "使用反击策略",
        "INF DS'ER": "使用挖掘策略",
        "LEVEL HEADED": "头脑清醒",
        "GOOD MOOD": "手感火热",
        "BAD MOOD": "手感不佳",
        "STRIDER": "使用火力策略",
        "OPENER": "使用开局策略",
        "change settings for": "更改设置为",
        //初始界面文本
        "JOIN": "加入",
        "total players": "总玩家数",
        "games played": "对局场数",
        "hours played": "总游戏时长",
        "welcome to TETR.IO": "欢迎来到TETR.IO",
        "open in": "打开",
        "DESKTOP": "桌面客户端",
        "GET": "获取",
        "puzzle together in this modern yet familiar online stacker. play against friends and foes all over the world, or claim a spot on the leaderboards - the stacker future is yours!": "欢迎游玩这款熟悉的现代方块游戏。与世界各地的朋友和对手对战,在排行榜上占据一席之地——方块的未来在您手中!",
        "enter a username to join, or leave it blank to get a random one": "输入用户名登录(不可用),或留空生成随机用户名",
        "by joining, you accept the": "加入即表示您接受",
        "terms of use": "使用条款",
        "privacy policy": "隐私政策",
        "and": "和",
        "rules": "规则",
        "TETR.IO is in ALPHA. please report bugs when you see them!": "TETR.IO处于ALPHA阶段,请在发现问题时报告错误!",
        //注册(不可用)相关文本
        "want to join?": "想要加入游戏吗",
        "the nickname": "这个昵称",
        "hasn't been registered. do you want to claim it as yours, or play anonymously? you won't be able to submit scores to the leaderboards or play in matchmaking when anonymous.": "没有被注册(不可用)。请问你是想把它作为你的账号,还是进行匿名游戏?匿名时,你将无法向排行榜提交分数或参加比赛。",
        "stay ANONYMOUS": "保持匿名",
        "REGISTER": "注册(不可用)",
        "let's make things official": "让我们正式开始吧",
        "to register, please choose a password for yourself": "想要注册(不可用),请输入密码",
        //登录(不可用)相关文本
        "good to see you again!": "很高兴再次见到你",
        "the username": "这个用户名",
        "is registered. please enter your password to log in": "是注册(不可用)了的,输入密码来登录(不可用)(如果是你)",
        "I FORGOT": "我忘了!",
        "LOGIN": "登录(不可用)",
        "forgot your password?": "忘记了您的密码?",
        "if you have an email address associated with your account, you can reset your password by entering your email.": "如果您的账户关联有电子邮箱,您可以通过它来重置密码。",
        "REQUEST RESET": "请求重置密码",
        "password incorrect": "密码错误",
        "is this you?": "这是你吗?",
        "LOG OUT": "退出登录(不可用)",
        "welcome back to TETR.IO!": "欢迎回到TETR.IO!",
        "are you": "是你",
        "TETR.IO has a policy of": "TETR.IO有一条政策:",
        "one account per person (anonymous accounts excluded)": "每人仅能拥有一个账户(不包括匿名账户)",
        ". making multiple accounts may result in permanent restriction of all your accounts.": ".开设多个账户可能会导致你的所有账户被永久封禁。",
        "read the": "阅读",
        "full policy": "完整的政策",
        "for more info. in doubt, or if you believe your usage of a second account is justified, please": "如果有疑问,或者你有合理理由使用第二个账户,请联系我们。",
        "contact support": "联系支持",
        "I'M NOT MULTIACCOUNTING": "我没有多账户",
        "just to be sure…": "只是为了确定...",
        "SUBMIT": "允许",
        "two-factor authentication": "双重认证",
        "use your authenticator app to get a six-digit code, or use one of your recovery codes.": "使用你的认证器应用程序获得一个六位数的代码,或使用你的一个恢复代码。",
        "reset your password": "重置你的密码",
        "enter a new password to regain access to your account": "输入一个新的密码,重新进入你的账户",
        //删除账号相关文本
        "delete my account": "删除我的账户",
        "DELETE YOUR ACCOUNT?": "删除你的账户?",
        "delete your account": "删除账户",
        "and all attached data?": "和所有关联的数据?",
        "DELETE!": "删除!",
        "this cannot be undone.": "这是不可逆的",
        "THE SONG OF DESTRUCTION CANNOT BE STOPPED.": "毁灭之歌无法停止。",
        "you're certain you want to delete your account? you will lose EVERYTHING, including but not limited to...": "你确定要删除你的账户吗? 你将失去所有的东西,包括但不限于...",
        "• all your replays": "• 你的所有回放",
        "• all your XP": "• 你的所有经验值",
        "• all your accomplishments": "• 你所有的成就",
        "• all your badges": "• 你所有的徽章",
        "• your TETRA LEAGUE rank": "• 你的TETRA联赛段位",
        "• and more...": "• 等等...",
        "DELETE": "删除",
        "you're absolutely, 100% certain you won't regret DELETING YOUR ACCOUNT FOREVER?": "你绝对、100%确定你不会为删除你的账户而后悔,直到永远?",
        "NO REGRETS!": "不后悔!",
        "FINAL WARNING": "最后的警告",
        "DELETE YOUR ACCOUNT AND ALL ITS DATA FOREVER?": "永远删除你的账户和所有数据?",
        "DELETE MY ACCOUNT": "删除我的账号",
        "DELETING IN": "删除中",
        //主菜单文本
        //多人游戏相关文本
        "MULTIPLAYER": "多人游戏",
        "play online with friends and foes": "和朋友或陌生人进行在线游戏",
        //TETRA联赛相关文本
        "TETRA LEAGUE": "TETRA联赛",
        "ANONYMOUS USERS MAY NOT ENTER TETRA LEAGUE": "匿名玩家无法参与TETRA联赛",
        "fight players of your skill in ranked duels": "与水平相当的玩家进行参与排名的对决",
        "this user is playing anonymously": "该用户正在匿名游戏",
        "games won": "获胜次数",
        "IN QUEUE -": "排队中 - ",
        "IN GAME": "游戏中",
        "ENTER MATCHMAKING": "进入匹配",
        "LEAVING EARLY IS PUNISHED": "中途退出会受到惩罚",
        "HOW DOES IT WORK?": "这个模式是怎么运作的?",
        "enter matchmaking and you will be matched up with a player of similar skill in a game of 1v1 VERSUS.": "加入匹配队伍,匹配成功后,您将和一个水平相似的玩家进行一场1对1的对战。",
        "win games to gain TR and rank up! you must play at least 10 games to see your TR. to get a RANK and enter the GLOBAL LEADERBOARDS, keep playing consistently.": "获胜可以获得TR并晋升段位!您必须至少玩10局才能看到您的TR。要获得段位并进入全球排行榜,请持续进行游戏。",
        "if you leave the game early at any point, you will be awarded a loss. go conquer the ranks!": "在游戏中任意时刻退出将被判负。去挑战排行榜上的其他玩家吧!",
        "LEADERBOARDS": "排行榜",
        "estimated queue time:": "预计等待时间:",
        "FINDING MATCH": "寻找对局中",
        "CLICK TO CANCEL": "单击取消",
        "SECONDS": "秒",
        "MATCH FOUND": "已找到对局",
        "JOINING MATCH": "加入对局中",
        "GET READY FOR": "对决",
        "THE NEXT BATTLE": "开始",
        "face off against others and rise up through the ranks!": "与他人对决,并获得段位提升!",
        "Please remember to be civil to your opponent.": "请文明交流。",
        "the results are in!": "对局结果揭晓!",
        "TETRA LEAGUE STANDING": "TETRA联赛数据",
        "How was that game?": "这局游戏怎么样?",
        "Thanks for the feedback!": "感谢反馈!",
        "NEXT": "继续",
        "play more games to receive a rank": "玩更多的游戏以获得段位",
        //快速游戏相关文本
        "QUICK PLAY": "快速游戏",
        "jump into a currently ongoing match": "加入正在进行的比赛",
        "CHAT": "聊天",
        "Welcome to Quick Play chat! Please remember to be civil to your opponents - chat is actively monitored.": "欢迎来到快速游戏聊天室!请文明交流——聊天将被实时监控。",
        "left the room": "离开房间",
        "joined the room": "加入房间",
        "disconnected": "断开连接",
        "started the game": "开始游戏",
        "SPECTATING": "旁观中",
        "CURRENTLY INGAME": "正在游戏中",
        "game finished": "游戏结束",
        "welcome to": "欢迎来到",
        "is a free familiar yet fast-paced online stacker in the same genre as tetris, and played by millions across the globe.": "是一款免费、易上手但快节奏的在线堆叠游戏,与俄罗斯方块同类,拥有数百万全球玩家。",
        "hover for more info!": "把鼠标悬停在这里以获取更多信息!",
        "your currently set keybinds are:": "您当前的按键绑定是:",
        "PLAYING": "游玩",
        "click to switch to SPECTATORS": "点击切换到旁观模式",
        "click to copy url": "点击这里复制链接",
        "EDIT": "退出",
        "you just joined QUICK PLAY - you will play in the next game in this lobby. please wait for the current game to finish. feel free to spectate or play ZEN while waiting!": "您加入了快速游戏 - 请等待结束然后加入下一局。在等待时,您可以选择旁观或游玩单人的禅意模式!",
        "you can change these and many other settings in CONFIG. have fun!": "您可以在设置中更改这些和许多其他设置。祝您玩得愉快!",
        "GAME IN PROGRESS, GOOD LUCK!": "游戏正在进行中,祝你好运!",
        "Super Lobby Mode Engaged - congratulations on hitting 100 players! Joins and leaves will be suppressed, and the winner of games in this room will earn a special profile badge!": "超级房间模式开启--达到了100名玩家! 进退房消息将暂时关闭,本局游戏的赢家将获得一枚特殊的个人资料徽章!",
        "Super Lobby Mode Disengaged": "超级房间模式解除",
        "click to switch to PLAYERS": "点击以切换到游玩模式",
        "SPECTATE": "旁观",
        "enter room id or url and hit enter...": "输入房间编号或网址并单击回车...",
        "you just joined QUICK PLAY - the next game will start automatically. please wait just a moment longer!": "你刚刚加入了快速游戏——下一场游戏即将开始。请稍等片刻",
        "PLAYERS (": "玩家数(",
        //自定义游戏相关文本
        "CUSTOM GAME": "自定义游戏",
        "create public and private rooms to play by your rules": "创建公共和私人房间,按照您的规则进行游戏",
        "PUBLIC ROOM": "公共房间",
        "create a public room anyone can join": "创建一个任何人都可以加入的公共房间",
        "PRIVATE ROOM": "私人房间",
        "create a private room for you and friends": "为你和朋友创建一个私人房间",
        "Welcome to chat! Please remember to be civil to your opponents.": "欢迎来到聊天室! 请文明交流。",
        "ROOM": "房间",
        "MATCH": "比赛",
        "GAME": "对局",
        "room name": "房间名",
        "player limit": "人数限制",
        "auto start": "自动开始",
        "allow anonymous users to join": "允许匿名用户加入",
        "allow unranked users to play": "允许未定段用户进行游戏",
        "RANK LIMIT": "段位限制",
        "limit by top rank": "按最高段位限制",
        "music": "音乐",
        "GENERAL": "一般设置",
        "gamemode": "对局模式",
        "first to (FT)": "争先(FT)",
        "win by (WB)": "争胜(WB)",
        "stock": "命数",
        "versus": "竞争",
        "[2 - ∞ players] a battle royale! who can survive the longest?": "[2-∞名玩家]一场大混战!谁能活得最久?",
        "PRACTICE": "练习",
        "[2 players] a mode to practice with a friend": "[2名玩家]一个与朋友一起练习的模式",
        "EXPERIMENTAL": "实验选项",
        "garbage passthrough": "垃圾行穿透",
        "limited": "限制",
        "LIMITED": "限制",
        "ZERO": "无",
        "opposing attacks in transit always cancel eachother out": "发送过程中的对立攻击总是相互抵消的。",
        "opposing attacks in transit cancel out while garbage is flying": "发送过程中的对立攻击能被抵消,垃圾行偶尔会飞来。",
        "CONSISTENT": "相容",
        "opposing attacks in transit cancel out except when garbage is flying": "发送过程中的的对立攻击能被抵消,除非是在垃圾行飞来的时候",
        "FULL": "全部",
        "opposing attacks in transit do not cancel eachother out": "发送过程中的对立攻击不会相互抵消",
        "game presets": "对局预设",
        "custom": "定制",
        "default": "默认设置",
        "tetra league": "tetra联赛",
        "CLASSIC": "经典",
        "ARCADE": "街机",
        "ENFORCED DELAYS": "延迟块",
        "TETR.IO's premier room settings. optimized for battles with large groups or duels against friends and foes alike!": "TETR.IO的首要房间设置。为与大型团体的战斗或与朋友和敌人的决斗而优化!",
        "settings copied directly from TETR.IO's matchmaking rooms! margin times and match goals are shifted slightly with duels in mind.": "与 TETRA 联赛完全相同的设置!考虑到规则为单挑,临界时间与获胜条件与默认设置有些许不同。",
        "an endurance-focused challenge of pure stacking intellect! almost every value is changed to imitate stacker games made many years ago.": "一个以耐力为重点的纯粹堆叠的智力挑战!为模仿多年前的方块游戏,几乎改变了所有参数。",
        "featuring innovative mechanics created for a popular stacker found in arcades, this preset puts a focus on smart stacking and mastery with its custom kick table!": "模仿创新性的街机方块机制,重点是策略堆叠与合理运用特殊的踢墙表。",
        "this preset introduces several forms of enforced handling which introduces a generous skill ceiling! puts a focus on efficient and consistent play, as opposed to deafeningly fast rounds.": "该预设限制了方块移动的延迟,稍微降低了水平上限。重点是高效且稳定的堆叠攻击上,而不是花里胡哨的开局互搏。",
        "settings copied directly from TETR.IO's quick play room!": "设置直接从TETR.IO的快速游戏中复制!",
        "random bag type": "随机BAG类型",
        "keep shuffling a bag of the 7 tetrominoes": "保持随机排列一包7块中包含所有种类的方块",
        "keep shuffling a bag of 2x the 7 tetrominoes": "保持随机排列一包14块中包含所有种类的方块各两块",
        "random with repetition protection": "具有重复保护的随机性",
        "alternate between 2 tetrominoes": "交替使用2种方块",
        "completely random generation": "完全随机生成",
        "allowed spins": "允许的旋转规则",
        "receive bonuses for spinning T-pieces": "旋转T块获得额外攻击",
        "receive bonuses for spinning all pieces": "旋转所有方块都可以获得额外攻击",
        "receive bonuses for spinning all pieces BUT attacks are halved except for T-SPINS": "旋转除T块以外的所有方块都可以获得额外攻击但攻击力减半",
        "everything is a spin because YEAH WHY NOT (O-spin SUPPORTED!)": "所有方块都能SPIN,为什么不呢?(支持O-Spin!)",
        "receive no spin bonuses": "旋转任何方块都没有额外攻击",
        "combo table": "连击表",
        "disable combo chaining": "禁止连击表",
        "TETR.IO's combo multiplier": "TETR.IO的连击倍增表",
        "classic guideline combo table": "经典规则连击表",
        "modern guideline combo table": "现代规则连击表",
        "allow 180 spins": "允许180度旋转",
        "kick table": "旋转系统",
        "the default natural rotation system with symmetric I-piece rotation": "默认的超级旋转系统和对称的I块旋转",
        "the standard natural rotation system": "默认的超级旋转系统",
        "SRS with more powerful 180 spins": "带有更强大的180度旋转的超级旋转系统",
        "novel rotation system by DR OCELOT": "DR OCELOT的新型旋转系统",
        "the classic rotation system": "经典旋转系统",
        "rotation system used in arcade games": "在街机游戏中使用的旋转系统。",
        "permissive rotation system by WINTERNEBS": "WINTERNEBS的七转八转旋转系统",
        "no kicks possible": "无法踢墙",
        "use hard drop": "允许硬降",
        "use NEXT queue": "允许查看下一个方块",
        "use HOLD queue": "允许查看暂存方块",
        "next pieces": "下一块",
        "show shadow piece": "显示阴影",
        "line clear ARE": "消行延迟",
        "ARE": "出块延迟",
        "enforce below handling settings": "强制执行以下灵敏度设置",
        "enforced ARR": "强制ARR",
        "enforced DAS": "强制DAS",
        "enforced SDF": "强制SDF",
        "GRAVITY & MARGIN TIME": "重力和临界时间",
        "gravity": "重力",
        "gravity increase": "重力增量",
        "gravity margin time": "重力临界时间",
        "garbage multiplier": "垃圾行加成",
        "garbage margin time": "垃圾行临界时间",
        "garbage increase": "垃圾行增量",
        "lock delay": "锁定延迟",
        "garbage travel speed": "垃圾行飞行速度",
        "garbage cap": "单次垃圾行上限",
        "garbage cap increase": "单次垃圾行上限增量",
        "garbage cap max": "单次垃圾行最大上限",
        "garbage blocking": "垃圾行阻挡",
        "none": "无",
        "enable back-to-back chaining": "启用背靠背连锁增伤",
        "allow manual targeting": "允许手动选定目标",
        "enable clutch clears": "启用clutch消除",
        "disable lockout": "禁用锁定",
        "board width": "游戏区域宽度",
        "board height": "游戏区域高度",
        "WARNING: server restarting soon!": "警告:服务器即将重启!",
        "COMBO BLOCKING": "连击阻挡",
        "incoming garbage will be delayed and reduced on successive line clears": "连击可阻挡并抵消垃圾行",
        "LIMITED BLOCKING": "限制阻挡",
        "incoming garbage can be reduced only once per next immediate piece": "单个方块只能阻挡并抵消一次垃圾行",
        "incoming garbage cannot be blocked": "垃圾行无法阻挡或抵消",
        //房间列表相关文本
        "ROOM LISTING": "房间列表",
        "join public custom games": "加入公共自定义房间",
        "REFRESH": "刷新",
        "anons allowed:": "允许匿名:",
        ", unranked allowed:": ",允许未定段:",
        "YES": "是",
        "NO": "否",
        "and below -": "及以下 - ",
        "INGAME -": "游戏中 - ",
        "LOBBY -": "大厅 - ",
        "pick a room to join!": "选择一个房间加入",
        //TETRA频道相关文本
        "TETRA CHANNEL": "TETRA频道",
        "leaderboards, replays and more": "排行榜、回放等",
        "welcome to TETRA CHANNEL!": "欢迎来到TETRA频道!",
        "VISIT THE TETRA CHANNEL SITE": "访问TETRA频道网站",
        "VIEW FULL LEADERBOARDS, COUNTRY LEADERBOARDS, USER PAGES AND MORE": "查看完整排行榜、地区排行榜、用户页面等",
        "LEADERBOARDS": "排行榜",
        "GLOBAL LEADERBOARDS FOR 40 LINES AND BLITZ": "40行竞速和闪电战模式的全球排行榜",
        "ME": "我的",
        "VIEW YOUR OWN RECORDS AND RECENT GAMES": "查看您自己的记录和最近的比赛",
        "PLAYERS": "玩家",
        "TETRA LEAGUE LEADERBOARDS AND XP": "TETRA联赛和经验值排行榜",
        "LIVE NOW": "正在直播",
        "TETRA NEWS": "TETRA新闻",
        "PLAY": "游玩",
        "RECENT": "最近",
        "VICTORY": "获胜",
        "DEFEAT": "落败",
        "BY LEAGUE RATING": "按联赛段位排名",
        "BY XP": "按经验值排名",
        "you forfeited": "你弃权了",
        "only the first 100 are shown. to see the full leaderboard, click VIEW FULL above.": "只显示前100名。要看完整的排行榜,请点击上面的查看完整排行榜。",
        "PIECES PLACED": "放置块数",
        "PIECES per SECOND": "每秒放置块数",
        "KEYS PRESSED": "按键数",
        "KEYS per PIECE": "按键每块",
        "OVERVIEW": "回顾",
        "STATS": "统计数据",
        "KEYS per SECOND": "每秒按键数",
        "HOLDS": "暂存数",
        "LINES per MINUTE": "每分钟行数",
        "maximum COMBO": "最大连击数",
        "maximum back-to-back chain": "最长背靠背连锁",
        "finesse %": "极简率",
        "finesse faults": "非极简操作",
        "FINAL TIME": "最终时间",
        "FINAL SCORE": "最终得分",
        "RESULTS": "比赛结果",
        "got a new personal best in 40 LINES with a time of": "在40行挑战中取得了新的个人最好成绩,时间为",
        "got a new personal best in BLITZ with a score of": "在闪电战中取得了新的个人最好成绩,得分为",
        "has become a": "成为了",
        "got a new personal best in 5,000,000 BLAST with a time of": "在5,000,000 BLAST中获得了新的个人最佳成绩,时间为",
        "received the": "取得了",
        "badge": "徽章",
        "achieved": "达成",
        "rank": "段位",
        "SCORES": "分数",
        "LATEST NEWS": "最新动态",
        "VIEW TETRA LEAGUE RECORD": "查看TETRA联赛回放",
        "VIEW PERSONAL BEST": "查看最好成绩",
        "VIEW ALL 40 LINES RECORDS": "查看全部的40行挑战回放",
        "Achieved": "达成于",
        "months": "月",
        "ago": "前",
        "VIEW ALL BLITZ RECORDS": "查看全部的闪电战回放",
        "VIEW ALL RECENT RECORDS": "查看全部的近期回放",
        "RECORD": "回放",
        "VIEW": "查看",
        "PLAY TIME": "游戏时长",
        "ONLINE GAMES": "游戏场次",
        "OF WHICH WINS": "获胜场次",
        "EXPAND": "展开",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        //举报相关文本
        "REPORT": "举报",
        "please choose a category to report": "请选择向TETR.IO管理员报告",
        "to the TETR.IO moderators for. ": "的违规原因",
        "repeatedly placing false reports may result in a ban.": "重复进行假举报可能会导致封禁。",
        "TOXICITY": "有害内容",
        "including, but not limited to toxicity, harassment, unsolicited direct messages, offensive content or bad language.": "包括但不限于有害内容、骚扰、未经请求的直接消息、冒犯性内容或粗言秽语",
        "CHEATING": "作弊",
        "including, but not limited to cheating, botting, hacking or otherwise breaking the game or getting an unfair advantage.": "包括但不限于作弊、使用机器人、黑客手段或其他破坏游戏或获得不公平优势的行为。",
        "MULTIACCOUNTING": "多个账户",
        "including, but not limited to smurfing, multiaccounting, boosting accounts, throwing games.": "包括但不限于:炸鱼、多开账户、恶意刷分、消极对局等",
        "NSFW/18+ CONTENT": "不宜公开浏览/18+内容",
        "including, but not limited to NSFW (not safe for work) avatars, banners, messages, etc.": "包括但不限于:不宜公开浏览的头像、横幅、信息等",
        "SPAM": "垃圾信息",
        "including, but not limited to advertising, message flood, etc.": "包括但不限于广告、刷屏等",
        "OTHER": "其他",
        "otherwise not listed abuse against the TETR.IO terms of service, such as users under the age of 13, or rules, such as impersonation.": "其他未列出的违反TETR.IO服务条款的滥用行为,包括但不限于未满13岁的用户、冒名顶替等。",
        "CANCEL": "取消",
        //连接错误相关文本
        "CONNECTION ERROR": "连接错误",
        "a connection error has occured and the connection was closed unexpectedly.": "发生了连接错误,连接被意外关闭。",
        "check your internet connection and configuration.": "检查你的互联网连接和配置。",
        "this disconnect was detected to be caused by your network connection.": "系统检测到本次掉线由你的网络连接引起。",
        "SOCKET ID": "帐户ID",
        "OK": "彳亍",
        //单人模式相关文本
        "SOLO": "单人模式",
        "challenge yourself and top the leaderboards": "挑战自我,登上排行榜的榜首。",
        "press START to begin playing": "按下开始游戏进行游玩",
        //40行竞速相关文本
        "CLEAR 40 LINES!": "清除四十行!",
        "40 LINES": "40行竞速",
        "complete 40 lines as quickly as possible": "尽快消除40行",
        "clear 40 lines in the shortest amount of time possible.": "以最短的时间内消除40行",
        "score doesn't matter here, just go for the world record!": "得分在这里并不重要,尽力争取世界纪录吧!",
        "PERSONAL BEST": "个人最佳",
        "OPTIONS": "选项",
        "pro mode": "专业模式",
        "alert on finesse fault": "非极简操作时播放音效提醒",
        "retry on finesse fault": "非极简操作时自动重新开始",
        "stride mode": "快速开局",
        "ADVANCED": "高级设置",
        "left counter slot 1": "左侧信息栏槽位1",
        "left counter slot 2": "左侧信息栏槽位2",
        "left counter slot 3": "左侧信息栏槽位3",
        "left counter slot 4": "左侧信息栏槽位4",
        "right counter slot": "右侧信息栏槽位",
        "DEFAULT": "默认设置",
        "use the default option": "使用默认设置",
        "EMPTY": "空",
        "leave this slot empty": "留空该槽位",
        "LINES": "行数",
        "TIME": "时间",
        "SCORE": "分数",
        "display the score in this slot": "在该槽位中显示得分",
        "SCORE (per piece)": "分数(每块)",
        "display the score and score per piece in this slot": "在该槽位中显示每次放置方块的得分",
        "STOPWATCH": "秒表",
        "display the time passed in this slot": "在该槽位中显示此时已用时长时间",
        "display the amount of cleared lines in this slot": "在该槽位中显示已消除的行数",
        "PIECES": "块",
        "display the amount of placed pieces and speed in this slot": "在该槽位中显示放置方块的数量和速度",
        "INPUTS": "输入",
        "display the amount of buttonpresses in this slot": "在该槽位中显示按键按压量",
        "FINESSE": "极简",
        "display your finesse in this slot": "在该槽位中显示你的极简率",
        "FINESSE (SMALLER)": "极简(较小)",
        "display your finesse in this slot (for use on the left-hand side)": "在该槽位中显示你的极简率(在左边显示)",
        "HOLD": "暂存",
        "display the amount of held pieces in this slot": "在该槽位中显示暂存过的方块数量",
        "ALL CLEARS": "全消",
        "display the amount of ALL CLEARS in this slot": "在该槽位中显示全消的次数",
        "display the time remaining in this slot": "在该槽位中显示剩余时间",
        "TIMER": "计时器",
        "LEVEL": "等级",
        "display the current level in this slot": "在该槽位中显示当前等级",
        //闪电战相关文本
        "TWO-MINUTE BLITZ": "两分钟闪电战",
        "GO": "开始",
        "BLITZ": "闪电战",
        "a two-minute race against the clock": "限时两分钟的打分挑战",
        "get as many points as possible within 2 minutes!": "在2分钟内获得尽可能多的分数!",
        "clear lines to level up and gain more points and speed!": "消行,升级,提速,打分!",
        "---default---": "---默认设置---",
        "START": "开始游戏",
        //禅意模式相关文本
        "ZEN": "禅意模式",
        "relax or train in this neverending mode": "用于放松或训练的无尽模式",
        "relax or train in a neverending mode! your progress is stored across games.": "在无尽模式中放松或训练!进度会在离开时保存。",
        "adjust the feel or help train using the ZEN SIDEBAR.": "使用禅意模式侧边栏调整心境或进行训练",
        "you can undo and redo placements with CTRL+Z and CTRL+Y!": "你可以用CTRL+Z和CTRL+Y来撤销和重做!",
        //禅意模式局内的文本
        "hover to change settings": "悬停以改变设置",
        "LEVELING": "升级",
        "SPINS": "旋转方式",
        "KICK TABLE": "旋转系统",
        "COMBO TABLE": "连击表",
        "MULTIPLIER": "倍增",
        "CLASSIC GUIDELINE": "经典规则",
        "MODERN GUIDELINE": "现代规则",
        "GRAVITY": "重力",
        "SUBZERO": "反重力",
        "RELAXED": "弱重力",
        "ENGAGING": "中重力",
        "SPICY": "高重力",
        "STATIC": "超重",
        "DISPLAY": "显示",
        "VERSUS": "竞争",
        "SPEED": "速度",
        "EFFICIENCY": "效率",
        "GARBAGE": "垃圾行",
        "BACKFIRE 0.5X": "攻击反弹 0.5倍",
        "BACKFIRE 1X": "攻击反弹 1倍",
        "BACKFIRE 2X": "攻击反弹 2倍",
        "CHEESE LAYER": "奶酪层",
        "layer height": "层高",
        "timer interval": "定时器时间间隔",
        "CHEESE TIMER": "奶酪定时器",
        "UNCLEAR 0.5X": "无抵消 0.5倍",
        "UNCLEAR 1X": "无抵消 1倍",
        "UNCLEAR 2X": "无抵消 2倍",
        "static gravity": "静态重力",
        "cheese messiness %": "垃圾行混乱率",
        "NONE": "无",
        //自定义单机相关文本
        "CUSTOM": "自定义",
        "play, train and experiment by your rules": "按照自定义的规则进行游戏、训练和实验",
        "play as you wish! replays are not submitted.": "尽情游戏!回放不会被记录",
        "OBJECTIVE": "目标",
        "Disable combo chaining": "禁用连击增伤",
        'use random seed (overrides "seed")': "使用随机种子(覆盖种子)",
        "seed": "种子",
        "SURVIVAL": "生存",
        "mode": "模式",
        "garbage messiness %": "垃圾行混乱度",
        "do not spawn any garbage": "不生成任何垃圾行",
        "LAYER": "层数",
        "spawn garbage on a timer": "定期生成垃圾行",
        "keep a layer of garbage on the board": "保留一层垃圾行",
        "sticky layer": "粘连层",
        "minimum layer height": "最小层数高度",
        "infinite movement": "无限移动",
        "GRAVITY & LEVELLING": "重力和等级",
        'use levelling (overrides "gravity")': "使用等级系统(覆盖重力设置)",
        "use master levels": "使用MASTER等级",
        "starting level": "起始级别",
        "level speed": "等级速度",
        'use static levelling (overrides "level speed")': "使用静态级别(覆盖等级速度)",
        "level static speed": "静态等级速度",
        "base gravity": "基础重力",
        "allow retry": "允许重新开始",
        "recieve bonuses for spinning all pieces. non T-SPINS attacks are halved. pieces use 4-corner detection": "旋转所有方块可以获得额外攻击。非T旋攻击减半。方块使用四角检测",
        "key": "按键",//?
        "final score will be displayed": "最终得分将会显示",
        "final time will be displayed": "最终时间将会显示",
        "final line count will be displayed": "最终行数将会显示",
        "play infinitely": "无限制模式",
        "get to a set amount of lines to clear": "达到设定的消除行数",
        "play for a set amount of time to clear": "在设定的时间内进行游戏并尽可能消除方块",
        "get to a set amount of garbage lines to clear": "达到设定的垃圾行清除数",
        "TIMED": "计时模式",
        "time": "时间",
        "count": "计数",
        "topping out is OK": "允许顶出",
        "display objective behind board": "在游戏板块后面显示目标",
        "INTRO": "简介",
        "mission": "任务",
        "play countdown": "播放倒计时",
        "countdown count": "倒计时计数",
        "countdown interval": "倒计时间隔",
        "time before countdown": "倒计时开始前的等待时间",
        "time before start": "游戏开始前的等待时间",
        "zoom animation": "缩放动画",
        "NO ANIMATION": "没有动画",
        "display no animation": "不显示动画",
        "display a fast animation": "显示快速动画",
        "display a slow animation": "显示慢速动画",
        "CINEMATIC": "电影级动画",
        "display a very slow animation": "显示非常慢的动画",
        "META": "META",
        "COUNTERS": "信息栏",
        "enforce absolute line count": "强制执行绝对行计数",
        "display progress bar": "显示进度条",
        "display the time remaining in this slot (for TIMED objective)": "在这个槽位中显示此时剩余的时间(用于限时目标)",
        "GARBAGE CLEARED": "已清理垃圾行",
        "display the amount of garbage lines cleared in this slot": "在这个槽位中显示已清除的垃圾行数",
        //设置内文本
        "CONFIG": "设置",
        "tweak your <>TETRIO<> experience": "调整<>TETRIO<>游戏体验",
        "tweak your settings for a better": "调整设置以享受更好的",
        "experience": "游戏体验",
        "DESKTOP V": "桌面客户端 V",
        "you are using the desktop client! this means you can:": "你正在使用桌面客户端!这意味着你可以:",
        "• hit F11 to go FULL SCREEN": "• 按F11进入全屏模式",
        "• hit F5 to reload": "• 按F5重新加载",
        "• hit CTRL+SHIFT+I to open the CONSOLE": "• 按CTRL+SHIFT+I打开控制台。",
        "as well as edit options you see below": "以及你在下面看到的编辑选项",
        "OPTIONS": "选项",
        "SKIP LOGIN SCREEN": "跳过登录(不可用)界面",
        "NEVER": "从不",
        "WHEN NEEDED": "在需要时",
        "ALWAYS": "总是",
        "enable HARD VSYNC": "启用垂直同步",
        "FRAMERATE LIMITER": "帧数限制器",
        "enable DISCORD RICH PRESENCE": "启用DISCORD RICH PRESENCE功能。",
        "flash taskbar icon": "闪光任务栏图标",
        "streamer compatibility mode (slow!)": "流媒体兼容模式(慢!)。",
        "disable third-party advertisements": "禁用第三方广告",
        "EXIT TETR.IO?": "退出TETR.IO?",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        //键位文本
        "CONTROLS": "键位",
        "forfeit game": "退出游戏",
        "retry game": "重新开始",
        "open chat": "打开聊天框",
        "pick targeting strategy": "选择瞄准目标策略",
        "move in menus": "移动菜单",
        "confirm in menus": "在菜单中确认",
        "back in menus": "返回菜单中",
        "open social overlay": "打开好友列表",
        "controllers can be set up in CUSTOM controls - just press the controller buttons you wish to bind.": "手柄键位可以在自定义中设置 - 只需点击想要更改的键位并按下你想绑定的按键。",
        "controller sensitivity": "按键灵敏度",
        "vibration intensity": "振动强度",
        "targeting strategy even": "瞄准策略:平均",
        "targeting strategy eliminations": "瞄准策略:追击",
        "targeting strategy random": "瞄准策略:随机",
        "targeting strategy payback": "瞄准策略:反击",
        "WEAK": "弱",
        "STRONG": "强",
        "LOW": "低",
        "HIGH": "高",
        "[NOT SET]": "[未设置]",
        "hover over a setting for more info": "将鼠标悬停在设置名称上查看详细说明",
        "change account settings": "更改账户设置",
        "targeting strategy 1": "瞄准策略1",
        "targeting strategy 2": "瞄准策略2",
        "targeting strategy 3": "瞄准策略3",
        "targeting strategy 4": "瞄准策略4",
        "press any key or button": "按任何按键以绑定键位",
        "click anywhere to remove the keybind": "点击任何地方都可以删除绑定的按键",
        "menus: up": "菜单:上",
        "menus: down": "菜单:下",
        "menus: left": "菜单:左",
        "menus: right": "菜单:右",
        "menus: confirm": "菜单:确定",
        "menus: back": "菜单:返回",
        "move falling piece left": "向左移动",
        "move falling piece right": "向右移动",
        "soft drop": "软降",
        "hard drop": "硬降",
        "rotate counterclockwise": "逆时针旋转",
        "rotate clockwise": "顺时针旋转",
        "rotate 180": "180度旋转",
        "swap hold piece": "暂存方块",
        //移动灵敏度文本
        "HANDLING": "移动灵敏度",
        "SLOW": "慢",
        "FAST": "快",
        "prevent accidental hard drops": "防止误操作硬降",
        "cancel DAS when changing directions": "改变方向时取消DAS",
        "RESET": "重置",
        "TEST": "测试",
        //音乐及音效相关文本
        "VOLUME & AUDIO": "音乐及音效",
        "MUSIC": "音乐",
        "SFX": "音效",
        "BGM": "音乐",
        "stereo": "立体声",
        "scroll to change volume": "鼠标滚轮调整音量",
        "mute music when hidden": "最小化窗口时静音",
        "hear next pieces": "下一块音效",
        "hear other players": "其他玩家的音效",
        "hear attacks": "攻击音效",
        "do not reset music when retrying": "重新开始时不重置音乐",
        "disable sound entirely": "关闭全部声音",
        "QUIET": "静",
        "LOUD": "响",
        "NO STEREO": "无立体声",
        "SUPER STEREO": "超级立体声",
        "TWEAK MUSIC": "曲库",
        "select how often you want each song to be picked here, or ban songs if you so desire. click a song's title to play it.": "选择你希望每首歌曲在这里被挑选的频率,或者如果你希望的话,可以禁止歌曲播放。",
        //局内设置相关文本
        "GAMEPLAY": "局内设置",
        "ACTION TEXT": "特殊攻击文本特效",
        "OFF": "关/零重力",
        "SOME": "部分",
        "ALL": "所有",
        "board bounciness": "框体弹性",
        "STIFF": "固定",
        "BOUNCY": "弹跳",
        "SHAKY": "抖动",
        "damage shakiness": "受击震动",
        "grid visibility": "网格能见度",
        "board visibility": "背景能见度",
        "TRANSPARENT": "透明",
        "shadow visibility": "影子能见度",
        "OPAQUE": "不透明",
        "board zoom": "场地尺寸",
        "FAR": "远",
        "NEAR": "近",
        "show duels side-by-side": "1v1时并排显示场地",
        "spin board when you T-spin": "T-Spin时旋转场地",
        "alert me when i KO someone": "KO对手时提示",
        "enable the fire meter": "启用火力计",
        "warn me when i'm in danger": "濒死警告",
        "colored shadow piece": "彩色影子",
        //视频与界面相关文本
        "VIDEO & INTERFACE": "视频与界面",
        "GRAPHICS": "图形",
        "MINIMAL": "极低",
        "MEDIUM": "中等",
        "ULTRA": "极高",
        "CACHING": "缓存",
        "OFF": "关",
        "BALANCED": "均衡",
        "AGGRESSIVE": "激进",
        "particle count": "特效粒子数量",
        "FEW": "少",
        "LOTS": "多",
        "background visibility": "背景能见度",
        "bloom filter power": "布隆过滤器",
        "chromatic aberration": "色差",
        "flashwave power": "闪光强度",
        "make": "使",
        "run slowly to keep other programs running smoothly": "较慢运行以防使其他程序卡顿",
        "render at a low resolution": "低分辨率渲染",
        "less precision on counters": "低精度计时器",
        "always simplify multiplayer thumbnails": "始终简化多人模式缩略图",
        "do not animate background in super lobbies": "禁用超级房间内滚动显示玩家",
        "no background in menus": "关闭菜单背景",
        "filter profanity in chat": "过滤聊天中的脏话",
        "hide chat when ingame": "游戏中隐藏聊天栏",
        "hide room IDs": "隐藏房间ID",
        "show emotes in chat": "显示聊天内的表情",
        "show animated emotes in chat": "显示聊天内的动态表情",
        "invert chat colors": "聊天栏反色",
        "darken screen behind chat": "聊天栏暗色背景",
        "keep replay tools open": "一直显示回放工具栏",
        "hide network warning icons": "隐藏网络警告图标",
        "warn me when the game is not focused": "焦点不在游戏时提醒",
        "show the welcome guide": "显示新玩家引导",
        //通知相关文本
        "NOTIFICATIONS": "通知",
        "show desktop notifications": "推送系统通知",
        "suppress notifications while ingame": "禁止游戏中的通知",
        "always play notification sounds at full volume": "总是以全音量提示音效",
        "NOTIFY ME WHEN A FRIEND GOES ONLINE": "好友上线时提醒",
        "INGAME": "在游戏中",
        "INGAME & DESKTOP": "在游戏中和桌面上",
        "NOTIFY ME WHEN A FRIEND GOES OFFLINE": "朋友下线时通知我",
        "NOTIFY ME WHEN A FRIEND SENDS ME A DIRECT MESSAGE": "当朋友向我发送直接信息时通知我",
        "NOTIFY ME WHEN SOMEONE INVITES ME TO A ROOM": "当有人邀请我加入一个房间时通知我",
        "OTHER NOTIFICATIONS": "其他通知",
        "NOTIFY ME WHEN A NON-FRIEND SENDS ME A DIRECT MESSAGE": "当陌生人直接给我发信息时通知我",
        //个性化相关文本
        "CUSTOMIZATION": "个性化",
        "use custom background image": "使用自定义背景图片",
        //导出设置文本
        "EXPORT SETTINGS": "导出设置",
        "download a .TTC file of your config you can drag into <>TETRIO<> to import": "下载一个存有设置的.TTC文件,你可以拖到<>TETRIO<>中导入",
        //加载文本
        "requesting orders…": "请求命令···",
        "requesting account data…": "正在请求账户数据···",
        "fetching TETRA LEAGUE data…": "获取TETRA 联赛数据中···",
        "joining room…": "加入房间中···",
        "leaving room…": "离开房间中···",
        "connecting to live servers…": "正在连接到服务器···",
        "SWITCHING SERVER": "正在切换服务器···",
        "SERVER SWITCHED": "服务器已切换",
        "YOU ARE ALREADY IN THE ROOM": "你已在该房间",
        "fetching records…": "获取记录中···",
        "fetching replay…": "正在获取回放···",
        //账户相关文本
        "ACCOUNT": "账户",
        "ORDER HISTORY": "历史订单",
        "view previous orders": "查看以前的订单",
        "SUPPORT OR GIFT": "支持或捐赠",
        "LOG OUT ALL": "登出所有",
        "AVATAR": "头像",
        "a nice, 2MB max. image to represent yourself, or a generic identicon if none is chosen.": "用一张漂亮的、最大2MB的图片来作为你自己的头像,如果没有选择的话,可以选择一个通用的标识。",
        "REMOVE": "移除",
        "CHANGE": "更改",
        "BANNER": "横标",
        "a nice, 2MB max. image to display behind your profile and": "一个漂亮的,最大2MB的图片,显示在你的个人资料后面,以及",
        "userpage": "个人空间",
        ". target resolution is 1920x240.": ",图片目标分辨率为1920×240",
        "ABOUT ME": "关于我",
        "COUNTRY": "地区",
        "PRIVACY": "隐私",
        "SAVE": "保存",
        "show total time played on my profile": "在我的个人资料中显示总游戏时长",
        "show # of online games won on my profile": "在我的个人资料中显示获胜的游戏对局数",
        "show # of online games played on my profile": "在我的个人资料中显示所玩的总游戏对局数",
        "show my country on my profile": "在我的个人资料中显示我的地区",
        "WHO CAN ADD ME AS FRIEND": "谁能加我为好友",
        "This does not apply retroactively.": "这并不具有追溯性。",
        "MY FRIENDS": "我的好友",
        "EVERYONE": "所有人",
        "WHO CAN SEE WHETHER I'M ONLINE": "谁能看到我是否在线",
        'e.g. "Online", "Away", "Offline". People who cannot see whether you\'re online cannot invite you to rooms either.': "例如:“在线”、“离开”、“离线”。不能看到你是否在线的人也不能邀请你去房间。",
        "NOBODY": "没有人",
        "WHO CAN SEE WHAT I'M DOING": "谁能看到我在做什么",
        'e.g. "Playing 40 LINES", "In TETRA LEAGUE queue", "In Menus"': "例如:“正在进行40行竞速”、“正在进行 TETRA 联赛”、“在主菜单中“",
        "WHO CAN SEE WHAT ROOM I'M IN": "谁能看到我在哪个房间",
        'e.g. "In QUICK PLAY lobby", "In a public custom room". People who can see what room you\'re in can also quickly join said room. Private rooms are always hidden.': "例如:”在快速游戏房间“、”在公共自定义房间“。能看到你在哪个房间的人也能迅速加入这个房间。私人房间总是隐藏的。",
        "WHO CAN SEND ME DIRECT MESSAGES": "谁可以直接给我发信息",
        "WHO CAN SEND ME INVITES TO ROOMS": "谁可以直接邀请我进房间",
        "USERNAME": "用户名",
        "this is the name you will show up to others as.": "这是你在别人面前显示的名字。",
        "EMAIL": "电子邮箱",
        "this email account will be used for secure account actions, like account recovery.": "这个电子邮件账户将被用于安全的账户操作,如账户恢复。",
        "you do not currently have an email set. if you lose your password, your account cannot be recovered!": "你目前没有设置电子邮件。如果你丢失了密码,你的账户就无法恢复了",
        "PASSWORD": "密码",
        "you can change the password used to log in here.": "你可以在这里更改用于登录(不可用)的密码。",
        "TWO-FACTOR AUTHENTICATION": "双重身份验证",
        "two-factor authentication is": "双重认证",
        "NOT ENABLED": "未启用",
        "ENABLE": "启用",
        "RESET RECOVERY CODES": "重置恢复代码",
        "DISABLE": "暂停使用",
        "CONNECTIONS": "连接",
        "link other accounts with TETR.IO here, or remove them at any time.": "在此链接其他账户与TETR.IO,或随时删除它们。",
        "LINK": "链接",
        "REMOVE": "移除",
        "display publicly": "公开展示",
        "write a little something about yourself to display on": "写点关于你自己的东西,展示在",
        "your userpage": "你的个人空间",
        ", or leave this blank to disable. simple markdown allowed.": ",或留空禁用。允许简单的标记。",
        "Direct messages from non-friends show up on the NON-FRIENDS tab in the social overlay.": "来自陌生人的直接信息显示在社交叠加中的\"陌生人\"标签上。",
        "To be able to send you an invite, others will also need to be able to see whether you're online.": "为了能够向你发出邀请,其他人也需要能够看到你是否在线。",
        "ENABLE TWO-FACTOR AUTHENTICATION": "启用双重身份验证",
        "generating tokens…": "正在生成令牌…",
        "scan the following QR code with your favourite authenticator app (like AUTHY or GOOGLE AUTHENTICATOR), then enter the six-digit code into the box below to enable two-factor authentication": "使用您喜欢的验证器应用程序(如AUTHY或GOOGLE authenticator)扫描以下二维码,然后在下面的框中输入六位代码以启用双重身份验证",
        //关于相关文本
        "ABOUT": "关于",
        "all about <>TETRIO<>": "关于<>TETRIO<>的一切",
        "thank you for playing": "感谢游玩",
        //其他文本
        "pick a game mode": "选择游戏模式",
        "KEEP HOLDING TO FORFEIT": "长按退出",
        "KEEP HOLDING TO RETRY": "长按重试",
        "WINNER!": "胜利!",
        "OUT OF FOCUS": "失去焦点",
        "click to return to TETR.IO": "点击回到TETR.IO",
        "replay will not be saved": "回放将不会被保存",
        "MANUAL": "手册",
        "WINNER THIS ROUND": "本轮胜者",
        "bgm": "音乐",
        "TETR.IO DESKTOP should open soon!": "TETR.IO 桌面版应该很快就会打开!",
        "you can close this tab once it has opened": "你可以在该标签打开后关闭它",
        "WHAT'S NEW": "更新内容:",
        "Like this update? Please consider <>supporting TETR.IO development<>!": "喜欢这个更新吗?请考虑<>支持TETR.IO开发工作<>!",
        "ALL PATCH NOTES": "全部更新日志",
        "COOL!": "酷诶!",
        "CLOSE": "关闭",
        "BACK": "返回",
        "HOME": "主页",
        "EXIT": "退出",
        "an update is required to connect to multiplayer servers. click here to update!": "需要更新以连接到多人游戏服务器。点击这里进行更新!",
        //包含特殊文字
        "DZ LEADERBOARDS": "DZ 排行榜",
        "DZ VIEW FULL": "DZ 查看完整排行榜",
        "DZ VIEW FULL PROFILE": "DZ 查看完整资料",
        "DZ MY PAGE": "DZ 我的空间",
        "ǹ REMOVE": "ǹ 移除",
        "ǹ CHANGE": "ǹ 更改",
        "ǹ SAVE": "ǹ 保存",
        "ǹ CHANGE": "ǹ 更改",
        //好友系统相关文本
        "PEOPLE": "好友",
        "In a": "进行一场",
        "In an": "进行一场",
        "online": "在线",
        "private": "私人",
        "In":"处于",
        "queue":"匹配中",
        "custom room": "自定义房间",
        "game": "对局",
        "Spectating a": "旁观一场",
        "Blocked": "拉黑",
        "UNBLOCK": "解除拉黑",
        "ONLINE": "在线",
        "lobby": "大厅",
        "GLOBAL": "全球",
        "FRIEND": "加为好友",
        "MESSAGE": "发消息",
        "ANONYMOUS": "匿名",
        "You haven't added any friends yet. Click the FRIEND button on a profile to friend them.": "您还没有添加任何好友。单击他人资料页上的“加为好友”按钮即可将其加为好友",
        "If someone outside of your friends list messages you, they'll appear here.": "如果有在你好友名单之外的人给你发信息,他们会出现在这里。",
        "Not connected to online servers. Sit tight, we'll try to reconnect you in the background.": "没有连接到在线服务器。稍等片刻,我们会尝试在后台进行重连。",
        "In Menus": "在主菜单中",
        "appear as usual": "表示你一切正常",
        "AWAY": "离开",
        "appear away, unless you're offline or busy": "显示离开,表示你不在线或很忙",
        "BUSY": "正忙",
        "appear busy, unless you're offline. receive no notifications. always enabled in TETRA LEAGUE (unless you're invisible)": "显示很忙,除非你是离线的。不会收到任何通知。在TETRA 联赛中总是启用(除非你隐身了)",
        "INVISIBLE": "隐身",
        "appear offline at all times": "始终处于离线状态",
        "REPLAY": "回放",
        "LIVE": "直播",
        "grid": "网格",
        "You forfeited a ranked match": "你放弃了一场排位赛",
        "You have been awarded a loss for this match. Please ensure you have the time and internet connection to play! Repeated forfeits are punished (and will be automatically punished in the future). Thank you for understanding!": "你在这场比赛中被判为失败。请确保你有充裕的时间和良好的网络连接来进行比赛! 屡次弃权将受到惩罚(今后将自动受到惩罚)。感谢您的理解!",
        "Spectating a private": "旁观一场私人",
        "friends list": "好友列表",
        "has added you to their": "已将您加入到TA的",
        "has": "已经",
        "friended you back": "互相加为好友",
        "Offline": "离线",
        "invited you to": "邀请你",
        "Please be civil. Staff will never ask for your credentials.": "请文明交流。官方永远不会索要您的个人信息。",
        "ONLINE": "在线",
        "Away": "离开",
        "Playing": "正在玩",
        "Busying": "正忙",
        "has come online": "上线了",
        "online now": "在线",
        "Ending a": "结算一场",
        "You haven't blocked anyone yet.": "你还没有拉黑任何人。",
        "BLOCKED": "黑名单",
        "Nobody's online right now": "现在没有人在线",
        "connected to server": "连接到服务器",
        "Ending an": "结算一场",
        "PROFILE": "个人资料",
        "GIFT": "赠送",
        "- MUTUAL FRIENDS": " - 双向好友",
        //错误相关文本
        "DEVELOPMENT BUILD": "开发版本",
        "if you have the feeling you're not supposed to be here, get out": "如果你觉得你不应该在这里,那就出去吧",
        "error loading TETR.IO": "加载TETR.IO出错",
        "we support the following browsers:": "我们支持以下浏览器:",
        "using TETR.IO desktop? this usually means something's very wrong (usually at TETR.IO's side). hit the button below to reload.": "使用TETR.IO的桌面客户端?这通常意味着有些东西很不对劲(通常在TETR.IO这边)。点击下面的按钮重新加载。",
        "RELOAD": "重新加载",
        "TETR.IO requires WEBGL": "TETR.IO需要WEBGL",
        "it seems WEBGL is disabled in your browser. WEBGL is required for the game to render properly.": "看来你的浏览器禁用了WEBGL。游戏需要WEBGL才能正常渲染。",
        "please check your browser settings to ensure HARDWARE ACCELERATION is enabled in your browser, then try again. if that doesn't work, try upgrading your browser.": "请检查您的浏览器设置,确保您的浏览器启用了硬件加速功能,然后再试一次。如果不行,请尝试升级您的浏览器。",
        "TETR.IO DESKTOP is automatically set up to bring the smoothest experience, with far better performance and less setup hassle. install it with the button below!": "TETR.IO桌面客户端的自动设置带来了最流畅的体验,具有更好的性能和更少的设置麻烦。用下面的按钮安装它!",
        "already on desktop? you may need to restart your device.": "使用的已经是桌面版了?你可能需要重新启动设备。",
        "GET TETR.IO DESKTOP!": "下载TETR.IO桌面客户端!",
        "this ban only covers your network (IP). your account is": "这个禁令只包括你的网络(IP)。你的账户是",
        "not banned": "没有被禁用的",
        "! please turn off any VPN/proxy, and/or try from a different network. in most cases, ": "请关闭任何VPN/代理,尝试不同的网络环境,多数情况下可解决",
        "support cannot help you here.": "赞助对解除封禁无效。",
        "if you believe you were banned in error,": "如果你认为你被封禁是错误的、",
        "YOU HAVE BEEN BLOCKED FROM TETR.IO": "您已被阻止进入 TETR.IO 网站",
        "A connection error has occured": "发生了一个连接错误",
        "GAME CANCELLED": "对局中止",
        "THIS GAME WAS CANCELLED BECAUSE A PLAYER HAS LEFT.YOUR RATING WILL NOT BE ADJUSTED.": "由于一名玩家中途退出,本局游戏已中止。你的评分不会受到调整。",
    };

    // 悬停文本
    const tooltipMap = {
        "Get TETR.IO Desktop": "下载TETR.IO桌面客户端",
        "Get TETR.IO Desktop - the official desktop client": "下载TETR.IO官方桌面客户端",
        "Follow TETR.IO on Twitter - be the first to hear about updates": "在Twitter上关注TETR.IO——率先了解更新",
        "Join the TETR.IO Discord - follow updates, give feedback and have fun": "加入TETR.IO Discord——关注更新、提供反馈并享受乐趣",
        "View the TETR.IO issue tracker - report bugs and pitch ideas to improve TETR.IO": "查看TETR.IO问题追踪器——报告错误并提出改进TETR.IO的想法",
        "Support TETR.IO or gift supporter and get cool benefits!": "支持TETR.IO或赠送支持者身份并获得酷炫福利!",
        "Support TETR.IO or gift supporter status and get cool benefits!": "支持TETR.IO或赠送支持者身份并获得酷炫福利!",
        "Change the way you control TETR.IO": "改变你控制TETR.IO的按键",
        "Change the way TETR.IO feels": "改变你玩TETR.IO的手感",
        "Change the way TETR.IO sounds": "改变TETR.IO的声音",
        "Change the way TETR.IO functions": "改变TETR.IO的功能设置",
        "Change the way TETR.IO looks": "改变TETR.IO的视觉效果",
        "Change the way TETR.IO notifies you": "改变TETR.IO通知你的方式",
        "Add your own personal spin to TETR.IO": "为TETR.IO添加你自己的个人特色",
        "Log out on all devices.": "在所有设备上注销登录(不可用)。",
        "Log out on this device.": "在当前设备上注销登录(不可用)。",
        "Remove your avatar.": "删除你的头像。",
        "Set a new avatar.": "设置一个新头像",
        "Remove your banner.": "删除你的横标",
        "Set a new banner.": "设置一个新横标",
        "Save your new bio.": "保存你的新简介",
        "Change the country on display.": "改变显示的地区。",
        "The standard controls, as seen in many stacker games.": "标准控制,在许多方块游戏中都能看到。",
        "A WASD-based layout, that sets piece movement to the left hand and rotation to the right.": "基于WASD的布局,将方块的移动设置为左手,旋转设置为右手。",
        "Custom controls - set them as you wish.": "自定义控制--按你的意愿设置。",
        "For analog sticks and buttons, how sensitive the controls are.": "对于模拟摇杆和按键控制的灵敏度设置。",
        "For controllers, how powerful vibration is. Not all devices and browsers are supported.": "对于控制器来说,振动的力度有多大。不是所有的设备和浏览器都支持。",
        "Automatic Repeat Rate: the speed at which tetrominoes move when holding down movement keys, measured in frames per movement.": "自动重复速率:长按移动键时方块每移动一格所需的时间,单位为帧。",
        "Delayed Auto Shift: the time between the initial keypress and the start of its automatic repeat movement, measured in frames.": "自动移动延迟:从按下移动键到开始连续自动移动所需的时间,单位为帧。",
        "DAS Cut Delay: if not 0, any ongoing DAS movement will pause for a set amount of time after dropping/rotating a piece, measured in frames.": "DAS切断延迟,如果不为0,任何正在进行的DAS运动将在下落/旋转一个方块后暂停一段设定的时间,以帧计算。",
        "Soft Drop Factor: the factor with which soft drops change the gravity speed.": "软降系数:改变软降重力速度的系数。越大越快",
        "If enabled, when a piece locks on its own, the hard drop key becomes unavailable for a few frames. This prevents accidental hard drops.": "当方块自行锁定时,硬降键会有几帧无法使用。这可以防止意外的硬降。",
        "If enabled, DAS charge is cancelled when you change directions.": "如果启用,当你中途改变移动方向时,DAS充能会重新计算。",
        "Reset these settings to the defaults.": "将这些设置重置为默认配置。",
        "Try out these settings.": "试试这些设置吧。",
        "Tweak the music randomizer to your liking.": "根据自己的喜好调整曲库",
        "The volume at which music and jingles play.": "音乐和铃声的播放音量。",
        "The volume at which sound effects play.": "声音效果播放的音量。",
        "How much stereo to apply. A value of 0% means all sound is centered, whereas a value of 100% plays sounds that happen aside your board on different ears.": "应用多少立体声。0%的值意味着所有的声音都在中心位置,而100%的值则是在不同的耳朵上播放发生在你游戏中的声音。",
        "Whether to allow scrolling ingame (or holding ALT and scrolling anywhere) to change the volume.": "是否允许在游戏中用滚轮(或按住ALT并滚动到任何地方)来改变音量。",
        "Whether to play a sound effect that signifies the next piece that'll come up.": "是否播放代表下一个方块的声音效果。",
        "Whether to hear the sounds of other people playing in Multiplayer.": "是否能在多人游戏中听到其他人的声音。",
        "Whether to hear the sounds of attacks going towards and from you.": "是否听到收到和发出攻击的声音。",
        "If enabled, the background music won't reset when you retry a game.": "如果启用,当你重试一场游戏时,背景音乐不会重置。",
        "If enabled, no audio will ever play. This will speed up the game, with a rather obvious drawback.": "如果启用,将永远不会有音频播放。这将加快游戏的速度,但有相当明显的缺点。",
        "Don't display any action text when doing special attacks.": "做特殊攻击时不要显示任何文字特效。",
        "Display only non-distracting action text when doing special attacks.": "在进行特殊攻击时,只显示非干扰性的文字特效。",
        "Display all action text when doing special attacks.": "进行特殊攻击时显示所有文字特效。",
        "How much the board reacts when you move pieces around.": "当你移动方块时,板面的反应有多大。",
        "How much the board reacts when you receive damage.": "当你受到伤害时,板面的反应有多大。",
        "How visible the grid is. 0% makes the grid invisible.": "网格的可见程度。0%使网格不可见。",
        "How visible the board is. 0% makes the board invisible.": "背景的可见度。0%使背景不可见。",
        "How visible the shadow piece is. 0% makes the shadow piece invisible.": "阴影部分的可见程度。0%使阴影部分不可见。",
        "How large the board displays. Values over 100% may cause some elements to not be visible.": "显示多大的板面。超过100%的值可能会导致一些元素不可见。",
        "Whether to display a duel side-by-side. This causes your own board to move slightly to the left.": "是否并排显示决斗.这将使你自己的板面稍微向左移动。",
        "When enabled, the board reacts to T-Spins by rotating a little with it.": "启用后,板面对T-Spin的反应是随着它旋转一点。",
        "If enabled, show a popup when you KO someone or get KO'd.": "如果启用,当你KO某人或被KO时显示一个弹出窗口。",
        "If enabled, fill a fire meter when doing well, illuminating boards that have a lot of fire.": "如果启用,在做得好的时候显示一个火力表,根据打出的火力大小点亮板面。",
        "If enabled, makes the board red and play a warning sound when you're in danger.": "如果启用,在你有危险的时候会使板面变成红色,并播放警告声。",
        "If enabled, colors the shadow piece.": "如果启用,给阴影部分上色。",
        "Override all graphics settings and disable practically everything for the highest performance but worst visuals.": "覆盖所有的图形设置,几乎禁用一切,以获得最高的性能,但视觉效果最差。",
        "No particles or effects. Use on lower-spec computers, if you want to ensure optimum performance, or if you simply dislike the flair.": "没有粒子或效果。如果你想确保最佳性能,或者你只是不喜欢炫耀,请在低规格的计算机上使用。",
        "Less particles and effects.": "更少的粒子效果。",
        "Most of the particles and effects..": "大多数的粒子效果...",
        "ALL THE EFFECTS. Use on high-end computers.": "启用所有效果。在高端电脑上使用。",
        "If enabled, the background music will be muted when TETR.IO is minimized or tabbed away.": "如果启用,当TETR.IO最小化或标签化时,背景音乐将被静音。",
        "Don't cache anything. Might be fastest on some devices.": "不要缓存任何东西。在某些设备上可能是最快的。",
        "Only cache when necessary. Default option.": "默认选项。只在必要时进行缓存。",
        "Cache as much as possible. Might be fastest on some devices.": "尽可能多的缓存。在某些设备上可能是最快的。",
        "Use a compatibility mode for WebGL. If you experience unexplainable flickering, try this mode.": "使用WebGL的兼容模式 如果你遇到无法解释的闪烁,请尝试这种模式",
        "Use WebGL 1. If you see artifacts on screen, try this mode.": "使用WebGL 1。如果你在屏幕上看到伪影,请尝试这个模式。",
        "Use the newest WebGL 2. Best (and default) option, but might not be supported properly on all devices. Some devices/browsers ignore this option and use WebGL 1 - check the Console (F12 -> Console) to see which is being used.": "使用最新的WebGL 2.最佳(和默认)选项,但可能不是所有设备都能正确支持。有些设备/浏览器会忽略这个选项,而使用WebGL 1--检查控制台(F12->控制台),看看正在使用的是哪一种。",
        "How many particles to display.": "要显示多少粒子特效。",
        "How visible the background images are. 0% makes the background entirely black.": "背景图像的可见度。0%使背景完全变黑。",
        "If enabled, prioritize power saving over performance.": "如果启用,优先考虑节能而非性能。",
        "If enabled, render blurrier but prettier.": "如果启用,渲染会更模糊但更漂亮。",
        "If enabled, don't show as much precision on in-game counters. Speeds up the game significantly.": "如果启用,在游戏中的计数器上不会显示那么多精度。大大加快了游戏的运行速度。",
        "If enabled, always shows the simpler thumbnails for other players. This increases performance in games between 2 and 10 players, but looks less nice.": "如果启用,总是显示其他玩家的更简单的缩略图。这在2到10个玩家之间的游戏中提高了性能,但看起来不太美观。",
        "If enabled, the background of Super Lobbies (rooms of 100+players) does not animate (outside of the intro).": "如果启用,超级大厅(有100名以上玩家的房间)的背景不会有动画(除了介绍之外)。",
        "If enabled, do not show the background when in menus. This will majorly improve performance in menus, but you will no longer see the background.": "如果启用,在菜单中不显示背景。这将极大地提高菜单的性能,但你将不再看到背景。",
        "If enabled, profanity in chat will be filtered. Note that such filters are never perfect.": "如果启用,聊天中的脏话将被过滤掉。请注意,这样的过滤器永远不会完美。",
        "If enabled, chat will be hidden when ingame.": "如果启用,聊天将在游戏中被隐藏。",
        "If enabled, room IDs will not be shown, to protect you from streamsniping.": "如果启用,房间ID将不被显示,以保护你不被流媒体窃取。",
        "If enabled, show emotes in chat.": "如果启用,在聊天中显示表情。",
        "If enabled, show animated emotes in chat.": "如果启用,在聊天中显示动态表情。",
        "If enabled, chat text shows in black (good for light backgrounds).": "如果启用,聊天文本显示为黑色(对浅色背景有好处)。",
        "If enabled, show a background behind chat messages when typing.": "如果启用,打字时在聊天信息后面显示一个背景。",
        "If enabled, the replay tools do not collapse when you're not using them.": "如果启用,当你不使用这些工具时,回放工具栏不会关闭。",
        "If enabled, network warning icons will not be shown.": "如果启用,将不显示网络警告图标。",
        "If enabled, a warning is shown when TETR.IO is out of focus.": "如果启用,当TETR.IO失焦时,会显示一个警告。",
        "If enabled, show the simple guide with the keybinds in multiplayer lobbies.": "如果启用,在多人游戏大厅中显示带有键盘绑定的简单指南。",
        "If enabled, show notifications outside of the game.": "如果启用,显示游戏外的通知。",
        "If enabled, unimportant notifications don't show ingame, but will be shown after the game.": "如果启用,不重要的通知不会在游戏中显示,但会在游戏后显示。",
        "If enabled, notification sounds always play at full volume.": "如果启用,通知声音总是以全音量播放。",
        "Don't notify me.": "不要通知我。",
        "Only notify me ingame.": "只有在游戏中才会通知我。",
        "Notify me ingame and with a desktop notification.": "在游戏中通知我,并以桌面通知的方式通知我。",
        "If enabled, show a custom background image. If disabled, uses default background.": "如果启用,显示一个自定义的背景图片。如果禁用,则使用默认背景。",
        "Save your new privacy settings.": "保存你的新隐私设置。",
        "If enabled, show how much time you' ve played TETR. IO for.": "如果启用,显示你玩了多长时间的TETR.IO",
        "If enabled, show your amount of online games won on your profile.": "如果启用,在你的个人资料上显示你赢得的在线游戏的数量。",
        "If enabled, show your amount of online games played on your profile.": "如果启用,在你的个人资料上显示你玩过的在线游戏数量。",
        "If enabled, show your country as a flag on your profile.": "如果启用,将你的地区代表旗帜显示在你的个人资料上。",
        "Only people who you're added as friend can add you as friend.": "只有被你加为好友的人才能加你为好友。",
        "Anyone can add you as friend.": "任何人都可以加你为好友。",
        "Nobody can see whether you're online. Not recommended.": "没有人可以看到你是否在线。不建议使用。",
        "Only people who you've added as friend can see whether you're online.": "只有被你加为好友的人可以看到你是否在线。",
        "Anyone can see whether you're online.": "任何人都可以看到你是否在线。",
        "Nobody can see what you're doing.": "没有人可以看到你在做什么。",
        "Only people who you've added as friend can see what you're doing.": "只有被你加为好友的人才能看到你在做什么。",
        "Anyone can see what you're doing.": "任何人都可以看到你在做什么。",
        "Nobody can see what room you're in.": "没有人可以看到你在哪个房间。",
        "Only people who you've added as friend can see what room you're in.": "只有被你加为好友的人才能看到你所在的房间。",
        "Anyone can see what room you're in.": "任何人都可以看到你在哪个房间。",
        "Nobody can send you direct messages.": "没有人可以直接给你发信息。",
        "Only people who you've added as friend can send you direct messages.": "只有被你加为好友的人才能给你发送直接信息。",
        "Anyone can send you direct messages.": "任何人都可以给你发送直接信息。",
        "Nobody can send you invites.": "没有人可以向你发出邀请。",
        "Only people who you've added as friend can send you invites.": "只有被你加为好友的人才能向你发出邀请。",
        "Anyone can send you invites.": "任何人都可以向你发出邀请。",
        "Save your new username.": "保存你的新用户名。",
        "Save your new email.": "保存你的新电子邮箱。",
        "Save your new password.": "保存你的新密码。",
        "Enable two-factor authentication.": "启用双重认证。",
        "Link your Discord account.": "连接你的Discord账户。",
        "Delete your account and everything involved.": "删除你的账户和所有涉及的东西。",
        "Further customize this mode": "进一步自定义这种模式",
        "Show extra info and arrange some info for pro players.": "显示额外的信息,为专业玩家显示一些信息。",
        "Alert me when I make a finesse fault.": "当我有非极简操作时提醒我。",
        "Restart the game when I make a finesse fault.": "当我有非极简操作时,重新开始游戏。",
        "Speeds up animations, disables hold-to-retry and prevents the first piece from being S, Z or O.": "加快动画速度,禁用长按重开的功能,并防止第一个方块是S、Z或O。",
        "The type of metric to display in the first left-hand slot.": "要在游戏左侧第一个信息槽中显示的度量衡的类型。",
        "The type of metric to display in the second left-hand slot.": "要在游戏左侧第二个信息槽中显示的度量衡的类型。",
        "The type of metric to display in the third left-hand slot.": "要在游戏左侧第三个信息槽中显示的度量衡的类型。",
        "The type of metric to display in the fourth left-hand slot.": "要在游戏左侧第四个信息槽中显示的度量衡的类型。",
        "The type of metric to display in the right-hand slot.": "要在游戏右侧第一个信息槽中显示的度量衡的类型。",
        "Open in the standalone TETRA CHANNEL site": "打开独立的TETRA频道网站",
        "Destroy all ZEN progress.": "清除禅意模式的全部进度。",
        "TETRA LEAGUE rank": "TETRA联赛段位",
        "Online games won / online games played": "在线游戏胜利数 / 在线游戏总数",
        "Total time played": "总游玩时间",
        "I enjoyed it!": "我很享受这局游戏!",
        "I did not enjoy it": "我不享受这局游戏",
        "This user is likely a plonker": "该玩家倾向于使用反击策略",
        "This user is likely an opener main": "该玩家倾向于使用开局策略",
        "This user is likely an infnite downstacker": "该玩家倾向于使用挖掘策略",
        "This user is likely a strider": "该玩家倾向于使用火力策略",
        "Amount of players who have friended this person": "有多少个玩家将该玩家添加为好友",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
        "": "",
    };

    // 特殊文本
    const specialTextMap = {
        "([0-9]+) (SECONDS?|seconds?)": "$1秒",
        "([0-9]+) (MINUTES?|minutes?)": "$1分钟",
        "([0-9]+) (HOURS?|hours?)": "$1小时",
        "([0-9]+) (DAYS?|days?)": "$1天",
        "([0-9]+) (MONTHS?|months?)": "$1个月",
        "([0-9]+) (YEARS?|years?)": "$1年",
        "(.*) ago": "$1前",
        "JOINED (.*) AGO -": "$1前加入游戏 - ",
        "loading fonts(.*)": "正在加载字体$1",
        "loading textures(.*)": "正在加载材质$1",
        "loading (.*)": "正在加载$1",
        "home banner data(.*)": "首页横幅数据$1",
        "checking for game updates(.*)":"检查游戏更新$1",
        "(.*) this session": "本次会话时间:$1",
        "(.*) ONLINE": "$1人在线",
        "([0-9]+)% towards next level": "离下一个等级还有$1%",
        "This user's winrate is not heavily affected if they lost their previous match. (.*)": "该玩家的胜率可能不会因他上一场比赛的失败而产生较大影响。$1",
        "This user's winrate is not heavily affected if they won their previous match. (.*)": "该玩家的胜率可能不会因他上一场比赛的胜利而产生较大影响。$1",
        "This user tends to continue losing if they lost their previous match. (.*)": "该玩家的胜率可能会因他上一场比赛的失败而降低。$1",
        "This user tends to continue winning if they won their previous match (.*)": "该玩家的胜率可能会因他上一场比赛的获胜而提高。$1",
        "This user has a high winrate against openers. (.*)": "该玩家对开局策略有很高的胜率。$1",
        "This user has a high winrate against striders. (.*)": "该玩家对火力策略有很高的胜率。$1",
        "This user has a high winrate against inf ds'ers. (.*)": "该玩家对挖掘策略有很高的胜率。$1",
        "This user has a high winrate against plonkers. (.*)": "该玩家对反击策略有很高的胜率。$1",
        "This user has a low winrate against openers. (.*)": "该玩家对开局策略有很低的胜率。$1",
        "This user has a low winrate against striders. (.*)": "该玩家对火力策略有很低的胜率。$1",
        "This user has a low winrate against inf ds'ers. (.*)": "该玩家对挖掘策略有很低的胜率。$1",
        "This user has a low winrate against plonkers. (.*)": "该玩家对反击策略有很低的胜率。$1",
        "This user has a low winrate against plonkers. (.*)": "该玩家对反击策略有很低的胜率。$1",
        "This user has a high average VS compared to other players (.*)":"该玩家的VS高于平均水平 $1",
        "This user has a high average APM compared to other players (.*)":"该玩家的APM高于平均水平 $1",
        "This user has a high average PPS compared to other players (.*)":"该玩家的PPS高于平均水平 $1",
        "This user has a low average VS compared to other players (.*)":"该玩家的VS低于平均水平 $1",
        "This user has a low average APM compared to other players (.*)":"该玩家的APM低于平均水平 $1",
        "This user has a low average PPS compared to other players (.*)":"该玩家的PPS低于平均水平 $1",
        "Top (.*)":"头部 $1",
        "Winrate (.*)":"胜率 $1",
        "Bottom (.*)":"底部 $1",
    };

    // 占位符
    const placeholderMap = {
        "enter room id or url and hit enter...": "输入房间号或网址并按回车键……",
        "enter replay id, url or username and hit enter...": "输入回放id、网址或用户名并按回车键……",
        "background URL (use multiple by separating with commas)": "背景图片地址(多张图片用逗号分隔)",
        "Write something...": "写点什么吧……",
        "USERNAME": "用户名",
        "email": "电子邮箱",
        "email (optional)": "电子邮箱(可选)",
        "your new password": "请输入你的新密码",
        "your new password, again": "请再次输入你的新密码",
        "PASSWORD": "请输入密码",
        "PASSWORD AGAIN": "请再次输入密码",
        "please enter the characters above": "请输入上面的文字",
        "six digits": "六位数",
        "Ǖ find someone…": "Ǖ 搜索用户名……",
        "message...": "发消息……",
    };

    // 伪元素(::before, ::after)文本
    const pseudoElementMap = {
        ".replayid::before": "回放id:",
    };

    // 检查给定的节点及其祖族元素是否包含应该排除的元素
    function shouldExclude(node) {
        let currentNode = node;
        while (currentNode) {
            if (currentNode.nodeType === Node.ELEMENT_NODE && (currentNode.getAttribute("data-uid") === "5f4ca7f5fdcc602e78a65bba" || ["breadcrumbs", "dirtyflag_gfx", "dirtyflag_net", "dirtyflag_state", "dirtyflag_client", "dirtyflag_gl"].includes(currentNode.getAttribute("id")) || / (user|leagueplayer_name|primary|uniflex-item) /.test(" " + [...currentNode.classList].join(" ") + " "))) {
                return true;
            }
            currentNode = currentNode.parentNode;
        }
        return false;
    }

// 替换页面文本
function replaceText(node) {
    if (node.nodeType === Node.ELEMENT_NODE) {
        let text = node.innerHTML;
        const regex = /<.*?>/g;
        let tags = text.match(regex);
        text = text.replace(regex, "<>").replace(/&nbsp;/g, " ");
        const nodeNameList = ["DIV", "H1", "H2", "H3", "P", "A", "SPAN"];
        if (nodeNameList.includes(node.nodeName) && textMap.hasOwnProperty(text) && !shouldExclude(node)) {
            text = textMap[text];
            node.innerHTML = text.replace(/<>+/g, () => tags.shift() ?? "<>");
        }
        // 替换占位符
        if (node.hasAttribute?.("placeholder") && placeholderMap.hasOwnProperty(node.getAttribute("placeholder"))) {
            node.setAttribute("placeholder", placeholderMap[node.getAttribute("placeholder")]);
        }
        // 替换伪元素文本
        const styleSheet = document.styleSheets[0];
        for (let [key, value] of Object.entries(pseudoElementMap)) {
            if (node.matches(key.split("::")[0])) {
                styleSheet.addRule(key, `content: "${value}";`);
            }
        }
    } else if (node.nodeType === Node.TEXT_NODE) {
        let text = node.nodeValue.trim();
        if (textMap.hasOwnProperty(text) && !shouldExclude(node)) {
            node.nodeValue = textMap[text];
        } else {
            for (let [key, value] of Object.entries(specialTextMap)) {
                const regex = new RegExp(key, "g");
                const replacedText = text.replace(regex, value);
                if (text !== replacedText) {
                    node.nodeValue = replacedText;
                    text = replacedText;
                }
            }
        }
        return;
    }
    for (let i of node.childNodes) {
        replaceText(i);
    }
}

    // 替换悬停文本
    function replaceTooltips(event) {
        const tooltip = event.target;
        const title = tooltip.getAttribute("title");
        if (title) {
            if (tooltipMap.hasOwnProperty(title)) {
                tooltip.setAttribute("title", tooltipMap[title]);
                tooltip.removeAttribute("data-original-title");
            } else {
                for (let [key, value] of Object.entries(specialTextMap)) {
                    const regex = new RegExp(key, "g");
                    const replacedTitle = title.replace(regex, value);
                    if (title !== replacedTitle) {
                        tooltip.setAttribute("title", replacedTitle);
                        title = replacedTitle;
                    }
                }
            }
        }
    }

    function handleMutation(mutationsList) {
        for (let mutation of mutationsList) {
            if (mutation.type === "childList" && mutation.addedNodes.length > 0) {
                for (let i of mutation.addedNodes) {
                    replaceText(i);
                }
            }
        }
    }

    replaceText(document.body);

    // 使用mouseenter事件替换悬停文本
    document.addEventListener("mouseenter", event => {
        const target = event.target;
        if (target.hasAttribute?.("title")) {
            replaceTooltips(event);
        }
    }, true);

    // 使用mouseleave事件还原悬停文本
    document.addEventListener("mouseleave", event => {
        const target = event.target;
        if (target.hasAttribute?.("title") && tooltipMap.hasOwnProperty(target.getAttribute("title"))) {
            target.setAttribute("title", tooltipMap[target.getAttribute("title")]);
            target.setAttribute("data-original-title", target.getAttribute("title"));
        }
    }, true);

    // 使用MutationObserver在页面更新时自动替换文本
    const observer = new MutationObserver(handleMutation);
    observer.observe(document.body, { childList: true, subtree: true });
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址