GitCorner

Code

ossartcraftgridcraft🌐
1687a9c05b0c
//! Simplified Chinese translations for the interface strings in i18n.rs.

/// Returns the Chinese translation for `text`, or `None` so callers fall back to English.
pub(super) fn translate(text: &str) -> Option<&'static str> {
    Some(match text {
        "Diagram" => "图示",
        "Decorative Text" => "装饰文字",
        "Paste" => "粘贴",
        "Paste Values" => "粘贴值",
        "Paste Formulas" => "粘贴公式",
        "Paste Formatting" => "粘贴格式",
        "Transpose" => "转置",
        "Paste Link" => "粘贴链接",
        "Paste Special…" => "选择性粘贴…",
        "Insert Copied Cells" => "插入复制的单元格",
        "Insert Copied Cells…" => "插入复制的单元格…",
        "Insert Cut Cells" => "插入剪切的单元格",
        "Insert Paste" => "插入粘贴",
        "Cut" => "剪切",
        "Copy" => "复制",
        "Format Painter (double-click to keep it on)" => "格式刷(双击可持续使用)",
        "Bold" => "粗体",
        "Italic" => "斜体",
        "Double Underline" => "双下划线",
        "Strikethrough" => "删除线",
        "Underline" => "下划线",
        "Increase Font Size" => "增大字号",
        "Decrease Font Size" => "减小字号",
        "Wrap Text" => "自动换行",
        "Merge & Center" => "合并后居中",
        "Merge Cells" => "合并单元格",
        "Merge Across" => "跨行合并",
        "Unmerge Cells" => "取消合并单元格",
        "Fill Color" => "填充颜色",
        "Font Color" => "字体颜色",
        "Borders" => "边框",
        "Top\nAlign" => "顶端对齐",
        "Middle\nAlign" => "垂直居中",
        "Bottom\nAlign" => "底端对齐",
        "Left" => "左对齐",
        "Right" => "右对齐",
        "Center" => "居中",
        "Horizontal" => "水平",
        "Vertical Text" => "竖排文字",
        "Decrease Indent" => "减少缩进",
        "Increase Indent" => "增加缩进",
        "Orientation" => "方向",
        "Angle Counterclockwise" => "逆时针旋转",
        "Angle Clockwise" => "顺时针旋转",
        "Rotate Text Up" => "文字向上旋转",
        "Rotate Text Down" => "文字向下旋转",
        "Accounting Number Format" => "会计数字格式",
        "Percent Style" => "百分比样式",
        "Comma Style" => "千位分隔样式",
        "Increase Decimal" => "增加小数位数",
        "Decrease Decimal" => "减少小数位数",
        "More Accounting Formats…" => "更多会计格式…",
        "Conditional\nFormatting" => "条件\n格式",
        "Conditional Formatting" => "条件格式",
        "Format\nas Table" => "套用表格\n格式",
        "Cell\nStyles" => "单元格\n样式",
        "Format Cells…" => "设置单元格格式…",
        "Format Cell Alignment…" => "设置单元格对齐方式…",
        "Format\nPane" => "格式\n窗格",
        "Format" => "格式",
        "Insert" => "插入",
        "Header Menu|Insert" => "插入",
        "Insert Cells…" => "插入单元格…",
        "Delete" => "删除",
        "Delete Cells…" => "删除单元格…",
        "Insert Sheet Rows" => "插入工作表行",
        "Insert Sheet Columns" => "插入工作表列",
        "Delete Sheet Rows" => "删除工作表行",
        "Delete Sheet Columns" => "删除工作表列",
        "Row Height…" => "行高…",
        "AutoFit Row Height" => "自动调整行高",
        "Column Width…" => "列宽…",
        "AutoFit Column Width" => "自动调整列宽",
        "Default Width…" => "默认列宽…",
        "Hide Rows" => "隐藏行",
        "Unhide Rows" => "取消隐藏行",
        "Hide Columns" => "隐藏列",
        "Unhide Columns" => "取消隐藏列",
        "Lock Cell" => "锁定单元格",
        "Clear" => "清除",
        "Clear All" => "全部清除",
        "Clear Formats" => "清除格式",
        "Clear Contents" => "清除内容",
        "Clear Comments and Notes" => "清除批注和备注",
        "Clear Hyperlinks" => "清除超链接",
        "AutoSum" => "自动求和",
        "Flash\nFill" => "快速\n填充",
        "Flash Fill" => "快速填充",
        "Fill" => "填充",
        "Clear Print Area" => "清除打印区域",
        "Find &\nSelect" => "查找与\n选择",
        "Find…" => "查找…",
        "Replace…" => "替换…",
        "Go To…" => "定位…",
        "Go To Special…" => "定位条件…",
        "PivotTable" => "数据透视表",
        "Recommended\nCharts" => "推荐\n图表",
        "Table" => "表格",
        "Pictures" => "图片",
        "Shapes" => "形状",
        "Icons" => "图标",
        "Text\nBox" => "文本\n框",
        "Comment" => "批注",
        "New\nComment" => "新建\n批注",
        "New Note" => "新建备注",
        "Show/Hide Note" => "显示/隐藏备注",
        "Header &\nFooter" => "页眉和\n页脚",
        "Text to\nColumns" => "分列",
        "Link" => "链接",
        "Symbol" => "符号",
        "Equation" => "公式",
        "Insert New Equation..." => "插入新公式",
        "Sparklines" => "迷你图",
        "Checkbox" => "复选框",
        "Insert checkboxes in the selected cells" => "在所选单元格中插入复选框",
        "Button" => "按钮",
        "Slider" => "滑块",
        "Spin Button" => "数值调节钮",
        "Draw a button that runs a macro or a command" => "绘制运行宏或命令的按钮",
        "Draw a slider that sets a whole number in a linked cell" => "绘制在链接单元格中设置整数的滑块",
        "Draw a spin button that steps a whole number in a linked cell" => "绘制按步长调整链接单元格中整数的数值调节钮",
        "Edit Text" => "编辑文字",
        "Assign Action…" => "指定操作…",
        "Format Control…" => "设置控件格式…",
        "Header & Footer" => "页眉和页脚",
        "Draw with ink" => "墨迹绘制",
        "Eraser" => "橡皮擦",
        "Ink to\nShape" => "墨迹转\n形状",
        "Select\nObjects" => "选择\n对象",
        "Themes" => "主题",
        "Margins" => "页边距",
        "Left Margin" => "左边距",
        "Right Margin" => "右边距",
        "Top Margin" => "上边距",
        "Bottom Margin" => "下边距",
        "Header Margin" => "页眉边距",
        "Footer Margin" => "页脚边距",
        "Size" => "纸张大小",
        "Print\nArea" => "打印\n区域",
        "Set Print Area" => "设置打印区域",
        "Breaks" => "分页符",
        "Insert Page Break" => "插入分页符",
        "Remove Page Break" => "删除分页符",
        "Reset All Page Breaks" => "重置所有分页符",
        "Print\nTitles" => "打印\n标题",
        "Sheet\nRight-to-Left" => "工作表\n从右到左",
        "Sheet Right-to-Left" => "工作表从右到左",
        "Narrow" => "窄",
        "Wide" => "宽",
        "Normal" => "普通",
        "Portrait" => "纵向",
        "Landscape" => "横向",
        "Custom Margins…" => "自定义页边距…",
        "Insert\nFunction" => "插入\n函数",
        "Name\nManager" => "名称\n管理器",
        "Define Name" => "定义名称",
        "Use in Formula" => "在公式中使用",
        "Create from Selection" => "根据所选内容创建",
        "Trace Precedents" => "追踪引用单元格",
        "Trace Dependents" => "追踪从属单元格",
        "Remove Arrows" => "删除箭头",
        "Show Formulas" => "显示公式",
        "Error Checking" => "错误检查",
        "Trace Error" => "追踪错误",
        "Circular References" => "循环引用",
        "Python Mode" => "Python 模式",
        "Evaluate Formula" => "公式求值",
        "Watch Window" => "监视窗口",
        "Calculation\nOptions" => "计算\n选项",
        "Calculate Now" => "立即计算",
        "Calculate Sheet" => "计算工作表",
        "Automatic" => "自动",
        "Automatic Except for Data Tables" => "除数据表以外自动",
        "Manual" => "手动",
        "Sort &\nFilter" => "排序和\n筛选",
        "Sort" => "排序",
        "Sort A to Z" => "升序排序",
        "Sort Z to A" => "降序排序",
        "Custom Sort…" => "自定义排序…",
        "Filter" => "筛选",
        "Reapply" => "重新应用",
        "Get Data\n(Text/CSV)" => "获取数据\n(文本/CSV)",
        "Remove\nDuplicates" => "删除\n重复项",
        "Data\nValidation" => "数据\n验证",
        "Data Validation" => "数据验证",
        "Data Validation…" => "数据验证…",
        "Circle Invalid Data" => "圈出无效数据",
        "Clear Validation" => "清除验证",
        "Group" => "组合",
        "Ungroup" => "取消组合",
        "Show Detail" => "显示明细数据",
        "Hide Detail" => "隐藏明细数据",
        "Subtotal" => "分类汇总",
        "Data\nAnalysis" => "数据分析",
        "Data Analysis" => "数据分析",
        "Solver" => "规划求解",
        "What-If\nAnalysis" => "假设分析",
        "Data Table…" => "数据表…",
        "Scenario Manager…" => "方案管理器…",
        "Goal Seek…" => "单变量求解…",
        "Forecast\nSheet" => "预测工作表",
        "Spelling" => "拼写检查",
        "Check\nAccessibility" => "检查\n辅助功能",
        "Threaded Comments" => "线程式批注",
        "Show\nComments" => "显示\n批注",
        "Previous" => "上一条",
        "Next" => "下一条",
        "Previous Comment" => "上一条批注",
        "Next Comment" => "下一条批注",
        "Show All Notes" => "显示所有备注",
        "Convert to Comments" => "转换为批注",
        "Protect\nWorkbook" => "保护\n工作簿",
        "Allow Edit\nRanges" => "允许编辑\n区域",
        "Allow Edit Ranges" => "允许编辑区域",
        "Unprotect\nSheet" => "撤销\n工作表保护",
        "Protect Sheet…" => "保护工作表…",
        "Unprotect Sheet…" => "撤销工作表保护…",
        "Comments" => "批注",
        "Notes" => "备注",
        "Page Break\nPreview" => "分页符\n预览",
        "Page\nLayout" => "页面\n布局",
        "Formula Bar" => "编辑栏",
        "Name Box" => "名称框",
        "Cell Editor" => "单元格编辑器",
        "Font Size" => "字号",
        "Gridlines" => "网格线",
        "Headings" => "标题",
        "Zoom" => "缩放",
        "Magnification" => "缩放比例",
        "Fit selection" => "恰好容纳选定区域",
        "100%" => "100%",
        "Zoom to\nSelection" => "缩放到\n所选内容",
        "Freeze\nPanes" => "冻结\n窗格",
        "Freeze Panes" => "冻结窗格",
        "Freeze Top Row" => "冻结首行",
        "Freeze First Column" => "冻结首列",
        "Unfreeze Panes" => "取消冻结窗格",
        "Dark Mode" => "深色模式",
        "Interface language" => "界面语言",
        "Interface size" => "界面大小",
        "Auto" => "自动",
        "Drag to freeze columns" => "拖动以冻结列",
        "Drag to freeze rows" => "拖动以冻结行",
        "Command\nPalette" => "命令\n面板",
        "Agent\nControl" => "智能体\n控制",
        "Action\nJournal" => "操作\n日志",
        "About\nGridCraft" => "关于\nGridCraft",
        "Share" => "分享",
        "Add Chart\nElement" => "添加图表\n元素",
        "Change\nChart Type" => "更改\n图表类型",
        "Switch\nRow/Column" => "切换\n行/列",
        "Select\nData" => "选择\n数据",
        "Data Labels: None" => "数据标签:无",
        "Data Labels: Show" => "数据标签:显示",
        "Legend: None" => "图例:无",
        "Legend: Bottom" => "图例:底部",
        "Legend: Top" => "图例:顶部",
        "Legend: Right" => "图例:右侧",
        "First slice angle" => "第一扇区起始角度",
        "Doughnut hole size" => "圆环图内径大小",
        "Gridlines: None" => "网格线:无",
        "Gridlines: Show" => "网格线:显示",
        "Chart\nTitle" => "图表\n标题",
        "Delete\nChart" => "删除\n图表",
        "Convert\nto Range" => "转换\n为区域",
        "Table\nStyles" => "表格\n样式",
        "Top 10 Items" => "前 10 项",
        "Top 10%" => "前 10%",
        "Bottom 10 Items" => "后 10 项",
        "Bottom 10%" => "后 10%",
        "Above Average" => "高于平均值",
        "Below Average" => "低于平均值",
        "Clear Rules from Entire Sheet" => "清除整张工作表的规则",
        "Clear Rules from Selected Cells" => "清除所选单元格的规则",
        "Constants" => "常量",
        "Data Bars" => "数据条",
        "Color Scales" => "色阶",
        "Icon Sets" => "图标集",
        "Home" => "开始",
        "Draw" => "绘图",
        "Page Layout" => "页面布局",
        "Formulas" => "公式",
        "Data" => "数据",
        "Review" => "审阅",
        "View" => "视图",
        "Automate" => "自动化",
        "Table Design" => "表格设计",
        "Chart Design" => "图表设计",
        "Ready" => "就绪",
        "Enter" => "输入",
        "Edit" => "编辑",
        "Point" => "指向",
        "Calculate" => "计算",
        "Select destination and press Enter or choose Paste" => "选择目标位置并按 Enter,或选择“粘贴”",
        "General" => "常规",
        "Number" => "数值",
        "Currency" => "货币",
        "Accounting" => "会计专用",
        "Date" => "日期",
        "Time" => "时间",
        "Percentage" => "百分比",
        "Fraction" => "分数",
        "Scientific" => "科学记数法",
        "Text" => "文本",
        "Special" => "特殊",
        "Custom" => "自定义",
        "Short Date" => "短日期",
        "Long Date" => "长日期",
        "More Number Formats…" => "更多数字格式…",
        "Financial" => "财务",
        "Recently Used" => "最近使用的函数",
        "Logical" => "逻辑",
        "Date & Time" => "日期和时间",
        "Lookup & Reference" => "查找和引用",
        "Math & Trig" => "数学和三角函数",
        "More Functions" => "更多函数",
        "Page Layout|Orientation" => "纸张方向",
        "Display theme" => "显示主题",
        "Animations" => "动画",
        "Glide the selection outline to the cell you move to instead of jumping there" => "选择框平滑滑动到新的单元格,而不是直接跳过去",
        "System" => "系统",
        "Light" => "浅色",
        "Dark" => "深色",
        "Sheet Options|View" => "屏幕",
        "Print" => "打印",
        "Print What" => "打印内容",
        // Page Layout view and the Header & Footer tab.
        "Click to add data" => "单击可添加数据",
        "Add header" => "添加页眉",
        "Add footer" => "添加页脚",
        "(none)" => "(无)",
        "Header" => "页眉",
        "Footer" => "页脚",
        "Page\nNumber" => "页码",
        "Number\nof Pages" => "页数",
        "Current\nDate" => "当前\n日期",
        "Current\nTime" => "当前\n时间",
        "File\nPath" => "文件\n路径",
        "File\nName" => "文件名",
        "Sheet\nName" => "工作表名",
        "Go to\nHeader" => "转至\n页眉",
        "Go to\nFooter" => "转至\n页脚",
        "Page Number" => "页码",
        "Number of Pages" => "页数",
        "Current Date" => "当前日期",
        "Current Time" => "当前时间",
        "File Path" => "文件路径",
        "File Name" => "文件名",
        "Sheet Name" => "工作表名",
        "Go to Header" => "转至页眉",
        "Different First Page" => "首页不同",
        "Different Odd & Even Pages" => "奇偶页不同",
        "Scale with Document" => "随文档缩放",
        "Align with Page Margins" => "与页边距对齐",
        "Go to Footer" => "转至页脚",
        "Ruler" => "标尺",
        // File › Backstage view.
        "File" => "文件",
        "Back" => "返回",
        "New" => "新建",
        "Open" => "打开",
        "Info" => "信息",
        "Save" => "保存",
        "Save As" => "另存为",
        "Export" => "导出",
        "Minimize" => "最小化",
        "Maximize" => "最大化",
        "Restore Down" => "向下还原",
        "Close" => "关闭",
        "Options" => "选项",
        "Account" => "账户",
        "Product Information" => "产品信息",
        "About GridCraft" => "关于 GridCraft",
        "Version" => "版本",
        "Platform" => "平台",
        "Licence" => "许可证",
        "Version, contributors and the AI models that helped" => "版本、贡献者以及参与协助的 AI 模型",
        "Blank workbook" => "空白工作簿",
        "Recent" => "最近",
        "No recent workbooks yet." => "还没有最近使用的工作簿。",
        "More workbooks" => "更多工作簿",
        "Modified" => "修改时间",
        "Not available" => "不可用",
        "Just now" => "刚刚",
        "Yesterday" => "昨天",
        "{n} min ago" => "{n} 分钟前",
        "{n} h ago" => "{n} 小时前",
        "{n} days ago" => "{n} 天前",
        "{n} weeks ago" => "{n} 周前",
        "{n} months ago" => "{n} 个月前",
        "{n} years ago" => "{n} 年前",
        "Browse…" => "浏览…",
        "Not saved yet" => "尚未保存",
        "Location" => "位置",
        "Sheets" => "工作表",
        "Protect Workbook" => "保护工作簿",
        "Sheet structure is locked: sheets can't be added, moved, renamed or deleted." => "工作表结构已锁定:无法添加、移动、重命名或删除工作表。",
        "Lock the sheet structure so sheets can't be added, moved, renamed or deleted." => "锁定工作表结构,使工作表无法被添加、移动、重命名或删除。",
        "Properties" => "属性",
        "Title" => "标题",
        "Subject" => "主题",
        "Author" => "作者",
        "Company" => "公司",
        "Keywords" => "关键词",
        "Description" => "说明",
        "No workbook is open." => "没有打开的工作簿。",
        "Save as type" => "保存类型",
        "Excel Workbook (*.xlsx)" => "Excel 工作簿 (*.xlsx)",
        "CSV UTF-8 (Comma delimited) (*.csv)" => "CSV UTF-8(逗号分隔) (*.csv)",
        "Web Page (*.html)" => "网页 (*.html)",
        "PDF (*.pdf)" => "PDF 文件 (*.pdf)",
        "Download" => "下载",
        "A CSV file, web page or PDF is a copy: the workbook keeps its own file." => "CSV 文件、网页或 PDF 只是副本:工作簿仍保留其原文件。",
        "Save the workbook under another name or in another folder." => "以其他名称或在其他文件夹中保存工作簿。",
        "Print Active Sheets" => "打印活动工作表",
        "Print Entire Workbook" => "打印整个工作簿",
        "Fit Sheet on One Page" => "将工作表调整为一页",
        "Page Setup…" => "页面设置…",
        "Page {page} of {pages}" => "第 {page} 页,共 {pages} 页",
        "Nothing to print." => "没有可打印的内容。",
        "Previous page" => "上一页",
        "Next page" => "下一页",
        "Create PDF" => "创建 PDF",
        "Save the sheet as a PDF document that keeps its page layout." => "将工作表另存为保留页面布局的 PDF 文档。",
        "Change File Type" => "更改文件类型",
        "CSV (Comma delimited)" => "CSV (逗号分隔)",
        "Save the active sheet as comma-separated text." => "将活动工作表另存为逗号分隔的文本。",
        "Web Page (.html)" => "网页 (.html)",
        "Save the workbook as a web page." => "将工作簿另存为网页。",
        "Options|General" => "常规",
        "Options|Save" => "保存",
        "Show formula bar" => "显示编辑栏",
        "Highlight the active cell's row" => "突出显示活动单元格所在行",
        "Display options for this workbook" => "此工作簿的显示选项",
        "Show horizontal scroll bar" => "显示水平滚动条",
        "Show vertical scroll bar" => "显示垂直滚动条",
        "Show sheet tabs" => "显示工作表标签",
        "Edit Hyperlink…" => "编辑超链接…",
        "Edit Hyperlink" => "编辑超链接",
        "Open Hyperlink" => "打开超链接",
        "Remove Hyperlink" => "删除超链接",
        "Resize formula bar" => "调整编辑栏大小",
        "Enable AutoComplete for cell values" => "为单元格值启用记忆式键入",
        "Save .xlsx workbooks automatically after every change" => "每次更改后自动保存 .xlsx 工作簿",
        "Workbook calculation" => "工作簿计算",
        "Enable iterative calculation" => "启用迭代计算",
        "Maximum Iterations:" => "最多迭代次数:",
        "Maximum Change:" => "最大误差:",
        "Maximum Iterations must be a whole number from 1 to 32767." => "最多迭代次数必须是 1 到 32767 之间的整数。",
        "Maximum Change must be a number of 0 or more." => "最大误差必须是大于或等于 0 的数字。",
        "Calculation settings are saved with the workbook." => "计算设置随工作簿一起保存。",
        "Insert Sheet" => "插入工作表",
        "Rename" => "重命名",
        "Move or Copy…" => "移动或复制…",
        "Duplicate" => "复制",
        "Tab Color" => "标签颜色",
        "No Color" => "无颜色",
        "Hide" => "隐藏",
        "Unhide…" => "取消隐藏…",
        "Select All Sheets" => "选择所有工作表",
        "AutoSave" => "自动保存",
        "AutoSave: save after every change (workbooks saved to a file)" => "自动保存:每次更改后保存(已保存到文件的工作簿)",
        "Previous sheet" => "上一个工作表",
        "Next sheet" => "下一个工作表",
        "All sheets" => "所有工作表",
        "New sheet (⇧F11)" => "新建工作表 (⇧F11)",
        "Text Box" => "文本框",
        "Macros" => "宏",
        "Record Macro" => "录制宏",
        "Stop Recording" => "停止录制",
        "Use Relative References" => "使用相对引用",
        "Run\nMacro" => "运行宏",
        "Macros…" => "宏…",
        "Recording" => "正在录制",
        "Stop" => "停止",
        "New Macro" => "新建宏",
        "Show" => "显示",
        "Collapse dialog" => "折叠对话框",
        "Expand dialog" => "展开对话框",
        "My list has headers" => "数据包含标题",
        "Sort by" => "主要关键字",
        "Then by" => "次要关键字",
        "Cell Values" => "单元格值",
        "Cell Color" => "单元格颜色",
        "A to Z" => "A 到 Z",
        "Z to A" => "Z 到 A",
        "Add Level" => "添加条件",
        "Delete Level" => "删除条件",
        "Copy Level" => "复制条件",
        "Move Up" => "上移",
        "Move Down" => "下移",
        "Order" => "次序",
        "Sort On" => "排序依据",
        "Sort|Column" => "列",
        "Column {letters}" => "列 {letters}",
        "Smallest to Largest" => "从小到大",
        "Largest to Smallest" => "从大到小",
        "Close the Sort dialog before switching or changing worksheets." => "切换或更改工作表之前,请先关闭“排序”对话框。",
        "Return to the original worksheet to sort, or cancel." => "请返回原工作表后再排序,或取消。",
        "Numerical Count" => "数值计数",
        "Minimum" => "最小值",
        "Maximum" => "最大值",
        "Circular References: {cell}" => "循环引用: {cell}",
        "Width: {chars} ({pixels} pixels)" => "宽度: {chars} ({pixels} 像素)",
        "Height: {points} ({pixels} pixels)" => "高度: {points} ({pixels} 像素)",
        "Picture in cell" => "单元格中的图片",
        "Picture: {alt}" => "图片: {alt}",
        "Format Control: {name}" => "设置控件格式: {name}",
        "Error at character {position}: {message}" => "第 {position} 个字符处出错: {message}",
        "Macro definitions are not supported in equations." => "公式中不支持宏定义。",
        "A % can't be combined with a link in an equation." => "公式中的 % 不能与链接同时使用。",
        "Equations can nest at most 32 levels deep." => "公式最多只能嵌套 32 层。",
        "An equation can be at most 4096 bytes long." => "公式最长为 4096 字节。",
        "An equation can have at most 2500 matrix cells (rows times the widest row)." => "公式最多只能有 2500 个矩阵单元格(行数乘以最宽的行)。",
        "This equation is too large to draw." => "此公式太大,无法绘制。",
        "This equation could not be laid out." => "无法排版此公式。",
        "Saved macro “{name}” ({steps} step)" => "已保存宏“{name}”({steps} 步)",
        "Saved macro “{name}” ({steps} steps)" => "已保存宏“{name}”({steps} 步)",
        "without {key}: another macro took it while recording" => "未使用 {key}: 录制时已被另一个宏占用",
        "Recording stopped" => "已停止录制",
        "Macro “{name}” stopped: {message}" => "宏“{name}”已停止: {message}",
        "Ran macro “{name}” ({steps} step)" => "已运行宏“{name}”({steps} 步)",
        "Ran macro “{name}” ({steps} steps)" => "已运行宏“{name}”({steps} 步)",
        "Average" => "平均值",
        "Count" => "计数",
        "Sum" => "求和",
        "Goal Seeking found a solution: {value}" => "单变量求解找到一个解: {value}",
        "Sheets: {sheets}" => "工作表: {sheets}",
        "Hidden: {sheets}" => "隐藏: {sheets}",
        "Double superscript" => "上标重复",
        "Double subscript" => "下标重复",
        "Extra }" => "多余的 }",
        "Unexpected end of input in a macro argument" => "宏参数中输入意外结束",
        "Expected \\right after \\left" => "\\left 之后应有 \\right",
        "\\middle must be within \\left and \\right" => "\\middle 必须位于 \\left 和 \\right 之间",
        "Invalid environment name" => "环境名称无效",
        "Expected \\end after environment body" => "环境主体之后应有 \\end",
        "Expected URL" => "应为 URL",
        "\\tag requires an argument" => "\\tag 需要一个参数",
        "only one infix operator per group" => "每个组只能有一个中缀运算符",
        "Expected color token" => "应为颜色",
        "Expected size for \\raisebox" => "\\raisebox 需要尺寸",
        "Expected size for \\rule width" => "\\rule 的宽度需要尺寸",
        "Expected size for \\rule height" => "\\rule 的高度需要尺寸",
        "Cannot use both \\tag and \\nonumber in the same row" => "同一行中不能同时使用 \\tag 和 \\nonumber",
        "Multiple \\tag in a row" => "一行中有多个 \\tag",
        "\\tag must appear at the end of the row after the equation body" => "\\tag 必须位于行尾、公式主体之后",
        "Multiple \\nonumber in a row" => "一行中有多个 \\nonumber",
        "\\nonumber must appear at the end of the row" => "\\nonumber 必须位于行尾",
        "Too many tab characters: &" => "制表符过多: &",
        "Invalid column alignment for array" => "array 的列对齐方式无效",
        "Expected column alignment character" => "应为列对齐字符",
        "Expected l or c or r" => "应为 l、c 或 r",
        "Expected ]" => "应为 ]",
        "Unexpected end of CD row after @" => "CD 行在 @ 之后意外结束",
        "Invalid column alignment for subarray" => "subarray 的列对齐方式无效",
        "{subarray} can contain only one column" => "{subarray} 只能包含一列",
        "prooftree has a \\LeftLabel or \\RightLabel without a following inference command" => {
            "prooftree 中的 \\LeftLabel 或 \\RightLabel 之后没有推理命令"
        }
        "Recursion limit exceeded" => "超出递归限制",
        "Too many expansions: infinite loop or need to increase maxExpand setting" => "宏展开次数过多: 无限循环或 maxExpand 设置过小",
        "Expected raw style for \\htmlStyle" => "\\htmlStyle 需要原始样式",
        "\\verb assertion failed" => "\\verb 检查失败",
        "Undefined control sequence: {name}" => "未定义的控制序列: {name}",
        "Expected '{expected}', got '{got}'" => "应为 '{expected}',实际为 '{got}'",
        "Expected group after '{symbol}'" => "'{symbol}' 之后应有组",
        "Expected delimiter as argument to '{function}'" => "'{function}' 的参数应为分隔符",
        "Expected group as argument to '{function}'" => "'{function}' 的参数应为组",
        "Got function '{function}' with no arguments as superscript" => "无参数的函数 '{function}' 被用作上标",
        "Got function '{function}' with no arguments as subscript" => "无参数的函数 '{function}' 被用作下标",
        "Got function '{function}' with no arguments as argument to '{parent}'" => "无参数的函数 '{function}' 被用作 '{parent}' 的参数",
        "Got function '{function}' with no arguments as \\tag" => "无参数的函数 '{function}' 被用作 \\tag",
        "Can't use function '{function}' in text mode" => "函数 '{function}' 不能在文本模式中使用",
        "Can't use function '{function}' in math mode" => "函数 '{function}' 不能在数学模式中使用",
        "Invalid color: '{color}'" => "颜色无效: '{color}'",
        "Invalid size: '{size}'" => "尺寸无效: '{size}'",
        "Invalid unit: '{unit}'" => "单位无效: '{unit}'",
        "Invalid delimiter '{delimiter}' after '{function}'" => "'{function}' 之后的分隔符 '{delimiter}' 无效",
        "Invalid delimiter type '{type}' after '{function}'" => "'{function}' 之后的分隔符类型 '{type}' 无效",
        "Invalid delimiter type '{type}'" => "分隔符类型 '{type}' 无效",
        "No such environment: {name}" => "未知环境: {name}",
        "Expected argument to \\begin{{name}}" => "\\begin{{name}} 需要参数",
        "Mismatch: \\begin{{begin}} matched by \\end{{end}}" => "不匹配: \\begin{{begin}} 由 \\end{{end}} 结束",
        "{command} valid only within array environment" => "{command} 仅在 array 环境中有效",
        "Mismatched {command}" => "{command} 没有配对",
        "Expected & or \\\\ or \\cr or \\end, got '{got}'" => "应为 &、\\\\、\\cr 或 \\end,实际为 '{got}'",
        "Unknown column alignment: {alignment}" => "未知的列对齐方式: {alignment}",
        "Too many math in a row: expected {expected}, but got {got}" => "一行中的公式过多: 应为 {expected} 个,实际为 {got} 个",
        "Unknown CD directive: @{directive}" => "未知的 CD 指令: @{directive}",
        "Expected argument for {command}" => "{command} 需要参数",
        "{command} needs {count} premise(s), but only {available} available" => "{command} 需要 {count} 个前提,但只有 {available} 个",
        "{command} valid only as a supported bussproofs command within prooftree" => "{command} 在 prooftree 中只能作为受支持的 bussproofs 命令使用",
        "prooftree ended with {count} proof stack item(s), expected 1" => "prooftree 结束时证明栈中有 {count} 项,应为 1 项",
        "\\@char has non-numeric argument {argument}" => "\\@char 的参数 {argument} 不是数字",
        "\\@char with invalid code point {code}" => "\\@char 的码位 {code} 无效",
        "Invalid environment name character: {character}" => "环境名称中有无效字符: {character}",
        _ => return None,
    })
}