@sonicloud/dsh-sonicloud-device 0.1.3 → 0.1.5
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/CHANGELOG.md +37 -1
- package/CHANGELOG.zh.md +37 -1
- package/README.md +18 -14
- package/README.zh.md +9 -5
- package/dist/build.json +1 -1
- package/dist/client.js +2112 -120
- package/docs/contributing/development.md +7 -5
- package/docs/specs/ci-cd.md +5 -4
- package/docs/specs/mouse-settings.md +1 -1
- package/docs/specs/multilingual.md +98 -0
- package/docs/specs/smart-mouse-plugin.md +6 -3
- package/locale/de.json +7 -0
- package/locale/en.json +7 -0
- package/locale/es.json +7 -0
- package/locale/fr.json +7 -0
- package/locale/ja.json +7 -0
- package/locale/pt.json +7 -0
- package/locale/ru.json +7 -0
- package/locale/zh.json +7 -0
- package/native/desktop/VOICE_SOURCE.json +2 -2
- package/native/desktop/VoicePanel.cs +70 -33
- package/native/desktop/VoicePanel.swift +58 -21
- package/native/desktop/darwin-arm64/Sonicloud Voice.app/Contents/MacOS/sonicloud-voice +0 -0
- package/native/screenshot/README.md +9 -4
- package/native/screenshot/SOURCE.json +48 -17
- package/native/screenshot/darwin-arm64/screentool-macos-1.2.2.zip +0 -0
- package/native/screenshot/helper-i18n/de.json +85 -0
- package/native/screenshot/helper-i18n/es.json +85 -0
- package/native/screenshot/helper-i18n/fr.json +85 -0
- package/native/screenshot/patches/{hide-cloud-actions.patch → macos/hide-cloud-actions.patch} +84 -76
- package/native/screenshot/patches/macos/mac-clang-compat.patch +14 -0
- package/native/screenshot/patches/macos/mac-color-panel.patch +40 -0
- package/native/screenshot/patches/macos/mac-permissions.patch +549 -0
- package/native/screenshot/patches/macos/mac-ui-focus.patch +658 -0
- package/native/screenshot/patches/macos/upstream-files.json +77 -0
- package/native/screenshot/patches/upstream-files.json +12 -8
- package/native/screenshot/win32-x64/i18n/de.json +85 -0
- package/native/screenshot/win32-x64/i18n/es.json +85 -0
- package/native/screenshot/win32-x64/i18n/fr.json +85 -0
- package/native/screenshot/win32-x64/screenhelper.exe +0 -0
- package/package.json +5 -3
- package/src/asr/auth.mjs +9 -8
- package/src/asr/config.mjs +1 -1
- package/src/asr/stream.mjs +25 -24
- package/src/desktop/presentation.mjs +18 -12
- package/src/desktop/screenshot-shortcut-worker.mjs +188 -0
- package/src/desktop/screenshot-shortcut.mjs +266 -0
- package/src/desktop/screenshot-worker.mjs +49 -32
- package/src/desktop/screenshot.mjs +46 -26
- package/src/devices/actions.mjs +7 -6
- package/src/devices/config.mjs +2 -1
- package/src/devices/diagnostics.mjs +4 -3
- package/src/devices/manager.mjs +77 -43
- package/src/devices/native-worker.mjs +4 -3
- package/src/devices/native.mjs +9 -8
- package/src/devices/queue.mjs +4 -3
- package/src/devices/recognition.mjs +5 -4
- package/src/devices/store.mjs +3 -2
- package/src/devices/translate.mjs +11 -10
- package/src/host/ai-conversation.mjs +8 -7
- package/src/host/index.mjs +13 -3
- package/src/host/locale.mjs +44 -0
- package/src/shared/devices.mjs +13 -12
- package/src/shared/i18n.mjs +47 -0
- package/src/shared/locales/de.json +181 -0
- package/src/shared/locales/en.json +181 -0
- package/src/shared/locales/es.json +181 -0
- package/src/shared/locales/fr.json +181 -0
- package/src/shared/locales/ja.json +181 -0
- package/src/shared/locales/pt.json +181 -0
- package/src/shared/locales/ru.json +181 -0
- package/src/shared/locales/zh.json +181 -0
- package/src/shared/remote.mjs +7 -1
- package/src/shared/screenshot-shortcut.mjs +50 -0
package/dist/client.js
CHANGED
|
@@ -34,8 +34,1560 @@ __export(index_exports, {
|
|
|
34
34
|
inject: () => inject
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(index_exports);
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
|
|
38
|
+
// src/shared/locales/zh.json
|
|
39
|
+
var zh_default = {
|
|
40
|
+
"app.title": "\u58F0\u4E91\u8BBE\u5907",
|
|
41
|
+
"app.plugin": "\u58F0\u4E91\u667A\u80FD\u9F20\u6807\u63D2\u4EF6",
|
|
42
|
+
"app.sidebar": "\u4FA7\u8FB9\u680F",
|
|
43
|
+
"device.count.one": "{count} \u53F0\u8BBE\u5907\u5DF2\u8FDE\u63A5 \xB7 \u4E3A\u6BCF\u53F0\u8BBE\u5907\u8BBE\u7F6E\u4E13\u5C5E\u504F\u597D",
|
|
44
|
+
"device.count.other": "{count} \u53F0\u8BBE\u5907\u5DF2\u8FDE\u63A5 \xB7 \u4E3A\u6BCF\u53F0\u8BBE\u5907\u8BBE\u7F6E\u4E13\u5C5E\u504F\u597D",
|
|
45
|
+
"device.empty": "\u6682\u65E0\u8BBE\u5907\u8FDE\u63A5",
|
|
46
|
+
"device.connect": "\u8BF7\u8FDE\u63A5\u667A\u80FD\u9F20\u6807\u7684 USB \u63A5\u6536\u5668\uFF0C\u6216\u901A\u8FC7\u84DD\u7259\u8FDE\u63A5\u9F20\u6807\u3002",
|
|
47
|
+
"device.mouse": "\u667A\u80FD\u9F20\u6807",
|
|
48
|
+
"device.generic": "\u8BBE\u5907",
|
|
49
|
+
"device.image": "\u667A\u80FD\u9F20\u6807\u793A\u610F\u56FE",
|
|
50
|
+
"device.previous": "\u4E0A\u4E00\u53F0\u8BBE\u5907",
|
|
51
|
+
"device.next": "\u4E0B\u4E00\u53F0\u8BBE\u5907",
|
|
52
|
+
"device.switch": "\u5207\u6362\u5230\u8BBE\u5907 {index}",
|
|
53
|
+
"device.identity": "\u8BBE\u5907\u8EAB\u4EFD\u672A\u786E\u8BA4",
|
|
54
|
+
"device.identityHelp": "\u8BBE\u5907\u8EAB\u4EFD\u672A\u786E\u8BA4\uFF0C\u6682\u4E0D\u53EF\u7F16\u8F91\u914D\u7F6E\uFF0C\u8BF7\u91CD\u8FDE\u8BBE\u5907\u3002",
|
|
55
|
+
"device.connection": "\u8FDE\u63A5\u65B9\u5F0F",
|
|
56
|
+
"device.usb": "USB \u63A5\u6536\u5668",
|
|
57
|
+
"device.bluetooth": "\u84DD\u7259",
|
|
58
|
+
"device.battery": "\u8BBE\u5907\u7535\u91CF",
|
|
59
|
+
"common.unknown": "\u672A\u77E5",
|
|
60
|
+
"device.unsupported": "\u6B64\u8BBE\u5907\u7C7B\u578B\u6682\u672A\u63D0\u4F9B\u4E13\u5C5E\u8BBE\u7F6E\u3002",
|
|
61
|
+
"common.choose": "\u8BF7\u91CD\u65B0\u9009\u62E9",
|
|
62
|
+
"common.confirm": "\u786E\u8BA4",
|
|
63
|
+
"common.reset": "\u6062\u590D\u9ED8\u8BA4",
|
|
64
|
+
"common.applying": "\u6B63\u5728\u5E94\u7528\u2026",
|
|
65
|
+
"voice.input": "\u8BED\u97F3\u6253\u5B57",
|
|
66
|
+
"voice.translate": "\u8BED\u97F3\u7FFB\u8BD1",
|
|
67
|
+
"voice.search": "\u8BED\u97F3\u641C\u7D22",
|
|
68
|
+
"voice.punctuation": "\u6807\u70B9\u7B26\u53F7",
|
|
69
|
+
"voice.recognition": "\u8BC6\u522B\u8BED\u8A00",
|
|
70
|
+
"voice.from": "\u7FFB\u8BD1\u6E90\u8BED\u8A00",
|
|
71
|
+
"voice.to": "\u7FFB\u8BD1\u76EE\u6807\u8BED\u8A00",
|
|
72
|
+
"voice.unavailable": "\u7FFB\u8BD1\u670D\u52A1\u5C1A\u672A\u914D\u7F6E\uFF0C\u6682\u4E0D\u53EF\u7528",
|
|
73
|
+
"voice.unsupported": "\u539F\u8BED\u8A00\u9009\u9879\u5DF2\u4E0D\u518D\u652F\u6301\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9\u8BED\u97F3\u6253\u5B57\u6216\u7FFB\u8BD1\u8BED\u8A00\u3002",
|
|
74
|
+
"voice.pending": "{name}\uFF08\u5F85\u9002\u914D\uFF09",
|
|
75
|
+
"voice.recognitionPending": "{name}\uFF08\u8BC6\u522B\u5F85\u9002\u914D\uFF09",
|
|
76
|
+
"keys.dpi": "DPI \u952E",
|
|
77
|
+
"keys.dpiHelp": "\u7528\u4E8E\u8C03\u8282\u9F20\u6807\u5149\u6807\u79FB\u52A8\u7075\u654F\u5EA6",
|
|
78
|
+
"keys.dpiFailed": "DPI \u5C1A\u672A\u5E94\u7528\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9\u540E\u91CD\u8BD5",
|
|
79
|
+
"keys.m": "M \u952E",
|
|
80
|
+
"keys.mHelp": "\u9F20\u6807\u591A\u529F\u80FD\u952E",
|
|
81
|
+
"keys.mAction": "M \u952E\u52A8\u4F5C",
|
|
82
|
+
"keys.enter": "\u56DE\u8F66",
|
|
83
|
+
"keys.backspace": "\u540E\u9000",
|
|
84
|
+
"keys.link": "\u4E00\u952E\u94FE\u63A5",
|
|
85
|
+
"keys.linkUrl": "\u4E00\u952E\u94FE\u63A5 URL",
|
|
86
|
+
"keys.searchEngine": "\u641C\u7D22\u5F15\u64CE",
|
|
87
|
+
"keys.speech": "\u8BED\u97F3\u952E",
|
|
88
|
+
"keys.speechAction": "\u8BED\u97F3\u952E\u52A8\u4F5C",
|
|
89
|
+
"keys.speechHelp": "\u957F\u6309\u8BED\u97F3\u6253\u5B57\u6216\u7FFB\u8BD1\uFF0C\u677E\u624B\u5C06\u6587\u5B57\u586B\u5145\u5230\u5DF2\u83B7\u53D6\u7126\u70B9\u7684\u8F93\u5165\u6846",
|
|
90
|
+
"keys.ai": "AI \u952E",
|
|
91
|
+
"keys.aiHelp": "\u957F\u6309\u8BED\u97F3\u6253\u5B57\uFF0C\u677E\u624B\u81EA\u52A8\u5C06\u6587\u5B57\u586B\u5145\u5230 AI \u5BF9\u8BDD\u8F93\u5165\u6846",
|
|
92
|
+
"keys.autoSend": "\u81EA\u52A8\u53D1\u9001",
|
|
93
|
+
"permission.typing": "\u6253\u5B57\u4E0A\u5C4F\u6743\u9650",
|
|
94
|
+
"permission.screenshot": "\u622A\u56FE\u6743\u9650",
|
|
95
|
+
"permission.accessibility": "\u8F85\u52A9\u529F\u80FD",
|
|
96
|
+
"permission.screen": "\u5C4F\u5E55\u5F55\u5236",
|
|
97
|
+
"permission.granted": "\u5DF2\u6388\u6743",
|
|
98
|
+
"permission.missing": "\u5F85\u6388\u6743",
|
|
99
|
+
"permission.typingHelp": "\u5C06\u8BC6\u522B\u6587\u5B57\u81EA\u52A8\u586B\u5165\u684C\u9762\u5E94\u7528\u9700\u8981\u6B64\u6743\u9650\uFF1B\u672A\u6388\u6743\u65F6\u4ECD\u53EF\u8BC6\u522B\u5E76\u590D\u5236\u6587\u5B57\u3002",
|
|
100
|
+
"permission.grantTyping": "\u6388\u6743\u6253\u5B57\u8F85\u52A9\u529F\u80FD",
|
|
101
|
+
"permission.checkTyping": "\u91CD\u65B0\u68C0\u67E5\u6253\u5B57\u6743\u9650",
|
|
102
|
+
"permission.checkScreenshot": "\u91CD\u65B0\u68C0\u67E5\u622A\u56FE\u6743\u9650",
|
|
103
|
+
"permission.checking": "\u6B63\u5728\u68C0\u67E5\u2026",
|
|
104
|
+
"permission.recheck": "\u91CD\u65B0\u68C0\u67E5",
|
|
105
|
+
"permission.location": "\u627E\u4E0D\u5230 {helper} \u65F6\u67E5\u770B\u7EC4\u4EF6\u4F4D\u7F6E",
|
|
106
|
+
"permission.pathHelp": "\u5728\u7CFB\u7EDF\u6743\u9650\u5217\u8868\u4E2D\u9700\u8981\u624B\u52A8\u6DFB\u52A0\u65F6\uFF0C\u4F7F\u7528\u4E0B\u65B9\u4F4D\u7F6E\uFF1A",
|
|
107
|
+
"permission.ready": "\u622A\u56FE\u7EC4\u4EF6 {helper} \u6743\u9650\u5DF2\u5C31\u7EEA\u3002",
|
|
108
|
+
"permission.grantHelp": "\u8BF7\u4E3A\u622A\u56FE\u7EC4\u4EF6 {helper} \u6388\u6743\u3002",
|
|
109
|
+
"permission.screenState": "\u5C4F\u5E55\u5F55\u5236\uFF1A{state}\uFF08\u622A\u56FE\u5FC5\u9700\uFF09",
|
|
110
|
+
"permission.accessState": "\u8F85\u52A9\u529F\u80FD\uFF1A{state}\uFF08\u81EA\u52A8\u6EDA\u52A8\u53EF\u9009\uFF0C\u666E\u901A\u622A\u56FE\u548C\u624B\u52A8\u6EDA\u52A8\u4E0D\u53D7\u5F71\u54CD\uFF09",
|
|
111
|
+
"permission.grantScreen": "\u6388\u6743\u5C4F\u5E55\u5F55\u5236",
|
|
112
|
+
"permission.grantAccess": "\u6388\u6743\u8F85\u52A9\u529F\u80FD",
|
|
113
|
+
"screenshot.title": "\u622A\u56FE",
|
|
114
|
+
"screenshot.start": "\u5F00\u59CB\u622A\u56FE",
|
|
115
|
+
"screenshot.starting": "\u6B63\u5728\u542F\u52A8\u2026",
|
|
116
|
+
"screenshot.permissionHelp": "\u9996\u6B21\u622A\u56FE\u524D\u8BF7\u5148\u6388\u6743\u5C4F\u5E55\u5F55\u5236\uFF0C\u6388\u6743\u671F\u95F4\u4E0D\u4F1A\u663E\u793A\u622A\u56FE\u8499\u5C42",
|
|
117
|
+
"screenshot.help": "\u70B9\u51FB\u6309\u94AE\u6216\u6309\u9F20\u6807\u622A\u56FE\u952E\uFF0C\u6846\u9009\u540E\u53EF\u6807\u6CE8\u3001\u590D\u5236\u3001\u4FDD\u5B58\u6216\u8D34\u56FE",
|
|
118
|
+
"error.generic": "\u64CD\u4F5C\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5",
|
|
119
|
+
"error.connection": "\u670D\u52A1\u8FDE\u63A5\u5931\u8D25\u6216\u4E2D\u65AD\uFF0C\u8BF7\u68C0\u67E5\u7F51\u7EDC\u540E\u91CD\u8BD5",
|
|
120
|
+
"error.timeout": "\u670D\u52A1\u54CD\u5E94\u8D85\u65F6\uFF0C\u8BF7\u91CD\u8BD5",
|
|
121
|
+
"error.auth": "\u8BBE\u5907\u9274\u6743\u5931\u8D25\uFF0C\u8BF7\u91CD\u8FDE\u9F20\u6807\u6216\u8054\u7CFB\u670D\u52A1\u65B9",
|
|
122
|
+
"error.quota": "\u670D\u52A1\u989D\u5EA6\u4E0D\u8DB3\uFF0C\u8BF7\u8054\u7CFB\u670D\u52A1\u65B9",
|
|
123
|
+
"error.busy": "\u5176\u4ED6\u64CD\u4F5C\u6B63\u5728\u8FDB\u884C\uFF0C\u8BF7\u5B8C\u6210\u540E\u91CD\u8BD5",
|
|
124
|
+
"error.device": "\u8BBE\u5907\u672A\u8FDE\u63A5\u6216\u8EAB\u4EFD\u672A\u786E\u8BA4\uFF0C\u8BF7\u91CD\u65B0\u8FDE\u63A5\u9F20\u6807",
|
|
125
|
+
"error.sdk": "\u9F20\u6807 SDK \u4E0D\u53EF\u7528\uFF0C\u8BF7\u68C0\u67E5\u63D2\u4EF6\u5B89\u88C5\u4E0E\u7CFB\u7EDF\u67B6\u6784",
|
|
126
|
+
"error.audio": "\u97F3\u9891\u6570\u636E\u65E0\u6548\u3001\u4E22\u5931\u6216\u5904\u7406\u8FC7\u6162\uFF0C\u8BF7\u91CD\u65B0\u5F55\u97F3",
|
|
127
|
+
"error.noSpeech": "\u672A\u8BC6\u522B\u5230\u8BED\u97F3\uFF0C\u8BF7\u91CD\u65B0\u5F55\u97F3",
|
|
128
|
+
"error.duration": "\u5355\u6B21\u5F55\u97F3\u6700\u957F 10 \u5206\u949F",
|
|
129
|
+
"error.language": "\u6B64\u8BED\u8A00\u4E0D\u53EF\u7528\u6216\u7F3A\u5C11\u63A5\u53E3\u6620\u5C04\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9\u652F\u6301\u7684\u8BED\u8A00",
|
|
130
|
+
"error.translation": "\u7FFB\u8BD1\u5931\u8D25\uFF0C\u53EF\u590D\u5236\u539F\u6587\u540E\u91CD\u8BD5",
|
|
131
|
+
"error.translationLength": "\u7FFB\u8BD1\u6587\u672C\u8D85\u8FC7 5000 \u5B57\u7B26\uFF0C\u53EF\u590D\u5236\u539F\u6587",
|
|
132
|
+
"error.sameLanguage": "\u7FFB\u8BD1\u6E90\u8BED\u8A00\u4E0E\u76EE\u6807\u8BED\u8A00\u4E0D\u80FD\u76F8\u540C",
|
|
133
|
+
"error.url": "\u8BF7\u586B\u5199\u6709\u6548\u7684 HTTP/HTTPS \u7F51\u5740\uFF08\u6700\u591A 4096 \u5B57\u7B26\uFF0C\u4E0D\u542B\u51ED\u636E\u6216\u7A7A\u767D\uFF09",
|
|
134
|
+
"error.settings": "\u8BBE\u7F6E\u65E0\u6548\u6216\u5DF2\u53D8\u66F4\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9\u540E\u91CD\u8BD5",
|
|
135
|
+
"error.notSaved": "\u672A\u4FDD\u5B58\uFF1A{reason}\u3002\u4ECD\u4F7F\u7528\u5DF2\u4FDD\u5B58\u7684\u8BBE\u7F6E\u3002",
|
|
136
|
+
"settings.linkSaved": "\u94FE\u63A5\u8BBE\u7F6E\u6210\u529F\uFF0C\u5DF2\u751F\u6548",
|
|
137
|
+
"settings.saved": "\u5DF2\u4FDD\u5B58",
|
|
138
|
+
"settings.savedOffline": "\u914D\u7F6E\u5DF2\u4FDD\u5B58\uFF0C\u8BBE\u5907\u79BB\u7EBF\u540E\u9700\u91CD\u8FDE\u5E94\u7528",
|
|
139
|
+
"settings.savedDpi": "\u914D\u7F6E\u5DF2\u4FDD\u5B58\uFF0C{reason}",
|
|
140
|
+
"settings.dpiSent": "DPI \u6307\u4EE4\u5DF2\u4E0B\u53D1\uFF08\u8BBE\u5907\u4E0D\u8FD4\u56DE\u751F\u6548\u786E\u8BA4\uFF09",
|
|
141
|
+
"error.action": "\u7CFB\u7EDF\u52A8\u4F5C\u6267\u884C\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u8F85\u52A9\u529F\u80FD\u6743\u9650\u53CA\u5BBF\u4E3B\u8FD0\u884C\u72B6\u6001",
|
|
142
|
+
"error.browser": "\u6D4F\u89C8\u5668\u6253\u5F00\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u9ED8\u8BA4\u6D4F\u89C8\u5668",
|
|
143
|
+
"error.closed": "\u670D\u52A1\u5DF2\u5173\u95ED\uFF0C\u8BF7\u91CD\u65B0\u542F\u7528\u63D2\u4EF6",
|
|
144
|
+
"error.panel": "\u8BED\u97F3\u6D6E\u5C42\u4E0D\u53EF\u7528\uFF0C\u8BF7\u68C0\u67E5\u63D2\u4EF6\u5B89\u88C5\u5E76\u91CD\u8BD5",
|
|
145
|
+
"error.screenshot": "\u622A\u56FE\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u63D2\u4EF6\u5B89\u88C5\u4E0E\u7CFB\u7EDF\u6743\u9650\u540E\u91CD\u8BD5",
|
|
146
|
+
"error.screenPermission": "\u8BF7\u5148\u4E3A screenhelper \u6388\u4E88\u5C4F\u5E55\u5F55\u5236\u6743\u9650\uFF0C\u518D\u91CD\u65B0\u68C0\u67E5",
|
|
147
|
+
"error.screenshotBusy": "\u8BF7\u5148\u5B8C\u6210\u5F53\u524D\u622A\u56FE\u6216\u5173\u95ED\u8D34\u56FE\uFF0C\u518D\u91CD\u8BD5",
|
|
148
|
+
"error.permission": "\u6743\u9650\u68C0\u67E5\u6216\u8BF7\u6C42\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5",
|
|
149
|
+
"permission.requested": "\u8BF7\u5728\u7CFB\u7EDF\u5F39\u7A97\u6216\u201C\u9690\u79C1\u4E0E\u5B89\u5168\u6027\u201D\u4E2D\u4E3A {helper} \u5B8C\u6210\u6388\u6743\uFF0C\u518D\u70B9\u51FB\u201C\u5DF2\u6388\u6743\uFF0C\u91CD\u65B0\u68C0\u67E5\u201D\u3002\u5982\u7CFB\u7EDF\u8981\u6C42\u91CD\u542F\uFF0C\u8BF7\u6309\u63D0\u793A\u64CD\u4F5C\u3002",
|
|
150
|
+
"permission.pending": "\u5C1A\u672A\u83B7\u5F97\u6240\u9700\u6743\u9650\uFF1B\u5982\u521A\u5B8C\u6210\u6388\u6743\uFF0C\u8BF7\u6309\u7CFB\u7EDF\u63D0\u793A\u91CD\u542F\u540E\u518D\u68C0\u67E5\u3002",
|
|
151
|
+
"permission.firstUse": "macOS \u9996\u6B21\u4F7F\u7528\u65F6\uFF0C\u8BF7\u5230\u201C\u58F0\u4E91\u8BBE\u5907\u201D\u67E5\u770B\u5E76\u5B8C\u6210\u6240\u9700\u7684\u7CFB\u7EDF\u6388\u6743\u3002",
|
|
152
|
+
"status.connecting": "\u6B63\u5728\u8FDE\u63A5\u8BBE\u5907\u670D\u52A1\u2026",
|
|
153
|
+
"status.reconnecting": "\u8BBE\u5907\u670D\u52A1\u8FDE\u63A5\u4E2D\u65AD\uFF0C\u6B63\u5728\u91CD\u65B0\u8FDE\u63A5\u2026",
|
|
154
|
+
"status.connected": "\u8BBE\u5907\u5DF2\u8FDE\u63A5",
|
|
155
|
+
"status.searching": "\u6B63\u5728\u67E5\u627E\u667A\u80FD\u9F20\u6807\uFF0C\u8BF7\u63D2\u5165 2.4G \u63A5\u6536\u5668\u6216\u8FDE\u63A5\u84DD\u7259\u3002",
|
|
156
|
+
"status.receiver": "\u5DF2\u68C0\u6D4B\u5230 2.4G \u63A5\u6536\u5668\uFF0C\u6B63\u5728\u7B49\u5F85\u9F20\u6807\u54CD\u5E94\u3002\u8BF7\u786E\u8BA4\u9F20\u6807\u5DF2\u5F00\u673A\u5E76\u5207\u5230 2.4G \u6A21\u5F0F\u3002",
|
|
157
|
+
"status.occupied": "\u9F20\u6807 USB \u6570\u636E\u63A5\u53E3\u88AB {names} \u5360\u7528\uFF0C\u8BF7\u9000\u51FA\u8BE5\u5E94\u7528\uFF1B\u91CA\u653E\u540E\u4F1A\u81EA\u52A8\u91CD\u8BD5\u8FDE\u63A5\u3002",
|
|
158
|
+
"error.ai": "AI \u5BF9\u8BDD\u65E0\u6CD5\u521B\u5EFA\u3001\u586B\u5145\u6216\u81EA\u52A8\u53D1\u9001\uFF0C\u7ED3\u679C\u53EF\u590D\u5236",
|
|
159
|
+
"error.aiWindow": "\u7A97\u53E3\u672A\u5524\u8D77\uFF0C\u6587\u5B57\u5DF2\u586B\u5165\u5BF9\u8BDD\u8349\u7A3F\uFF0C\u53EF\u590D\u5236\u7ED3\u679C",
|
|
160
|
+
"panel.title": "\u58F0\u4E91\u8BED\u97F3",
|
|
161
|
+
"panel.result": "\u8BED\u97F3\u8BC6\u522B\u7ED3\u679C",
|
|
162
|
+
"panel.processing": "\u8BED\u97F3\u5904\u7406\u4E2D",
|
|
163
|
+
"panel.finishing": "\u6B63\u5728\u6574\u7406\u2026",
|
|
164
|
+
"panel.translating": "\u6B63\u5728\u7FFB\u8BD1\u2026",
|
|
165
|
+
"panel.copy": "\u590D\u5236\u7ED3\u679C",
|
|
166
|
+
"panel.copied": "\u5DF2\u590D\u5236",
|
|
167
|
+
"panel.copyFailed": "\u590D\u5236\u5931\u8D25",
|
|
168
|
+
"panel.cancel": "\u53D6\u6D88",
|
|
169
|
+
"panel.close": "\u5173\u95ED",
|
|
170
|
+
"panel.submit": "\u4E00\u952E\u63D0\u4EA4",
|
|
171
|
+
"panel.openInput": "\u8BF7\u6253\u5F00\u9700\u8981\u8F93\u5165\u754C\u9762",
|
|
172
|
+
"panel.noText": "\u6CA1\u6709\u53EF\u8F93\u5165\u7684\u5185\u5BB9",
|
|
173
|
+
"panel.permission": "\u8BF7\u6388\u6743\u8F85\u52A9\u529F\u80FD\u4EE5\u56DE\u586B\uFF1B\u53EF\u590D\u5236\u7ED3\u679C",
|
|
174
|
+
"panel.targetChanged": "\u8F93\u5165\u76EE\u6807\u5DF2\u53D8\u5316\u6216\u4E0D\u652F\u6301\u5199\u5165\uFF0C\u53EF\u590D\u5236\u7ED3\u679C",
|
|
175
|
+
"panel.notInserted": "\u672A\u56DE\u586B\uFF1A{reason}\uFF0C\u53EF\u590D\u5236\u7ED3\u679C",
|
|
176
|
+
"panel.typingUnavailable": "\u6253\u5B57\u7EC4\u4EF6\u4E0D\u53EF\u7528",
|
|
177
|
+
"panel.password": "\u76EE\u6807\u4E3A\u5BC6\u7801\u8F93\u5165\u6846",
|
|
178
|
+
"panel.invalidText": "\u6587\u672C\u5305\u542B\u4E0D\u652F\u6301\u7684\u5B57\u7B26",
|
|
179
|
+
"panel.denied": "\u76EE\u6807\u7A97\u53E3\u62D2\u7EDD\u6A21\u62DF\u8F93\u5165",
|
|
180
|
+
"panel.interrupted": "\u6253\u5B57\u4F1A\u8BDD\u5DF2\u4E2D\u65AD",
|
|
181
|
+
"panel.queueFull": "\u6253\u5B57\u4EFB\u52A1\u8FC7\u591A\uFF0C\u8BF7\u7A0D\u5019",
|
|
182
|
+
"panel.typingError": "\u6253\u5B57\u5931\u8D25\uFF08\u4EE3\u7801 {code}\uFF09",
|
|
183
|
+
"device.count.few": "{count} \u53F0\u8BBE\u5907\u5DF2\u8FDE\u63A5 \xB7 \u4E3A\u6BCF\u53F0\u8BBE\u5907\u8BBE\u7F6E\u4E13\u5C5E\u504F\u597D",
|
|
184
|
+
"device.count.many": "{count} \u53F0\u8BBE\u5907\u5DF2\u8FDE\u63A5 \xB7 \u4E3A\u6BCF\u53F0\u8BBE\u5907\u8BBE\u7F6E\u4E13\u5C5E\u504F\u597D",
|
|
185
|
+
"language.mandarin": "\u666E\u901A\u8BDD",
|
|
186
|
+
"language.traditional": "\u666E\u901A\u8BDD\uFF08\u7E41\u9AD4\uFF09",
|
|
187
|
+
"language.dialect": "{name}\u65B9\u8A00",
|
|
188
|
+
"warning.lowBalance": "ASR \u4F59\u989D\u8F83\u4F4E\uFF0C\u8BF7\u53CA\u65F6\u5145\u503C",
|
|
189
|
+
"error.workspace": "\u6CA1\u6709\u53EF\u7528\u7684\u5DE5\u4F5C\u533A",
|
|
190
|
+
"error.cancelled": "\u8BED\u97F3\u4F1A\u8BDD\u5DF2\u53D6\u6D88",
|
|
191
|
+
"error.deviceLimit": "License \u8BBE\u5907\u6570\u91CF\u5DF2\u8FBE\u4E0A\u9650",
|
|
192
|
+
"error.screenshotExport": "\u6682\u4E0D\u652F\u6301\u622A\u56FE\u6587\u5B57\u8BC6\u522B\u548C Word \u5BFC\u51FA\uFF0C\u8BF7\u4F7F\u7528\u590D\u5236\u3001\u4FDD\u5B58\u6216\u8D34\u56FE",
|
|
193
|
+
"shortcut.configure": "\u8BBE\u7F6E\u5FEB\u6377\u952E",
|
|
194
|
+
"shortcut.title": "\u8BBE\u7F6E\u622A\u56FE\u5FEB\u6377\u952E",
|
|
195
|
+
"shortcut.help": "\u6309\u9F20\u6807\u622A\u56FE\u952E\u6216\u5FEB\u6377\u952E\uFF0C\u6846\u9009\u540E\u53EF\u6807\u6CE8\u3001\u590D\u5236\u3001\u4FDD\u5B58\u6216\u8D34\u56FE",
|
|
196
|
+
"shortcut.unset": "\u672A\u8BBE\u7F6E",
|
|
197
|
+
"shortcut.record": "\u6309\u4E0B\u7EC4\u5408\u952E",
|
|
198
|
+
"shortcut.recordHelp": "\u8BF7\u4F7F\u7528\u81F3\u5C11\u4E00\u4E2A Command\u3001Ctrl \u6216 Alt \u7B49\u4FEE\u9970\u952E",
|
|
199
|
+
"shortcut.suggested": "\u4F7F\u7528\u63A8\u8350\u7EC4\u5408 {shortcut}",
|
|
200
|
+
"shortcut.clear": "\u6E05\u9664",
|
|
201
|
+
"shortcut.save": "\u4FDD\u5B58",
|
|
202
|
+
"shortcut.saving": "\u6B63\u5728\u4FDD\u5B58\u2026",
|
|
203
|
+
"shortcut.invalid": "\u65E0\u6548\u6216\u7CFB\u7EDF\u4FDD\u7559\u7684\u5FEB\u6377\u952E",
|
|
204
|
+
"shortcut.unavailable": "\u5F53\u524D\u73AF\u5883\u65E0\u6CD5\u6CE8\u518C\u622A\u56FE\u5FEB\u6377\u952E",
|
|
205
|
+
"shortcut.saveFailed": "\u5FEB\u6377\u952E\u4FDD\u5B58\u5931\u8D25\uFF0C\u4ECD\u4FDD\u7559\u539F\u8BBE\u7F6E",
|
|
206
|
+
"shortcut.conflict": "\u5FEB\u6377\u952E\u5DF2\u88AB\u5360\u7528\uFF0C\u8BF7\u66F4\u6362\u7EC4\u5408",
|
|
207
|
+
"permission.system": "\u7CFB\u7EDF\u6388\u6743",
|
|
208
|
+
"permission.intro": "\u9996\u6B21\u4F7F\u7528\u65F6\uFF0C\u8BF7\u5B8C\u6210\u4EE5\u4E0B\u7CFB\u7EDF\u6388\u6743\u3002",
|
|
209
|
+
"permission.allGranted": "\u6240\u9700\u6743\u9650\u5DF2\u5C31\u7EEA\uFF0C\u53EF\u6B63\u5E38\u4F7F\u7528\u622A\u56FE\u548C\u6253\u5B57\u4E0A\u5C4F\u3002",
|
|
210
|
+
"permission.grant": "\u53BB\u6388\u6743",
|
|
211
|
+
"permission.typingTitle": "\u6253\u5B57\u4E0A\u5C4F",
|
|
212
|
+
"permission.screenTitle": "\u5C4F\u5E55\u622A\u56FE",
|
|
213
|
+
"permission.scrollTitle": "\u81EA\u52A8\u6EDA\u52A8\u622A\u56FE",
|
|
214
|
+
"permission.optional": "\u53EF\u9009",
|
|
215
|
+
"permission.screenHelp": "\u622A\u56FE\u5FC5\u9700\u3002\u6388\u6743\u5B8C\u6210\u524D\u4E0D\u4F1A\u62C9\u8D77\u622A\u56FE\u8499\u5C42\u3002",
|
|
216
|
+
"permission.scrollHelp": "\u672A\u6388\u6743\u4E0D\u5F71\u54CD\u666E\u901A\u622A\u56FE\u548C\u624B\u52A8\u6EDA\u52A8\u3002",
|
|
217
|
+
"permission.locations": "\u627E\u4E0D\u5230\u6388\u6743\u7EC4\u4EF6\uFF1F\u67E5\u770B\u4F4D\u7F6E",
|
|
218
|
+
"shortcut.autoSave": "\u8BBE\u7F6E\u81EA\u52A8\u4FDD\u5B58"
|
|
219
|
+
};
|
|
220
|
+
|
|
221
|
+
// src/shared/locales/en.json
|
|
222
|
+
var en_default = {
|
|
223
|
+
"app.title": "Sonicloud Devices",
|
|
224
|
+
"app.plugin": "Sonicloud Smart Mouse",
|
|
225
|
+
"app.sidebar": "Sidebar",
|
|
226
|
+
"device.count.one": "{count} device connected \xB7 Set preferences for each device",
|
|
227
|
+
"device.count.other": "{count} devices connected \xB7 Set preferences for each device",
|
|
228
|
+
"device.empty": "No devices connected",
|
|
229
|
+
"device.connect": "Connect the mouse's USB receiver or pair it via Bluetooth.",
|
|
230
|
+
"device.mouse": "Smart mouse",
|
|
231
|
+
"device.generic": "Device",
|
|
232
|
+
"device.image": "Smart mouse illustration",
|
|
233
|
+
"device.previous": "Previous device",
|
|
234
|
+
"device.next": "Next device",
|
|
235
|
+
"device.switch": "Switch to device {index}",
|
|
236
|
+
"device.identity": "Device identity unconfirmed",
|
|
237
|
+
"device.identityHelp": "Reconnect the device to confirm its identity before editing settings.",
|
|
238
|
+
"device.connection": "Connection",
|
|
239
|
+
"device.usb": "USB receiver",
|
|
240
|
+
"device.bluetooth": "Bluetooth",
|
|
241
|
+
"device.battery": "Battery",
|
|
242
|
+
"common.unknown": "Unknown",
|
|
243
|
+
"device.unsupported": "Settings are not available for this device type.",
|
|
244
|
+
"common.choose": "Select again",
|
|
245
|
+
"common.confirm": "Confirm",
|
|
246
|
+
"common.reset": "Restore defaults",
|
|
247
|
+
"common.applying": "Applying\u2026",
|
|
248
|
+
"voice.input": "Voice typing",
|
|
249
|
+
"voice.translate": "Voice translation",
|
|
250
|
+
"voice.search": "Voice search",
|
|
251
|
+
"voice.punctuation": "Punctuation",
|
|
252
|
+
"voice.recognition": "Recognition language",
|
|
253
|
+
"voice.from": "Source language",
|
|
254
|
+
"voice.to": "Target language",
|
|
255
|
+
"voice.unavailable": "Translation service is unavailable",
|
|
256
|
+
"voice.unsupported": "The saved language is no longer supported. Select a recognition or translation language again.",
|
|
257
|
+
"voice.pending": "{name} (not supported yet)",
|
|
258
|
+
"voice.recognitionPending": "{name} (recognition unavailable)",
|
|
259
|
+
"keys.dpi": "DPI button",
|
|
260
|
+
"keys.dpiHelp": "Adjusts mouse pointer sensitivity",
|
|
261
|
+
"keys.dpiFailed": "DPI was not applied. Select it again to retry.",
|
|
262
|
+
"keys.m": "M button",
|
|
263
|
+
"keys.mHelp": "Mouse multifunction button",
|
|
264
|
+
"keys.mAction": "M button action",
|
|
265
|
+
"keys.enter": "Enter",
|
|
266
|
+
"keys.backspace": "Backspace",
|
|
267
|
+
"keys.link": "Quick link",
|
|
268
|
+
"keys.linkUrl": "Quick link URL",
|
|
269
|
+
"keys.searchEngine": "Search engine",
|
|
270
|
+
"keys.speech": "Voice button",
|
|
271
|
+
"keys.speechAction": "Voice button action",
|
|
272
|
+
"keys.speechHelp": "Hold to dictate or translate; release to insert into the focused input.",
|
|
273
|
+
"keys.ai": "AI button",
|
|
274
|
+
"keys.aiHelp": "Hold to dictate; release to fill the AI conversation input.",
|
|
275
|
+
"keys.autoSend": "Auto-send",
|
|
276
|
+
"permission.typing": "Typing permissions",
|
|
277
|
+
"permission.screenshot": "Screenshot permissions",
|
|
278
|
+
"permission.accessibility": "Accessibility",
|
|
279
|
+
"permission.screen": "Screen recording",
|
|
280
|
+
"permission.granted": "Granted",
|
|
281
|
+
"permission.missing": "Not granted",
|
|
282
|
+
"permission.typingHelp": "Required to insert text into desktop apps. Recognition and copying remain available without it.",
|
|
283
|
+
"permission.grantTyping": "Allow typing accessibility",
|
|
284
|
+
"permission.checkTyping": "Recheck typing permissions",
|
|
285
|
+
"permission.checkScreenshot": "Recheck screenshot permissions",
|
|
286
|
+
"permission.checking": "Checking\u2026",
|
|
287
|
+
"permission.recheck": "Check again",
|
|
288
|
+
"permission.location": "View component location if {helper} is missing",
|
|
289
|
+
"permission.pathHelp": "Use this location to add the component to the system permission list:",
|
|
290
|
+
"permission.ready": "Screenshot permissions for {helper} are ready.",
|
|
291
|
+
"permission.grantHelp": "Grant permissions to screenshot component {helper}.",
|
|
292
|
+
"permission.screenState": "Screen recording: {state} (required for screenshots)",
|
|
293
|
+
"permission.accessState": "Accessibility: {state} (optional for auto-scroll; normal captures and manual scrolling still work)",
|
|
294
|
+
"permission.grantScreen": "Allow screen recording",
|
|
295
|
+
"permission.grantAccess": "Allow accessibility",
|
|
296
|
+
"screenshot.title": "Screenshot",
|
|
297
|
+
"screenshot.start": "Take screenshot",
|
|
298
|
+
"screenshot.starting": "Starting\u2026",
|
|
299
|
+
"screenshot.permissionHelp": "Allow screen recording before the first capture. No capture overlay appears during authorization.",
|
|
300
|
+
"screenshot.help": "Click or press the mouse capture button, select an area, then annotate, copy, save or pin.",
|
|
301
|
+
"error.generic": "Operation failed. Please retry.",
|
|
302
|
+
"error.connection": "Service connection failed or was interrupted. Check your network and retry.",
|
|
303
|
+
"error.timeout": "Service timed out. Please retry.",
|
|
304
|
+
"error.auth": "Device authorization failed. Reconnect the mouse or contact support.",
|
|
305
|
+
"error.quota": "Service quota exhausted. Contact support.",
|
|
306
|
+
"error.busy": "Another operation is in progress. Finish it and retry.",
|
|
307
|
+
"error.device": "Device disconnected or unidentified. Reconnect the mouse.",
|
|
308
|
+
"error.sdk": "Mouse SDK unavailable. Check the plugin installation and system architecture.",
|
|
309
|
+
"error.audio": "Audio is invalid, missing or processing too slowly. Record again.",
|
|
310
|
+
"error.noSpeech": "No speech recognized. Record again.",
|
|
311
|
+
"error.duration": "Recording is limited to 10 minutes.",
|
|
312
|
+
"error.language": "Language unavailable or unmapped. Select a supported language.",
|
|
313
|
+
"error.translation": "Translation failed. Copy the original text and retry.",
|
|
314
|
+
"error.translationLength": "Text exceeds 5,000 characters. You can copy the original.",
|
|
315
|
+
"error.sameLanguage": "Source and target languages must differ.",
|
|
316
|
+
"error.url": "Enter a valid HTTP/HTTPS URL (up to 4,096 characters, without credentials or spaces).",
|
|
317
|
+
"error.settings": "Settings are invalid or have changed. Select them again and retry.",
|
|
318
|
+
"error.notSaved": "Not saved: {reason} Previous settings remain active.",
|
|
319
|
+
"settings.linkSaved": "Link saved and applied",
|
|
320
|
+
"settings.saved": "Saved",
|
|
321
|
+
"settings.savedOffline": "Saved. Reconnect the device to apply.",
|
|
322
|
+
"settings.savedDpi": "Settings saved. {reason}",
|
|
323
|
+
"settings.dpiSent": "DPI command sent (device does not confirm application)",
|
|
324
|
+
"error.action": "System action failed. Check accessibility permissions and the host.",
|
|
325
|
+
"error.browser": "Could not open the browser. Check your default browser.",
|
|
326
|
+
"error.closed": "Service closed. Enable the plugin again.",
|
|
327
|
+
"error.panel": "Voice panel unavailable. Check the plugin installation and retry.",
|
|
328
|
+
"error.screenshot": "Screenshot failed. Check the plugin installation and system permissions.",
|
|
329
|
+
"error.screenPermission": "Allow screen recording for screenhelper, then check again.",
|
|
330
|
+
"error.screenshotBusy": "Finish the capture or close pinned images, then retry.",
|
|
331
|
+
"error.permission": "Permission check or request failed. Retry.",
|
|
332
|
+
"permission.requested": "Allow {helper} in the system dialog or Privacy & Security, then click \u201CGranted, check again\u201D. Restart if the system requests it.",
|
|
333
|
+
"permission.pending": "Required permission is still missing. If just granted, restart as instructed and check again.",
|
|
334
|
+
"permission.firstUse": "On first use on macOS, open Sonicloud Devices and grant the required permissions.",
|
|
335
|
+
"status.connecting": "Connecting to device service\u2026",
|
|
336
|
+
"status.reconnecting": "Device service disconnected. Reconnecting\u2026",
|
|
337
|
+
"status.connected": "Device connected",
|
|
338
|
+
"status.searching": "Searching for a smart mouse. Connect a 2.4G receiver or Bluetooth.",
|
|
339
|
+
"status.receiver": "2.4G receiver detected. Turn on the mouse and select 2.4G mode.",
|
|
340
|
+
"status.occupied": "Mouse USB interface is in use by {names}. Quit it; connection will retry automatically.",
|
|
341
|
+
"error.ai": "Could not create, fill or send the AI conversation. You can copy the result.",
|
|
342
|
+
"error.aiWindow": "Window did not open. Text is in the conversation draft and can be copied.",
|
|
343
|
+
"panel.title": "Sonicloud Voice",
|
|
344
|
+
"panel.result": "Speech recognition result",
|
|
345
|
+
"panel.processing": "Processing speech",
|
|
346
|
+
"panel.finishing": "Finishing\u2026",
|
|
347
|
+
"panel.translating": "Translating\u2026",
|
|
348
|
+
"panel.copy": "Copy result",
|
|
349
|
+
"panel.copied": "Copied",
|
|
350
|
+
"panel.copyFailed": "Copy failed",
|
|
351
|
+
"panel.cancel": "Cancel",
|
|
352
|
+
"panel.close": "Close",
|
|
353
|
+
"panel.submit": "Insert text",
|
|
354
|
+
"panel.openInput": "Open the target input",
|
|
355
|
+
"panel.noText": "No text to insert",
|
|
356
|
+
"panel.permission": "Allow accessibility to insert text, or copy the result.",
|
|
357
|
+
"panel.targetChanged": "Input target changed or cannot be written to. Copy the result.",
|
|
358
|
+
"panel.notInserted": "Not inserted: {reason}. You can copy the result.",
|
|
359
|
+
"panel.typingUnavailable": "Typing component unavailable",
|
|
360
|
+
"panel.password": "Target is a password field",
|
|
361
|
+
"panel.invalidText": "Text contains unsupported characters",
|
|
362
|
+
"panel.denied": "Target window rejected simulated input",
|
|
363
|
+
"panel.interrupted": "Typing session interrupted",
|
|
364
|
+
"panel.queueFull": "Too many typing tasks. Please wait.",
|
|
365
|
+
"panel.typingError": "Typing failed (code {code})",
|
|
366
|
+
"device.count.few": "{count} devices connected \xB7 Set preferences for each device",
|
|
367
|
+
"device.count.many": "{count} devices connected \xB7 Set preferences for each device",
|
|
368
|
+
"language.mandarin": "Mandarin",
|
|
369
|
+
"language.traditional": "Mandarin (Traditional)",
|
|
370
|
+
"language.dialect": "{name} dialect",
|
|
371
|
+
"warning.lowBalance": "ASR balance is low. Please top up soon.",
|
|
372
|
+
"error.workspace": "No workspace is available.",
|
|
373
|
+
"error.cancelled": "The voice session was cancelled.",
|
|
374
|
+
"error.deviceLimit": "The license device limit has been reached.",
|
|
375
|
+
"error.screenshotExport": "Screenshot OCR and Word export are not supported. Use copy, save or pin instead.",
|
|
376
|
+
"shortcut.configure": "Set shortcut",
|
|
377
|
+
"shortcut.title": "Set screenshot shortcut",
|
|
378
|
+
"shortcut.help": "Press the mouse capture button or shortcut, then select a region to annotate, copy, save or pin.",
|
|
379
|
+
"shortcut.unset": "Not set",
|
|
380
|
+
"shortcut.record": "Press a key combination",
|
|
381
|
+
"shortcut.recordHelp": "Include at least one modifier such as Command, Ctrl or Alt.",
|
|
382
|
+
"shortcut.suggested": "Use suggested shortcut {shortcut}",
|
|
383
|
+
"shortcut.clear": "Clear",
|
|
384
|
+
"shortcut.save": "Save",
|
|
385
|
+
"shortcut.saving": "Saving\u2026",
|
|
386
|
+
"shortcut.invalid": "Invalid or system-reserved shortcut",
|
|
387
|
+
"shortcut.unavailable": "Screenshot shortcuts cannot be registered in this environment.",
|
|
388
|
+
"shortcut.saveFailed": "Could not save the shortcut. The previous setting is preserved.",
|
|
389
|
+
"shortcut.conflict": "This shortcut is already in use. Choose another combination.",
|
|
390
|
+
"permission.system": "System permissions",
|
|
391
|
+
"permission.intro": "Complete the following system permissions before first use.",
|
|
392
|
+
"permission.allGranted": "Permissions are ready for screenshots and text insertion.",
|
|
393
|
+
"permission.grant": "Grant access",
|
|
394
|
+
"permission.typingTitle": "Text insertion",
|
|
395
|
+
"permission.screenTitle": "Screenshots",
|
|
396
|
+
"permission.scrollTitle": "Automatic scrolling capture",
|
|
397
|
+
"permission.optional": "Optional",
|
|
398
|
+
"permission.screenHelp": "Required for screenshots. The capture overlay stays closed until permission is granted.",
|
|
399
|
+
"permission.scrollHelp": "Regular screenshots and manual scrolling remain available without this permission.",
|
|
400
|
+
"permission.locations": "Cannot find a permission component? View its location",
|
|
401
|
+
"shortcut.autoSave": "Settings save automatically"
|
|
402
|
+
};
|
|
403
|
+
|
|
404
|
+
// src/shared/locales/ja.json
|
|
405
|
+
var ja_default = {
|
|
406
|
+
"app.title": "Sonicloud \u30C7\u30D0\u30A4\u30B9",
|
|
407
|
+
"app.plugin": "Sonicloud \u30B9\u30DE\u30FC\u30C8\u30DE\u30A6\u30B9",
|
|
408
|
+
"app.sidebar": "\u30B5\u30A4\u30C9\u30D0\u30FC",
|
|
409
|
+
"device.count.one": "{count} \u53F0\u306E\u30C7\u30D0\u30A4\u30B9\u304C\u63A5\u7D9A\u6E08\u307F \xB7 \u30C7\u30D0\u30A4\u30B9\u3054\u3068\u306B\u8A2D\u5B9A",
|
|
410
|
+
"device.count.other": "{count} \u53F0\u306E\u30C7\u30D0\u30A4\u30B9\u304C\u63A5\u7D9A\u6E08\u307F \xB7 \u30C7\u30D0\u30A4\u30B9\u3054\u3068\u306B\u8A2D\u5B9A",
|
|
411
|
+
"device.empty": "\u30C7\u30D0\u30A4\u30B9\u304C\u63A5\u7D9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093",
|
|
412
|
+
"device.connect": "\u30DE\u30A6\u30B9\u306E USB \u30EC\u30B7\u30FC\u30D0\u30FC\u3092\u63A5\u7D9A\u3059\u308B\u304B\u3001Bluetooth \u3067\u63A5\u7D9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
413
|
+
"device.mouse": "\u30B9\u30DE\u30FC\u30C8\u30DE\u30A6\u30B9",
|
|
414
|
+
"device.generic": "\u30C7\u30D0\u30A4\u30B9",
|
|
415
|
+
"device.image": "\u30B9\u30DE\u30FC\u30C8\u30DE\u30A6\u30B9\u306E\u56F3",
|
|
416
|
+
"device.previous": "\u524D\u306E\u30C7\u30D0\u30A4\u30B9",
|
|
417
|
+
"device.next": "\u6B21\u306E\u30C7\u30D0\u30A4\u30B9",
|
|
418
|
+
"device.switch": "\u30C7\u30D0\u30A4\u30B9 {index} \u306B\u5207\u308A\u66FF\u3048",
|
|
419
|
+
"device.identity": "\u30C7\u30D0\u30A4\u30B9 ID \u672A\u78BA\u8A8D",
|
|
420
|
+
"device.identityHelp": "\u8A2D\u5B9A\u3092\u7DE8\u96C6\u3059\u308B\u306B\u306F\u3001\u30C7\u30D0\u30A4\u30B9\u3092\u518D\u63A5\u7D9A\u3057\u3066 ID \u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
421
|
+
"device.connection": "\u63A5\u7D9A\u65B9\u5F0F",
|
|
422
|
+
"device.usb": "USB \u30EC\u30B7\u30FC\u30D0\u30FC",
|
|
423
|
+
"device.bluetooth": "Bluetooth",
|
|
424
|
+
"device.battery": "\u30D0\u30C3\u30C6\u30EA\u30FC",
|
|
425
|
+
"common.unknown": "\u4E0D\u660E",
|
|
426
|
+
"device.unsupported": "\u3053\u306E\u30C7\u30D0\u30A4\u30B9\u306E\u8A2D\u5B9A\u306B\u306F\u5BFE\u5FDC\u3057\u3066\u3044\u307E\u305B\u3093\u3002",
|
|
427
|
+
"common.choose": "\u9078\u629E\u3057\u76F4\u3057\u3066\u304F\u3060\u3055\u3044",
|
|
428
|
+
"common.confirm": "\u78BA\u8A8D",
|
|
429
|
+
"common.reset": "\u521D\u671F\u8A2D\u5B9A\u306B\u623B\u3059",
|
|
430
|
+
"common.applying": "\u9069\u7528\u4E2D\u2026",
|
|
431
|
+
"voice.input": "\u97F3\u58F0\u5165\u529B",
|
|
432
|
+
"voice.translate": "\u97F3\u58F0\u7FFB\u8A33",
|
|
433
|
+
"voice.search": "\u97F3\u58F0\u691C\u7D22",
|
|
434
|
+
"voice.punctuation": "\u53E5\u8AAD\u70B9",
|
|
435
|
+
"voice.recognition": "\u8A8D\u8B58\u8A00\u8A9E",
|
|
436
|
+
"voice.from": "\u7FFB\u8A33\u5143\u306E\u8A00\u8A9E",
|
|
437
|
+
"voice.to": "\u7FFB\u8A33\u5148\u306E\u8A00\u8A9E",
|
|
438
|
+
"voice.unavailable": "\u7FFB\u8A33\u30B5\u30FC\u30D3\u30B9\u306F\u5229\u7528\u3067\u304D\u307E\u305B\u3093",
|
|
439
|
+
"voice.unsupported": "\u4FDD\u5B58\u3055\u308C\u305F\u8A00\u8A9E\u306B\u306F\u5BFE\u5FDC\u3057\u3066\u3044\u307E\u305B\u3093\u3002\u8A8D\u8B58\u8A00\u8A9E\u307E\u305F\u306F\u7FFB\u8A33\u8A00\u8A9E\u3092\u9078\u629E\u3057\u76F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
440
|
+
"voice.pending": "{name}\uFF08\u672A\u5BFE\u5FDC\uFF09",
|
|
441
|
+
"voice.recognitionPending": "{name}\uFF08\u8A8D\u8B58\u672A\u5BFE\u5FDC\uFF09",
|
|
442
|
+
"keys.dpi": "DPI \u30DC\u30BF\u30F3",
|
|
443
|
+
"keys.dpiHelp": "\u30DD\u30A4\u30F3\u30BF\u30FC\u306E\u611F\u5EA6\u3092\u8ABF\u6574\u3057\u307E\u3059",
|
|
444
|
+
"keys.dpiFailed": "DPI \u3092\u9069\u7528\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u9078\u629E\u3057\u76F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
445
|
+
"keys.m": "M \u30DC\u30BF\u30F3",
|
|
446
|
+
"keys.mHelp": "\u30DE\u30A6\u30B9\u306E\u591A\u6A5F\u80FD\u30DC\u30BF\u30F3",
|
|
447
|
+
"keys.mAction": "M \u30DC\u30BF\u30F3\u306E\u52D5\u4F5C",
|
|
448
|
+
"keys.enter": "Enter",
|
|
449
|
+
"keys.backspace": "Backspace",
|
|
450
|
+
"keys.link": "\u30AF\u30A4\u30C3\u30AF\u30EA\u30F3\u30AF",
|
|
451
|
+
"keys.linkUrl": "\u30AF\u30A4\u30C3\u30AF\u30EA\u30F3\u30AF URL",
|
|
452
|
+
"keys.searchEngine": "\u691C\u7D22\u30A8\u30F3\u30B8\u30F3",
|
|
453
|
+
"keys.speech": "\u97F3\u58F0\u30DC\u30BF\u30F3",
|
|
454
|
+
"keys.speechAction": "\u97F3\u58F0\u30DC\u30BF\u30F3\u306E\u52D5\u4F5C",
|
|
455
|
+
"keys.speechHelp": "\u9577\u62BC\u3057\u3067\u97F3\u58F0\u5165\u529B\u30FB\u7FFB\u8A33\u3001\u96E2\u3059\u3068\u30D5\u30A9\u30FC\u30AB\u30B9\u4E2D\u306E\u5165\u529B\u6B04\u306B\u633F\u5165\u3057\u307E\u3059\u3002",
|
|
456
|
+
"keys.ai": "AI \u30DC\u30BF\u30F3",
|
|
457
|
+
"keys.aiHelp": "\u9577\u62BC\u3057\u3067\u97F3\u58F0\u5165\u529B\u3001\u96E2\u3059\u3068 AI \u30C1\u30E3\u30C3\u30C8\u306E\u5165\u529B\u6B04\u306B\u633F\u5165\u3057\u307E\u3059\u3002",
|
|
458
|
+
"keys.autoSend": "\u81EA\u52D5\u9001\u4FE1",
|
|
459
|
+
"permission.typing": "\u5165\u529B\u6A29\u9650",
|
|
460
|
+
"permission.screenshot": "\u30B9\u30AF\u30EA\u30FC\u30F3\u30B7\u30E7\u30C3\u30C8\u6A29\u9650",
|
|
461
|
+
"permission.accessibility": "\u30A2\u30AF\u30BB\u30B7\u30D3\u30EA\u30C6\u30A3",
|
|
462
|
+
"permission.screen": "\u753B\u9762\u53CE\u9332",
|
|
463
|
+
"permission.granted": "\u8A31\u53EF\u6E08\u307F",
|
|
464
|
+
"permission.missing": "\u672A\u8A31\u53EF",
|
|
465
|
+
"permission.typingHelp": "\u30C7\u30B9\u30AF\u30C8\u30C3\u30D7\u30A2\u30D7\u30EA\u3078\u306E\u6587\u5B57\u5165\u529B\u306B\u5FC5\u8981\u3067\u3059\u3002\u672A\u8A31\u53EF\u3067\u3082\u8A8D\u8B58\u30FB\u30B3\u30D4\u30FC\u306F\u5229\u7528\u3067\u304D\u307E\u3059\u3002",
|
|
466
|
+
"permission.grantTyping": "\u5165\u529B\u306E\u30A2\u30AF\u30BB\u30B7\u30D3\u30EA\u30C6\u30A3\u3092\u8A31\u53EF",
|
|
467
|
+
"permission.checkTyping": "\u5165\u529B\u6A29\u9650\u3092\u518D\u78BA\u8A8D",
|
|
468
|
+
"permission.checkScreenshot": "\u30B9\u30AF\u30EA\u30FC\u30F3\u30B7\u30E7\u30C3\u30C8\u6A29\u9650\u3092\u518D\u78BA\u8A8D",
|
|
469
|
+
"permission.checking": "\u78BA\u8A8D\u4E2D\u2026",
|
|
470
|
+
"permission.recheck": "\u518D\u78BA\u8A8D",
|
|
471
|
+
"permission.location": "{helper} \u304C\u898B\u3064\u304B\u3089\u306A\u3044\u5834\u5408\u306F\u4FDD\u5B58\u5834\u6240\u3092\u78BA\u8A8D",
|
|
472
|
+
"permission.pathHelp": "\u30B7\u30B9\u30C6\u30E0\u306E\u6A29\u9650\u4E00\u89A7\u306B\u624B\u52D5\u3067\u8FFD\u52A0\u3059\u308B\u5834\u5408\u306F\u3001\u4EE5\u4E0B\u306E\u5834\u6240\u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044\uFF1A",
|
|
473
|
+
"permission.ready": "{helper} \u306E\u30B9\u30AF\u30EA\u30FC\u30F3\u30B7\u30E7\u30C3\u30C8\u6A29\u9650\u306F\u8A2D\u5B9A\u6E08\u307F\u3067\u3059\u3002",
|
|
474
|
+
"permission.grantHelp": "\u30B9\u30AF\u30EA\u30FC\u30F3\u30B7\u30E7\u30C3\u30C8\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8 {helper} \u306B\u6A29\u9650\u3092\u8A31\u53EF\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
475
|
+
"permission.screenState": "\u753B\u9762\u53CE\u9332\uFF1A{state}\uFF08\u30B9\u30AF\u30EA\u30FC\u30F3\u30B7\u30E7\u30C3\u30C8\u306B\u5FC5\u8981\uFF09",
|
|
476
|
+
"permission.accessState": "\u30A2\u30AF\u30BB\u30B7\u30D3\u30EA\u30C6\u30A3\uFF1A{state}\uFF08\u81EA\u52D5\u30B9\u30AF\u30ED\u30FC\u30EB\u7528\u3002\u901A\u5E38\u306E\u64AE\u5F71\u30FB\u624B\u52D5\u30B9\u30AF\u30ED\u30FC\u30EB\u306B\u306F\u4E0D\u8981\uFF09",
|
|
477
|
+
"permission.grantScreen": "\u753B\u9762\u53CE\u9332\u3092\u8A31\u53EF",
|
|
478
|
+
"permission.grantAccess": "\u30A2\u30AF\u30BB\u30B7\u30D3\u30EA\u30C6\u30A3\u3092\u8A31\u53EF",
|
|
479
|
+
"screenshot.title": "\u30B9\u30AF\u30EA\u30FC\u30F3\u30B7\u30E7\u30C3\u30C8",
|
|
480
|
+
"screenshot.start": "\u30B9\u30AF\u30EA\u30FC\u30F3\u30B7\u30E7\u30C3\u30C8\u3092\u64AE\u308B",
|
|
481
|
+
"screenshot.starting": "\u8D77\u52D5\u4E2D\u2026",
|
|
482
|
+
"screenshot.permissionHelp": "\u521D\u56DE\u64AE\u5F71\u524D\u306B\u753B\u9762\u53CE\u9332\u3092\u8A31\u53EF\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u8A31\u53EF\u4E2D\u306F\u64AE\u5F71\u753B\u9762\u3092\u8868\u793A\u3057\u307E\u305B\u3093\u3002",
|
|
483
|
+
"screenshot.help": "\u30DC\u30BF\u30F3\u307E\u305F\u306F\u30DE\u30A6\u30B9\u306E\u64AE\u5F71\u30AD\u30FC\u3092\u62BC\u3057\u3001\u7BC4\u56F2\u3092\u9078\u629E\u3057\u3066\u6CE8\u91C8\u30FB\u30B3\u30D4\u30FC\u30FB\u4FDD\u5B58\u30FB\u30D4\u30F3\u7559\u3081\u3092\u884C\u3044\u307E\u3059\u3002",
|
|
484
|
+
"error.generic": "\u64CD\u4F5C\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002\u518D\u8A66\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
485
|
+
"error.connection": "\u30B5\u30FC\u30D3\u30B9\u306B\u63A5\u7D9A\u3067\u304D\u307E\u305B\u3093\u3002\u30CD\u30C3\u30C8\u30EF\u30FC\u30AF\u3092\u78BA\u8A8D\u3057\u3066\u518D\u8A66\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
486
|
+
"error.timeout": "\u30B5\u30FC\u30D3\u30B9\u304C\u30BF\u30A4\u30E0\u30A2\u30A6\u30C8\u3057\u307E\u3057\u305F\u3002\u518D\u8A66\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
487
|
+
"error.auth": "\u30C7\u30D0\u30A4\u30B9\u8A8D\u8A3C\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002\u30DE\u30A6\u30B9\u3092\u518D\u63A5\u7D9A\u3059\u308B\u304B\u30B5\u30DD\u30FC\u30C8\u306B\u304A\u554F\u3044\u5408\u308F\u305B\u304F\u3060\u3055\u3044\u3002",
|
|
488
|
+
"error.quota": "\u30B5\u30FC\u30D3\u30B9\u306E\u5229\u7528\u67A0\u304C\u4E0D\u8DB3\u3057\u3066\u3044\u307E\u3059\u3002\u30B5\u30DD\u30FC\u30C8\u306B\u304A\u554F\u3044\u5408\u308F\u305B\u304F\u3060\u3055\u3044\u3002",
|
|
489
|
+
"error.busy": "\u5225\u306E\u64CD\u4F5C\u304C\u9032\u884C\u4E2D\u3067\u3059\u3002\u5B8C\u4E86\u5F8C\u306B\u518D\u8A66\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
490
|
+
"error.device": "\u30C7\u30D0\u30A4\u30B9\u304C\u672A\u63A5\u7D9A\u307E\u305F\u306F\u672A\u78BA\u8A8D\u3067\u3059\u3002\u30DE\u30A6\u30B9\u3092\u518D\u63A5\u7D9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
491
|
+
"error.sdk": "\u30DE\u30A6\u30B9 SDK \u3092\u5229\u7528\u3067\u304D\u307E\u305B\u3093\u3002\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u3068\u30B7\u30B9\u30C6\u30E0\u69CB\u6210\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
492
|
+
"error.audio": "\u97F3\u58F0\u30C7\u30FC\u30BF\u304C\u7121\u52B9\u3001\u6B20\u843D\u3001\u307E\u305F\u306F\u51E6\u7406\u304C\u9045\u308C\u3066\u3044\u307E\u3059\u3002\u9332\u97F3\u3057\u76F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
493
|
+
"error.noSpeech": "\u97F3\u58F0\u3092\u8A8D\u8B58\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u9332\u97F3\u3057\u76F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
494
|
+
"error.duration": "\u9332\u97F3\u306F\u6700\u5927 10 \u5206\u3067\u3059\u3002",
|
|
495
|
+
"error.language": "\u8A00\u8A9E\u304C\u5229\u7528\u3067\u304D\u306A\u3044\u304B\u672A\u8A2D\u5B9A\u3067\u3059\u3002\u5BFE\u5FDC\u8A00\u8A9E\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
496
|
+
"error.translation": "\u7FFB\u8A33\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002\u539F\u6587\u3092\u30B3\u30D4\u30FC\u3057\u3066\u518D\u8A66\u884C\u3067\u304D\u307E\u3059\u3002",
|
|
497
|
+
"error.translationLength": "\u7FFB\u8A33\u6587\u304C 5,000 \u6587\u5B57\u3092\u8D85\u3048\u3066\u3044\u307E\u3059\u3002\u539F\u6587\u3092\u30B3\u30D4\u30FC\u3067\u304D\u307E\u3059\u3002",
|
|
498
|
+
"error.sameLanguage": "\u7FFB\u8A33\u5143\u3068\u7FFB\u8A33\u5148\u306F\u7570\u306A\u308B\u8A00\u8A9E\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
499
|
+
"error.url": "\u6709\u52B9\u306A HTTP/HTTPS URL \u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\uFF084,096 \u6587\u5B57\u4EE5\u5185\u3001\u8A8D\u8A3C\u60C5\u5831\u30FB\u7A7A\u767D\u306A\u3057\uFF09\u3002",
|
|
500
|
+
"error.settings": "\u8A2D\u5B9A\u304C\u7121\u52B9\u307E\u305F\u306F\u5909\u66F4\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u9078\u629E\u3057\u76F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
501
|
+
"error.notSaved": "\u672A\u4FDD\u5B58\uFF1A{reason} \u4FDD\u5B58\u6E08\u307F\u306E\u8A2D\u5B9A\u3092\u4F7F\u7528\u3057\u307E\u3059\u3002",
|
|
502
|
+
"settings.linkSaved": "\u30EA\u30F3\u30AF\u3092\u4FDD\u5B58\u30FB\u9069\u7528\u3057\u307E\u3057\u305F",
|
|
503
|
+
"settings.saved": "\u4FDD\u5B58\u6E08\u307F",
|
|
504
|
+
"settings.savedOffline": "\u4FDD\u5B58\u3057\u307E\u3057\u305F\u3002\u9069\u7528\u3059\u308B\u306B\u306F\u30C7\u30D0\u30A4\u30B9\u3092\u518D\u63A5\u7D9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
505
|
+
"settings.savedDpi": "\u8A2D\u5B9A\u3092\u4FDD\u5B58\u3057\u307E\u3057\u305F\u3002{reason}",
|
|
506
|
+
"settings.dpiSent": "DPI \u30B3\u30DE\u30F3\u30C9\u9001\u4FE1\u6E08\u307F\uFF08\u30C7\u30D0\u30A4\u30B9\u304B\u3089\u9069\u7528\u78BA\u8A8D\u306F\u8FD4\u308A\u307E\u305B\u3093\uFF09",
|
|
507
|
+
"error.action": "\u30B7\u30B9\u30C6\u30E0\u64CD\u4F5C\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002\u30A2\u30AF\u30BB\u30B7\u30D3\u30EA\u30C6\u30A3\u6A29\u9650\u3068\u30DB\u30B9\u30C8\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
508
|
+
"error.browser": "\u30D6\u30E9\u30A6\u30B6\u30FC\u3092\u958B\u3051\u307E\u305B\u3093\u3002\u65E2\u5B9A\u306E\u30D6\u30E9\u30A6\u30B6\u30FC\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
509
|
+
"error.closed": "\u30B5\u30FC\u30D3\u30B9\u306F\u7D42\u4E86\u3057\u3066\u3044\u307E\u3059\u3002\u30D7\u30E9\u30B0\u30A4\u30F3\u3092\u518D\u5EA6\u6709\u52B9\u306B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
510
|
+
"error.panel": "\u97F3\u58F0\u30D1\u30CD\u30EB\u3092\u5229\u7528\u3067\u304D\u307E\u305B\u3093\u3002\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u3092\u78BA\u8A8D\u3057\u3066\u518D\u8A66\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
511
|
+
"error.screenshot": "\u64AE\u5F71\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u3068\u30B7\u30B9\u30C6\u30E0\u6A29\u9650\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
512
|
+
"error.screenPermission": "screenhelper \u306B\u753B\u9762\u53CE\u9332\u3092\u8A31\u53EF\u3057\u3066\u518D\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
513
|
+
"error.screenshotBusy": "\u64AE\u5F71\u3092\u5B8C\u4E86\u3059\u308B\u304B\u30D4\u30F3\u7559\u3081\u753B\u50CF\u3092\u9589\u3058\u3066\u518D\u8A66\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
514
|
+
"error.permission": "\u6A29\u9650\u306E\u78BA\u8A8D\u30FB\u8981\u6C42\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002\u518D\u8A66\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
515
|
+
"permission.requested": "\u30B7\u30B9\u30C6\u30E0\u30C0\u30A4\u30A2\u30ED\u30B0\u307E\u305F\u306F\u300C\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u3068\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u300D\u3067 {helper} \u3092\u8A31\u53EF\u3057\u3001\u518D\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u5FC5\u8981\u306A\u3089\u518D\u8D77\u52D5\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
516
|
+
"permission.pending": "\u5FC5\u8981\u306A\u6A29\u9650\u304C\u3042\u308A\u307E\u305B\u3093\u3002\u8A31\u53EF\u6E08\u307F\u306A\u3089\u6307\u793A\u306B\u5F93\u3063\u3066\u518D\u8D77\u52D5\u3057\u3001\u518D\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
517
|
+
"permission.firstUse": "macOS \u3067\u521D\u3081\u3066\u4F7F\u3046\u5834\u5408\u306F\u3001Sonicloud \u30C7\u30D0\u30A4\u30B9\u3067\u5FC5\u8981\u306A\u6A29\u9650\u3092\u8A31\u53EF\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
518
|
+
"status.connecting": "\u30C7\u30D0\u30A4\u30B9\u30B5\u30FC\u30D3\u30B9\u306B\u63A5\u7D9A\u4E2D\u2026",
|
|
519
|
+
"status.reconnecting": "\u30C7\u30D0\u30A4\u30B9\u30B5\u30FC\u30D3\u30B9\u304C\u5207\u65AD\u3055\u308C\u307E\u3057\u305F\u3002\u518D\u63A5\u7D9A\u4E2D\u2026",
|
|
520
|
+
"status.connected": "\u30C7\u30D0\u30A4\u30B9\u63A5\u7D9A\u6E08\u307F",
|
|
521
|
+
"status.searching": "\u30B9\u30DE\u30FC\u30C8\u30DE\u30A6\u30B9\u3092\u691C\u7D22\u4E2D\u3067\u3059\u30022.4G \u30EC\u30B7\u30FC\u30D0\u30FC\u307E\u305F\u306F Bluetooth \u3092\u63A5\u7D9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
522
|
+
"status.receiver": "2.4G \u30EC\u30B7\u30FC\u30D0\u30FC\u3092\u691C\u51FA\u3057\u307E\u3057\u305F\u3002\u30DE\u30A6\u30B9\u3092\u30AA\u30F3\u306B\u3057\u30012.4G \u30E2\u30FC\u30C9\u306B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
523
|
+
"status.occupied": "USB \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30FC\u30B9\u3092 {names} \u304C\u4F7F\u7528\u4E2D\u3067\u3059\u3002\u7D42\u4E86\u3059\u308B\u3068\u81EA\u52D5\u3067\u518D\u63A5\u7D9A\u3057\u307E\u3059\u3002",
|
|
524
|
+
"error.ai": "AI \u30C1\u30E3\u30C3\u30C8\u3092\u4F5C\u6210\u30FB\u5165\u529B\u30FB\u9001\u4FE1\u3067\u304D\u307E\u305B\u3093\u3002\u7D50\u679C\u3092\u30B3\u30D4\u30FC\u3067\u304D\u307E\u3059\u3002",
|
|
525
|
+
"error.aiWindow": "\u30A6\u30A3\u30F3\u30C9\u30A6\u3092\u8868\u793A\u3067\u304D\u307E\u305B\u3093\u3002\u30C1\u30E3\u30C3\u30C8\u306E\u4E0B\u66F8\u304D\u306B\u5165\u529B\u6E08\u307F\u3067\u3001\u30B3\u30D4\u30FC\u3067\u304D\u307E\u3059\u3002",
|
|
526
|
+
"panel.title": "Sonicloud \u97F3\u58F0",
|
|
527
|
+
"panel.result": "\u97F3\u58F0\u8A8D\u8B58\u7D50\u679C",
|
|
528
|
+
"panel.processing": "\u97F3\u58F0\u51E6\u7406\u4E2D",
|
|
529
|
+
"panel.finishing": "\u51E6\u7406\u4E2D\u2026",
|
|
530
|
+
"panel.translating": "\u7FFB\u8A33\u4E2D\u2026",
|
|
531
|
+
"panel.copy": "\u7D50\u679C\u3092\u30B3\u30D4\u30FC",
|
|
532
|
+
"panel.copied": "\u30B3\u30D4\u30FC\u6E08\u307F",
|
|
533
|
+
"panel.copyFailed": "\u30B3\u30D4\u30FC\u5931\u6557",
|
|
534
|
+
"panel.cancel": "\u30AD\u30E3\u30F3\u30BB\u30EB",
|
|
535
|
+
"panel.close": "\u9589\u3058\u308B",
|
|
536
|
+
"panel.submit": "\u30C6\u30AD\u30B9\u30C8\u3092\u5165\u529B",
|
|
537
|
+
"panel.openInput": "\u5165\u529B\u5148\u3092\u958B\u3044\u3066\u304F\u3060\u3055\u3044",
|
|
538
|
+
"panel.noText": "\u5165\u529B\u3059\u308B\u30C6\u30AD\u30B9\u30C8\u304C\u3042\u308A\u307E\u305B\u3093",
|
|
539
|
+
"panel.permission": "\u5165\u529B\u3059\u308B\u306B\u306F\u30A2\u30AF\u30BB\u30B7\u30D3\u30EA\u30C6\u30A3\u3092\u8A31\u53EF\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u7D50\u679C\u306F\u30B3\u30D4\u30FC\u3067\u304D\u307E\u3059\u3002",
|
|
540
|
+
"panel.targetChanged": "\u5165\u529B\u5148\u304C\u5909\u66F4\u3055\u308C\u305F\u304B\u5165\u529B\u975E\u5BFE\u5FDC\u3067\u3059\u3002\u7D50\u679C\u3092\u30B3\u30D4\u30FC\u3067\u304D\u307E\u3059\u3002",
|
|
541
|
+
"panel.notInserted": "\u5165\u529B\u3067\u304D\u307E\u305B\u3093\uFF1A{reason}\u3002\u7D50\u679C\u3092\u30B3\u30D4\u30FC\u3067\u304D\u307E\u3059\u3002",
|
|
542
|
+
"panel.typingUnavailable": "\u5165\u529B\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u3092\u5229\u7528\u3067\u304D\u307E\u305B\u3093",
|
|
543
|
+
"panel.password": "\u5165\u529B\u5148\u306F\u30D1\u30B9\u30EF\u30FC\u30C9\u6B04\u3067\u3059",
|
|
544
|
+
"panel.invalidText": "\u975E\u5BFE\u5FDC\u306E\u6587\u5B57\u304C\u542B\u307E\u308C\u3066\u3044\u307E\u3059",
|
|
545
|
+
"panel.denied": "\u5165\u529B\u5148\u304C\u7591\u4F3C\u5165\u529B\u3092\u62D2\u5426\u3057\u307E\u3057\u305F",
|
|
546
|
+
"panel.interrupted": "\u5165\u529B\u30BB\u30C3\u30B7\u30E7\u30F3\u304C\u4E2D\u65AD\u3055\u308C\u307E\u3057\u305F",
|
|
547
|
+
"panel.queueFull": "\u5165\u529B\u51E6\u7406\u304C\u591A\u3059\u304E\u307E\u3059\u3002\u304A\u5F85\u3061\u304F\u3060\u3055\u3044\u3002",
|
|
548
|
+
"panel.typingError": "\u5165\u529B\u5931\u6557\uFF08\u30B3\u30FC\u30C9 {code}\uFF09",
|
|
549
|
+
"device.count.few": "{count} \u53F0\u306E\u30C7\u30D0\u30A4\u30B9\u304C\u63A5\u7D9A\u6E08\u307F \xB7 \u30C7\u30D0\u30A4\u30B9\u3054\u3068\u306B\u8A2D\u5B9A",
|
|
550
|
+
"device.count.many": "{count} \u53F0\u306E\u30C7\u30D0\u30A4\u30B9\u304C\u63A5\u7D9A\u6E08\u307F \xB7 \u30C7\u30D0\u30A4\u30B9\u3054\u3068\u306B\u8A2D\u5B9A",
|
|
551
|
+
"language.mandarin": "\u6A19\u6E96\u4E2D\u56FD\u8A9E",
|
|
552
|
+
"language.traditional": "\u6A19\u6E96\u4E2D\u56FD\u8A9E\uFF08\u7E41\u4F53\u5B57\uFF09",
|
|
553
|
+
"language.dialect": "{name} \u65B9\u8A00",
|
|
554
|
+
"warning.lowBalance": "\u97F3\u58F0\u8A8D\u8B58\u306E\u6B8B\u9AD8\u304C\u5C11\u306A\u304F\u306A\u3063\u3066\u3044\u307E\u3059\u3002\u30C1\u30E3\u30FC\u30B8\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
555
|
+
"error.workspace": "\u5229\u7528\u53EF\u80FD\u306A\u30EF\u30FC\u30AF\u30B9\u30DA\u30FC\u30B9\u304C\u3042\u308A\u307E\u305B\u3093\u3002",
|
|
556
|
+
"error.cancelled": "\u97F3\u58F0\u30BB\u30C3\u30B7\u30E7\u30F3\u306F\u30AD\u30E3\u30F3\u30BB\u30EB\u3055\u308C\u307E\u3057\u305F\u3002",
|
|
557
|
+
"error.deviceLimit": "\u30E9\u30A4\u30BB\u30F3\u30B9\u306E\u30C7\u30D0\u30A4\u30B9\u6570\u304C\u4E0A\u9650\u306B\u9054\u3057\u307E\u3057\u305F\u3002",
|
|
558
|
+
"error.screenshotExport": "\u30B9\u30AF\u30EA\u30FC\u30F3\u30B7\u30E7\u30C3\u30C8\u306E\u6587\u5B57\u8A8D\u8B58\u3068 Word \u51FA\u529B\u306F\u672A\u5BFE\u5FDC\u3067\u3059\u3002\u30B3\u30D4\u30FC\u3001\u4FDD\u5B58\u3001\u30D4\u30F3\u7559\u3081\u3092\u3054\u5229\u7528\u304F\u3060\u3055\u3044\u3002",
|
|
559
|
+
"shortcut.configure": "\u30B7\u30E7\u30FC\u30C8\u30AB\u30C3\u30C8\u3092\u8A2D\u5B9A",
|
|
560
|
+
"shortcut.title": "\u30B9\u30AF\u30EA\u30FC\u30F3\u30B7\u30E7\u30C3\u30C8\u306E\u30B7\u30E7\u30FC\u30C8\u30AB\u30C3\u30C8\u3092\u8A2D\u5B9A",
|
|
561
|
+
"shortcut.help": "\u30DE\u30A6\u30B9\u306E\u30AD\u30E3\u30D7\u30C1\u30E3\u30DC\u30BF\u30F3\u307E\u305F\u306F\u30B7\u30E7\u30FC\u30C8\u30AB\u30C3\u30C8\u3092\u62BC\u3057\u3001\u7BC4\u56F2\u3092\u9078\u629E\u3057\u3066\u6CE8\u91C8\u3001\u30B3\u30D4\u30FC\u3001\u4FDD\u5B58\u3001\u30D4\u30F3\u7559\u3081\u3092\u884C\u3044\u307E\u3059\u3002",
|
|
562
|
+
"shortcut.unset": "\u672A\u8A2D\u5B9A",
|
|
563
|
+
"shortcut.record": "\u30AD\u30FC\u306E\u7D44\u307F\u5408\u308F\u305B\u3092\u62BC\u3059",
|
|
564
|
+
"shortcut.recordHelp": "Command\u3001Ctrl\u3001Alt \u306A\u3069\u306E\u4FEE\u98FE\u30AD\u30FC\u30921\u3064\u4EE5\u4E0A\u542B\u3081\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
565
|
+
"shortcut.suggested": "\u63A8\u5968\u3059\u308B\u7D44\u307F\u5408\u308F\u305B {shortcut} \u3092\u4F7F\u7528",
|
|
566
|
+
"shortcut.clear": "\u89E3\u9664",
|
|
567
|
+
"shortcut.save": "\u4FDD\u5B58",
|
|
568
|
+
"shortcut.saving": "\u4FDD\u5B58\u4E2D\u2026",
|
|
569
|
+
"shortcut.invalid": "\u7121\u52B9\u3001\u307E\u305F\u306F\u30B7\u30B9\u30C6\u30E0\u3067\u4E88\u7D04\u6E08\u307F\u306E\u30B7\u30E7\u30FC\u30C8\u30AB\u30C3\u30C8\u3067\u3059",
|
|
570
|
+
"shortcut.unavailable": "\u3053\u306E\u74B0\u5883\u3067\u306F\u30B9\u30AF\u30EA\u30FC\u30F3\u30B7\u30E7\u30C3\u30C8\u306E\u30B7\u30E7\u30FC\u30C8\u30AB\u30C3\u30C8\u3092\u767B\u9332\u3067\u304D\u307E\u305B\u3093\u3002",
|
|
571
|
+
"shortcut.saveFailed": "\u30B7\u30E7\u30FC\u30C8\u30AB\u30C3\u30C8\u3092\u4FDD\u5B58\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u4EE5\u524D\u306E\u8A2D\u5B9A\u306F\u4FDD\u6301\u3055\u308C\u307E\u3059\u3002",
|
|
572
|
+
"shortcut.conflict": "\u3053\u306E\u30B7\u30E7\u30FC\u30C8\u30AB\u30C3\u30C8\u306F\u4F7F\u7528\u4E2D\u3067\u3059\u3002\u5225\u306E\u7D44\u307F\u5408\u308F\u305B\u3092\u9078\u3093\u3067\u304F\u3060\u3055\u3044\u3002",
|
|
573
|
+
"permission.system": "\u30B7\u30B9\u30C6\u30E0\u6A29\u9650",
|
|
574
|
+
"permission.intro": "\u521D\u56DE\u4F7F\u7528\u524D\u306B\u3001\u4EE5\u4E0B\u306E\u30B7\u30B9\u30C6\u30E0\u6A29\u9650\u3092\u8A31\u53EF\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
575
|
+
"permission.allGranted": "\u30B9\u30AF\u30EA\u30FC\u30F3\u30B7\u30E7\u30C3\u30C8\u3068\u30C6\u30AD\u30B9\u30C8\u5165\u529B\u306B\u5FC5\u8981\u306A\u6A29\u9650\u304C\u8A31\u53EF\u3055\u308C\u3066\u3044\u307E\u3059\u3002",
|
|
576
|
+
"permission.grant": "\u8A31\u53EF\u3059\u308B",
|
|
577
|
+
"permission.typingTitle": "\u30C6\u30AD\u30B9\u30C8\u5165\u529B",
|
|
578
|
+
"permission.screenTitle": "\u30B9\u30AF\u30EA\u30FC\u30F3\u30B7\u30E7\u30C3\u30C8",
|
|
579
|
+
"permission.scrollTitle": "\u81EA\u52D5\u30B9\u30AF\u30ED\u30FC\u30EB\u64AE\u5F71",
|
|
580
|
+
"permission.optional": "\u4EFB\u610F",
|
|
581
|
+
"permission.screenHelp": "\u30B9\u30AF\u30EA\u30FC\u30F3\u30B7\u30E7\u30C3\u30C8\u306B\u5FC5\u8981\u3067\u3059\u3002\u8A31\u53EF\u3055\u308C\u308B\u307E\u3067\u30AD\u30E3\u30D7\u30C1\u30E3\u306E\u30AA\u30FC\u30D0\u30FC\u30EC\u30A4\u306F\u8868\u793A\u3055\u308C\u307E\u305B\u3093\u3002",
|
|
582
|
+
"permission.scrollHelp": "\u672A\u8A31\u53EF\u3067\u3082\u901A\u5E38\u306E\u30B9\u30AF\u30EA\u30FC\u30F3\u30B7\u30E7\u30C3\u30C8\u3068\u624B\u52D5\u30B9\u30AF\u30ED\u30FC\u30EB\u306F\u5229\u7528\u3067\u304D\u307E\u3059\u3002",
|
|
583
|
+
"permission.locations": "\u6A29\u9650\u4E00\u89A7\u306B\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u304C\u3042\u308A\u307E\u305B\u3093\u304B\uFF1F\u5834\u6240\u3092\u8868\u793A",
|
|
584
|
+
"shortcut.autoSave": "\u8A2D\u5B9A\u306F\u81EA\u52D5\u4FDD\u5B58\u3055\u308C\u307E\u3059"
|
|
585
|
+
};
|
|
586
|
+
|
|
587
|
+
// src/shared/locales/es.json
|
|
588
|
+
var es_default = {
|
|
589
|
+
"app.title": "Dispositivos Sonicloud",
|
|
590
|
+
"app.plugin": "Rat\xF3n inteligente Sonicloud",
|
|
591
|
+
"app.sidebar": "Barra lateral",
|
|
592
|
+
"device.count.one": "{count} dispositivo conectado \xB7 Configura cada dispositivo",
|
|
593
|
+
"device.count.other": "{count} dispositivos conectados \xB7 Configura cada dispositivo",
|
|
594
|
+
"device.empty": "No hay dispositivos conectados",
|
|
595
|
+
"device.connect": "Conecta el receptor USB del rat\xF3n o empar\xE9jalo por Bluetooth.",
|
|
596
|
+
"device.mouse": "Rat\xF3n inteligente",
|
|
597
|
+
"device.generic": "Dispositivo",
|
|
598
|
+
"device.image": "Ilustraci\xF3n del rat\xF3n inteligente",
|
|
599
|
+
"device.previous": "Dispositivo anterior",
|
|
600
|
+
"device.next": "Siguiente dispositivo",
|
|
601
|
+
"device.switch": "Cambiar al dispositivo {index}",
|
|
602
|
+
"device.identity": "Identidad del dispositivo sin confirmar",
|
|
603
|
+
"device.identityHelp": "Vuelve a conectar el dispositivo para confirmar su identidad antes de configurarlo.",
|
|
604
|
+
"device.connection": "Conexi\xF3n",
|
|
605
|
+
"device.usb": "Receptor USB",
|
|
606
|
+
"device.bluetooth": "Bluetooth",
|
|
607
|
+
"device.battery": "Bater\xEDa",
|
|
608
|
+
"common.unknown": "Desconocido",
|
|
609
|
+
"device.unsupported": "No hay ajustes para este tipo de dispositivo.",
|
|
610
|
+
"common.choose": "Selecciona de nuevo",
|
|
611
|
+
"common.confirm": "Confirmar",
|
|
612
|
+
"common.reset": "Restaurar valores predeterminados",
|
|
613
|
+
"common.applying": "Aplicando\u2026",
|
|
614
|
+
"voice.input": "Escritura por voz",
|
|
615
|
+
"voice.translate": "Traducci\xF3n de voz",
|
|
616
|
+
"voice.search": "B\xFAsqueda por voz",
|
|
617
|
+
"voice.punctuation": "Puntuaci\xF3n",
|
|
618
|
+
"voice.recognition": "Idioma de reconocimiento",
|
|
619
|
+
"voice.from": "Idioma de origen",
|
|
620
|
+
"voice.to": "Idioma de destino",
|
|
621
|
+
"voice.unavailable": "El servicio de traducci\xF3n no est\xE1 disponible",
|
|
622
|
+
"voice.unsupported": "El idioma guardado ya no es compatible. Selecciona otro idioma de reconocimiento o traducci\xF3n.",
|
|
623
|
+
"voice.pending": "{name} (a\xFAn no compatible)",
|
|
624
|
+
"voice.recognitionPending": "{name} (reconocimiento no disponible)",
|
|
625
|
+
"keys.dpi": "Bot\xF3n DPI",
|
|
626
|
+
"keys.dpiHelp": "Ajusta la sensibilidad del puntero",
|
|
627
|
+
"keys.dpiFailed": "No se aplic\xF3 el DPI. Selecci\xF3nalo de nuevo.",
|
|
628
|
+
"keys.m": "Bot\xF3n M",
|
|
629
|
+
"keys.mHelp": "Bot\xF3n multifunci\xF3n del rat\xF3n",
|
|
630
|
+
"keys.mAction": "Acci\xF3n del bot\xF3n M",
|
|
631
|
+
"keys.enter": "Intro",
|
|
632
|
+
"keys.backspace": "Retroceso",
|
|
633
|
+
"keys.link": "Enlace r\xE1pido",
|
|
634
|
+
"keys.linkUrl": "URL del enlace r\xE1pido",
|
|
635
|
+
"keys.searchEngine": "Motor de b\xFAsqueda",
|
|
636
|
+
"keys.speech": "Bot\xF3n de voz",
|
|
637
|
+
"keys.speechAction": "Acci\xF3n del bot\xF3n de voz",
|
|
638
|
+
"keys.speechHelp": "Mant\xE9n pulsado para dictar o traducir; suelta para insertar en el campo activo.",
|
|
639
|
+
"keys.ai": "Bot\xF3n de IA",
|
|
640
|
+
"keys.aiHelp": "Mant\xE9n pulsado para dictar; suelta para rellenar el chat de IA.",
|
|
641
|
+
"keys.autoSend": "Env\xEDo autom\xE1tico",
|
|
642
|
+
"permission.typing": "Permisos de escritura",
|
|
643
|
+
"permission.screenshot": "Permisos de captura",
|
|
644
|
+
"permission.accessibility": "Accesibilidad",
|
|
645
|
+
"permission.screen": "Grabaci\xF3n de pantalla",
|
|
646
|
+
"permission.granted": "Concedido",
|
|
647
|
+
"permission.missing": "Sin conceder",
|
|
648
|
+
"permission.typingHelp": "Necesario para insertar texto en aplicaciones. Sin permiso a\xFAn puedes reconocer y copiar texto.",
|
|
649
|
+
"permission.grantTyping": "Permitir accesibilidad para escribir",
|
|
650
|
+
"permission.checkTyping": "Revisar permisos de escritura",
|
|
651
|
+
"permission.checkScreenshot": "Revisar permisos de captura",
|
|
652
|
+
"permission.checking": "Comprobando\u2026",
|
|
653
|
+
"permission.recheck": "Volver a comprobar",
|
|
654
|
+
"permission.location": "Ver ubicaci\xF3n si no encuentras {helper}",
|
|
655
|
+
"permission.pathHelp": "Usa esta ubicaci\xF3n para a\xF1adir el componente a los permisos del sistema:",
|
|
656
|
+
"permission.ready": "Los permisos de captura de {helper} est\xE1n listos.",
|
|
657
|
+
"permission.grantHelp": "Concede permisos al componente de captura {helper}.",
|
|
658
|
+
"permission.screenState": "Grabaci\xF3n de pantalla: {state} (necesaria para capturas)",
|
|
659
|
+
"permission.accessState": "Accesibilidad: {state} (opcional para desplazamiento autom\xE1tico; capturas normales y desplazamiento manual disponibles)",
|
|
660
|
+
"permission.grantScreen": "Permitir grabaci\xF3n de pantalla",
|
|
661
|
+
"permission.grantAccess": "Permitir accesibilidad",
|
|
662
|
+
"screenshot.title": "Captura de pantalla",
|
|
663
|
+
"screenshot.start": "Tomar captura",
|
|
664
|
+
"screenshot.starting": "Iniciando\u2026",
|
|
665
|
+
"screenshot.permissionHelp": "Permite la grabaci\xF3n de pantalla antes de la primera captura. No se mostrar\xE1 la superposici\xF3n durante la autorizaci\xF3n.",
|
|
666
|
+
"screenshot.help": "Pulsa aqu\xED o el bot\xF3n de captura del rat\xF3n, selecciona un \xE1rea y anota, copia, guarda o fija.",
|
|
667
|
+
"error.generic": "La operaci\xF3n fall\xF3. Int\xE9ntalo de nuevo.",
|
|
668
|
+
"error.connection": "La conexi\xF3n al servicio fall\xF3 o se interrumpi\xF3. Revisa la red e int\xE9ntalo de nuevo.",
|
|
669
|
+
"error.timeout": "El servicio agot\xF3 el tiempo de espera. Int\xE9ntalo de nuevo.",
|
|
670
|
+
"error.auth": "Fall\xF3 la autorizaci\xF3n. Reconecta el rat\xF3n o contacta con soporte.",
|
|
671
|
+
"error.quota": "Cuota del servicio agotada. Contacta con soporte.",
|
|
672
|
+
"error.busy": "Hay otra operaci\xF3n en curso. Term\xEDnala e int\xE9ntalo de nuevo.",
|
|
673
|
+
"error.device": "Dispositivo desconectado o sin identificar. Reconecta el rat\xF3n.",
|
|
674
|
+
"error.sdk": "SDK del rat\xF3n no disponible. Revisa la instalaci\xF3n y la arquitectura del sistema.",
|
|
675
|
+
"error.audio": "Audio no v\xE1lido, perdido o demasiado lento. Vuelve a grabar.",
|
|
676
|
+
"error.noSpeech": "No se reconoci\xF3 voz. Vuelve a grabar.",
|
|
677
|
+
"error.duration": "La grabaci\xF3n se limita a 10 minutos.",
|
|
678
|
+
"error.language": "Idioma no disponible o sin asignaci\xF3n. Selecciona un idioma compatible.",
|
|
679
|
+
"error.translation": "La traducci\xF3n fall\xF3. Copia el original e int\xE9ntalo de nuevo.",
|
|
680
|
+
"error.translationLength": "El texto supera los 5000 caracteres. Puedes copiar el original.",
|
|
681
|
+
"error.sameLanguage": "Los idiomas de origen y destino deben ser distintos.",
|
|
682
|
+
"error.url": "Introduce una URL HTTP/HTTPS v\xE1lida (m\xE1ximo 4096 caracteres, sin credenciales ni espacios).",
|
|
683
|
+
"error.settings": "Los ajustes no son v\xE1lidos o han cambiado. Selecci\xF3nalos de nuevo.",
|
|
684
|
+
"error.notSaved": "No guardado: {reason} Se mantienen los ajustes anteriores.",
|
|
685
|
+
"settings.linkSaved": "Enlace guardado y aplicado",
|
|
686
|
+
"settings.saved": "Guardado",
|
|
687
|
+
"settings.savedOffline": "Guardado. Reconecta el dispositivo para aplicar.",
|
|
688
|
+
"settings.savedDpi": "Ajustes guardados. {reason}",
|
|
689
|
+
"settings.dpiSent": "Comando DPI enviado (el dispositivo no confirma la aplicaci\xF3n)",
|
|
690
|
+
"error.action": "Fall\xF3 la acci\xF3n del sistema. Revisa la accesibilidad y el anfitri\xF3n.",
|
|
691
|
+
"error.browser": "No se pudo abrir el navegador. Revisa el navegador predeterminado.",
|
|
692
|
+
"error.closed": "Servicio cerrado. Vuelve a activar el complemento.",
|
|
693
|
+
"error.panel": "Panel de voz no disponible. Revisa la instalaci\xF3n e int\xE9ntalo de nuevo.",
|
|
694
|
+
"error.screenshot": "La captura fall\xF3. Revisa la instalaci\xF3n y los permisos del sistema.",
|
|
695
|
+
"error.screenPermission": "Permite la grabaci\xF3n de pantalla a screenhelper y comprueba de nuevo.",
|
|
696
|
+
"error.screenshotBusy": "Termina la captura o cierra las im\xE1genes fijadas e int\xE9ntalo de nuevo.",
|
|
697
|
+
"error.permission": "Fall\xF3 la comprobaci\xF3n o solicitud de permisos. Int\xE9ntalo de nuevo.",
|
|
698
|
+
"permission.requested": "Autoriza {helper} en el di\xE1logo del sistema o Privacidad y seguridad y vuelve a comprobar. Reinicia si se solicita.",
|
|
699
|
+
"permission.pending": "Faltan permisos. Si acabas de concederlos, reinicia seg\xFAn las indicaciones y comprueba de nuevo.",
|
|
700
|
+
"permission.firstUse": "Al usar macOS por primera vez, abre Dispositivos Sonicloud y concede los permisos necesarios.",
|
|
701
|
+
"status.connecting": "Conectando al servicio\u2026",
|
|
702
|
+
"status.reconnecting": "Servicio desconectado. Reconectando\u2026",
|
|
703
|
+
"status.connected": "Dispositivo conectado",
|
|
704
|
+
"status.searching": "Buscando un rat\xF3n. Conecta un receptor 2.4G o Bluetooth.",
|
|
705
|
+
"status.receiver": "Receptor 2.4G detectado. Enciende el rat\xF3n y selecciona el modo 2.4G.",
|
|
706
|
+
"status.occupied": "{names} est\xE1 usando la interfaz USB. Ci\xE9rralo; se reintentar\xE1 la conexi\xF3n autom\xE1ticamente.",
|
|
707
|
+
"error.ai": "No se pudo crear, rellenar o enviar el chat de IA. Puedes copiar el resultado.",
|
|
708
|
+
"error.aiWindow": "La ventana no se abri\xF3. El texto est\xE1 en el borrador y se puede copiar.",
|
|
709
|
+
"panel.title": "Voz Sonicloud",
|
|
710
|
+
"panel.result": "Resultado del reconocimiento",
|
|
711
|
+
"panel.processing": "Procesando voz",
|
|
712
|
+
"panel.finishing": "Finalizando\u2026",
|
|
713
|
+
"panel.translating": "Traduciendo\u2026",
|
|
714
|
+
"panel.copy": "Copiar resultado",
|
|
715
|
+
"panel.copied": "Copiado",
|
|
716
|
+
"panel.copyFailed": "Error al copiar",
|
|
717
|
+
"panel.cancel": "Cancelar",
|
|
718
|
+
"panel.close": "Cerrar",
|
|
719
|
+
"panel.submit": "Insertar texto",
|
|
720
|
+
"panel.openInput": "Abre el campo de destino",
|
|
721
|
+
"panel.noText": "No hay texto para insertar",
|
|
722
|
+
"panel.permission": "Permite la accesibilidad para insertar texto o copia el resultado.",
|
|
723
|
+
"panel.targetChanged": "El destino cambi\xF3 o no admite escritura. Copia el resultado.",
|
|
724
|
+
"panel.notInserted": "No insertado: {reason}. Puedes copiar el resultado.",
|
|
725
|
+
"panel.typingUnavailable": "Componente de escritura no disponible",
|
|
726
|
+
"panel.password": "El destino es un campo de contrase\xF1a",
|
|
727
|
+
"panel.invalidText": "El texto contiene caracteres no compatibles",
|
|
728
|
+
"panel.denied": "La ventana rechaz\xF3 la entrada simulada",
|
|
729
|
+
"panel.interrupted": "Sesi\xF3n de escritura interrumpida",
|
|
730
|
+
"panel.queueFull": "Demasiadas tareas de escritura. Espera.",
|
|
731
|
+
"panel.typingError": "Error de escritura (c\xF3digo {code})",
|
|
732
|
+
"device.count.few": "{count} dispositivos conectados \xB7 Configura cada dispositivo",
|
|
733
|
+
"device.count.many": "{count} dispositivos conectados \xB7 Configura cada dispositivo",
|
|
734
|
+
"language.mandarin": "Mandar\xEDn",
|
|
735
|
+
"language.traditional": "Mandar\xEDn (tradicional)",
|
|
736
|
+
"language.dialect": "Dialecto {name}",
|
|
737
|
+
"warning.lowBalance": "El saldo de ASR es bajo. Rec\xE1rgalo pronto.",
|
|
738
|
+
"error.workspace": "No hay ning\xFAn espacio de trabajo disponible.",
|
|
739
|
+
"error.cancelled": "Se cancel\xF3 la sesi\xF3n de voz.",
|
|
740
|
+
"error.deviceLimit": "Se alcanz\xF3 el l\xEDmite de dispositivos de la licencia.",
|
|
741
|
+
"error.screenshotExport": "El OCR de capturas y la exportaci\xF3n a Word no est\xE1n disponibles. Usa copiar, guardar o fijar.",
|
|
742
|
+
"shortcut.configure": "Configurar atajo",
|
|
743
|
+
"shortcut.title": "Configurar atajo de captura",
|
|
744
|
+
"shortcut.help": "Pulsa el bot\xF3n de captura del rat\xF3n o el atajo y selecciona una regi\xF3n para anotar, copiar, guardar o fijar.",
|
|
745
|
+
"shortcut.unset": "Sin configurar",
|
|
746
|
+
"shortcut.record": "Pulsa una combinaci\xF3n de teclas",
|
|
747
|
+
"shortcut.recordHelp": "Incluye al menos un modificador, como Command, Ctrl o Alt.",
|
|
748
|
+
"shortcut.suggested": "Usar combinaci\xF3n sugerida {shortcut}",
|
|
749
|
+
"shortcut.clear": "Borrar",
|
|
750
|
+
"shortcut.save": "Guardar",
|
|
751
|
+
"shortcut.saving": "Guardando\u2026",
|
|
752
|
+
"shortcut.invalid": "Atajo no v\xE1lido o reservado por el sistema",
|
|
753
|
+
"shortcut.unavailable": "No se pueden registrar atajos de captura en este entorno.",
|
|
754
|
+
"shortcut.saveFailed": "No se pudo guardar el atajo. Se conserva la configuraci\xF3n anterior.",
|
|
755
|
+
"shortcut.conflict": "Este atajo ya est\xE1 en uso. Elige otra combinaci\xF3n.",
|
|
756
|
+
"permission.system": "Permisos del sistema",
|
|
757
|
+
"permission.intro": "Completa los siguientes permisos del sistema antes del primer uso.",
|
|
758
|
+
"permission.allGranted": "Los permisos para capturas e inserci\xF3n de texto est\xE1n listos.",
|
|
759
|
+
"permission.grant": "Conceder acceso",
|
|
760
|
+
"permission.typingTitle": "Inserci\xF3n de texto",
|
|
761
|
+
"permission.screenTitle": "Capturas de pantalla",
|
|
762
|
+
"permission.scrollTitle": "Captura con desplazamiento autom\xE1tico",
|
|
763
|
+
"permission.optional": "Opcional",
|
|
764
|
+
"permission.screenHelp": "Necesario para las capturas. La superposici\xF3n de captura no aparece hasta que se conceda el permiso.",
|
|
765
|
+
"permission.scrollHelp": "Las capturas normales y el desplazamiento manual siguen disponibles sin este permiso.",
|
|
766
|
+
"permission.locations": "\xBFNo encuentras un componente en los permisos? Ver ubicaci\xF3n",
|
|
767
|
+
"shortcut.autoSave": "La configuraci\xF3n se guarda autom\xE1ticamente"
|
|
768
|
+
};
|
|
769
|
+
|
|
770
|
+
// src/shared/locales/fr.json
|
|
771
|
+
var fr_default = {
|
|
772
|
+
"app.title": "Appareils Sonicloud",
|
|
773
|
+
"app.plugin": "Souris intelligente Sonicloud",
|
|
774
|
+
"app.sidebar": "Barre lat\xE9rale",
|
|
775
|
+
"device.count.one": "{count} appareil connect\xE9 \xB7 R\xE9glez chaque appareil",
|
|
776
|
+
"device.count.other": "{count} appareils connect\xE9s \xB7 R\xE9glez chaque appareil",
|
|
777
|
+
"device.empty": "Aucun appareil connect\xE9",
|
|
778
|
+
"device.connect": "Branchez le r\xE9cepteur USB de la souris ou connectez-la en Bluetooth.",
|
|
779
|
+
"device.mouse": "Souris intelligente",
|
|
780
|
+
"device.generic": "Appareil",
|
|
781
|
+
"device.image": "Illustration de la souris intelligente",
|
|
782
|
+
"device.previous": "Appareil pr\xE9c\xE9dent",
|
|
783
|
+
"device.next": "Appareil suivant",
|
|
784
|
+
"device.switch": "Passer \xE0 l\u2019appareil {index}",
|
|
785
|
+
"device.identity": "Identit\xE9 de l\u2019appareil non confirm\xE9e",
|
|
786
|
+
"device.identityHelp": "Reconnectez l\u2019appareil pour confirmer son identit\xE9 avant de le configurer.",
|
|
787
|
+
"device.connection": "Connexion",
|
|
788
|
+
"device.usb": "R\xE9cepteur USB",
|
|
789
|
+
"device.bluetooth": "Bluetooth",
|
|
790
|
+
"device.battery": "Batterie",
|
|
791
|
+
"common.unknown": "Inconnu",
|
|
792
|
+
"device.unsupported": "Aucun r\xE9glage disponible pour ce type d\u2019appareil.",
|
|
793
|
+
"common.choose": "S\xE9lectionnez \xE0 nouveau",
|
|
794
|
+
"common.confirm": "Confirmer",
|
|
795
|
+
"common.reset": "R\xE9tablir les r\xE9glages par d\xE9faut",
|
|
796
|
+
"common.applying": "Application\u2026",
|
|
797
|
+
"voice.input": "Saisie vocale",
|
|
798
|
+
"voice.translate": "Traduction vocale",
|
|
799
|
+
"voice.search": "Recherche vocale",
|
|
800
|
+
"voice.punctuation": "Ponctuation",
|
|
801
|
+
"voice.recognition": "Langue de reconnaissance",
|
|
802
|
+
"voice.from": "Langue source",
|
|
803
|
+
"voice.to": "Langue cible",
|
|
804
|
+
"voice.unavailable": "Le service de traduction est indisponible",
|
|
805
|
+
"voice.unsupported": "La langue enregistr\xE9e n\u2019est plus prise en charge. S\xE9lectionnez une langue de reconnaissance ou de traduction.",
|
|
806
|
+
"voice.pending": "{name} (pas encore pris en charge)",
|
|
807
|
+
"voice.recognitionPending": "{name} (reconnaissance indisponible)",
|
|
808
|
+
"keys.dpi": "Bouton DPI",
|
|
809
|
+
"keys.dpiHelp": "R\xE8gle la sensibilit\xE9 du pointeur",
|
|
810
|
+
"keys.dpiFailed": "Le DPI n\u2019a pas \xE9t\xE9 appliqu\xE9. S\xE9lectionnez-le \xE0 nouveau.",
|
|
811
|
+
"keys.m": "Bouton M",
|
|
812
|
+
"keys.mHelp": "Bouton multifonction de la souris",
|
|
813
|
+
"keys.mAction": "Action du bouton M",
|
|
814
|
+
"keys.enter": "Entr\xE9e",
|
|
815
|
+
"keys.backspace": "Retour arri\xE8re",
|
|
816
|
+
"keys.link": "Lien rapide",
|
|
817
|
+
"keys.linkUrl": "URL du lien rapide",
|
|
818
|
+
"keys.searchEngine": "Moteur de recherche",
|
|
819
|
+
"keys.speech": "Bouton vocal",
|
|
820
|
+
"keys.speechAction": "Action du bouton vocal",
|
|
821
|
+
"keys.speechHelp": "Maintenez pour dicter ou traduire ; rel\xE2chez pour ins\xE9rer dans le champ actif.",
|
|
822
|
+
"keys.ai": "Bouton IA",
|
|
823
|
+
"keys.aiHelp": "Maintenez pour dicter ; rel\xE2chez pour remplir le champ du chat IA.",
|
|
824
|
+
"keys.autoSend": "Envoi automatique",
|
|
825
|
+
"permission.typing": "Autorisations de saisie",
|
|
826
|
+
"permission.screenshot": "Autorisations de capture",
|
|
827
|
+
"permission.accessibility": "Accessibilit\xE9",
|
|
828
|
+
"permission.screen": "Enregistrement de l\u2019\xE9cran",
|
|
829
|
+
"permission.granted": "Autoris\xE9e",
|
|
830
|
+
"permission.missing": "Non autoris\xE9e",
|
|
831
|
+
"permission.typingHelp": "N\xE9cessaire pour ins\xE9rer du texte dans les applications. La reconnaissance et la copie restent disponibles sans autorisation.",
|
|
832
|
+
"permission.grantTyping": "Autoriser l\u2019accessibilit\xE9 pour la saisie",
|
|
833
|
+
"permission.checkTyping": "Rev\xE9rifier les autorisations de saisie",
|
|
834
|
+
"permission.checkScreenshot": "Rev\xE9rifier les autorisations de capture",
|
|
835
|
+
"permission.checking": "V\xE9rification\u2026",
|
|
836
|
+
"permission.recheck": "V\xE9rifier \xE0 nouveau",
|
|
837
|
+
"permission.location": "Voir l\u2019emplacement si {helper} est introuvable",
|
|
838
|
+
"permission.pathHelp": "Utilisez cet emplacement pour ajouter le composant aux autorisations syst\xE8me :",
|
|
839
|
+
"permission.ready": "Les autorisations de capture de {helper} sont pr\xEAtes.",
|
|
840
|
+
"permission.grantHelp": "Accordez les autorisations au composant de capture {helper}.",
|
|
841
|
+
"permission.screenState": "Enregistrement de l\u2019\xE9cran : {state} (requis pour les captures)",
|
|
842
|
+
"permission.accessState": "Accessibilit\xE9 : {state} (facultative pour le d\xE9filement automatique ; captures simples et d\xE9filement manuel disponibles)",
|
|
843
|
+
"permission.grantScreen": "Autoriser l\u2019enregistrement de l\u2019\xE9cran",
|
|
844
|
+
"permission.grantAccess": "Autoriser l\u2019accessibilit\xE9",
|
|
845
|
+
"screenshot.title": "Capture d\u2019\xE9cran",
|
|
846
|
+
"screenshot.start": "Faire une capture",
|
|
847
|
+
"screenshot.starting": "D\xE9marrage\u2026",
|
|
848
|
+
"screenshot.permissionHelp": "Autorisez l\u2019enregistrement de l\u2019\xE9cran avant la premi\xE8re capture. Aucun \xE9cran de capture ne s\u2019affiche pendant l\u2019autorisation.",
|
|
849
|
+
"screenshot.help": "Cliquez ou appuyez sur le bouton de capture de la souris, s\xE9lectionnez une zone puis annotez, copiez, enregistrez ou \xE9pinglez.",
|
|
850
|
+
"error.generic": "\xC9chec de l\u2019op\xE9ration. R\xE9essayez.",
|
|
851
|
+
"error.connection": "Connexion au service \xE9chou\xE9e ou interrompue. V\xE9rifiez le r\xE9seau et r\xE9essayez.",
|
|
852
|
+
"error.timeout": "Le service a expir\xE9. R\xE9essayez.",
|
|
853
|
+
"error.auth": "\xC9chec de l\u2019autorisation. Reconnectez la souris ou contactez l\u2019assistance.",
|
|
854
|
+
"error.quota": "Quota du service \xE9puis\xE9. Contactez l\u2019assistance.",
|
|
855
|
+
"error.busy": "Une autre op\xE9ration est en cours. Terminez-la et r\xE9essayez.",
|
|
856
|
+
"error.device": "Appareil d\xE9connect\xE9 ou non identifi\xE9. Reconnectez la souris.",
|
|
857
|
+
"error.sdk": "SDK de la souris indisponible. V\xE9rifiez l\u2019installation et l\u2019architecture du syst\xE8me.",
|
|
858
|
+
"error.audio": "Audio invalide, perdu ou traitement trop lent. Enregistrez \xE0 nouveau.",
|
|
859
|
+
"error.noSpeech": "Aucune parole reconnue. Enregistrez \xE0 nouveau.",
|
|
860
|
+
"error.duration": "L\u2019enregistrement est limit\xE9 \xE0 10 minutes.",
|
|
861
|
+
"error.language": "Langue indisponible ou non configur\xE9e. S\xE9lectionnez une langue prise en charge.",
|
|
862
|
+
"error.translation": "\xC9chec de la traduction. Copiez le texte original et r\xE9essayez.",
|
|
863
|
+
"error.translationLength": "Le texte d\xE9passe 5 000 caract\xE8res. Vous pouvez copier l\u2019original.",
|
|
864
|
+
"error.sameLanguage": "Les langues source et cible doivent \xEAtre diff\xE9rentes.",
|
|
865
|
+
"error.url": "Saisissez une URL HTTP/HTTPS valide (4 096 caract\xE8res maximum, sans identifiants ni espaces).",
|
|
866
|
+
"error.settings": "R\xE9glages invalides ou modifi\xE9s. S\xE9lectionnez-les \xE0 nouveau.",
|
|
867
|
+
"error.notSaved": "Non enregistr\xE9 : {reason} Les r\xE9glages pr\xE9c\xE9dents restent actifs.",
|
|
868
|
+
"settings.linkSaved": "Lien enregistr\xE9 et appliqu\xE9",
|
|
869
|
+
"settings.saved": "Enregistr\xE9",
|
|
870
|
+
"settings.savedOffline": "Enregistr\xE9. Reconnectez l\u2019appareil pour appliquer.",
|
|
871
|
+
"settings.savedDpi": "R\xE9glages enregistr\xE9s. {reason}",
|
|
872
|
+
"settings.dpiSent": "Commande DPI envoy\xE9e (l\u2019appareil ne confirme pas l\u2019application)",
|
|
873
|
+
"error.action": "\xC9chec de l\u2019action syst\xE8me. V\xE9rifiez l\u2019accessibilit\xE9 et l\u2019h\xF4te.",
|
|
874
|
+
"error.browser": "Impossible d\u2019ouvrir le navigateur. V\xE9rifiez le navigateur par d\xE9faut.",
|
|
875
|
+
"error.closed": "Service ferm\xE9. R\xE9activez le plugin.",
|
|
876
|
+
"error.panel": "Panneau vocal indisponible. V\xE9rifiez l\u2019installation et r\xE9essayez.",
|
|
877
|
+
"error.screenshot": "\xC9chec de la capture. V\xE9rifiez l\u2019installation et les autorisations syst\xE8me.",
|
|
878
|
+
"error.screenPermission": "Autorisez l\u2019enregistrement de l\u2019\xE9cran pour screenhelper puis rev\xE9rifiez.",
|
|
879
|
+
"error.screenshotBusy": "Terminez la capture ou fermez les images \xE9pingl\xE9es puis r\xE9essayez.",
|
|
880
|
+
"error.permission": "\xC9chec de v\xE9rification ou de demande d\u2019autorisation. R\xE9essayez.",
|
|
881
|
+
"permission.requested": "Autorisez {helper} dans la fen\xEAtre syst\xE8me ou Confidentialit\xE9 et s\xE9curit\xE9, puis rev\xE9rifiez. Red\xE9marrez si demand\xE9.",
|
|
882
|
+
"permission.pending": "Autorisation toujours manquante. Si vous venez de l\u2019accorder, red\xE9marrez selon les instructions puis rev\xE9rifiez.",
|
|
883
|
+
"permission.firstUse": "Lors de la premi\xE8re utilisation sur macOS, ouvrez Appareils Sonicloud et accordez les autorisations.",
|
|
884
|
+
"status.connecting": "Connexion au service des appareils\u2026",
|
|
885
|
+
"status.reconnecting": "Service d\xE9connect\xE9. Reconnexion\u2026",
|
|
886
|
+
"status.connected": "Appareil connect\xE9",
|
|
887
|
+
"status.searching": "Recherche d\u2019une souris. Connectez un r\xE9cepteur 2.4G ou le Bluetooth.",
|
|
888
|
+
"status.receiver": "R\xE9cepteur 2.4G d\xE9tect\xE9. Allumez la souris et s\xE9lectionnez le mode 2.4G.",
|
|
889
|
+
"status.occupied": "Interface USB utilis\xE9e par {names}. Fermez l\u2019application ; la connexion sera r\xE9essay\xE9e automatiquement.",
|
|
890
|
+
"error.ai": "Impossible de cr\xE9er, remplir ou envoyer le chat IA. Vous pouvez copier le r\xE9sultat.",
|
|
891
|
+
"error.aiWindow": "La fen\xEAtre ne s\u2019est pas ouverte. Le texte est dans le brouillon et peut \xEAtre copi\xE9.",
|
|
892
|
+
"panel.title": "Voix Sonicloud",
|
|
893
|
+
"panel.result": "R\xE9sultat de reconnaissance vocale",
|
|
894
|
+
"panel.processing": "Traitement vocal",
|
|
895
|
+
"panel.finishing": "Finalisation\u2026",
|
|
896
|
+
"panel.translating": "Traduction\u2026",
|
|
897
|
+
"panel.copy": "Copier le r\xE9sultat",
|
|
898
|
+
"panel.copied": "Copi\xE9",
|
|
899
|
+
"panel.copyFailed": "\xC9chec de la copie",
|
|
900
|
+
"panel.cancel": "Annuler",
|
|
901
|
+
"panel.close": "Fermer",
|
|
902
|
+
"panel.submit": "Ins\xE9rer le texte",
|
|
903
|
+
"panel.openInput": "Ouvrez le champ de destination",
|
|
904
|
+
"panel.noText": "Aucun texte \xE0 ins\xE9rer",
|
|
905
|
+
"panel.permission": "Autorisez l\u2019accessibilit\xE9 pour ins\xE9rer le texte, ou copiez le r\xE9sultat.",
|
|
906
|
+
"panel.targetChanged": "La cible a chang\xE9 ou n\u2019accepte pas la saisie. Copiez le r\xE9sultat.",
|
|
907
|
+
"panel.notInserted": "Non ins\xE9r\xE9 : {reason}. Vous pouvez copier le r\xE9sultat.",
|
|
908
|
+
"panel.typingUnavailable": "Composant de saisie indisponible",
|
|
909
|
+
"panel.password": "La cible est un champ de mot de passe",
|
|
910
|
+
"panel.invalidText": "Le texte contient des caract\xE8res non pris en charge",
|
|
911
|
+
"panel.denied": "La fen\xEAtre a refus\xE9 la saisie simul\xE9e",
|
|
912
|
+
"panel.interrupted": "Session de saisie interrompue",
|
|
913
|
+
"panel.queueFull": "Trop de t\xE2ches de saisie. Patientez.",
|
|
914
|
+
"panel.typingError": "\xC9chec de saisie (code {code})",
|
|
915
|
+
"device.count.few": "{count} appareils connect\xE9s \xB7 R\xE9glez chaque appareil",
|
|
916
|
+
"device.count.many": "{count} appareils connect\xE9s \xB7 R\xE9glez chaque appareil",
|
|
917
|
+
"language.mandarin": "Mandarin",
|
|
918
|
+
"language.traditional": "Mandarin (traditionnel)",
|
|
919
|
+
"language.dialect": "Dialecte {name}",
|
|
920
|
+
"warning.lowBalance": "Le solde ASR est faible. Pensez \xE0 le recharger.",
|
|
921
|
+
"error.workspace": "Aucun espace de travail disponible.",
|
|
922
|
+
"error.cancelled": "La session vocale a \xE9t\xE9 annul\xE9e.",
|
|
923
|
+
"error.deviceLimit": "La limite d\u2019appareils de la licence est atteinte.",
|
|
924
|
+
"error.screenshotExport": "La reconnaissance de texte et l\u2019export Word ne sont pas disponibles. Copiez, enregistrez ou \xE9pinglez la capture.",
|
|
925
|
+
"shortcut.configure": "D\xE9finir le raccourci",
|
|
926
|
+
"shortcut.title": "D\xE9finir le raccourci de capture",
|
|
927
|
+
"shortcut.help": "Appuyez sur le bouton de capture de la souris ou sur le raccourci, puis s\xE9lectionnez une zone \xE0 annoter, copier, enregistrer ou \xE9pingler.",
|
|
928
|
+
"shortcut.unset": "Non d\xE9fini",
|
|
929
|
+
"shortcut.record": "Appuyez sur une combinaison de touches",
|
|
930
|
+
"shortcut.recordHelp": "Incluez au moins une touche de modification, comme Command, Ctrl ou Alt.",
|
|
931
|
+
"shortcut.suggested": "Utiliser la combinaison sugg\xE9r\xE9e {shortcut}",
|
|
932
|
+
"shortcut.clear": "Effacer",
|
|
933
|
+
"shortcut.save": "Enregistrer",
|
|
934
|
+
"shortcut.saving": "Enregistrement\u2026",
|
|
935
|
+
"shortcut.invalid": "Raccourci invalide ou r\xE9serv\xE9 par le syst\xE8me",
|
|
936
|
+
"shortcut.unavailable": "Impossible d\u2019enregistrer des raccourcis de capture dans cet environnement.",
|
|
937
|
+
"shortcut.saveFailed": "Impossible d\u2019enregistrer le raccourci. Le r\xE9glage pr\xE9c\xE9dent est conserv\xE9.",
|
|
938
|
+
"shortcut.conflict": "Ce raccourci est d\xE9j\xE0 utilis\xE9. Choisissez une autre combinaison.",
|
|
939
|
+
"permission.system": "Autorisations syst\xE8me",
|
|
940
|
+
"permission.intro": "Accordez les autorisations syst\xE8me suivantes avant la premi\xE8re utilisation.",
|
|
941
|
+
"permission.allGranted": "Les autorisations de capture et d\u2019insertion de texte sont pr\xEAtes.",
|
|
942
|
+
"permission.grant": "Autoriser",
|
|
943
|
+
"permission.typingTitle": "Insertion de texte",
|
|
944
|
+
"permission.screenTitle": "Captures d\u2019\xE9cran",
|
|
945
|
+
"permission.scrollTitle": "Capture avec d\xE9filement automatique",
|
|
946
|
+
"permission.optional": "Facultatif",
|
|
947
|
+
"permission.screenHelp": "Requis pour les captures. La superposition de capture reste ferm\xE9e tant que l\u2019autorisation n\u2019est pas accord\xE9e.",
|
|
948
|
+
"permission.scrollHelp": "Les captures normales et le d\xE9filement manuel restent disponibles sans cette autorisation.",
|
|
949
|
+
"permission.locations": "Composant introuvable dans les autorisations ? Voir son emplacement",
|
|
950
|
+
"shortcut.autoSave": "Les r\xE9glages sont enregistr\xE9s automatiquement"
|
|
951
|
+
};
|
|
952
|
+
|
|
953
|
+
// src/shared/locales/de.json
|
|
954
|
+
var de_default = {
|
|
955
|
+
"app.title": "Sonicloud-Ger\xE4te",
|
|
956
|
+
"app.plugin": "Sonicloud Smart-Maus",
|
|
957
|
+
"app.sidebar": "Seitenleiste",
|
|
958
|
+
"device.count.one": "{count} Ger\xE4t verbunden \xB7 Jedes Ger\xE4t individuell einstellen",
|
|
959
|
+
"device.count.other": "{count} Ger\xE4te verbunden \xB7 Jedes Ger\xE4t individuell einstellen",
|
|
960
|
+
"device.empty": "Keine Ger\xE4te verbunden",
|
|
961
|
+
"device.connect": "USB-Empf\xE4nger anschlie\xDFen oder die Maus \xFCber Bluetooth verbinden.",
|
|
962
|
+
"device.mouse": "Smart-Maus",
|
|
963
|
+
"device.generic": "Ger\xE4t",
|
|
964
|
+
"device.image": "Abbildung der Smart-Maus",
|
|
965
|
+
"device.previous": "Vorheriges Ger\xE4t",
|
|
966
|
+
"device.next": "N\xE4chstes Ger\xE4t",
|
|
967
|
+
"device.switch": "Zu Ger\xE4t {index} wechseln",
|
|
968
|
+
"device.identity": "Ger\xE4teidentit\xE4t unbest\xE4tigt",
|
|
969
|
+
"device.identityHelp": "Ger\xE4t erneut verbinden, um die Identit\xE4t vor dem Bearbeiten zu best\xE4tigen.",
|
|
970
|
+
"device.connection": "Verbindung",
|
|
971
|
+
"device.usb": "USB-Empf\xE4nger",
|
|
972
|
+
"device.bluetooth": "Bluetooth",
|
|
973
|
+
"device.battery": "Akkustand",
|
|
974
|
+
"common.unknown": "Unbekannt",
|
|
975
|
+
"device.unsupported": "F\xFCr diesen Ger\xE4tetyp sind keine Einstellungen verf\xFCgbar.",
|
|
976
|
+
"common.choose": "Erneut ausw\xE4hlen",
|
|
977
|
+
"common.confirm": "Best\xE4tigen",
|
|
978
|
+
"common.reset": "Standardwerte wiederherstellen",
|
|
979
|
+
"common.applying": "Wird angewendet\u2026",
|
|
980
|
+
"voice.input": "Spracheingabe",
|
|
981
|
+
"voice.translate": "Sprach\xFCbersetzung",
|
|
982
|
+
"voice.search": "Sprachsuche",
|
|
983
|
+
"voice.punctuation": "Satzzeichen",
|
|
984
|
+
"voice.recognition": "Erkennungssprache",
|
|
985
|
+
"voice.from": "Ausgangssprache",
|
|
986
|
+
"voice.to": "Zielsprache",
|
|
987
|
+
"voice.unavailable": "\xDCbersetzungsdienst nicht verf\xFCgbar",
|
|
988
|
+
"voice.unsupported": "Die gespeicherte Sprache wird nicht mehr unterst\xFCtzt. Erkennungs- oder \xDCbersetzungssprache erneut ausw\xE4hlen.",
|
|
989
|
+
"voice.pending": "{name} (noch nicht unterst\xFCtzt)",
|
|
990
|
+
"voice.recognitionPending": "{name} (Erkennung nicht verf\xFCgbar)",
|
|
991
|
+
"keys.dpi": "DPI-Taste",
|
|
992
|
+
"keys.dpiHelp": "Empfindlichkeit des Mauszeigers einstellen",
|
|
993
|
+
"keys.dpiFailed": "DPI nicht angewendet. Erneut ausw\xE4hlen.",
|
|
994
|
+
"keys.m": "M-Taste",
|
|
995
|
+
"keys.mHelp": "Multifunktionstaste der Maus",
|
|
996
|
+
"keys.mAction": "Aktion der M-Taste",
|
|
997
|
+
"keys.enter": "Eingabe",
|
|
998
|
+
"keys.backspace": "R\xFCcktaste",
|
|
999
|
+
"keys.link": "Schnelllink",
|
|
1000
|
+
"keys.linkUrl": "Schnelllink-URL",
|
|
1001
|
+
"keys.searchEngine": "Suchmaschine",
|
|
1002
|
+
"keys.speech": "Sprachtaste",
|
|
1003
|
+
"keys.speechAction": "Aktion der Sprachtaste",
|
|
1004
|
+
"keys.speechHelp": "Zum Diktieren oder \xDCbersetzen gedr\xFCckt halten, zum Einf\xFCgen ins aktive Feld loslassen.",
|
|
1005
|
+
"keys.ai": "KI-Taste",
|
|
1006
|
+
"keys.aiHelp": "Zum Diktieren gedr\xFCckt halten, zum Einf\xFCgen in den KI-Chat loslassen.",
|
|
1007
|
+
"keys.autoSend": "Automatisch senden",
|
|
1008
|
+
"permission.typing": "Eingabeberechtigungen",
|
|
1009
|
+
"permission.screenshot": "Screenshot-Berechtigungen",
|
|
1010
|
+
"permission.accessibility": "Bedienungshilfen",
|
|
1011
|
+
"permission.screen": "Bildschirmaufnahme",
|
|
1012
|
+
"permission.granted": "Erteilt",
|
|
1013
|
+
"permission.missing": "Nicht erteilt",
|
|
1014
|
+
"permission.typingHelp": "Zum Einf\xFCgen in Desktop-Apps erforderlich. Erkennung und Kopieren bleiben ohne Berechtigung verf\xFCgbar.",
|
|
1015
|
+
"permission.grantTyping": "Bedienungshilfen f\xFCr Eingabe erlauben",
|
|
1016
|
+
"permission.checkTyping": "Eingabeberechtigungen erneut pr\xFCfen",
|
|
1017
|
+
"permission.checkScreenshot": "Screenshot-Berechtigungen erneut pr\xFCfen",
|
|
1018
|
+
"permission.checking": "Wird gepr\xFCft\u2026",
|
|
1019
|
+
"permission.recheck": "Erneut pr\xFCfen",
|
|
1020
|
+
"permission.location": "Speicherort anzeigen, falls {helper} fehlt",
|
|
1021
|
+
"permission.pathHelp": "Diesen Pfad zum manuellen Hinzuf\xFCgen in den Systemeinstellungen verwenden:",
|
|
1022
|
+
"permission.ready": "Screenshot-Berechtigungen f\xFCr {helper} sind bereit.",
|
|
1023
|
+
"permission.grantHelp": "Screenshot-Komponente {helper} Berechtigungen erteilen.",
|
|
1024
|
+
"permission.screenState": "Bildschirmaufnahme: {state} (f\xFCr Screenshots erforderlich)",
|
|
1025
|
+
"permission.accessState": "Bedienungshilfen: {state} (optional f\xFCr automatisches Scrollen; normale Screenshots und manuelles Scrollen bleiben verf\xFCgbar)",
|
|
1026
|
+
"permission.grantScreen": "Bildschirmaufnahme erlauben",
|
|
1027
|
+
"permission.grantAccess": "Bedienungshilfen erlauben",
|
|
1028
|
+
"screenshot.title": "Screenshot",
|
|
1029
|
+
"screenshot.start": "Screenshot erstellen",
|
|
1030
|
+
"screenshot.starting": "Wird gestartet\u2026",
|
|
1031
|
+
"screenshot.permissionHelp": "Vor dem ersten Screenshot Bildschirmaufnahme erlauben. W\xE4hrend der Freigabe erscheint keine Aufnahmeansicht.",
|
|
1032
|
+
"screenshot.help": "Hier oder die Screenshot-Taste der Maus dr\xFCcken, Bereich w\xE4hlen und beschriften, kopieren, speichern oder anheften.",
|
|
1033
|
+
"error.generic": "Vorgang fehlgeschlagen. Bitte erneut versuchen.",
|
|
1034
|
+
"error.connection": "Dienstverbindung fehlgeschlagen oder unterbrochen. Netzwerk pr\xFCfen und erneut versuchen.",
|
|
1035
|
+
"error.timeout": "Zeit\xFCberschreitung beim Dienst. Erneut versuchen.",
|
|
1036
|
+
"error.auth": "Ger\xE4teautorisierung fehlgeschlagen. Maus erneut verbinden oder Support kontaktieren.",
|
|
1037
|
+
"error.quota": "Dienstkontingent ersch\xF6pft. Support kontaktieren.",
|
|
1038
|
+
"error.busy": "Ein anderer Vorgang l\xE4uft. Danach erneut versuchen.",
|
|
1039
|
+
"error.device": "Ger\xE4t getrennt oder nicht identifiziert. Maus erneut verbinden.",
|
|
1040
|
+
"error.sdk": "Maus-SDK nicht verf\xFCgbar. Plugin-Installation und Systemarchitektur pr\xFCfen.",
|
|
1041
|
+
"error.audio": "Audio ung\xFCltig, verloren oder Verarbeitung zu langsam. Erneut aufnehmen.",
|
|
1042
|
+
"error.noSpeech": "Keine Sprache erkannt. Erneut aufnehmen.",
|
|
1043
|
+
"error.duration": "Aufnahmen sind auf 10 Minuten begrenzt.",
|
|
1044
|
+
"error.language": "Sprache nicht verf\xFCgbar oder nicht zugeordnet. Unterst\xFCtzte Sprache ausw\xE4hlen.",
|
|
1045
|
+
"error.translation": "\xDCbersetzung fehlgeschlagen. Originaltext kopieren und erneut versuchen.",
|
|
1046
|
+
"error.translationLength": "Text \xFCberschreitet 5.000 Zeichen. Original kann kopiert werden.",
|
|
1047
|
+
"error.sameLanguage": "Ausgangs- und Zielsprache m\xFCssen verschieden sein.",
|
|
1048
|
+
"error.url": "G\xFCltige HTTP/HTTPS-URL eingeben (max. 4.096 Zeichen, ohne Zugangsdaten oder Leerzeichen).",
|
|
1049
|
+
"error.settings": "Einstellungen ung\xFCltig oder ge\xE4ndert. Erneut ausw\xE4hlen.",
|
|
1050
|
+
"error.notSaved": "Nicht gespeichert: {reason} Bisherige Einstellungen bleiben aktiv.",
|
|
1051
|
+
"settings.linkSaved": "Link gespeichert und angewendet",
|
|
1052
|
+
"settings.saved": "Gespeichert",
|
|
1053
|
+
"settings.savedOffline": "Gespeichert. Zum Anwenden Ger\xE4t erneut verbinden.",
|
|
1054
|
+
"settings.savedDpi": "Einstellungen gespeichert. {reason}",
|
|
1055
|
+
"settings.dpiSent": "DPI-Befehl gesendet (keine Anwendungsbest\xE4tigung vom Ger\xE4t)",
|
|
1056
|
+
"error.action": "Systemaktion fehlgeschlagen. Bedienungshilfen und Host pr\xFCfen.",
|
|
1057
|
+
"error.browser": "Browser konnte nicht ge\xF6ffnet werden. Standardbrowser pr\xFCfen.",
|
|
1058
|
+
"error.closed": "Dienst beendet. Plugin erneut aktivieren.",
|
|
1059
|
+
"error.panel": "Sprachfenster nicht verf\xFCgbar. Installation pr\xFCfen und erneut versuchen.",
|
|
1060
|
+
"error.screenshot": "Screenshot fehlgeschlagen. Installation und Systemberechtigungen pr\xFCfen.",
|
|
1061
|
+
"error.screenPermission": "Bildschirmaufnahme f\xFCr screenhelper erlauben und erneut pr\xFCfen.",
|
|
1062
|
+
"error.screenshotBusy": "Aufnahme beenden oder angeheftete Bilder schlie\xDFen, dann erneut versuchen.",
|
|
1063
|
+
"error.permission": "Berechtigungspr\xFCfung oder -anfrage fehlgeschlagen. Erneut versuchen.",
|
|
1064
|
+
"permission.requested": "{helper} im Systemdialog oder unter Datenschutz & Sicherheit erlauben, dann erneut pr\xFCfen. Bei Aufforderung neu starten.",
|
|
1065
|
+
"permission.pending": "Berechtigung fehlt noch. Nach Freigabe gegebenenfalls neu starten und erneut pr\xFCfen.",
|
|
1066
|
+
"permission.firstUse": "Bei erster Nutzung unter macOS Sonicloud-Ger\xE4te \xF6ffnen und Berechtigungen erteilen.",
|
|
1067
|
+
"status.connecting": "Verbindung zum Ger\xE4tedienst\u2026",
|
|
1068
|
+
"status.reconnecting": "Ger\xE4tedienst getrennt. Verbindung wird wiederhergestellt\u2026",
|
|
1069
|
+
"status.connected": "Ger\xE4t verbunden",
|
|
1070
|
+
"status.searching": "Smart-Maus wird gesucht. 2.4G-Empf\xE4nger oder Bluetooth verbinden.",
|
|
1071
|
+
"status.receiver": "2.4G-Empf\xE4nger erkannt. Maus einschalten und 2.4G-Modus w\xE4hlen.",
|
|
1072
|
+
"status.occupied": "Maus-USB-Schnittstelle wird von {names} belegt. Anwendung beenden; Verbindung wird automatisch erneut versucht.",
|
|
1073
|
+
"error.ai": "KI-Chat konnte nicht erstellt, ausgef\xFCllt oder gesendet werden. Ergebnis kann kopiert werden.",
|
|
1074
|
+
"error.aiWindow": "Fenster nicht ge\xF6ffnet. Text steht im Chatentwurf und kann kopiert werden.",
|
|
1075
|
+
"panel.title": "Sonicloud Sprache",
|
|
1076
|
+
"panel.result": "Spracherkennungsergebnis",
|
|
1077
|
+
"panel.processing": "Sprache wird verarbeitet",
|
|
1078
|
+
"panel.finishing": "Wird abgeschlossen\u2026",
|
|
1079
|
+
"panel.translating": "Wird \xFCbersetzt\u2026",
|
|
1080
|
+
"panel.copy": "Ergebnis kopieren",
|
|
1081
|
+
"panel.copied": "Kopiert",
|
|
1082
|
+
"panel.copyFailed": "Kopieren fehlgeschlagen",
|
|
1083
|
+
"panel.cancel": "Abbrechen",
|
|
1084
|
+
"panel.close": "Schlie\xDFen",
|
|
1085
|
+
"panel.submit": "Text einf\xFCgen",
|
|
1086
|
+
"panel.openInput": "Zielfeld \xF6ffnen",
|
|
1087
|
+
"panel.noText": "Kein Text zum Einf\xFCgen",
|
|
1088
|
+
"panel.permission": "Bedienungshilfen zum Einf\xFCgen erlauben oder Ergebnis kopieren.",
|
|
1089
|
+
"panel.targetChanged": "Eingabeziel ge\xE4ndert oder nicht beschreibbar. Ergebnis kopieren.",
|
|
1090
|
+
"panel.notInserted": "Nicht eingef\xFCgt: {reason}. Ergebnis kann kopiert werden.",
|
|
1091
|
+
"panel.typingUnavailable": "Eingabekomponente nicht verf\xFCgbar",
|
|
1092
|
+
"panel.password": "Ziel ist ein Passwortfeld",
|
|
1093
|
+
"panel.invalidText": "Text enth\xE4lt nicht unterst\xFCtzte Zeichen",
|
|
1094
|
+
"panel.denied": "Zielfenster hat simulierte Eingabe abgelehnt",
|
|
1095
|
+
"panel.interrupted": "Eingabesitzung unterbrochen",
|
|
1096
|
+
"panel.queueFull": "Zu viele Eingabeauftr\xE4ge. Bitte warten.",
|
|
1097
|
+
"panel.typingError": "Eingabe fehlgeschlagen (Code {code})",
|
|
1098
|
+
"device.count.few": "{count} Ger\xE4te verbunden \xB7 Jedes Ger\xE4t individuell einstellen",
|
|
1099
|
+
"device.count.many": "{count} Ger\xE4te verbunden \xB7 Jedes Ger\xE4t individuell einstellen",
|
|
1100
|
+
"language.mandarin": "Mandarin",
|
|
1101
|
+
"language.traditional": "Mandarin (traditionell)",
|
|
1102
|
+
"language.dialect": "{name}-Dialekt",
|
|
1103
|
+
"warning.lowBalance": "Das ASR-Guthaben ist niedrig. Bitte bald aufladen.",
|
|
1104
|
+
"error.workspace": "Kein Arbeitsbereich verf\xFCgbar.",
|
|
1105
|
+
"error.cancelled": "Die Sprachsitzung wurde abgebrochen.",
|
|
1106
|
+
"error.deviceLimit": "Die maximale Ger\xE4tezahl der Lizenz ist erreicht.",
|
|
1107
|
+
"error.screenshotExport": "Texterkennung und Word-Export sind nicht verf\xFCgbar. Nutzen Sie Kopieren, Speichern oder Anheften.",
|
|
1108
|
+
"shortcut.configure": "Tastenk\xFCrzel festlegen",
|
|
1109
|
+
"shortcut.title": "Tastenk\xFCrzel f\xFCr Bildschirmfotos festlegen",
|
|
1110
|
+
"shortcut.help": "Dr\xFCcke die Aufnahmetaste der Maus oder das Tastenk\xFCrzel und w\xE4hle einen Bereich zum Kommentieren, Kopieren, Speichern oder Anheften aus.",
|
|
1111
|
+
"shortcut.unset": "Nicht festgelegt",
|
|
1112
|
+
"shortcut.record": "Tastenkombination dr\xFCcken",
|
|
1113
|
+
"shortcut.recordHelp": "Verwende mindestens eine Zusatztaste wie Command, Strg oder Alt.",
|
|
1114
|
+
"shortcut.suggested": "Vorgeschlagene Kombination {shortcut} verwenden",
|
|
1115
|
+
"shortcut.clear": "Entfernen",
|
|
1116
|
+
"shortcut.save": "Speichern",
|
|
1117
|
+
"shortcut.saving": "Wird gespeichert\u2026",
|
|
1118
|
+
"shortcut.invalid": "Ung\xFCltiges oder vom System reserviertes Tastenk\xFCrzel",
|
|
1119
|
+
"shortcut.unavailable": "In dieser Umgebung k\xF6nnen keine globalen Tastenk\xFCrzel f\xFCr Bildschirmfotos registriert werden.",
|
|
1120
|
+
"shortcut.saveFailed": "Das Tastenk\xFCrzel konnte nicht gespeichert werden. Die bisherige Einstellung bleibt erhalten.",
|
|
1121
|
+
"shortcut.conflict": "Dieses Tastenk\xFCrzel wird bereits verwendet. W\xE4hle eine andere Kombination.",
|
|
1122
|
+
"permission.system": "Systemberechtigungen",
|
|
1123
|
+
"permission.intro": "Erteile vor der ersten Verwendung die folgenden Systemberechtigungen.",
|
|
1124
|
+
"permission.allGranted": "Die Berechtigungen f\xFCr Bildschirmfotos und Texteingabe sind bereit.",
|
|
1125
|
+
"permission.grant": "Berechtigung erteilen",
|
|
1126
|
+
"permission.typingTitle": "Texteingabe",
|
|
1127
|
+
"permission.screenTitle": "Bildschirmfotos",
|
|
1128
|
+
"permission.scrollTitle": "Automatische Scroll-Aufnahme",
|
|
1129
|
+
"permission.optional": "Optional",
|
|
1130
|
+
"permission.screenHelp": "F\xFCr Bildschirmfotos erforderlich. Die Aufnahmeansicht wird erst nach Erteilung der Berechtigung ge\xF6ffnet.",
|
|
1131
|
+
"permission.scrollHelp": "Normale Bildschirmfotos und manuelles Scrollen bleiben ohne diese Berechtigung verf\xFCgbar.",
|
|
1132
|
+
"permission.locations": "Komponente in den Berechtigungen nicht gefunden? Speicherort anzeigen",
|
|
1133
|
+
"shortcut.autoSave": "Einstellungen werden automatisch gespeichert"
|
|
1134
|
+
};
|
|
1135
|
+
|
|
1136
|
+
// src/shared/locales/ru.json
|
|
1137
|
+
var ru_default = {
|
|
1138
|
+
"app.title": "\u0423\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430 Sonicloud",
|
|
1139
|
+
"app.plugin": "\u0423\u043C\u043D\u0430\u044F \u043C\u044B\u0448\u044C Sonicloud",
|
|
1140
|
+
"app.sidebar": "\u0411\u043E\u043A\u043E\u0432\u0430\u044F \u043F\u0430\u043D\u0435\u043B\u044C",
|
|
1141
|
+
"device.count.one": "\u041F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u043E {count} \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \xB7 \u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435 \u043A\u0430\u0436\u0434\u043E\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E",
|
|
1142
|
+
"device.count.other": "\u041F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u043E {count} \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432 \xB7 \u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435 \u043A\u0430\u0436\u0434\u043E\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E",
|
|
1143
|
+
"device.empty": "\u041D\u0435\u0442 \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0451\u043D\u043D\u044B\u0445 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432",
|
|
1144
|
+
"device.connect": "\u041F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u0435 USB-\u043F\u0440\u0438\u0451\u043C\u043D\u0438\u043A \u043C\u044B\u0448\u0438 \u0438\u043B\u0438 \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u0435 \u0441\u043E\u043F\u0440\u044F\u0436\u0435\u043D\u0438\u0435 \u043F\u043E Bluetooth.",
|
|
1145
|
+
"device.mouse": "\u0423\u043C\u043D\u0430\u044F \u043C\u044B\u0448\u044C",
|
|
1146
|
+
"device.generic": "\u0423\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E",
|
|
1147
|
+
"device.image": "\u0418\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0443\u043C\u043D\u043E\u0439 \u043C\u044B\u0448\u0438",
|
|
1148
|
+
"device.previous": "\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E",
|
|
1149
|
+
"device.next": "\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E",
|
|
1150
|
+
"device.switch": "\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0443 {index}",
|
|
1151
|
+
"device.identity": "\u0423\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u043D\u0435 \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u0446\u0438\u0440\u043E\u0432\u0430\u043D\u043E",
|
|
1152
|
+
"device.identityHelp": "\u041F\u0435\u0440\u0435\u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0434\u043B\u044F \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u0438 \u043F\u0435\u0440\u0435\u0434 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u043E\u0439.",
|
|
1153
|
+
"device.connection": "\u041F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435",
|
|
1154
|
+
"device.usb": "USB-\u043F\u0440\u0438\u0451\u043C\u043D\u0438\u043A",
|
|
1155
|
+
"device.bluetooth": "Bluetooth",
|
|
1156
|
+
"device.battery": "\u0417\u0430\u0440\u044F\u0434 \u0431\u0430\u0442\u0430\u0440\u0435\u0438",
|
|
1157
|
+
"common.unknown": "\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",
|
|
1158
|
+
"device.unsupported": "\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0434\u043B\u044F \u044D\u0442\u043E\u0433\u043E \u0442\u0438\u043F\u0430 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B.",
|
|
1159
|
+
"common.choose": "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0437\u0430\u043D\u043E\u0432\u043E",
|
|
1160
|
+
"common.confirm": "\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C",
|
|
1161
|
+
"common.reset": "\u0412\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",
|
|
1162
|
+
"common.applying": "\u041F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u0435\u2026",
|
|
1163
|
+
"voice.input": "\u0413\u043E\u043B\u043E\u0441\u043E\u0432\u043E\u0439 \u0432\u0432\u043E\u0434",
|
|
1164
|
+
"voice.translate": "\u0413\u043E\u043B\u043E\u0441\u043E\u0432\u043E\u0439 \u043F\u0435\u0440\u0435\u0432\u043E\u0434",
|
|
1165
|
+
"voice.search": "\u0413\u043E\u043B\u043E\u0441\u043E\u0432\u043E\u0439 \u043F\u043E\u0438\u0441\u043A",
|
|
1166
|
+
"voice.punctuation": "\u041F\u0443\u043D\u043A\u0442\u0443\u0430\u0446\u0438\u044F",
|
|
1167
|
+
"voice.recognition": "\u042F\u0437\u044B\u043A \u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u0432\u0430\u043D\u0438\u044F",
|
|
1168
|
+
"voice.from": "\u0418\u0441\u0445\u043E\u0434\u043D\u044B\u0439 \u044F\u0437\u044B\u043A",
|
|
1169
|
+
"voice.to": "\u042F\u0437\u044B\u043A \u043F\u0435\u0440\u0435\u0432\u043E\u0434\u0430",
|
|
1170
|
+
"voice.unavailable": "\u0421\u0435\u0440\u0432\u0438\u0441 \u043F\u0435\u0440\u0435\u0432\u043E\u0434\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D",
|
|
1171
|
+
"voice.unsupported": "\u0421\u043E\u0445\u0440\u0430\u043D\u0451\u043D\u043D\u044B\u0439 \u044F\u0437\u044B\u043A \u0431\u043E\u043B\u044C\u0448\u0435 \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044F. \u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u044F\u0437\u044B\u043A \u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u0432\u0430\u043D\u0438\u044F \u0438\u043B\u0438 \u043F\u0435\u0440\u0435\u0432\u043E\u0434\u0430 \u0437\u0430\u043D\u043E\u0432\u043E.",
|
|
1172
|
+
"voice.pending": "{name} (\u043F\u043E\u043A\u0430 \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044F)",
|
|
1173
|
+
"voice.recognitionPending": "{name} (\u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u0432\u0430\u043D\u0438\u0435 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E)",
|
|
1174
|
+
"keys.dpi": "\u041A\u043D\u043E\u043F\u043A\u0430 DPI",
|
|
1175
|
+
"keys.dpiHelp": "\u0420\u0435\u0433\u0443\u043B\u0438\u0440\u0443\u0435\u0442 \u0447\u0443\u0432\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0443\u043A\u0430\u0437\u0430\u0442\u0435\u043B\u044F",
|
|
1176
|
+
"keys.dpiFailed": "DPI \u043D\u0435 \u043F\u0440\u0438\u043C\u0435\u043D\u0451\u043D. \u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0437\u0430\u043D\u043E\u0432\u043E.",
|
|
1177
|
+
"keys.m": "\u041A\u043D\u043E\u043F\u043A\u0430 M",
|
|
1178
|
+
"keys.mHelp": "\u041C\u043D\u043E\u0433\u043E\u0444\u0443\u043D\u043A\u0446\u0438\u043E\u043D\u0430\u043B\u044C\u043D\u0430\u044F \u043A\u043D\u043E\u043F\u043A\u0430 \u043C\u044B\u0448\u0438",
|
|
1179
|
+
"keys.mAction": "\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043A\u043D\u043E\u043F\u043A\u0438 M",
|
|
1180
|
+
"keys.enter": "Enter",
|
|
1181
|
+
"keys.backspace": "Backspace",
|
|
1182
|
+
"keys.link": "\u0411\u044B\u0441\u0442\u0440\u0430\u044F \u0441\u0441\u044B\u043B\u043A\u0430",
|
|
1183
|
+
"keys.linkUrl": "URL \u0431\u044B\u0441\u0442\u0440\u043E\u0439 \u0441\u0441\u044B\u043B\u043A\u0438",
|
|
1184
|
+
"keys.searchEngine": "\u041F\u043E\u0438\u0441\u043A\u043E\u0432\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430",
|
|
1185
|
+
"keys.speech": "\u0413\u043E\u043B\u043E\u0441\u043E\u0432\u0430\u044F \u043A\u043D\u043E\u043F\u043A\u0430",
|
|
1186
|
+
"keys.speechAction": "\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0433\u043E\u043B\u043E\u0441\u043E\u0432\u043E\u0439 \u043A\u043D\u043E\u043F\u043A\u0438",
|
|
1187
|
+
"keys.speechHelp": "\u0423\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0439\u0442\u0435 \u0434\u043B\u044F \u0434\u0438\u043A\u0442\u043E\u0432\u043A\u0438 \u0438\u043B\u0438 \u043F\u0435\u0440\u0435\u0432\u043E\u0434\u0430, \u043E\u0442\u043F\u0443\u0441\u0442\u0438\u0442\u0435 \u0434\u043B\u044F \u0432\u0441\u0442\u0430\u0432\u043A\u0438 \u0432 \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u0435 \u043F\u043E\u043B\u0435.",
|
|
1188
|
+
"keys.ai": "\u041A\u043D\u043E\u043F\u043A\u0430 \u0418\u0418",
|
|
1189
|
+
"keys.aiHelp": "\u0423\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0439\u0442\u0435 \u0434\u043B\u044F \u0434\u0438\u043A\u0442\u043E\u0432\u043A\u0438, \u043E\u0442\u043F\u0443\u0441\u0442\u0438\u0442\u0435 \u0434\u043B\u044F \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u043F\u043E\u043B\u044F \u0447\u0430\u0442\u0430 \u0418\u0418.",
|
|
1190
|
+
"keys.autoSend": "\u0410\u0432\u0442\u043E\u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0430",
|
|
1191
|
+
"permission.typing": "\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u044F \u0432\u0432\u043E\u0434\u0430",
|
|
1192
|
+
"permission.screenshot": "\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u044F \u0441\u043D\u0438\u043C\u043A\u043E\u0432 \u044D\u043A\u0440\u0430\u043D\u0430",
|
|
1193
|
+
"permission.accessibility": "\u0423\u043D\u0438\u0432\u0435\u0440\u0441\u0430\u043B\u044C\u043D\u044B\u0439 \u0434\u043E\u0441\u0442\u0443\u043F",
|
|
1194
|
+
"permission.screen": "\u0417\u0430\u043F\u0438\u0441\u044C \u044D\u043A\u0440\u0430\u043D\u0430",
|
|
1195
|
+
"permission.granted": "\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u043E",
|
|
1196
|
+
"permission.missing": "\u041D\u0435 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u043E",
|
|
1197
|
+
"permission.typingHelp": "\u041D\u0443\u0436\u043D\u043E \u0434\u043B\u044F \u0432\u0441\u0442\u0430\u0432\u043A\u0438 \u0442\u0435\u043A\u0441\u0442\u0430 \u0432 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F. \u0420\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u0432\u0430\u043D\u0438\u0435 \u0438 \u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B \u0431\u0435\u0437 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u044F.",
|
|
1198
|
+
"permission.grantTyping": "\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044C \u0443\u043D\u0438\u0432\u0435\u0440\u0441\u0430\u043B\u044C\u043D\u044B\u0439 \u0434\u043E\u0441\u0442\u0443\u043F \u0434\u043B\u044F \u0432\u0432\u043E\u0434\u0430",
|
|
1199
|
+
"permission.checkTyping": "\u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u044F \u0432\u0432\u043E\u0434\u0430",
|
|
1200
|
+
"permission.checkScreenshot": "\u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u044F \u0441\u043D\u0438\u043C\u043A\u043E\u0432 \u044D\u043A\u0440\u0430\u043D\u0430",
|
|
1201
|
+
"permission.checking": "\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430\u2026",
|
|
1202
|
+
"permission.recheck": "\u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C \u0441\u043D\u043E\u0432\u0430",
|
|
1203
|
+
"permission.location": "\u0420\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u0430, \u0435\u0441\u043B\u0438 {helper} \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D",
|
|
1204
|
+
"permission.pathHelp": "\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u044D\u0442\u043E\u0442 \u043F\u0443\u0442\u044C \u0434\u043B\u044F \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u0430 \u0432 \u0441\u043F\u0438\u0441\u043E\u043A \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0439 \u0441\u0438\u0441\u0442\u0435\u043C\u044B:",
|
|
1205
|
+
"permission.ready": "\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u044F \u0441\u043D\u0438\u043C\u043A\u043E\u0432 \u044D\u043A\u0440\u0430\u043D\u0430 \u0434\u043B\u044F {helper} \u0433\u043E\u0442\u043E\u0432\u044B.",
|
|
1206
|
+
"permission.grantHelp": "\u041F\u0440\u0435\u0434\u043E\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u044F \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u0443 \u0441\u043D\u0438\u043C\u043A\u043E\u0432 \u044D\u043A\u0440\u0430\u043D\u0430 {helper}.",
|
|
1207
|
+
"permission.screenState": "\u0417\u0430\u043F\u0438\u0441\u044C \u044D\u043A\u0440\u0430\u043D\u0430: {state} (\u043D\u0443\u0436\u043D\u0430 \u0434\u043B\u044F \u0441\u043D\u0438\u043C\u043A\u043E\u0432 \u044D\u043A\u0440\u0430\u043D\u0430)",
|
|
1208
|
+
"permission.accessState": "\u0423\u043D\u0438\u0432\u0435\u0440\u0441\u0430\u043B\u044C\u043D\u044B\u0439 \u0434\u043E\u0441\u0442\u0443\u043F: {state} (\u043D\u0443\u0436\u0435\u043D \u0442\u043E\u043B\u044C\u043A\u043E \u0434\u043B\u044F \u0430\u0432\u0442\u043E\u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438; \u043E\u0431\u044B\u0447\u043D\u044B\u0435 \u0441\u043D\u0438\u043C\u043A\u0438 \u0438 \u0440\u0443\u0447\u043D\u0430\u044F \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0430 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B)",
|
|
1209
|
+
"permission.grantScreen": "\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044C \u0437\u0430\u043F\u0438\u0441\u044C \u044D\u043A\u0440\u0430\u043D\u0430",
|
|
1210
|
+
"permission.grantAccess": "\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044C \u0443\u043D\u0438\u0432\u0435\u0440\u0441\u0430\u043B\u044C\u043D\u044B\u0439 \u0434\u043E\u0441\u0442\u0443\u043F",
|
|
1211
|
+
"screenshot.title": "\u0421\u043D\u0438\u043C\u043E\u043A \u044D\u043A\u0440\u0430\u043D\u0430",
|
|
1212
|
+
"screenshot.start": "\u0421\u0434\u0435\u043B\u0430\u0442\u044C \u0441\u043D\u0438\u043C\u043E\u043A \u044D\u043A\u0440\u0430\u043D\u0430",
|
|
1213
|
+
"screenshot.starting": "\u0417\u0430\u043F\u0443\u0441\u043A\u2026",
|
|
1214
|
+
"screenshot.permissionHelp": "\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u0435 \u0437\u0430\u043F\u0438\u0441\u044C \u044D\u043A\u0440\u0430\u043D\u0430 \u043F\u0435\u0440\u0435\u0434 \u043F\u0435\u0440\u0432\u044B\u043C \u0441\u043D\u0438\u043C\u043A\u043E\u043C. \u0412\u043E \u0432\u0440\u0435\u043C\u044F \u0432\u044B\u0434\u0430\u0447\u0438 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u044F \u043E\u043A\u043D\u043E \u0437\u0430\u0445\u0432\u0430\u0442\u0430 \u043D\u0435 \u043F\u043E\u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F.",
|
|
1215
|
+
"screenshot.help": "\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u043A\u043D\u043E\u043F\u043A\u0443 \u0437\u0434\u0435\u0441\u044C \u0438\u043B\u0438 \u043D\u0430 \u043C\u044B\u0448\u0438, \u0432\u044B\u0434\u0435\u043B\u0438\u0442\u0435 \u043E\u0431\u043B\u0430\u0441\u0442\u044C, \u0437\u0430\u0442\u0435\u043C \u0434\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u043F\u043E\u043C\u0435\u0442\u043A\u0438, \u0441\u043A\u043E\u043F\u0438\u0440\u0443\u0439\u0442\u0435, \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u0435 \u0438\u043B\u0438 \u0437\u0430\u043A\u0440\u0435\u043F\u0438\u0442\u0435.",
|
|
1216
|
+
"error.generic": "\u041E\u043F\u0435\u0440\u0430\u0446\u0438\u044F \u043D\u0435 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0430. \u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0435 \u043F\u043E\u043F\u044B\u0442\u043A\u0443.",
|
|
1217
|
+
"error.connection": "\u0421\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435 \u0441 \u0441\u0435\u0440\u0432\u0438\u0441\u043E\u043C \u043D\u0435 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E \u0438\u043B\u0438 \u043F\u0440\u0435\u0440\u0432\u0430\u043D\u043E. \u041F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u0441\u0435\u0442\u044C \u0438 \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0435 \u043F\u043E\u043F\u044B\u0442\u043A\u0443.",
|
|
1218
|
+
"error.timeout": "\u0412\u0440\u0435\u043C\u044F \u043E\u0436\u0438\u0434\u0430\u043D\u0438\u044F \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0438\u0441\u0442\u0435\u043A\u043B\u043E. \u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0435 \u043F\u043E\u043F\u044B\u0442\u043A\u0443.",
|
|
1219
|
+
"error.auth": "\u041E\u0448\u0438\u0431\u043A\u0430 \u0430\u0432\u0442\u043E\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430. \u041F\u0435\u0440\u0435\u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u0435 \u043C\u044B\u0448\u044C \u0438\u043B\u0438 \u043E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u0432 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0443.",
|
|
1220
|
+
"error.quota": "\u041B\u0438\u043C\u0438\u0442 \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0438\u0441\u0447\u0435\u0440\u043F\u0430\u043D. \u041E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u0432 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0443.",
|
|
1221
|
+
"error.busy": "\u0412\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u0442\u0441\u044F \u0434\u0440\u0443\u0433\u0430\u044F \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u044F. \u0414\u043E\u0436\u0434\u0438\u0442\u0435\u0441\u044C \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F \u0438 \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0435 \u043F\u043E\u043F\u044B\u0442\u043A\u0443.",
|
|
1222
|
+
"error.device": "\u0423\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u043E \u0438\u043B\u0438 \u043D\u0435 \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u0446\u0438\u0440\u043E\u0432\u0430\u043D\u043E. \u041F\u0435\u0440\u0435\u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u0435 \u043C\u044B\u0448\u044C.",
|
|
1223
|
+
"error.sdk": "SDK \u043C\u044B\u0448\u0438 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D. \u041F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0443 \u043F\u043B\u0430\u0433\u0438\u043D\u0430 \u0438 \u0430\u0440\u0445\u0438\u0442\u0435\u043A\u0442\u0443\u0440\u0443 \u0441\u0438\u0441\u0442\u0435\u043C\u044B.",
|
|
1224
|
+
"error.audio": "\u0410\u0443\u0434\u0438\u043E\u0434\u0430\u043D\u043D\u044B\u0435 \u043F\u043E\u0432\u0440\u0435\u0436\u0434\u0435\u043D\u044B, \u043F\u043E\u0442\u0435\u0440\u044F\u043D\u044B \u0438\u043B\u0438 \u043E\u0431\u0440\u0430\u0431\u0430\u0442\u044B\u0432\u0430\u044E\u0442\u0441\u044F \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u0435\u0434\u043B\u0435\u043D\u043D\u043E. \u0417\u0430\u043F\u0438\u0448\u0438\u0442\u0435 \u0437\u0430\u043D\u043E\u0432\u043E.",
|
|
1225
|
+
"error.noSpeech": "\u0420\u0435\u0447\u044C \u043D\u0435 \u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u043D\u0430. \u0417\u0430\u043F\u0438\u0448\u0438\u0442\u0435 \u0437\u0430\u043D\u043E\u0432\u043E.",
|
|
1226
|
+
"error.duration": "\u041C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u0430\u044F \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0437\u0430\u043F\u0438\u0441\u0438 \u2014 10 \u043C\u0438\u043D\u0443\u0442.",
|
|
1227
|
+
"error.language": "\u042F\u0437\u044B\u043A \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D \u0438\u043B\u0438 \u043D\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043D. \u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043C\u044B\u0439 \u044F\u0437\u044B\u043A.",
|
|
1228
|
+
"error.translation": "\u041F\u0435\u0440\u0435\u0432\u043E\u0434 \u043D\u0435 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D. \u0421\u043A\u043E\u043F\u0438\u0440\u0443\u0439\u0442\u0435 \u0438\u0441\u0445\u043E\u0434\u043D\u044B\u0439 \u0442\u0435\u043A\u0441\u0442 \u0438 \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0435 \u043F\u043E\u043F\u044B\u0442\u043A\u0443.",
|
|
1229
|
+
"error.translationLength": "\u0422\u0435\u043A\u0441\u0442 \u043F\u0440\u0435\u0432\u044B\u0448\u0430\u0435\u0442 5000 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432. \u041C\u043E\u0436\u043D\u043E \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043E\u0440\u0438\u0433\u0438\u043D\u0430\u043B.",
|
|
1230
|
+
"error.sameLanguage": "\u0418\u0441\u0445\u043E\u0434\u043D\u044B\u0439 \u044F\u0437\u044B\u043A \u0438 \u044F\u0437\u044B\u043A \u043F\u0435\u0440\u0435\u0432\u043E\u0434\u0430 \u0434\u043E\u043B\u0436\u043D\u044B \u0440\u0430\u0437\u043B\u0438\u0447\u0430\u0442\u044C\u0441\u044F.",
|
|
1231
|
+
"error.url": "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u044B\u0439 URL HTTP/HTTPS (\u0434\u043E 4096 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432, \u0431\u0435\u0437 \u0443\u0447\u0451\u0442\u043D\u044B\u0445 \u0434\u0430\u043D\u043D\u044B\u0445 \u0438 \u043F\u0440\u043E\u0431\u0435\u043B\u043E\u0432).",
|
|
1232
|
+
"error.settings": "\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u043D\u0435\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u044C\u043D\u044B \u0438\u043B\u0438 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u044B. \u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0438\u0445 \u0437\u0430\u043D\u043E\u0432\u043E.",
|
|
1233
|
+
"error.notSaved": "\u041D\u0435 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u043E: {reason} \u0414\u0435\u0439\u0441\u0442\u0432\u0443\u044E\u0442 \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0438\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438.",
|
|
1234
|
+
"settings.linkSaved": "\u0421\u0441\u044B\u043B\u043A\u0430 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0430 \u0438 \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0430",
|
|
1235
|
+
"settings.saved": "\u0421\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u043E",
|
|
1236
|
+
"settings.savedOffline": "\u0421\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u043E. \u041F\u0435\u0440\u0435\u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0434\u043B\u044F \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u044F.",
|
|
1237
|
+
"settings.savedDpi": "\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u044B. {reason}",
|
|
1238
|
+
"settings.dpiSent": "\u041A\u043E\u043C\u0430\u043D\u0434\u0430 DPI \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0430 (\u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u043D\u0435 \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u0435\u0442 \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u0435)",
|
|
1239
|
+
"error.action": "\u0421\u0438\u0441\u0442\u0435\u043C\u043D\u043E\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043D\u0435 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u043E. \u041F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u044F \u0438 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435 \u0445\u043E\u0441\u0442\u0430.",
|
|
1240
|
+
"error.browser": "\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u0431\u0440\u0430\u0443\u0437\u0435\u0440. \u041F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E.",
|
|
1241
|
+
"error.closed": "\u0421\u0435\u0440\u0432\u0438\u0441 \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D. \u0412\u043A\u043B\u044E\u0447\u0438\u0442\u0435 \u043F\u043B\u0430\u0433\u0438\u043D \u0437\u0430\u043D\u043E\u0432\u043E.",
|
|
1242
|
+
"error.panel": "\u0413\u043E\u043B\u043E\u0441\u043E\u0432\u0430\u044F \u043F\u0430\u043D\u0435\u043B\u044C \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430. \u041F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0443 \u0438 \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0435 \u043F\u043E\u043F\u044B\u0442\u043A\u0443.",
|
|
1243
|
+
"error.screenshot": "\u0421\u043D\u0438\u043C\u043E\u043A \u043D\u0435 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D. \u041F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0443 \u0438 \u0441\u0438\u0441\u0442\u0435\u043C\u043D\u044B\u0435 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u044F.",
|
|
1244
|
+
"error.screenPermission": "\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u0435 screenhelper \u0437\u0430\u043F\u0438\u0441\u044C \u044D\u043A\u0440\u0430\u043D\u0430, \u0437\u0430\u0442\u0435\u043C \u043F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u0441\u043D\u043E\u0432\u0430.",
|
|
1245
|
+
"error.screenshotBusy": "\u0417\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u0435 \u0441\u043D\u0438\u043C\u043E\u043A \u0438\u043B\u0438 \u0437\u0430\u043A\u0440\u043E\u0439\u0442\u0435 \u0437\u0430\u043A\u0440\u0435\u043F\u043B\u0451\u043D\u043D\u044B\u0435 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0438 \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0435 \u043F\u043E\u043F\u044B\u0442\u043A\u0443.",
|
|
1246
|
+
"error.permission": "\u041E\u0448\u0438\u0431\u043A\u0430 \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0438 \u0438\u043B\u0438 \u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0439. \u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0435 \u043F\u043E\u043F\u044B\u0442\u043A\u0443.",
|
|
1247
|
+
"permission.requested": "\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u0435 {helper} \u0432 \u0441\u0438\u0441\u0442\u0435\u043C\u043D\u043E\u043C \u043E\u043A\u043D\u0435 \u0438\u043B\u0438 \u0440\u0430\u0437\u0434\u0435\u043B\u0435 \u043A\u043E\u043D\u0444\u0438\u0434\u0435\u043D\u0446\u0438\u0430\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u0438 \u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u043E\u0441\u0442\u0438, \u0437\u0430\u0442\u0435\u043C \u043F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u0441\u043D\u043E\u0432\u0430. \u041F\u0440\u0438 \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E\u0441\u0442\u0438 \u043F\u0435\u0440\u0435\u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u0435.",
|
|
1248
|
+
"permission.pending": "\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u044F \u0435\u0449\u0451 \u043D\u0435\u0442. \u0415\u0441\u043B\u0438 \u043E\u043D\u043E \u0442\u043E\u043B\u044C\u043A\u043E \u0447\u0442\u043E \u0432\u044B\u0434\u0430\u043D\u043E, \u043F\u0435\u0440\u0435\u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u0435 \u043F\u043E \u0438\u043D\u0441\u0442\u0440\u0443\u043A\u0446\u0438\u0438 \u0438 \u043F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u0441\u043D\u043E\u0432\u0430.",
|
|
1249
|
+
"permission.firstUse": "\u041F\u0440\u0438 \u043F\u0435\u0440\u0432\u043E\u043C \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0438 macOS \u043E\u0442\u043A\u0440\u043E\u0439\u0442\u0435 \xAB\u0423\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430 Sonicloud\xBB \u0438 \u043F\u0440\u0435\u0434\u043E\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u044F.",
|
|
1250
|
+
"status.connecting": "\u041F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u043A \u0441\u0435\u0440\u0432\u0438\u0441\u0443 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u2026",
|
|
1251
|
+
"status.reconnecting": "\u0421\u0435\u0440\u0432\u0438\u0441 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432 \u043E\u0442\u043A\u043B\u044E\u0447\u0451\u043D. \u041F\u0435\u0440\u0435\u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435\u2026",
|
|
1252
|
+
"status.connected": "\u0423\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u043E",
|
|
1253
|
+
"status.searching": "\u041F\u043E\u0438\u0441\u043A \u043C\u044B\u0448\u0438. \u041F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u0435 \u043F\u0440\u0438\u0451\u043C\u043D\u0438\u043A 2.4G \u0438\u043B\u0438 Bluetooth.",
|
|
1254
|
+
"status.receiver": "\u041F\u0440\u0438\u0451\u043C\u043D\u0438\u043A 2.4G \u043E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D. \u0412\u043A\u043B\u044E\u0447\u0438\u0442\u0435 \u043C\u044B\u0448\u044C \u0438 \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0435\u0436\u0438\u043C 2.4G.",
|
|
1255
|
+
"status.occupied": "USB-\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0437\u0430\u043D\u044F\u0442 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043C {names}. \u0417\u0430\u043A\u0440\u043E\u0439\u0442\u0435 \u0435\u0433\u043E; \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0441\u044F \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438.",
|
|
1256
|
+
"error.ai": "\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u043E\u0437\u0434\u0430\u0442\u044C, \u0437\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u0447\u0430\u0442 \u0418\u0418. \u041C\u043E\u0436\u043D\u043E \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442.",
|
|
1257
|
+
"error.aiWindow": "\u041E\u043A\u043D\u043E \u043D\u0435 \u043E\u0442\u043A\u0440\u044B\u043B\u043E\u0441\u044C. \u0422\u0435\u043A\u0441\u0442 \u0432 \u0447\u0435\u0440\u043D\u043E\u0432\u0438\u043A\u0435 \u0447\u0430\u0442\u0430, \u0435\u0433\u043E \u043C\u043E\u0436\u043D\u043E \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C.",
|
|
1258
|
+
"panel.title": "\u0413\u043E\u043B\u043E\u0441 Sonicloud",
|
|
1259
|
+
"panel.result": "\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442 \u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u0432\u0430\u043D\u0438\u044F \u0440\u0435\u0447\u0438",
|
|
1260
|
+
"panel.processing": "\u041E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430 \u0440\u0435\u0447\u0438",
|
|
1261
|
+
"panel.finishing": "\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u0435\u2026",
|
|
1262
|
+
"panel.translating": "\u041F\u0435\u0440\u0435\u0432\u043E\u0434\u2026",
|
|
1263
|
+
"panel.copy": "\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442",
|
|
1264
|
+
"panel.copied": "\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043E",
|
|
1265
|
+
"panel.copyFailed": "\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C",
|
|
1266
|
+
"panel.cancel": "\u041E\u0442\u043C\u0435\u043D\u0430",
|
|
1267
|
+
"panel.close": "\u0417\u0430\u043A\u0440\u044B\u0442\u044C",
|
|
1268
|
+
"panel.submit": "\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u0442\u0435\u043A\u0441\u0442",
|
|
1269
|
+
"panel.openInput": "\u041E\u0442\u043A\u0440\u043E\u0439\u0442\u0435 \u043D\u0443\u0436\u043D\u043E\u0435 \u043F\u043E\u043B\u0435 \u0432\u0432\u043E\u0434\u0430",
|
|
1270
|
+
"panel.noText": "\u041D\u0435\u0442 \u0442\u0435\u043A\u0441\u0442\u0430 \u0434\u043B\u044F \u0432\u0441\u0442\u0430\u0432\u043A\u0438",
|
|
1271
|
+
"panel.permission": "\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u0435 \u0443\u043D\u0438\u0432\u0435\u0440\u0441\u0430\u043B\u044C\u043D\u044B\u0439 \u0434\u043E\u0441\u0442\u0443\u043F \u0434\u043B\u044F \u0432\u0441\u0442\u0430\u0432\u043A\u0438 \u0438\u043B\u0438 \u0441\u043A\u043E\u043F\u0438\u0440\u0443\u0439\u0442\u0435 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442.",
|
|
1272
|
+
"panel.targetChanged": "\u041F\u043E\u043B\u0435 \u0432\u0432\u043E\u0434\u0430 \u0438\u0437\u043C\u0435\u043D\u0438\u043B\u043E\u0441\u044C \u0438\u043B\u0438 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E. \u0421\u043A\u043E\u043F\u0438\u0440\u0443\u0439\u0442\u0435 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442.",
|
|
1273
|
+
"panel.notInserted": "\u041D\u0435 \u0432\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u043E: {reason}. \u041C\u043E\u0436\u043D\u043E \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442.",
|
|
1274
|
+
"panel.typingUnavailable": "\u041A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442 \u0432\u0432\u043E\u0434\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D",
|
|
1275
|
+
"panel.password": "\u0426\u0435\u043B\u0435\u0432\u043E\u0435 \u043F\u043E\u043B\u0435 \u2014 \u043F\u0430\u0440\u043E\u043B\u044C",
|
|
1276
|
+
"panel.invalidText": "\u0422\u0435\u043A\u0441\u0442 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u0442 \u043D\u0435\u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043C\u044B\u0435 \u0441\u0438\u043C\u0432\u043E\u043B\u044B",
|
|
1277
|
+
"panel.denied": "\u041E\u043A\u043D\u043E \u043E\u0442\u043A\u043B\u043E\u043D\u0438\u043B\u043E \u0438\u043C\u0438\u0442\u0430\u0446\u0438\u044E \u0432\u0432\u043E\u0434\u0430",
|
|
1278
|
+
"panel.interrupted": "\u0421\u0435\u0430\u043D\u0441 \u0432\u0432\u043E\u0434\u0430 \u043F\u0440\u0435\u0440\u0432\u0430\u043D",
|
|
1279
|
+
"panel.queueFull": "\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u043D\u043E\u0433\u043E \u0437\u0430\u0434\u0430\u0447 \u0432\u0432\u043E\u0434\u0430. \u041F\u043E\u0434\u043E\u0436\u0434\u0438\u0442\u0435.",
|
|
1280
|
+
"panel.typingError": "\u041E\u0448\u0438\u0431\u043A\u0430 \u0432\u0432\u043E\u0434\u0430 (\u043A\u043E\u0434 {code})",
|
|
1281
|
+
"device.count.few": "\u041F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u043E {count} \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430 \xB7 \u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435 \u043A\u0430\u0436\u0434\u043E\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E",
|
|
1282
|
+
"device.count.many": "\u041F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u043E {count} \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432 \xB7 \u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435 \u043A\u0430\u0436\u0434\u043E\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E",
|
|
1283
|
+
"language.mandarin": "\u041F\u0443\u0442\u0443\u043D\u0445\u0443\u0430",
|
|
1284
|
+
"language.traditional": "\u041F\u0443\u0442\u0443\u043D\u0445\u0443\u0430 (\u0442\u0440\u0430\u0434\u0438\u0446\u0438\u043E\u043D\u043D\u043E\u0435 \u043F\u0438\u0441\u044C\u043C\u043E)",
|
|
1285
|
+
"language.dialect": "\u0414\u0438\u0430\u043B\u0435\u043A\u0442 {name}",
|
|
1286
|
+
"warning.lowBalance": "\u0411\u0430\u043B\u0430\u043D\u0441 ASR \u043D\u0438\u0437\u043A\u0438\u0439. \u041F\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435 \u0435\u0433\u043E.",
|
|
1287
|
+
"error.workspace": "\u041D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E\u0433\u043E \u0440\u0430\u0431\u043E\u0447\u0435\u0433\u043E \u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0441\u0442\u0432\u0430.",
|
|
1288
|
+
"error.cancelled": "\u0413\u043E\u043B\u043E\u0441\u043E\u0432\u043E\u0439 \u0441\u0435\u0430\u043D\u0441 \u043E\u0442\u043C\u0435\u043D\u0451\u043D.",
|
|
1289
|
+
"error.deviceLimit": "\u0414\u043E\u0441\u0442\u0438\u0433\u043D\u0443\u0442 \u043B\u0438\u043C\u0438\u0442 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432 \u043B\u0438\u0446\u0435\u043D\u0437\u0438\u0438.",
|
|
1290
|
+
"error.screenshotExport": "\u0420\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u0432\u0430\u043D\u0438\u0435 \u0442\u0435\u043A\u0441\u0442\u0430 \u043D\u0430 \u0441\u043D\u0438\u043C\u043A\u0435 \u0438 \u044D\u043A\u0441\u043F\u043E\u0440\u0442 \u0432 Word \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B. \u0421\u043A\u043E\u043F\u0438\u0440\u0443\u0439\u0442\u0435, \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u0435 \u0438\u043B\u0438 \u0437\u0430\u043A\u0440\u0435\u043F\u0438\u0442\u0435 \u0441\u043D\u0438\u043C\u043E\u043A.",
|
|
1291
|
+
"shortcut.configure": "\u0417\u0430\u0434\u0430\u0442\u044C \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u0435 \u043A\u043B\u0430\u0432\u0438\u0448",
|
|
1292
|
+
"shortcut.title": "\u0417\u0430\u0434\u0430\u0442\u044C \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u0435 \u043A\u043B\u0430\u0432\u0438\u0448 \u0434\u043B\u044F \u0441\u043D\u0438\u043C\u043A\u0430",
|
|
1293
|
+
"shortcut.help": "\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u043A\u043D\u043E\u043F\u043A\u0443 \u0441\u043D\u0438\u043C\u043A\u0430 \u043D\u0430 \u043C\u044B\u0448\u0438 \u0438\u043B\u0438 \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u0435 \u043A\u043B\u0430\u0432\u0438\u0448, \u0437\u0430\u0442\u0435\u043C \u0432\u044B\u0434\u0435\u043B\u0438\u0442\u0435 \u043E\u0431\u043B\u0430\u0441\u0442\u044C \u0434\u043B\u044F \u0430\u043D\u043D\u043E\u0442\u0430\u0446\u0438\u0439, \u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F, \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u044F \u0438\u043B\u0438 \u0437\u0430\u043A\u0440\u0435\u043F\u043B\u0435\u043D\u0438\u044F.",
|
|
1294
|
+
"shortcut.unset": "\u041D\u0435 \u0437\u0430\u0434\u0430\u043D\u043E",
|
|
1295
|
+
"shortcut.record": "\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u0435 \u043A\u043B\u0430\u0432\u0438\u0448",
|
|
1296
|
+
"shortcut.recordHelp": "\u0414\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u0445\u043E\u0442\u044F \u0431\u044B \u043E\u0434\u043D\u0443 \u043A\u043B\u0430\u0432\u0438\u0448\u0443-\u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440, \u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440 Command, Ctrl \u0438\u043B\u0438 Alt.",
|
|
1297
|
+
"shortcut.suggested": "\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u0435 {shortcut}",
|
|
1298
|
+
"shortcut.clear": "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C",
|
|
1299
|
+
"shortcut.save": "\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C",
|
|
1300
|
+
"shortcut.saving": "\u0421\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435\u2026",
|
|
1301
|
+
"shortcut.invalid": "\u041D\u0435\u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u043E\u0435 \u0438\u043B\u0438 \u0437\u0430\u0440\u0435\u0437\u0435\u0440\u0432\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0435 \u0441\u0438\u0441\u0442\u0435\u043C\u043E\u0439 \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u0435 \u043A\u043B\u0430\u0432\u0438\u0448",
|
|
1302
|
+
"shortcut.unavailable": "\u0412 \u044D\u0442\u043E\u0439 \u0441\u0440\u0435\u0434\u0435 \u043D\u0435\u043B\u044C\u0437\u044F \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u0435 \u043A\u043B\u0430\u0432\u0438\u0448 \u0434\u043B\u044F \u0441\u043D\u0438\u043C\u043A\u043E\u0432.",
|
|
1303
|
+
"shortcut.saveFailed": "\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u0435 \u043A\u043B\u0430\u0432\u0438\u0448. \u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0430\u044F \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0430.",
|
|
1304
|
+
"shortcut.conflict": "\u042D\u0442\u043E \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u0435 \u043A\u043B\u0430\u0432\u0438\u0448 \u0443\u0436\u0435 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F. \u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0434\u0440\u0443\u0433\u043E\u0435.",
|
|
1305
|
+
"permission.system": "\u0421\u0438\u0441\u0442\u0435\u043C\u043D\u044B\u0435 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u044F",
|
|
1306
|
+
"permission.intro": "\u041F\u0435\u0440\u0435\u0434 \u043F\u0435\u0440\u0432\u044B\u043C \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043C \u043F\u0440\u0435\u0434\u043E\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0435 \u0441\u0438\u0441\u0442\u0435\u043C\u043D\u044B\u0435 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u044F.",
|
|
1307
|
+
"permission.allGranted": "\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u044F \u0434\u043B\u044F \u0441\u043D\u0438\u043C\u043A\u043E\u0432 \u0438 \u0432\u0432\u043E\u0434\u0430 \u0442\u0435\u043A\u0441\u0442\u0430 \u043F\u0440\u0435\u0434\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u044B.",
|
|
1308
|
+
"permission.grant": "\u041F\u0440\u0435\u0434\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F",
|
|
1309
|
+
"permission.typingTitle": "\u0412\u0432\u043E\u0434 \u0442\u0435\u043A\u0441\u0442\u0430",
|
|
1310
|
+
"permission.screenTitle": "\u0421\u043D\u0438\u043C\u043A\u0438 \u044D\u043A\u0440\u0430\u043D\u0430",
|
|
1311
|
+
"permission.scrollTitle": "\u0421\u043D\u0438\u043C\u043A\u0438 \u0441 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u043E\u0439",
|
|
1312
|
+
"permission.optional": "\u041D\u0435\u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E",
|
|
1313
|
+
"permission.screenHelp": "\u041D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E \u0434\u043B\u044F \u0441\u043D\u0438\u043C\u043A\u043E\u0432. \u041E\u043A\u043D\u043E \u0437\u0430\u0445\u0432\u0430\u0442\u0430 \u043D\u0435 \u043E\u0442\u043A\u0440\u043E\u0435\u0442\u0441\u044F, \u043F\u043E\u043A\u0430 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435 \u043D\u0435 \u043F\u0440\u0435\u0434\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u043E.",
|
|
1314
|
+
"permission.scrollHelp": "\u041E\u0431\u044B\u0447\u043D\u044B\u0435 \u0441\u043D\u0438\u043C\u043A\u0438 \u0438 \u0440\u0443\u0447\u043D\u0430\u044F \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0430 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B \u0438 \u0431\u0435\u0437 \u044D\u0442\u043E\u0433\u043E \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u044F.",
|
|
1315
|
+
"permission.locations": "\u041D\u0435 \u043C\u043E\u0436\u0435\u0442\u0435 \u043D\u0430\u0439\u0442\u0438 \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442 \u0432 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u044F\u0445? \u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435",
|
|
1316
|
+
"shortcut.autoSave": "\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0441\u043E\u0445\u0440\u0430\u043D\u044F\u044E\u0442\u0441\u044F \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438"
|
|
1317
|
+
};
|
|
1318
|
+
|
|
1319
|
+
// src/shared/locales/pt.json
|
|
1320
|
+
var pt_default = {
|
|
1321
|
+
"app.title": "Dispositivos Sonicloud",
|
|
1322
|
+
"app.plugin": "Mouse inteligente Sonicloud",
|
|
1323
|
+
"app.sidebar": "Barra lateral",
|
|
1324
|
+
"device.count.one": "{count} dispositivo conectado \xB7 Configure cada dispositivo",
|
|
1325
|
+
"device.count.other": "{count} dispositivos conectados \xB7 Configure cada dispositivo",
|
|
1326
|
+
"device.empty": "Nenhum dispositivo conectado",
|
|
1327
|
+
"device.connect": "Conecte o receptor USB do mouse ou emparelhe por Bluetooth.",
|
|
1328
|
+
"device.mouse": "Mouse inteligente",
|
|
1329
|
+
"device.generic": "Dispositivo",
|
|
1330
|
+
"device.image": "Ilustra\xE7\xE3o do mouse inteligente",
|
|
1331
|
+
"device.previous": "Dispositivo anterior",
|
|
1332
|
+
"device.next": "Pr\xF3ximo dispositivo",
|
|
1333
|
+
"device.switch": "Mudar para o dispositivo {index}",
|
|
1334
|
+
"device.identity": "Identidade do dispositivo n\xE3o confirmada",
|
|
1335
|
+
"device.identityHelp": "Reconecte o dispositivo para confirmar sua identidade antes de configur\xE1-lo.",
|
|
1336
|
+
"device.connection": "Conex\xE3o",
|
|
1337
|
+
"device.usb": "Receptor USB",
|
|
1338
|
+
"device.bluetooth": "Bluetooth",
|
|
1339
|
+
"device.battery": "Bateria",
|
|
1340
|
+
"common.unknown": "Desconhecido",
|
|
1341
|
+
"device.unsupported": "N\xE3o h\xE1 configura\xE7\xF5es para este tipo de dispositivo.",
|
|
1342
|
+
"common.choose": "Selecione novamente",
|
|
1343
|
+
"common.confirm": "Confirmar",
|
|
1344
|
+
"common.reset": "Restaurar padr\xF5es",
|
|
1345
|
+
"common.applying": "Aplicando\u2026",
|
|
1346
|
+
"voice.input": "Digita\xE7\xE3o por voz",
|
|
1347
|
+
"voice.translate": "Tradu\xE7\xE3o de voz",
|
|
1348
|
+
"voice.search": "Pesquisa por voz",
|
|
1349
|
+
"voice.punctuation": "Pontua\xE7\xE3o",
|
|
1350
|
+
"voice.recognition": "Idioma de reconhecimento",
|
|
1351
|
+
"voice.from": "Idioma de origem",
|
|
1352
|
+
"voice.to": "Idioma de destino",
|
|
1353
|
+
"voice.unavailable": "Servi\xE7o de tradu\xE7\xE3o indispon\xEDvel",
|
|
1354
|
+
"voice.unsupported": "O idioma salvo n\xE3o \xE9 mais compat\xEDvel. Selecione outro idioma de reconhecimento ou tradu\xE7\xE3o.",
|
|
1355
|
+
"voice.pending": "{name} (ainda n\xE3o compat\xEDvel)",
|
|
1356
|
+
"voice.recognitionPending": "{name} (reconhecimento indispon\xEDvel)",
|
|
1357
|
+
"keys.dpi": "Bot\xE3o DPI",
|
|
1358
|
+
"keys.dpiHelp": "Ajusta a sensibilidade do ponteiro",
|
|
1359
|
+
"keys.dpiFailed": "O DPI n\xE3o foi aplicado. Selecione novamente.",
|
|
1360
|
+
"keys.m": "Bot\xE3o M",
|
|
1361
|
+
"keys.mHelp": "Bot\xE3o multifuncional do mouse",
|
|
1362
|
+
"keys.mAction": "A\xE7\xE3o do bot\xE3o M",
|
|
1363
|
+
"keys.enter": "Enter",
|
|
1364
|
+
"keys.backspace": "Backspace",
|
|
1365
|
+
"keys.link": "Link r\xE1pido",
|
|
1366
|
+
"keys.linkUrl": "URL do link r\xE1pido",
|
|
1367
|
+
"keys.searchEngine": "Mecanismo de pesquisa",
|
|
1368
|
+
"keys.speech": "Bot\xE3o de voz",
|
|
1369
|
+
"keys.speechAction": "A\xE7\xE3o do bot\xE3o de voz",
|
|
1370
|
+
"keys.speechHelp": "Segure para ditar ou traduzir; solte para inserir no campo ativo.",
|
|
1371
|
+
"keys.ai": "Bot\xE3o de IA",
|
|
1372
|
+
"keys.aiHelp": "Segure para ditar; solte para preencher o campo da conversa com IA.",
|
|
1373
|
+
"keys.autoSend": "Envio autom\xE1tico",
|
|
1374
|
+
"permission.typing": "Permiss\xF5es de digita\xE7\xE3o",
|
|
1375
|
+
"permission.screenshot": "Permiss\xF5es de captura",
|
|
1376
|
+
"permission.accessibility": "Acessibilidade",
|
|
1377
|
+
"permission.screen": "Grava\xE7\xE3o de tela",
|
|
1378
|
+
"permission.granted": "Concedida",
|
|
1379
|
+
"permission.missing": "N\xE3o concedida",
|
|
1380
|
+
"permission.typingHelp": "Necess\xE1ria para inserir texto em aplicativos. O reconhecimento e a c\xF3pia continuam dispon\xEDveis sem ela.",
|
|
1381
|
+
"permission.grantTyping": "Permitir acessibilidade para digita\xE7\xE3o",
|
|
1382
|
+
"permission.checkTyping": "Verificar permiss\xF5es de digita\xE7\xE3o",
|
|
1383
|
+
"permission.checkScreenshot": "Verificar permiss\xF5es de captura",
|
|
1384
|
+
"permission.checking": "Verificando\u2026",
|
|
1385
|
+
"permission.recheck": "Verificar novamente",
|
|
1386
|
+
"permission.location": "Ver localiza\xE7\xE3o se {helper} n\xE3o for encontrado",
|
|
1387
|
+
"permission.pathHelp": "Use este local para adicionar o componente \xE0 lista de permiss\xF5es do sistema:",
|
|
1388
|
+
"permission.ready": "As permiss\xF5es de captura de {helper} est\xE3o prontas.",
|
|
1389
|
+
"permission.grantHelp": "Conceda permiss\xF5es ao componente de captura {helper}.",
|
|
1390
|
+
"permission.screenState": "Grava\xE7\xE3o de tela: {state} (necess\xE1ria para capturas)",
|
|
1391
|
+
"permission.accessState": "Acessibilidade: {state} (opcional para rolagem autom\xE1tica; capturas normais e rolagem manual continuam dispon\xEDveis)",
|
|
1392
|
+
"permission.grantScreen": "Permitir grava\xE7\xE3o de tela",
|
|
1393
|
+
"permission.grantAccess": "Permitir acessibilidade",
|
|
1394
|
+
"screenshot.title": "Captura de tela",
|
|
1395
|
+
"screenshot.start": "Fazer captura",
|
|
1396
|
+
"screenshot.starting": "Iniciando\u2026",
|
|
1397
|
+
"screenshot.permissionHelp": "Permita a grava\xE7\xE3o de tela antes da primeira captura. A interface de captura n\xE3o aparece durante a autoriza\xE7\xE3o.",
|
|
1398
|
+
"screenshot.help": "Clique aqui ou no bot\xE3o de captura do mouse, selecione uma \xE1rea e anote, copie, salve ou fixe.",
|
|
1399
|
+
"error.generic": "A opera\xE7\xE3o falhou. Tente novamente.",
|
|
1400
|
+
"error.connection": "A conex\xE3o com o servi\xE7o falhou ou foi interrompida. Verifique a rede e tente novamente.",
|
|
1401
|
+
"error.timeout": "O servi\xE7o excedeu o tempo limite. Tente novamente.",
|
|
1402
|
+
"error.auth": "Falha na autoriza\xE7\xE3o. Reconecte o mouse ou entre em contato com o suporte.",
|
|
1403
|
+
"error.quota": "Cota do servi\xE7o esgotada. Entre em contato com o suporte.",
|
|
1404
|
+
"error.busy": "Outra opera\xE7\xE3o est\xE1 em andamento. Conclua-a e tente novamente.",
|
|
1405
|
+
"error.device": "Dispositivo desconectado ou n\xE3o identificado. Reconecte o mouse.",
|
|
1406
|
+
"error.sdk": "SDK do mouse indispon\xEDvel. Verifique a instala\xE7\xE3o e a arquitetura do sistema.",
|
|
1407
|
+
"error.audio": "\xC1udio inv\xE1lido, perdido ou processamento lento. Grave novamente.",
|
|
1408
|
+
"error.noSpeech": "Nenhuma fala reconhecida. Grave novamente.",
|
|
1409
|
+
"error.duration": "A grava\xE7\xE3o \xE9 limitada a 10 minutos.",
|
|
1410
|
+
"error.language": "Idioma indispon\xEDvel ou n\xE3o configurado. Selecione um idioma compat\xEDvel.",
|
|
1411
|
+
"error.translation": "A tradu\xE7\xE3o falhou. Copie o texto original e tente novamente.",
|
|
1412
|
+
"error.translationLength": "O texto excede 5.000 caracteres. Voc\xEA pode copiar o original.",
|
|
1413
|
+
"error.sameLanguage": "Os idiomas de origem e destino devem ser diferentes.",
|
|
1414
|
+
"error.url": "Insira uma URL HTTP/HTTPS v\xE1lida (at\xE9 4.096 caracteres, sem credenciais ou espa\xE7os).",
|
|
1415
|
+
"error.settings": "Configura\xE7\xF5es inv\xE1lidas ou alteradas. Selecione novamente.",
|
|
1416
|
+
"error.notSaved": "N\xE3o salvo: {reason} As configura\xE7\xF5es anteriores continuam ativas.",
|
|
1417
|
+
"settings.linkSaved": "Link salvo e aplicado",
|
|
1418
|
+
"settings.saved": "Salvo",
|
|
1419
|
+
"settings.savedOffline": "Salvo. Reconecte o dispositivo para aplicar.",
|
|
1420
|
+
"settings.savedDpi": "Configura\xE7\xF5es salvas. {reason}",
|
|
1421
|
+
"settings.dpiSent": "Comando DPI enviado (o dispositivo n\xE3o confirma a aplica\xE7\xE3o)",
|
|
1422
|
+
"error.action": "A a\xE7\xE3o do sistema falhou. Verifique as permiss\xF5es e o host.",
|
|
1423
|
+
"error.browser": "N\xE3o foi poss\xEDvel abrir o navegador. Verifique o navegador padr\xE3o.",
|
|
1424
|
+
"error.closed": "Servi\xE7o encerrado. Ative o plugin novamente.",
|
|
1425
|
+
"error.panel": "Painel de voz indispon\xEDvel. Verifique a instala\xE7\xE3o e tente novamente.",
|
|
1426
|
+
"error.screenshot": "A captura falhou. Verifique a instala\xE7\xE3o e as permiss\xF5es do sistema.",
|
|
1427
|
+
"error.screenPermission": "Permita a grava\xE7\xE3o de tela para screenhelper e verifique novamente.",
|
|
1428
|
+
"error.screenshotBusy": "Conclua a captura ou feche as imagens fixadas e tente novamente.",
|
|
1429
|
+
"error.permission": "Falha ao verificar ou solicitar permiss\xF5es. Tente novamente.",
|
|
1430
|
+
"permission.requested": "Autorize {helper} no di\xE1logo do sistema ou em Privacidade e Seguran\xE7a e verifique novamente. Reinicie se solicitado.",
|
|
1431
|
+
"permission.pending": "A permiss\xE3o ainda n\xE3o foi concedida. Se acabou de conced\xEA-la, reinicie conforme indicado e verifique novamente.",
|
|
1432
|
+
"permission.firstUse": "No primeiro uso no macOS, abra Dispositivos Sonicloud e conceda as permiss\xF5es necess\xE1rias.",
|
|
1433
|
+
"status.connecting": "Conectando ao servi\xE7o de dispositivos\u2026",
|
|
1434
|
+
"status.reconnecting": "Servi\xE7o desconectado. Reconectando\u2026",
|
|
1435
|
+
"status.connected": "Dispositivo conectado",
|
|
1436
|
+
"status.searching": "Procurando mouse. Conecte um receptor 2.4G ou Bluetooth.",
|
|
1437
|
+
"status.receiver": "Receptor 2.4G detectado. Ligue o mouse e selecione o modo 2.4G.",
|
|
1438
|
+
"status.occupied": "A interface USB est\xE1 em uso por {names}. Feche o aplicativo; a conex\xE3o ser\xE1 tentada novamente.",
|
|
1439
|
+
"error.ai": "N\xE3o foi poss\xEDvel criar, preencher ou enviar a conversa com IA. Voc\xEA pode copiar o resultado.",
|
|
1440
|
+
"error.aiWindow": "A janela n\xE3o abriu. O texto est\xE1 no rascunho da conversa e pode ser copiado.",
|
|
1441
|
+
"panel.title": "Voz Sonicloud",
|
|
1442
|
+
"panel.result": "Resultado do reconhecimento de voz",
|
|
1443
|
+
"panel.processing": "Processando voz",
|
|
1444
|
+
"panel.finishing": "Finalizando\u2026",
|
|
1445
|
+
"panel.translating": "Traduzindo\u2026",
|
|
1446
|
+
"panel.copy": "Copiar resultado",
|
|
1447
|
+
"panel.copied": "Copiado",
|
|
1448
|
+
"panel.copyFailed": "Falha ao copiar",
|
|
1449
|
+
"panel.cancel": "Cancelar",
|
|
1450
|
+
"panel.close": "Fechar",
|
|
1451
|
+
"panel.submit": "Inserir texto",
|
|
1452
|
+
"panel.openInput": "Abra o campo de destino",
|
|
1453
|
+
"panel.noText": "N\xE3o h\xE1 texto para inserir",
|
|
1454
|
+
"panel.permission": "Permita a acessibilidade para inserir texto ou copie o resultado.",
|
|
1455
|
+
"panel.targetChanged": "O destino mudou ou n\xE3o aceita entrada. Copie o resultado.",
|
|
1456
|
+
"panel.notInserted": "N\xE3o inserido: {reason}. Voc\xEA pode copiar o resultado.",
|
|
1457
|
+
"panel.typingUnavailable": "Componente de digita\xE7\xE3o indispon\xEDvel",
|
|
1458
|
+
"panel.password": "O destino \xE9 um campo de senha",
|
|
1459
|
+
"panel.invalidText": "O texto cont\xE9m caracteres incompat\xEDveis",
|
|
1460
|
+
"panel.denied": "A janela rejeitou a entrada simulada",
|
|
1461
|
+
"panel.interrupted": "Sess\xE3o de digita\xE7\xE3o interrompida",
|
|
1462
|
+
"panel.queueFull": "Muitas tarefas de digita\xE7\xE3o. Aguarde.",
|
|
1463
|
+
"panel.typingError": "Falha na digita\xE7\xE3o (c\xF3digo {code})",
|
|
1464
|
+
"device.count.few": "{count} dispositivos conectados \xB7 Configure cada dispositivo",
|
|
1465
|
+
"device.count.many": "{count} dispositivos conectados \xB7 Configure cada dispositivo",
|
|
1466
|
+
"language.mandarin": "Mandarim",
|
|
1467
|
+
"language.traditional": "Mandarim (tradicional)",
|
|
1468
|
+
"language.dialect": "Dialeto {name}",
|
|
1469
|
+
"warning.lowBalance": "O saldo de ASR est\xE1 baixo. Recarregue em breve.",
|
|
1470
|
+
"error.workspace": "Nenhum espa\xE7o de trabalho dispon\xEDvel.",
|
|
1471
|
+
"error.cancelled": "A sess\xE3o de voz foi cancelada.",
|
|
1472
|
+
"error.deviceLimit": "O limite de dispositivos da licen\xE7a foi atingido.",
|
|
1473
|
+
"error.screenshotExport": "OCR de capturas e exporta\xE7\xE3o para Word n\xE3o est\xE3o dispon\xEDveis. Copie, salve ou fixe a captura.",
|
|
1474
|
+
"shortcut.configure": "Definir atalho",
|
|
1475
|
+
"shortcut.title": "Definir atalho de captura",
|
|
1476
|
+
"shortcut.help": "Pressione o bot\xE3o de captura do mouse ou o atalho e selecione uma \xE1rea para anotar, copiar, salvar ou fixar.",
|
|
1477
|
+
"shortcut.unset": "N\xE3o definido",
|
|
1478
|
+
"shortcut.record": "Pressione uma combina\xE7\xE3o de teclas",
|
|
1479
|
+
"shortcut.recordHelp": "Inclua pelo menos um modificador, como Command, Ctrl ou Alt.",
|
|
1480
|
+
"shortcut.suggested": "Usar combina\xE7\xE3o sugerida {shortcut}",
|
|
1481
|
+
"shortcut.clear": "Limpar",
|
|
1482
|
+
"shortcut.save": "Salvar",
|
|
1483
|
+
"shortcut.saving": "Salvando\u2026",
|
|
1484
|
+
"shortcut.invalid": "Atalho inv\xE1lido ou reservado pelo sistema",
|
|
1485
|
+
"shortcut.unavailable": "N\xE3o \xE9 poss\xEDvel registrar atalhos de captura neste ambiente.",
|
|
1486
|
+
"shortcut.saveFailed": "N\xE3o foi poss\xEDvel salvar o atalho. A configura\xE7\xE3o anterior foi mantida.",
|
|
1487
|
+
"shortcut.conflict": "Este atalho j\xE1 est\xE1 em uso. Escolha outra combina\xE7\xE3o.",
|
|
1488
|
+
"permission.system": "Permiss\xF5es do sistema",
|
|
1489
|
+
"permission.intro": "Conceda as seguintes permiss\xF5es do sistema antes do primeiro uso.",
|
|
1490
|
+
"permission.allGranted": "As permiss\xF5es para capturas e inser\xE7\xE3o de texto est\xE3o prontas.",
|
|
1491
|
+
"permission.grant": "Conceder acesso",
|
|
1492
|
+
"permission.typingTitle": "Inser\xE7\xE3o de texto",
|
|
1493
|
+
"permission.screenTitle": "Capturas de tela",
|
|
1494
|
+
"permission.scrollTitle": "Captura com rolagem autom\xE1tica",
|
|
1495
|
+
"permission.optional": "Opcional",
|
|
1496
|
+
"permission.screenHelp": "Necess\xE1ria para capturas. A sobreposi\xE7\xE3o de captura n\xE3o aparece at\xE9 que a permiss\xE3o seja concedida.",
|
|
1497
|
+
"permission.scrollHelp": "Capturas normais e rolagem manual continuam dispon\xEDveis sem esta permiss\xE3o.",
|
|
1498
|
+
"permission.locations": "N\xE3o encontrou um componente nas permiss\xF5es? Ver localiza\xE7\xE3o",
|
|
1499
|
+
"shortcut.autoSave": "As configura\xE7\xF5es s\xE3o salvas automaticamente"
|
|
1500
|
+
};
|
|
1501
|
+
|
|
1502
|
+
// src/shared/i18n.mjs
|
|
1503
|
+
var NAMESPACE = "sonicloud.device";
|
|
1504
|
+
var dictionaries = { zh: zh_default, en: en_default, ja: ja_default, es: es_default, fr: fr_default, de: de_default, ru: ru_default, pt: pt_default };
|
|
1505
|
+
var LOCALES = Object.keys(dictionaries);
|
|
1506
|
+
var PREFIX = "sonicloud:";
|
|
1507
|
+
function message(key, params = {}) {
|
|
1508
|
+
return PREFIX + JSON.stringify({ key, params });
|
|
1509
|
+
}
|
|
1510
|
+
function decodeMessage(value) {
|
|
1511
|
+
if (typeof value !== "string" || !value.startsWith(PREFIX)) return void 0;
|
|
1512
|
+
try {
|
|
1513
|
+
const data = JSON.parse(value.slice(PREFIX.length));
|
|
1514
|
+
return data && typeof data.key === "string" && data.params && typeof data.params === "object" && !Array.isArray(data.params) ? data : void 0;
|
|
1515
|
+
} catch {
|
|
1516
|
+
return void 0;
|
|
1517
|
+
}
|
|
1518
|
+
}
|
|
1519
|
+
function resolveLocale(active, locales = []) {
|
|
1520
|
+
const seen = /* @__PURE__ */ new Set();
|
|
1521
|
+
while (typeof active === "string" && !seen.has(active.toLowerCase())) {
|
|
1522
|
+
const key = active.toLowerCase();
|
|
1523
|
+
if (Object.hasOwn(dictionaries, key)) return key;
|
|
1524
|
+
seen.add(key);
|
|
1525
|
+
active = locales.find((item) => item.id.toLowerCase() === key)?.fallback;
|
|
1526
|
+
}
|
|
1527
|
+
return "en";
|
|
1528
|
+
}
|
|
1529
|
+
function translate(locale, key, params = {}) {
|
|
1530
|
+
const dict = dictionaries[resolveLocale(locale)];
|
|
1531
|
+
const template = Object.hasOwn(dict, key) ? dict[key] : Object.hasOwn(en_default, key) ? en_default[key] : dict["error.generic"];
|
|
1532
|
+
return template.replace(/\{(\w+)\}/g, (_, name) => String(params[name] ?? ""));
|
|
1533
|
+
}
|
|
1534
|
+
function renderMessage(value, t = (key, params) => translate("en", key, params), depth = 0) {
|
|
1535
|
+
if (!value) return "";
|
|
1536
|
+
const data = decodeMessage(value);
|
|
1537
|
+
if (!data || depth > 4) return t("error.generic");
|
|
1538
|
+
const params = Object.fromEntries(Object.entries(data.params).map(([key, val]) => [
|
|
1539
|
+
key,
|
|
1540
|
+
decodeMessage(val) ? renderMessage(val, t, depth + 1) : typeof val === "string" || typeof val === "number" ? val : ""
|
|
1541
|
+
]));
|
|
1542
|
+
return t(data.key, params);
|
|
1543
|
+
}
|
|
1544
|
+
var safeMessage = (value, fallback = "error.generic") => decodeMessage(value) ? value : message(fallback);
|
|
1545
|
+
|
|
1546
|
+
// src/client/locale.mjs
|
|
1547
|
+
var ClientLocale = class {
|
|
1548
|
+
constructor(host, form) {
|
|
1549
|
+
this.host = host;
|
|
1550
|
+
this.form = form;
|
|
1551
|
+
this.read = () => host.getSnapshot();
|
|
1552
|
+
this.subscribe = (listener) => host.subscribe(listener);
|
|
1553
|
+
this.bound = host.bind(NAMESPACE);
|
|
1554
|
+
}
|
|
1555
|
+
get language() {
|
|
1556
|
+
const state = this.read();
|
|
1557
|
+
return resolveLocale(state.active, state.locales);
|
|
1558
|
+
}
|
|
1559
|
+
t = (key, params = {}) => {
|
|
1560
|
+
if (!Object.hasOwn(dictionaries.en, key)) return translate(this.language, "error.generic");
|
|
1561
|
+
const value = this.bound(key, params);
|
|
1562
|
+
return typeof value === "string" && value !== key && value ? value : translate(this.language, key, params);
|
|
1563
|
+
};
|
|
1564
|
+
text = (value) => renderMessage(value, this.t);
|
|
1565
|
+
count = (count) => this.t(`device.count.${new Intl.PluralRules(this.language).select(count)}`, { count });
|
|
1566
|
+
// 只提交已经从 Host 读取成功的配置版本,后台再次核对,拒绝初始化临时值。
|
|
1567
|
+
sync = async (api) => {
|
|
1568
|
+
const state = this.read(), accepted = this.form?.getSnapshot();
|
|
1569
|
+
if (accepted?.status !== "ready" || !Number.isInteger(accepted.revision)) return;
|
|
1570
|
+
if (accepted.value?.preference && accepted.value.preference.toLowerCase() !== state.active.toLowerCase()) return;
|
|
1571
|
+
await api.syncLocale({ active: state.active, resolved: this.language, revision: accepted.revision });
|
|
1572
|
+
};
|
|
1573
|
+
};
|
|
1574
|
+
var fallbackLocale = {
|
|
1575
|
+
subscribe: () => () => {
|
|
1576
|
+
},
|
|
1577
|
+
read: () => "en",
|
|
1578
|
+
language: "en",
|
|
1579
|
+
t: (key, params) => translate("en", key, params),
|
|
1580
|
+
text: (value) => renderMessage(value),
|
|
1581
|
+
count: (count) => translate("en", `device.count.${count === 1 ? "one" : "other"}`, { count })
|
|
1582
|
+
};
|
|
1583
|
+
function registerLocale(ctx) {
|
|
1584
|
+
ctx.effect(() => ctx.locale.register(NAMESPACE, dictionaries));
|
|
1585
|
+
return new ClientLocale(ctx.locale, ctx.configForms.get("locale"));
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1588
|
+
// src/client/index.jsx
|
|
1589
|
+
var import_react7 = __toESM(require("react"), 1);
|
|
1590
|
+
var import_dsh_client_ui_primitives4 = require("@deepseek-ai/dsh-client-ui-primitives");
|
|
39
1591
|
|
|
40
1592
|
// node_modules/zod/v4/classic/external.js
|
|
41
1593
|
var external_exports = {};
|
|
@@ -1205,8 +2757,8 @@ function prefixIssues(path, issues) {
|
|
|
1205
2757
|
return iss;
|
|
1206
2758
|
});
|
|
1207
2759
|
}
|
|
1208
|
-
function unwrapMessage(
|
|
1209
|
-
return typeof
|
|
2760
|
+
function unwrapMessage(message2) {
|
|
2761
|
+
return typeof message2 === "string" ? message2 : message2?.message;
|
|
1210
2762
|
}
|
|
1211
2763
|
function sizeCaps(defChecks) {
|
|
1212
2764
|
const caps = [];
|
|
@@ -1236,7 +2788,7 @@ function finalizeIssue(iss, ctx, config2) {
|
|
|
1236
2788
|
iss.schema = iss.inst;
|
|
1237
2789
|
}
|
|
1238
2790
|
const schemaError = iss.schema !== iss.inst ? iss.schema?._zod.def?.error : void 0;
|
|
1239
|
-
const
|
|
2791
|
+
const message2 = iss.message ? iss.message : unwrapMessage(iss.inst?._zod.def?.error?.(iss)) ?? unwrapMessage(schemaError?.(iss)) ?? unwrapMessage(ctx?.error?.(iss)) ?? unwrapMessage(config2.customError?.(iss)) ?? unwrapMessage(config2.localeError?.(iss)) ?? "Invalid input";
|
|
1240
2792
|
const full = {};
|
|
1241
2793
|
for (const k of Object.keys(iss)) {
|
|
1242
2794
|
if (k === "inst" || k === "schema" || k === "continue" || k === "input" || k === "__proto__")
|
|
@@ -1244,7 +2796,7 @@ function finalizeIssue(iss, ctx, config2) {
|
|
|
1244
2796
|
full[k] = iss[k];
|
|
1245
2797
|
}
|
|
1246
2798
|
full.path ?? (full.path = []);
|
|
1247
|
-
full.message =
|
|
2799
|
+
full.message = message2;
|
|
1248
2800
|
if (ctx?.reportInput) {
|
|
1249
2801
|
full.input = iss.input;
|
|
1250
2802
|
}
|
|
@@ -5374,14 +6926,14 @@ __export(locales_exports, {
|
|
|
5374
6926
|
ckb: () => ckb_default,
|
|
5375
6927
|
cs: () => cs_default,
|
|
5376
6928
|
da: () => da_default,
|
|
5377
|
-
de: () =>
|
|
6929
|
+
de: () => de_default2,
|
|
5378
6930
|
el: () => el_default,
|
|
5379
|
-
en: () =>
|
|
6931
|
+
en: () => en_default2,
|
|
5380
6932
|
eo: () => eo_default,
|
|
5381
|
-
es: () =>
|
|
6933
|
+
es: () => es_default2,
|
|
5382
6934
|
fa: () => fa_default,
|
|
5383
6935
|
fi: () => fi_default,
|
|
5384
|
-
fr: () =>
|
|
6936
|
+
fr: () => fr_default2,
|
|
5385
6937
|
frCA: () => fr_CA_default,
|
|
5386
6938
|
gu: () => gu_default,
|
|
5387
6939
|
he: () => he_default,
|
|
@@ -5392,7 +6944,7 @@ __export(locales_exports, {
|
|
|
5392
6944
|
id: () => id_default,
|
|
5393
6945
|
is: () => is_default,
|
|
5394
6946
|
it: () => it_default,
|
|
5395
|
-
ja: () =>
|
|
6947
|
+
ja: () => ja_default2,
|
|
5396
6948
|
ka: () => ka_default,
|
|
5397
6949
|
kh: () => kh_default,
|
|
5398
6950
|
km: () => km_default,
|
|
@@ -5408,10 +6960,10 @@ __export(locales_exports, {
|
|
|
5408
6960
|
ota: () => ota_default,
|
|
5409
6961
|
pl: () => pl_default,
|
|
5410
6962
|
ps: () => ps_default,
|
|
5411
|
-
pt: () =>
|
|
6963
|
+
pt: () => pt_default2,
|
|
5412
6964
|
ptBR: () => pt_BR_default,
|
|
5413
6965
|
ro: () => ro_default,
|
|
5414
|
-
ru: () =>
|
|
6966
|
+
ru: () => ru_default2,
|
|
5415
6967
|
sk: () => sk_default,
|
|
5416
6968
|
sl: () => sl_default,
|
|
5417
6969
|
sv: () => sv_default,
|
|
@@ -6655,7 +8207,7 @@ var error10 = () => {
|
|
|
6655
8207
|
}
|
|
6656
8208
|
};
|
|
6657
8209
|
};
|
|
6658
|
-
function
|
|
8210
|
+
function de_default2() {
|
|
6659
8211
|
return {
|
|
6660
8212
|
localeError: error10()
|
|
6661
8213
|
};
|
|
@@ -6893,7 +8445,7 @@ var error12 = () => {
|
|
|
6893
8445
|
}
|
|
6894
8446
|
};
|
|
6895
8447
|
};
|
|
6896
|
-
function
|
|
8448
|
+
function en_default2() {
|
|
6897
8449
|
return {
|
|
6898
8450
|
localeError: error12()
|
|
6899
8451
|
};
|
|
@@ -7145,7 +8697,7 @@ var error14 = () => {
|
|
|
7145
8697
|
}
|
|
7146
8698
|
};
|
|
7147
8699
|
};
|
|
7148
|
-
function
|
|
8700
|
+
function es_default2() {
|
|
7149
8701
|
return {
|
|
7150
8702
|
localeError: error14()
|
|
7151
8703
|
};
|
|
@@ -7513,7 +9065,7 @@ var error17 = () => {
|
|
|
7513
9065
|
}
|
|
7514
9066
|
};
|
|
7515
9067
|
};
|
|
7516
|
-
function
|
|
9068
|
+
function fr_default2() {
|
|
7517
9069
|
return {
|
|
7518
9070
|
localeError: error17()
|
|
7519
9071
|
};
|
|
@@ -8908,7 +10460,7 @@ var error28 = () => {
|
|
|
8908
10460
|
}
|
|
8909
10461
|
};
|
|
8910
10462
|
};
|
|
8911
|
-
function
|
|
10463
|
+
function ja_default2() {
|
|
8912
10464
|
return {
|
|
8913
10465
|
localeError: error28()
|
|
8914
10466
|
};
|
|
@@ -10766,7 +12318,7 @@ var error43 = () => {
|
|
|
10766
12318
|
}
|
|
10767
12319
|
};
|
|
10768
12320
|
};
|
|
10769
|
-
function
|
|
12321
|
+
function pt_default2() {
|
|
10770
12322
|
return {
|
|
10771
12323
|
localeError: error43()
|
|
10772
12324
|
};
|
|
@@ -11203,7 +12755,7 @@ var error46 = () => {
|
|
|
11203
12755
|
}
|
|
11204
12756
|
};
|
|
11205
12757
|
};
|
|
11206
|
-
function
|
|
12758
|
+
function ru_default2() {
|
|
11207
12759
|
return {
|
|
11208
12760
|
localeError: error46()
|
|
11209
12761
|
};
|
|
@@ -12983,8 +14535,8 @@ var globalRegistry = globalThis.__zod_globalRegistry;
|
|
|
12983
14535
|
var INVALID = Symbol.for("zod.compile.invalid");
|
|
12984
14536
|
var FALLBACK_FLAG = Symbol.for("zod.compile.fallback");
|
|
12985
14537
|
var ZodCompileAsyncError = class extends Error {
|
|
12986
|
-
constructor(
|
|
12987
|
-
super(
|
|
14538
|
+
constructor(message2 = "z.compile does not support async refinements, transforms, or checks") {
|
|
14539
|
+
super(message2);
|
|
12988
14540
|
this.name = "ZodCompileAsyncError";
|
|
12989
14541
|
}
|
|
12990
14542
|
};
|
|
@@ -15684,12 +17236,12 @@ function initializeContext(params) {
|
|
|
15684
17236
|
external: params?.external ?? void 0
|
|
15685
17237
|
};
|
|
15686
17238
|
}
|
|
15687
|
-
function handleUnrepresentable(schema, ctx, json2, params,
|
|
15688
|
-
const result = typeof ctx.unrepresentable === "function" ? ctx.unrepresentable({ zodSchema: schema, path: params.path, message }) : ctx.unrepresentable;
|
|
17239
|
+
function handleUnrepresentable(schema, ctx, json2, params, message2) {
|
|
17240
|
+
const result = typeof ctx.unrepresentable === "function" ? ctx.unrepresentable({ zodSchema: schema, path: params.path, message: message2 }) : ctx.unrepresentable;
|
|
15689
17241
|
if (result === "any")
|
|
15690
17242
|
return false;
|
|
15691
17243
|
if (result === void 0 || result === "throw")
|
|
15692
|
-
throw new Error(
|
|
17244
|
+
throw new Error(message2);
|
|
15693
17245
|
Object.assign(json2, result);
|
|
15694
17246
|
return true;
|
|
15695
17247
|
}
|
|
@@ -17286,7 +18838,7 @@ var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
|
17286
18838
|
// node_modules/zod/v4/classic/schemas.js
|
|
17287
18839
|
function _ensureDefaultLocale() {
|
|
17288
18840
|
if (!globalConfig.localeError)
|
|
17289
|
-
config(
|
|
18841
|
+
config(en_default2());
|
|
17290
18842
|
}
|
|
17291
18843
|
function _ensureDefaultMemoizer() {
|
|
17292
18844
|
if (!globalConfig.memoizer)
|
|
@@ -19883,34 +21435,34 @@ var M_KEY_SEARCH_URL_LIST = [
|
|
|
19883
21435
|
|
|
19884
21436
|
// src/shared/devices.mjs
|
|
19885
21437
|
var languageKey = ({ language, accent, rlang }) => JSON.stringify([language, accent, rlang]);
|
|
19886
|
-
var choice = (list) => external_exports.string().refine((value) => list.some((item) => item.value === value), "
|
|
21438
|
+
var choice = (list) => external_exports.string().refine((value) => list.some((item) => item.value === value), message("error.settings"));
|
|
19887
21439
|
var recognitionValueSchema = external_exports.object({ language: external_exports.string(), accent: external_exports.string(), rlang: external_exports.string() }).strict();
|
|
19888
|
-
var recognitionSchema = recognitionValueSchema.refine((value) => REC_LANG_LIST.some((item) => languageKey(item) === languageKey(value)), "
|
|
21440
|
+
var recognitionSchema = recognitionValueSchema.refine((value) => REC_LANG_LIST.some((item) => languageKey(item) === languageKey(value)), message("error.language"));
|
|
19889
21441
|
function webUrl(value) {
|
|
19890
21442
|
let text2 = value.trim();
|
|
19891
21443
|
const hasProtocol = /^https?:\/\//i.test(text2);
|
|
19892
21444
|
if (!hasProtocol) {
|
|
19893
21445
|
if (/^[a-z][a-z\d+.-]*:/i.test(text2) && !/^[^:/?#]+:\d+(?:[/?#]|$)/u.test(text2)) {
|
|
19894
|
-
throw new Error("
|
|
21446
|
+
throw new Error(message("error.url"));
|
|
19895
21447
|
}
|
|
19896
|
-
if (/^https?:/i.test(text2)) throw new Error("
|
|
21448
|
+
if (/^https?:/i.test(text2)) throw new Error(message("error.url"));
|
|
19897
21449
|
text2 = `https://${text2}`;
|
|
19898
21450
|
}
|
|
19899
|
-
if (!/^https?:\/\/[^/\\\s]/i.test(text2) || value.trim().length > 4096) throw new Error("
|
|
21451
|
+
if (!/^https?:\/\/[^/\\\s]/i.test(text2) || value.trim().length > 4096) throw new Error(message("error.url"));
|
|
19900
21452
|
let url2;
|
|
19901
21453
|
try {
|
|
19902
21454
|
url2 = new URL(text2);
|
|
19903
21455
|
} catch {
|
|
19904
|
-
throw new Error("
|
|
21456
|
+
throw new Error(message("error.url"));
|
|
19905
21457
|
}
|
|
19906
21458
|
if (!["http:", "https:"].includes(url2.protocol) || !url2.hostname || url2.username || url2.password || /[\\\u0000-\u0020\u007f]/u.test(text2)) {
|
|
19907
|
-
throw new Error("
|
|
21459
|
+
throw new Error(message("error.url"));
|
|
19908
21460
|
}
|
|
19909
21461
|
if (!hasProtocol && !url2.hostname.includes(".") && !url2.hostname.startsWith("[") && url2.hostname !== "localhost") {
|
|
19910
|
-
throw new Error("
|
|
21462
|
+
throw new Error(message("error.url"));
|
|
19911
21463
|
}
|
|
19912
21464
|
if (!url2.hostname.startsWith("[") && url2.hostname.replace(/\.$/, "").split(".").some((label) => !/^[a-z\d](?:[a-z\d-]*[a-z\d])?$/i.test(label))) {
|
|
19913
|
-
throw new Error("
|
|
21465
|
+
throw new Error(message("error.url"));
|
|
19914
21466
|
}
|
|
19915
21467
|
return value.trim();
|
|
19916
21468
|
}
|
|
@@ -19955,12 +21507,85 @@ var defaultPreferences = () => ({
|
|
|
19955
21507
|
aiAction: "openAi",
|
|
19956
21508
|
aiAutoSend: true
|
|
19957
21509
|
});
|
|
19958
|
-
var snSchema = external_exports.string().min(1).max(128).refine((value) => !/^(usb-|ble-)/i.test(value) && !/[\u0000-\u0020]/u.test(value) && !["__proto__", "prototype", "constructor"].includes(value), "
|
|
21510
|
+
var snSchema = external_exports.string().min(1).max(128).refine((value) => !/^(usb-|ble-)/i.test(value) && !/[\u0000-\u0020]/u.test(value) && !["__proto__", "prototype", "constructor"].includes(value), message("device.identity"));
|
|
19959
21511
|
function sourceRecognitionLanguage(from) {
|
|
19960
21512
|
const locale = TRANS_FROM_LANG_LIST.find((item) => item.value === from)?.locale;
|
|
19961
21513
|
return REC_LANG_LIST.find((item) => item.language === locale && item.accent === "mandarin" && item.rlang === "");
|
|
19962
21514
|
}
|
|
19963
21515
|
|
|
21516
|
+
// src/shared/screenshot-shortcut.mjs
|
|
21517
|
+
var modifierOrder = ["Control", "Alt", "Shift", "Meta"];
|
|
21518
|
+
var namedKeys = [
|
|
21519
|
+
"ArrowLeft",
|
|
21520
|
+
"ArrowRight",
|
|
21521
|
+
"ArrowUp",
|
|
21522
|
+
"ArrowDown",
|
|
21523
|
+
"Home",
|
|
21524
|
+
"End",
|
|
21525
|
+
"PageUp",
|
|
21526
|
+
"PageDown",
|
|
21527
|
+
"Insert",
|
|
21528
|
+
"Delete",
|
|
21529
|
+
"Backspace",
|
|
21530
|
+
"Space",
|
|
21531
|
+
"Tab",
|
|
21532
|
+
"Enter",
|
|
21533
|
+
"Escape"
|
|
21534
|
+
];
|
|
21535
|
+
var shortcutBindingSchema = external_exports.object({
|
|
21536
|
+
code: external_exports.string().refine((code) => /^(?:Key[A-Z]|Digit[0-9]|F(?:[1-9]|10|11))$/.test(code) || namedKeys.includes(code)),
|
|
21537
|
+
modifiers: external_exports.array(external_exports.enum(modifierOrder)).min(1).max(4).refine((value) => new Set(value).size === value.length)
|
|
21538
|
+
}).strict();
|
|
21539
|
+
var shortcutStateSchema = external_exports.object({
|
|
21540
|
+
supported: external_exports.boolean(),
|
|
21541
|
+
platform: external_exports.enum(["win32", "darwin", "other"]),
|
|
21542
|
+
binding: shortcutBindingSchema.nullable(),
|
|
21543
|
+
registered: external_exports.boolean(),
|
|
21544
|
+
error: external_exports.string().max(4096)
|
|
21545
|
+
}).strict();
|
|
21546
|
+
function normalizeShortcut(input2, platform) {
|
|
21547
|
+
if (input2 === null) return null;
|
|
21548
|
+
const result = shortcutBindingSchema.safeParse(input2);
|
|
21549
|
+
if (!result.success || !["win32", "darwin"].includes(platform)) throw new Error(message("shortcut.invalid"));
|
|
21550
|
+
const { code } = result.data;
|
|
21551
|
+
const modifiers = modifierOrder.filter((modifier) => result.data.modifiers.includes(modifier));
|
|
21552
|
+
const has = (modifier) => modifiers.includes(modifier);
|
|
21553
|
+
if (!has("Control") && !has("Alt") && !has("Meta")) throw new Error(message("shortcut.invalid"));
|
|
21554
|
+
if (platform === "win32" && (has("Meta") || has("Alt") && ["Tab", "Escape", "F4"].includes(code) || has("Control") && code === "Escape" || has("Control") && has("Alt") && code === "Delete"))
|
|
21555
|
+
throw new Error(message("shortcut.invalid"));
|
|
21556
|
+
if (platform === "darwin" && has("Meta") && (["Tab", "Space"].includes(code) || has("Alt") && code === "Escape" || !has("Alt") && ["KeyQ", "KeyH"].includes(code)))
|
|
21557
|
+
throw new Error(message("shortcut.invalid"));
|
|
21558
|
+
return { code, modifiers };
|
|
21559
|
+
}
|
|
21560
|
+
function bindingFromEvent(event2, platform) {
|
|
21561
|
+
if (!event2 || event2.isComposing || event2.repeat || event2.getModifierState?.("AltGraph"))
|
|
21562
|
+
throw new Error(message("shortcut.invalid"));
|
|
21563
|
+
return normalizeShortcut({ code: event2.code, modifiers: modifierOrder.filter((modifier) => ({
|
|
21564
|
+
Control: event2.ctrlKey,
|
|
21565
|
+
Alt: event2.altKey,
|
|
21566
|
+
Shift: event2.shiftKey,
|
|
21567
|
+
Meta: event2.metaKey
|
|
21568
|
+
})[modifier]) }, platform);
|
|
21569
|
+
}
|
|
21570
|
+
function formatShortcut(binding, platform) {
|
|
21571
|
+
if (!binding) return "";
|
|
21572
|
+
const value = normalizeShortcut(binding, platform);
|
|
21573
|
+
const labels = platform === "darwin" ? { Control: "\u2303", Alt: "\u2325", Shift: "\u21E7", Meta: "\u2318" } : { Control: "Ctrl", Alt: "Alt", Shift: "Shift", Meta: "Win" };
|
|
21574
|
+
const keys = {
|
|
21575
|
+
ArrowLeft: "\u2190",
|
|
21576
|
+
ArrowRight: "\u2192",
|
|
21577
|
+
ArrowUp: "\u2191",
|
|
21578
|
+
ArrowDown: "\u2193",
|
|
21579
|
+
Escape: "Esc",
|
|
21580
|
+
Backspace: "Backspace",
|
|
21581
|
+
Space: "Space",
|
|
21582
|
+
PageUp: "PageUp",
|
|
21583
|
+
PageDown: "PageDown"
|
|
21584
|
+
};
|
|
21585
|
+
const key = /^(?:Key|Digit)/.test(value.code) ? value.code.replace(/^(?:Key|Digit)/, "") : keys[value.code] ?? value.code;
|
|
21586
|
+
return [...value.modifiers.map((modifier) => labels[modifier]), key].join(platform === "darwin" ? " " : " + ");
|
|
21587
|
+
}
|
|
21588
|
+
|
|
19964
21589
|
// src/shared/remote.mjs
|
|
19965
21590
|
var PACKAGE = "@sonicloud/dsh-sonicloud-device";
|
|
19966
21591
|
var text = external_exports.string().max(4096);
|
|
@@ -19983,6 +21608,7 @@ var device = external_exports.object({
|
|
|
19983
21608
|
battery: external_exports.number().nullable(),
|
|
19984
21609
|
identityConfirmed: external_exports.boolean(),
|
|
19985
21610
|
dpiState: external_exports.string(),
|
|
21611
|
+
defaultName: external_exports.boolean().optional(),
|
|
19986
21612
|
dpiRaw: external_exports.number().optional(),
|
|
19987
21613
|
revision: external_exports.number().optional(),
|
|
19988
21614
|
preferences: storedPreferencesSchema.optional()
|
|
@@ -19990,6 +21616,7 @@ var device = external_exports.object({
|
|
|
19990
21616
|
var devices = external_exports.object({ status: text, devices: external_exports.array(device), recognitionLanguages: external_exports.array(external_exports.string()), translationReady: external_exports.boolean() });
|
|
19991
21617
|
var session = { sessionId: external_exports.string() };
|
|
19992
21618
|
var event = external_exports.discriminatedUnion("type", [
|
|
21619
|
+
external_exports.object({ type: external_exports.literal("screenshotShortcut"), value: shortcutStateSchema }),
|
|
19993
21620
|
devices.extend({ type: external_exports.literal("devices") }),
|
|
19994
21621
|
external_exports.object({ type: external_exports.literal("notice"), message: text }),
|
|
19995
21622
|
external_exports.object({ type: external_exports.literal("request"), ...session, sn: external_exports.string(), action: external_exports.enum(["voice_input", "translate", "speechSearch"]) }),
|
|
@@ -20014,9 +21641,13 @@ var define = (method, params, result, extra = {}) => ({
|
|
|
20014
21641
|
var REMOTE = {
|
|
20015
21642
|
package: PACKAGE,
|
|
20016
21643
|
descriptors: [
|
|
21644
|
+
define("syncLocale", [["request", external_exports.object({ active: external_exports.string().min(1).max(80), resolved: external_exports.enum(["zh", "en", "ja", "es", "fr", "de", "ru", "pt"]), revision: external_exports.number().int().nonnegative() }).strict()]], external_exports.boolean()),
|
|
20017
21645
|
define("catalog", [], catalog),
|
|
20018
21646
|
define("devices", [], devices),
|
|
20019
21647
|
define("captureScreenshot", [], external_exports.boolean()),
|
|
21648
|
+
define("screenshotShortcut", [], shortcutStateSchema),
|
|
21649
|
+
define("setScreenshotShortcut", [["binding", shortcutBindingSchema.nullable()]], shortcutStateSchema),
|
|
21650
|
+
define("pauseScreenshotShortcut", [["clientId", id], ["paused", external_exports.boolean()]], shortcutStateSchema),
|
|
20020
21651
|
define(
|
|
20021
21652
|
"screenshotPermissions",
|
|
20022
21653
|
[["action", external_exports.enum(["check", "screen", "accessibility", "refresh"])]],
|
|
@@ -20116,10 +21747,10 @@ var DevicePreferences = class {
|
|
|
20116
21747
|
this.linkConfirmation = confirmLink ? this.sequence : void 0;
|
|
20117
21748
|
const valid = preferencesSchema.safeParse(form);
|
|
20118
21749
|
this.pending = valid.success;
|
|
20119
|
-
this.publish({ form, linkDirty: false, invalid: !valid.success, notice: "", error: valid.success ? "" :
|
|
21750
|
+
this.publish({ form, linkDirty: false, invalid: !valid.success, notice: "", error: valid.success ? "" : message("error.notSaved", { reason: safeMessage(valid.error.issues[0].message, "error.settings") }) });
|
|
20120
21751
|
if (confirmLink && !valid.success) {
|
|
20121
21752
|
this.linkConfirmation = void 0;
|
|
20122
|
-
this.notify(
|
|
21753
|
+
this.notify(message("error.notSaved", { reason: safeMessage(valid.error.issues[0].message, "error.settings") }), "error");
|
|
20123
21754
|
}
|
|
20124
21755
|
if (!this.state.busy && this.pending) return this.save();
|
|
20125
21756
|
}
|
|
@@ -20130,26 +21761,26 @@ var DevicePreferences = class {
|
|
|
20130
21761
|
this.pending = false;
|
|
20131
21762
|
const sequence = this.sequence;
|
|
20132
21763
|
const result = await this.api.saveDevice(this.sn, this.revision, this.state.form);
|
|
20133
|
-
if (!result.ok) throw new Error(result.error?.message || "
|
|
21764
|
+
if (!result.ok) throw new Error(result.error?.message || message("error.settings"));
|
|
20134
21765
|
const saved = result.value;
|
|
20135
21766
|
this.revision = Math.max(saved.revision, this.confirmed.revision);
|
|
20136
21767
|
if (saved.revision >= this.confirmed.revision) this.confirmed = saved;
|
|
20137
21768
|
if (sequence === this.sequence) this.publish({ form: this.confirmed.preferences, notice: saved.message, error: "" });
|
|
20138
21769
|
if (!this.disposed && this.linkConfirmation === sequence) {
|
|
20139
21770
|
this.linkConfirmation = void 0;
|
|
20140
|
-
this.notify("
|
|
21771
|
+
this.notify(message("settings.linkSaved"), "success");
|
|
20141
21772
|
}
|
|
20142
21773
|
}
|
|
20143
21774
|
} catch (error62) {
|
|
20144
21775
|
this.pending = false;
|
|
20145
21776
|
this.revision = this.confirmed.revision;
|
|
20146
|
-
const
|
|
21777
|
+
const message2 = message("error.notSaved", { reason: safeMessage(error62.message, "error.settings") });
|
|
20147
21778
|
if (!this.disposed && this.linkConfirmation !== void 0) {
|
|
20148
21779
|
this.linkConfirmation = void 0;
|
|
20149
|
-
this.notify(
|
|
21780
|
+
this.notify(message2, "error");
|
|
20150
21781
|
}
|
|
20151
|
-
if (this.state.linkDirty || this.state.invalid) this.publish({ error: this.state.error ||
|
|
20152
|
-
else this.publish({ form: this.confirmed.preferences, invalid: false, error:
|
|
21782
|
+
if (this.state.linkDirty || this.state.invalid) this.publish({ error: this.state.error || message2, notice: "" });
|
|
21783
|
+
else this.publish({ form: this.confirmed.preferences, invalid: false, error: message2, notice: "" });
|
|
20153
21784
|
} finally {
|
|
20154
21785
|
if (!this.state.invalid && !this.pending) this.revision = this.confirmed.revision;
|
|
20155
21786
|
this.publish({ busy: false });
|
|
@@ -20180,12 +21811,23 @@ function waitForRetry(signal, delayMs) {
|
|
|
20180
21811
|
var DeviceController = class {
|
|
20181
21812
|
editors = /* @__PURE__ */ new Map();
|
|
20182
21813
|
listeners = /* @__PURE__ */ new Set();
|
|
20183
|
-
state = { status: "
|
|
20184
|
-
constructor(api, { retryDelayMs = 1e3 } = {}) {
|
|
21814
|
+
state = { status: message("status.connecting"), devices: [], recognitionLanguages: [], translationReady: false };
|
|
21815
|
+
constructor(api, { retryDelayMs = 1e3, locale } = {}) {
|
|
20185
21816
|
this.api = api;
|
|
21817
|
+
this.locale = locale;
|
|
21818
|
+
this.localeCleanups = [];
|
|
20186
21819
|
this.retryDelayMs = retryDelayMs;
|
|
20187
21820
|
this.clientId = crypto.randomUUID();
|
|
20188
21821
|
this.lifetime = new AbortController();
|
|
21822
|
+
if (locale) {
|
|
21823
|
+
const sync = () => {
|
|
21824
|
+
void locale.sync(api).catch(() => {
|
|
21825
|
+
});
|
|
21826
|
+
};
|
|
21827
|
+
this.localeCleanups.push(locale.subscribe(sync));
|
|
21828
|
+
if (locale.form) this.localeCleanups.push(locale.form.subscribe(sync));
|
|
21829
|
+
sync();
|
|
21830
|
+
}
|
|
20189
21831
|
}
|
|
20190
21832
|
subscribe = (listener) => {
|
|
20191
21833
|
this.listeners.add(listener);
|
|
@@ -20193,19 +21835,169 @@ var DeviceController = class {
|
|
|
20193
21835
|
};
|
|
20194
21836
|
snapshot = () => this.state;
|
|
20195
21837
|
preferences(device2) {
|
|
20196
|
-
if (!this.editors.has(device2.sn)) this.editors.set(device2.sn, new DevicePreferences(this.api, device2, (
|
|
21838
|
+
if (!this.editors.has(device2.sn)) this.editors.set(device2.sn, new DevicePreferences(this.api, device2, (message2, kind) => this.notice(message2, kind)));
|
|
20197
21839
|
return this.editors.get(device2.sn);
|
|
20198
21840
|
}
|
|
20199
21841
|
publish(patch) {
|
|
20200
21842
|
this.state = { ...this.state, ...patch };
|
|
20201
21843
|
for (const listener of this.listeners) listener();
|
|
20202
21844
|
}
|
|
20203
|
-
notice(
|
|
20204
|
-
this.publish({ toast: { id: crypto.randomUUID(), message, kind } });
|
|
21845
|
+
notice(message2, kind = "error") {
|
|
21846
|
+
this.publish({ toast: { id: crypto.randomUUID(), message: message2, kind } });
|
|
20205
21847
|
}
|
|
20206
21848
|
dismissToast(id2) {
|
|
20207
21849
|
if (this.state.toast?.id === id2) this.publish({ toast: void 0 });
|
|
20208
21850
|
}
|
|
21851
|
+
async refreshScreenshotShortcut() {
|
|
21852
|
+
if (this.lifetime.signal.aborted || typeof this.api.screenshotShortcut !== "function" || this.shortcutLease || this.shortcutSaving) return void 0;
|
|
21853
|
+
const epoch = this.permissionEpoch ?? 0, revision = this.shortcutRevision ?? 0;
|
|
21854
|
+
if (this.shortcutRead?.epoch === epoch && this.shortcutRead.revision === revision) return this.shortcutRead.promise;
|
|
21855
|
+
const request = { epoch, revision };
|
|
21856
|
+
this.shortcutRead = request;
|
|
21857
|
+
request.promise = Promise.resolve().then(async () => {
|
|
21858
|
+
try {
|
|
21859
|
+
const result = await this.api.screenshotShortcut();
|
|
21860
|
+
if (this.lifetime.signal.aborted || epoch !== (this.permissionEpoch ?? 0) || revision !== (this.shortcutRevision ?? 0)) return void 0;
|
|
21861
|
+
const value = this.shortcutResult(result);
|
|
21862
|
+
this.publish({ screenshotShortcut: value, screenshotShortcutError: value.error });
|
|
21863
|
+
return value;
|
|
21864
|
+
} catch (error62) {
|
|
21865
|
+
if (!this.lifetime.signal.aborted && epoch === (this.permissionEpoch ?? 0) && revision === (this.shortcutRevision ?? 0))
|
|
21866
|
+
this.publish({ screenshotShortcutError: error62.message || message("shortcut.unavailable") });
|
|
21867
|
+
return void 0;
|
|
21868
|
+
} finally {
|
|
21869
|
+
if (this.shortcutRead === request) this.shortcutRead = void 0;
|
|
21870
|
+
}
|
|
21871
|
+
});
|
|
21872
|
+
return request.promise;
|
|
21873
|
+
}
|
|
21874
|
+
shortcutResult(result) {
|
|
21875
|
+
if (!result?.ok) throw new Error(result?.error?.message || message("shortcut.unavailable"));
|
|
21876
|
+
const parsed = shortcutStateSchema.safeParse(result.value);
|
|
21877
|
+
if (!parsed.success) throw new Error(message("shortcut.unavailable"));
|
|
21878
|
+
return parsed.data;
|
|
21879
|
+
}
|
|
21880
|
+
async setScreenshotShortcut(binding) {
|
|
21881
|
+
if (this.lifetime.signal.aborted || this.shortcutSaving || typeof this.api.setScreenshotShortcut !== "function") return false;
|
|
21882
|
+
this.shortcutSaving = true;
|
|
21883
|
+
this.shortcutRevision = (this.shortcutRevision ?? 0) + 1;
|
|
21884
|
+
const epoch = this.permissionEpoch ?? 0;
|
|
21885
|
+
this.publish({ screenshotShortcutBusy: true, screenshotShortcutError: "" });
|
|
21886
|
+
try {
|
|
21887
|
+
const value = this.shortcutResult(await this.api.setScreenshotShortcut(binding));
|
|
21888
|
+
if (this.lifetime.signal.aborted || epoch !== (this.permissionEpoch ?? 0)) return false;
|
|
21889
|
+
if (value.error) throw new Error(value.error);
|
|
21890
|
+
this.publish({ screenshotShortcut: value, screenshotShortcutError: "" });
|
|
21891
|
+
return true;
|
|
21892
|
+
} catch (error62) {
|
|
21893
|
+
if (!this.lifetime.signal.aborted && epoch === (this.permissionEpoch ?? 0)) this.publish({ screenshotShortcutError: error62.message || message("shortcut.saveFailed") });
|
|
21894
|
+
return false;
|
|
21895
|
+
} finally {
|
|
21896
|
+
this.shortcutSaving = false;
|
|
21897
|
+
if (!this.lifetime.signal.aborted) this.publish({ screenshotShortcutBusy: false });
|
|
21898
|
+
}
|
|
21899
|
+
}
|
|
21900
|
+
async beginShortcutRecording() {
|
|
21901
|
+
if (this.lifetime.signal.aborted || this.shortcutLease || this.shortcutOpening || this.shortcutSaving) return false;
|
|
21902
|
+
if (this.shortcutEnding) await this.shortcutEnding;
|
|
21903
|
+
if (this.lifetime.signal.aborted || this.shortcutLease || this.shortcutOpening || this.shortcutSaving) return false;
|
|
21904
|
+
this.shortcutOpening = true;
|
|
21905
|
+
const lease = { id: crypto.randomUUID(), epoch: this.permissionEpoch ?? 0, renewing: false };
|
|
21906
|
+
this.shortcutRevision = (this.shortcutRevision ?? 0) + 1;
|
|
21907
|
+
this.shortcutLease = lease;
|
|
21908
|
+
this.publish({ screenshotShortcutOpening: true, screenshotShortcutError: "" });
|
|
21909
|
+
try {
|
|
21910
|
+
if (typeof this.api.pauseScreenshotShortcut !== "function") throw new Error(message("shortcut.unavailable"));
|
|
21911
|
+
const value = this.shortcutResult(await this.api.pauseScreenshotShortcut(lease.id, true));
|
|
21912
|
+
if (!value.supported || value.error) throw new Error(value.error || message("shortcut.unavailable"));
|
|
21913
|
+
if (this.lifetime.signal.aborted || this.shortcutLease !== lease || lease.epoch !== (this.permissionEpoch ?? 0)) {
|
|
21914
|
+
void this.api.pauseScreenshotShortcut(lease.id, false).catch(() => {
|
|
21915
|
+
});
|
|
21916
|
+
return false;
|
|
21917
|
+
}
|
|
21918
|
+
lease.guard = this.shortcutInputGuard;
|
|
21919
|
+
if (lease.guard) {
|
|
21920
|
+
lease.guardReady = Promise.resolve().then(() => lease.guard(true));
|
|
21921
|
+
await lease.guardReady;
|
|
21922
|
+
}
|
|
21923
|
+
if (this.lifetime.signal.aborted || this.shortcutLease !== lease || lease.epoch !== (this.permissionEpoch ?? 0)) {
|
|
21924
|
+
void this.releaseShortcutInput(lease);
|
|
21925
|
+
void this.api.pauseScreenshotShortcut(lease.id, false).catch(() => {
|
|
21926
|
+
});
|
|
21927
|
+
return false;
|
|
21928
|
+
}
|
|
21929
|
+
this.publish({ screenshotShortcutRecording: true });
|
|
21930
|
+
lease.timer = setInterval(() => {
|
|
21931
|
+
void this.renewShortcutRecording(lease);
|
|
21932
|
+
}, 1e4);
|
|
21933
|
+
return true;
|
|
21934
|
+
} catch (error62) {
|
|
21935
|
+
void this.releaseShortcutInput(lease);
|
|
21936
|
+
void Promise.resolve().then(() => this.api.pauseScreenshotShortcut?.(lease.id, false)).catch(() => {
|
|
21937
|
+
});
|
|
21938
|
+
if (this.shortcutLease === lease) this.shortcutLease = void 0;
|
|
21939
|
+
if (!this.lifetime.signal.aborted) this.publish({ screenshotShortcutError: error62.message || message("shortcut.unavailable"), screenshotShortcutRecording: false });
|
|
21940
|
+
return false;
|
|
21941
|
+
} finally {
|
|
21942
|
+
this.shortcutOpening = false;
|
|
21943
|
+
if (!this.lifetime.signal.aborted) this.publish({ screenshotShortcutOpening: false });
|
|
21944
|
+
}
|
|
21945
|
+
}
|
|
21946
|
+
async releaseShortcutInput(lease) {
|
|
21947
|
+
if (!lease.guard) return;
|
|
21948
|
+
await lease.guardReady?.catch(() => {
|
|
21949
|
+
});
|
|
21950
|
+
try {
|
|
21951
|
+
await lease.guard(false);
|
|
21952
|
+
} catch {
|
|
21953
|
+
}
|
|
21954
|
+
}
|
|
21955
|
+
async renewShortcutRecording(lease) {
|
|
21956
|
+
if (this.shortcutLease !== lease || lease.renewing || this.lifetime.signal.aborted) return;
|
|
21957
|
+
lease.renewing = true;
|
|
21958
|
+
try {
|
|
21959
|
+
const value = this.shortcutResult(await this.api.pauseScreenshotShortcut(lease.id, true));
|
|
21960
|
+
if (!value.supported || value.error) throw new Error(value.error || message("shortcut.unavailable"));
|
|
21961
|
+
} catch (error62) {
|
|
21962
|
+
if (this.shortcutLease === lease && !this.lifetime.signal.aborted) {
|
|
21963
|
+
this.publish({ screenshotShortcutError: error62.message || message("shortcut.unavailable") });
|
|
21964
|
+
await this.endShortcutRecording();
|
|
21965
|
+
}
|
|
21966
|
+
} finally {
|
|
21967
|
+
lease.renewing = false;
|
|
21968
|
+
}
|
|
21969
|
+
}
|
|
21970
|
+
endShortcutRecording() {
|
|
21971
|
+
if (this.shortcutEnding) return this.shortcutEnding;
|
|
21972
|
+
const lease = this.shortcutLease;
|
|
21973
|
+
if (!lease) return Promise.resolve();
|
|
21974
|
+
this.shortcutLease = void 0;
|
|
21975
|
+
clearInterval(lease.timer);
|
|
21976
|
+
if (!this.lifetime.signal.aborted) this.publish({ screenshotShortcutRecording: false });
|
|
21977
|
+
const ending = Promise.all([this.releaseShortcutInput(lease), Promise.resolve().then(() => this.api.pauseScreenshotShortcut?.(lease.id, false))]).then(([, result]) => {
|
|
21978
|
+
if (!this.lifetime.signal.aborted && !this.shortcutLease && lease.epoch === (this.permissionEpoch ?? 0) && result) {
|
|
21979
|
+
const value = this.shortcutResult(result);
|
|
21980
|
+
this.publish({ screenshotShortcut: value });
|
|
21981
|
+
}
|
|
21982
|
+
}).catch((error62) => {
|
|
21983
|
+
if (!this.lifetime.signal.aborted) this.publish({ screenshotShortcutError: error62.message || message("shortcut.unavailable") });
|
|
21984
|
+
}).finally(() => {
|
|
21985
|
+
if (this.shortcutEnding === ending) this.shortcutEnding = void 0;
|
|
21986
|
+
});
|
|
21987
|
+
this.shortcutEnding = ending;
|
|
21988
|
+
return ending;
|
|
21989
|
+
}
|
|
21990
|
+
async resetDeviceAndShortcut(device2) {
|
|
21991
|
+
if (this.resetting || this.state.screenshotShortcutBusy || this.shortcutLease) return false;
|
|
21992
|
+
this.resetting = true;
|
|
21993
|
+
try {
|
|
21994
|
+
if (typeof this.api.setScreenshotShortcut === "function" && !await this.setScreenshotShortcut(null)) return false;
|
|
21995
|
+
if (device2?.type === "smart-mouse" && device2.identityConfirmed && device2.preferences) await this.preferences(device2).reset();
|
|
21996
|
+
return true;
|
|
21997
|
+
} finally {
|
|
21998
|
+
this.resetting = false;
|
|
21999
|
+
}
|
|
22000
|
+
}
|
|
20209
22001
|
refreshScreenshotPermissions(action = "check", options) {
|
|
20210
22002
|
return this.refreshPermissionStatus("screenshot", action, options);
|
|
20211
22003
|
}
|
|
@@ -20217,7 +22009,7 @@ var DeviceController = class {
|
|
|
20217
22009
|
const busyKey = `${kind}PermissionBusy`, errorKey = `${kind}PermissionError`, messageKey = `${kind}PermissionMessage`;
|
|
20218
22010
|
const isTyping = kind === "typing";
|
|
20219
22011
|
const helper = isTyping ? "Sonicloud Voice" : "screenhelper";
|
|
20220
|
-
const fallback =
|
|
22012
|
+
const fallback = message("error.permission");
|
|
20221
22013
|
if (this.lifetime.signal.aborted || typeof this.api[method] !== "function") return void 0;
|
|
20222
22014
|
const epoch = this.permissionEpoch ?? 0;
|
|
20223
22015
|
if (this[requestKey]?.epoch === epoch) return this[requestKey].promise;
|
|
@@ -20230,14 +22022,14 @@ var DeviceController = class {
|
|
|
20230
22022
|
const permissions = result?.value;
|
|
20231
22023
|
const fields = isTyping ? ["supported", "accessibility"] : ["supported", "screenRecording", "accessibility"];
|
|
20232
22024
|
if (!result?.ok || !permissions || fields.some((key) => typeof permissions[key] !== "boolean") || typeof permissions.helperApp !== "string") throw new Error(result?.error?.message || fallback);
|
|
20233
|
-
let
|
|
22025
|
+
let message2;
|
|
20234
22026
|
const missing = !permissions.accessibility || !isTyping && !permissions.screenRecording;
|
|
20235
|
-
if (action === "screen" || action === "accessibility")
|
|
20236
|
-
else if (action === "refresh" && permissions.supported && (isTyping ? !permissions.accessibility : !permissions.screenRecording))
|
|
20237
|
-
this.publish({ [method]: permissions, [messageKey]:
|
|
22027
|
+
if (action === "screen" || action === "accessibility") message2 = message("permission.requested", { helper });
|
|
22028
|
+
else if (action === "refresh" && permissions.supported && (isTyping ? !permissions.accessibility : !permissions.screenRecording)) message2 = message("permission.pending");
|
|
22029
|
+
this.publish({ [method]: permissions, [messageKey]: message2 });
|
|
20238
22030
|
if (automatic && permissions.supported && missing && !this.permissionPrompted) {
|
|
20239
22031
|
this.permissionPrompted = true;
|
|
20240
|
-
this.notice("
|
|
22032
|
+
this.notice(message("permission.firstUse"), "info");
|
|
20241
22033
|
}
|
|
20242
22034
|
return permissions;
|
|
20243
22035
|
} catch (error62) {
|
|
@@ -20257,16 +22049,16 @@ var DeviceController = class {
|
|
|
20257
22049
|
async captureScreenshot() {
|
|
20258
22050
|
if (this.lifetime.signal.aborted || this.state.screenshotBusy) return false;
|
|
20259
22051
|
if (this.state.screenshotPermissionError || this.state.screenshotPermissions?.supported && !this.state.screenshotPermissions.screenRecording) {
|
|
20260
|
-
this.notice(this.state.screenshotPermissionError || "
|
|
22052
|
+
this.notice(this.state.screenshotPermissionError || message("error.screenPermission"));
|
|
20261
22053
|
return false;
|
|
20262
22054
|
}
|
|
20263
22055
|
this.publish({ screenshotBusy: true });
|
|
20264
22056
|
try {
|
|
20265
22057
|
const result = await this.api.captureScreenshot();
|
|
20266
|
-
if (!result.ok || !result.value) throw new Error(result.error?.message || "
|
|
22058
|
+
if (!result.ok || !result.value) throw new Error(result.error?.message || message("error.screenshot"));
|
|
20267
22059
|
return true;
|
|
20268
22060
|
} catch (error62) {
|
|
20269
|
-
if (!this.lifetime.signal.aborted) this.notice(error62.message || "
|
|
22061
|
+
if (!this.lifetime.signal.aborted) this.notice(error62.message || message("error.screenshot"));
|
|
20270
22062
|
return false;
|
|
20271
22063
|
} finally {
|
|
20272
22064
|
if (!this.lifetime.signal.aborted) this.publish({ screenshotBusy: false });
|
|
@@ -20282,6 +22074,7 @@ var DeviceController = class {
|
|
|
20282
22074
|
this.permissionPrompted = false;
|
|
20283
22075
|
void this.refreshScreenshotPermissions("check", { automatic: true });
|
|
20284
22076
|
void this.refreshTypingPermissions("check", { automatic: true });
|
|
22077
|
+
void this.refreshScreenshotShortcut();
|
|
20285
22078
|
try {
|
|
20286
22079
|
this.stream = this.api.watch(this.clientId, signal);
|
|
20287
22080
|
for await (const event2 of this.stream) {
|
|
@@ -20295,18 +22088,19 @@ var DeviceController = class {
|
|
|
20295
22088
|
}
|
|
20296
22089
|
if (signal.aborted) return;
|
|
20297
22090
|
this.permissionEpoch++;
|
|
22091
|
+
void this.endShortcutRecording();
|
|
20298
22092
|
this.publish({
|
|
20299
|
-
status: "
|
|
22093
|
+
status: message("status.reconnecting"),
|
|
20300
22094
|
devices: [],
|
|
20301
22095
|
...typeof this.api.screenshotPermissions === "function" ? {
|
|
20302
22096
|
screenshotPermissions: void 0,
|
|
20303
22097
|
screenshotPermissionBusy: false,
|
|
20304
|
-
screenshotPermissionError: "
|
|
22098
|
+
screenshotPermissionError: message("status.reconnecting")
|
|
20305
22099
|
} : {},
|
|
20306
22100
|
...typeof this.api.typingPermissions === "function" ? {
|
|
20307
22101
|
typingPermissions: void 0,
|
|
20308
22102
|
typingPermissionBusy: false,
|
|
20309
|
-
typingPermissionError: "
|
|
22103
|
+
typingPermissionError: message("status.reconnecting")
|
|
20310
22104
|
} : {}
|
|
20311
22105
|
});
|
|
20312
22106
|
await waitForRetry(signal, this.retryDelayMs);
|
|
@@ -20314,14 +22108,27 @@ var DeviceController = class {
|
|
|
20314
22108
|
}
|
|
20315
22109
|
async event(event2) {
|
|
20316
22110
|
if (event2.type === "devices") {
|
|
22111
|
+
void this.locale?.sync(this.api).catch(() => {
|
|
22112
|
+
});
|
|
22113
|
+
void this.refreshScreenshotShortcut();
|
|
20317
22114
|
const { type, ...state } = event2;
|
|
20318
22115
|
for (const device2 of event2.devices) this.editors.get(device2.sn)?.sync(device2);
|
|
20319
22116
|
this.publish(state);
|
|
20320
22117
|
return;
|
|
20321
22118
|
}
|
|
22119
|
+
if (event2.type === "screenshotShortcut") {
|
|
22120
|
+
const parsed = shortcutStateSchema.safeParse(event2.value);
|
|
22121
|
+
if (parsed.success && !this.lifetime.signal.aborted) {
|
|
22122
|
+
this.shortcutRevision = (this.shortcutRevision ?? 0) + 1;
|
|
22123
|
+
this.publish({ screenshotShortcut: parsed.data, screenshotShortcutError: parsed.data.error });
|
|
22124
|
+
}
|
|
22125
|
+
return;
|
|
22126
|
+
}
|
|
20322
22127
|
if (event2.type === "notice") this.notice(event2.message);
|
|
20323
22128
|
}
|
|
20324
22129
|
dispose() {
|
|
22130
|
+
void this.endShortcutRecording();
|
|
22131
|
+
for (const dispose of this.localeCleanups) dispose();
|
|
20325
22132
|
this.lifetime.abort();
|
|
20326
22133
|
this.stream?.dispose?.();
|
|
20327
22134
|
this.listeners.clear();
|
|
@@ -20357,7 +22164,7 @@ var AiConversationClient = class {
|
|
|
20357
22164
|
}
|
|
20358
22165
|
}
|
|
20359
22166
|
const workspace = recent ?? await workspaces.initializeDefault(signal);
|
|
20360
|
-
if (!workspace) throw new Error("
|
|
22167
|
+
if (!workspace) throw new Error(message("error.workspace"));
|
|
20361
22168
|
return workspace;
|
|
20362
22169
|
}
|
|
20363
22170
|
async prepare(sessionId, expiresAt = Infinity) {
|
|
@@ -20373,14 +22180,14 @@ var AiConversationClient = class {
|
|
|
20373
22180
|
signal.throwIfAborted();
|
|
20374
22181
|
const workspace = reuse ? void 0 : await this.workspace(current, signal);
|
|
20375
22182
|
signal.throwIfAborted();
|
|
20376
|
-
if (Date.now() >= expiresAt) throw new Error("
|
|
22183
|
+
if (Date.now() >= expiresAt) throw new Error(message("error.timeout"));
|
|
20377
22184
|
const id2 = reuse ? current.id : await sessions.create({ workspaceId: workspace.workspaceId });
|
|
20378
22185
|
signal.throwIfAborted();
|
|
20379
|
-
if (Date.now() >= expiresAt) throw new Error("
|
|
22186
|
+
if (Date.now() >= expiresAt) throw new Error(message("error.timeout"));
|
|
20380
22187
|
target.reference = sessions.retain(id2, { source: "controllerOperation", signal });
|
|
20381
22188
|
await target.reference.ready;
|
|
20382
22189
|
signal.throwIfAborted();
|
|
20383
|
-
if (Date.now() >= expiresAt) throw new Error("
|
|
22190
|
+
if (Date.now() >= expiresAt) throw new Error(message("error.timeout"));
|
|
20384
22191
|
if (!reuse) uiWorkspace.openSession(id2);
|
|
20385
22192
|
await this.view?.ready(id2, signal, expiresAt);
|
|
20386
22193
|
}
|
|
@@ -20399,13 +22206,13 @@ var AiConversationClient = class {
|
|
|
20399
22206
|
}
|
|
20400
22207
|
await this.view?.ready(reference.sessionId, target.lifetime.signal, expiresAt);
|
|
20401
22208
|
target.lifetime.signal.throwIfAborted();
|
|
20402
|
-
if (Date.now() >= expiresAt) throw new Error("
|
|
22209
|
+
if (Date.now() >= expiresAt) throw new Error(message("error.timeout"));
|
|
20403
22210
|
const result = conversation.input.requestDraftInitialization(reference.binding, { prompt: text2, whenDraftExists: "append" });
|
|
20404
22211
|
target.inserted = result === "applied";
|
|
20405
22212
|
if (target.inserted && autoSend) {
|
|
20406
22213
|
target.lifetime.signal.throwIfAborted();
|
|
20407
|
-
if (Date.now() >= expiresAt) throw new Error("
|
|
20408
|
-
if (!this.view?.submit(reference.sessionId)) throw new Error("
|
|
22214
|
+
if (Date.now() >= expiresAt) throw new Error(message("error.timeout"));
|
|
22215
|
+
if (!this.view?.submit(reference.sessionId)) throw new Error(message("error.ai"));
|
|
20409
22216
|
}
|
|
20410
22217
|
return target.inserted;
|
|
20411
22218
|
}
|
|
@@ -20422,7 +22229,7 @@ var AiConversationClient = class {
|
|
|
20422
22229
|
}
|
|
20423
22230
|
let ok = false;
|
|
20424
22231
|
try {
|
|
20425
|
-
if (Date.now() >= event2.expiresAt) throw new Error("
|
|
22232
|
+
if (Date.now() >= event2.expiresAt) throw new Error(message("error.ai"));
|
|
20426
22233
|
if (event2.operation === "prepare") {
|
|
20427
22234
|
await this.prepare(event2.sessionId, event2.expiresAt);
|
|
20428
22235
|
ok = this.targets.has(event2.sessionId);
|
|
@@ -20498,9 +22305,9 @@ var AiConversationView = class {
|
|
|
20498
22305
|
const changed = () => {
|
|
20499
22306
|
if (check2()) finish();
|
|
20500
22307
|
};
|
|
20501
|
-
const aborted2 = () => finish(new Error("
|
|
22308
|
+
const aborted2 = () => finish(new Error(message("error.cancelled")));
|
|
20502
22309
|
const observer = new this.document.defaultView.MutationObserver(changed);
|
|
20503
|
-
const timer = setTimeout(() => finish(new Error("
|
|
22310
|
+
const timer = setTimeout(() => finish(new Error(message("error.ai"))), Math.max(0, Math.min(1e4, expiresAt - Date.now())));
|
|
20504
22311
|
observer.observe(this.document.body, { childList: true, subtree: true, attributes: true });
|
|
20505
22312
|
this.listeners.add(changed);
|
|
20506
22313
|
signal.addEventListener("abort", aborted2, { once: true });
|
|
@@ -20516,9 +22323,9 @@ var AiConversationView = class {
|
|
|
20516
22323
|
return this.wait(() => !this.settingsOpen() && this.composers.has(sessionId), signal, expiresAt);
|
|
20517
22324
|
}
|
|
20518
22325
|
submit(sessionId) {
|
|
20519
|
-
const
|
|
20520
|
-
if (this.settingsOpen() || typeof
|
|
20521
|
-
|
|
22326
|
+
const actions2 = this.composers.get(sessionId);
|
|
22327
|
+
if (this.settingsOpen() || typeof actions2?.submit !== "function") return false;
|
|
22328
|
+
actions2.submit();
|
|
20522
22329
|
return true;
|
|
20523
22330
|
}
|
|
20524
22331
|
};
|
|
@@ -20531,17 +22338,149 @@ function AiConversationTarget({ view, useSession, inputActions }) {
|
|
|
20531
22338
|
return null;
|
|
20532
22339
|
}
|
|
20533
22340
|
|
|
20534
|
-
// src/client/
|
|
20535
|
-
var import_react2 =
|
|
22341
|
+
// src/client/use-locale.jsx
|
|
22342
|
+
var import_react2 = require("react");
|
|
22343
|
+
var LocaleContext = (0, import_react2.createContext)(fallbackLocale);
|
|
22344
|
+
function useLocale(provided) {
|
|
22345
|
+
const context = (0, import_react2.useContext)(LocaleContext);
|
|
22346
|
+
const locale = provided ?? context;
|
|
22347
|
+
(0, import_react2.useSyncExternalStore)(locale.subscribe, locale.read, locale.read);
|
|
22348
|
+
return locale;
|
|
22349
|
+
}
|
|
22350
|
+
|
|
22351
|
+
// src/client/locale-options.mjs
|
|
22352
|
+
var actions = { enter: "keys.enter", backspace: "keys.backspace", translate: "voice.translate", voice_input: "voice.input", speechSearch: "voice.search", openWebUrl: "keys.link" };
|
|
22353
|
+
var actionOptions = (options, t) => options.map((item) => ({ ...item, label: t(actions[item.value]) }));
|
|
22354
|
+
var dialects = { dongbeiese: "Dongbei", gansunese: "Gansu", cantonese: "Cantonese", guizhounese: "Guizhou", hebeinese: "Hebei", henannese: "Henan", minnanese: "Minnan", ningxianese: "Ningxia", shandongnese: "Shandong", shanxinese: "Shaanxi", shanghainese: "Shanghai", lmz: "Sichuan", tianjinese: "Tianjin", yunnanese: "Yunnan" };
|
|
22355
|
+
function languageLabel(item, locale) {
|
|
22356
|
+
if (locale.language === "zh") return item.label;
|
|
22357
|
+
if (item.language === "zh_cn") {
|
|
22358
|
+
if (item.accent === "mandarin") return locale.t(item.rlang ? "language.traditional" : "language.mandarin");
|
|
22359
|
+
return locale.t("language.dialect", { name: dialects[item.accent] ?? item.accent }) + ` (${item.label})`;
|
|
22360
|
+
}
|
|
22361
|
+
if (item.value === "cn") return new Intl.DisplayNames([locale.language], { type: "language" }).of("zh");
|
|
22362
|
+
return item.label;
|
|
22363
|
+
}
|
|
22364
|
+
|
|
22365
|
+
// src/client/ScreenshotShortcut.jsx
|
|
22366
|
+
var import_react3 = __toESM(require("react"), 1);
|
|
20536
22367
|
var import_dsh_client_ui_primitives = require("@deepseek-ai/dsh-client-ui-primitives");
|
|
22368
|
+
function ScreenshotShortcut({ controller, state }) {
|
|
22369
|
+
const { t, text: text2 } = useLocale();
|
|
22370
|
+
const [open2, setOpen] = (0, import_react3.useState)(false), [draft, setDraft] = (0, import_react3.useState)(null), [error62, setError] = (0, import_react3.useState)("");
|
|
22371
|
+
const mounted = (0, import_react3.useRef)(true), opened = (0, import_react3.useRef)(false);
|
|
22372
|
+
const shortcut = state.screenshotShortcut;
|
|
22373
|
+
const platform = shortcut?.platform ?? "other";
|
|
22374
|
+
const busy = state.screenshotShortcutBusy;
|
|
22375
|
+
const suggested = { code: "KeyS", modifiers: platform === "darwin" ? ["Shift", "Meta"] : ["Control", "Shift"] };
|
|
22376
|
+
(0, import_react3.useEffect)(() => {
|
|
22377
|
+
mounted.current = true;
|
|
22378
|
+
return () => {
|
|
22379
|
+
mounted.current = false;
|
|
22380
|
+
if (opened.current) void controller.endShortcutRecording();
|
|
22381
|
+
};
|
|
22382
|
+
}, [controller]);
|
|
22383
|
+
(0, import_react3.useEffect)(() => {
|
|
22384
|
+
if (open2 && !state.screenshotShortcutRecording) {
|
|
22385
|
+
opened.current = false;
|
|
22386
|
+
setOpen(false);
|
|
22387
|
+
}
|
|
22388
|
+
}, [open2, state.screenshotShortcutRecording]);
|
|
22389
|
+
const close = async () => {
|
|
22390
|
+
if (busy) return;
|
|
22391
|
+
opened.current = false;
|
|
22392
|
+
setOpen(false);
|
|
22393
|
+
await controller.endShortcutRecording();
|
|
22394
|
+
};
|
|
22395
|
+
const begin = async () => {
|
|
22396
|
+
const current = controller.state.screenshotShortcut ?? await controller.refreshScreenshotShortcut();
|
|
22397
|
+
if (!current?.supported || !mounted.current) return;
|
|
22398
|
+
setDraft(current.binding);
|
|
22399
|
+
setError("");
|
|
22400
|
+
if (!await controller.beginShortcutRecording()) return;
|
|
22401
|
+
if (!mounted.current) {
|
|
22402
|
+
void controller.endShortcutRecording();
|
|
22403
|
+
return;
|
|
22404
|
+
}
|
|
22405
|
+
opened.current = true;
|
|
22406
|
+
setOpen(true);
|
|
22407
|
+
};
|
|
22408
|
+
const save = async (value) => {
|
|
22409
|
+
if (!open2 || !state.screenshotShortcutRecording) return;
|
|
22410
|
+
setError("");
|
|
22411
|
+
if (await controller.setScreenshotShortcut(value)) {
|
|
22412
|
+
opened.current = false;
|
|
22413
|
+
setOpen(false);
|
|
22414
|
+
await controller.endShortcutRecording();
|
|
22415
|
+
}
|
|
22416
|
+
};
|
|
22417
|
+
const record2 = (event2) => {
|
|
22418
|
+
if (!open2 || !state.screenshotShortcutRecording || busy || event2.repeat || event2.isComposing || event2.nativeEvent?.isComposing || event2.keyCode === 229) return;
|
|
22419
|
+
if (event2.key === "Tab" || event2.key === "Escape") return;
|
|
22420
|
+
event2.preventDefault();
|
|
22421
|
+
event2.stopPropagation();
|
|
22422
|
+
if (["Control", "Shift", "Alt", "Meta"].includes(event2.key)) return;
|
|
22423
|
+
try {
|
|
22424
|
+
setDraft(bindingFromEvent(event2, platform));
|
|
22425
|
+
setError("");
|
|
22426
|
+
} catch {
|
|
22427
|
+
setError(message("shortcut.invalid"));
|
|
22428
|
+
}
|
|
22429
|
+
};
|
|
22430
|
+
return /* @__PURE__ */ import_react3.default.createElement(import_react3.default.Fragment, null, /* @__PURE__ */ import_react3.default.createElement("div", { className: "dsh-mouse-row dsh-mouse-screenshot" }, /* @__PURE__ */ import_react3.default.createElement("div", { className: "dsh-mouse-label" }, /* @__PURE__ */ import_react3.default.createElement("span", null, t("screenshot.title")), /* @__PURE__ */ import_react3.default.createElement("p", null, t("shortcut.help"))), /* @__PURE__ */ import_react3.default.createElement("div", { className: "dsh-mouse-controls" }, /* @__PURE__ */ import_react3.default.createElement("span", { className: `dsh-mouse-shortcut-value${shortcut?.binding ? " is-set" : ""}` }, formatShortcut(shortcut?.binding ?? null, platform) || t("shortcut.unset")), /* @__PURE__ */ import_react3.default.createElement(import_dsh_client_ui_primitives.Button, { "aria-label": t("shortcut.configure"), disabled: busy || state.screenshotShortcutOpening || state.screenshotShortcutRecording || shortcut?.supported === false, onClick: () => {
|
|
22431
|
+
void begin();
|
|
22432
|
+
} }, state.screenshotShortcutOpening ? t("permission.checking") : t("shortcut.configure")))), !open2 && state.screenshotShortcutError && /* @__PURE__ */ import_react3.default.createElement("p", { className: "dsh-asr-error dsh-mouse-inline-message", role: "alert" }, text2(state.screenshotShortcutError)), /* @__PURE__ */ import_react3.default.createElement(
|
|
22433
|
+
import_dsh_client_ui_primitives.Modal,
|
|
22434
|
+
{
|
|
22435
|
+
open: open2,
|
|
22436
|
+
onClose: () => {
|
|
22437
|
+
void close();
|
|
22438
|
+
},
|
|
22439
|
+
title: t("shortcut.title"),
|
|
22440
|
+
closeLabel: t("panel.close"),
|
|
22441
|
+
description: t("shortcut.recordHelp"),
|
|
22442
|
+
className: "dsh-mouse-shortcut-dialog",
|
|
22443
|
+
footer: /* @__PURE__ */ import_react3.default.createElement(import_react3.default.Fragment, null, /* @__PURE__ */ import_react3.default.createElement(import_dsh_client_ui_primitives.Button, { disabled: busy, onClick: () => {
|
|
22444
|
+
void save(null);
|
|
22445
|
+
} }, t("shortcut.clear")), /* @__PURE__ */ import_react3.default.createElement(import_dsh_client_ui_primitives.Button, { disabled: busy, onClick: () => {
|
|
22446
|
+
void close();
|
|
22447
|
+
} }, t("panel.cancel")), /* @__PURE__ */ import_react3.default.createElement(import_dsh_client_ui_primitives.Button, { disabled: busy || !draft || !state.screenshotShortcutRecording, onClick: () => {
|
|
22448
|
+
void save(draft);
|
|
22449
|
+
} }, busy ? t("shortcut.saving") : t("shortcut.save")))
|
|
22450
|
+
},
|
|
22451
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
|
22452
|
+
import_dsh_client_ui_primitives.Input,
|
|
22453
|
+
{
|
|
22454
|
+
"aria-label": t("shortcut.record"),
|
|
22455
|
+
"data-modal-autofocus": true,
|
|
22456
|
+
readOnly: true,
|
|
22457
|
+
disabled: busy || !state.screenshotShortcutRecording,
|
|
22458
|
+
value: formatShortcut(draft, platform),
|
|
22459
|
+
placeholder: t("shortcut.record"),
|
|
22460
|
+
onKeyDown: record2,
|
|
22461
|
+
className: "dsh-mouse-shortcut-input"
|
|
22462
|
+
}
|
|
22463
|
+
),
|
|
22464
|
+
/* @__PURE__ */ import_react3.default.createElement(import_dsh_client_ui_primitives.Button, { className: "dsh-mouse-shortcut-suggested", disabled: busy || !state.screenshotShortcutRecording, onClick: () => {
|
|
22465
|
+
setDraft(suggested);
|
|
22466
|
+
setError("");
|
|
22467
|
+
} }, t("shortcut.suggested", { shortcut: formatShortcut(suggested, platform) })),
|
|
22468
|
+
(error62 || state.screenshotShortcutError) && /* @__PURE__ */ import_react3.default.createElement("p", { role: "alert", className: "dsh-asr-error dsh-mouse-inline-message" }, text2(error62 || state.screenshotShortcutError))
|
|
22469
|
+
));
|
|
22470
|
+
}
|
|
22471
|
+
|
|
22472
|
+
// src/client/Devices.jsx
|
|
22473
|
+
var import_react4 = __toESM(require("react"), 1);
|
|
22474
|
+
var import_dsh_client_ui_primitives2 = require("@deepseek-ai/dsh-client-ui-primitives");
|
|
20537
22475
|
function Row({ label, description, children }) {
|
|
20538
|
-
return /* @__PURE__ */
|
|
22476
|
+
return /* @__PURE__ */ import_react4.default.createElement("div", { className: "dsh-mouse-row" }, /* @__PURE__ */ import_react4.default.createElement("div", { className: "dsh-mouse-label" }, /* @__PURE__ */ import_react4.default.createElement("span", null, label), description && /* @__PURE__ */ import_react4.default.createElement("p", null, description)), children && /* @__PURE__ */ import_react4.default.createElement("div", { className: "dsh-mouse-controls" }, children));
|
|
20539
22477
|
}
|
|
20540
22478
|
function Select({ label, value, onChange, options }) {
|
|
20541
|
-
const
|
|
20542
|
-
const
|
|
20543
|
-
|
|
20544
|
-
|
|
22479
|
+
const { t } = useLocale();
|
|
22480
|
+
const [open2, setOpen] = (0, import_react4.useState)(false);
|
|
22481
|
+
const trigger = (0, import_react4.useRef)(null);
|
|
22482
|
+
return /* @__PURE__ */ import_react4.default.createElement(
|
|
22483
|
+
import_dsh_client_ui_primitives2.Menu,
|
|
20545
22484
|
{
|
|
20546
22485
|
open: open2,
|
|
20547
22486
|
portal: true,
|
|
@@ -20556,8 +22495,8 @@ function Select({ label, value, onChange, options }) {
|
|
|
20556
22495
|
setOpen(false);
|
|
20557
22496
|
onChange(value2);
|
|
20558
22497
|
},
|
|
20559
|
-
anchor: /* @__PURE__ */
|
|
20560
|
-
|
|
22498
|
+
anchor: /* @__PURE__ */ import_react4.default.createElement(
|
|
22499
|
+
import_dsh_client_ui_primitives2.Button,
|
|
20561
22500
|
{
|
|
20562
22501
|
ref: trigger,
|
|
20563
22502
|
className: "dsh-mouse-select",
|
|
@@ -20572,74 +22511,114 @@ function Select({ label, value, onChange, options }) {
|
|
|
20572
22511
|
}
|
|
20573
22512
|
}
|
|
20574
22513
|
},
|
|
20575
|
-
/* @__PURE__ */
|
|
20576
|
-
/* @__PURE__ */
|
|
22514
|
+
/* @__PURE__ */ import_react4.default.createElement("span", null, options.find((item) => item.value === value)?.label ?? t("common.choose")),
|
|
22515
|
+
/* @__PURE__ */ import_react4.default.createElement(import_dsh_client_ui_primitives2.IconChevronDownOutlineRegular, { size: 12 })
|
|
20577
22516
|
)
|
|
20578
22517
|
}
|
|
20579
22518
|
);
|
|
20580
22519
|
}
|
|
20581
22520
|
function DeviceForm({ device: device2, controller, state }) {
|
|
22521
|
+
const locale = useLocale();
|
|
22522
|
+
const { t, text: text2 } = locale;
|
|
20582
22523
|
const editor = controller.preferences(device2);
|
|
20583
|
-
const { form, busy, error: error62, invalid } = (0,
|
|
22524
|
+
const { form, busy, error: error62, invalid } = (0, import_react4.useSyncExternalStore)(editor.subscribe, editor.snapshot);
|
|
20584
22525
|
const change = (key, value) => editor.change(key, value);
|
|
20585
|
-
if (!device2.identityConfirmed || !form) return /* @__PURE__ */
|
|
20586
|
-
const languages = REC_LANG_LIST.map((item) => ({ value: languageKey(item), label:
|
|
22526
|
+
if (!device2.identityConfirmed || !form) return /* @__PURE__ */ import_react4.default.createElement("p", { role: "status" }, t("device.identityHelp"));
|
|
22527
|
+
const languages = REC_LANG_LIST.map((item) => ({ value: languageKey(item), label: state.recognitionLanguages.includes(languageKey(item)) ? languageLabel(item, locale) : t("voice.pending", { name: languageLabel(item, locale) }), disabled: !state.recognitionLanguages.includes(languageKey(item)) }));
|
|
20587
22528
|
const sourceOptions = TRANS_FROM_LANG_LIST.map((item) => {
|
|
20588
22529
|
const recognition = sourceRecognitionLanguage(item.value);
|
|
20589
22530
|
const supported = recognition && state.recognitionLanguages.includes(languageKey(recognition));
|
|
20590
|
-
return { ...item, label:
|
|
22531
|
+
return { ...item, label: supported ? languageLabel(item, locale) : t("voice.recognitionPending", { name: languageLabel(item, locale) }), disabled: !supported };
|
|
20591
22532
|
});
|
|
20592
22533
|
const removedLanguage = !languages.some((item) => item.value === languageKey(form.recognition)) || !sourceOptions.some((item) => item.value === form.from) || !TRANS_TO_LANG_LIST.some((item) => item.value === form.to);
|
|
20593
|
-
return /* @__PURE__ */
|
|
22534
|
+
return /* @__PURE__ */ import_react4.default.createElement("div", { className: "dsh-mouse-form", "aria-busy": busy }, removedLanguage && /* @__PURE__ */ import_react4.default.createElement("p", { role: "alert", className: "dsh-asr-error" }, t("voice.unsupported")), /* @__PURE__ */ import_react4.default.createElement("div", null, /* @__PURE__ */ import_react4.default.createElement(Row, { label: t("voice.input") }, /* @__PURE__ */ import_react4.default.createElement("span", { className: "dsh-mouse-switch" }, /* @__PURE__ */ import_react4.default.createElement("span", null, t("voice.punctuation")), /* @__PURE__ */ import_react4.default.createElement(import_dsh_client_ui_primitives2.Switch, { label: t("voice.punctuation"), checked: form.punctuation, onChange: (value) => change("punctuation", value) })), /* @__PURE__ */ import_react4.default.createElement(Select, { label: t("voice.recognition"), value: languageKey(form.recognition), options: languages, onChange: (value) => {
|
|
20594
22535
|
const item = REC_LANG_LIST.find((item2) => languageKey(item2) === value);
|
|
20595
22536
|
change("recognition", { language: item.language, accent: item.accent, rlang: item.rlang });
|
|
20596
|
-
} })), /* @__PURE__ */
|
|
22537
|
+
} })), /* @__PURE__ */ import_react4.default.createElement(Row, { label: t("voice.translate"), description: !state.translationReady ? t("voice.unavailable") : void 0 }, /* @__PURE__ */ import_react4.default.createElement(Select, { label: t("voice.from"), value: form.from, options: sourceOptions, onChange: (value) => change("from", value) }), /* @__PURE__ */ import_react4.default.createElement("span", { "aria-hidden": "true" }, "\u203A"), /* @__PURE__ */ import_react4.default.createElement(Select, { label: t("voice.to"), value: form.to, options: TRANS_TO_LANG_LIST.map((item) => ({ ...item, label: languageLabel(item, locale) })), onChange: (value) => change("to", value) })), /* @__PURE__ */ import_react4.default.createElement(Row, { label: t("keys.dpi"), description: /* @__PURE__ */ import_react4.default.createElement(import_react4.default.Fragment, null, t("keys.dpiHelp"), device2.dpiState === "failed" && /* @__PURE__ */ import_react4.default.createElement(import_react4.default.Fragment, null, /* @__PURE__ */ import_react4.default.createElement("br", null), /* @__PURE__ */ import_react4.default.createElement("span", { className: "dsh-asr-error" }, t("keys.dpiFailed")))) }, /* @__PURE__ */ import_react4.default.createElement(Select, { label: "DPI", value: form.dpi, options: DPI_LIST, onChange: (value) => change("dpi", value) })), /* @__PURE__ */ import_react4.default.createElement("div", { className: "dsh-mouse-key-group" }, /* @__PURE__ */ import_react4.default.createElement(Row, { label: t("keys.m"), description: t("keys.mHelp") }, /* @__PURE__ */ import_react4.default.createElement(Select, { label: t("keys.mAction"), value: form.mAction, options: actionOptions(M_KEY_FUNC_LIST, t), onChange: (value) => change("mAction", value) })), form.mAction === "speechSearch" && /* @__PURE__ */ import_react4.default.createElement("div", { className: "dsh-mouse-subrow" }, /* @__PURE__ */ import_react4.default.createElement("div", { className: "dsh-mouse-controls" }, /* @__PURE__ */ import_react4.default.createElement(Select, { label: t("keys.searchEngine"), value: form.searchUrl, options: M_KEY_SEARCH_URL_LIST.map((item) => ({ ...item, label: item.value === "https://www.baidu.com/baidu?wd=" && locale.language !== "zh" ? "Baidu" : item.label })), onChange: (value) => change("searchUrl", value) }))), form.mAction === "openWebUrl" && /* @__PURE__ */ import_react4.default.createElement("div", { className: "dsh-mouse-subrow" }, /* @__PURE__ */ import_react4.default.createElement("div", { className: "dsh-mouse-controls dsh-mouse-link-controls" }, /* @__PURE__ */ import_react4.default.createElement(import_dsh_client_ui_primitives2.Input, { "aria-label": t("keys.linkUrl"), type: "url", placeholder: "https://example.com", value: form.linkUrl, "aria-invalid": invalid || void 0, onChange: (event2) => change("linkUrl", event2.target.value) }), /* @__PURE__ */ import_react4.default.createElement(import_dsh_client_ui_primitives2.Button, { disabled: busy, onClick: () => editor.commitLink() }, t("common.confirm"))))), /* @__PURE__ */ import_react4.default.createElement(Row, { label: t("keys.speech"), description: t("keys.speechHelp") }, /* @__PURE__ */ import_react4.default.createElement(Select, { label: t("keys.speechAction"), value: form.speechAction, options: [{ value: "voice_input", label: t("voice.input") }, { value: "translate", label: t("voice.translate") }], onChange: (value) => change("speechAction", value) })), /* @__PURE__ */ import_react4.default.createElement(Row, { label: t("keys.ai"), description: t("keys.aiHelp") }, /* @__PURE__ */ import_react4.default.createElement("span", { className: "dsh-mouse-switch" }, /* @__PURE__ */ import_react4.default.createElement("span", null, t("keys.autoSend")), /* @__PURE__ */ import_react4.default.createElement(import_dsh_client_ui_primitives2.Switch, { label: t("keys.autoSend"), checked: form.aiAutoSend, onChange: (value) => change("aiAutoSend", value) })))), error62 && form.mAction !== "openWebUrl" && /* @__PURE__ */ import_react4.default.createElement("p", { role: "alert", className: "dsh-asr-error" }, text2(error62)));
|
|
20597
22538
|
}
|
|
20598
22539
|
var NO_SIDEBAR = { sidebarVisible: true };
|
|
20599
22540
|
var subscribeNone = () => () => {
|
|
20600
22541
|
};
|
|
20601
|
-
|
|
20602
|
-
|
|
20603
|
-
const {
|
|
20604
|
-
const
|
|
22542
|
+
var NO_EDITOR = { busy: false };
|
|
22543
|
+
function ResetControls({ controller, device: device2, state }) {
|
|
22544
|
+
const { t } = useLocale();
|
|
22545
|
+
const editor = device2?.type === "smart-mouse" && device2.identityConfirmed && device2.preferences ? controller.preferences(device2) : void 0;
|
|
22546
|
+
const editorState = (0, import_react4.useSyncExternalStore)(editor?.subscribe ?? subscribeNone, editor?.snapshot ?? (() => NO_EDITOR));
|
|
22547
|
+
const [resetting, setResetting] = (0, import_react4.useState)(false);
|
|
22548
|
+
const busy = resetting || editorState.busy || state.screenshotShortcutBusy;
|
|
22549
|
+
return /* @__PURE__ */ import_react4.default.createElement("div", { className: "dsh-mouse-footer" }, /* @__PURE__ */ import_react4.default.createElement("span", { role: "status", className: "dsh-asr-muted" }, busy ? t("common.applying") : t("shortcut.autoSave")), /* @__PURE__ */ import_react4.default.createElement(import_dsh_client_ui_primitives2.Button, { size: "sm", className: "dsh-mouse-reset", disabled: busy || state.screenshotShortcutRecording || state.screenshotShortcutOpening, onClick: async () => {
|
|
22550
|
+
setResetting(true);
|
|
22551
|
+
try {
|
|
22552
|
+
await controller.resetDeviceAndShortcut(device2);
|
|
22553
|
+
} finally {
|
|
22554
|
+
setResetting(false);
|
|
22555
|
+
}
|
|
22556
|
+
} }, t("common.reset")));
|
|
22557
|
+
}
|
|
22558
|
+
function PermissionStatus({ granted }) {
|
|
22559
|
+
const { t } = useLocale();
|
|
22560
|
+
return /* @__PURE__ */ import_react4.default.createElement("span", { className: `dsh-mouse-permission-status${granted ? " is-granted" : ""}` }, /* @__PURE__ */ import_react4.default.createElement("span", { "aria-hidden": "true" }, granted ? "\u2713" : "\u25CB"), t(granted ? "permission.granted" : "permission.missing"));
|
|
22561
|
+
}
|
|
22562
|
+
function PermissionRow({ label, metadata, help, granted, busy, actionLabel, onGrant, optional: optional2 }) {
|
|
22563
|
+
const { t } = useLocale();
|
|
22564
|
+
return /* @__PURE__ */ import_react4.default.createElement("div", { className: "dsh-mouse-permission-row" }, /* @__PURE__ */ import_react4.default.createElement("div", { className: "dsh-mouse-permission-copy" }, /* @__PURE__ */ import_react4.default.createElement("p", { className: "dsh-mouse-permission-name" }, label, optional2 && /* @__PURE__ */ import_react4.default.createElement("span", { className: "dsh-mouse-permission-optional" }, t("permission.optional"))), /* @__PURE__ */ import_react4.default.createElement("p", { className: "dsh-mouse-permission-meta" }, metadata), !granted && /* @__PURE__ */ import_react4.default.createElement("p", { className: "dsh-mouse-permission-help" }, help)), /* @__PURE__ */ import_react4.default.createElement("div", { className: "dsh-mouse-permission-actions" }, /* @__PURE__ */ import_react4.default.createElement(PermissionStatus, { granted }), !granted && /* @__PURE__ */ import_react4.default.createElement(import_dsh_client_ui_primitives2.Button, { "aria-label": actionLabel, disabled: busy, onClick: onGrant }, t("permission.grant"))));
|
|
22565
|
+
}
|
|
22566
|
+
function SystemPermissions({ controller, state }) {
|
|
22567
|
+
const { t, text: text2 } = useLocale();
|
|
22568
|
+
const typing = state.typingPermissions, screenshot = state.screenshotPermissions;
|
|
22569
|
+
const errors = [state.typingPermissionError, state.screenshotPermissionError].filter(Boolean);
|
|
22570
|
+
const supported = typing?.supported || screenshot?.supported;
|
|
22571
|
+
if (!supported && (!errors.length || state.screenshotShortcut?.platform === "win32")) return null;
|
|
22572
|
+
const busy = state.typingPermissionBusy || state.screenshotPermissionBusy;
|
|
22573
|
+
const granted = typing?.supported && typing.accessibility && screenshot?.supported && screenshot.screenRecording && screenshot.accessibility;
|
|
22574
|
+
return /* @__PURE__ */ import_react4.default.createElement("section", { className: "dsh-mouse-permissions", "aria-label": t("permission.system"), "aria-busy": busy }, /* @__PURE__ */ import_react4.default.createElement("header", { className: "dsh-mouse-permission-header" }, /* @__PURE__ */ import_react4.default.createElement("h3", null, t("permission.system")), /* @__PURE__ */ import_react4.default.createElement(import_dsh_client_ui_primitives2.Button, { className: "dsh-mouse-permission-recheck", "aria-label": t("permission.recheck"), disabled: busy, onClick: () => {
|
|
22575
|
+
void Promise.all([controller.refreshTypingPermissions("refresh"), controller.refreshScreenshotPermissions("refresh")]);
|
|
22576
|
+
} }, busy ? t("permission.checking") : t("permission.recheck"))), /* @__PURE__ */ import_react4.default.createElement("p", { className: "dsh-mouse-permission-intro" }, t(granted ? "permission.allGranted" : "permission.intro")), typing?.supported && /* @__PURE__ */ import_react4.default.createElement("div", { "aria-label": t("permission.typing") }, /* @__PURE__ */ import_react4.default.createElement(PermissionRow, { label: t("permission.typingTitle"), metadata: `${t("permission.accessibility")} \xB7 Sonicloud Voice`, help: t("permission.typingHelp"), granted: typing.accessibility, busy: state.typingPermissionBusy, actionLabel: t("permission.grantTyping"), onGrant: () => controller.refreshTypingPermissions("accessibility") }), !typing.accessibility && state.typingPermissionMessage && /* @__PURE__ */ import_react4.default.createElement("p", { role: "status", className: "dsh-mouse-inline-message" }, text2(state.typingPermissionMessage))), screenshot?.supported && /* @__PURE__ */ import_react4.default.createElement("div", { "aria-label": t("permission.screenshot") }, /* @__PURE__ */ import_react4.default.createElement(PermissionRow, { label: t("permission.screenTitle"), metadata: `${t("permission.screen")} \xB7 screenhelper`, help: t("permission.screenHelp"), granted: screenshot.screenRecording, busy: state.screenshotPermissionBusy, actionLabel: t("permission.grantScreen"), onGrant: () => controller.refreshScreenshotPermissions("screen") }), /* @__PURE__ */ import_react4.default.createElement(PermissionRow, { label: t("permission.scrollTitle"), metadata: `${t("permission.accessibility")} \xB7 screenhelper`, help: t("permission.scrollHelp"), granted: screenshot.accessibility, busy: state.screenshotPermissionBusy, actionLabel: t("permission.grantAccess"), onGrant: () => controller.refreshScreenshotPermissions("accessibility"), optional: true }), (!screenshot.screenRecording || !screenshot.accessibility) && state.screenshotPermissionMessage && /* @__PURE__ */ import_react4.default.createElement("p", { role: "status", className: "dsh-mouse-inline-message" }, text2(state.screenshotPermissionMessage))), errors.map((error62, index) => /* @__PURE__ */ import_react4.default.createElement("p", { key: index, role: "alert", className: "dsh-asr-error dsh-mouse-inline-message" }, text2(error62))), (typing?.supported && !typing.accessibility && typing.helperApp || screenshot?.supported && (!screenshot.screenRecording || !screenshot.accessibility) && screenshot.helperApp) && /* @__PURE__ */ import_react4.default.createElement("details", { className: "dsh-mouse-permission-location" }, /* @__PURE__ */ import_react4.default.createElement("summary", null, t("permission.locations")), /* @__PURE__ */ import_react4.default.createElement("p", null, t("permission.pathHelp")), typing?.supported && !typing.accessibility && typing.helperApp && /* @__PURE__ */ import_react4.default.createElement("p", null, "Sonicloud Voice", /* @__PURE__ */ import_react4.default.createElement("code", null, typing.helperApp)), screenshot?.supported && (!screenshot.screenRecording || !screenshot.accessibility) && screenshot.helperApp && /* @__PURE__ */ import_react4.default.createElement("p", null, "screenhelper", /* @__PURE__ */ import_react4.default.createElement("code", null, screenshot.helperApp))));
|
|
22577
|
+
}
|
|
22578
|
+
function Devices(props) {
|
|
22579
|
+
return /* @__PURE__ */ import_react4.default.createElement(LocaleContext.Provider, { value: props.controller.locale ?? fallbackLocale }, /* @__PURE__ */ import_react4.default.createElement(DevicesContent, { ...props }));
|
|
22580
|
+
}
|
|
22581
|
+
function DevicesContent({ controller, sidebar }) {
|
|
22582
|
+
const locale = useLocale();
|
|
22583
|
+
const { t, text: text2 } = locale;
|
|
22584
|
+
const state = (0, import_react4.useSyncExternalStore)(controller.subscribe, controller.snapshot);
|
|
22585
|
+
const { sidebarVisible } = (0, import_react4.useSyncExternalStore)(sidebar?.subscribe ?? subscribeNone, sidebar?.snapshot ?? (() => NO_SIDEBAR));
|
|
22586
|
+
const [selected, setSelected] = (0, import_react4.useState)(null);
|
|
20605
22587
|
const devices2 = state.devices, device2 = devices2.find((item) => item.id === selected) ?? devices2[0];
|
|
20606
22588
|
const index = device2 ? devices2.indexOf(device2) : 0;
|
|
20607
22589
|
const count = new Set(devices2.filter((item) => item.identityConfirmed).map((item) => item.sn)).size;
|
|
20608
|
-
|
|
20609
|
-
const screenMissing = permissions?.supported && !permissions.screenRecording;
|
|
20610
|
-
const permissionBusy = state.screenshotPermissionBusy;
|
|
20611
|
-
const typingPermissions = state.typingPermissions;
|
|
20612
|
-
return /* @__PURE__ */ import_react2.default.createElement("section", { className: "dsh-mouse-settings", "aria-label": "\u58F0\u4E91\u8BBE\u5907" }, /* @__PURE__ */ import_react2.default.createElement("header", { className: "dsh-mouse-head" }, /* @__PURE__ */ import_react2.default.createElement("h2", null, "\u58F0\u4E91\u8BBE\u5907"), sidebar && /* @__PURE__ */ import_react2.default.createElement("span", { className: "dsh-mouse-switch" }, /* @__PURE__ */ import_react2.default.createElement("span", null, "\u4FA7\u8FB9\u680F"), /* @__PURE__ */ import_react2.default.createElement(import_dsh_client_ui_primitives.Switch, { label: "\u4FA7\u8FB9\u680F", checked: sidebarVisible, onChange: (value) => sidebar.setVisible(value) }))), /* @__PURE__ */ import_react2.default.createElement("p", { className: "dsh-asr-intro" }, count, " \u53F0\u8BBE\u5907\u5DF2\u8FDE\u63A5 \xB7 \u4E3A\u6BCF\u53F0\u8BBE\u5907\u8BBE\u7F6E\u4E13\u5C5E\u504F\u597D"), !device2 ? /* @__PURE__ */ import_react2.default.createElement("div", { className: "dsh-mouse-empty" }, /* @__PURE__ */ import_react2.default.createElement("span", { "aria-hidden": "true" }, "\u2301"), /* @__PURE__ */ import_react2.default.createElement("h3", null, "\u6682\u65E0\u8BBE\u5907\u8FDE\u63A5"), /* @__PURE__ */ import_react2.default.createElement("p", null, "\u8BF7\u8FDE\u63A5\u667A\u80FD\u9F20\u6807\u7684 USB \u63A5\u6536\u5668\uFF0C\u6216\u901A\u8FC7\u84DD\u7259\u8FDE\u63A5\u9F20\u6807\u3002"), /* @__PURE__ */ import_react2.default.createElement("p", { className: "dsh-asr-muted" }, state.status)) : /* @__PURE__ */ import_react2.default.createElement(import_react2.default.Fragment, null, /* @__PURE__ */ import_react2.default.createElement("div", { className: "dsh-mouse-carousel" }, devices2.length > 1 && /* @__PURE__ */ import_react2.default.createElement("button", { type: "button", "aria-label": "\u4E0A\u4E00\u53F0\u8BBE\u5907", onClick: () => setSelected(devices2[(index + devices2.length - 1) % devices2.length].id) }, "\u2039"), /* @__PURE__ */ import_react2.default.createElement("div", { className: "dsh-mouse-product" }, /* @__PURE__ */ import_react2.default.createElement("div", { className: "dsh-mouse-illustration", role: "img", "aria-label": "\u667A\u80FD\u9F20\u6807\u793A\u610F\u56FE" }, /* @__PURE__ */ import_react2.default.createElement("span", { className: "dsh-mouse-wheel" }), /* @__PURE__ */ import_react2.default.createElement("span", { className: "dsh-mouse-ai" }, "AI")), /* @__PURE__ */ import_react2.default.createElement("h3", null, device2.name)), devices2.length > 1 && /* @__PURE__ */ import_react2.default.createElement("button", { type: "button", "aria-label": "\u4E0B\u4E00\u53F0\u8BBE\u5907", onClick: () => setSelected(devices2[(index + 1) % devices2.length].id) }, "\u203A")), devices2.length > 1 && /* @__PURE__ */ import_react2.default.createElement("div", { className: "dsh-mouse-dots" }, devices2.map((item, i) => /* @__PURE__ */ import_react2.default.createElement("button", { type: "button", key: item.id, "aria-label": `\u5207\u6362\u5230\u8BBE\u5907 ${i + 1}`, "aria-current": item.id === device2.id ? "true" : void 0, onClick: () => setSelected(item.id) }))), /* @__PURE__ */ import_react2.default.createElement(Row, { label: "SN" }, /* @__PURE__ */ import_react2.default.createElement("span", { className: "dsh-mouse-value" }, device2.sn || "\u8BBE\u5907\u8EAB\u4EFD\u672A\u786E\u8BA4")), /* @__PURE__ */ import_react2.default.createElement(Row, { label: "\u8FDE\u63A5\u65B9\u5F0F" }, /* @__PURE__ */ import_react2.default.createElement("span", { className: "dsh-mouse-value" }, device2.connection === "usb" ? "USB \u63A5\u6536\u5668" : "\u84DD\u7259")), /* @__PURE__ */ import_react2.default.createElement(Row, { label: "\u8BBE\u5907\u7535\u91CF" }, /* @__PURE__ */ import_react2.default.createElement("span", { className: "dsh-mouse-value" }, device2.battery === null ? "\u672A\u77E5" : `${device2.battery}%`)), device2.type === "smart-mouse" ? /* @__PURE__ */ import_react2.default.createElement(DeviceForm, { key: device2.id, device: device2, controller, state }) : /* @__PURE__ */ import_react2.default.createElement("p", null, "\u6B64\u8BBE\u5907\u7C7B\u578B\u6682\u672A\u63D0\u4F9B\u4E13\u5C5E\u8BBE\u7F6E\u3002")), typingPermissions?.supported && /* @__PURE__ */ import_react2.default.createElement("div", { "aria-label": "\u6253\u5B57\u4E0A\u5C4F\u6743\u9650", "aria-busy": state.typingPermissionBusy }, /* @__PURE__ */ import_react2.default.createElement("p", null, /* @__PURE__ */ import_react2.default.createElement("strong", null, "Sonicloud Voice"), " \u8F85\u52A9\u529F\u80FD\uFF1A", typingPermissions.accessibility ? "\u5DF2\u6388\u6743" : "\u5F85\u6388\u6743"), !typingPermissions.accessibility && /* @__PURE__ */ import_react2.default.createElement("p", null, "\u5C06\u8BC6\u522B\u6587\u5B57\u81EA\u52A8\u586B\u5165\u684C\u9762\u5E94\u7528\u9700\u8981\u6B64\u6743\u9650\uFF1B\u672A\u6388\u6743\u65F6\u4ECD\u53EF\u8BC6\u522B\u5E76\u590D\u5236\u6587\u5B57\u3002"), /* @__PURE__ */ import_react2.default.createElement("div", { className: "dsh-mouse-controls" }, !typingPermissions.accessibility && /* @__PURE__ */ import_react2.default.createElement(import_dsh_client_ui_primitives.Button, { "aria-label": "\u6388\u6743\u6253\u5B57\u8F85\u52A9\u529F\u80FD", disabled: state.typingPermissionBusy, onClick: () => controller.refreshTypingPermissions("accessibility") }, "\u6388\u6743\u6253\u5B57\u8F85\u52A9\u529F\u80FD"), /* @__PURE__ */ import_react2.default.createElement(import_dsh_client_ui_primitives.Button, { "aria-label": "\u91CD\u65B0\u68C0\u67E5\u6253\u5B57\u6743\u9650", disabled: state.typingPermissionBusy, onClick: () => controller.refreshTypingPermissions("refresh") }, state.typingPermissionBusy ? "\u6B63\u5728\u68C0\u67E5\u2026" : "\u5DF2\u6388\u6743\uFF0C\u91CD\u65B0\u68C0\u67E5")), state.typingPermissionMessage && /* @__PURE__ */ import_react2.default.createElement("p", { role: "status" }, state.typingPermissionMessage), !typingPermissions.accessibility && typingPermissions.helperApp && /* @__PURE__ */ import_react2.default.createElement("details", null, /* @__PURE__ */ import_react2.default.createElement("summary", null, "\u627E\u4E0D\u5230 Sonicloud Voice \u65F6\u67E5\u770B\u7EC4\u4EF6\u4F4D\u7F6E"), /* @__PURE__ */ import_react2.default.createElement("p", null, "\u5728\u8F85\u52A9\u529F\u80FD\u6743\u9650\u5217\u8868\u4E2D\u9700\u8981\u624B\u52A8\u6DFB\u52A0\u65F6\uFF0C\u4F7F\u7528\u4E0B\u65B9\u4F4D\u7F6E\uFF1A"), /* @__PURE__ */ import_react2.default.createElement("code", { style: { overflowWrap: "anywhere" } }, typingPermissions.helperApp))), state.typingPermissionError && /* @__PURE__ */ import_react2.default.createElement("div", { role: "alert" }, /* @__PURE__ */ import_react2.default.createElement("p", null, state.typingPermissionError), /* @__PURE__ */ import_react2.default.createElement(import_dsh_client_ui_primitives.Button, { "aria-label": "\u91CD\u65B0\u68C0\u67E5\u6253\u5B57\u6743\u9650", disabled: state.typingPermissionBusy, onClick: () => controller.refreshTypingPermissions("refresh") }, state.typingPermissionBusy ? "\u6B63\u5728\u68C0\u67E5\u2026" : "\u91CD\u65B0\u68C0\u67E5\u6253\u5B57\u6743\u9650")), /* @__PURE__ */ import_react2.default.createElement(Row, { label: "\u622A\u56FE", description: screenMissing ? "\u9996\u6B21\u622A\u56FE\u524D\u8BF7\u5148\u6388\u6743\u5C4F\u5E55\u5F55\u5236\uFF0C\u6388\u6743\u671F\u95F4\u4E0D\u4F1A\u663E\u793A\u622A\u56FE\u8499\u5C42" : "\u70B9\u51FB\u6309\u94AE\u6216\u6309\u9F20\u6807\u622A\u56FE\u952E\uFF0C\u6846\u9009\u540E\u53EF\u6807\u6CE8\u3001\u590D\u5236\u3001\u4FDD\u5B58\u6216\u8D34\u56FE" }, /* @__PURE__ */ import_react2.default.createElement(import_dsh_client_ui_primitives.Button, { "aria-label": "\u5F00\u59CB\u622A\u56FE", disabled: state.screenshotBusy || screenMissing || Boolean(state.screenshotPermissionError) || permissionBusy && !permissions, onClick: () => controller.captureScreenshot() }, state.screenshotBusy ? "\u6B63\u5728\u542F\u52A8\u2026" : "\u5F00\u59CB\u622A\u56FE")), permissions?.supported && /* @__PURE__ */ import_react2.default.createElement("div", { "aria-label": "\u622A\u56FE\u6743\u9650", "aria-busy": permissionBusy }, /* @__PURE__ */ import_react2.default.createElement("p", null, permissions.screenRecording && permissions.accessibility ? /* @__PURE__ */ import_react2.default.createElement(import_react2.default.Fragment, null, "\u622A\u56FE\u7EC4\u4EF6 ", /* @__PURE__ */ import_react2.default.createElement("strong", null, "screenhelper"), " \u6743\u9650\u5DF2\u5C31\u7EEA\u3002") : /* @__PURE__ */ import_react2.default.createElement(import_react2.default.Fragment, null, "\u8BF7\u4E3A\u622A\u56FE\u7EC4\u4EF6 ", /* @__PURE__ */ import_react2.default.createElement("strong", null, "screenhelper"), " \u6388\u6743\u3002")), /* @__PURE__ */ import_react2.default.createElement("p", { role: "status" }, "\u5C4F\u5E55\u5F55\u5236\uFF1A", permissions.screenRecording ? "\u5DF2\u6388\u6743" : "\u5F85\u6388\u6743", "\uFF08\u622A\u56FE\u5FC5\u9700\uFF09", /* @__PURE__ */ import_react2.default.createElement("br", null), "\u8F85\u52A9\u529F\u80FD\uFF1A", permissions.accessibility ? "\u5DF2\u6388\u6743" : "\u5F85\u6388\u6743", "\uFF08\u81EA\u52A8\u6EDA\u52A8\u53EF\u9009\uFF0C\u666E\u901A\u622A\u56FE\u548C\u624B\u52A8\u6EDA\u52A8\u4E0D\u53D7\u5F71\u54CD\uFF09"), /* @__PURE__ */ import_react2.default.createElement("div", { className: "dsh-mouse-controls" }, !permissions.screenRecording && /* @__PURE__ */ import_react2.default.createElement(import_dsh_client_ui_primitives.Button, { "aria-label": "\u6388\u6743\u5C4F\u5E55\u5F55\u5236", disabled: permissionBusy, onClick: () => controller.refreshScreenshotPermissions("screen") }, "\u6388\u6743\u5C4F\u5E55\u5F55\u5236"), !permissions.accessibility && /* @__PURE__ */ import_react2.default.createElement(import_dsh_client_ui_primitives.Button, { "aria-label": "\u6388\u6743\u8F85\u52A9\u529F\u80FD", disabled: permissionBusy, onClick: () => controller.refreshScreenshotPermissions("accessibility") }, "\u6388\u6743\u8F85\u52A9\u529F\u80FD"), /* @__PURE__ */ import_react2.default.createElement(import_dsh_client_ui_primitives.Button, { "aria-label": "\u91CD\u65B0\u68C0\u67E5\u622A\u56FE\u6743\u9650", disabled: permissionBusy, onClick: () => controller.refreshScreenshotPermissions("refresh") }, permissionBusy ? "\u6B63\u5728\u68C0\u67E5\u2026" : "\u5DF2\u6388\u6743\uFF0C\u91CD\u65B0\u68C0\u67E5")), state.screenshotPermissionMessage && /* @__PURE__ */ import_react2.default.createElement("p", { role: "status" }, state.screenshotPermissionMessage), (!permissions.screenRecording || !permissions.accessibility) && permissions.helperApp && /* @__PURE__ */ import_react2.default.createElement("details", null, /* @__PURE__ */ import_react2.default.createElement("summary", null, "\u627E\u4E0D\u5230 screenhelper \u65F6\u67E5\u770B\u7EC4\u4EF6\u4F4D\u7F6E"), /* @__PURE__ */ import_react2.default.createElement("p", null, "\u5728\u7CFB\u7EDF\u6743\u9650\u5217\u8868\u4E2D\u9700\u8981\u624B\u52A8\u6DFB\u52A0\u65F6\uFF0C\u4F7F\u7528\u4E0B\u65B9\u4F4D\u7F6E\uFF1A"), /* @__PURE__ */ import_react2.default.createElement("code", { style: { overflowWrap: "anywhere" } }, permissions.helperApp))), state.screenshotPermissionError && /* @__PURE__ */ import_react2.default.createElement("div", { role: "alert" }, /* @__PURE__ */ import_react2.default.createElement("p", null, state.screenshotPermissionError), /* @__PURE__ */ import_react2.default.createElement(import_dsh_client_ui_primitives.Button, { "aria-label": "\u91CD\u65B0\u68C0\u67E5\u622A\u56FE\u6743\u9650", disabled: permissionBusy, onClick: () => controller.refreshScreenshotPermissions("refresh") }, permissionBusy ? "\u6B63\u5728\u68C0\u67E5\u2026" : "\u91CD\u65B0\u68C0\u67E5\u622A\u56FE\u6743\u9650")));
|
|
22590
|
+
return /* @__PURE__ */ import_react4.default.createElement("section", { className: "dsh-mouse-settings", "aria-label": t("app.title") }, /* @__PURE__ */ import_react4.default.createElement("header", { className: "dsh-mouse-head" }, /* @__PURE__ */ import_react4.default.createElement("h2", null, t("app.title")), sidebar && /* @__PURE__ */ import_react4.default.createElement("span", { className: "dsh-mouse-switch" }, /* @__PURE__ */ import_react4.default.createElement("span", null, t("app.sidebar")), /* @__PURE__ */ import_react4.default.createElement(import_dsh_client_ui_primitives2.Switch, { label: t("app.sidebar"), checked: sidebarVisible, onChange: (value) => sidebar.setVisible(value) }))), /* @__PURE__ */ import_react4.default.createElement("p", { className: "dsh-asr-intro" }, locale.count(count)), !device2 ? /* @__PURE__ */ import_react4.default.createElement("div", { className: "dsh-mouse-empty" }, /* @__PURE__ */ import_react4.default.createElement("span", { "aria-hidden": "true" }, "\u2301"), /* @__PURE__ */ import_react4.default.createElement("h3", null, t("device.empty")), /* @__PURE__ */ import_react4.default.createElement("p", null, t("device.connect")), /* @__PURE__ */ import_react4.default.createElement("p", { className: "dsh-asr-muted" }, text2(state.status))) : /* @__PURE__ */ import_react4.default.createElement(import_react4.default.Fragment, null, /* @__PURE__ */ import_react4.default.createElement("div", { className: "dsh-mouse-carousel" }, devices2.length > 1 && /* @__PURE__ */ import_react4.default.createElement("button", { type: "button", "aria-label": t("device.previous"), onClick: () => setSelected(devices2[(index + devices2.length - 1) % devices2.length].id) }, "\u2039"), /* @__PURE__ */ import_react4.default.createElement("div", { className: "dsh-mouse-product" }, /* @__PURE__ */ import_react4.default.createElement("div", { className: "dsh-mouse-illustration", role: "img", "aria-label": t("device.image") }, /* @__PURE__ */ import_react4.default.createElement("span", { className: "dsh-mouse-wheel" }), /* @__PURE__ */ import_react4.default.createElement("span", { className: "dsh-mouse-ai" }, "AI")), /* @__PURE__ */ import_react4.default.createElement("h3", null, device2.defaultName ? t(device2.type === "smart-mouse" ? "device.mouse" : "device.generic") : device2.name)), devices2.length > 1 && /* @__PURE__ */ import_react4.default.createElement("button", { type: "button", "aria-label": t("device.next"), onClick: () => setSelected(devices2[(index + 1) % devices2.length].id) }, "\u203A")), devices2.length > 1 && /* @__PURE__ */ import_react4.default.createElement("div", { className: "dsh-mouse-dots" }, devices2.map((item, i) => /* @__PURE__ */ import_react4.default.createElement("button", { type: "button", key: item.id, "aria-label": t("device.switch", { index: i + 1 }), "aria-current": item.id === device2.id ? "true" : void 0, onClick: () => setSelected(item.id) }))), /* @__PURE__ */ import_react4.default.createElement(Row, { label: "SN" }, /* @__PURE__ */ import_react4.default.createElement("span", { className: "dsh-mouse-value" }, device2.sn || t("device.identity"))), /* @__PURE__ */ import_react4.default.createElement(Row, { label: t("device.connection") }, /* @__PURE__ */ import_react4.default.createElement("span", { className: "dsh-mouse-value" }, device2.connection === "usb" ? t("device.usb") : t("device.bluetooth"))), /* @__PURE__ */ import_react4.default.createElement(Row, { label: t("device.battery") }, /* @__PURE__ */ import_react4.default.createElement("span", { className: "dsh-mouse-value" }, device2.battery === null ? t("common.unknown") : `${device2.battery}%`)), device2.type === "smart-mouse" ? /* @__PURE__ */ import_react4.default.createElement(DeviceForm, { key: device2.id, device: device2, controller, state }) : /* @__PURE__ */ import_react4.default.createElement("p", null, t("device.unsupported"))), /* @__PURE__ */ import_react4.default.createElement(ScreenshotShortcut, { controller, state }), /* @__PURE__ */ import_react4.default.createElement(ResetControls, { controller, device: device2, state }), /* @__PURE__ */ import_react4.default.createElement(SystemPermissions, { controller, state }));
|
|
20613
22591
|
}
|
|
20614
22592
|
function DevicesPanel(props) {
|
|
20615
|
-
return /* @__PURE__ */
|
|
22593
|
+
return /* @__PURE__ */ import_react4.default.createElement("div", { className: "dsh-mouse-panel" }, /* @__PURE__ */ import_react4.default.createElement(Devices, { ...props }));
|
|
20616
22594
|
}
|
|
20617
22595
|
|
|
20618
22596
|
// src/client/Notice.jsx
|
|
20619
|
-
var
|
|
20620
|
-
var
|
|
22597
|
+
var import_react5 = __toESM(require("react"), 1);
|
|
22598
|
+
var import_dsh_client_ui_primitives3 = require("@deepseek-ai/dsh-client-ui-primitives");
|
|
20621
22599
|
function Notice({ controller }) {
|
|
20622
|
-
const
|
|
20623
|
-
|
|
20624
|
-
|
|
22600
|
+
const locale = useLocale(controller.locale);
|
|
22601
|
+
const { toast } = (0, import_react5.useSyncExternalStore)(controller.subscribe, controller.snapshot);
|
|
22602
|
+
return toast ? /* @__PURE__ */ import_react5.default.createElement(
|
|
22603
|
+
import_dsh_client_ui_primitives3.Toast,
|
|
20625
22604
|
{
|
|
20626
22605
|
key: toast.id,
|
|
20627
|
-
text: toast.message,
|
|
20628
|
-
icon: toast.kind === "success" ? void 0 : /* @__PURE__ */
|
|
22606
|
+
text: locale.text(toast.message),
|
|
22607
|
+
icon: toast.kind === "success" ? void 0 : /* @__PURE__ */ import_react5.default.createElement(import_dsh_client_ui_primitives3.IconWarningOutlineRegular, null),
|
|
20629
22608
|
onDone: () => controller.dismissToast(toast.id)
|
|
20630
22609
|
}
|
|
20631
22610
|
) : null;
|
|
20632
22611
|
}
|
|
20633
22612
|
|
|
20634
22613
|
// src/client/SonicloudIcon.jsx
|
|
20635
|
-
var
|
|
22614
|
+
var import_react6 = __toESM(require("react"), 1);
|
|
20636
22615
|
|
|
20637
22616
|
// src/client/assets/sonicloud.svg
|
|
20638
22617
|
var sonicloud_default = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" width="100%" height="100%" fill="currentColor" aria-hidden="true">\n <path d="M138.00,31.82 127.00,33.69 115.00,37.64 103.00,43.84 91.00,52.87 81.51,63.00 74.66,73.00 69.70,83.00 65.59,97.00 52.00,101.74 45.00,105.83 41.00,108.90 33.77,116.00 28.70,123.00 25.86,128.00 21.63,139.00 19.74,149.00 19.74,161.00 21.73,171.00 25.80,181.00 31.76,190.00 41.00,199.21 49.00,204.41 59.00,208.39 70.00,210.06 111.00,210.19 111.82,209.00 111.80,150.00 111.00,147.03 109.00,144.71 106.00,143.63 96.00,143.86 92.00,145.61 89.75,148.00 88.70,150.00 87.83,155.00 87.80,189.00 87.00,189.92 75.00,189.90 69.00,189.34 60.00,186.18 54.00,182.18 48.92,177.00 44.55,170.00 41.85,162.00 41.19,154.00 41.81,147.00 44.85,138.00 48.55,132.00 54.24,126.00 60.00,121.79 67.00,118.70 76.00,116.78 85.00,116.58 85.74,116.00 86.71,104.00 87.69,99.00 89.82,92.00 93.54,84.00 96.63,79.00 102.00,72.36 108.00,66.79 115.00,61.93 121.00,58.81 129.00,55.89 141.00,53.71 152.00,53.84 162.00,55.71 168.00,57.74 176.00,61.63 182.00,65.70 191.31,75.00 198.21,86.00 201.33,94.00 203.25,102.00 204.00,102.66 224.00,102.68 225.34,102.00 224.37,95.00 222.32,87.00 217.28,75.00 209.50,63.00 204.38,57.00 198.00,50.93 186.00,42.53 179.00,38.99 171.00,35.80 164.00,33.79 153.00,31.91Z M136.00,114.87 132.13,116.00 129.00,118.38 126.93,122.00 126.43,125.00 126.33,215.00 126.82,217.00 128.33,219.00 132.00,220.41 137.00,219.44 145.00,215.13 148.14,212.00 149.36,210.00 150.47,206.00 150.28,120.00 149.41,118.00 147.00,115.66 144.00,114.77Z M172.00,95.69 169.26,97.00 167.00,99.18 165.71,102.00 165.48,104.00 165.40,235.00 166.00,235.90 183.00,222.24 189.36,216.00 189.20,105.00 188.31,102.00 187.09,100.00 183.00,96.55 179.00,95.46Z M211.00,131.66 208.39,133.00 206.00,135.23 204.58,138.00 203.98,141.00 203.84,198.00 203.90,200.00 205.00,200.62 213.00,195.24 222.00,187.78 226.27,183.00 227.34,181.00 227.90,178.00 227.92,139.00 227.28,135.00 225.00,132.36 223.00,131.45Z"/>\n</svg>\n';
|
|
20639
22618
|
|
|
20640
22619
|
// src/client/SonicloudIcon.jsx
|
|
20641
22620
|
function SonicloudIcon({ size = 16 }) {
|
|
20642
|
-
return /* @__PURE__ */
|
|
22621
|
+
return /* @__PURE__ */ import_react6.default.createElement(
|
|
20643
22622
|
"span",
|
|
20644
22623
|
{
|
|
20645
22624
|
"aria-hidden": "true",
|
|
@@ -20683,13 +22662,13 @@ var SidebarPanelPreference = class {
|
|
|
20683
22662
|
for (const listener of this.listeners) listener();
|
|
20684
22663
|
}
|
|
20685
22664
|
};
|
|
20686
|
-
function mountSidebarPanel(ctx, { icon, panel, props }) {
|
|
22665
|
+
function mountSidebarPanel(ctx, { icon, panel, props, label = () => "\u58F0\u4E91\u8BBE\u5907" }) {
|
|
20687
22666
|
return ctx.inject(["slots"], (scope) => {
|
|
20688
22667
|
scope.slots.inject("sidebar.panellist", () => scope.slots.register({
|
|
20689
22668
|
name: "sidebar.panellist",
|
|
20690
22669
|
id: SIDEBAR_PANEL_ID,
|
|
20691
22670
|
order: 20,
|
|
20692
|
-
label
|
|
22671
|
+
label
|
|
20693
22672
|
}, icon));
|
|
20694
22673
|
scope.slots.inject("main", () => scope.slots.register({
|
|
20695
22674
|
name: "main",
|
|
@@ -20698,7 +22677,7 @@ function mountSidebarPanel(ctx, { icon, panel, props }) {
|
|
|
20698
22677
|
}, panel));
|
|
20699
22678
|
});
|
|
20700
22679
|
}
|
|
20701
|
-
function attachSidebarPanel(ctx, { icon, panel, props, preferences }) {
|
|
22680
|
+
function attachSidebarPanel(ctx, { icon, panel, props, preferences, label }) {
|
|
20702
22681
|
let mounted = null;
|
|
20703
22682
|
const unmount = () => {
|
|
20704
22683
|
const scope = mounted;
|
|
@@ -20707,7 +22686,7 @@ function attachSidebarPanel(ctx, { icon, panel, props, preferences }) {
|
|
|
20707
22686
|
};
|
|
20708
22687
|
const sync = () => {
|
|
20709
22688
|
if (preferences.visible === (mounted !== null)) return;
|
|
20710
|
-
if (preferences.visible) mounted = mountSidebarPanel(ctx, { icon, panel, props });
|
|
22689
|
+
if (preferences.visible) mounted = mountSidebarPanel(ctx, { icon, panel, props, label });
|
|
20711
22690
|
else unmount();
|
|
20712
22691
|
};
|
|
20713
22692
|
sync();
|
|
@@ -20719,19 +22698,29 @@ function attachSidebarPanel(ctx, { icon, panel, props, preferences }) {
|
|
|
20719
22698
|
}
|
|
20720
22699
|
|
|
20721
22700
|
// src/client/styles.css
|
|
20722
|
-
var styles_default = ".dsh-asr-settings { display:flex; flex-direction:column; gap:12px; max-width:720px; color:var(--dsw-alias-label-primary,#202124); }\n.dsh-asr-settings h2 { margin:0; font-size:16px; line-height:24px; font-weight:500; }\n.dsh-asr-intro { margin:0; font-size:14px; line-height:22px; color:var(--dsw-alias-label-tertiary,#858890); }\n.dsh-asr-muted { margin:0; font-size:12px; line-height:18px; color:var(--dsw-alias-label-tertiary,#858890); }\n.dsh-asr-services { list-style:none; margin:12px 0 0; padding:0; display:flex; flex-direction:column; gap:8px; }\n.dsh-asr-service { border:.5px solid var(--dsw-alias-settings-card-stroke,#d8d8dc); background:var(--dsw-alias-settings-card-fill,#fff); border-radius:var(--dsw-radius-xl,20px); padding:14px; display:flex; flex-direction:column; gap:8px; }\n.dsh-asr-service-head { display:flex; flex-wrap:wrap; align-items:center; gap:8px; font-size:14px; }\n.dsh-asr-service-head strong { font-weight:500; }\n.dsh-asr-actions { display:flex; justify-content:flex-end; align-items:center; gap:6px; margin-left:auto; }\n.dsh-asr-tag { border:.5px solid var(--dsw-alias-border-l3,#ddd); border-radius:4px; padding:1px 6px; font-size:11px; color:var(--dsw-alias-label-secondary,#666); }\n.dsh-asr-selected { display:inline-flex; align-items:center; gap:5px; font-size:12px; color:var(--dsw-alias-label-secondary,#666); }\n.dsh-asr-dot { width:8px; height:8px; border-radius:50%; background:var(--dsw-alias-state-business-primary,#4d6bfe); }\n.dsh-asr-address { overflow-wrap:anywhere; font-size:12px; color:var(--dsw-alias-label-secondary,#666); }\n.dsh-asr-key { display:flex; flex-wrap:wrap; align-items:center; gap:8px; font-size:12px; }\n.dsh-asr-key code { overflow-wrap:anywhere; }\n.dsh-asr-delete,.dsh-asr-error { color:var(--dsw-alias-state-error-primary,#e33c3c)!important; }\n.dsh-asr-add { border:1px dashed var(--dsw-alias-settings-card-stroke,#d8d8dc)!important; border-radius:var(--dsw-radius-lg,14px)!important; min-height:48px; width:100%; margin-top:4px; }\n.dsh-asr-form { display:flex; flex-direction:column; gap:14px; min-width:min(420px,70vw); max-width:600px; }\n.dsh-asr-field { display:flex; flex-direction:column; gap:6px; font-size:13px; color:var(--dsw-alias-label-primary,#202124); }\n.dsh-asr-field-row { display:flex; gap:6px; align-items:center; }\n.dsh-asr-field input { box-sizing:border-box; width:100%; min-width:0; height:36px; padding:6px 10px; border:1px solid var(--dsw-alias-settings-card-stroke,#d8d8dc); border-radius:var(--dsw-radius-md,10px); color:inherit; background:var(--dsw-alias-settings-card-fill,#fff); font:inherit; }\n.dsh-asr-field input:focus-visible { outline:2px solid var(--dsw-alias-state-business-primary,#4d6bfe); outline-offset:2px; }\n.dsh-mouse-settings { width:100%; color:var(--dsw-alias-label-primary,#14161a); }\n.dsh-mouse-head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:12px; }\n.dsh-mouse-head h2 { margin:0; }\n/* main \u5168\u5C40\u9762\u677F\uFF1A\u5BF9\u9F50\u5BBF\u4E3B\u63D2\u4EF6\u9875\u7ED3\u6784\u2014\u2014\u9875\u9762\u6839\u5360\u636E\u5168\u9AD8\u5E76\u81EA\u5E26\u7EB5\u5411\u6EDA\u52A8\uFF0C\u5185\u5BB9\u9650\u5BBD\u5C45\u4E2D\uFF1B\u9876\u90E8\u5B89\u5168\u8DDD\u79BB\u4EC5 darwin \u9700\u8981\uFF08Windows \u4E3A\u539F\u751F\u6807\u9898\u680F\uFF09\u3002 */\n.dsh-mouse-panel { box-sizing:border-box; height:100%; padding:0 clamp(24px,4vw,48px); display:flex; flex-direction:column; align-items:center; overflow:hidden auto; }\n.dsh-mouse-panel > .dsh-mouse-settings { flex:none; max-width:720px; padding:28px 0 48px; }\n[data-platform='darwin'] .dsh-mouse-panel > .dsh-mouse-settings { padding-top:calc(28px + var(--dsh-frame-top-clearance,0px)); }\n.dsh-mouse-settings h2 { margin:0 0 12px; font-size:16px; line-height:24px; font-weight:500; }\n.dsh-mouse-settings h3 { font-size:16px; font-weight:600; }\n.dsh-mouse-carousel { display:flex; align-items:center; justify-content:center; gap:80px; padding:40px 20px 0; }\n.dsh-mouse-carousel > button { border:0; background:none; font-size:36px; color:var(--dsw-alias-label-tertiary,#858890); cursor:pointer; }\n.dsh-mouse-product { text-align:center; }\n.dsh-mouse-illustration { position:relative; width:105px; height:150px; margin:0 auto; border:1px solid #aeb5c0; border-radius:48% 48% 45% 45%; background:linear-gradient(125deg,#fbfcfd,#d0d4da); }\n.dsh-mouse-illustration:before { content:''; position:absolute; width:1px; height:65px; left:50%; top:0; background:#b1b7c0; }\n.dsh-mouse-wheel { position:absolute; width:10px; height:29px; left:calc(50% - 5px); top:18px; border-radius:8px; background:repeating-linear-gradient(#9ba3b0 0 3px,#cbd0d7 4px 6px); border:1px solid #939aa7; }\n.dsh-mouse-ai { position:absolute; bottom:22px; left:0; width:100%; font-size:9px; letter-spacing:2px; color:#8d949f; }\n.dsh-mouse-dots { display:flex; justify-content:center; gap:12px; margin:0 0 38px; }\n.dsh-mouse-dots button { padding:0; width:7px; height:7px; border:0; border-radius:8px; background:#e5e5e5; cursor:pointer; }\n.dsh-mouse-dots button[aria-current=true] { width:20px; background:var(--dsw-alias-label-primary,#14161a); }\n.dsh-mouse-row { display:flex; justify-content:space-between; align-items:center; gap:8px; padding:16px 0; border-bottom:.5px solid var(--dsw-alias-border-l2,#e8e8ea); }\n.dsh-mouse-label { flex:1; min-width:0; padding-right:48px; font-size:14px; line-height:22px; }\n.dsh-mouse-label p { margin:4px 0 0; color:var(--dsw-alias-label-tertiary,#858890); font-size:12px; line-height:18px; }\n.dsh-mouse-key-group { border-bottom:.5px solid var(--dsw-alias-border-l2,#e8e8ea); }\n.dsh-mouse-key-group > .dsh-mouse-row { border-bottom:0; }\n.dsh-mouse-subrow { display:flex; justify-content:flex-end; padding-bottom:16px; }\n.dsh-mouse-subrow .dsh-mouse-controls { justify-content:flex-end; gap:8px; }\n.dsh-mouse-controls { display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:center; gap:12px; min-width:0; font-size:14px; line-height:22px; }\n.dsh-mouse-controls .dsh-mouse-select { justify-content:space-between; gap:12px; height:36px; padding:0 14px; border-radius:var(--dsw-radius-md,10px); background:var(--dsw-alias-bg-module-platform,#f5f6f7); font-size:14px; font-weight:400; }\n.dsh-mouse-controls .dsh-mouse-select:hover { background:var(--dsw-alias-interactive-bg-hover,#eceef1); }\n.dsh-mouse-select > span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }\n.dsh-mouse-controls input[type=url] { width:240px; max-width:100%; }\n.dsh-mouse-link-controls { flex-wrap:nowrap; }\n.dsh-mouse-link-controls input[type=url] { min-width:0; }\n.dsh-mouse-link-controls button { flex-shrink:0; }\n.dsh-mouse-value { color:var(--dsw-alias-label-tertiary,#858890); overflow-wrap:anywhere; }\n.dsh-mouse-footer { display:flex; align-items:center; justify-content:space-between; gap:16px; padding-top:16px; }\n.dsh-mouse-footer .dsh-mouse-reset { flex:none; color:var(--dsw-alias-state-warn-label,#b86b00); background:var(--dsw-alias-state-warn-tertiary,#fff4df); }\n.dsh-mouse-footer .dsh-mouse-reset:hover { background:color-mix(in srgb,var(--dsw-alias-state-warn-primary,#b86b00) 18%,transparent); }\n.dsh-mouse-switch { display:flex; align-items:center; gap:8px; color:var(--dsw-alias-label-secondary,#626976); font-size:12px; }\n.dsh-mouse-empty { padding:54px 24px; text-align:center; color:var(--dsw-alias-label-secondary,#626976); }\n.dsh-mouse-empty > span { font-size:54px; }\n@media(max-width:600px) { .dsh-mouse-carousel { gap:32px; }.dsh-mouse-row { align-items:flex-start; flex-direction:column; gap:12px; }.dsh-mouse-label { padding-right:0; }.dsh-mouse-controls { width:100%; justify-content:space-between; }.dsh-mouse-controls .dsh-mouse-select { max-width:230px; } }\n";
|
|
22701
|
+
var styles_default = ".dsh-asr-settings { display:flex; flex-direction:column; gap:12px; max-width:720px; color:var(--dsw-alias-label-primary,#202124); }\n.dsh-asr-settings h2 { margin:0; font-size:16px; line-height:24px; font-weight:500; }\n.dsh-asr-intro { margin:0; font-size:14px; line-height:22px; color:var(--dsw-alias-label-tertiary,#858890); }\n.dsh-asr-muted { margin:0; font-size:12px; line-height:18px; color:var(--dsw-alias-label-tertiary,#858890); }\n.dsh-asr-services { list-style:none; margin:12px 0 0; padding:0; display:flex; flex-direction:column; gap:8px; }\n.dsh-asr-service { border:.5px solid var(--dsw-alias-settings-card-stroke,#d8d8dc); background:var(--dsw-alias-settings-card-fill,#fff); border-radius:var(--dsw-radius-xl,20px); padding:14px; display:flex; flex-direction:column; gap:8px; }\n.dsh-asr-service-head { display:flex; flex-wrap:wrap; align-items:center; gap:8px; font-size:14px; }\n.dsh-asr-service-head strong { font-weight:500; }\n.dsh-asr-actions { display:flex; justify-content:flex-end; align-items:center; gap:6px; margin-left:auto; }\n.dsh-asr-tag { border:.5px solid var(--dsw-alias-border-l3,#ddd); border-radius:4px; padding:1px 6px; font-size:11px; color:var(--dsw-alias-label-secondary,#666); }\n.dsh-asr-selected { display:inline-flex; align-items:center; gap:5px; font-size:12px; color:var(--dsw-alias-label-secondary,#666); }\n.dsh-asr-dot { width:8px; height:8px; border-radius:50%; background:var(--dsw-alias-state-business-primary,#4d6bfe); }\n.dsh-asr-address { overflow-wrap:anywhere; font-size:12px; color:var(--dsw-alias-label-secondary,#666); }\n.dsh-asr-key { display:flex; flex-wrap:wrap; align-items:center; gap:8px; font-size:12px; }\n.dsh-asr-key code { overflow-wrap:anywhere; }\n.dsh-asr-delete,.dsh-asr-error { color:var(--dsw-alias-state-error-primary,#e33c3c)!important; }\n.dsh-asr-add { border:1px dashed var(--dsw-alias-settings-card-stroke,#d8d8dc)!important; border-radius:var(--dsw-radius-lg,14px)!important; min-height:48px; width:100%; margin-top:4px; }\n.dsh-asr-form { display:flex; flex-direction:column; gap:14px; min-width:min(420px,70vw); max-width:600px; }\n.dsh-asr-field { display:flex; flex-direction:column; gap:6px; font-size:13px; color:var(--dsw-alias-label-primary,#202124); }\n.dsh-asr-field-row { display:flex; gap:6px; align-items:center; }\n.dsh-asr-field input { box-sizing:border-box; width:100%; min-width:0; height:36px; padding:6px 10px; border:1px solid var(--dsw-alias-settings-card-stroke,#d8d8dc); border-radius:var(--dsw-radius-md,10px); color:inherit; background:var(--dsw-alias-settings-card-fill,#fff); font:inherit; }\n.dsh-asr-field input:focus-visible { outline:2px solid var(--dsw-alias-state-business-primary,#4d6bfe); outline-offset:2px; }\n.dsh-mouse-settings { width:100%; color:var(--dsw-alias-label-primary,#14161a); }\n.dsh-mouse-head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:12px; }\n.dsh-mouse-head h2 { margin:0; }\n/* main \u5168\u5C40\u9762\u677F\uFF1A\u5BF9\u9F50\u5BBF\u4E3B\u63D2\u4EF6\u9875\u7ED3\u6784\u2014\u2014\u9875\u9762\u6839\u5360\u636E\u5168\u9AD8\u5E76\u81EA\u5E26\u7EB5\u5411\u6EDA\u52A8\uFF0C\u5185\u5BB9\u9650\u5BBD\u5C45\u4E2D\uFF1B\u9876\u90E8\u5B89\u5168\u8DDD\u79BB\u4EC5 darwin \u9700\u8981\uFF08Windows \u4E3A\u539F\u751F\u6807\u9898\u680F\uFF09\u3002 */\n.dsh-mouse-panel { box-sizing:border-box; height:100%; padding:0 clamp(24px,4vw,48px); display:flex; flex-direction:column; align-items:center; overflow:hidden auto; }\n.dsh-mouse-panel > .dsh-mouse-settings { flex:none; max-width:720px; padding:28px 0 48px; }\n[data-platform='darwin'] .dsh-mouse-panel > .dsh-mouse-settings { padding-top:calc(28px + var(--dsh-frame-top-clearance,0px)); }\n.dsh-mouse-settings h2 { margin:0 0 12px; font-size:16px; line-height:24px; font-weight:500; }\n.dsh-mouse-settings h3 { font-size:16px; font-weight:600; }\n.dsh-mouse-carousel { display:flex; align-items:center; justify-content:center; gap:80px; padding:40px 20px 0; }\n.dsh-mouse-carousel > button { border:0; background:none; font-size:36px; color:var(--dsw-alias-label-tertiary,#858890); cursor:pointer; }\n.dsh-mouse-product { text-align:center; }\n.dsh-mouse-illustration { position:relative; width:105px; height:150px; margin:0 auto; border:1px solid #aeb5c0; border-radius:48% 48% 45% 45%; background:linear-gradient(125deg,#fbfcfd,#d0d4da); }\n.dsh-mouse-illustration:before { content:''; position:absolute; width:1px; height:65px; left:50%; top:0; background:#b1b7c0; }\n.dsh-mouse-wheel { position:absolute; width:10px; height:29px; left:calc(50% - 5px); top:18px; border-radius:8px; background:repeating-linear-gradient(#9ba3b0 0 3px,#cbd0d7 4px 6px); border:1px solid #939aa7; }\n.dsh-mouse-ai { position:absolute; bottom:22px; left:0; width:100%; font-size:9px; letter-spacing:2px; color:#8d949f; }\n.dsh-mouse-dots { display:flex; justify-content:center; gap:12px; margin:0 0 38px; }\n.dsh-mouse-dots button { padding:0; width:7px; height:7px; border:0; border-radius:8px; background:#e5e5e5; cursor:pointer; }\n.dsh-mouse-dots button[aria-current=true] { width:20px; background:var(--dsw-alias-label-primary,#14161a); }\n.dsh-mouse-row { display:flex; justify-content:space-between; align-items:center; gap:8px; padding:16px 0; border-bottom:.5px solid var(--dsw-alias-border-l2,#e8e8ea); }\n.dsh-mouse-label { flex:1; min-width:0; padding-right:48px; font-size:14px; line-height:22px; }\n.dsh-mouse-label p { margin:4px 0 0; color:var(--dsw-alias-label-tertiary,#858890); font-size:12px; line-height:18px; }\n.dsh-mouse-key-group { border-bottom:.5px solid var(--dsw-alias-border-l2,#e8e8ea); }\n.dsh-mouse-key-group > .dsh-mouse-row { border-bottom:0; }\n.dsh-mouse-subrow { display:flex; justify-content:flex-end; padding-bottom:16px; }\n.dsh-mouse-subrow .dsh-mouse-controls { justify-content:flex-end; gap:8px; }\n.dsh-mouse-controls { display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:center; gap:12px; min-width:0; font-size:14px; line-height:22px; }\n.dsh-mouse-controls .dsh-mouse-select { justify-content:space-between; gap:12px; min-height:36px; height:auto; padding:6px 14px; border-radius:var(--dsw-radius-md,10px); background:var(--dsw-alias-bg-module-platform,#f5f6f7); font-size:14px; font-weight:400; }\n.dsh-mouse-controls .dsh-mouse-select:hover { background:var(--dsw-alias-interactive-bg-hover,#eceef1); }\n.dsh-mouse-select > span { white-space:normal; overflow-wrap:anywhere; text-align:start; }\n.dsh-mouse-controls input[type=url] { width:240px; max-width:100%; }\n.dsh-mouse-link-controls { flex-wrap:nowrap; }\n.dsh-mouse-link-controls input[type=url] { min-width:0; }\n.dsh-mouse-link-controls button { flex-shrink:0; }\n.dsh-mouse-value { color:var(--dsw-alias-label-tertiary,#858890); overflow-wrap:anywhere; }\n.dsh-mouse-footer { display:flex; align-items:center; justify-content:space-between; gap:16px; padding-top:16px; }\n.dsh-mouse-footer .dsh-mouse-reset { flex:none; color:var(--dsw-alias-state-warn-label,#b86b00); background:var(--dsw-alias-state-warn-tertiary,#fff4df); }\n.dsh-mouse-footer .dsh-mouse-reset:hover { background:color-mix(in srgb,var(--dsw-alias-state-warn-primary,#b86b00) 18%,transparent); }\n.dsh-mouse-switch { display:flex; align-items:center; gap:8px; color:var(--dsw-alias-label-secondary,#626976); font-size:12px; }\n.dsh-mouse-empty { padding:54px 24px; text-align:center; color:var(--dsw-alias-label-secondary,#626976); }\n.dsh-mouse-empty > span { font-size:54px; }\n@media(max-width:600px) { .dsh-mouse-carousel { gap:32px; }.dsh-mouse-row { align-items:flex-start; flex-direction:column; gap:12px; }.dsh-mouse-label { padding-right:0; }.dsh-mouse-controls { width:100%; justify-content:space-between; }.dsh-mouse-controls .dsh-mouse-select { max-width:230px; } }\n\n.dsh-mouse-settings button { white-space:normal; overflow-wrap:anywhere; }\n.dsh-mouse-head,.dsh-mouse-footer { flex-wrap:wrap; }\n\n.dsh-mouse-shortcut-value { color:var(--dsw-alias-label-tertiary,#858890); font-size:12px; white-space:nowrap; }\n.dsh-mouse-shortcut-value.is-set { color:var(--dsw-alias-label-secondary,#626976); border:.5px solid var(--dsw-alias-border-l2,#e8e8ea); border-radius:6px; padding:3px 8px; }\n.dsh-mouse-shortcut-dialog .dsh-mouse-shortcut-input { box-sizing:border-box; width:100%; min-height:64px; text-align:center; letter-spacing:1px; font-size:18px; }\n.dsh-mouse-shortcut-suggested { margin-top:10px; font-size:12px; }\n.dsh-mouse-inline-message { margin:8px 0; font-size:12px; line-height:19px; overflow-wrap:anywhere; }\n.dsh-mouse-permissions { border-top:.5px solid var(--dsw-alias-border-l2,#e8e8ea); margin-top:20px; padding-top:24px; }\n.dsh-mouse-permission-header { display:flex; align-items:center; justify-content:space-between; gap:16px; }\n.dsh-mouse-permission-header h3 { margin:0; font-size:14px; line-height:22px; font-weight:500; }\n.dsh-mouse-permission-recheck { font-size:12px; color:var(--dsw-alias-label-tertiary,#858890); }\n.dsh-mouse-permission-intro { margin:4px 0 6px; color:var(--dsw-alias-label-tertiary,#858890); font-size:12px; line-height:19px; }\n.dsh-mouse-permission-row { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:16px; padding:16px 0; border-bottom:.5px solid var(--dsw-alias-border-l2,#e8e8ea); }\n.dsh-mouse-permission-copy { min-width:0; }\n.dsh-mouse-permission-name { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin:0; font-size:14px; line-height:22px; font-weight:400; }\n.dsh-mouse-permission-meta,.dsh-mouse-permission-help { margin:3px 0 0; color:var(--dsw-alias-label-tertiary,#858890); font-size:12px; line-height:19px; overflow-wrap:anywhere; }\n.dsh-mouse-permission-actions { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:12px; }\n.dsh-mouse-permission-actions button { font-size:12px; }\n.dsh-mouse-permission-status { display:inline-flex; align-items:center; gap:5px; white-space:nowrap; color:var(--dsw-alias-state-warn-label,#b86b00); background:var(--dsw-alias-state-warn-tertiary,#fff4df); border-radius:6px; padding:3px 8px; font-size:12px; line-height:18px; }\n.dsh-mouse-permission-status.is-granted { color:var(--dsw-alias-state-success-label,#278159); background:var(--dsw-alias-state-success-tertiary,#eef7f1); }\n.dsh-mouse-permission-optional { color:var(--dsw-alias-label-tertiary,#858890); font-size:11px; line-height:17px; border:.5px solid var(--dsw-alias-border-l2,#e8e8ea); border-radius:4px; padding:0 5px; }\n.dsh-mouse-permission-location { margin-top:12px; color:var(--dsw-alias-label-tertiary,#858890); font-size:12px; line-height:19px; }\n.dsh-mouse-permission-location summary { cursor:pointer; width:fit-content; }\n.dsh-mouse-permission-location p { margin:8px 0 0; }\n.dsh-mouse-permission-location code { display:block; margin-top:2px; font-size:11px; overflow-wrap:anywhere; }\n@media(max-width:600px) { .dsh-mouse-permission-row { grid-template-columns:1fr; gap:10px; }.dsh-mouse-permission-actions { justify-content:space-between; }.dsh-mouse-shortcut-value { max-width:100%; white-space:normal; overflow-wrap:anywhere; } }\n";
|
|
20723
22702
|
|
|
20724
22703
|
// src/client/index.jsx
|
|
20725
|
-
var inject = ["remote", "slots"];
|
|
22704
|
+
var inject = ["remote", "slots", "locale", "configForms"];
|
|
20726
22705
|
async function apply(ctx) {
|
|
22706
|
+
const locale = registerLocale(ctx);
|
|
20727
22707
|
const preferences = new SidebarPanelPreference(typeof localStorage === "undefined" ? void 0 : localStorage);
|
|
20728
22708
|
const unmountRemote = await ctx.remote.$mount(REMOTE);
|
|
20729
|
-
const view = new AiConversationView({ document, closeTopModal:
|
|
22709
|
+
const view = new AiConversationView({ document, closeTopModal: import_dsh_client_ui_primitives4.closeTopModal });
|
|
20730
22710
|
let ui, aiUi;
|
|
20731
22711
|
try {
|
|
20732
22712
|
ui = ctx.inject(["remote.asr", "slots"], (scope) => {
|
|
20733
22713
|
const api = scope.remote.asr;
|
|
20734
|
-
const controller = new DeviceController(api);
|
|
22714
|
+
const controller = new DeviceController(api, { locale });
|
|
22715
|
+
scope.inject(["shortcuts"], (shortcutScope) => {
|
|
22716
|
+
if (typeof shortcutScope.shortcuts?.recording !== "function") return;
|
|
22717
|
+
const guard = (active) => shortcutScope.shortcuts.recording(active);
|
|
22718
|
+
controller.shortcutInputGuard = guard;
|
|
22719
|
+
shortcutScope.effect(() => () => {
|
|
22720
|
+
if (controller.shortcutInputGuard === guard) controller.shortcutInputGuard = void 0;
|
|
22721
|
+
void controller.endShortcutRecording();
|
|
22722
|
+
});
|
|
22723
|
+
});
|
|
20735
22724
|
scope.effect(() => {
|
|
20736
22725
|
const style = document.createElement("style");
|
|
20737
22726
|
style.textContent = styles_default;
|
|
@@ -20747,7 +22736,8 @@ async function apply(ctx) {
|
|
|
20747
22736
|
name: "settings.section",
|
|
20748
22737
|
id: "dsh-sonicloud-device",
|
|
20749
22738
|
order: 11,
|
|
20750
|
-
label: () => "
|
|
22739
|
+
label: () => locale.t("app.title"),
|
|
22740
|
+
locale: NAMESPACE,
|
|
20751
22741
|
inject: () => ({ api, controller, sidebar: preferences })
|
|
20752
22742
|
}, Devices));
|
|
20753
22743
|
scope.slots.inject("settings.section.icon", () => scope.slots.register({
|
|
@@ -20756,6 +22746,7 @@ async function apply(ctx) {
|
|
|
20756
22746
|
}, SonicloudIcon));
|
|
20757
22747
|
scope.slots.inject("shell.overlay", () => scope.slots.register({
|
|
20758
22748
|
name: "shell.overlay",
|
|
22749
|
+
locale: NAMESPACE,
|
|
20759
22750
|
id: "dsh-sonicloud-device-notice",
|
|
20760
22751
|
inject: () => ({ controller })
|
|
20761
22752
|
}, Notice));
|
|
@@ -20768,7 +22759,8 @@ async function apply(ctx) {
|
|
|
20768
22759
|
icon: SonicloudIcon,
|
|
20769
22760
|
panel: DevicesPanel,
|
|
20770
22761
|
props: () => ({ controller, sidebar: preferences }),
|
|
20771
|
-
preferences
|
|
22762
|
+
preferences,
|
|
22763
|
+
label: () => locale.t("app.title")
|
|
20772
22764
|
}));
|
|
20773
22765
|
});
|
|
20774
22766
|
await ui;
|