transproof-dsh-plugin 0.1.15 → 0.1.16
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/app/index.html +2 -0
- package/app/js/01-core.js +1 -1
- package/app/js/03-translate.js +10 -0
- package/app/js/07-run-features.js +10 -0
- package/package.json +1 -1
package/app/index.html
CHANGED
|
@@ -1728,6 +1728,7 @@ Entfremdung | 异化 | 马克思;与 Verfremdung「间离」区分"></textarea
|
|
|
1728
1728
|
<tr><td><b>📝 豁免登记(v4.52 新)</b></td><td>术语/专名/批注三处可登记「有意不一致」+ 理由,体检不再报;疑问清单与交付报告里可看到豁免清单</td></tr>
|
|
1729
1729
|
<tr><td><b>🧹 规则预筛(v4.53 新)</b></td><td>体检中心新增本地正则预筛:连续感叹/问号、数字与单位粘连(如 3kg→3 kg),零 token</td></tr>
|
|
1730
1730
|
<tr><td><b>📊 分层审校(v4.54 新)</b></td><td>按逐句评分结果分红/黄/绿三档,低把握句一键加入疑问清单导出问作者(复用评分数据,零 token)</td></tr>
|
|
1731
|
+
<tr><td><b>🎛 风格简报入提示词(v4.55 新)</b></td><td>按你选的「体裁调性」,翻译与校对提示词自动带一份 5 条检查清单(本地零 token)</td></tr>
|
|
1731
1732
|
</tbody>
|
|
1732
1733
|
</table>
|
|
1733
1734
|
<div class="alert i" style="margin-top:12px">
|
|
@@ -1885,6 +1886,7 @@ Entfremdung | 异化 | 马克思;与 Verfremdung「间离」区分"></textarea
|
|
|
1885
1886
|
<tr><td><b>近期</b></td><td><b>豁免登记</b>:有意不一致写理由,体检跳过,导出可见</td><td>✅ 已上线(v4.52.0)</td></tr>
|
|
1886
1887
|
<tr><td><b>近期</b></td><td><b>规则预筛</b>:连续标点、数字单位粘连本地正则预筛</td><td>✅ 已上线(v4.53.0)</td></tr>
|
|
1887
1888
|
<tr><td><b>近期</b></td><td><b>分层审校</b>:评分结果分档、低把握优先人工、一键入疑问清单</td><td>✅ 已上线(v4.54.0)</td></tr>
|
|
1889
|
+
<tr><td><b>近期</b></td><td><b>风格简报入提示词</b>:体裁调性清单随翻译/校对提示词下发</td><td>✅ 已上线(v4.55.0)</td></tr>
|
|
1888
1890
|
<tr><td><b>云端版</b></td><td><b>改动留痕、可回溯</b>:每次重要校对留下不可篡改的备份点,谁改了什么、当时发生了什么都能查,不再靠猜</td><td>规划中</td></tr>
|
|
1889
1891
|
</tbody>
|
|
1890
1892
|
</table>
|
package/app/js/01-core.js
CHANGED
package/app/js/03-translate.js
CHANGED
|
@@ -130,6 +130,16 @@ function buildTransSystem(){
|
|
|
130
130
|
L.push('');
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
+
// T-020:风格简报(翻译提示词同样带一份)
|
|
134
|
+
if(typeof toneBriefFor === 'function'){
|
|
135
|
+
const _tb2 = toneBriefFor((($('#tone') || {}).value) || '专业可读');
|
|
136
|
+
if(_tb2 && _tb2.length){
|
|
137
|
+
L.push('【风格简报 · 体裁调性:' + ((($('#tone') || {}).value) || '专业可读') + '】');
|
|
138
|
+
_tb2.forEach(x => L.push('· ' + x));
|
|
139
|
+
L.push('');
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
133
143
|
// 译注
|
|
134
144
|
if($('#ts-notes').value === 'on'){
|
|
135
145
|
L.push('【译注要求】');
|
|
@@ -78,6 +78,16 @@ function buildSystem(){
|
|
|
78
78
|
PREFS.split(/[;;\n]/).map(s => s.trim()).filter(Boolean).forEach(s => L.push('· ' + s));
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
+
// T-020:风格简报(按体裁调性给一份可执行清单,随提示词下发)
|
|
82
|
+
if(typeof toneBriefFor === 'function'){
|
|
83
|
+
const _tb = toneBriefFor(V.tone || '专业可读');
|
|
84
|
+
if(_tb && _tb.length){
|
|
85
|
+
L.push('');
|
|
86
|
+
L.push('【风格简报 · 体裁调性:' + (V.tone || '专业可读') + '】以下清单照着走:');
|
|
87
|
+
_tb.forEach(x => L.push('· ' + x));
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
81
91
|
// T-029:外部规范包(最低优先级,冲突以内置为准)
|
|
82
92
|
const _specBlock = (typeof specBlockForSystem === 'function') ? specBlockForSystem() : '';
|
|
83
93
|
if(_specBlock){
|
package/package.json
CHANGED