Skip to content

Commit eadbd9b

Browse files
committed
修复本地化文件中的格式错误,移除重复的CSS加载错误信息,统一中英文错误提示格式
1 parent aace41c commit eadbd9b

3 files changed

Lines changed: 7 additions & 14 deletions

File tree

l10n/bundle.l10n.zh-cn.json

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,5 @@
1616
"Mermaid rendering error:": "Mermaid 渲染错误:",
1717
"Error occurred while processing Mermaid:": "处理 Mermaid 时发生错误:",
1818
"Failed to load CSS from URL: {0}": "从 URL 加载 CSS 文件失败: {0}",
19-
"Failed to load CSS file: {0}, error: {1}": "加载 CSS 文件失败: {0}, 错误: {1}",
20-
"%config.export.header%": "导出 HTML/PDF 的页眉内容",
21-
"%config.export.footer%": "导出 HTML/PDF 的页脚内容",
22-
"%config.export.html%": "导出为 HTML 格式",
23-
"%config.export.size%": "PDF 页面大小",
24-
"%config.export.margin.top%": "PDF 页面上边距",
25-
"%config.export.margin.right%": "PDF 页面右边距",
26-
"%config.export.margin.bottom%": "PDF 页面下边距",
27-
"%config.export.margin.left%": "PDF 页面左边距",
28-
"%config.export.autoRotate%": "启用图片自动旋转"
19+
"Failed to load CSS file: {0}, error: {1}": "加载 CSS 文件失败: {0}, 错误: {1}"
2920
}

package.nls.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@
77
"config.export.size": "Export PDF paper size",
88
"config.export.margin.top": "Export PDF margins top (default: 20mm)",
99
"config.export.margin.right": "Export PDF margins right (default: 5mm)",
10-
"config.export.margin.bottom": "Export PDF margins bottom (default: 10mm))",
10+
"config.export.margin.bottom": "Export PDF margins bottom (default: 10mm)",
1111
"config.export.margin.left": "Export PDF margins left (default: 5mm)",
1212
"config.export.html": "Export allow Html tags",
13+
"config.export.autoRotate": "Enable image auto-rotate",
1314
"snippet.fenceStart": "Create a fence block container",
1415
"snippet.fence": "Add a split point in fence block",
15-
"error.unclosedFence":"存在未闭合的 fence 块 (开始标记: ${startMarkers.length}, 结束标记: ${endMarkers.length})"
16+
"error.unclosedFence": "Unclosed fence block detected (start markers: ${startMarkers.length}, end markers: ${endMarkers.length})"
1617
}

package.nls.zh-cn.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@
77
"config.export.size": "导出 PDF 纸张大小",
88
"config.export.margin.top": "导出 PDF 边距顶部 (默认: 20mm)",
99
"config.export.margin.right": "导出 PDF 边距右侧 (默认: 5mm)",
10-
"config.export.margin.bottom": "导出 PDF 边距底部 (默认: 10mm))",
10+
"config.export.margin.bottom": "导出 PDF 边距底部 (默认: 10mm)",
1111
"config.export.margin.left": "导出 PDF 边距左侧 (默认: 5mm)",
1212
"config.export.html": "导出允许 Html 标签",
13+
"config.export.autoRotate": "启用图片自动旋转",
1314
"snippet.fenceStart": "创建 fence 块容器",
1415
"snippet.fence": "在 fence 块中添加分割点",
15-
"error.unclosedFence": "存在未闭合的 fence 块 (开始标记: ${startMarkers.length}, 结束标记: ${endMarkers.length})"
16+
"error.unclosedFence": "检测到未闭合的 fence 块 (开始标记: ${startMarkers.length}, 结束标记: ${endMarkers.length})"
1617
}

0 commit comments

Comments
 (0)