ElyDoc, ElyTable, ElyShow (LibreOfficeKit), ElyPDF (MuPDF), ElyTree (Git), ElyMark (Milkdown and CodeMirror in CEF). ElyMail and ElyAgent follow.
141 lines
6.0 KiB
Rust
141 lines
6.0 KiB
Rust
//! ElyTable's formula, calculation and name messages.
|
||
|
||
pub(super) const EN: &[(&str, &str)] = &[
|
||
("menu.formula", "Formula"),
|
||
("table.calc.auto", "Automatic Calculation"),
|
||
("table.calc.now", "Recalculate"),
|
||
("table.calc.all", "Recalculate All"),
|
||
("table.calc.manual", "Manual calculation"),
|
||
("table.names.define", "Define Name…"),
|
||
("table.names.manage", "Names…"),
|
||
("table.names.define_title", "Define Name"),
|
||
("table.names.manage_title", "Names"),
|
||
("table.names.name", "Name"),
|
||
("table.names.refers", "Refers to"),
|
||
("table.names.scope", "Scope"),
|
||
("table.names.workbook", "Workbook"),
|
||
("table.names.go_define", "Define"),
|
||
("table.names.apply", "Apply"),
|
||
("table.names.goto", "Go To"),
|
||
("table.names.remove", "Delete"),
|
||
("table.names.entry", "{name} ({scope}) {formula}"),
|
||
(
|
||
"table.names.entry_broken",
|
||
"{name} ({scope}) {formula} Invalid reference",
|
||
),
|
||
("table.names.none", "This workbook has no names."),
|
||
(
|
||
"table.names.unresolved",
|
||
"Several ranges are selected; type what the name refers to.",
|
||
),
|
||
(
|
||
"table.names.taken",
|
||
"{name} already names a range in this scope.",
|
||
),
|
||
(
|
||
"table.names.address",
|
||
"A name cannot read as a cell address.",
|
||
),
|
||
(
|
||
"table.names.characters",
|
||
"A name starts with a letter or underscore and has no spaces or symbols.",
|
||
),
|
||
("table.trace.error", "Trace Error"),
|
||
("table.trace.precedents", "Trace Precedents"),
|
||
("table.trace.dependents", "Trace Dependents"),
|
||
("table.trace.clear", "Remove Arrows"),
|
||
("table.error.div_zero", "Error: division by zero"),
|
||
("table.error.no_value", "Error: wrong type of value"),
|
||
("table.error.no_ref", "Error: invalid reference"),
|
||
("table.error.no_name", "Error: unknown name"),
|
||
("table.error.number", "Error: invalid number"),
|
||
("table.error.not_available", "Error: value not available"),
|
||
("table.error.no_addin", "Error: add-in not found"),
|
||
("table.error.no_macro", "Error: macro not found"),
|
||
("table.error.syntax", "Error: unreadable formula"),
|
||
("table.error.no_code", "Error: no intersection"),
|
||
("table.error.argument", "Error: invalid argument"),
|
||
("table.error.parameters", "Error: wrong arguments"),
|
||
("table.error.character", "Error: invalid character"),
|
||
("table.error.brackets", "Error: unmatched brackets"),
|
||
("table.error.operator", "Error: missing operator"),
|
||
("table.error.variable", "Error: missing operand"),
|
||
("table.error.formula_overflow", "Error: formula too long"),
|
||
("table.error.string_overflow", "Error: text too long"),
|
||
("table.error.internal_overflow", "Error: formula too deep"),
|
||
("table.error.array_size", "Error: array size"),
|
||
("table.error.circular", "Error: circular reference"),
|
||
("table.error.converge", "Error: iteration does not converge"),
|
||
("table.error.nested_array", "Error: nested arrays"),
|
||
(
|
||
"table.error.array_content",
|
||
"Error: unsupported array content",
|
||
),
|
||
("table.error.external", "Error: external content disabled"),
|
||
];
|
||
|
||
pub(super) const ZH_CN: &[(&str, &str)] = &[
|
||
("menu.formula", "公式"),
|
||
("table.calc.auto", "自动计算"),
|
||
("table.calc.now", "重新计算"),
|
||
("table.calc.all", "全部重新计算"),
|
||
("table.calc.manual", "手动计算"),
|
||
("table.names.define", "定义名称…"),
|
||
("table.names.manage", "名称…"),
|
||
("table.names.define_title", "定义名称"),
|
||
("table.names.manage_title", "名称"),
|
||
("table.names.name", "名称"),
|
||
("table.names.refers", "引用位置"),
|
||
("table.names.scope", "范围"),
|
||
("table.names.workbook", "工作簿"),
|
||
("table.names.go_define", "定义"),
|
||
("table.names.apply", "应用"),
|
||
("table.names.goto", "转到"),
|
||
("table.names.remove", "删除"),
|
||
("table.names.entry", "{name}({scope}) {formula}"),
|
||
(
|
||
"table.names.entry_broken",
|
||
"{name}({scope}) {formula} 引用无效",
|
||
),
|
||
("table.names.none", "此工作簿没有名称。"),
|
||
(
|
||
"table.names.unresolved",
|
||
"选中了多个区域,请填写名称的引用位置。",
|
||
),
|
||
("table.names.taken", "此范围内已有名称 {name}。"),
|
||
("table.names.address", "名称不能读作单元格地址。"),
|
||
(
|
||
"table.names.characters",
|
||
"名称以字母或下划线开头,不含空格或符号。",
|
||
),
|
||
("table.trace.error", "追踪错误"),
|
||
("table.trace.precedents", "追踪引用单元格"),
|
||
("table.trace.dependents", "追踪从属单元格"),
|
||
("table.trace.clear", "移去箭头"),
|
||
("table.error.div_zero", "错误:除以零"),
|
||
("table.error.no_value", "错误:值的类型不对"),
|
||
("table.error.no_ref", "错误:引用无效"),
|
||
("table.error.no_name", "错误:名称未知"),
|
||
("table.error.number", "错误:数值无效"),
|
||
("table.error.not_available", "错误:值不可用"),
|
||
("table.error.no_addin", "错误:找不到加载项"),
|
||
("table.error.no_macro", "错误:找不到宏"),
|
||
("table.error.syntax", "错误:公式无法读取"),
|
||
("table.error.no_code", "错误:无交集"),
|
||
("table.error.argument", "错误:参数无效"),
|
||
("table.error.parameters", "错误:参数不对"),
|
||
("table.error.character", "错误:字符无效"),
|
||
("table.error.brackets", "错误:括号不成对"),
|
||
("table.error.operator", "错误:缺少运算符"),
|
||
("table.error.variable", "错误:缺少运算数"),
|
||
("table.error.formula_overflow", "错误:公式过长"),
|
||
("table.error.string_overflow", "错误:文本过长"),
|
||
("table.error.internal_overflow", "错误:公式嵌套过深"),
|
||
("table.error.array_size", "错误:数组大小"),
|
||
("table.error.circular", "错误:循环引用"),
|
||
("table.error.converge", "错误:迭代不收敛"),
|
||
("table.error.nested_array", "错误:嵌套数组"),
|
||
("table.error.array_content", "错误:不支持的数组内容"),
|
||
("table.error.external", "错误:外部内容已停用"),
|
||
];
|