@ragnoryok1/dsh-client-locale-ru 0.2.7 → 0.2.9
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 +54 -0
- package/NAMESPACES.md +11 -2
- package/README.en.md +76 -41
- package/README.md +72 -39
- package/README.zh.md +53 -32
- package/images/plugins-ru.png +0 -0
- package/images/settings-ru.png +0 -0
- package/lib/client.js +1940 -20
- package/lib/typography.d.ts +3 -1
- package/lib/typography.js +1 -1
- package/package.json +6 -3
package/lib/typography.d.ts
CHANGED
|
@@ -15,6 +15,8 @@
|
|
|
15
15
|
*/
|
|
16
16
|
/** Guillemets, em dash, ellipsis, and non-breaking spaces in running text. */
|
|
17
17
|
declare function applyRussianTypography(text: string): string;
|
|
18
|
+
/** Elements whose text is code, data or user input and must stay verbatim. */
|
|
19
|
+
declare const SKIP_SELECTOR: string;
|
|
18
20
|
/**
|
|
19
21
|
* Start the typography pass on a document and keep it current as the app
|
|
20
22
|
* renders. Returns a disposer that stops observing.
|
|
@@ -28,4 +30,4 @@ declare function applyRussianTypography(text: string): string;
|
|
|
28
30
|
*/
|
|
29
31
|
declare function startRussianTypography(doc: Document, isActive?: () => boolean): () => void;
|
|
30
32
|
//#endregion
|
|
31
|
-
export { applyRussianTypography, startRussianTypography };
|
|
33
|
+
export { SKIP_SELECTOR, applyRussianTypography, startRussianTypography };
|
package/lib/typography.js
CHANGED
|
@@ -107,4 +107,4 @@ function startRussianTypography(doc, isActive = () => true) {
|
|
|
107
107
|
return () => observer.disconnect();
|
|
108
108
|
}
|
|
109
109
|
//#endregion
|
|
110
|
-
export { applyRussianTypography, startRussianTypography };
|
|
110
|
+
export { SKIP_SELECTOR, applyRussianTypography, startRussianTypography };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ragnoryok1/dsh-client-locale-ru",
|
|
3
|
-
"description": "dsh language pack — i18n for the DeepSeek Harness Web GUI: Russian (ru) locale,
|
|
4
|
-
"version": "0.2.
|
|
3
|
+
"description": "dsh language pack — i18n for the DeepSeek Harness Web GUI: Russian (ru) locale, 90 namespaces, 6433 strings, 25 third-party plugin dictionaries, ru plural forms",
|
|
4
|
+
"version": "0.2.9",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dsh",
|
|
7
7
|
"deepseek-harness",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"check:built": "node scripts/check-built.mjs",
|
|
81
81
|
"check:size": "node scripts/check-size.mjs",
|
|
82
82
|
"audit": "node scripts/audit.mjs",
|
|
83
|
-
"verify": "npm run check:readmes && npm run check:readmes:pairs && npm run check:changelog && npm run check:manifest && npm run check:meta && npm run check:built && npm run check:size && npm run check:tarball && npm run check:typography && npm run check:typography:dom && npm run check:locale && npm run check:plural && npm run check:composition && npm run check:namespaces && npm run check:upstream && npm run check:peers && npm run check:workflows && npm run check:workflow-yaml && npm run check:release-race && npm run check:conflict-notice && npm run check:descriptors && node scripts/audit.mjs",
|
|
83
|
+
"verify": "npm run check:readmes && npm run check:readmes:pairs && npm run check:changelog && npm run check:manifest && npm run check:meta && npm run check:built && npm run check:size && npm run check:tarball && npm run check:typography && npm run check:typography:dom && npm run check:locale && npm run check:plural && npm run check:composition && npm run check:namespaces && npm run check:upstream && npm run check:peers && npm run check:workflows && npm run check:workflow-yaml && npm run check:release-race && npm run check:conflict-notice && npm run check:descriptors && npm run check:descriptor-patch && npm run check:plugin-names && node scripts/audit.mjs",
|
|
84
84
|
"prepublishOnly": "npm run build",
|
|
85
85
|
"check:composition": "node scripts/check-composition.mjs",
|
|
86
86
|
"namespaces": "node scripts/namespaces.mjs",
|
|
@@ -96,6 +96,9 @@
|
|
|
96
96
|
"report:descriptors": "node scripts/descriptor-coverage.mjs",
|
|
97
97
|
"apply:descriptors": "node scripts/apply-descriptor-ru.mjs",
|
|
98
98
|
"check:descriptors": "node scripts/apply-descriptor-ru.mjs --check",
|
|
99
|
+
"check:descriptor-patch": "node scripts/check-descriptor-patch.mjs",
|
|
100
|
+
"check:plugin-names": "node scripts/check-plugin-names-dom.mjs",
|
|
101
|
+
"build:descriptor-patch": "node scripts/build-descriptor-patch.mjs --write",
|
|
99
102
|
"release:status": "node scripts/release-status.mjs",
|
|
100
103
|
"check:meta": "node scripts/check-meta.mjs",
|
|
101
104
|
"check:workflow-yaml": "node scripts/check-workflow-yaml.mjs",
|