@laraveladmin/dsh-stay-awake 0.3.5 → 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.
@@ -260,6 +260,18 @@ wanted = config.enabled && hasWork
260
260
  | FR-11.5 | 插件**不联网检查更新**,更新检测完全交给 DSH;唯一的网络动作是 FR-12 的 TCP 可达性探测,与更新检查无关 |
261
261
  | FR-11.6 | 发布流程固定为:改版本 → 重建索引 → 全量测试 → 提交 → 双远端推送 → `npm publish` → purge CDN → 校验(见 `docs/RELEASING.md`) |
262
262
 
263
+ ### FR-13 多语言
264
+
265
+ 目标:界面文案覆盖世界主流语言,语言选择跟随 DSH。
266
+
267
+ | 序号 | 规则 |
268
+ |---|---|
269
+ | FR-13.1 | 内置 18 种语言:zh、zh-Hant、en、ja、ko、de、es、fr、it、nl、pl、pt、ru、tr、hi、id、vi、ar;每种语言 54 条界面文案 + 1 条插件管理器标题与描述 |
270
+ | FR-13.2 | `zh/en/ja/es/fr/de/ru/pt` 为 DSH 自带语言,直接注册字典生效;其余通过 `ctx.locale.addLanguage` 贡献语言项,回退链:`zh-Hant → zh`,其余 `→ en` |
271
+ | FR-13.3 | 翻译源为 `i18n/<locale>.json`(一语言一文件,含 label/fallback/meta/strings),`npm run i18n` 生成 client.js 内嵌字典与 `locale/<locale>.json`;生成结果与源不一致时 `npm test` 失败 |
272
+ | FR-13.4 | 词典校验:所有语言键集合与 zh 完全一致、无空值、标签唯一、回退目标必须已注册、拉丁语系文案不得残留中日韩字符 |
273
+ | FR-13.5 | 翻译为 AI 初译并在文档中如实标注,不宣称母语者审校;修正只需改对应 JSON 并重跑生成脚本 |
274
+
263
275
  ### FR-12 断网自动重试
264
276
 
265
277
  目标:合盖休眠导致的那一轮断网失败,在用户回到电脑、网络恢复后自动续跑,不需要用户手动点「重试」。
@@ -557,6 +569,7 @@ pgrep -fl "caffeinate -i -w"
557
569
  | FR-1.3 后台任务 | ✅ 实现,逻辑测试覆盖 | `ctx.jobs` 事件 + `jobs.list(sessionId)` 对账;真机需用户在 agent idle 时跑后台任务观察 |
558
570
  | FR-1.4 计划任务 | ❌ 未实现 | 仍为 P2 |
559
571
  | FR-11 更新与发布运维 | ✅ 流程落地 | 更新由 DSH 插件管理器负责(registry 安装可一键更新、失败回滚);索引首选 GitHub raw,jsDelivr 发布后 purge;发布清单见 docs/RELEASING.md |
572
+ | FR-13 多语言 | ✅ 实现 | 18 种语言(DSH 自带 8 种 + 插件贡献 10 种语言项),i18n JSON 为源、构建脚本生成、5 项测试校验 |
560
573
  | FR-12 断网自动重试 | ✅ 实现 | TCP 探测后调用宿主 `sessionController.prompt` 空内容 retry;失败码集合、探测目标、预算均可配置;真实合盖断网场景需用户在真机验收(见 VERIFICATION) |
561
574
  | FR-10 提示音 | ✅ 实现 | 工作段结束(完成/失败)+ 需要你回答(提问/审批)三类音效、最短时长、仅用户任务、宿主端播放、弹层总开关 + 三种试听、提醒音配置;开关持久化 |
562
575
  | FR-2 释放判定 | ✅ 实现并真机验证 | 防抖释放、竞争重算、禁用立即释放 |
@@ -282,6 +282,22 @@
282
282
  - 自动化:120 项保持全绿。
283
283
  - 未验证:真实提问时是否听到 Ping,需再次重启宿主后实测。
284
284
 
285
+ ## 0.4.0 18 种语言(2026-12-03)
286
+
287
+ - **范围**:新增 ja、ko、de、es、fr、it、pt、ru、nl、pl、tr、hi、id、vi、ar,共 18 种(含原有 zh/zh-Hant/en),
288
+ 每种 54 条界面文案 + 插件管理器标题/描述。
289
+ - **机制**:DSH 自带 `zh/en/ja/es/fr/de/ru/pt` 直接注册;`zh-Hant/ko/it/nl/pl/tr/hi/id/vi/ar` 通过
290
+ `ctx.locale.addLanguage` 贡献语言项(繁中回退简中、其余回退英文),因此这些语言下插件文案完整、
291
+ DSH 其余界面按回退链显示。
292
+ - **工程化**:翻译源 `i18n/<locale>.json`;`scripts/build-i18n.mjs` 生成 client.js 内嵌 `DICTS` /
293
+ `EXTRA_LANGUAGES` 与 `locale/<locale>.json`;`npm run i18n` 生成、`--check` 供 CI/测试使用。
294
+ - **自动化**:新增 5 项测试(键集合一致、标签唯一与回退可解析、拉丁语系无 CJK/Hangul 残留、
295
+ 生成结果与源同步、内嵌字典与贡献列表齐全),单测 120 → **125 全绿**。
296
+ - **诚实标注**:全部译文为 AI 初译,未经母语者审校;README 与 CHANGELOG 已写明,欢迎 PR 修正
297
+ `i18n/<locale>.json`。
298
+ - 未验证:非 DSH 自带语言在「设置 → 语言」中的实际显示效果、阿拉伯语 RTL 在 LTR 界面中的观感,
299
+ 需刷新页面后目视确认(本会话无浏览器控制权)。
300
+
285
301
  ## 未验证(明确记录,不代替验证)
286
302
 
287
303
  | ID / 项 | 原因 | 何时可验 |
package/i18n/ar.json ADDED
@@ -0,0 +1,65 @@
1
+ {
2
+ "locale": "ar",
3
+ "label": "العربية",
4
+ "fallback": "en",
5
+ "meta": {
6
+ "title": "ابقَ مستيقظًا",
7
+ "description": "يبقي الجهاز مستيقظًا فقط أثناء وجود عمل بلا مراقبة — أدوار الوكيل والمهام الخلفية والضغط اليدوي — ثم يحرره تلقائيًا. عند انقطاع الشبكة يعيد المحاولة للدور الفاشل، ويُصدر صوتًا مميزًا عندما يحتاج إلى إجابتك أو موافقتك."
8
+ },
9
+ "strings": {
10
+ "brand": "ابقَ مستيقظًا",
11
+ "state.connecting": "جارٍ الاتصال",
12
+ "state.idle": "لا يمنع النوم",
13
+ "state.releasing": "جارٍ التحرير",
14
+ "state.holding": "قيد التثبيت",
15
+ "state.failed": "خطأ",
16
+ "state.disabled": "مغلق",
17
+ "state.unknown": "غير معروف",
18
+ "detail.backend": "الخلفية",
19
+ "detail.scope": "النطاق",
20
+ "detail.sources": "المصادر النشطة",
21
+ "detail.since": "مثبّت منذ",
22
+ "detail.error": "السبب",
23
+ "sources.agents": "الجلسات",
24
+ "sources.maintenance": "الصيانة",
25
+ "sources.jobs": "المهام الخلفية",
26
+ "scope.system": "النظام فقط",
27
+ "scope.display": "بما في ذلك الشاشة",
28
+ "unit.none": "لا شيء",
29
+ "hint.unreachable": "تعذّر الوصول إلى خدمة حالة المضيف؛ قد يكون DSH قيد إعادة التشغيل",
30
+ "error.exited": "توقف تثبيت الطاقة بشكل غير متوقع؛ جارٍ إعادة المحاولة",
31
+ "error.backend": "تعذّر بدء خلفية تثبيت الطاقة",
32
+ "error.unsupported": "لا تتوفر خلفية طاقة على هذه المنصة",
33
+ "error.unknown": "أفاد تثبيت الطاقة بخطأ غير معروف",
34
+ "backend.caffeinate": "قفل السكون في macOS (caffeinate)",
35
+ "backend.setthreadexecutionstate": "قفل حالة التنفيذ في Windows",
36
+ "panel.enabled": "مفعّل",
37
+ "panel.allowDisplaySleep": "السماح بسكون الشاشة",
38
+ "panel.allowDisplaySleepHint": "يُمنع سكون النظام فقط؛ تتبع الشاشة إعدادات النظام",
39
+ "panel.hold": "ثبّت لمدة",
40
+ "panel.hold30": "30 دقيقة",
41
+ "panel.hold120": "ساعتان",
42
+ "panel.holdCancel": "إلغاء",
43
+ "panel.sound": "الأصوات",
44
+ "panel.testSound": "تجربة",
45
+ "panel.testSuccess": "تم",
46
+ "panel.testError": "خطأ",
47
+ "panel.testQuestion": "تنبيه",
48
+ "panel.testPlayed": "تم تشغيل صوت التجربة",
49
+ "panel.testUnavailable": "فشلت التجربة: لا يوجد مشغّل",
50
+ "panel.autoResume": "أعد المحاولة بعد إعادة الاتصال",
51
+ "panel.autoResumeHint": "يعيد تشغيل الدور الذي فشل دون اتصال عند عودة الشبكة",
52
+ "panel.resumeWaiting": "بانتظار الشبكة…",
53
+ "panel.resumeRetrying": "جارٍ إعادة المحاولة تلقائيًا…",
54
+ "panel.resumeFailed": "لم تنجح إعادة المحاولة التلقائية",
55
+ "panel.resumeRetried": "أُعيدت المحاولة بعد عودة الشبكة",
56
+ "panel.holdDisabled": "فعّل الإضافة أولًا للتثبيت",
57
+ "panel.holdLeft": "متبقٍ",
58
+ "panel.saved": "تم الحفظ",
59
+ "panel.saveFailed": "تعذّر الحفظ، يرجى إعادة المحاولة",
60
+ "panel.staleHost": "جانب المضيف يعمل بإصدار أقدم: عطّل Stay awake في الإضافات ثم أعد تفعيله، أو أعد تشغيل DSH",
61
+ "panel.advanced": "خفض الاهتزاز وحد التثبيت وخيارات أخرى في cordis.patch.yml للملف الشخصي",
62
+ "panel.repo": "فتح مستودع المصدر",
63
+ "panel.npm": "اعرض هذا الإصدار على npm"
64
+ }
65
+ }
package/i18n/de.json ADDED
@@ -0,0 +1,65 @@
1
+ {
2
+ "locale": "de",
3
+ "label": "Deutsch",
4
+ "fallback": null,
5
+ "meta": {
6
+ "title": "Wach bleiben",
7
+ "description": "Hält den Rechner nur wach, solange unbeaufsichtigte Arbeit läuft — Agent-Turns, Hintergrundjobs und manuelle Kompaktierung — und gibt danach automatisch frei. Nach einem Netzausfall wird der fehlgeschlagene Durchlauf wiederholt, und ein eigener Ton meldet, wenn eine Antwort oder Freigabe nötig ist."
8
+ },
9
+ "strings": {
10
+ "brand": "Wach bleiben",
11
+ "state.connecting": "Verbinden",
12
+ "state.idle": "Hält nicht",
13
+ "state.releasing": "Wird freigegeben",
14
+ "state.holding": "Hält",
15
+ "state.failed": "Fehler",
16
+ "state.disabled": "Aus",
17
+ "state.unknown": "Unbekannt",
18
+ "detail.backend": "Backend",
19
+ "detail.scope": "Umfang",
20
+ "detail.sources": "Aktive Quellen",
21
+ "detail.since": "Hält seit",
22
+ "detail.error": "Grund",
23
+ "sources.agents": "Sitzungen",
24
+ "sources.maintenance": "Wartung",
25
+ "sources.jobs": "Hintergrundjobs",
26
+ "scope.system": "nur System",
27
+ "scope.display": "inkl. Bildschirm",
28
+ "unit.none": "keine",
29
+ "hint.unreachable": "Der Host-Statusdienst ist nicht erreichbar; DSH startet möglicherweise neu",
30
+ "error.exited": "Die Energiesperre wurde unerwartet beendet; neuer Versuch läuft",
31
+ "error.backend": "Das Energiesperren-Backend konnte nicht gestartet werden",
32
+ "error.unsupported": "Für diese Plattform ist kein Energiesperren-Backend verfügbar",
33
+ "error.unknown": "Die Energiesperre meldete einen unbekannten Fehler",
34
+ "backend.caffeinate": "macOS-Wachhaltesperre (caffeinate)",
35
+ "backend.setthreadexecutionstate": "Windows-Ausführungsstatus-Sperre",
36
+ "panel.enabled": "Aktiviert",
37
+ "panel.allowDisplaySleep": "Bildschirm schlafen lassen",
38
+ "panel.allowDisplaySleepHint": "Nur der Systemschlaf wird blockiert; der Bildschirm folgt der OS-Einstellung",
39
+ "panel.hold": "Halten für",
40
+ "panel.hold30": "30 Min.",
41
+ "panel.hold120": "2 Std.",
42
+ "panel.holdCancel": "Abbrechen",
43
+ "panel.sound": "Töne",
44
+ "panel.testSound": "Test",
45
+ "panel.testSuccess": "Fertig",
46
+ "panel.testError": "Fehler",
47
+ "panel.testQuestion": "Hinweis",
48
+ "panel.testPlayed": "Testton abgespielt",
49
+ "panel.testUnavailable": "Test fehlgeschlagen: kein Player gefunden",
50
+ "panel.autoResume": "Nach Wiederverbindung wiederholen",
51
+ "panel.autoResumeHint": "Wiederholt den offline gescheiterten Durchlauf, sobald das Netzwerk zurück ist",
52
+ "panel.resumeWaiting": "Warte auf das Netzwerk…",
53
+ "panel.resumeRetrying": "Automatischer neuer Versuch…",
54
+ "panel.resumeFailed": "Automatischer neuer Versuch fehlgeschlagen",
55
+ "panel.resumeRetried": "Nach der Netzwerkrückkehr wiederholt",
56
+ "panel.holdDisabled": "Zuerst das Plugin aktivieren",
57
+ "panel.holdLeft": "übrig",
58
+ "panel.saved": "Gespeichert",
59
+ "panel.saveFailed": "Speichern fehlgeschlagen, bitte erneut versuchen",
60
+ "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",
61
+ "panel.advanced": "Entprellung, Haltegrenze und weitere Optionen stehen in cordis.patch.yml des Profils",
62
+ "panel.repo": "Quell-Repository öffnen",
63
+ "panel.npm": "Diese Version auf npm ansehen"
64
+ }
65
+ }
package/i18n/en.json ADDED
@@ -0,0 +1,65 @@
1
+ {
2
+ "locale": "en",
3
+ "label": "English",
4
+ "fallback": null,
5
+ "meta": {
6
+ "title": "Stay awake",
7
+ "description": "Keeps this machine awake only while unattended work is still running — agent turns, background jobs and manual compaction — then releases automatically, retries the turn that died while offline once the network is back, and rings a distinct cue when the agent needs your answer or an approval. The composer status bar shows whether it is holding."
8
+ },
9
+ "strings": {
10
+ "brand": "Stay awake",
11
+ "state.connecting": "Connecting",
12
+ "state.idle": "Not holding",
13
+ "state.releasing": "Releasing",
14
+ "state.holding": "Holding",
15
+ "state.failed": "Error",
16
+ "state.disabled": "Off",
17
+ "state.unknown": "Unknown",
18
+ "detail.backend": "Backend",
19
+ "detail.scope": "Scope",
20
+ "detail.sources": "Sources",
21
+ "detail.since": "Held for",
22
+ "detail.error": "Reason",
23
+ "sources.agents": "Agents",
24
+ "sources.maintenance": "Maintenance",
25
+ "sources.jobs": "Jobs",
26
+ "scope.system": "system only",
27
+ "scope.display": "incl. display",
28
+ "unit.none": "none",
29
+ "hint.unreachable": "Cannot reach the host status service; DSH may be restarting",
30
+ "error.exited": "The power assertion exited unexpectedly; retrying",
31
+ "error.backend": "Could not start the power assertion backend",
32
+ "error.unsupported": "No power backend is available on this platform",
33
+ "error.unknown": "The power assertion reported an unknown error",
34
+ "backend.caffeinate": "macOS wake lock (caffeinate)",
35
+ "backend.setthreadexecutionstate": "Windows execution state lock",
36
+ "panel.enabled": "Enabled",
37
+ "panel.allowDisplaySleep": "Allow display sleep",
38
+ "panel.allowDisplaySleepHint": "Only system sleep is blocked; the screen follows the OS setting",
39
+ "panel.hold": "Hold for",
40
+ "panel.hold30": "30 min",
41
+ "panel.hold120": "2 h",
42
+ "panel.holdCancel": "Cancel",
43
+ "panel.sound": "Sounds",
44
+ "panel.testSound": "Test",
45
+ "panel.testSuccess": "Done",
46
+ "panel.testError": "Error",
47
+ "panel.testQuestion": "Alert",
48
+ "panel.testPlayed": "Test sound played",
49
+ "panel.testUnavailable": "Test failed: no player found",
50
+ "panel.autoResume": "Retry after reconnect",
51
+ "panel.autoResumeHint": "Retry the turn that failed offline once the network is back",
52
+ "panel.resumeWaiting": "Waiting for the network…",
53
+ "panel.resumeRetrying": "Retrying automatically…",
54
+ "panel.resumeFailed": "Automatic retry did not go through",
55
+ "panel.resumeRetried": "Retried after the network came back",
56
+ "panel.holdDisabled": "Enable the plugin first to hold",
57
+ "panel.holdLeft": "left",
58
+ "panel.saved": "Saved",
59
+ "panel.saveFailed": "Could not save, please retry",
60
+ "panel.staleHost": "The host half is running an older build: disable and re-enable Stay awake in Plugins, or restart DSH",
61
+ "panel.advanced": "Debounce, hold cap and other advanced options live in the profile cordis.patch.yml",
62
+ "panel.repo": "Open the source repository",
63
+ "panel.npm": "View this version on npm"
64
+ }
65
+ }
package/i18n/es.json ADDED
@@ -0,0 +1,65 @@
1
+ {
2
+ "locale": "es",
3
+ "label": "Español",
4
+ "fallback": null,
5
+ "meta": {
6
+ "title": "Mantener despierto",
7
+ "description": "Mantiene la máquina despierta solo mientras hay trabajo sin supervisión — turnos de agente, tareas en segundo plano y compactación manual — y luego libera automáticamente. Tras un corte de red reintenta el turno que falló, y un sonido distinto avisa cuando se espera tu respuesta o aprobación."
8
+ },
9
+ "strings": {
10
+ "brand": "Mantener despierto",
11
+ "state.connecting": "Conectando",
12
+ "state.idle": "Sin mantener",
13
+ "state.releasing": "Liberando",
14
+ "state.holding": "Manteniendo",
15
+ "state.failed": "Error",
16
+ "state.disabled": "Apagado",
17
+ "state.unknown": "Desconocido",
18
+ "detail.backend": "Motor",
19
+ "detail.scope": "Alcance",
20
+ "detail.sources": "Fuentes activas",
21
+ "detail.since": "Mantenido desde",
22
+ "detail.error": "Motivo",
23
+ "sources.agents": "Sesiones",
24
+ "sources.maintenance": "Mantenimiento",
25
+ "sources.jobs": "Tareas en segundo plano",
26
+ "scope.system": "solo sistema",
27
+ "scope.display": "incl. pantalla",
28
+ "unit.none": "ninguno",
29
+ "hint.unreachable": "No se puede acceder al servicio de estado del host; DSH puede estar reiniciándose",
30
+ "error.exited": "La aserción de energía terminó inesperadamente; reintentando",
31
+ "error.backend": "No se pudo iniciar el motor de aserción de energía",
32
+ "error.unsupported": "No hay motor de energía disponible en esta plataforma",
33
+ "error.unknown": "La aserción de energía informó un error desconocido",
34
+ "backend.caffeinate": "Bloqueo de reposo de macOS (caffeinate)",
35
+ "backend.setthreadexecutionstate": "Bloqueo de estado de ejecución de Windows",
36
+ "panel.enabled": "Activado",
37
+ "panel.allowDisplaySleep": "Permitir reposo de pantalla",
38
+ "panel.allowDisplaySleepHint": "Solo se bloquea el reposo del sistema; la pantalla sigue la configuración del sistema",
39
+ "panel.hold": "Mantener",
40
+ "panel.hold30": "30 min",
41
+ "panel.hold120": "2 h",
42
+ "panel.holdCancel": "Cancelar",
43
+ "panel.sound": "Sonidos",
44
+ "panel.testSound": "Probar",
45
+ "panel.testSuccess": "Hecho",
46
+ "panel.testError": "Error",
47
+ "panel.testQuestion": "Aviso",
48
+ "panel.testPlayed": "Sonido de prueba reproducido",
49
+ "panel.testUnavailable": "Prueba fallida: no se encontró reproductor",
50
+ "panel.autoResume": "Reintentar al reconectar",
51
+ "panel.autoResumeHint": "Reintenta el turno que falló sin conexión cuando vuelve la red",
52
+ "panel.resumeWaiting": "Esperando la red…",
53
+ "panel.resumeRetrying": "Reintentando automáticamente…",
54
+ "panel.resumeFailed": "El reintento automático no funcionó",
55
+ "panel.resumeRetried": "Reintentado tras volver la red",
56
+ "panel.holdDisabled": "Activa el plugin primero para mantener",
57
+ "panel.holdLeft": "restante",
58
+ "panel.saved": "Guardado",
59
+ "panel.saveFailed": "No se pudo guardar, inténtalo de nuevo",
60
+ "panel.staleHost": "La parte host usa una versión antigua: desactiva y reactiva Stay awake en Plugins, o reinicia DSH",
61
+ "panel.advanced": "El antirrebote, el límite de mantenimiento y otras opciones están en cordis.patch.yml del perfil",
62
+ "panel.repo": "Abrir el repositorio de código",
63
+ "panel.npm": "Ver esta versión en npm"
64
+ }
65
+ }
package/i18n/fr.json ADDED
@@ -0,0 +1,65 @@
1
+ {
2
+ "locale": "fr",
3
+ "label": "Français",
4
+ "fallback": null,
5
+ "meta": {
6
+ "title": "Rester éveillé",
7
+ "description": "Maintient la machine éveillée uniquement pendant du travail sans surveillance — tours d'agent, tâches de fond et compactage manuel — puis libère automatiquement. Après une coupure réseau, le tour échoué est relancé, et un son distinct signale qu'une réponse ou une autorisation est attendue."
8
+ },
9
+ "strings": {
10
+ "brand": "Rester éveillé",
11
+ "state.connecting": "Connexion",
12
+ "state.idle": "Inactif",
13
+ "state.releasing": "Libération",
14
+ "state.holding": "Maintien",
15
+ "state.failed": "Erreur",
16
+ "state.disabled": "Désactivé",
17
+ "state.unknown": "Inconnu",
18
+ "detail.backend": "Moteur",
19
+ "detail.scope": "Portée",
20
+ "detail.sources": "Sources actives",
21
+ "detail.since": "Maintenu depuis",
22
+ "detail.error": "Raison",
23
+ "sources.agents": "Sessions",
24
+ "sources.maintenance": "Maintenance",
25
+ "sources.jobs": "Tâches de fond",
26
+ "scope.system": "système seul",
27
+ "scope.display": "écran inclus",
28
+ "unit.none": "aucun",
29
+ "hint.unreachable": "Service d'état de l'hôte injoignable ; DSH redémarre peut-être",
30
+ "error.exited": "L'assertion d'alimentation s'est arrêtée de façon inattendue ; nouvelle tentative",
31
+ "error.backend": "Impossible de démarrer le moteur d'assertion d'alimentation",
32
+ "error.unsupported": "Aucun moteur d'alimentation disponible sur cette plateforme",
33
+ "error.unknown": "L'assertion d'alimentation a signalé une erreur inconnue",
34
+ "backend.caffeinate": "Verrou de veille macOS (caffeinate)",
35
+ "backend.setthreadexecutionstate": "Verrou d'état d'exécution Windows",
36
+ "panel.enabled": "Activé",
37
+ "panel.allowDisplaySleep": "Autoriser la veille de l'écran",
38
+ "panel.allowDisplaySleepHint": "Seule la veille système est bloquée ; l'écran suit le réglage de l'OS",
39
+ "panel.hold": "Maintenir",
40
+ "panel.hold30": "30 min",
41
+ "panel.hold120": "2 h",
42
+ "panel.holdCancel": "Annuler",
43
+ "panel.sound": "Sons",
44
+ "panel.testSound": "Tester",
45
+ "panel.testSuccess": "Terminé",
46
+ "panel.testError": "Erreur",
47
+ "panel.testQuestion": "Alerte",
48
+ "panel.testPlayed": "Son de test joué",
49
+ "panel.testUnavailable": "Test échoué : aucun lecteur trouvé",
50
+ "panel.autoResume": "Réessayer après reconnexion",
51
+ "panel.autoResumeHint": "Relance le tour échoué hors ligne dès que le réseau revient",
52
+ "panel.resumeWaiting": "En attente du réseau…",
53
+ "panel.resumeRetrying": "Nouvelle tentative automatique…",
54
+ "panel.resumeFailed": "La nouvelle tentative automatique a échoué",
55
+ "panel.resumeRetried": "Relancé après le retour du réseau",
56
+ "panel.holdDisabled": "Activez d'abord l'extension",
57
+ "panel.holdLeft": "restant",
58
+ "panel.saved": "Enregistré",
59
+ "panel.saveFailed": "Échec de l'enregistrement, veuillez réessayer",
60
+ "panel.staleHost": "La moitié hôte utilise une version plus ancienne : désactivez puis réactivez Stay awake dans Plugins, ou redémarrez DSH",
61
+ "panel.advanced": "Anti-rebond, plafond de maintien et autres options dans cordis.patch.yml du profil",
62
+ "panel.repo": "Ouvrir le dépôt source",
63
+ "panel.npm": "Voir cette version sur npm"
64
+ }
65
+ }
package/i18n/hi.json ADDED
@@ -0,0 +1,65 @@
1
+ {
2
+ "locale": "hi",
3
+ "label": "हिन्दी",
4
+ "fallback": "en",
5
+ "meta": {
6
+ "title": "जागते रहें",
7
+ "description": "मशीन को केवल तभी जगाए रखता है जब बिना निगरानी वाला काम चल रहा हो — एजेंट राउंड, पृष्ठभूमि कार्य और मैनुअल कम्पैक्शन — फिर अपने आप छोड़ देता है। नेटवर्क टूटने पर विफल राउंड को फिर चलाता है, और उत्तर या अनुमति की आवश्यकता होने पर अलग ध्वनि बजाता है।"
8
+ },
9
+ "strings": {
10
+ "brand": "जागते रहें",
11
+ "state.connecting": "कनेक्ट हो रहा है",
12
+ "state.idle": "नहीं रोका हुआ",
13
+ "state.releasing": "छोड़ा जा रहा है",
14
+ "state.holding": "रोका हुआ",
15
+ "state.failed": "त्रुटि",
16
+ "state.disabled": "बंद",
17
+ "state.unknown": "अज्ञात",
18
+ "detail.backend": "बैकएंड",
19
+ "detail.scope": "दायरा",
20
+ "detail.sources": "सक्रिय स्रोत",
21
+ "detail.since": "कितनी देर से",
22
+ "detail.error": "कारण",
23
+ "sources.agents": "सत्र",
24
+ "sources.maintenance": "रखरखाव",
25
+ "sources.jobs": "पृष्ठभूमि कार्य",
26
+ "scope.system": "केवल सिस्टम",
27
+ "scope.display": "स्क्रीन सहित",
28
+ "unit.none": "कोई नहीं",
29
+ "hint.unreachable": "होस्ट स्टेटस सेवा तक नहीं पहुँच सके; DSH पुनः आरंभ हो रहा हो सकता है",
30
+ "error.exited": "पावर असेर्शन अचानक बंद हो गया; फिर से प्रयास किया जा रहा है",
31
+ "error.backend": "पावर असेर्शन बैकएंड शुरू नहीं हो सका",
32
+ "error.unsupported": "इस प्लेटफ़ॉर्म पर कोई पावर बैकएंड उपलब्ध नहीं है",
33
+ "error.unknown": "पावर असेर्शन ने अज्ञात त्रुटि बताई",
34
+ "backend.caffeinate": "macOS स्लीप लॉक (caffeinate)",
35
+ "backend.setthreadexecutionstate": "Windows निष्पादन-स्थिति लॉक",
36
+ "panel.enabled": "सक्षम",
37
+ "panel.allowDisplaySleep": "स्क्रीन स्लीप की अनुमति दें",
38
+ "panel.allowDisplaySleepHint": "केवल सिस्टम स्लीप रोकी जाती है; स्क्रीन OS सेटिंग का पालन करती है",
39
+ "panel.hold": "इतने समय तक रोकें",
40
+ "panel.hold30": "30 मिनट",
41
+ "panel.hold120": "2 घंटे",
42
+ "panel.holdCancel": "रद्द करें",
43
+ "panel.sound": "ध्वनियाँ",
44
+ "panel.testSound": "सुनें",
45
+ "panel.testSuccess": "पूर्ण",
46
+ "panel.testError": "त्रुटि",
47
+ "panel.testQuestion": "सूचना",
48
+ "panel.testPlayed": "परीक्षण ध्वनि चलाई गई",
49
+ "panel.testUnavailable": "परीक्षण विफल: कोई प्लेयर नहीं मिला",
50
+ "panel.autoResume": "फिर कनेक्ट होने पर पुनः प्रयास",
51
+ "panel.autoResumeHint": "नेटवर्क लौटने पर ऑफ़लाइन विफल हुआ राउंड फिर चलाता है",
52
+ "panel.resumeWaiting": "नेटवर्क की प्रतीक्षा…",
53
+ "panel.resumeRetrying": "स्वतः पुनः प्रयास…",
54
+ "panel.resumeFailed": "स्वतः पुनः प्रयास सफल नहीं हुआ",
55
+ "panel.resumeRetried": "नेटवर्क लौटने पर पुनः प्रयास किया",
56
+ "panel.holdDisabled": "पहले प्लगइन सक्षम करें",
57
+ "panel.holdLeft": "शेष",
58
+ "panel.saved": "सहेजा गया",
59
+ "panel.saveFailed": "सहेजा नहीं जा सका, कृपया फिर प्रयास करें",
60
+ "panel.staleHost": "होस्ट भाग पुराने बिल्ड पर है: प्लगइन्स में Stay awake को बंद करके फिर चालू करें, या DSH पुनः आरंभ करें",
61
+ "panel.advanced": "डिबाउंस, अधिकतम अवधि और अन्य विकल्प प्रोफ़ाइल के cordis.patch.yml में हैं",
62
+ "panel.repo": "स्रोत रिपॉज़िटरी खोलें",
63
+ "panel.npm": "यह संस्करण npm पर देखें"
64
+ }
65
+ }
package/i18n/id.json ADDED
@@ -0,0 +1,65 @@
1
+ {
2
+ "locale": "id",
3
+ "label": "Bahasa Indonesia",
4
+ "fallback": "en",
5
+ "meta": {
6
+ "title": "Tetap bangun",
7
+ "description": "Menjaga mesin tetap bangun hanya selama ada pekerjaan tanpa pengawasan — giliran agen, tugas latar belakang, dan pemadatan manual — lalu melepasnya otomatis. Jika jaringan terputus, giliran yang gagal diulang, dan suara khusus berbunyi saat jawaban atau persetujuan Anda diperlukan."
8
+ },
9
+ "strings": {
10
+ "brand": "Tetap bangun",
11
+ "state.connecting": "Menghubungkan",
12
+ "state.idle": "Tidak menahan",
13
+ "state.releasing": "Melepas",
14
+ "state.holding": "Menahan",
15
+ "state.failed": "Galat",
16
+ "state.disabled": "Mati",
17
+ "state.unknown": "Tidak diketahui",
18
+ "detail.backend": "Backend",
19
+ "detail.scope": "Cakupan",
20
+ "detail.sources": "Sumber aktif",
21
+ "detail.since": "Ditahan selama",
22
+ "detail.error": "Alasan",
23
+ "sources.agents": "Sesi",
24
+ "sources.maintenance": "Pemeliharaan",
25
+ "sources.jobs": "Tugas latar belakang",
26
+ "scope.system": "hanya sistem",
27
+ "scope.display": "termasuk layar",
28
+ "unit.none": "tidak ada",
29
+ "hint.unreachable": "Layanan status host tidak terjangkau; DSH mungkin sedang memulai ulang",
30
+ "error.exited": "Asersi daya berhenti tak terduga; mencoba lagi",
31
+ "error.backend": "Tidak dapat memulai backend asersi daya",
32
+ "error.unsupported": "Tidak ada backend daya di platform ini",
33
+ "error.unknown": "Asersi daya melaporkan galat tak dikenal",
34
+ "backend.caffeinate": "Kunci tidur macOS (caffeinate)",
35
+ "backend.setthreadexecutionstate": "Kunci status eksekusi Windows",
36
+ "panel.enabled": "Aktif",
37
+ "panel.allowDisplaySleep": "Izinkan tidur layar",
38
+ "panel.allowDisplaySleepHint": "Hanya tidur sistem yang dicegah; layar mengikuti pengaturan OS",
39
+ "panel.hold": "Tahan selama",
40
+ "panel.hold30": "30 mnt",
41
+ "panel.hold120": "2 j",
42
+ "panel.holdCancel": "Batal",
43
+ "panel.sound": "Suara",
44
+ "panel.testSound": "Uji",
45
+ "panel.testSuccess": "Selesai",
46
+ "panel.testError": "Galat",
47
+ "panel.testQuestion": "Peringatan",
48
+ "panel.testPlayed": "Suara uji diputar",
49
+ "panel.testUnavailable": "Uji gagal: pemutar tidak ditemukan",
50
+ "panel.autoResume": "Coba lagi setelah tersambung",
51
+ "panel.autoResumeHint": "Mengulang giliran yang gagal offline saat jaringan kembali",
52
+ "panel.resumeWaiting": "Menunggu jaringan…",
53
+ "panel.resumeRetrying": "Mencoba ulang otomatis…",
54
+ "panel.resumeFailed": "Percobaan ulang otomatis gagal",
55
+ "panel.resumeRetried": "Dicoba ulang setelah jaringan kembali",
56
+ "panel.holdDisabled": "Aktifkan plugin dulu untuk menahan",
57
+ "panel.holdLeft": "tersisa",
58
+ "panel.saved": "Tersimpan",
59
+ "panel.saveFailed": "Tidak dapat menyimpan, coba lagi",
60
+ "panel.staleHost": "Bagian host memakai build lama: nonaktifkan lalu aktifkan lagi Stay awake di Plugin, atau mulai ulang DSH",
61
+ "panel.advanced": "Debounce, batas tahan, dan opsi lain ada di cordis.patch.yml profil",
62
+ "panel.repo": "Buka repositori sumber",
63
+ "panel.npm": "Lihat versi ini di npm"
64
+ }
65
+ }
package/i18n/it.json ADDED
@@ -0,0 +1,65 @@
1
+ {
2
+ "locale": "it",
3
+ "label": "Italiano",
4
+ "fallback": "en",
5
+ "meta": {
6
+ "title": "Resta sveglio",
7
+ "description": "Mantiene la macchina sveglia solo mentre è in corso lavoro senza supervisione — turni dell'agente, attività in background e compattazione manuale — poi rilascia automaticamente. Dopo un'interruzione di rete riprova il turno fallito e un suono distinto avvisa quando serve una tua risposta o approvazione."
8
+ },
9
+ "strings": {
10
+ "brand": "Resta sveglio",
11
+ "state.connecting": "Connessione",
12
+ "state.idle": "Non attivo",
13
+ "state.releasing": "Rilascio",
14
+ "state.holding": "Mantengo",
15
+ "state.failed": "Errore",
16
+ "state.disabled": "Spento",
17
+ "state.unknown": "Sconosciuto",
18
+ "detail.backend": "Backend",
19
+ "detail.scope": "Ambito",
20
+ "detail.sources": "Sorgenti attive",
21
+ "detail.since": "Attivo da",
22
+ "detail.error": "Motivo",
23
+ "sources.agents": "Sessioni",
24
+ "sources.maintenance": "Manutenzione",
25
+ "sources.jobs": "Attività in background",
26
+ "scope.system": "solo sistema",
27
+ "scope.display": "incl. schermo",
28
+ "unit.none": "nessuno",
29
+ "hint.unreachable": "Servizio di stato dell'host irraggiungibile; DSH potrebbe essere in riavvio",
30
+ "error.exited": "L'asserzione di alimentazione è terminata inaspettatamente; nuovo tentativo",
31
+ "error.backend": "Non è stato possibile avviare il backend dell'asserzione di alimentazione",
32
+ "error.unsupported": "Nessun backend di alimentazione disponibile su questa piattaforma",
33
+ "error.unknown": "L'asserzione di alimentazione ha segnalato un errore sconosciuto",
34
+ "backend.caffeinate": "Blocco di sospensione macOS (caffeinate)",
35
+ "backend.setthreadexecutionstate": "Blocco dello stato di esecuzione di Windows",
36
+ "panel.enabled": "Attivo",
37
+ "panel.allowDisplaySleep": "Consenti sospensione dello schermo",
38
+ "panel.allowDisplaySleepHint": "Viene bloccata solo la sospensione del sistema; lo schermo segue le impostazioni del sistema",
39
+ "panel.hold": "Mantieni per",
40
+ "panel.hold30": "30 min",
41
+ "panel.hold120": "2 h",
42
+ "panel.holdCancel": "Annulla",
43
+ "panel.sound": "Suoni",
44
+ "panel.testSound": "Prova",
45
+ "panel.testSuccess": "Fatto",
46
+ "panel.testError": "Errore",
47
+ "panel.testQuestion": "Avviso",
48
+ "panel.testPlayed": "Suono di prova riprodotto",
49
+ "panel.testUnavailable": "Prova non riuscita: nessun lettore trovato",
50
+ "panel.autoResume": "Riprova dopo la riconnessione",
51
+ "panel.autoResumeHint": "Riprova il turno fallito offline quando la rete torna",
52
+ "panel.resumeWaiting": "In attesa della rete…",
53
+ "panel.resumeRetrying": "Nuovo tentativo automatico…",
54
+ "panel.resumeFailed": "Il nuovo tentativo automatico non è riuscito",
55
+ "panel.resumeRetried": "Riprovato dopo il ritorno della rete",
56
+ "panel.holdDisabled": "Attiva prima il plugin per mantenere",
57
+ "panel.holdLeft": "rimanente",
58
+ "panel.saved": "Salvato",
59
+ "panel.saveFailed": "Salvataggio non riuscito, riprova",
60
+ "panel.staleHost": "La parte host usa una build più vecchia: disattiva e riattiva Stay awake nei Plugin, o riavvia DSH",
61
+ "panel.advanced": "Antirimbalzo, limite di mantenimento e altre opzioni in cordis.patch.yml del profilo",
62
+ "panel.repo": "Apri il repository sorgente",
63
+ "panel.npm": "Vedi questa versione su npm"
64
+ }
65
+ }