@goodandready/dsh-russian-lang 0.1.1 → 0.1.2
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 -1
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -1891,7 +1891,11 @@ window.__ModuleLoader__.load({
|
|
|
1891
1891
|
ctx.effect(() => scope.subscribe(tryBoot), 'dsh-russian-lang: boot')
|
|
1892
1892
|
tryBoot()
|
|
1893
1893
|
|
|
1894
|
-
|
|
1894
|
+
// Подписчик регистрируется синхронно, до первого publish() в tryBoot
|
|
1895
|
+
// ниже - иначе ctx.effect откладывает выполнение, и boot-publish
|
|
1896
|
+
// происходит до того, как syncLang слушатель зарегистрирован.
|
|
1897
|
+
const unsubscribeLang = runtime.subscribe(syncLang)
|
|
1898
|
+
ctx.effect(() => unsubscribeLang, 'dsh-russian-lang: html-lang')
|
|
1895
1899
|
syncLang()
|
|
1896
1900
|
}
|
|
1897
1901
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goodandready/dsh-russian-lang",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Russian localization for the DeepSeek Harness web UI: adds Русский as the third option in the native Settings - General - Language menu. Translates 30 core namespaces (722 keys, 100% coverage of the DSH 0.1.1-rc.2 surface) and 9 plugin namespaces (962 keys). 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",
|