Files
ElyOffice/crates/ely-ui/src/i18n/data.rs
T

322 lines
13 KiB
Rust

//! ElyTable's format, data and rule messages.
pub(super) const EN: &[(&str, &str)] = &[
("menu.data", "Data"),
("menu.format", "Format"),
("table.format.panel", "Format Panel"),
("table.format.number", "Number"),
("table.format.kind", "Format"),
("table.format.code", "Code"),
("table.format.general", "General"),
("table.format.decimal", "Number"),
("table.format.currency", "Currency"),
("table.format.percent", "Percent"),
("table.format.date", "Date"),
("table.format.custom", "Custom"),
("table.format.invalid", "\"{code}\" is not a format code."),
("table.format.alignment", "Alignment"),
("table.format.across", "Horizontal"),
("table.format.down", "Vertical"),
("table.format.text", "Text"),
("table.format.left", "Left"),
("table.format.center", "Center"),
("table.format.right", "Right"),
("table.format.justify", "Justify"),
("table.format.top", "Top"),
("table.format.middle", "Middle"),
("table.format.bottom", "Bottom"),
("table.format.wrap", "Wrap"),
("table.format.cell", "Cell"),
("table.format.borders", "Borders"),
("table.format.borders_all", "All"),
("table.format.borders_outer", "Outside"),
("table.format.borders_none", "None"),
("table.format.fill", "Fill"),
("table.format.no_fill", "No Fill"),
("table.data.sort", "Sort…"),
("table.data.autofilter", "AutoFilter"),
("table.data.filter", "Filter…"),
("table.data.unfilter", "Clear Filter"),
("table.data.dedupe", "Remove Duplicates…"),
("table.data.columns", "Text to Columns…"),
("table.data.paste_values", "Paste Values"),
("table.data.paste_formulas", "Paste Formulas"),
(
"table.data.paste_foreign",
"Paste Values and Paste Formulas take cells copied in this workbook. Use Paste for other content.",
),
(
"table.data.clipboard",
"The clipboard is unreadable: {error}",
),
("table.data.header", "First row is headers"),
("table.data.empty", "The selection holds no data."),
("table.data.one_range", "Select one range."),
("table.data.three", "Sorting takes three keys at most."),
("table.data.sort_title", "Sort"),
("table.data.sort_go", "Sort"),
("table.data.filter_title", "Filter"),
("table.data.filter_go", "Filter"),
("table.data.dedupe_title", "Remove Duplicates"),
(
"table.data.dedupe_detail",
"Rows in {range} that repeat an earlier row are removed.",
),
("table.data.dedupe_go", "Remove"),
("table.columns.title", "Text to Columns"),
("table.columns.tab", "Tab"),
("table.columns.comma", "Comma"),
("table.columns.semicolon", "Semicolon"),
("table.columns.space", "Space"),
("table.columns.other", "Other"),
("table.columns.go", "Split"),
("table.columns.same", "Select cells in one column."),
("table.filter.title", "Column {column}"),
("table.filter.up", "Sort A to Z"),
("table.filter.down", "Sort Z to A"),
("table.filter.all", "All"),
("table.filter.empty", "(Empty)"),
("table.filter.go", "Filter"),
("table.rules.validation", "Validation…"),
("table.rules.unvalidate", "Clear Validation"),
("table.rules.validation_title", "Validation"),
("table.rules.allow", "Allow"),
("table.rules.any", "Any value"),
("table.rules.whole", "Whole number"),
("table.rules.decimal", "Decimal"),
("table.rules.date", "Date"),
("table.rules.time", "Time"),
("table.rules.textlength", "Text length"),
("table.rules.list", "List"),
("table.rules.custom", "Formula"),
("table.rules.data", "Data"),
("table.rules.value", "Value"),
("table.rules.and", "And"),
("table.rules.formula", "Formula"),
("table.rules.entries", "Entries"),
("table.rules.dropdown", "Show list"),
("table.rules.blank", "Allow blank"),
("table.rules.help", "Input help"),
("table.rules.alert", "Error alert"),
("table.rules.style", "Style"),
("table.rules.title", "Title"),
("table.rules.message", "Message"),
("table.rules.stop", "Stop"),
("table.rules.warning", "Warning"),
("table.rules.info", "Information"),
("table.rules.apply", "Apply"),
("table.rules.choose", "Choose"),
("table.rules.between", "between"),
("table.rules.notbetween", "not between"),
("table.rules.equal", "equal to"),
("table.rules.notequal", "not equal to"),
("table.rules.greater", "greater than"),
("table.rules.less", "less than"),
("table.rules.greaterequal", "at least"),
("table.rules.lessequal", "at most"),
("table.rules.duplicate", "duplicate"),
("table.rules.unique", "unique"),
("table.rules.contains", "contains"),
("table.rules.beginswith", "begins with"),
("table.rules.endswith", "ends with"),
("table.rules.top", "top N"),
("table.rules.bottom", "bottom N"),
("table.rules.above_average", "above average"),
("table.rules.below_average", "below average"),
("table.rules.error", "an error"),
("table.rules.conditional", "Conditional Format…"),
("table.rules.conditionals", "Conditional Formats…"),
("table.rules.conditional_title", "Conditional Format"),
("table.rules.kind", "Type"),
("table.rules.cell", "Cell rule"),
("table.rules.scale", "Color scale"),
("table.rules.databar", "Data bar"),
("table.rules.condition", "When the cell is"),
("table.rules.cell_style", "Style"),
("table.rules.colors", "Colors"),
("table.rules.scale_rgy", "Red, yellow, green"),
("table.rules.scale_gyr", "Green, yellow, red"),
("table.rules.scale_wr", "White to red"),
("table.rules.scale_wg", "White to green"),
("table.rules.bar_blue", "Blue"),
("table.rules.bar_green", "Green"),
("table.rules.bar_red", "Red"),
("table.rules.bar_orange", "Orange"),
("table.rules.add", "Add"),
("table.rules.formats_title", "Conditional Formats"),
("table.rules.entry", "{range} {kind}"),
("table.rules.entry_cell", "{range} {style} {value}"),
("table.rules.remove", "Delete"),
(
"table.rules.no_formats",
"This sheet has no conditional formats.",
),
("table.style.good", "Good"),
("table.style.neutral", "Neutral"),
("table.style.bad", "Bad"),
("table.style.warning", "Warning"),
("table.style.error", "Error"),
("table.style.accent", "Accent"),
("table.style.accent1", "Accent 1"),
("table.style.accent2", "Accent 2"),
("table.style.accent3", "Accent 3"),
("table.style.note", "Note"),
];
pub(super) const ZH_CN: &[(&str, &str)] = &[
("menu.data", "数据"),
("menu.format", "格式"),
("table.format.panel", "格式面板"),
("table.format.number", "数字"),
("table.format.kind", "格式"),
("table.format.code", "代码"),
("table.format.general", "常规"),
("table.format.decimal", "数值"),
("table.format.currency", "货币"),
("table.format.percent", "百分比"),
("table.format.date", "日期"),
("table.format.custom", "自定义"),
("table.format.invalid", "“{code}”不是格式代码。"),
("table.format.alignment", "对齐"),
("table.format.across", "水平"),
("table.format.down", "垂直"),
("table.format.text", "文本"),
("table.format.left", "左对齐"),
("table.format.center", "居中"),
("table.format.right", "右对齐"),
("table.format.justify", "两端对齐"),
("table.format.top", "顶端"),
("table.format.middle", "居中"),
("table.format.bottom", "底端"),
("table.format.wrap", "自动换行"),
("table.format.cell", "单元格"),
("table.format.borders", "边框"),
("table.format.borders_all", "全部"),
("table.format.borders_outer", "外框"),
("table.format.borders_none", "无"),
("table.format.fill", "填充"),
("table.format.no_fill", "无填充"),
("table.data.sort", "排序…"),
("table.data.autofilter", "自动筛选"),
("table.data.filter", "筛选…"),
("table.data.unfilter", "清除筛选"),
("table.data.dedupe", "删除重复项…"),
("table.data.columns", "分列…"),
("table.data.paste_values", "粘贴为值"),
("table.data.paste_formulas", "粘贴为公式"),
(
"table.data.paste_foreign",
"粘贴为值和粘贴为公式只用于本工作簿复制的单元格;其他内容请用粘贴。",
),
("table.data.clipboard", "无法读取剪贴板:{error}"),
("table.data.header", "首行是标题"),
("table.data.empty", "所选区域没有数据。"),
("table.data.one_range", "请选一个区域。"),
("table.data.three", "排序最多三个关键字。"),
("table.data.sort_title", "排序"),
("table.data.sort_go", "排序"),
("table.data.filter_title", "筛选"),
("table.data.filter_go", "筛选"),
("table.data.dedupe_title", "删除重复项"),
(
"table.data.dedupe_detail",
"{range} 中与前面某行相同的行将被删除。",
),
("table.data.dedupe_go", "删除"),
("table.columns.title", "分列"),
("table.columns.tab", "制表符"),
("table.columns.comma", "逗号"),
("table.columns.semicolon", "分号"),
("table.columns.space", "空格"),
("table.columns.other", "其他"),
("table.columns.go", "分列"),
("table.columns.same", "请选同一列中的单元格。"),
("table.filter.title", "{column} 列"),
("table.filter.up", "升序排序"),
("table.filter.down", "降序排序"),
("table.filter.all", "全部"),
("table.filter.empty", "(空白)"),
("table.filter.go", "筛选"),
("table.rules.validation", "数据验证…"),
("table.rules.unvalidate", "清除数据验证"),
("table.rules.validation_title", "数据验证"),
("table.rules.allow", "允许"),
("table.rules.any", "任何值"),
("table.rules.whole", "整数"),
("table.rules.decimal", "小数"),
("table.rules.date", "日期"),
("table.rules.time", "时间"),
("table.rules.textlength", "文本长度"),
("table.rules.list", "序列"),
("table.rules.custom", "公式"),
("table.rules.data", "数据"),
("table.rules.value", "值"),
("table.rules.and", "与"),
("table.rules.formula", "公式"),
("table.rules.entries", "条目"),
("table.rules.dropdown", "显示下拉列表"),
("table.rules.blank", "允许空值"),
("table.rules.help", "输入提示"),
("table.rules.alert", "出错警告"),
("table.rules.style", "样式"),
("table.rules.title", "标题"),
("table.rules.message", "内容"),
("table.rules.stop", "停止"),
("table.rules.warning", "警告"),
("table.rules.info", "信息"),
("table.rules.apply", "应用"),
("table.rules.choose", "选择"),
("table.rules.between", "介于"),
("table.rules.notbetween", "未介于"),
("table.rules.equal", "等于"),
("table.rules.notequal", "不等于"),
("table.rules.greater", "大于"),
("table.rules.less", "小于"),
("table.rules.greaterequal", "大于或等于"),
("table.rules.lessequal", "小于或等于"),
("table.rules.duplicate", "重复值"),
("table.rules.unique", "唯一值"),
("table.rules.contains", "包含"),
("table.rules.beginswith", "开头是"),
("table.rules.endswith", "结尾是"),
("table.rules.top", "前 N 项"),
("table.rules.bottom", "后 N 项"),
("table.rules.above_average", "高于平均值"),
("table.rules.below_average", "低于平均值"),
("table.rules.error", "错误值"),
("table.rules.conditional", "条件格式…"),
("table.rules.conditionals", "管理条件格式…"),
("table.rules.conditional_title", "条件格式"),
("table.rules.kind", "类型"),
("table.rules.cell", "单元格规则"),
("table.rules.scale", "色阶"),
("table.rules.databar", "数据条"),
("table.rules.condition", "单元格值"),
("table.rules.cell_style", "样式"),
("table.rules.colors", "颜色"),
("table.rules.scale_rgy", "红、黄、绿"),
("table.rules.scale_gyr", "绿、黄、红"),
("table.rules.scale_wr", "白到红"),
("table.rules.scale_wg", "白到绿"),
("table.rules.bar_blue", "蓝"),
("table.rules.bar_green", "绿"),
("table.rules.bar_red", "红"),
("table.rules.bar_orange", "橙"),
("table.rules.add", "添加"),
("table.rules.formats_title", "条件格式"),
("table.rules.entry", "{range} {kind}"),
("table.rules.entry_cell", "{range} {style} {value}"),
("table.rules.remove", "删除"),
("table.rules.no_formats", "此工作表没有条件格式。"),
("table.style.good", "好"),
("table.style.neutral", "适中"),
("table.style.bad", "差"),
("table.style.warning", "警告"),
("table.style.error", "错误"),
("table.style.accent", "强调"),
("table.style.accent1", "强调 1"),
("table.style.accent2", "强调 2"),
("table.style.accent3", "强调 3"),
("table.style.note", "注释"),
];