@sparkelf/dsh-patch-session-export-chinese 0.1.0-rc.14 → 0.1.0-rc.26
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/README.i18n.yaml +2 -2
- package/README.md +1 -1
- package/README.zh.md +1 -1
- package/package.json +3 -3
- package/patches/session-export-chinese.patch +11 -4
package/README.i18n.yaml
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
|
3
3
|
# after editing either side, bring the other along and re-record with:
|
|
4
4
|
# pnpm run verify-translation-pairing --write patches/npm/session-export-chinese/README.md
|
|
5
|
-
README.md:
|
|
6
|
-
README.zh.md:
|
|
5
|
+
README.md: 6d620669c0300c3acd19eb73528a31d9aa1b635a
|
|
6
|
+
README.zh.md: 3ec86e05fefd0375e9f2aadf2f3162c3cb5c7383
|
package/README.md
CHANGED
|
@@ -4,6 +4,6 @@ English | [中文](README.zh.md)
|
|
|
4
4
|
|
|
5
5
|
This data-only package replaces the mixed English `Session` wording in the official Simplified-Chinese Session export action and status dialog with the established Chinese term `会话`. English copy and export behavior are unchanged.
|
|
6
6
|
|
|
7
|
-
The target is exact official source revision `
|
|
7
|
+
The target is exact official source revision `fb2c4b9e698e30edb738bca4cf0618587db7d203`. The payload is applied before that source tree is built. The package has no JavaScript entry, lifecycle script, Cordis plugin, compatibility adapter, or alternate variant.
|
|
8
8
|
|
|
9
9
|
Retire this package when official DSH ships consistent Simplified-Chinese Session export copy.
|
package/README.zh.md
CHANGED
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
该data-only package把official简体中文会话导出按钮和状态对话框中混用的英文`Session`统一替换为既有中文术语`会话`。英文文案和导出行为保持不变。
|
|
6
6
|
|
|
7
|
-
target是exact official source revision `
|
|
7
|
+
target是exact official source revision `fb2c4b9e698e30edb738bca4cf0618587db7d203`,payload在该source tree build前应用。本package没有JavaScript entry、lifecycle script、Cordis plugin、compatibility adapter或alternate variant。
|
|
8
8
|
|
|
9
9
|
official DSH发布统一的简体中文会话导出文案后,retire本package。
|
package/package.json
CHANGED
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
"formatVersion": 1,
|
|
5
5
|
"variants": [
|
|
6
6
|
{
|
|
7
|
-
"dsh": ">=0.1.
|
|
7
|
+
"dsh": ">=0.1.5-rc.2",
|
|
8
8
|
"file": "./patches/session-export-chinese.patch",
|
|
9
9
|
"id": "session-export-simplified-chinese-copy",
|
|
10
10
|
"target": {
|
|
11
|
-
"baseRevision": "
|
|
11
|
+
"baseRevision": "fb2c4b9e698e30edb738bca4cf0618587db7d203",
|
|
12
12
|
"kind": "dsh-source",
|
|
13
13
|
"paths": [
|
|
14
14
|
"packages/session-query/session-log-export/src/client/"
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"url": "git+https://github.com/SparkElf/deepseek-harness-plus.git"
|
|
32
32
|
},
|
|
33
33
|
"type": "module",
|
|
34
|
-
"version": "0.1.0-rc.
|
|
34
|
+
"version": "0.1.0-rc.26"
|
|
35
35
|
}
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
diff --git a/packages/session-query/session-log-export/src/client/locales.ts b/packages/session-query/session-log-export/src/client/locales.ts
|
|
2
|
-
index
|
|
2
|
+
index 54d68f2665..9c01a4b713 100644
|
|
3
3
|
--- a/packages/session-query/session-log-export/src/client/locales.ts
|
|
4
4
|
+++ b/packages/session-query/session-log-export/src/client/locales.ts
|
|
5
|
-
@@ -
|
|
6
|
-
|
|
5
|
+
@@ -4,19 +4,21 @@ export const NS = 'session-log-download'
|
|
7
6
|
/** Simplified-Chinese Session export strings. */
|
|
8
7
|
export const zh = {
|
|
9
|
-
|
|
8
|
+
'header.more': '更多操作',
|
|
9
|
+
- 'menu.download': '下载 Session 日志',
|
|
10
10
|
- 'dialog.preparingTitle': '正在导出 Session',
|
|
11
11
|
- 'dialog.preparingDescription': '正在准备包含当前 Session、子 Session 和附件的 ZIP 文件。',
|
|
12
12
|
- 'dialog.successTitle': 'Session 导出已开始下载',
|
|
13
13
|
- 'dialog.successDescription': '浏览器正在下载 Session ZIP 文件。',
|
|
14
14
|
- 'dialog.errorTitle': 'Session 导出失败',
|
|
15
15
|
+ 'header.action': '会话日志',
|
|
16
|
+
+ 'menu.download': '下载会话日志',
|
|
16
17
|
+ 'dialog.preparingTitle': '正在导出会话',
|
|
17
18
|
+ 'dialog.preparingDescription': '正在准备包含当前会话、子会话和附件的 ZIP 文件。',
|
|
18
19
|
+ 'dialog.successTitle': '会话导出已开始下载',
|
|
@@ -24,3 +25,9 @@ index 29989f3dd4d2cf20431cfdf2adaae09496fd8a6d..7e2e77e0e69ffaae958c15016244405e
|
|
|
24
25
|
} as const
|
|
25
26
|
|
|
26
27
|
/** English Session export strings. */
|
|
28
|
+
export const en: Record<keyof typeof zh, string> = {
|
|
29
|
+
'header.more': 'More actions',
|
|
30
|
+
+ 'header.action': 'Session log',
|
|
31
|
+
'menu.download': 'Download session log',
|
|
32
|
+
'dialog.preparingTitle': 'Exporting Session',
|
|
33
|
+
'dialog.preparingDescription': 'Preparing a ZIP containing this Session, its sub-Sessions, and attachments.',
|