@laraveladmin/dsh-stay-awake 0.3.4 → 0.4.0

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.
package/client.js CHANGED
@@ -27,179 +27,1070 @@ window.__ModuleLoader__.load({
27
27
  // A protection indicator must never claim "holding" while it cannot prove it.
28
28
  const UNKNOWN_AFTER_FAILURES = 2
29
29
 
30
- const ZH = {
31
- 'brand': '守夜',
32
- 'state.connecting': '连接中',
33
- 'state.idle': '未保持',
34
- 'state.releasing': '释放中',
35
- 'state.holding': '保持中',
36
- 'state.failed': '异常',
37
- 'state.disabled': '已关闭',
38
- 'state.unknown': '状态未知',
39
- 'detail.backend': '后端',
40
- 'detail.scope': '范围',
41
- 'detail.sources': '活跃源',
42
- 'detail.since': '已持续',
43
- 'detail.error': '原因',
44
- 'sources.agents': '会话',
45
- 'sources.maintenance': '维护',
46
- 'sources.jobs': '后台任务',
47
- 'scope.system': '仅系统',
48
- 'scope.display': '含屏幕',
49
- 'unit.none': '无',
50
- 'hint.unreachable': '无法连接宿主状态服务,DSH 可能正在重启',
51
- 'error.exited': '电源断言被意外终止,正在重试',
52
- 'error.backend': '无法启动电源断言后端',
53
- 'error.unsupported': '当前平台没有可用的电源后端',
54
- 'error.unknown': '电源断言出现未知错误',
55
- 'backend.caffeinate': 'macOS 系统唤醒(caffeinate)',
56
- 'backend.setthreadexecutionstate': 'Windows 执行状态锁',
57
- 'backend.systemd-inhibit': 'systemd 抑制锁',
58
- 'panel.enabled': '总开关',
59
- 'panel.allowDisplaySleep': '允许屏幕休眠',
60
- 'panel.allowDisplaySleepHint': '开启后只防系统休眠,屏幕按系统设置熄灭',
61
- 'panel.hold': '临时保持',
62
- 'panel.hold30': '30 分钟',
63
- 'panel.hold120': '2 小时',
64
- 'panel.holdCancel': '取消',
65
- 'panel.sound': '提示音',
66
- 'panel.testSound': '试听',
67
- 'panel.testSuccess': '完成',
68
- 'panel.testError': '失败',
69
- 'panel.testQuestion': '提醒',
70
- 'panel.testPlayed': '试听已播放',
71
- 'panel.testUnavailable': '试听失败:没有可用的播放器',
72
- 'panel.autoResume': '断网自动重试',
73
- 'panel.autoResumeHint': '网络恢复后自动重试因断网失败的那一轮',
74
- 'panel.resumeWaiting': '等待网络恢复…',
75
- 'panel.resumeRetrying': '正在自动重试…',
76
- 'panel.resumeFailed': '自动重试未成功',
77
- 'panel.resumeRetried': '已自动重试(网络已恢复)',
78
- 'panel.holdDisabled': '总开关关闭时无法临时保持',
79
- 'panel.holdLeft': '剩余',
80
- 'panel.saved': '已保存',
81
- 'panel.saveFailed': '保存失败,请重试',
82
- 'panel.staleHost': '宿主端未加载最新版本:请在插件页禁用再启用「守夜」,或重启 DSH',
83
- 'panel.advanced': '防抖、兜底时长等高级参数在 profile 的 cordis.patch.yml 中配置',
84
- 'panel.repo': '打开代码仓库',
85
- 'panel.npm': '在 npm 查看该版本',
86
- }
87
-
88
- const EN = {
89
- 'brand': 'Stay awake',
90
- 'state.connecting': 'Connecting',
91
- 'state.idle': 'Not holding',
92
- 'state.releasing': 'Releasing',
93
- 'state.holding': 'Holding',
94
- 'state.failed': 'Error',
95
- 'state.disabled': 'Off',
96
- 'state.unknown': 'Unknown',
97
- 'detail.backend': 'Backend',
98
- 'detail.scope': 'Scope',
99
- 'detail.sources': 'Sources',
100
- 'detail.since': 'Held for',
101
- 'detail.error': 'Reason',
102
- 'sources.agents': 'Agents',
103
- 'sources.maintenance': 'Maintenance',
104
- 'sources.jobs': 'Jobs',
105
- 'scope.system': 'system only',
106
- 'scope.display': 'incl. display',
107
- 'unit.none': 'none',
108
- 'hint.unreachable': 'Cannot reach the host status service; DSH may be restarting',
109
- 'error.exited': 'The power assertion exited unexpectedly; retrying',
110
- 'error.backend': 'Could not start the power assertion backend',
111
- 'error.unsupported': 'No power backend is available on this platform',
112
- 'error.unknown': 'The power assertion reported an unknown error',
113
- 'backend.caffeinate': 'macOS wake lock (caffeinate)',
114
- 'backend.setthreadexecutionstate': 'Windows execution state lock',
115
- 'backend.systemd-inhibit': 'systemd inhibitor',
116
- 'panel.enabled': 'Enabled',
117
- 'panel.allowDisplaySleep': 'Allow display sleep',
118
- 'panel.allowDisplaySleepHint': 'Only system sleep is blocked; the screen follows the OS setting',
119
- 'panel.hold': 'Hold for',
120
- 'panel.hold30': '30 min',
121
- 'panel.hold120': '2 h',
122
- 'panel.holdCancel': 'Cancel',
123
- 'panel.sound': 'Sounds',
124
- 'panel.testSound': 'Test',
125
- 'panel.testSuccess': 'Done',
126
- 'panel.testError': 'Error',
127
- 'panel.testQuestion': 'Alert',
128
- 'panel.testPlayed': 'Test sound played',
129
- 'panel.testUnavailable': 'Test failed: no player found',
130
- 'panel.autoResume': 'Retry after reconnect',
131
- 'panel.autoResumeHint': 'Retry the turn that failed offline once the network is back',
132
- 'panel.resumeWaiting': 'Waiting for the network…',
133
- 'panel.resumeRetrying': 'Retrying automatically…',
134
- 'panel.resumeFailed': 'Automatic retry did not go through',
135
- 'panel.resumeRetried': 'Retried after the network came back',
136
- 'panel.holdDisabled': 'Enable the plugin first to hold',
137
- 'panel.holdLeft': 'left',
138
- 'panel.saved': 'Saved',
139
- 'panel.saveFailed': 'Could not save, please retry',
140
- 'panel.staleHost': 'The host half is running an older build: disable and re-enable Stay awake in Plugins, or restart DSH',
141
- 'panel.advanced': 'Debounce, hold cap and other advanced options live in the profile cordis.patch.yml',
142
- 'panel.repo': 'Open the source repository',
143
- 'panel.npm': 'View this version on npm',
144
- }
145
-
146
- const ZHT = {
147
- 'brand': '守夜',
148
- 'state.connecting': '連線中',
149
- 'state.idle': '未保持',
150
- 'state.releasing': '釋放中',
151
- 'state.holding': '保持中',
152
- 'state.failed': '異常',
153
- 'state.disabled': '已關閉',
154
- 'state.unknown': '狀態未知',
155
- 'detail.backend': '後端',
156
- 'detail.scope': '範圍',
157
- 'detail.sources': '作用中來源',
158
- 'detail.since': '已持續',
159
- 'detail.error': '原因',
160
- 'sources.agents': '會話',
161
- 'sources.maintenance': '維護',
162
- 'sources.jobs': '背景工作',
163
- 'scope.system': '僅系統',
164
- 'scope.display': '含螢幕',
165
- 'unit.none': '無',
166
- 'hint.unreachable': '無法連線宿主狀態服務,DSH 可能正在重新啟動',
167
- 'error.exited': '電源斷言被意外終止,正在重試',
168
- 'error.backend': '無法啟動電源斷言後端',
169
- 'error.unsupported': '目前平台沒有可用的電源後端',
170
- 'error.unknown': '電源斷言發生未知錯誤',
171
- 'backend.caffeinate': 'macOS 系統喚醒(caffeinate)',
172
- 'backend.setthreadexecutionstate': 'Windows 執行狀態鎖',
173
- 'backend.systemd-inhibit': 'systemd 抑制鎖',
174
- 'panel.enabled': '總開關',
175
- 'panel.allowDisplaySleep': '允許螢幕休眠',
176
- 'panel.allowDisplaySleepHint': '開啟後只防止系統休眠,螢幕依系統設定熄滅',
177
- 'panel.hold': '臨時保持',
178
- 'panel.hold30': '30 分鐘',
179
- 'panel.hold120': '2 小時',
180
- 'panel.holdCancel': '取消',
181
- 'panel.sound': '提示音',
182
- 'panel.testSound': '試聽',
183
- 'panel.testSuccess': '完成',
184
- 'panel.testError': '失敗',
185
- 'panel.testQuestion': '提醒',
186
- 'panel.testPlayed': '試聽已播放',
187
- 'panel.testUnavailable': '試聽失敗:沒有可用的播放程式',
188
- 'panel.autoResume': '斷網自動重試',
189
- 'panel.autoResumeHint': '網路恢復後自動重試因斷網失敗的那一輪',
190
- 'panel.resumeWaiting': '等待網路恢復…',
191
- 'panel.resumeRetrying': '正在自動重試…',
192
- 'panel.resumeFailed': '自動重試未成功',
193
- 'panel.resumeRetried': '已自動重試(網路已恢復)',
194
- 'panel.holdDisabled': '總開關關閉時無法臨時保持',
195
- 'panel.holdLeft': '剩餘',
196
- 'panel.saved': '已儲存',
197
- 'panel.saveFailed': '儲存失敗,請重試',
198
- 'panel.staleHost': '宿主端未載入最新版本:請在外掛頁面停用再啟用「守夜」,或重新啟動 DSH',
199
- 'panel.advanced': '防抖、兜底時長等進階參數在 profile 的 cordis.patch.yml 中設定',
200
- 'panel.repo': '開啟程式碼倉庫',
201
- 'panel.npm': '在 npm 查看此版本',
30
+ // i18n:begin — generated from i18n/*.json by `npm run i18n`; do not edit by hand.
31
+ const DICTS = {
32
+ "zh": {
33
+ "brand": "守夜",
34
+ "state.connecting": "连接中",
35
+ "state.idle": "未保持",
36
+ "state.releasing": "释放中",
37
+ "state.holding": "保持中",
38
+ "state.failed": "异常",
39
+ "state.disabled": "已关闭",
40
+ "state.unknown": "状态未知",
41
+ "detail.backend": "后端",
42
+ "detail.scope": "范围",
43
+ "detail.sources": "活跃源",
44
+ "detail.since": "已持续",
45
+ "detail.error": "原因",
46
+ "sources.agents": "会话",
47
+ "sources.maintenance": "维护",
48
+ "sources.jobs": "后台任务",
49
+ "scope.system": "仅系统",
50
+ "scope.display": "含屏幕",
51
+ "unit.none": "无",
52
+ "hint.unreachable": "无法连接宿主状态服务,DSH 可能正在重启",
53
+ "error.exited": "电源断言被意外终止,正在重试",
54
+ "error.backend": "无法启动电源断言后端",
55
+ "error.unsupported": "当前平台没有可用的电源后端",
56
+ "error.unknown": "电源断言出现未知错误",
57
+ "backend.caffeinate": "macOS 系统唤醒(caffeinate)",
58
+ "backend.setthreadexecutionstate": "Windows 执行状态锁",
59
+ "panel.enabled": "总开关",
60
+ "panel.allowDisplaySleep": "允许屏幕休眠",
61
+ "panel.allowDisplaySleepHint": "开启后只防系统休眠,屏幕按系统设置熄灭",
62
+ "panel.hold": "临时保持",
63
+ "panel.hold30": "30 分钟",
64
+ "panel.hold120": "2 小时",
65
+ "panel.holdCancel": "取消",
66
+ "panel.sound": "提示音",
67
+ "panel.testSound": "试听",
68
+ "panel.testSuccess": "完成",
69
+ "panel.testError": "失败",
70
+ "panel.testQuestion": "提醒",
71
+ "panel.testPlayed": "试听已播放",
72
+ "panel.testUnavailable": "试听失败:没有可用的播放器",
73
+ "panel.autoResume": "断网自动重试",
74
+ "panel.autoResumeHint": "网络恢复后自动重试因断网失败的那一轮",
75
+ "panel.resumeWaiting": "等待网络恢复…",
76
+ "panel.resumeRetrying": "正在自动重试…",
77
+ "panel.resumeFailed": "自动重试未成功",
78
+ "panel.resumeRetried": "已自动重试(网络已恢复)",
79
+ "panel.holdDisabled": "总开关关闭时无法临时保持",
80
+ "panel.holdLeft": "剩余",
81
+ "panel.saved": "已保存",
82
+ "panel.saveFailed": "保存失败,请重试",
83
+ "panel.staleHost": "宿主端未加载最新版本:请在插件页禁用再启用「守夜」,或重启 DSH",
84
+ "panel.advanced": "防抖、兜底时长等高级参数在 profile 的 cordis.patch.yml 中配置",
85
+ "panel.repo": "打开代码仓库",
86
+ "panel.npm": "在 npm 查看该版本"
87
+ },
88
+ "zh-Hant": {
89
+ "brand": "守夜",
90
+ "state.connecting": "連線中",
91
+ "state.idle": "未保持",
92
+ "state.releasing": "釋放中",
93
+ "state.holding": "保持中",
94
+ "state.failed": "異常",
95
+ "state.disabled": "已關閉",
96
+ "state.unknown": "狀態未知",
97
+ "detail.backend": "後端",
98
+ "detail.scope": "範圍",
99
+ "detail.sources": "作用中來源",
100
+ "detail.since": "已持續",
101
+ "detail.error": "原因",
102
+ "sources.agents": "會話",
103
+ "sources.maintenance": "維護",
104
+ "sources.jobs": "背景工作",
105
+ "scope.system": "僅系統",
106
+ "scope.display": "含螢幕",
107
+ "unit.none": "無",
108
+ "hint.unreachable": "無法連線宿主狀態服務,DSH 可能正在重新啟動",
109
+ "error.exited": "電源斷言被意外終止,正在重試",
110
+ "error.backend": "無法啟動電源斷言後端",
111
+ "error.unsupported": "目前平台沒有可用的電源後端",
112
+ "error.unknown": "電源斷言發生未知錯誤",
113
+ "backend.caffeinate": "macOS 系統喚醒(caffeinate)",
114
+ "backend.setthreadexecutionstate": "Windows 執行狀態鎖",
115
+ "panel.enabled": "總開關",
116
+ "panel.allowDisplaySleep": "允許螢幕休眠",
117
+ "panel.allowDisplaySleepHint": "開啟後只防止系統休眠,螢幕依系統設定熄滅",
118
+ "panel.hold": "臨時保持",
119
+ "panel.hold30": "30 分鐘",
120
+ "panel.hold120": "2 小時",
121
+ "panel.holdCancel": "取消",
122
+ "panel.sound": "提示音",
123
+ "panel.testSound": "試聽",
124
+ "panel.testSuccess": "完成",
125
+ "panel.testError": "失敗",
126
+ "panel.testQuestion": "提醒",
127
+ "panel.testPlayed": "試聽已播放",
128
+ "panel.testUnavailable": "試聽失敗:沒有可用的播放程式",
129
+ "panel.autoResume": "斷網自動重試",
130
+ "panel.autoResumeHint": "網路恢復後自動重試因斷網失敗的那一輪",
131
+ "panel.resumeWaiting": "等待網路恢復…",
132
+ "panel.resumeRetrying": "正在自動重試…",
133
+ "panel.resumeFailed": "自動重試未成功",
134
+ "panel.resumeRetried": "已自動重試(網路已恢復)",
135
+ "panel.holdDisabled": "總開關關閉時無法臨時保持",
136
+ "panel.holdLeft": "剩餘",
137
+ "panel.saved": "已儲存",
138
+ "panel.saveFailed": "儲存失敗,請重試",
139
+ "panel.staleHost": "宿主端未載入最新版本:請在外掛頁面停用再啟用「守夜」,或重新啟動 DSH",
140
+ "panel.advanced": "防抖、兜底時長等進階參數在 profile 的 cordis.patch.yml 中設定",
141
+ "panel.repo": "開啟程式碼倉庫",
142
+ "panel.npm": "在 npm 查看此版本"
143
+ },
144
+ "en": {
145
+ "brand": "Stay awake",
146
+ "state.connecting": "Connecting",
147
+ "state.idle": "Not holding",
148
+ "state.releasing": "Releasing",
149
+ "state.holding": "Holding",
150
+ "state.failed": "Error",
151
+ "state.disabled": "Off",
152
+ "state.unknown": "Unknown",
153
+ "detail.backend": "Backend",
154
+ "detail.scope": "Scope",
155
+ "detail.sources": "Sources",
156
+ "detail.since": "Held for",
157
+ "detail.error": "Reason",
158
+ "sources.agents": "Agents",
159
+ "sources.maintenance": "Maintenance",
160
+ "sources.jobs": "Jobs",
161
+ "scope.system": "system only",
162
+ "scope.display": "incl. display",
163
+ "unit.none": "none",
164
+ "hint.unreachable": "Cannot reach the host status service; DSH may be restarting",
165
+ "error.exited": "The power assertion exited unexpectedly; retrying",
166
+ "error.backend": "Could not start the power assertion backend",
167
+ "error.unsupported": "No power backend is available on this platform",
168
+ "error.unknown": "The power assertion reported an unknown error",
169
+ "backend.caffeinate": "macOS wake lock (caffeinate)",
170
+ "backend.setthreadexecutionstate": "Windows execution state lock",
171
+ "panel.enabled": "Enabled",
172
+ "panel.allowDisplaySleep": "Allow display sleep",
173
+ "panel.allowDisplaySleepHint": "Only system sleep is blocked; the screen follows the OS setting",
174
+ "panel.hold": "Hold for",
175
+ "panel.hold30": "30 min",
176
+ "panel.hold120": "2 h",
177
+ "panel.holdCancel": "Cancel",
178
+ "panel.sound": "Sounds",
179
+ "panel.testSound": "Test",
180
+ "panel.testSuccess": "Done",
181
+ "panel.testError": "Error",
182
+ "panel.testQuestion": "Alert",
183
+ "panel.testPlayed": "Test sound played",
184
+ "panel.testUnavailable": "Test failed: no player found",
185
+ "panel.autoResume": "Retry after reconnect",
186
+ "panel.autoResumeHint": "Retry the turn that failed offline once the network is back",
187
+ "panel.resumeWaiting": "Waiting for the network…",
188
+ "panel.resumeRetrying": "Retrying automatically…",
189
+ "panel.resumeFailed": "Automatic retry did not go through",
190
+ "panel.resumeRetried": "Retried after the network came back",
191
+ "panel.holdDisabled": "Enable the plugin first to hold",
192
+ "panel.holdLeft": "left",
193
+ "panel.saved": "Saved",
194
+ "panel.saveFailed": "Could not save, please retry",
195
+ "panel.staleHost": "The host half is running an older build: disable and re-enable Stay awake in Plugins, or restart DSH",
196
+ "panel.advanced": "Debounce, hold cap and other advanced options live in the profile cordis.patch.yml",
197
+ "panel.repo": "Open the source repository",
198
+ "panel.npm": "View this version on npm"
199
+ },
200
+ "ar": {
201
+ "brand": "ابقَ مستيقظًا",
202
+ "state.connecting": "جارٍ الاتصال",
203
+ "state.idle": "لا يمنع النوم",
204
+ "state.releasing": "جارٍ التحرير",
205
+ "state.holding": "قيد التثبيت",
206
+ "state.failed": "خطأ",
207
+ "state.disabled": "مغلق",
208
+ "state.unknown": "غير معروف",
209
+ "detail.backend": "الخلفية",
210
+ "detail.scope": "النطاق",
211
+ "detail.sources": "المصادر النشطة",
212
+ "detail.since": "مثبّت منذ",
213
+ "detail.error": "السبب",
214
+ "sources.agents": "الجلسات",
215
+ "sources.maintenance": "الصيانة",
216
+ "sources.jobs": "المهام الخلفية",
217
+ "scope.system": "النظام فقط",
218
+ "scope.display": "بما في ذلك الشاشة",
219
+ "unit.none": "لا شيء",
220
+ "hint.unreachable": "تعذّر الوصول إلى خدمة حالة المضيف؛ قد يكون DSH قيد إعادة التشغيل",
221
+ "error.exited": "توقف تثبيت الطاقة بشكل غير متوقع؛ جارٍ إعادة المحاولة",
222
+ "error.backend": "تعذّر بدء خلفية تثبيت الطاقة",
223
+ "error.unsupported": "لا تتوفر خلفية طاقة على هذه المنصة",
224
+ "error.unknown": "أفاد تثبيت الطاقة بخطأ غير معروف",
225
+ "backend.caffeinate": "قفل السكون في macOS (caffeinate)",
226
+ "backend.setthreadexecutionstate": "قفل حالة التنفيذ في Windows",
227
+ "panel.enabled": "مفعّل",
228
+ "panel.allowDisplaySleep": "السماح بسكون الشاشة",
229
+ "panel.allowDisplaySleepHint": "يُمنع سكون النظام فقط؛ تتبع الشاشة إعدادات النظام",
230
+ "panel.hold": "ثبّت لمدة",
231
+ "panel.hold30": "30 دقيقة",
232
+ "panel.hold120": "ساعتان",
233
+ "panel.holdCancel": "إلغاء",
234
+ "panel.sound": "الأصوات",
235
+ "panel.testSound": "تجربة",
236
+ "panel.testSuccess": "تم",
237
+ "panel.testError": "خطأ",
238
+ "panel.testQuestion": "تنبيه",
239
+ "panel.testPlayed": "تم تشغيل صوت التجربة",
240
+ "panel.testUnavailable": "فشلت التجربة: لا يوجد مشغّل",
241
+ "panel.autoResume": "أعد المحاولة بعد إعادة الاتصال",
242
+ "panel.autoResumeHint": "يعيد تشغيل الدور الذي فشل دون اتصال عند عودة الشبكة",
243
+ "panel.resumeWaiting": "بانتظار الشبكة…",
244
+ "panel.resumeRetrying": "جارٍ إعادة المحاولة تلقائيًا…",
245
+ "panel.resumeFailed": "لم تنجح إعادة المحاولة التلقائية",
246
+ "panel.resumeRetried": "أُعيدت المحاولة بعد عودة الشبكة",
247
+ "panel.holdDisabled": "فعّل الإضافة أولًا للتثبيت",
248
+ "panel.holdLeft": "متبقٍ",
249
+ "panel.saved": "تم الحفظ",
250
+ "panel.saveFailed": "تعذّر الحفظ، يرجى إعادة المحاولة",
251
+ "panel.staleHost": "جانب المضيف يعمل بإصدار أقدم: عطّل Stay awake في الإضافات ثم أعد تفعيله، أو أعد تشغيل DSH",
252
+ "panel.advanced": "خفض الاهتزاز وحد التثبيت وخيارات أخرى في cordis.patch.yml للملف الشخصي",
253
+ "panel.repo": "فتح مستودع المصدر",
254
+ "panel.npm": "اعرض هذا الإصدار على npm"
255
+ },
256
+ "de": {
257
+ "brand": "Wach bleiben",
258
+ "state.connecting": "Verbinden",
259
+ "state.idle": "Hält nicht",
260
+ "state.releasing": "Wird freigegeben",
261
+ "state.holding": "Hält",
262
+ "state.failed": "Fehler",
263
+ "state.disabled": "Aus",
264
+ "state.unknown": "Unbekannt",
265
+ "detail.backend": "Backend",
266
+ "detail.scope": "Umfang",
267
+ "detail.sources": "Aktive Quellen",
268
+ "detail.since": "Hält seit",
269
+ "detail.error": "Grund",
270
+ "sources.agents": "Sitzungen",
271
+ "sources.maintenance": "Wartung",
272
+ "sources.jobs": "Hintergrundjobs",
273
+ "scope.system": "nur System",
274
+ "scope.display": "inkl. Bildschirm",
275
+ "unit.none": "keine",
276
+ "hint.unreachable": "Der Host-Statusdienst ist nicht erreichbar; DSH startet möglicherweise neu",
277
+ "error.exited": "Die Energiesperre wurde unerwartet beendet; neuer Versuch läuft",
278
+ "error.backend": "Das Energiesperren-Backend konnte nicht gestartet werden",
279
+ "error.unsupported": "Für diese Plattform ist kein Energiesperren-Backend verfügbar",
280
+ "error.unknown": "Die Energiesperre meldete einen unbekannten Fehler",
281
+ "backend.caffeinate": "macOS-Wachhaltesperre (caffeinate)",
282
+ "backend.setthreadexecutionstate": "Windows-Ausführungsstatus-Sperre",
283
+ "panel.enabled": "Aktiviert",
284
+ "panel.allowDisplaySleep": "Bildschirm schlafen lassen",
285
+ "panel.allowDisplaySleepHint": "Nur der Systemschlaf wird blockiert; der Bildschirm folgt der OS-Einstellung",
286
+ "panel.hold": "Halten für",
287
+ "panel.hold30": "30 Min.",
288
+ "panel.hold120": "2 Std.",
289
+ "panel.holdCancel": "Abbrechen",
290
+ "panel.sound": "Töne",
291
+ "panel.testSound": "Test",
292
+ "panel.testSuccess": "Fertig",
293
+ "panel.testError": "Fehler",
294
+ "panel.testQuestion": "Hinweis",
295
+ "panel.testPlayed": "Testton abgespielt",
296
+ "panel.testUnavailable": "Test fehlgeschlagen: kein Player gefunden",
297
+ "panel.autoResume": "Nach Wiederverbindung wiederholen",
298
+ "panel.autoResumeHint": "Wiederholt den offline gescheiterten Durchlauf, sobald das Netzwerk zurück ist",
299
+ "panel.resumeWaiting": "Warte auf das Netzwerk…",
300
+ "panel.resumeRetrying": "Automatischer neuer Versuch…",
301
+ "panel.resumeFailed": "Automatischer neuer Versuch fehlgeschlagen",
302
+ "panel.resumeRetried": "Nach der Netzwerkrückkehr wiederholt",
303
+ "panel.holdDisabled": "Zuerst das Plugin aktivieren",
304
+ "panel.holdLeft": "übrig",
305
+ "panel.saved": "Gespeichert",
306
+ "panel.saveFailed": "Speichern fehlgeschlagen, bitte erneut versuchen",
307
+ "panel.staleHost": "Die Host-Hälfte läuft mit einem älteren Build: Stay awake in den Plugins deaktivieren und wieder aktivieren oder DSH neu starten",
308
+ "panel.advanced": "Entprellung, Haltegrenze und weitere Optionen stehen in cordis.patch.yml des Profils",
309
+ "panel.repo": "Quell-Repository öffnen",
310
+ "panel.npm": "Diese Version auf npm ansehen"
311
+ },
312
+ "es": {
313
+ "brand": "Mantener despierto",
314
+ "state.connecting": "Conectando",
315
+ "state.idle": "Sin mantener",
316
+ "state.releasing": "Liberando",
317
+ "state.holding": "Manteniendo",
318
+ "state.failed": "Error",
319
+ "state.disabled": "Apagado",
320
+ "state.unknown": "Desconocido",
321
+ "detail.backend": "Motor",
322
+ "detail.scope": "Alcance",
323
+ "detail.sources": "Fuentes activas",
324
+ "detail.since": "Mantenido desde",
325
+ "detail.error": "Motivo",
326
+ "sources.agents": "Sesiones",
327
+ "sources.maintenance": "Mantenimiento",
328
+ "sources.jobs": "Tareas en segundo plano",
329
+ "scope.system": "solo sistema",
330
+ "scope.display": "incl. pantalla",
331
+ "unit.none": "ninguno",
332
+ "hint.unreachable": "No se puede acceder al servicio de estado del host; DSH puede estar reiniciándose",
333
+ "error.exited": "La aserción de energía terminó inesperadamente; reintentando",
334
+ "error.backend": "No se pudo iniciar el motor de aserción de energía",
335
+ "error.unsupported": "No hay motor de energía disponible en esta plataforma",
336
+ "error.unknown": "La aserción de energía informó un error desconocido",
337
+ "backend.caffeinate": "Bloqueo de reposo de macOS (caffeinate)",
338
+ "backend.setthreadexecutionstate": "Bloqueo de estado de ejecución de Windows",
339
+ "panel.enabled": "Activado",
340
+ "panel.allowDisplaySleep": "Permitir reposo de pantalla",
341
+ "panel.allowDisplaySleepHint": "Solo se bloquea el reposo del sistema; la pantalla sigue la configuración del sistema",
342
+ "panel.hold": "Mantener",
343
+ "panel.hold30": "30 min",
344
+ "panel.hold120": "2 h",
345
+ "panel.holdCancel": "Cancelar",
346
+ "panel.sound": "Sonidos",
347
+ "panel.testSound": "Probar",
348
+ "panel.testSuccess": "Hecho",
349
+ "panel.testError": "Error",
350
+ "panel.testQuestion": "Aviso",
351
+ "panel.testPlayed": "Sonido de prueba reproducido",
352
+ "panel.testUnavailable": "Prueba fallida: no se encontró reproductor",
353
+ "panel.autoResume": "Reintentar al reconectar",
354
+ "panel.autoResumeHint": "Reintenta el turno que falló sin conexión cuando vuelve la red",
355
+ "panel.resumeWaiting": "Esperando la red…",
356
+ "panel.resumeRetrying": "Reintentando automáticamente…",
357
+ "panel.resumeFailed": "El reintento automático no funcionó",
358
+ "panel.resumeRetried": "Reintentado tras volver la red",
359
+ "panel.holdDisabled": "Activa el plugin primero para mantener",
360
+ "panel.holdLeft": "restante",
361
+ "panel.saved": "Guardado",
362
+ "panel.saveFailed": "No se pudo guardar, inténtalo de nuevo",
363
+ "panel.staleHost": "La parte host usa una versión antigua: desactiva y reactiva Stay awake en Plugins, o reinicia DSH",
364
+ "panel.advanced": "El antirrebote, el límite de mantenimiento y otras opciones están en cordis.patch.yml del perfil",
365
+ "panel.repo": "Abrir el repositorio de código",
366
+ "panel.npm": "Ver esta versión en npm"
367
+ },
368
+ "fr": {
369
+ "brand": "Rester éveillé",
370
+ "state.connecting": "Connexion",
371
+ "state.idle": "Inactif",
372
+ "state.releasing": "Libération",
373
+ "state.holding": "Maintien",
374
+ "state.failed": "Erreur",
375
+ "state.disabled": "Désactivé",
376
+ "state.unknown": "Inconnu",
377
+ "detail.backend": "Moteur",
378
+ "detail.scope": "Portée",
379
+ "detail.sources": "Sources actives",
380
+ "detail.since": "Maintenu depuis",
381
+ "detail.error": "Raison",
382
+ "sources.agents": "Sessions",
383
+ "sources.maintenance": "Maintenance",
384
+ "sources.jobs": "Tâches de fond",
385
+ "scope.system": "système seul",
386
+ "scope.display": "écran inclus",
387
+ "unit.none": "aucun",
388
+ "hint.unreachable": "Service d'état de l'hôte injoignable ; DSH redémarre peut-être",
389
+ "error.exited": "L'assertion d'alimentation s'est arrêtée de façon inattendue ; nouvelle tentative",
390
+ "error.backend": "Impossible de démarrer le moteur d'assertion d'alimentation",
391
+ "error.unsupported": "Aucun moteur d'alimentation disponible sur cette plateforme",
392
+ "error.unknown": "L'assertion d'alimentation a signalé une erreur inconnue",
393
+ "backend.caffeinate": "Verrou de veille macOS (caffeinate)",
394
+ "backend.setthreadexecutionstate": "Verrou d'état d'exécution Windows",
395
+ "panel.enabled": "Activé",
396
+ "panel.allowDisplaySleep": "Autoriser la veille de l'écran",
397
+ "panel.allowDisplaySleepHint": "Seule la veille système est bloquée ; l'écran suit le réglage de l'OS",
398
+ "panel.hold": "Maintenir",
399
+ "panel.hold30": "30 min",
400
+ "panel.hold120": "2 h",
401
+ "panel.holdCancel": "Annuler",
402
+ "panel.sound": "Sons",
403
+ "panel.testSound": "Tester",
404
+ "panel.testSuccess": "Terminé",
405
+ "panel.testError": "Erreur",
406
+ "panel.testQuestion": "Alerte",
407
+ "panel.testPlayed": "Son de test joué",
408
+ "panel.testUnavailable": "Test échoué : aucun lecteur trouvé",
409
+ "panel.autoResume": "Réessayer après reconnexion",
410
+ "panel.autoResumeHint": "Relance le tour échoué hors ligne dès que le réseau revient",
411
+ "panel.resumeWaiting": "En attente du réseau…",
412
+ "panel.resumeRetrying": "Nouvelle tentative automatique…",
413
+ "panel.resumeFailed": "La nouvelle tentative automatique a échoué",
414
+ "panel.resumeRetried": "Relancé après le retour du réseau",
415
+ "panel.holdDisabled": "Activez d'abord l'extension",
416
+ "panel.holdLeft": "restant",
417
+ "panel.saved": "Enregistré",
418
+ "panel.saveFailed": "Échec de l'enregistrement, veuillez réessayer",
419
+ "panel.staleHost": "La moitié hôte utilise une version plus ancienne : désactivez puis réactivez Stay awake dans Plugins, ou redémarrez DSH",
420
+ "panel.advanced": "Anti-rebond, plafond de maintien et autres options dans cordis.patch.yml du profil",
421
+ "panel.repo": "Ouvrir le dépôt source",
422
+ "panel.npm": "Voir cette version sur npm"
423
+ },
424
+ "hi": {
425
+ "brand": "जागते रहें",
426
+ "state.connecting": "कनेक्ट हो रहा है",
427
+ "state.idle": "नहीं रोका हुआ",
428
+ "state.releasing": "छोड़ा जा रहा है",
429
+ "state.holding": "रोका हुआ",
430
+ "state.failed": "त्रुटि",
431
+ "state.disabled": "बंद",
432
+ "state.unknown": "अज्ञात",
433
+ "detail.backend": "बैकएंड",
434
+ "detail.scope": "दायरा",
435
+ "detail.sources": "सक्रिय स्रोत",
436
+ "detail.since": "कितनी देर से",
437
+ "detail.error": "कारण",
438
+ "sources.agents": "सत्र",
439
+ "sources.maintenance": "रखरखाव",
440
+ "sources.jobs": "पृष्ठभूमि कार्य",
441
+ "scope.system": "केवल सिस्टम",
442
+ "scope.display": "स्क्रीन सहित",
443
+ "unit.none": "कोई नहीं",
444
+ "hint.unreachable": "होस्ट स्टेटस सेवा तक नहीं पहुँच सके; DSH पुनः आरंभ हो रहा हो सकता है",
445
+ "error.exited": "पावर असेर्शन अचानक बंद हो गया; फिर से प्रयास किया जा रहा है",
446
+ "error.backend": "पावर असेर्शन बैकएंड शुरू नहीं हो सका",
447
+ "error.unsupported": "इस प्लेटफ़ॉर्म पर कोई पावर बैकएंड उपलब्ध नहीं है",
448
+ "error.unknown": "पावर असेर्शन ने अज्ञात त्रुटि बताई",
449
+ "backend.caffeinate": "macOS स्लीप लॉक (caffeinate)",
450
+ "backend.setthreadexecutionstate": "Windows निष्पादन-स्थिति लॉक",
451
+ "panel.enabled": "सक्षम",
452
+ "panel.allowDisplaySleep": "स्क्रीन स्लीप की अनुमति दें",
453
+ "panel.allowDisplaySleepHint": "केवल सिस्टम स्लीप रोकी जाती है; स्क्रीन OS सेटिंग का पालन करती है",
454
+ "panel.hold": "इतने समय तक रोकें",
455
+ "panel.hold30": "30 मिनट",
456
+ "panel.hold120": "2 घंटे",
457
+ "panel.holdCancel": "रद्द करें",
458
+ "panel.sound": "ध्वनियाँ",
459
+ "panel.testSound": "सुनें",
460
+ "panel.testSuccess": "पूर्ण",
461
+ "panel.testError": "त्रुटि",
462
+ "panel.testQuestion": "सूचना",
463
+ "panel.testPlayed": "परीक्षण ध्वनि चलाई गई",
464
+ "panel.testUnavailable": "परीक्षण विफल: कोई प्लेयर नहीं मिला",
465
+ "panel.autoResume": "फिर कनेक्ट होने पर पुनः प्रयास",
466
+ "panel.autoResumeHint": "नेटवर्क लौटने पर ऑफ़लाइन विफल हुआ राउंड फिर चलाता है",
467
+ "panel.resumeWaiting": "नेटवर्क की प्रतीक्षा…",
468
+ "panel.resumeRetrying": "स्वतः पुनः प्रयास…",
469
+ "panel.resumeFailed": "स्वतः पुनः प्रयास सफल नहीं हुआ",
470
+ "panel.resumeRetried": "नेटवर्क लौटने पर पुनः प्रयास किया",
471
+ "panel.holdDisabled": "पहले प्लगइन सक्षम करें",
472
+ "panel.holdLeft": "शेष",
473
+ "panel.saved": "सहेजा गया",
474
+ "panel.saveFailed": "सहेजा नहीं जा सका, कृपया फिर प्रयास करें",
475
+ "panel.staleHost": "होस्ट भाग पुराने बिल्ड पर है: प्लगइन्स में Stay awake को बंद करके फिर चालू करें, या DSH पुनः आरंभ करें",
476
+ "panel.advanced": "डिबाउंस, अधिकतम अवधि और अन्य विकल्प प्रोफ़ाइल के cordis.patch.yml में हैं",
477
+ "panel.repo": "स्रोत रिपॉज़िटरी खोलें",
478
+ "panel.npm": "यह संस्करण npm पर देखें"
479
+ },
480
+ "id": {
481
+ "brand": "Tetap bangun",
482
+ "state.connecting": "Menghubungkan",
483
+ "state.idle": "Tidak menahan",
484
+ "state.releasing": "Melepas",
485
+ "state.holding": "Menahan",
486
+ "state.failed": "Galat",
487
+ "state.disabled": "Mati",
488
+ "state.unknown": "Tidak diketahui",
489
+ "detail.backend": "Backend",
490
+ "detail.scope": "Cakupan",
491
+ "detail.sources": "Sumber aktif",
492
+ "detail.since": "Ditahan selama",
493
+ "detail.error": "Alasan",
494
+ "sources.agents": "Sesi",
495
+ "sources.maintenance": "Pemeliharaan",
496
+ "sources.jobs": "Tugas latar belakang",
497
+ "scope.system": "hanya sistem",
498
+ "scope.display": "termasuk layar",
499
+ "unit.none": "tidak ada",
500
+ "hint.unreachable": "Layanan status host tidak terjangkau; DSH mungkin sedang memulai ulang",
501
+ "error.exited": "Asersi daya berhenti tak terduga; mencoba lagi",
502
+ "error.backend": "Tidak dapat memulai backend asersi daya",
503
+ "error.unsupported": "Tidak ada backend daya di platform ini",
504
+ "error.unknown": "Asersi daya melaporkan galat tak dikenal",
505
+ "backend.caffeinate": "Kunci tidur macOS (caffeinate)",
506
+ "backend.setthreadexecutionstate": "Kunci status eksekusi Windows",
507
+ "panel.enabled": "Aktif",
508
+ "panel.allowDisplaySleep": "Izinkan tidur layar",
509
+ "panel.allowDisplaySleepHint": "Hanya tidur sistem yang dicegah; layar mengikuti pengaturan OS",
510
+ "panel.hold": "Tahan selama",
511
+ "panel.hold30": "30 mnt",
512
+ "panel.hold120": "2 j",
513
+ "panel.holdCancel": "Batal",
514
+ "panel.sound": "Suara",
515
+ "panel.testSound": "Uji",
516
+ "panel.testSuccess": "Selesai",
517
+ "panel.testError": "Galat",
518
+ "panel.testQuestion": "Peringatan",
519
+ "panel.testPlayed": "Suara uji diputar",
520
+ "panel.testUnavailable": "Uji gagal: pemutar tidak ditemukan",
521
+ "panel.autoResume": "Coba lagi setelah tersambung",
522
+ "panel.autoResumeHint": "Mengulang giliran yang gagal offline saat jaringan kembali",
523
+ "panel.resumeWaiting": "Menunggu jaringan…",
524
+ "panel.resumeRetrying": "Mencoba ulang otomatis…",
525
+ "panel.resumeFailed": "Percobaan ulang otomatis gagal",
526
+ "panel.resumeRetried": "Dicoba ulang setelah jaringan kembali",
527
+ "panel.holdDisabled": "Aktifkan plugin dulu untuk menahan",
528
+ "panel.holdLeft": "tersisa",
529
+ "panel.saved": "Tersimpan",
530
+ "panel.saveFailed": "Tidak dapat menyimpan, coba lagi",
531
+ "panel.staleHost": "Bagian host memakai build lama: nonaktifkan lalu aktifkan lagi Stay awake di Plugin, atau mulai ulang DSH",
532
+ "panel.advanced": "Debounce, batas tahan, dan opsi lain ada di cordis.patch.yml profil",
533
+ "panel.repo": "Buka repositori sumber",
534
+ "panel.npm": "Lihat versi ini di npm"
535
+ },
536
+ "it": {
537
+ "brand": "Resta sveglio",
538
+ "state.connecting": "Connessione",
539
+ "state.idle": "Non attivo",
540
+ "state.releasing": "Rilascio",
541
+ "state.holding": "Mantengo",
542
+ "state.failed": "Errore",
543
+ "state.disabled": "Spento",
544
+ "state.unknown": "Sconosciuto",
545
+ "detail.backend": "Backend",
546
+ "detail.scope": "Ambito",
547
+ "detail.sources": "Sorgenti attive",
548
+ "detail.since": "Attivo da",
549
+ "detail.error": "Motivo",
550
+ "sources.agents": "Sessioni",
551
+ "sources.maintenance": "Manutenzione",
552
+ "sources.jobs": "Attività in background",
553
+ "scope.system": "solo sistema",
554
+ "scope.display": "incl. schermo",
555
+ "unit.none": "nessuno",
556
+ "hint.unreachable": "Servizio di stato dell'host irraggiungibile; DSH potrebbe essere in riavvio",
557
+ "error.exited": "L'asserzione di alimentazione è terminata inaspettatamente; nuovo tentativo",
558
+ "error.backend": "Non è stato possibile avviare il backend dell'asserzione di alimentazione",
559
+ "error.unsupported": "Nessun backend di alimentazione disponibile su questa piattaforma",
560
+ "error.unknown": "L'asserzione di alimentazione ha segnalato un errore sconosciuto",
561
+ "backend.caffeinate": "Blocco di sospensione macOS (caffeinate)",
562
+ "backend.setthreadexecutionstate": "Blocco dello stato di esecuzione di Windows",
563
+ "panel.enabled": "Attivo",
564
+ "panel.allowDisplaySleep": "Consenti sospensione dello schermo",
565
+ "panel.allowDisplaySleepHint": "Viene bloccata solo la sospensione del sistema; lo schermo segue le impostazioni del sistema",
566
+ "panel.hold": "Mantieni per",
567
+ "panel.hold30": "30 min",
568
+ "panel.hold120": "2 h",
569
+ "panel.holdCancel": "Annulla",
570
+ "panel.sound": "Suoni",
571
+ "panel.testSound": "Prova",
572
+ "panel.testSuccess": "Fatto",
573
+ "panel.testError": "Errore",
574
+ "panel.testQuestion": "Avviso",
575
+ "panel.testPlayed": "Suono di prova riprodotto",
576
+ "panel.testUnavailable": "Prova non riuscita: nessun lettore trovato",
577
+ "panel.autoResume": "Riprova dopo la riconnessione",
578
+ "panel.autoResumeHint": "Riprova il turno fallito offline quando la rete torna",
579
+ "panel.resumeWaiting": "In attesa della rete…",
580
+ "panel.resumeRetrying": "Nuovo tentativo automatico…",
581
+ "panel.resumeFailed": "Il nuovo tentativo automatico non è riuscito",
582
+ "panel.resumeRetried": "Riprovato dopo il ritorno della rete",
583
+ "panel.holdDisabled": "Attiva prima il plugin per mantenere",
584
+ "panel.holdLeft": "rimanente",
585
+ "panel.saved": "Salvato",
586
+ "panel.saveFailed": "Salvataggio non riuscito, riprova",
587
+ "panel.staleHost": "La parte host usa una build più vecchia: disattiva e riattiva Stay awake nei Plugin, o riavvia DSH",
588
+ "panel.advanced": "Antirimbalzo, limite di mantenimento e altre opzioni in cordis.patch.yml del profilo",
589
+ "panel.repo": "Apri il repository sorgente",
590
+ "panel.npm": "Vedi questa versione su npm"
591
+ },
592
+ "ja": {
593
+ "brand": "スリープ防止",
594
+ "state.connecting": "接続中",
595
+ "state.idle": "未保持",
596
+ "state.releasing": "解放中",
597
+ "state.holding": "保持中",
598
+ "state.failed": "エラー",
599
+ "state.disabled": "オフ",
600
+ "state.unknown": "不明",
601
+ "detail.backend": "バックエンド",
602
+ "detail.scope": "範囲",
603
+ "detail.sources": "アクティブ源",
604
+ "detail.since": "継続時間",
605
+ "detail.error": "理由",
606
+ "sources.agents": "セッション",
607
+ "sources.maintenance": "メンテナンス",
608
+ "sources.jobs": "バックグラウンドジョブ",
609
+ "scope.system": "システムのみ",
610
+ "scope.display": "画面も含む",
611
+ "unit.none": "なし",
612
+ "hint.unreachable": "ホストの状態サービスに接続できません。DSH が再起動中の可能性があります",
613
+ "error.exited": "電源アサーションが予期せず終了しました。再試行中です",
614
+ "error.backend": "電源アサーションのバックエンドを起動できませんでした",
615
+ "error.unsupported": "このプラットフォームで利用できる電源バックエンドがありません",
616
+ "error.unknown": "電源アサーションで不明なエラーが発生しました",
617
+ "backend.caffeinate": "macOS スリープ防止(caffeinate)",
618
+ "backend.setthreadexecutionstate": "Windows 実行状態ロック",
619
+ "panel.enabled": "有効",
620
+ "panel.allowDisplaySleep": "画面スリープを許可",
621
+ "panel.allowDisplaySleepHint": "オンにするとシステムスリープのみ防止し、画面は OS 設定に従います",
622
+ "panel.hold": "一時保持",
623
+ "panel.hold30": "30 分",
624
+ "panel.hold120": "2 時間",
625
+ "panel.holdCancel": "キャンセル",
626
+ "panel.sound": "サウンド",
627
+ "panel.testSound": "試聴",
628
+ "panel.testSuccess": "完了",
629
+ "panel.testError": "失敗",
630
+ "panel.testQuestion": "通知",
631
+ "panel.testPlayed": "試聴音を再生しました",
632
+ "panel.testUnavailable": "試聴できません: プレイヤーが見つかりません",
633
+ "panel.autoResume": "再接続後に再試行",
634
+ "panel.autoResumeHint": "ネットワーク復帰後、オフラインで失敗したターンを再試行します",
635
+ "panel.resumeWaiting": "ネットワーク復帰を待っています…",
636
+ "panel.resumeRetrying": "自動再試行中…",
637
+ "panel.resumeFailed": "自動再試行できませんでした",
638
+ "panel.resumeRetried": "ネットワーク復帰後に再試行しました",
639
+ "panel.holdDisabled": "まずプラグインを有効にしてください",
640
+ "panel.holdLeft": "残り",
641
+ "panel.saved": "保存しました",
642
+ "panel.saveFailed": "保存できませんでした。再試行してください",
643
+ "panel.staleHost": "ホスト側が古いビルドです。プラグイン画面で Stay awake を無効→有効にするか、DSH を再起動してください",
644
+ "panel.advanced": "デバウンスや保持上限などの詳細設定は profile の cordis.patch.yml にあります",
645
+ "panel.repo": "ソースリポジトリを開く",
646
+ "panel.npm": "npm でこのバージョンを見る"
647
+ },
648
+ "ko": {
649
+ "brand": "절전 방지",
650
+ "state.connecting": "연결 중",
651
+ "state.idle": "유지 안 함",
652
+ "state.releasing": "해제 중",
653
+ "state.holding": "유지 중",
654
+ "state.failed": "오류",
655
+ "state.disabled": "꺼짐",
656
+ "state.unknown": "알 수 없음",
657
+ "detail.backend": "백엔드",
658
+ "detail.scope": "범위",
659
+ "detail.sources": "활성 소스",
660
+ "detail.since": "유지 시간",
661
+ "detail.error": "원인",
662
+ "sources.agents": "세션",
663
+ "sources.maintenance": "유지보수",
664
+ "sources.jobs": "백그라운드 작업",
665
+ "scope.system": "시스템만",
666
+ "scope.display": "화면 포함",
667
+ "unit.none": "없음",
668
+ "hint.unreachable": "호스트 상태 서비스에 연결할 수 없습니다. DSH가 재시작 중일 수 있습니다",
669
+ "error.exited": "전원 어서션이 예기치 않게 종료되어 재시도 중입니다",
670
+ "error.backend": "전원 어서션 백엔드를 시작할 수 없습니다",
671
+ "error.unsupported": "이 플랫폼에서 사용할 수 있는 전원 백엔드가 없습니다",
672
+ "error.unknown": "전원 어서션에서 알 수 없는 오류가 발생했습니다",
673
+ "backend.caffeinate": "macOS 절전 방지(caffeinate)",
674
+ "backend.setthreadexecutionstate": "Windows 실행 상태 잠금",
675
+ "panel.enabled": "활성화",
676
+ "panel.allowDisplaySleep": "화면 절전 허용",
677
+ "panel.allowDisplaySleepHint": "켜면 시스템 절전만 막고 화면은 OS 설정을 따릅니다",
678
+ "panel.hold": "임시 유지",
679
+ "panel.hold30": "30분",
680
+ "panel.hold120": "2시간",
681
+ "panel.holdCancel": "취소",
682
+ "panel.sound": "소리",
683
+ "panel.testSound": "미리 듣기",
684
+ "panel.testSuccess": "완료",
685
+ "panel.testError": "실패",
686
+ "panel.testQuestion": "알림",
687
+ "panel.testPlayed": "미리 듣기 재생됨",
688
+ "panel.testUnavailable": "재생 실패: 플레이어를 찾을 수 없습니다",
689
+ "panel.autoResume": "재연결 후 재시도",
690
+ "panel.autoResumeHint": "네트워크가 돌아오면 오프라인에서 실패한 턴을 자동 재시도합니다",
691
+ "panel.resumeWaiting": "네트워크 복구를 기다리는 중…",
692
+ "panel.resumeRetrying": "자동 재시도 중…",
693
+ "panel.resumeFailed": "자동 재시도에 실패했습니다",
694
+ "panel.resumeRetried": "네트워크 복구 후 재시도했습니다",
695
+ "panel.holdDisabled": "먼저 플러그인을 활성화하세요",
696
+ "panel.holdLeft": "남음",
697
+ "panel.saved": "저장됨",
698
+ "panel.saveFailed": "저장하지 못했습니다. 다시 시도해 주세요",
699
+ "panel.staleHost": "호스트 측이 이전 빌드입니다. 플러그인 화면에서 Stay awake를 끈 뒤 다시 켜거나 DSH를 재시작하세요",
700
+ "panel.advanced": "디바운스, 유지 상한 등 고급 설정은 profile의 cordis.patch.yml에 있습니다",
701
+ "panel.repo": "소스 저장소 열기",
702
+ "panel.npm": "npm에서 이 버전 보기"
703
+ },
704
+ "nl": {
705
+ "brand": "Wakker blijven",
706
+ "state.connecting": "Verbinden",
707
+ "state.idle": "Houdt niet vast",
708
+ "state.releasing": "Vrijgeven",
709
+ "state.holding": "Vasthouden",
710
+ "state.failed": "Fout",
711
+ "state.disabled": "Uit",
712
+ "state.unknown": "Onbekend",
713
+ "detail.backend": "Backend",
714
+ "detail.scope": "Bereik",
715
+ "detail.sources": "Actieve bronnen",
716
+ "detail.since": "Vastgehouden",
717
+ "detail.error": "Reden",
718
+ "sources.agents": "Sessies",
719
+ "sources.maintenance": "Onderhoud",
720
+ "sources.jobs": "Achtergrondtaken",
721
+ "scope.system": "alleen systeem",
722
+ "scope.display": "incl. scherm",
723
+ "unit.none": "geen",
724
+ "hint.unreachable": "Hoststatusservice niet bereikbaar; DSH start mogelijk opnieuw",
725
+ "error.exited": "De energieclaim is onverwacht gestopt; opnieuw proberen",
726
+ "error.backend": "De energieclaim-backend kon niet worden gestart",
727
+ "error.unsupported": "Geen energieclaim-backend beschikbaar op dit platform",
728
+ "error.unknown": "De energieclaim meldde een onbekende fout",
729
+ "backend.caffeinate": "macOS-waakslot (caffeinate)",
730
+ "backend.setthreadexecutionstate": "Windows-uitvoeringsstatusvergrendeling",
731
+ "panel.enabled": "Ingeschakeld",
732
+ "panel.allowDisplaySleep": "Schermslaap toestaan",
733
+ "panel.allowDisplaySleepHint": "Alleen systeemslaap wordt geblokkeerd; het scherm volgt de OS-instelling",
734
+ "panel.hold": "Vasthouden",
735
+ "panel.hold30": "30 min",
736
+ "panel.hold120": "2 uur",
737
+ "panel.holdCancel": "Annuleren",
738
+ "panel.sound": "Geluiden",
739
+ "panel.testSound": "Testen",
740
+ "panel.testSuccess": "Klaar",
741
+ "panel.testError": "Fout",
742
+ "panel.testQuestion": "Melding",
743
+ "panel.testPlayed": "Testgeluid afgespeeld",
744
+ "panel.testUnavailable": "Test mislukt: geen speler gevonden",
745
+ "panel.autoResume": "Opnieuw proberen na herverbinden",
746
+ "panel.autoResumeHint": "Probeert de offline mislukte beurt opnieuw zodra het netwerk terug is",
747
+ "panel.resumeWaiting": "Wachten op netwerk…",
748
+ "panel.resumeRetrying": "Automatisch opnieuw proberen…",
749
+ "panel.resumeFailed": "Automatisch opnieuw proberen is mislukt",
750
+ "panel.resumeRetried": "Opnieuw geprobeerd na terugkeer van het netwerk",
751
+ "panel.holdDisabled": "Schakel eerst de plug-in in",
752
+ "panel.holdLeft": "resterend",
753
+ "panel.saved": "Opgeslagen",
754
+ "panel.saveFailed": "Opslaan mislukt, probeer het opnieuw",
755
+ "panel.staleHost": "De hosthelft draait een oudere build: schakel Stay awake uit en weer in bij Plug-ins, of herstart DSH",
756
+ "panel.advanced": "Debounce, vasthoudlimiet en andere opties staan in cordis.patch.yml van het profiel",
757
+ "panel.repo": "Open de bronrepository",
758
+ "panel.npm": "Bekijk deze versie op npm"
759
+ },
760
+ "pl": {
761
+ "brand": "Nie usypiaj",
762
+ "state.connecting": "Łączenie",
763
+ "state.idle": "Nie utrzymuje",
764
+ "state.releasing": "Zwalnianie",
765
+ "state.holding": "Utrzymuje",
766
+ "state.failed": "Błąd",
767
+ "state.disabled": "Wyłączone",
768
+ "state.unknown": "Nieznane",
769
+ "detail.backend": "Silnik",
770
+ "detail.scope": "Zakres",
771
+ "detail.sources": "Aktywne źródła",
772
+ "detail.since": "Utrzymywane",
773
+ "detail.error": "Powód",
774
+ "sources.agents": "Sesje",
775
+ "sources.maintenance": "Konserwacja",
776
+ "sources.jobs": "Zadania w tle",
777
+ "scope.system": "tylko system",
778
+ "scope.display": "z ekranem",
779
+ "unit.none": "brak",
780
+ "hint.unreachable": "Usługa stanu hosta niedostępna; DSH może się restartować",
781
+ "error.exited": "Asercja zasilania zakończyła się nieoczekiwanie; ponawianie",
782
+ "error.backend": "Nie udało się uruchomić silnika asercji zasilania",
783
+ "error.unsupported": "Na tej platformie nie ma dostępnego silnika zasilania",
784
+ "error.unknown": "Asercja zasilania zgłosiła nieznany błąd",
785
+ "backend.caffeinate": "Blokada uśpienia macOS (caffeinate)",
786
+ "backend.setthreadexecutionstate": "Blokada stanu wykonania Windows",
787
+ "panel.enabled": "Włączone",
788
+ "panel.allowDisplaySleep": "Zezwól na uśpienie ekranu",
789
+ "panel.allowDisplaySleepHint": "Blokowane jest tylko uśpienie systemu; ekran działa zgodnie z ustawieniami OS",
790
+ "panel.hold": "Utrzymaj",
791
+ "panel.hold30": "30 min",
792
+ "panel.hold120": "2 godz.",
793
+ "panel.holdCancel": "Anuluj",
794
+ "panel.sound": "Dźwięki",
795
+ "panel.testSound": "Test",
796
+ "panel.testSuccess": "Gotowe",
797
+ "panel.testError": "Błąd",
798
+ "panel.testQuestion": "Alert",
799
+ "panel.testPlayed": "Odtworzono dźwięk testowy",
800
+ "panel.testUnavailable": "Test nie powiódł się: nie znaleziono odtwarzacza",
801
+ "panel.autoResume": "Ponów po ponownym połączeniu",
802
+ "panel.autoResumeHint": "Ponawia nieudaną offline turę, gdy sieć wróci",
803
+ "panel.resumeWaiting": "Oczekiwanie na sieć…",
804
+ "panel.resumeRetrying": "Automatyczne ponawianie…",
805
+ "panel.resumeFailed": "Automatyczne ponowienie nie powiodło się",
806
+ "panel.resumeRetried": "Ponowiono po powrocie sieci",
807
+ "panel.holdDisabled": "Najpierw włącz wtyczkę",
808
+ "panel.holdLeft": "pozostało",
809
+ "panel.saved": "Zapisano",
810
+ "panel.saveFailed": "Nie udało się zapisać, spróbuj ponownie",
811
+ "panel.staleHost": "Strona hosta ma starszą kompilację: wyłącz i włącz Stay awake w Wtyczkach albo uruchom DSH ponownie",
812
+ "panel.advanced": "Debounce, limit utrzymania i inne opcje w cordis.patch.yml profilu",
813
+ "panel.repo": "Otwórz repozytorium źródłowe",
814
+ "panel.npm": "Zobacz tę wersję na npm"
815
+ },
816
+ "pt": {
817
+ "brand": "Manter acordado",
818
+ "state.connecting": "Conectando",
819
+ "state.idle": "Sem manter",
820
+ "state.releasing": "Liberando",
821
+ "state.holding": "Mantendo",
822
+ "state.failed": "Erro",
823
+ "state.disabled": "Desligado",
824
+ "state.unknown": "Desconhecido",
825
+ "detail.backend": "Mecanismo",
826
+ "detail.scope": "Escopo",
827
+ "detail.sources": "Fontes ativas",
828
+ "detail.since": "Mantido há",
829
+ "detail.error": "Motivo",
830
+ "sources.agents": "Sessões",
831
+ "sources.maintenance": "Manutenção",
832
+ "sources.jobs": "Tarefas em segundo plano",
833
+ "scope.system": "só sistema",
834
+ "scope.display": "incl. tela",
835
+ "unit.none": "nenhum",
836
+ "hint.unreachable": "Serviço de estado do host inacessível; o DSH pode estar reiniciando",
837
+ "error.exited": "A asserção de energia terminou inesperadamente; tentando novamente",
838
+ "error.backend": "Não foi possível iniciar o mecanismo de asserção de energia",
839
+ "error.unsupported": "Nenhum mecanismo de energia disponível nesta plataforma",
840
+ "error.unknown": "A asserção de energia relatou um erro desconhecido",
841
+ "backend.caffeinate": "Bloqueio de repouso do macOS (caffeinate)",
842
+ "backend.setthreadexecutionstate": "Bloqueio de estado de execução do Windows",
843
+ "panel.enabled": "Ativado",
844
+ "panel.allowDisplaySleep": "Permitir repouso da tela",
845
+ "panel.allowDisplaySleepHint": "Somente o repouso do sistema é bloqueado; a tela segue a configuração do sistema",
846
+ "panel.hold": "Manter por",
847
+ "panel.hold30": "30 min",
848
+ "panel.hold120": "2 h",
849
+ "panel.holdCancel": "Cancelar",
850
+ "panel.sound": "Sons",
851
+ "panel.testSound": "Testar",
852
+ "panel.testSuccess": "Concluído",
853
+ "panel.testError": "Erro",
854
+ "panel.testQuestion": "Aviso",
855
+ "panel.testPlayed": "Som de teste reproduzido",
856
+ "panel.testUnavailable": "Teste falhou: nenhum reprodutor encontrado",
857
+ "panel.autoResume": "Repetir após reconectar",
858
+ "panel.autoResumeHint": "Repete o turno que falhou offline quando a rede voltar",
859
+ "panel.resumeWaiting": "Aguardando a rede…",
860
+ "panel.resumeRetrying": "Repetindo automaticamente…",
861
+ "panel.resumeFailed": "A repetição automática não funcionou",
862
+ "panel.resumeRetried": "Repetido após a volta da rede",
863
+ "panel.holdDisabled": "Ative o plugin primeiro para manter",
864
+ "panel.holdLeft": "restante",
865
+ "panel.saved": "Salvo",
866
+ "panel.saveFailed": "Não foi possível salvar, tente novamente",
867
+ "panel.staleHost": "A parte host está numa versão mais antiga: desative e reative Stay awake em Plugins, ou reinicie o DSH",
868
+ "panel.advanced": "Debounce, limite de manutenção e outras opções ficam no cordis.patch.yml do perfil",
869
+ "panel.repo": "Abrir o repositório do código",
870
+ "panel.npm": "Ver esta versão no npm"
871
+ },
872
+ "ru": {
873
+ "brand": "Не спать",
874
+ "state.connecting": "Подключение",
875
+ "state.idle": "Не удерживается",
876
+ "state.releasing": "Освобождение",
877
+ "state.holding": "Удерживается",
878
+ "state.failed": "Ошибка",
879
+ "state.disabled": "Выключено",
880
+ "state.unknown": "Неизвестно",
881
+ "detail.backend": "Бэкенд",
882
+ "detail.scope": "Область",
883
+ "detail.sources": "Активные источники",
884
+ "detail.since": "Удерживается",
885
+ "detail.error": "Причина",
886
+ "sources.agents": "Сессии",
887
+ "sources.maintenance": "Обслуживание",
888
+ "sources.jobs": "Фоновые задачи",
889
+ "scope.system": "только система",
890
+ "scope.display": "включая экран",
891
+ "unit.none": "нет",
892
+ "hint.unreachable": "Служба состояния хоста недоступна; возможно, DSH перезапускается",
893
+ "error.exited": "Утверждение питания завершилось неожиданно; повторная попытка",
894
+ "error.backend": "Не удалось запустить бэкенд утверждения питания",
895
+ "error.unsupported": "На этой платформе нет доступного бэкенда питания",
896
+ "error.unknown": "Утверждение питания сообщило о неизвестной ошибке",
897
+ "backend.caffeinate": "Блокировка сна macOS (caffeinate)",
898
+ "backend.setthreadexecutionstate": "Блокировка состояния выполнения Windows",
899
+ "panel.enabled": "Включено",
900
+ "panel.allowDisplaySleep": "Разрешить сон экрана",
901
+ "panel.allowDisplaySleepHint": "Блокируется только сон системы; экран следует настройкам ОС",
902
+ "panel.hold": "Удерживать",
903
+ "panel.hold30": "30 мин",
904
+ "panel.hold120": "2 ч",
905
+ "panel.holdCancel": "Отмена",
906
+ "panel.sound": "Звуки",
907
+ "panel.testSound": "Проверить",
908
+ "panel.testSuccess": "Готово",
909
+ "panel.testError": "Ошибка",
910
+ "panel.testQuestion": "Внимание",
911
+ "panel.testPlayed": "Тестовый звук воспроизведён",
912
+ "panel.testUnavailable": "Проверка не удалась: плеер не найден",
913
+ "panel.autoResume": "Повторить после переподключения",
914
+ "panel.autoResumeHint": "Повторяет неудачный офлайн-ход, когда сеть вернётся",
915
+ "panel.resumeWaiting": "Ожидание сети…",
916
+ "panel.resumeRetrying": "Автоматическая повторная попытка…",
917
+ "panel.resumeFailed": "Автоматическая повторная попытка не удалась",
918
+ "panel.resumeRetried": "Повторено после возврата сети",
919
+ "panel.holdDisabled": "Сначала включите плагин",
920
+ "panel.holdLeft": "осталось",
921
+ "panel.saved": "Сохранено",
922
+ "panel.saveFailed": "Не удалось сохранить, попробуйте ещё раз",
923
+ "panel.staleHost": "На хосте старая сборка: отключите и снова включите Stay awake в «Плагинах» или перезапустите DSH",
924
+ "panel.advanced": "Задержка, предел удержания и другие параметры — в cordis.patch.yml профиля",
925
+ "panel.repo": "Открыть репозиторий",
926
+ "panel.npm": "Посмотреть эту версию на npm"
927
+ },
928
+ "tr": {
929
+ "brand": "Uyanık kal",
930
+ "state.connecting": "Bağlanıyor",
931
+ "state.idle": "Tutmuyor",
932
+ "state.releasing": "Bırakılıyor",
933
+ "state.holding": "Tutuyor",
934
+ "state.failed": "Hata",
935
+ "state.disabled": "Kapalı",
936
+ "state.unknown": "Bilinmiyor",
937
+ "detail.backend": "Arka uç",
938
+ "detail.scope": "Kapsam",
939
+ "detail.sources": "Etkin kaynaklar",
940
+ "detail.since": "Tutulma süresi",
941
+ "detail.error": "Neden",
942
+ "sources.agents": "Oturumlar",
943
+ "sources.maintenance": "Bakım",
944
+ "sources.jobs": "Arka plan işleri",
945
+ "scope.system": "yalnızca sistem",
946
+ "scope.display": "ekran dahil",
947
+ "unit.none": "yok",
948
+ "hint.unreachable": "Ana makine durum servisine ulaşılamıyor; DSH yeniden başlatılıyor olabilir",
949
+ "error.exited": "Güç kilidi beklenmedik şekilde sona erdi; yeniden deneniyor",
950
+ "error.backend": "Güç kilidi arka ucu başlatılamadı",
951
+ "error.unsupported": "Bu platformda kullanılabilir güç arka ucu yok",
952
+ "error.unknown": "Güç kilidi bilinmeyen bir hata bildirdi",
953
+ "backend.caffeinate": "macOS uyku kilidi (caffeinate)",
954
+ "backend.setthreadexecutionstate": "Windows yürütme durumu kilidi",
955
+ "panel.enabled": "Etkin",
956
+ "panel.allowDisplaySleep": "Ekran uykusuna izin ver",
957
+ "panel.allowDisplaySleepHint": "Yalnızca sistem uykusu engellenir; ekran işletim sistemi ayarına uyar",
958
+ "panel.hold": "Süre tut",
959
+ "panel.hold30": "30 dk",
960
+ "panel.hold120": "2 sa",
961
+ "panel.holdCancel": "İptal",
962
+ "panel.sound": "Sesler",
963
+ "panel.testSound": "Dene",
964
+ "panel.testSuccess": "Tamam",
965
+ "panel.testError": "Hata",
966
+ "panel.testQuestion": "Uyarı",
967
+ "panel.testPlayed": "Test sesi çalındı",
968
+ "panel.testUnavailable": "Test başarısız: oynatıcı bulunamadı",
969
+ "panel.autoResume": "Yeniden bağlanınca dene",
970
+ "panel.autoResumeHint": "Ağ dönünce çevrimdışı başarısız olan turu yeniden dener",
971
+ "panel.resumeWaiting": "Ağ bekleniyor…",
972
+ "panel.resumeRetrying": "Otomatik yeniden deneniyor…",
973
+ "panel.resumeFailed": "Otomatik yeniden deneme başarısız",
974
+ "panel.resumeRetried": "Ağ döndükten sonra yeniden denendi",
975
+ "panel.holdDisabled": "Önce eklentiyi etkinleştir",
976
+ "panel.holdLeft": "kaldı",
977
+ "panel.saved": "Kaydedildi",
978
+ "panel.saveFailed": "Kaydedilemedi, lütfen yeniden deneyin",
979
+ "panel.staleHost": "Ana makine tarafı eski bir sürümde: Eklentiler'de Stay awake'i kapatıp açın veya DSH'yi yeniden başlatın",
980
+ "panel.advanced": "Titreşim önleme, tutma sınırı ve diğer seçenekler profil cordis.patch.yml dosyasında",
981
+ "panel.repo": "Kaynak deposunu aç",
982
+ "panel.npm": "Bu sürümü npm'de görüntüle"
983
+ },
984
+ "vi": {
985
+ "brand": "Giữ thức",
986
+ "state.connecting": "Đang kết nối",
987
+ "state.idle": "Không giữ",
988
+ "state.releasing": "Đang nhả",
989
+ "state.holding": "Đang giữ",
990
+ "state.failed": "Lỗi",
991
+ "state.disabled": "Tắt",
992
+ "state.unknown": "Không rõ",
993
+ "detail.backend": "Backend",
994
+ "detail.scope": "Phạm vi",
995
+ "detail.sources": "Nguồn hoạt động",
996
+ "detail.since": "Giữ được",
997
+ "detail.error": "Lý do",
998
+ "sources.agents": "Phiên",
999
+ "sources.maintenance": "Bảo trì",
1000
+ "sources.jobs": "Tác vụ nền",
1001
+ "scope.system": "chỉ hệ thống",
1002
+ "scope.display": "gồm màn hình",
1003
+ "unit.none": "không có",
1004
+ "hint.unreachable": "Không kết nối được dịch vụ trạng thái máy chủ; DSH có thể đang khởi động lại",
1005
+ "error.exited": "Cam kết nguồn đã thoát bất ngờ; đang thử lại",
1006
+ "error.backend": "Không khởi động được backend cam kết nguồn",
1007
+ "error.unsupported": "Không có backend nguồn khả dụng trên nền tảng này",
1008
+ "error.unknown": "Cam kết nguồn báo lỗi không rõ",
1009
+ "backend.caffeinate": "Khóa ngủ macOS (caffeinate)",
1010
+ "backend.setthreadexecutionstate": "Khóa trạng thái thực thi Windows",
1011
+ "panel.enabled": "Bật",
1012
+ "panel.allowDisplaySleep": "Cho phép màn hình ngủ",
1013
+ "panel.allowDisplaySleepHint": "Chỉ chặn ngủ hệ thống; màn hình theo cài đặt OS",
1014
+ "panel.hold": "Giữ trong",
1015
+ "panel.hold30": "30 phút",
1016
+ "panel.hold120": "2 giờ",
1017
+ "panel.holdCancel": "Hủy",
1018
+ "panel.sound": "Âm thanh",
1019
+ "panel.testSound": "Nghe thử",
1020
+ "panel.testSuccess": "Xong",
1021
+ "panel.testError": "Lỗi",
1022
+ "panel.testQuestion": "Nhắc nhở",
1023
+ "panel.testPlayed": "Đã phát âm thanh thử",
1024
+ "panel.testUnavailable": "Thử thất bại: không tìm thấy trình phát",
1025
+ "panel.autoResume": "Thử lại sau khi kết nối lại",
1026
+ "panel.autoResumeHint": "Thử lại lượt đã lỗi khi mất mạng khi có mạng trở lại",
1027
+ "panel.resumeWaiting": "Đang chờ mạng…",
1028
+ "panel.resumeRetrying": "Đang tự động thử lại…",
1029
+ "panel.resumeFailed": "Tự động thử lại không thành công",
1030
+ "panel.resumeRetried": "Đã thử lại sau khi mạng trở lại",
1031
+ "panel.holdDisabled": "Bật plugin trước để giữ",
1032
+ "panel.holdLeft": "còn lại",
1033
+ "panel.saved": "Đã lưu",
1034
+ "panel.saveFailed": "Không lưu được, vui lòng thử lại",
1035
+ "panel.staleHost": "Phần máy chủ dùng bản dựng cũ: tắt rồi bật lại Stay awake trong Plugin, hoặc khởi động lại DSH",
1036
+ "panel.advanced": "Độ trễ, giới hạn giữ và các tùy chọn khác nằm trong cordis.patch.yml của profile",
1037
+ "panel.repo": "Mở kho mã nguồn",
1038
+ "panel.npm": "Xem phiên bản này trên npm"
1039
+ }
202
1040
  }
1041
+ const EXTRA_LANGUAGES = [
1042
+ {
1043
+ "id": "zh-Hant",
1044
+ "label": "繁體中文",
1045
+ "fallback": "zh"
1046
+ },
1047
+ {
1048
+ "id": "ar",
1049
+ "label": "العربية",
1050
+ "fallback": "en"
1051
+ },
1052
+ {
1053
+ "id": "hi",
1054
+ "label": "हिन्दी",
1055
+ "fallback": "en"
1056
+ },
1057
+ {
1058
+ "id": "id",
1059
+ "label": "Bahasa Indonesia",
1060
+ "fallback": "en"
1061
+ },
1062
+ {
1063
+ "id": "it",
1064
+ "label": "Italiano",
1065
+ "fallback": "en"
1066
+ },
1067
+ {
1068
+ "id": "ko",
1069
+ "label": "한국어",
1070
+ "fallback": "en"
1071
+ },
1072
+ {
1073
+ "id": "nl",
1074
+ "label": "Nederlands",
1075
+ "fallback": "en"
1076
+ },
1077
+ {
1078
+ "id": "pl",
1079
+ "label": "Polski",
1080
+ "fallback": "en"
1081
+ },
1082
+ {
1083
+ "id": "tr",
1084
+ "label": "Türkçe",
1085
+ "fallback": "en"
1086
+ },
1087
+ {
1088
+ "id": "vi",
1089
+ "label": "Tiếng Việt",
1090
+ "fallback": "en"
1091
+ }
1092
+ ]
1093
+ // i18n:end
203
1094
 
204
1095
  const CSS = `
205
1096
  .dsa-pill{box-sizing:border-box;border-radius:var(--dsw-radius-sm);max-width:100%;color:var(--dsw-alias-label-tertiary);font:inherit;font-size:calc(var(--dsh-content-font-size-secondary,13px) - 1px);line-height:calc(20px + var(--dsh-content-font-delta-secondary,0px));font-variant-numeric:tabular-nums;white-space:nowrap;background:0 0;border:none;align-items:center;gap:6px;padding:1px 8px;display:inline-flex;cursor:pointer}
@@ -784,25 +1675,24 @@ window.__ModuleLoader__.load({
784
1675
  apply(ctx) {
785
1676
  const t = ctx.locale.bind(NS)
786
1677
 
787
- // DSH ships Simplified Chinese but not Traditional; a language pack may
788
- // extend the catalog. Falling back to `zh` means the rest of the GUI
789
- // stays readable, and only this plugin's copy switches to 繁體中文.
790
- ctx.effect(() => {
791
- try {
792
- return ctx.locale.addLanguage({ id: 'zh-Hant', label: '繁體中文', fallback: 'zh' })
793
- } catch {
794
- // Already contributed (another language pack, or a reload): the
795
- // dictionary registration below is what actually matters.
796
- return () => {}
797
- }
798
- }, 'stay-awake: zh-Hant language')
799
-
1678
+ // Every shipped dictionary is registered in one call; languages DSH does
1679
+ // not ship (zh-Hant, ko, it, nl, pl, tr, hi, id, vi, ar) are contributed
1680
+ // to the language catalog first, each falling back to a registered one
1681
+ // (繁中 → zh, the rest → en). A language pack may already have added one;
1682
+ // the dictionary registration is what actually matters.
800
1683
  ctx.effect(() => {
801
1684
  const disposers = []
1685
+ for (const language of EXTRA_LANGUAGES) {
1686
+ try {
1687
+ disposers.push(ctx.locale.addLanguage(language))
1688
+ } catch {
1689
+ // Already contributed by another pack or a reload.
1690
+ }
1691
+ }
802
1692
  try {
803
- disposers.push(ctx.locale.register(NS, { zh: ZH, en: EN, 'zh-Hant': ZHT }))
1693
+ disposers.push(ctx.locale.register(NS, DICTS))
804
1694
  } catch {
805
- for (const [locale, dict] of [['zh', ZH], ['en', EN], ['zh-Hant', ZHT]]) {
1695
+ for (const [locale, dict] of Object.entries(DICTS)) {
806
1696
  try {
807
1697
  disposers.push(ctx.locale.register(NS, locale, dict))
808
1698
  } catch {