把官方 SideQuest 桌面版(基线 1.4.1)汉化为简体中文,并产出可覆盖安装的 deb。 不修改任何上游源码:所有改动集中在 build.js 的补丁层,作用于已编译产物 (dist-electron 与 dist/sidequest-desktop),因此本工具包可独立于上游代码工作。 主要内容: - 运行时汉化引擎 engine.js + 主进程统一注入 hook tail.js (应用有 7 个 data:text/html overlay 页且带严格 CSP,故用主进程 hook 一次覆盖全部窗口) - 词典 1806 条(dict-a…i.json)+ 动态规则 137 条(rules.json) - 纯 Node 实现的 asar 打包/解包 asar.js,零外部依赖 - 构建/试运行/安装/校验脚本 覆盖范围:主页、侧载、文件、应用、串流、设备设置、调试(Logcat)、无线、 全部弹窗、命令面板、日期与相对时间。内嵌商店为远程服务端渲染,不在范围内。
35 lines
2.7 KiB
JSON
35 lines
2.7 KiB
JSON
{
|
|
"Manage your connected devices and saved Wi-Fi connections.": "管理已连接的设备和已保存的 Wi-Fi 连接。",
|
|
"Manage updates, account connections, app installation, and storage.": "管理更新、账户连接、应用安装与存储。",
|
|
"Search and manage apps installed on your device.": "搜索并管理设备上已安装的应用。",
|
|
"Stream, inspect, and save Android logs from your device.": "串流、查看并保存设备上的 Android 日志。",
|
|
"Run ADB and shell commands. Output is kept for this session.": "运行 ADB 和 shell 命令。输出仅在本次会话中保留。",
|
|
"Device connection unavailable": "设备连接不可用",
|
|
"Open SideQuest on a supported computer or phone to connect your device.": "请在受支持的电脑或手机上打开 SideQuest 以连接你的设备。",
|
|
"If \"Switch to Wi-Fi\" fails, check that your device is connected to Wi-Fi.": "如果「切换到 Wi-Fi」失败,请检查设备是否已连接到 Wi-Fi。",
|
|
"If “Switch to Wi-Fi” fails, check that your device is connected to Wi-Fi.": "如果「切换到 Wi-Fi」失败,请检查设备是否已连接到 Wi-Fi。",
|
|
"Download failed before the response could be read.": "在读取响应之前下载就已失败。",
|
|
"The installed-package probe did not run.": "未运行已安装包探测。",
|
|
"The installed-package probe has not completed.": "已安装包探测尚未完成。",
|
|
"The package probe omitted the installed app version.": "包探测未返回已安装应用的版本。",
|
|
"The package probe returned contradictory package state.": "包探测返回了自相矛盾的包状态。",
|
|
"The package probe returned duplicate package blocks.": "包探测返回了重复的包块。",
|
|
"The package probe returned duplicate version fields.": "包探测返回了重复的版本字段。",
|
|
"The package probe wrote an unexpected error.": "包探测写入了意外错误。",
|
|
"ADB was not found. Install Android platform-tools or add adb to your PATH.": "未找到 ADB。请安装 Android platform-tools,或将 adb 加入 PATH。",
|
|
"Settings": "设置",
|
|
"Installed apps": "已安装应用",
|
|
"Device files": "设备文件",
|
|
"ADB commands": "ADB 命令",
|
|
"Devices": "设备",
|
|
"Devices and files on this device": "此设备上的设备与文件",
|
|
"after installing an app": "安装应用之后",
|
|
"before installing": "安装之前",
|
|
"An older version of this app is already installed.": "已安装此应用的更旧版本。",
|
|
"Enter a command and press Enter": "输入命令后按回车",
|
|
"Search pages, settings, apps…": "搜索页面、设置、应用…",
|
|
"Search pages, settings, apps...": "搜索页面、设置、应用…",
|
|
"Type to search or run a command": "输入以搜索或运行命令",
|
|
"Wireless headset": "无线头显",
|
|
"Wired device": "有线设备"
|
|
} |