@swipt/cli 0.1.0-nightly.93 → 0.1.0-nightly.97

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/dist/cli/cli.js +1 -1
  2. package/dist/cli/cli.js.map +1 -1
  3. package/dist/cli/commands/data/read.js +4 -6
  4. package/dist/cli/commands/data/read.js.map +1 -1
  5. package/dist/cli/commands/device/stop.js +3 -3
  6. package/dist/cli/commands/device/stop.js.map +1 -1
  7. package/dist/cli/commands/driver/driver.js +28 -0
  8. package/dist/cli/commands/driver/driver.js.map +1 -0
  9. package/dist/cli/commands/driver/index.js +1 -0
  10. package/dist/cli/commands/flags.js +8 -7
  11. package/dist/cli/commands/flags.js.map +1 -1
  12. package/dist/cli/commands/index.js +3 -0
  13. package/dist/cli/commands/index.js.map +1 -1
  14. package/dist/cli/commands/project/create.js +2 -2
  15. package/dist/cli/commands/project/create.js.map +1 -1
  16. package/dist/cli/commands/project/source.js +10 -9
  17. package/dist/cli/commands/project/source.js.map +1 -1
  18. package/dist/cli/commands/swiplet/remove.js +1 -1
  19. package/dist/cli/commands/swiplet/remove.js.map +1 -1
  20. package/dist/client.js +27 -6
  21. package/dist/client.js.map +1 -1
  22. package/dist/connection.d.ts +3 -1
  23. package/dist/connection.js +41 -52
  24. package/dist/connection.js.map +1 -1
  25. package/dist/directories.d.ts +2 -0
  26. package/dist/directories.js +9 -0
  27. package/dist/directories.js.map +1 -0
  28. package/dist/driver.d.ts +39 -0
  29. package/dist/driver.js +199 -0
  30. package/dist/driver.js.map +1 -0
  31. package/dist/i18n.d.ts +1 -1
  32. package/dist/i18n.js +43 -7
  33. package/dist/i18n.js.map +1 -1
  34. package/dist/mdns.d.ts +7 -0
  35. package/dist/mdns.js +44 -0
  36. package/dist/mdns.js.map +1 -0
  37. package/dist/output.js +6 -6
  38. package/dist/output.js.map +1 -1
  39. package/dist/passcode.d.ts +9 -0
  40. package/dist/passcode.js +81 -0
  41. package/dist/passcode.js.map +1 -0
  42. package/dist/project.js +38 -32
  43. package/dist/project.js.map +1 -1
  44. package/dist/serve.d.ts +1 -0
  45. package/dist/serve.js +124 -0
  46. package/dist/serve.js.map +1 -0
  47. package/dist/sideload.d.ts +0 -1
  48. package/dist/sideload.js +82 -340
  49. package/dist/sideload.js.map +1 -1
  50. package/dist/swipt-app.d.ts +14 -0
  51. package/dist/swipt-app.js +51 -0
  52. package/dist/swipt-app.js.map +1 -0
  53. package/locales/ar.json +52 -28
  54. package/locales/bg.json +58 -34
  55. package/locales/bn.json +49 -25
  56. package/locales/ca.json +55 -31
  57. package/locales/cs.json +55 -31
  58. package/locales/da.json +50 -26
  59. package/locales/de.json +50 -26
  60. package/locales/el.json +60 -36
  61. package/locales/es-419.json +51 -27
  62. package/locales/es.json +51 -27
  63. package/locales/fi.json +51 -27
  64. package/locales/fr-CA.json +53 -29
  65. package/locales/fr.json +56 -32
  66. package/locales/gu.json +69 -45
  67. package/locales/he.json +51 -27
  68. package/locales/hi.json +50 -26
  69. package/locales/hr.json +51 -27
  70. package/locales/hu.json +62 -38
  71. package/locales/id.json +50 -26
  72. package/locales/it.json +69 -45
  73. package/locales/ja.json +50 -26
  74. package/locales/kk.json +49 -25
  75. package/locales/kn.json +49 -25
  76. package/locales/ko.json +79 -55
  77. package/locales/lt.json +50 -26
  78. package/locales/ml.json +49 -25
  79. package/locales/mr.json +56 -32
  80. package/locales/ms.json +50 -26
  81. package/locales/nb.json +50 -26
  82. package/locales/nl.json +56 -32
  83. package/locales/or.json +50 -26
  84. package/locales/pa.json +49 -25
  85. package/locales/pl.json +68 -44
  86. package/locales/pt-BR.json +51 -27
  87. package/locales/pt-PT.json +52 -28
  88. package/locales/ro.json +52 -28
  89. package/locales/ru.json +54 -30
  90. package/locales/sk.json +80 -56
  91. package/locales/sl.json +50 -26
  92. package/locales/sv.json +52 -28
  93. package/locales/ta.json +49 -25
  94. package/locales/te.json +49 -25
  95. package/locales/th.json +54 -30
  96. package/locales/tr.json +50 -26
  97. package/locales/uk.json +53 -29
  98. package/locales/ur.json +49 -25
  99. package/locales/vi.json +49 -25
  100. package/locales/zh-HK.json +54 -30
  101. package/locales/zh-Hans.json +54 -30
  102. package/locales/zh-Hant.json +60 -36
  103. package/package.json +13 -4
  104. package/dist/coredevice.d.ts +0 -22
  105. package/dist/coredevice.js +0 -329
  106. package/dist/coredevice.js.map +0 -1
@@ -9,18 +9,20 @@
9
9
  "\"swiplet.name\" in package.json must be a nonempty string.": "package.json 中的 \"swiplet.name\" 必須是非空字串。",
10
10
  "\"swiplet.versionCode\" in package.json must be a positive integer.": "package.json 中的 \"swiplet.versionCode\" 必須是正整數。",
11
11
  "\"{field}\" in package.json must be a string.": "package.json 中的 \"{field}\" 必須是字串。",
12
- "(offline)": "(離線)",
13
12
  "--input isn't JSON: {error}": "--input 不是 JSON:{error}",
14
13
  "--level is error, warn, info or debug": "--level 只能是 error、warn、info 或 debug",
14
+ "--token and --random-token can't be used together.": "--token 和 --random-token 不能同時使用。",
15
15
  "4 or 6 digit passcode": "4 位或 6 位數字密碼",
16
16
  "4 or 6 digits": "4 位或 6 位數字",
17
17
  "A command is missing.": "缺少指令。",
18
18
  "A numeric passcode is digits only.": "數字密碼只能包含數字。",
19
19
  "A passcode is up to 64 printable ASCII characters.": "密碼最多包含 64 個可列印的 ASCII 字元。",
20
20
  "A pin passcode is 4 or 6 digits; a custom one needs --passcode-type numeric or alphanumeric": "pin 密碼為 4 位或 6 位數字;自訂密碼需要 --passcode-type numeric 或 alphanumeric",
21
+ "A token is one or more printable ASCII characters without spaces.": "權杖由一個或多個可列印的 ASCII 字元組成,不含空格。",
21
22
  "ACTIONS": "動作",
22
23
  "API level {level}": "API 等級 {level}",
23
- "Add a device by its URL; needed when it's remote or requires a token": "透過 URL 加入裝置;裝置位於遠端或需要權杖時必須這樣做",
24
+ "Add a device by its URL; needed when it's remote or requires a token": "透過 URL 加入裝置;遠端裝置或需要權杖的裝置需要這樣加入",
25
+ "Apple Mobile Device Service isn't running; install Apple Devices from the Microsoft Store": "Apple Mobile Device Service 未在執行;請從 Microsoft Store 安裝「Apple 裝置」App",
24
26
  "Argument {index} of require.context must be a regular expression literal.": "require.context 的第 {index} 個參數必須是正規表達式字面值。",
25
27
  "Argument {index} of require.context must be {expected}": "require.context 的第 {index} 個參數必須是 {expected}",
26
28
  "Build the project and install it on the device": "建置專案並安裝至裝置",
@@ -28,13 +30,14 @@
28
30
  "Bundle the project into dist/<swiplet.id>.swiplet": "將專案打包為 dist/<swiplet.id>.swiplet",
29
31
  "CODE is an expression whose value is printed. FILE, or standard input given as - or no argument, is a program, and only its console output is printed.": "CODE 是表達式,會輸出其值。FILE 或標準輸入(傳入 - 或不傳入參數)是程式,只會輸出其控制台內容。",
30
32
  "Call a swiplet action": "呼叫 Swiplet 動作",
33
+ "Cancel": "取消",
31
34
  "Check these with available(), mark the code that uses them with @available, or raise \"swiplet.minimumAPILevel\" or \"swiplet.minimumIOSVersion\" in package.json.": "請使用 available() 檢查這些項目、使用 @available 標示使用它們的程式碼,或提高 package.json 中的 \"swiplet.minimumAPILevel\" 或 \"swiplet.minimumIOSVersion\"。",
32
35
  "Choose a device": "選擇裝置",
33
36
  "Choose a device with -d NAME|UDID": "請使用 -d NAME|UDID 選擇裝置",
34
37
  "Choose a team": "選擇團隊",
35
38
  "Choose a team with --team ID:": "請使用 --team ID 選擇團隊:",
36
39
  "Collect the built swiplets into dist/ with a swiplets.json": "將已建置的 Swiplet 收集到 dist/,並產生 swiplets.json",
37
- "CoreDevice can't reach the device while its loopback VPN is on; turn off Swipt's VPN on the device, then run this again.": "回繞 VPN 開啟時,CoreDevice 無法連線至裝置;請關閉裝置上 Swipt 的 VPN,然後重新執行。",
40
+ "Ctrl-C stops the driver.": "按下 Ctrl-C 可停止驅動程式。",
38
41
  "Custom alphanumeric passcode": "自訂英數混合密碼",
39
42
  "Custom numeric passcode": "自訂數字密碼",
40
43
  "Device passcode": "裝置密碼",
@@ -42,17 +45,18 @@
42
45
  "Downgrade Swipt on {device} from nightly {version} to stable {releaseVersion}? Swipt resets its data when the earlier version can't read it.": "要將 {device} 上的 Swipt 從 nightly 版本 {version} 降級至穩定版本 {releaseVersion} 嗎?舊版本無法讀取資料時,Swipt 會重設其資料。",
43
46
  "Downgrade Swipt on {device} from {version} to {releaseVersion}? Swipt resets its data when the earlier version can't read it.": "要將 {device} 上的 Swipt 從 {version} 降級至 {releaseVersion} 嗎?舊版本無法讀取資料時,Swipt 會重設其資料。",
44
47
  "Enter the passcode.": "請輸入密碼。",
45
- "Every paired iPhone and iPad is offline; {hint}:": "所有已配對的 iPhone 和 iPad 都已離線;{hint}:",
46
48
  "Forget a device": "忘記裝置",
47
49
  "ID": "ID",
48
50
  "Install Swipt": "安裝 Swipt",
49
51
  "Install a swiplet archive": "安裝 Swiplet 封存檔",
52
+ "Installing or updating Swipt needs macOS; install it from a Mac, then set it up here with \"swipt sideload setup\".": "安裝或更新 Swipt 需要 macOS;請在 Mac 上安裝,然後在此使用 \"swipt sideload setup\" 設定。",
50
53
  "It opens after {device} is unlocked.": "{device} 解鎖後就會開啟。",
51
54
  "Its developer isn't trusted yet; trust it in the Settings page opened on {device}, then open Swipt.": "尚未信任其開發者;請在 {device} 上開啟的「設定」頁面中信任,然後開啟 Swipt。",
52
55
  "Its signing expires {expiration}.": "簽署將於 {expiration}到期。",
53
56
  "List data files": "列出資料檔案",
54
57
  "List the devices, adding the ones found on the local network": "列出裝置,並加入在本地網絡上找到的裝置",
55
58
  "List the swiplets": "列出 Swiplet",
59
+ "Local network": "本地網絡",
56
60
  "Make a swiplet project in a new or empty directory": "在新目錄或空目錄中建立 Swiplet 專案",
57
61
  "Make, build and deploy swiplet projects": "建立、建置和部署 Swiplet 專案",
58
62
  "Manage swiplet services": "管理 Swiplet 服務",
@@ -63,12 +67,14 @@
63
67
  "More than one iPhone or iPad is named {name}; choose one by UDID": "有多部 iPhone 或 iPad 名為 {name};請透過 UDID 選擇",
64
68
  "No Thanks": "不用了,謝謝",
65
69
  "No device publishes Swipt on the local network; turn on Swipt › Developer › Local Network, or connect one with \"swipt device add URL\".": "本地網絡上沒有裝置發佈 Swipt;請開啟「Swipt」>「開發者」>「本地網絡」,或使用 \"swipt device add URL\" 連線至裝置。",
70
+ "No iPhone or iPad is connected to this computer or found on the local network; connect one with a USB cable and unlock it.": "沒有 iPhone 或 iPad 連接到此電腦,在本地網絡上也找不到;請以 USB 連接線連接裝置並解鎖。",
66
71
  "No iPhone or iPad is named {name}": "沒有名為 {name} 的 iPhone 或 iPad",
67
- "No iPhone or iPad is paired with this Mac; connect one with a USB cable, unlock it, and trust this Mac.": "沒有 iPhone 或 iPad 與此 Mac 配對;請以 USB 連接裝置、解鎖,然後信任此 Mac。",
72
+ "Only one can control the device at a time: Swipt on it, or the driver on one computer.": "同一時間只能有一方控制裝置:裝置上的 Swipt,或一台電腦上的驅動程式。",
68
73
  "Pairing failed, so Swipt pairs in Settings instead: {error}": "配對失敗,Swipt 將改為在「設定」中配對:{error}",
69
74
  "Print the TypeScript declarations of the globals and modules": "輸出全域變數和模組的 TypeScript 宣告",
70
75
  "Print the logs": "輸出記錄",
71
76
  "Print the version": "輸出版本",
77
+ "Quit Swipt": "結束 Swipt",
72
78
  "Read a data file or directory": "讀取資料檔案或目錄",
73
79
  "Remove Swipt": "移除 Swipt",
74
80
  "Remove a data file": "移除資料檔案",
@@ -80,18 +86,20 @@
80
86
  "Run a JavaScript expression or program on the device": "在裝置上執行 JavaScript 表達式或程式",
81
87
  "SERVICE": "服務",
82
88
  "STATUS": "狀態",
89
+ "Serve the Swipt API and MCP for a device from this computer": "從此電腦為裝置提供 Swipt API 和 MCP",
83
90
  "Set up Swipt": "設定 Swipt",
84
91
  "Set up auto-unlock? Swipt can then unlock this device by itself.": "要設定自動解鎖嗎?設定後 Swipt 可以自行解鎖此裝置。",
85
92
  "Show a swiplet": "顯示 Swiplet",
86
93
  "Sideload Swipt": "側載 Swipt",
87
- "Stop the Swipt server": "停止 Swipt 伺服器",
94
+ "Stop serving the Swipt API": "停止提供 Swipt API",
95
+ "Stop the driver on {computer}": "停止 {computer} 上的驅動程式",
88
96
  "Swipt CLI": "Swipt 命令列工具",
89
97
  "Swipt at {url} doesn't have this command; update Swipt.": "{url} 上的 Swipt 沒有此指令;請更新 Swipt。",
90
98
  "Swipt at {url} is unreachable: {message}": "無法連線至 {url} 上的 Swipt:{message}",
91
99
  "Swipt doesn't provide \"{module}\" to extensions; bundle it into extension.js.": "Swipt 未向延伸功能提供 \"{module}\";請將其打包至 extension.js。",
92
100
  "Swipt is sideloaded on {device} by more than one team; choose one with --team ID:": "多個團隊在 {device} 上側載了 Swipt;請使用 --team ID 選擇其中一個:",
93
- "Swipt isn't sideloaded on any online iPhone or iPad.": "所有在線的 iPhone 和 iPad 都未側載 Swipt。",
94
- "Swipt isn't sideloaded on any online iPhone or iPad; install it with \"swipt sideload install\".": "所有在線的 iPhone 和 iPad 都未側載 Swipt;請使用 \"swipt sideload install\" 安裝。",
101
+ "Swipt isn't sideloaded on any iPhone or iPad.": "所有 iPhone 和 iPad 都未側載 Swipt。",
102
+ "Swipt isn't sideloaded on any iPhone or iPad; install it with \"swipt sideload install\".": "所有 iPhone 和 iPad 都未側載 Swipt;請使用 \"swipt sideload install\" 安裝。",
95
103
  "Swipt isn't sideloaded on {device} by team {team}.": "團隊 {team} 未在 {device} 上側載 Swipt。",
96
104
  "Swipt isn't sideloaded on {device} by team {team}; install it with \"swipt sideload install\".": "團隊 {team} 未在 {device} 上側載 Swipt;請使用 \"swipt sideload install\" 安裝。",
97
105
  "Swipt isn't sideloaded on {device}.": "{device} 上未側載 Swipt。",
@@ -99,16 +107,23 @@
99
107
  "TITLE": "標題",
100
108
  "The action {action} can only expose itself to \"shortcuts\".": "動作 {action} 只能向 \"shortcuts\" 公開。",
101
109
  "The action {action} needs a title.": "動作 {action} 需要標題。",
102
- "The database": "資料庫",
110
+ "The database is used while extension.js loads; use it inside run or an action.": "extension.js 載入期間使用了資料庫;請在 run 或動作內使用。",
111
+ "The driver can't control {device} while Swipt is running on it. Quit Swipt?": "Swipt 正在 {device} 上執行,驅動程式無法控制該裝置。要結束 Swipt 嗎?",
112
+ "The driver can't control {device} while Swipt is running on it; quit Swipt first.": "Swipt 正在 {device} 上執行,驅動程式無法控制該裝置;請先結束 Swipt。",
113
+ "The driver is already running on this computer; stop it first.": "驅動程式已在此電腦上執行;請先停止它。",
114
+ "The driver is missing; install it with \"npm install -g @swipt/cli --include=optional\".": "缺少驅動程式;請使用 \"npm install -g @swipt/cli --include=optional\" 安裝。",
115
+ "The driver on {computer} already serves {device}. Stop that driver?": "{computer} 上的驅動程式已在為 {device} 提供服務。要停止該驅動程式嗎?",
116
+ "The driver on {computer} already serves {device}; stop that driver first.": "{computer} 上的驅動程式已在為 {device} 提供服務;請先停止該驅動程式。",
117
+ "The driver on {computer} didn't stop.": "{computer} 上的驅動程式未能停止。",
103
118
  "The extension defines different actions depending on available(); define the same actions on every system and check available() inside run or an action.": "延伸功能會根據 available() 定義不同的動作;請在所有系統上定義相同的動作,並在 run 或動作內檢查 available()。",
104
119
  "The extension's default export isn't the result of defineExtension.": "延伸功能的預設輸出不是 defineExtension 的結果。",
105
120
  "The first argument is FILE when it names an existing file and CODE otherwise; options go before it.": "第一個參數指向現有檔案時視為 FILE,否則視為 CODE;選項要放在它之前。",
106
121
  "The interface imports {file} at runtime; import its type with `import type`.": "介面在執行階段載入了 {file};請改用 `import type` 取得其類型。",
107
122
  "The project has react-native-worklets {version}, but Swipt runs {expected}; install react-native-worklets@{expected} or remove it.": "專案使用 react-native-worklets {version},但 Swipt 執行的是 {expected};請安裝 react-native-worklets@{expected} 或將其移除。",
108
- "The storage": "儲存區",
123
+ "The storage is used while extension.js loads; use it inside run or an action.": "extension.js 載入期間使用了儲存區;請在 run 或動作內使用。",
109
124
  "The {side} schema of the action {action} doesn't implement Standard JSON Schema; use a library that does, such as Zod 4.": "動作 {action} 的 {side} 結構描述未實作 Standard JSON Schema;請使用已實作此標準的程式庫,例如 Zod 4。",
110
125
  "There is more than one device: {devices}; choose one with -d": "有多部裝置:{devices};請使用 -d 選擇一部",
111
- "There is no archive at {path}": "{path} 沒有封存檔",
126
+ "There is no archive at {path}": "{path} 處沒有封存檔",
112
127
  "There is no device {device}.": "沒有裝置 {device}。",
113
128
  "There is no device {device}; \"swipt device list\" lists them.": "沒有裝置 {device};執行 \"swipt device list\" 可列出裝置。",
114
129
  "There is no device; turn on Swipt › Developer › Local Network, or connect one with \"swipt device add URL\".": "沒有裝置;請開啟「Swipt」>「開發者」>「本地網絡」,或使用 \"swipt device add URL\" 連線至裝置。",
@@ -125,8 +140,20 @@
125
140
  "Xcode has no account for team {team}; sign in to its Apple Account at {accounts}.": "Xcode 沒有團隊 {team} 的帳户;請在 {accounts} 中使用其 Apple 帳户登入。",
126
141
  "Xcode has no account; sign in at {accounts}, or choose a team with --team ID": "Xcode 沒有帳户;請在 {accounts} 中登入,或使用 --team ID 選擇團隊",
127
142
  "Xcode has no development certificate; add one at {accounts} › Manage Certificates, or choose a team with --team ID": "Xcode 沒有開發憑證;請在 {accounts} › Manage Certificates 中加入,或使用 --team ID 選擇團隊",
128
- "Xcode is missing; install it from the App Store, open it once, and select it with xcode-select": "缺少 Xcode;請從 App Store 安裝,開啟一次,然後使用 xcode-select 選擇",
143
+ "[Swiplet] removed {name}": "已移除 {name}",
144
+ "[device connection] connecting": "連線中",
145
+ "[device connection] failed": "失敗",
146
+ "[device connection] preparing": "準備中",
147
+ "[device connection] running": "已連線",
148
+ "[device connection] stopped": "已停止",
149
+ "[device] removed {name}": "已移除 {name}",
129
150
  "[input is masked]": "[輸入內容已隱藏]",
151
+ "[service] failed": "失敗",
152
+ "[service] running": "執行中",
153
+ "[service] starting": "啟動中",
154
+ "[service] stopped": "已停止",
155
+ "[service] turned off": "已關閉",
156
+ "[service] turned on": "已開啟",
130
157
  "a Boolean": "布林值",
131
158
  "a string": "字串",
132
159
  "accepts at least {count} args, received {received}": "至少需要 {count} 個參數,收到 {received} 個",
@@ -138,20 +165,19 @@
138
165
  "built in {elapsed}; nothing changed": "已在 {elapsed} 內完成建置;沒有任何變更",
139
166
  "checking Swipt on {device}": "正在檢查 {device} 上的 Swipt",
140
167
  "checking the latest release": "正在檢查最新版本",
168
+ "checking {device}": "正在檢查 {device}",
141
169
  "commands:": "指令:",
142
- "connecting": "連線中",
143
170
  "couldn't prepare the Developer Disk Image on {device}: {error}": "無法準備 {device} 上的開發者磁碟映像檔:{error}",
144
171
  "destination": "目的地",
145
172
  "developer mode off": "開發者模式已關閉",
146
173
  "device unsupported": "不支援此裝置",
147
- "disk image missing": "沒有磁碟映像檔",
148
- "disk image mount failed": "無法裝載磁碟映像檔",
174
+ "disk image missing": "缺少磁碟映像檔",
175
+ "disk image mount failed": "磁碟映像檔裝載失敗",
149
176
  "don't pair Swipt": "不配對 Swipt",
150
177
  "don't pair Swipt, trust its developer or publish its API": "不配對 Swipt、不信任其開發者,也不發佈其 API",
151
178
  "don't publish the API to the local network": "不向本地網絡發佈 API",
152
179
  "downloading Swipt {version} ({build}) from {release}": "正在從 {release} 下載 Swipt {version}({build})",
153
180
  "error: {message}": "錯誤:{message}",
154
- "failed": "失敗",
155
181
  "follow new entries": "持續顯示新項目",
156
182
  "help": "輔助說明",
157
183
  "image directory (default: a new temporary directory)": "影像目錄(預設:新的暫存目錄)",
@@ -168,7 +194,7 @@
168
194
  "invalid argument {value} for {option}: it's a number": "{option} 的參數 {value} 無效:應為數字",
169
195
  "looking for Swipt on the devices": "正在裝置上尋找 Swipt",
170
196
  "looking for devices": "正在尋找裝置",
171
- "maximum age": "最長時間範圍",
197
+ "maximum age": "最長回溯時間",
172
198
  "minimum level (default info)": "最低等級(預設 info)",
173
199
  "navigate": "移動",
174
200
  "number of past entries (default 100)": "過往項目數量(預設 100)",
@@ -182,38 +208,38 @@
182
208
  "package.json lists no workspaces with swiplets; name the swiplets to list.": "package.json 未列出包含 Swiplet 的工作區;請指定要列出的 Swiplet。",
183
209
  "pairing rejected": "配對遭拒絕",
184
210
  "pairing with {device}": "正在與 {device} 配對",
211
+ "passcode to unlock the device automatically; empty turns that off": "用於自動解鎖裝置的密碼;留空則關閉自動解鎖",
185
212
  "pin (4 or 6 digits, default), numeric or alphanumeric": "pin(4 位或 6 位數字,預設)、numeric 或 alphanumeric",
186
- "preparing": "準備中",
187
213
  "preparing signing for Swipt with team {team} through Xcode": "正在透過 Xcode 以團隊 {team} 為 Swipt 準備簽署",
188
214
  "preparing the Developer Disk Image on {device}": "正在準備 {device} 上的開發者磁碟映像檔",
215
+ "quitting Swipt on {device}": "正在結束 {device} 上的 Swipt",
189
216
  "re-signing Swipt": "正在重新簽署 Swipt",
190
217
  "removed {build} from {device}": "已從 {device} 移除 {build}",
191
- "removed {name}": "已移除 {name}",
192
218
  "removing Swipt from {device}": "正在從 {device} 移除 Swipt",
193
219
  "replaced {id} {version}": "已取代 {id} {version}",
220
+ "require a random token from API clients": "要求 API 用戶端提供隨機權杖",
221
+ "require this token from API clients": "要求 API 用戶端提供此權杖",
194
222
  "requires a token": "需要權杖",
195
- "running": "執行中",
196
223
  "saved {count} files to {path}": "已將 {count} 個檔案儲存至 {path}",
197
224
  "screen in use": "螢幕使用中",
198
225
  "select": "選擇",
199
226
  "service: {status}": "服務:{status}",
200
227
  "set up auto-unlock with this passcode": "使用此密碼設定自動解鎖",
201
228
  "setting up auto-unlock": "正在設定自動解鎖",
202
- "starting": "啟動中",
229
+ "starting the driver for {device}": "正在為 {device} 啟動驅動程式",
203
230
  "stopped": "已停止",
231
+ "stopping the driver on {computer}": "正在停止 {computer} 上的驅動程式",
204
232
  "swiplet ID": "Swiplet ID",
205
- "swipt-server is missing; install it with \"npm install -g @swipt/cli --include=optional\"": "缺少 swipt-server;請使用 \"npm install -g @swipt/cli --include=optional\" 安裝",
233
+ "tap Trust on {device} and enter its passcode to trust this computer": "請在 {device} 上點一下「信任」並輸入密碼,以信任此電腦",
206
234
  "team ID, required if more than one": "團隊 ID,有多個團隊時必須指定",
207
235
  "the device to use": "要使用的裝置",
208
236
  "trusting {developer} in Settings": "正在「設定」中信任 {developer}",
209
- "turned off": "已停用",
210
- "turned on": "已啟用",
211
237
  "unknown command {name} for {parent}": "{parent} 沒有指令 {name}",
212
238
  "unlock device with this passcode": "使用此密碼解鎖裝置",
213
- "unlock the device and connect it with a USB cable or the same network as this Mac": "請解鎖裝置,並透過 USB 或與此 Mac 相同的網絡連接",
214
239
  "unlocking the device": "正在解鎖裝置",
215
240
  "unreachable": "無法連線",
216
241
  "usage: {usage}": "用法:{usage}",
242
+ "usbmuxd isn't running; install usbmuxd and start it": "usbmuxd 未在執行;請安裝 usbmuxd 並啟動它",
217
243
  "use nightly build": "使用 nightly 版本",
218
244
  "waiting for {device}": "正在等待 {device}",
219
245
  "watch the state": "監看狀態",
@@ -228,7 +254,7 @@
228
254
  "{build} on {device} is later than {release} ({releaseBuild}).": "{device} 上的 {build} 比 {release}({releaseBuild})更新。",
229
255
  "{build} on {device} needs new signing, but {release} ({releaseBuild}) is earlier; use --nightly, or downgrade with \"swipt sideload install --force\".": "{device} 上的 {build} 需要重新簽署,但 {release}({releaseBuild})的版本較舊;請使用 --nightly,或使用 \"swipt sideload install --force\" 降級。",
230
256
  "{developer} is trusted.": "已信任 {developer}。",
231
- "{device} is offline; {hint}.": "{device} 已離線;{hint}。",
257
+ "{device} isn't unlocked automatically; set its passcode with --passcode. Ctrl-C stops the driver.": "{device} 不會自動解鎖;請使用 --passcode 設定其密碼。按下 Ctrl-C 可停止驅動程式。",
232
258
  "{device} requires a token: swipt device add {url}": "{device} 需要權杖:swipt device add {url}",
233
259
  "{device} wasn't found on the local network; find its API URLs in Swipt › Developer › Local Network.": "在本地網絡上找不到 {device};請前往「Swipt」>「開發者」>「本地網絡」查看其 API URL。",
234
260
  "{device}: {message}; unlock it or pass --passcode, then run this again.": "{device}:{message};請解鎖裝置或傳入 --passcode,然後重新執行。",
@@ -236,15 +262,13 @@
236
262
  "{enabled}, {status}": "{enabled},{status}",
237
263
  "{enabled}, {status} since {time}": "{enabled},自 {time} 起{status}",
238
264
  "{file} is missing; build {directory} first.": "缺少 {file};請先建置 {directory}。",
239
- "{hint}; Swipt pairs in Settings instead.": "{hint};Swipt 將改為在「設定」中配對。",
240
- "{hint}; its developer isn't trusted automatically.": "{hint};不會自動信任其開發者。",
241
265
  "{id} is both {first} and {second}": "{id} 同時對應 {first} 和 {second}",
242
266
  "{location}: @available has \"{entry}\"; it takes \"apiLevel <level>\" and \"iOS <version>\", separated by commas.": "{location}:@available 包含 \"{entry}\";@available 接受以逗號分隔的 \"apiLevel <level>\" 和 \"iOS <version>\"。",
243
267
  "{location}: @available names {kind} twice.": "{location}:@available 兩次指定了 {kind}。",
244
268
  "{location}: importing {name} needs {requirement}; raise \"swiplet.minimumAPILevel\" or \"swiplet.minimumIOSVersion\" in package.json.": "{location}:載入 {name} 需要 {requirement};請提高 package.json 中的 \"swiplet.minimumAPILevel\" 或 \"swiplet.minimumIOSVersion\"。",
245
269
  "{location}: {name} is an entry of the swiplet and needs {requirement}; raise \"swiplet.minimumAPILevel\" or \"swiplet.minimumIOSVersion\" in package.json.": "{location}:{name} 是 Swiplet 的入口點,需要 {requirement};請提高 package.json 中的 \"swiplet.minimumAPILevel\" 或 \"swiplet.minimumIOSVersion\"。",
246
270
  "{location}: {name} needs {requirement}.": "{location}:{name} 需要 {requirement}。",
247
- "{message}; connect with the URL from Swipt › Developer: swipt device add {url}": "{message};請使用「Swipt」>「開發者」中的 URL 連線:swipt device add {url}",
271
+ "{message}; connect with the URL that Swipt › Developer or \"swipt driver\" shows: swipt device add {url}": "{message};請使用「Swipt」>「開發者」或 \"swipt driver\" 顯示的 URL 連線:swipt device add {url}",
248
272
  "{name} is used while extension.js loads; use it inside run or an action.": "extension.js 載入期間使用了 {name};請在 run 或動作內使用。",
249
273
  "{name} works only in the swiplet interface.": "{name} 只能在 Swiplet 介面中使用。",
250
274
  "{option} isn't an option of {command}.": "{option} 不是 {command} 的選項。",
@@ -252,7 +276,7 @@
252
276
  "{path} is a directory in the data directory of {swiplet}; save it with --output DIRECTORY": "{path} 是 {swiplet} 資料目錄中的目錄;請使用 --output DIRECTORY 儲存",
253
277
  "{path} names the data directory of the REPL; save it with --output DIRECTORY": "{path} 指向 REPL 的資料目錄;請使用 --output DIRECTORY 儲存",
254
278
  "{path} names the data directory of {swiplet}; save it with --output DIRECTORY": "{path} 指向 {swiplet} 的資料目錄;請使用 --output DIRECTORY 儲存",
255
- "{reason}; paired iPhone and iPad devices:": "{reason};已配對的 iPhone 和 iPad:",
279
+ "{reason}; connected iPhone and iPad devices:": "{reason};已連接的 iPhone 和 iPad:",
256
280
  "{source} and {asset} would both be assets/{name} in the swiplet.": "{source} 和 {asset} 在 Swiplet 中都會成為 assets/{name}。",
257
281
  "{text} isn't a URL.": "{text} 不是 URL。",
258
282
  "{text} isn't an http or https URL.": "{text} 不是 http 或 https URL。"
@@ -9,18 +9,20 @@
9
9
  "\"swiplet.name\" in package.json must be a nonempty string.": "package.json 中的 \"swiplet.name\" 必须是非空字符串。",
10
10
  "\"swiplet.versionCode\" in package.json must be a positive integer.": "package.json 中的 \"swiplet.versionCode\" 必须是正整数。",
11
11
  "\"{field}\" in package.json must be a string.": "package.json 中的 \"{field}\" 必须是字符串。",
12
- "(offline)": "(离线)",
13
12
  "--input isn't JSON: {error}": "--input 不是 JSON:{error}",
14
13
  "--level is error, warn, info or debug": "--level 只能是 error、warn、info 或 debug",
14
+ "--token and --random-token can't be used together.": "--token 和 --random-token 不能同时使用。",
15
15
  "4 or 6 digit passcode": "4 位或 6 位数字密码",
16
16
  "4 or 6 digits": "4 位或 6 位数字",
17
17
  "A command is missing.": "缺少命令。",
18
18
  "A numeric passcode is digits only.": "数字密码只能包含数字。",
19
19
  "A passcode is up to 64 printable ASCII characters.": "密码最多包含 64 个可打印 ASCII 字符。",
20
20
  "A pin passcode is 4 or 6 digits; a custom one needs --passcode-type numeric or alphanumeric": "pin 密码为 4 位或 6 位数字;自定义密码需要 --passcode-type numeric 或 alphanumeric",
21
+ "A token is one or more printable ASCII characters without spaces.": "令牌由一个或多个可打印 ASCII 字符组成,不含空格。",
21
22
  "ACTIONS": "操作",
22
23
  "API level {level}": "API 级别 {level}",
23
- "Add a device by its URL; needed when it's remote or requires a token": "通过 URL 添加设备;设备位于远程或需要令牌时必须这样做",
24
+ "Add a device by its URL; needed when it's remote or requires a token": "通过 URL 添加设备;远程设备或需要令牌的设备需要这样添加",
25
+ "Apple Mobile Device Service isn't running; install Apple Devices from the Microsoft Store": "Apple Mobile Device Service 未在运行;请从 Microsoft Store 安装“Apple 设备”App",
24
26
  "Argument {index} of require.context must be a regular expression literal.": "require.context 的第 {index} 个参数必须是正则表达式字面量。",
25
27
  "Argument {index} of require.context must be {expected}": "require.context 的第 {index} 个参数必须是 {expected}",
26
28
  "Build the project and install it on the device": "构建项目并安装到设备上",
@@ -28,13 +30,14 @@
28
30
  "Bundle the project into dist/<swiplet.id>.swiplet": "将项目打包为 dist/<swiplet.id>.swiplet",
29
31
  "CODE is an expression whose value is printed. FILE, or standard input given as - or no argument, is a program, and only its console output is printed.": "CODE 是表达式,会输出其值。FILE 或标准输入(传入 - 或不传参数)是程序,只输出其控制台内容。",
30
32
  "Call a swiplet action": "调用 Swiplet 操作",
33
+ "Cancel": "取消",
31
34
  "Check these with available(), mark the code that uses them with @available, or raise \"swiplet.minimumAPILevel\" or \"swiplet.minimumIOSVersion\" in package.json.": "请使用 available() 检查这些项、使用 @available 标记使用它们的代码,或提高 package.json 中的 \"swiplet.minimumAPILevel\" 或 \"swiplet.minimumIOSVersion\"。",
32
35
  "Choose a device": "选择设备",
33
36
  "Choose a device with -d NAME|UDID": "请使用 -d NAME|UDID 选择设备",
34
37
  "Choose a team": "选择团队",
35
38
  "Choose a team with --team ID:": "请使用 --team ID 选择团队:",
36
39
  "Collect the built swiplets into dist/ with a swiplets.json": "将已构建的 Swiplet 收集到 dist/,并生成 swiplets.json",
37
- "CoreDevice can't reach the device while its loopback VPN is on; turn off Swipt's VPN on the device, then run this again.": "环回 VPN 打开时,CoreDevice 无法连接设备;请关闭设备上 Swipt 的 VPN,然后重新运行。",
40
+ "Ctrl-C stops the driver.": "按 Ctrl-C 可停止驱动程序。",
38
41
  "Custom alphanumeric passcode": "自定义字母数字密码",
39
42
  "Custom numeric passcode": "自定义数字密码",
40
43
  "Device passcode": "设备密码",
@@ -42,17 +45,18 @@
42
45
  "Downgrade Swipt on {device} from nightly {version} to stable {releaseVersion}? Swipt resets its data when the earlier version can't read it.": "要将 {device} 上的 Swipt 从 nightly 版本 {version} 降级到稳定版本 {releaseVersion} 吗?旧版本无法读取数据时,Swipt 会重置其数据。",
43
46
  "Downgrade Swipt on {device} from {version} to {releaseVersion}? Swipt resets its data when the earlier version can't read it.": "要将 {device} 上的 Swipt 从 {version} 降级到 {releaseVersion} 吗?旧版本无法读取数据时,Swipt 会重置其数据。",
44
47
  "Enter the passcode.": "请输入密码。",
45
- "Every paired iPhone and iPad is offline; {hint}:": "所有已配对的 iPhone 和 iPad 都已离线;{hint}:",
46
- "Forget a device": "忘记设备",
48
+ "Forget a device": "忽略设备",
47
49
  "ID": "ID",
48
50
  "Install Swipt": "安装 Swipt",
49
51
  "Install a swiplet archive": "安装 Swiplet 归档",
52
+ "Installing or updating Swipt needs macOS; install it from a Mac, then set it up here with \"swipt sideload setup\".": "安装或更新 Swipt 需要 macOS;请在 Mac 上安装,然后在此使用 \"swipt sideload setup\" 进行设置。",
50
53
  "It opens after {device} is unlocked.": "{device} 解锁后会打开。",
51
54
  "Its developer isn't trusted yet; trust it in the Settings page opened on {device}, then open Swipt.": "尚未信任其开发者;请在 {device} 上打开的“设置”页面中信任,然后打开 Swipt。",
52
55
  "Its signing expires {expiration}.": "签名将在 {expiration}过期。",
53
56
  "List data files": "列出数据文件",
54
57
  "List the devices, adding the ones found on the local network": "列出设备,并添加在本地网络上发现的设备",
55
58
  "List the swiplets": "列出 Swiplet",
59
+ "Local network": "本地网络",
56
60
  "Make a swiplet project in a new or empty directory": "在新目录或空目录中创建 Swiplet 项目",
57
61
  "Make, build and deploy swiplet projects": "创建、构建和部署 Swiplet 项目",
58
62
  "Manage swiplet services": "管理 Swiplet 服务",
@@ -63,12 +67,14 @@
63
67
  "More than one iPhone or iPad is named {name}; choose one by UDID": "有多台 iPhone 或 iPad 名为 {name};请通过 UDID 选择",
64
68
  "No Thanks": "不用了",
65
69
  "No device publishes Swipt on the local network; turn on Swipt › Developer › Local Network, or connect one with \"swipt device add URL\".": "本地网络上没有设备发布 Swipt;请打开“Swipt”>“开发者”>“本地网络”,或使用 \"swipt device add URL\" 连接设备。",
70
+ "No iPhone or iPad is connected to this computer or found on the local network; connect one with a USB cable and unlock it.": "没有 iPhone 或 iPad 连接到此电脑,在本地网络上也找不到;请用 USB 连接线连接设备并解锁。",
66
71
  "No iPhone or iPad is named {name}": "没有名为 {name} 的 iPhone 或 iPad",
67
- "No iPhone or iPad is paired with this Mac; connect one with a USB cable, unlock it, and trust this Mac.": "没有 iPhone 或 iPad 与此 Mac 配对;请用 USB 连接设备,解锁并信任此 Mac。",
72
+ "Only one can control the device at a time: Swipt on it, or the driver on one computer.": "同一时间只能有一方控制设备:设备上的 Swipt,或一台电脑上的驱动程序。",
68
73
  "Pairing failed, so Swipt pairs in Settings instead: {error}": "配对失败,Swipt 将改为在“设置”中配对:{error}",
69
74
  "Print the TypeScript declarations of the globals and modules": "输出全局变量和模块的 TypeScript 声明",
70
75
  "Print the logs": "输出日志",
71
76
  "Print the version": "输出版本",
77
+ "Quit Swipt": "退出 Swipt",
72
78
  "Read a data file or directory": "读取数据文件或目录",
73
79
  "Remove Swipt": "移除 Swipt",
74
80
  "Remove a data file": "移除数据文件",
@@ -80,18 +86,20 @@
80
86
  "Run a JavaScript expression or program on the device": "在设备上运行 JavaScript 表达式或程序",
81
87
  "SERVICE": "服务",
82
88
  "STATUS": "状态",
89
+ "Serve the Swipt API and MCP for a device from this computer": "从此电脑为设备提供 Swipt API 和 MCP",
83
90
  "Set up Swipt": "设置 Swipt",
84
91
  "Set up auto-unlock? Swipt can then unlock this device by itself.": "要设置自动解锁吗?设置后 Swipt 可以自行解锁此设备。",
85
92
  "Show a swiplet": "显示 Swiplet",
86
93
  "Sideload Swipt": "侧载 Swipt",
87
- "Stop the Swipt server": "停止 Swipt 服务器",
94
+ "Stop serving the Swipt API": "停止提供 Swipt API",
95
+ "Stop the driver on {computer}": "停止 {computer} 上的驱动程序",
88
96
  "Swipt CLI": "Swipt 命令行工具",
89
97
  "Swipt at {url} doesn't have this command; update Swipt.": "{url} 上的 Swipt 没有此命令;请更新 Swipt。",
90
98
  "Swipt at {url} is unreachable: {message}": "无法连接 {url} 上的 Swipt:{message}",
91
99
  "Swipt doesn't provide \"{module}\" to extensions; bundle it into extension.js.": "Swipt 不向扩展提供 \"{module}\";请将其打包进 extension.js。",
92
100
  "Swipt is sideloaded on {device} by more than one team; choose one with --team ID:": "多个团队在 {device} 上侧载了 Swipt;请使用 --team ID 选择一个:",
93
- "Swipt isn't sideloaded on any online iPhone or iPad.": "所有在线的 iPhone 和 iPad 上都未侧载 Swipt。",
94
- "Swipt isn't sideloaded on any online iPhone or iPad; install it with \"swipt sideload install\".": "所有在线的 iPhone 和 iPad 上都未侧载 Swipt;请使用 \"swipt sideload install\" 安装。",
101
+ "Swipt isn't sideloaded on any iPhone or iPad.": "所有 iPhone 和 iPad 上都未侧载 Swipt。",
102
+ "Swipt isn't sideloaded on any iPhone or iPad; install it with \"swipt sideload install\".": "所有 iPhone 和 iPad 上都未侧载 Swipt;请使用 \"swipt sideload install\" 安装。",
95
103
  "Swipt isn't sideloaded on {device} by team {team}.": "团队 {team} 未在 {device} 上侧载 Swipt。",
96
104
  "Swipt isn't sideloaded on {device} by team {team}; install it with \"swipt sideload install\".": "团队 {team} 未在 {device} 上侧载 Swipt;请使用 \"swipt sideload install\" 安装。",
97
105
  "Swipt isn't sideloaded on {device}.": "{device} 上未侧载 Swipt。",
@@ -99,13 +107,20 @@
99
107
  "TITLE": "标题",
100
108
  "The action {action} can only expose itself to \"shortcuts\".": "操作 {action} 只能向 \"shortcuts\" 公开。",
101
109
  "The action {action} needs a title.": "操作 {action} 需要标题。",
102
- "The database": "数据库",
110
+ "The database is used while extension.js loads; use it inside run or an action.": "extension.js 加载期间使用了数据库;请在 run 或操作内使用。",
111
+ "The driver can't control {device} while Swipt is running on it. Quit Swipt?": "Swipt 正在 {device} 上运行,驱动程序无法控制该设备。要退出 Swipt 吗?",
112
+ "The driver can't control {device} while Swipt is running on it; quit Swipt first.": "Swipt 正在 {device} 上运行,驱动程序无法控制该设备;请先退出 Swipt。",
113
+ "The driver is already running on this computer; stop it first.": "驱动程序已在此电脑上运行;请先停止它。",
114
+ "The driver is missing; install it with \"npm install -g @swipt/cli --include=optional\".": "缺少驱动程序;请使用 \"npm install -g @swipt/cli --include=optional\" 安装。",
115
+ "The driver on {computer} already serves {device}. Stop that driver?": "{computer} 上的驱动程序已在为 {device} 提供服务。要停止该驱动程序吗?",
116
+ "The driver on {computer} already serves {device}; stop that driver first.": "{computer} 上的驱动程序已在为 {device} 提供服务;请先停止该驱动程序。",
117
+ "The driver on {computer} didn't stop.": "{computer} 上的驱动程序未能停止。",
103
118
  "The extension defines different actions depending on available(); define the same actions on every system and check available() inside run or an action.": "扩展会根据 available() 定义不同的操作;请在所有系统上定义相同的操作,并在 run 或操作内检查 available()。",
104
119
  "The extension's default export isn't the result of defineExtension.": "扩展的默认导出不是 defineExtension 的结果。",
105
120
  "The first argument is FILE when it names an existing file and CODE otherwise; options go before it.": "第一个参数指向现有文件时视为 FILE,否则视为 CODE;选项要放在它之前。",
106
121
  "The interface imports {file} at runtime; import its type with `import type`.": "界面在运行时导入了 {file};请使用 `import type` 导入其类型。",
107
122
  "The project has react-native-worklets {version}, but Swipt runs {expected}; install react-native-worklets@{expected} or remove it.": "项目使用 react-native-worklets {version},但 Swipt 运行的是 {expected};请安装 react-native-worklets@{expected} 或将其移除。",
108
- "The storage": "存储",
123
+ "The storage is used while extension.js loads; use it inside run or an action.": "extension.js 加载期间使用了存储;请在 run 或操作内使用。",
109
124
  "The {side} schema of the action {action} doesn't implement Standard JSON Schema; use a library that does, such as Zod 4.": "操作 {action} 的 {side} 架构未实现 Standard JSON Schema;请使用已实现它的库,例如 Zod 4。",
110
125
  "There is more than one device: {devices}; choose one with -d": "有多台设备:{devices};请使用 -d 选择一台",
111
126
  "There is no archive at {path}": "{path} 处没有归档",
@@ -125,8 +140,20 @@
125
140
  "Xcode has no account for team {team}; sign in to its Apple Account at {accounts}.": "Xcode 没有团队 {team} 的账户;请在 {accounts} 中使用其 Apple 账户登录。",
126
141
  "Xcode has no account; sign in at {accounts}, or choose a team with --team ID": "Xcode 没有账户;请在 {accounts} 中登录,或使用 --team ID 选择团队",
127
142
  "Xcode has no development certificate; add one at {accounts} › Manage Certificates, or choose a team with --team ID": "Xcode 没有开发证书;请在 {accounts} › Manage Certificates 中添加,或使用 --team ID 选择团队",
128
- "Xcode is missing; install it from the App Store, open it once, and select it with xcode-select": "缺少 Xcode;请从 App Store 安装,打开一次,然后使用 xcode-select 选择",
143
+ "[Swiplet] removed {name}": "已移除 {name}",
144
+ "[device connection] connecting": "正在连接",
145
+ "[device connection] failed": "失败",
146
+ "[device connection] preparing": "正在准备",
147
+ "[device connection] running": "已连接",
148
+ "[device connection] stopped": "已停止",
149
+ "[device] removed {name}": "已移除 {name}",
129
150
  "[input is masked]": "[输入内容已隐藏]",
151
+ "[service] failed": "失败",
152
+ "[service] running": "正在运行",
153
+ "[service] starting": "正在启动",
154
+ "[service] stopped": "已停止",
155
+ "[service] turned off": "已关闭",
156
+ "[service] turned on": "已打开",
130
157
  "a Boolean": "布尔值",
131
158
  "a string": "字符串",
132
159
  "accepts at least {count} args, received {received}": "至少需要 {count} 个参数,收到 {received} 个",
@@ -138,20 +165,19 @@
138
165
  "built in {elapsed}; nothing changed": "已在 {elapsed} 内完成构建;没有任何变化",
139
166
  "checking Swipt on {device}": "正在检查 {device} 上的 Swipt",
140
167
  "checking the latest release": "正在检查最新版本",
168
+ "checking {device}": "正在检查 {device}",
141
169
  "commands:": "命令:",
142
- "connecting": "正在连接",
143
170
  "couldn't prepare the Developer Disk Image on {device}: {error}": "无法准备 {device} 上的开发者磁盘映像:{error}",
144
171
  "destination": "目标位置",
145
172
  "developer mode off": "开发者模式已关闭",
146
173
  "device unsupported": "不支持此设备",
147
- "disk image missing": "没有磁盘映像",
148
- "disk image mount failed": "无法装载磁盘映像",
174
+ "disk image missing": "缺少磁盘映像",
175
+ "disk image mount failed": "磁盘映像装载失败",
149
176
  "don't pair Swipt": "不配对 Swipt",
150
177
  "don't pair Swipt, trust its developer or publish its API": "不配对 Swipt、不信任其开发者,也不发布其 API",
151
178
  "don't publish the API to the local network": "不向本地网络发布 API",
152
179
  "downloading Swipt {version} ({build}) from {release}": "正在从 {release} 下载 Swipt {version}({build})",
153
180
  "error: {message}": "错误:{message}",
154
- "failed": "失败",
155
181
  "follow new entries": "持续显示新条目",
156
182
  "help": "帮助",
157
183
  "image directory (default: a new temporary directory)": "图像目录(默认:新的临时目录)",
@@ -168,7 +194,7 @@
168
194
  "invalid argument {value} for {option}: it's a number": "{option} 的参数 {value} 无效:应为数字",
169
195
  "looking for Swipt on the devices": "正在设备上查找 Swipt",
170
196
  "looking for devices": "正在查找设备",
171
- "maximum age": "最长时间范围",
197
+ "maximum age": "最长回溯时间",
172
198
  "minimum level (default info)": "最低级别(默认 info)",
173
199
  "navigate": "移动",
174
200
  "number of past entries (default 100)": "历史条目数(默认 100)",
@@ -182,38 +208,38 @@
182
208
  "package.json lists no workspaces with swiplets; name the swiplets to list.": "package.json 未列出包含 Swiplet 的工作区;请指定要列出的 Swiplet。",
183
209
  "pairing rejected": "配对被拒绝",
184
210
  "pairing with {device}": "正在与 {device} 配对",
211
+ "passcode to unlock the device automatically; empty turns that off": "用于自动解锁设备的密码;留空则关闭自动解锁",
185
212
  "pin (4 or 6 digits, default), numeric or alphanumeric": "pin(4 位或 6 位数字,默认)、numeric 或 alphanumeric",
186
- "preparing": "正在准备",
187
213
  "preparing signing for Swipt with team {team} through Xcode": "正在通过 Xcode 用团队 {team} 为 Swipt 准备签名",
188
214
  "preparing the Developer Disk Image on {device}": "正在准备 {device} 上的开发者磁盘映像",
215
+ "quitting Swipt on {device}": "正在退出 {device} 上的 Swipt",
189
216
  "re-signing Swipt": "正在重新签名 Swipt",
190
217
  "removed {build} from {device}": "已从 {device} 移除 {build}",
191
- "removed {name}": "已移除 {name}",
192
218
  "removing Swipt from {device}": "正在从 {device} 移除 Swipt",
193
219
  "replaced {id} {version}": "已替换 {id} {version}",
220
+ "require a random token from API clients": "要求 API 客户端提供随机令牌",
221
+ "require this token from API clients": "要求 API 客户端提供此令牌",
194
222
  "requires a token": "需要令牌",
195
- "running": "正在运行",
196
223
  "saved {count} files to {path}": "已将 {count} 个文件保存到 {path}",
197
224
  "screen in use": "屏幕正在使用中",
198
225
  "select": "选择",
199
226
  "service: {status}": "服务:{status}",
200
227
  "set up auto-unlock with this passcode": "使用此密码设置自动解锁",
201
228
  "setting up auto-unlock": "正在设置自动解锁",
202
- "starting": "正在启动",
229
+ "starting the driver for {device}": "正在为 {device} 启动驱动程序",
203
230
  "stopped": "已停止",
231
+ "stopping the driver on {computer}": "正在停止 {computer} 上的驱动程序",
204
232
  "swiplet ID": "Swiplet ID",
205
- "swipt-server is missing; install it with \"npm install -g @swipt/cli --include=optional\"": "缺少 swipt-server;请使用 \"npm install -g @swipt/cli --include=optional\" 安装",
233
+ "tap Trust on {device} and enter its passcode to trust this computer": "请在 {device} 上轻点“信任”并输入其密码,以信任此电脑",
206
234
  "team ID, required if more than one": "团队 ID,有多个团队时必须指定",
207
235
  "the device to use": "要使用的设备",
208
236
  "trusting {developer} in Settings": "正在“设置”中信任 {developer}",
209
- "turned off": "已停用",
210
- "turned on": "已启用",
211
237
  "unknown command {name} for {parent}": "{parent} 没有命令 {name}",
212
238
  "unlock device with this passcode": "使用此密码解锁设备",
213
- "unlock the device and connect it with a USB cable or the same network as this Mac": "请解锁设备,并通过 USB 或与此 Mac 相同的网络连接",
214
239
  "unlocking the device": "正在解锁设备",
215
240
  "unreachable": "无法连接",
216
241
  "usage: {usage}": "用法:{usage}",
242
+ "usbmuxd isn't running; install usbmuxd and start it": "usbmuxd 未在运行;请安装 usbmuxd 并启动它",
217
243
  "use nightly build": "使用 nightly 版本",
218
244
  "waiting for {device}": "正在等待 {device}",
219
245
  "watch the state": "监视状态",
@@ -228,7 +254,7 @@
228
254
  "{build} on {device} is later than {release} ({releaseBuild}).": "{device} 上的 {build} 比 {release}({releaseBuild})更新。",
229
255
  "{build} on {device} needs new signing, but {release} ({releaseBuild}) is earlier; use --nightly, or downgrade with \"swipt sideload install --force\".": "{device} 上的 {build} 需要重新签名,但 {release}({releaseBuild})的版本更旧;请使用 --nightly,或用 \"swipt sideload install --force\" 降级。",
230
256
  "{developer} is trusted.": "已信任 {developer}。",
231
- "{device} is offline; {hint}.": "{device} 已离线;{hint}。",
257
+ "{device} isn't unlocked automatically; set its passcode with --passcode. Ctrl-C stops the driver.": "{device} 不会自动解锁;请使用 --passcode 设置其密码。按 Ctrl-C 可停止驱动程序。",
232
258
  "{device} requires a token: swipt device add {url}": "{device} 需要令牌:swipt device add {url}",
233
259
  "{device} wasn't found on the local network; find its API URLs in Swipt › Developer › Local Network.": "在本地网络上找不到 {device};请前往“Swipt”>“开发者”>“本地网络”查看其 API URL。",
234
260
  "{device}: {message}; unlock it or pass --passcode, then run this again.": "{device}:{message};请解锁设备或传入 --passcode,然后重新运行。",
@@ -236,15 +262,13 @@
236
262
  "{enabled}, {status}": "{enabled},{status}",
237
263
  "{enabled}, {status} since {time}": "{enabled},自 {time} 起{status}",
238
264
  "{file} is missing; build {directory} first.": "缺少 {file};请先构建 {directory}。",
239
- "{hint}; Swipt pairs in Settings instead.": "{hint};Swipt 将改为在“设置”中配对。",
240
- "{hint}; its developer isn't trusted automatically.": "{hint};不会自动信任其开发者。",
241
265
  "{id} is both {first} and {second}": "{id} 同时对应 {first} 和 {second}",
242
266
  "{location}: @available has \"{entry}\"; it takes \"apiLevel <level>\" and \"iOS <version>\", separated by commas.": "{location}:@available 包含 \"{entry}\";@available 接受以逗号分隔的 \"apiLevel <level>\" 和 \"iOS <version>\"。",
243
267
  "{location}: @available names {kind} twice.": "{location}:@available 两次指定了 {kind}。",
244
268
  "{location}: importing {name} needs {requirement}; raise \"swiplet.minimumAPILevel\" or \"swiplet.minimumIOSVersion\" in package.json.": "{location}:导入 {name} 需要 {requirement};请提高 package.json 中的 \"swiplet.minimumAPILevel\" 或 \"swiplet.minimumIOSVersion\"。",
245
269
  "{location}: {name} is an entry of the swiplet and needs {requirement}; raise \"swiplet.minimumAPILevel\" or \"swiplet.minimumIOSVersion\" in package.json.": "{location}:{name} 是 Swiplet 的入口,需要 {requirement};请提高 package.json 中的 \"swiplet.minimumAPILevel\" 或 \"swiplet.minimumIOSVersion\"。",
246
270
  "{location}: {name} needs {requirement}.": "{location}:{name} 需要 {requirement}。",
247
- "{message}; connect with the URL from Swipt › Developer: swipt device add {url}": "{message};请使用“Swipt”>“开发者”中的 URL 连接:swipt device add {url}",
271
+ "{message}; connect with the URL that Swipt › Developer or \"swipt driver\" shows: swipt device add {url}": "{message};请使用“Swipt”>“开发者”或 \"swipt driver\" 显示的 URL 连接:swipt device add {url}",
248
272
  "{name} is used while extension.js loads; use it inside run or an action.": "extension.js 加载期间使用了 {name};请在 run 或操作内使用。",
249
273
  "{name} works only in the swiplet interface.": "{name} 只能在 Swiplet 界面中使用。",
250
274
  "{option} isn't an option of {command}.": "{option} 不是 {command} 的选项。",
@@ -252,7 +276,7 @@
252
276
  "{path} is a directory in the data directory of {swiplet}; save it with --output DIRECTORY": "{path} 是 {swiplet} 数据目录中的目录;请使用 --output DIRECTORY 保存",
253
277
  "{path} names the data directory of the REPL; save it with --output DIRECTORY": "{path} 指向 REPL 的数据目录;请使用 --output DIRECTORY 保存",
254
278
  "{path} names the data directory of {swiplet}; save it with --output DIRECTORY": "{path} 指向 {swiplet} 的数据目录;请使用 --output DIRECTORY 保存",
255
- "{reason}; paired iPhone and iPad devices:": "{reason};已配对的 iPhone 和 iPad:",
279
+ "{reason}; connected iPhone and iPad devices:": "{reason};已连接的 iPhone 和 iPad:",
256
280
  "{source} and {asset} would both be assets/{name} in the swiplet.": "{source} 和 {asset} 在 Swiplet 中都会成为 assets/{name}。",
257
281
  "{text} isn't a URL.": "{text} 不是 URL。",
258
282
  "{text} isn't an http or https URL.": "{text} 不是 http 或 https URL。"