Files
ElyOffice/crates/ely-ui/src/i18n/doc.rs
T
ZacharyZhang-NY b7fca0146d Ely Office: six offline-first desktop apps in Rust and GPUI
ElyDoc, ElyTable, ElyShow (LibreOfficeKit), ElyPDF (MuPDF), ElyTree (Git),
ElyMark (Milkdown and CodeMirror in CEF). ElyMail and ElyAgent follow.
2026-10-08 21:20:08 -04:00

313 lines
12 KiB
Rust
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
//! ElyDoc's messages.
pub(super) const EN: &[(&str, &str)] = &[
("doc.new.title", "New Document"),
("doc.new.from_file", "From a Template File…"),
("doc.template.category", "Documents"),
("doc.template.blank", "Blank"),
("doc.template.blank.about", "An empty page"),
("doc.template.report", "Report"),
("doc.template.report.about", "A title and two sections"),
("doc.template.letter", "Letter"),
(
"doc.template.letter.about",
"Sender, date, recipient, greeting",
),
("doc.report.title", "Report Title"),
("doc.report.summary", "Summary"),
("doc.report.details", "Details"),
("doc.body", "Write here."),
("doc.letter.sender", "Your Name"),
("doc.letter.date", "Date"),
("doc.letter.recipient", "Recipient Name"),
("doc.letter.greeting", "Dear Recipient,"),
("doc.letter.closing", "Sincerely,"),
("doc.props.text", "Text"),
("doc.props.paragraph", "Paragraph"),
("doc.props.style", "Style"),
("doc.props.character", "Character"),
("doc.props.font", "Font"),
("doc.props.size", "Size"),
("doc.props.effects", "Effects"),
("doc.props.bold", "Bold"),
("doc.props.italic", "Italic"),
("doc.props.underline", "Underline"),
("doc.props.strikeout", "Strikethrough"),
("doc.props.superscript", "Superscript"),
("doc.props.subscript", "Subscript"),
("doc.props.color", "Color"),
("doc.props.highlight", "Highlight"),
("doc.props.no_highlight", "None"),
("doc.props.no_style", "The selection has no single style"),
("doc.props.align", "Alignment"),
("doc.props.left", "Align Left"),
("doc.props.center", "Center"),
("doc.props.right", "Align Right"),
("doc.props.justify", "Justify"),
("doc.props.indent", "Indent"),
("doc.props.line", "Line Spacing"),
("doc.props.above", "Space Above"),
("doc.props.below", "Space Below"),
("doc.props.less", "Less"),
("doc.props.more", "More"),
("doc.props.lists", "Lists"),
("doc.props.bullets", "Bullets"),
("doc.props.numbering", "Numbering"),
("doc.props.promote", "Promote"),
("doc.props.demote", "Demote"),
("doc.props.tabs", "Tab Stops"),
("doc.props.cm", "{n} cm"),
("doc.props.add_tab", "Add"),
("doc.props.choose", "Choose"),
("doc.props.new_style", "New…"),
("doc.props.update_style", "Update"),
("doc.style.new_paragraph", "New Paragraph Style"),
("doc.style.new_character", "New Character Style"),
("doc.style.name", "Name"),
("doc.style.create", "Create"),
("doc.style.empty", "A style needs a name"),
("doc.style.taken", "That name is taken"),
("doc.insert.table", "Table…"),
("doc.insert.image", "Image…"),
("doc.insert.page_break", "Page Break"),
("doc.insert.section_break", "Section Break"),
("doc.insert.page_number", "Page Number"),
("doc.insert.page_count", "Page Count"),
("doc.insert.table_title", "Insert Table"),
("doc.insert.columns", "Columns"),
("doc.insert.rows", "Rows"),
("doc.insert.insert", "Insert"),
("doc.props.page", "Page"),
("doc.props.paper", "Paper"),
("doc.props.size_cm", "{w} × {h} cm"),
("doc.props.orientation", "Orientation"),
("doc.props.portrait", "Portrait"),
("doc.props.landscape", "Landscape"),
("doc.props.top", "Top Margin"),
("doc.props.bottom", "Bottom Margin"),
("doc.props.margin_left", "Left Margin"),
("doc.props.margin_right", "Right Margin"),
("doc.props.columns", "Columns"),
("doc.props.section", "Section Style"),
("doc.props.header", "Header"),
("doc.props.footer", "Footer"),
("doc.props.on", "On"),
("doc.props.off", "Off"),
("doc.props.first_page", "Different First Page"),
("doc.props.odd_even", "Different Odd and Even"),
("doc.props.table", "Table"),
("doc.props.rows", "Rows"),
("doc.props.above_row", "Insert Above"),
("doc.props.below_row", "Insert Below"),
("doc.props.left_column", "Insert Left"),
("doc.props.right_column", "Insert Right"),
("doc.props.delete", "Delete"),
("doc.props.cells", "Cells"),
("doc.props.merge", "Merge"),
("doc.props.split_columns", "Split into Columns"),
("doc.props.split_rows", "Split into Rows"),
("doc.props.cell_size", "Size"),
("doc.props.even_columns", "Even Columns"),
("doc.props.even_rows", "Even Rows"),
("doc.props.fit_rows", "Fit Row Heights"),
("doc.props.borders", "Borders"),
("doc.props.borders_all", "All"),
("doc.props.borders_none", "None"),
("doc.props.shading", "Shading"),
("doc.props.heading", "Heading Row"),
("doc.props.repeat", "Repeat on Each Page"),
("doc.props.row_break", "Rows Across Pages"),
("doc.props.may_break", "Allow Breaking"),
("doc.props.keep_whole", "Keep Whole"),
("doc.props.delete_table", "Delete Table"),
("doc.props.object", "Image"),
("doc.props.width", "Width"),
("doc.props.height", "Height"),
("doc.props.image", "Image"),
("doc.props.crop", "Crop"),
("doc.props.replace", "Replace…"),
("doc.props.anchor", "Anchor"),
("doc.props.to_page", "Page"),
("doc.props.to_paragraph", "Paragraph"),
("doc.props.to_char", "Character"),
("doc.props.as_char", "As Character"),
("doc.props.wrap", "Wrap"),
("doc.props.wrap_none", "None"),
("doc.props.wrap_both", "Both Sides"),
("doc.props.wrap_ideal", "Optimal"),
("doc.props.wrap_left", "Left"),
("doc.props.wrap_right", "Right"),
("doc.props.wrap_through", "Through"),
("doc.props.order", "Order"),
("doc.props.front", "Bring to Front"),
("doc.props.forward", "Forward"),
("doc.props.backward", "Backward"),
("doc.props.back", "Send to Back"),
("doc.why.selection", "Not available for this selection"),
("doc.why.merge", "Select two or more cells to merge"),
("doc.why.heading", "Put the cursor in the table's first row"),
("doc.why.header", "Turn on the header first"),
("doc.why.footer", "Turn on the footer first"),
("doc.section.name", "Section {n}"),
("doc.section.title", "Insert a section break?"),
(
"doc.section.detail",
"The new section gets its own page style, copied from this page. The undo history clears.",
),
("doc.why.anchor", "This anchor does not fit here"),
];
pub(super) const ZH_CN: &[(&str, &str)] = &[
("doc.new.title", "新建文档"),
("doc.new.from_file", "从模板文件…"),
("doc.template.category", "文档"),
("doc.template.blank", "空白"),
("doc.template.blank.about", "一页空白"),
("doc.template.report", "报告"),
("doc.template.report.about", "标题与两节"),
("doc.template.letter", "信函"),
("doc.template.letter.about", "寄件人、日期、收件人、称呼"),
("doc.report.title", "报告标题"),
("doc.report.summary", "摘要"),
("doc.report.details", "详情"),
("doc.body", "在此书写。"),
("doc.letter.sender", "你的姓名"),
("doc.letter.date", "日期"),
("doc.letter.recipient", "收件人姓名"),
("doc.letter.greeting", "尊敬的收件人:"),
("doc.letter.closing", "此致"),
("doc.props.text", "文字"),
("doc.props.paragraph", "段落"),
("doc.props.style", "样式"),
("doc.props.character", "字符"),
("doc.props.font", "字体"),
("doc.props.size", "字号"),
("doc.props.effects", "效果"),
("doc.props.bold", "加粗"),
("doc.props.italic", "倾斜"),
("doc.props.underline", "下划线"),
("doc.props.strikeout", "删除线"),
("doc.props.superscript", "上标"),
("doc.props.subscript", "下标"),
("doc.props.color", "颜色"),
("doc.props.highlight", "高亮"),
("doc.props.no_highlight", "无"),
("doc.props.no_style", "所选内容没有单一样式"),
("doc.props.align", "对齐"),
("doc.props.left", "左对齐"),
("doc.props.center", "居中"),
("doc.props.right", "右对齐"),
("doc.props.justify", "两端对齐"),
("doc.props.indent", "缩进"),
("doc.props.line", "行距"),
("doc.props.above", "段前"),
("doc.props.below", "段后"),
("doc.props.less", "减少"),
("doc.props.more", "增加"),
("doc.props.lists", "列表"),
("doc.props.bullets", "项目符号"),
("doc.props.numbering", "编号"),
("doc.props.promote", "升级"),
("doc.props.demote", "降级"),
("doc.props.tabs", "制表位"),
("doc.props.cm", "{n} 厘米"),
("doc.props.add_tab", "添加"),
("doc.props.choose", "选择"),
("doc.props.new_style", "新建…"),
("doc.props.update_style", "更新"),
("doc.style.new_paragraph", "新建段落样式"),
("doc.style.new_character", "新建字符样式"),
("doc.style.name", "名称"),
("doc.style.create", "创建"),
("doc.style.empty", "样式需要名称"),
("doc.style.taken", "名称已存在"),
("doc.insert.table", "表格…"),
("doc.insert.image", "图片…"),
("doc.insert.page_break", "分页符"),
("doc.insert.section_break", "分节符"),
("doc.insert.page_number", "页码"),
("doc.insert.page_count", "总页数"),
("doc.insert.table_title", "插入表格"),
("doc.insert.columns", "列数"),
("doc.insert.rows", "行数"),
("doc.insert.insert", "插入"),
("doc.props.page", "页面"),
("doc.props.paper", "纸张"),
("doc.props.size_cm", "{w} × {h} 厘米"),
("doc.props.orientation", "方向"),
("doc.props.portrait", "纵向"),
("doc.props.landscape", "横向"),
("doc.props.top", "上边距"),
("doc.props.bottom", "下边距"),
("doc.props.margin_left", "左边距"),
("doc.props.margin_right", "右边距"),
("doc.props.columns", "分栏"),
("doc.props.section", "本节样式"),
("doc.props.header", "页眉"),
("doc.props.footer", "页脚"),
("doc.props.on", "开"),
("doc.props.off", "关"),
("doc.props.first_page", "首页不同"),
("doc.props.odd_even", "奇偶页不同"),
("doc.props.table", "表格"),
("doc.props.rows", "行"),
("doc.props.above_row", "上方插入"),
("doc.props.below_row", "下方插入"),
("doc.props.left_column", "左侧插入"),
("doc.props.right_column", "右侧插入"),
("doc.props.delete", "删除"),
("doc.props.cells", "单元格"),
("doc.props.merge", "合并"),
("doc.props.split_columns", "拆分为列"),
("doc.props.split_rows", "拆分为行"),
("doc.props.cell_size", "尺寸"),
("doc.props.even_columns", "平均列宽"),
("doc.props.even_rows", "平均行高"),
("doc.props.fit_rows", "适合行高"),
("doc.props.borders", "边框"),
("doc.props.borders_all", "全部"),
("doc.props.borders_none", "无"),
("doc.props.shading", "底色"),
("doc.props.heading", "标题行"),
("doc.props.repeat", "每页重复"),
("doc.props.row_break", "跨页"),
("doc.props.may_break", "允许断行"),
("doc.props.keep_whole", "保持整行"),
("doc.props.delete_table", "删除表格"),
("doc.props.object", "图片"),
("doc.props.width", "宽度"),
("doc.props.height", "高度"),
("doc.props.image", "图片"),
("doc.props.crop", "裁剪"),
("doc.props.replace", "替换…"),
("doc.props.anchor", "锚点"),
("doc.props.to_page", "到页"),
("doc.props.to_paragraph", "到段落"),
("doc.props.to_char", "到字符"),
("doc.props.as_char", "作为字符"),
("doc.props.wrap", "环绕"),
("doc.props.wrap_none", "无"),
("doc.props.wrap_both", "两侧"),
("doc.props.wrap_ideal", "最佳"),
("doc.props.wrap_left", "左侧"),
("doc.props.wrap_right", "右侧"),
("doc.props.wrap_through", "穿越"),
("doc.props.order", "层次"),
("doc.props.front", "置于顶层"),
("doc.props.forward", "上移一层"),
("doc.props.backward", "下移一层"),
("doc.props.back", "置于底层"),
("doc.why.selection", "当前选择不可用"),
("doc.why.merge", "选择两个以上单元格再合并"),
("doc.why.heading", "光标需在表格首行"),
("doc.why.header", "先打开页眉"),
("doc.why.footer", "先打开页脚"),
("doc.section.name", "第 {n} 节"),
("doc.section.title", "插入分节符?"),
(
"doc.section.detail",
"新节获得自己的页面样式,复制自当前页。撤销记录会清空。",
),
("doc.why.anchor", "此处不能用这种锚点"),
];