@goodandready/dsh-russian-lang 0.2.2 → 0.2.3
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/lib/client.js +5 -6
- package/package.json +2 -2
package/lib/client.js
CHANGED
|
@@ -1079,16 +1079,15 @@ const makeLayout = (freq, localDict = new Set()) => {
|
|
|
1079
1079
|
(ev) => setTypo({ enabled: ev.target.checked }), !ruActive), t('typographyDesc')),
|
|
1080
1080
|
row(t('yo'), checkbox(typography.yo === true,
|
|
1081
1081
|
(ev) => setTypo({ yo: ev.target.checked }), !ruActive), t('yoDesc')),
|
|
1082
|
-
row(t('agentPrompt'), checkbox(value.
|
|
1082
|
+
row(t('agentPrompt'), checkbox(value.agentPrompt === true,
|
|
1083
1083
|
(ev) => {
|
|
1084
|
-
const next = Object.assign({}, value.overrides || {}, { agentPrompt: ev.target.checked })
|
|
1085
1084
|
try {
|
|
1086
|
-
const r = scope.set('
|
|
1085
|
+
const r = scope.set('agentPrompt', ev.target.checked)
|
|
1087
1086
|
if (r && typeof r.catch === 'function') r.catch((err) => {
|
|
1088
|
-
console.warn('dsh-russian-lang: scope.set
|
|
1087
|
+
console.warn('dsh-russian-lang: scope.set agentPrompt failed', err && err.message || err)
|
|
1089
1088
|
})
|
|
1090
1089
|
} catch (err) {
|
|
1091
|
-
console.warn('dsh-russian-lang: scope.set
|
|
1090
|
+
console.warn('dsh-russian-lang: scope.set agentPrompt sync threw', err && err.message || err)
|
|
1092
1091
|
}
|
|
1093
1092
|
}, false), t('agentPromptDesc')),
|
|
1094
1093
|
React.createElement('div', { className: 'rl-note' },
|
|
@@ -1096,7 +1095,7 @@ const makeLayout = (freq, localDict = new Set()) => {
|
|
|
1096
1095
|
React.createElement('div', { className: 'rl-hint' }, t('altL')),
|
|
1097
1096
|
React.createElement('div', { className: 'rl-actions' },
|
|
1098
1097
|
React.createElement('a', {
|
|
1099
|
-
href: makeIssueUrl({}, '0.2.
|
|
1098
|
+
href: makeIssueUrl({}, '0.2.3'),
|
|
1100
1099
|
target: '_blank',
|
|
1101
1100
|
rel: 'noopener noreferrer',
|
|
1102
1101
|
className: 'rl-link'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goodandready/dsh-russian-lang",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "Russian localization for the DeepSeek Harness web UI: adds Русский as the third option in the native Settings - General - Language menu. Translates the full core surface (100% coverage of DSH 0.1.1-rc.2) plus 16 community plugin namespaces - 51 namespaces, 2899 strings (about 64% hand-reviewed, the rest machine-drafted and tracked as status: draft), with Russian plural forms, count-key plurals, a typography pass (guillemets, em dash, nbsp), a wrong-layout input hint and browser spellcheck. The locale runtime snapshot is extended at runtime on unpatched cores; no files in the DSH installation are modified. The choice is persisted through the plugin-owned russian-lang namespace.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -68,4 +68,4 @@
|
|
|
68
68
|
"bugs": {
|
|
69
69
|
"url": "https://github.com/GooDAnDReaDY/dsh-russian-lang/issues"
|
|
70
70
|
}
|
|
71
|
-
}
|
|
71
|
+
}
|