Files
ElyOffice/crates/ely-ui/src/i18n/refs.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

110 lines
4.4 KiB
Rust

//! ElyDoc's reference and review messages.
pub(super) const EN: &[(&str, &str)] = &[
("menu.review", "Review"),
("doc.insert.contents", "Table of Contents"),
("doc.insert.update_contents", "Update Table of Contents"),
("doc.contents.title", "Contents"),
("doc.insert.footnote", "Footnote"),
("doc.insert.endnote", "Endnote"),
("doc.insert.bookmark", "Bookmark…"),
("doc.insert.link", "Hyperlink…"),
("doc.insert.reference", "Cross-Reference…"),
("doc.insert.caption", "Caption…"),
("doc.insert.formula", "Formula…"),
("doc.insert.comment", "Comment…"),
("doc.bookmark.title", "Insert Bookmark"),
("doc.bookmark.name", "Name"),
("doc.bookmark.empty", "Give the bookmark a name."),
("doc.bookmark.taken", "A bookmark already has this name."),
("doc.link.title", "Insert Hyperlink"),
("doc.link.text", "Text"),
("doc.link.url", "Address"),
("doc.reference.title", "Insert Cross-Reference"),
("doc.reference.target", "Bookmark"),
("doc.reference.show", "Show"),
("doc.reference.text", "Its text"),
("doc.reference.page", "Page number"),
("doc.reference.chapter", "Chapter number"),
("doc.reference.direction", "Above or below"),
(
"doc.reference.none",
"Cross-references point to bookmarks. Insert a bookmark first.",
),
("doc.caption.title", "Insert Caption"),
("doc.caption.text", "Caption"),
("doc.caption.empty", "Write the caption."),
(
"doc.caption.none",
"Select an image, a formula, or a table cell to caption.",
),
("doc.formula.title", "Insert Formula"),
("doc.formula.edit", "Edit Formula"),
("doc.formula.text", "Formula"),
("doc.formula.empty", "Write a formula, such as a over b."),
("doc.formula.apply", "Apply"),
("doc.comment.title", "New Comment"),
("doc.comment.text", "Comment"),
("doc.comment.empty", "Write the comment."),
("doc.review.track", "Track Changes"),
("doc.review.accept_all", "Accept All"),
("doc.review.reject_all", "Reject All"),
("doc.review.panel", "Comments and Changes"),
("doc.review.comments", "Comments {n}"),
("doc.review.changes", "Changes {n}"),
("doc.review.accept", "Accept"),
("doc.review.reject", "Reject"),
("doc.review.none", "No tracked changes"),
];
pub(super) const ZH_CN: &[(&str, &str)] = &[
("menu.review", "审阅"),
("doc.insert.contents", "目录"),
("doc.insert.update_contents", "更新目录"),
("doc.contents.title", "目录"),
("doc.insert.footnote", "脚注"),
("doc.insert.endnote", "尾注"),
("doc.insert.bookmark", "书签…"),
("doc.insert.link", "超链接…"),
("doc.insert.reference", "交叉引用…"),
("doc.insert.caption", "题注…"),
("doc.insert.formula", "公式…"),
("doc.insert.comment", "批注…"),
("doc.bookmark.title", "插入书签"),
("doc.bookmark.name", "名称"),
("doc.bookmark.empty", "请为书签命名。"),
("doc.bookmark.taken", "已有同名书签。"),
("doc.link.title", "插入超链接"),
("doc.link.text", "文字"),
("doc.link.url", "地址"),
("doc.reference.title", "插入交叉引用"),
("doc.reference.target", "书签"),
("doc.reference.show", "显示"),
("doc.reference.text", "书签文字"),
("doc.reference.page", "页码"),
("doc.reference.chapter", "章节号"),
("doc.reference.direction", "上方或下方"),
("doc.reference.none", "交叉引用指向书签。请先插入书签。"),
("doc.caption.title", "插入题注"),
("doc.caption.text", "题注"),
("doc.caption.empty", "请写题注内容。"),
("doc.caption.none", "请先选中图片、公式或表格单元格。"),
("doc.formula.title", "插入公式"),
("doc.formula.edit", "编辑公式"),
("doc.formula.text", "公式"),
("doc.formula.empty", "请写公式,如 a over b。"),
("doc.formula.apply", "应用"),
("doc.comment.title", "新批注"),
("doc.comment.text", "批注"),
("doc.comment.empty", "请写批注内容。"),
("doc.review.track", "修订"),
("doc.review.accept_all", "全部接受"),
("doc.review.reject_all", "全部拒绝"),
("doc.review.panel", "批注与修订"),
("doc.review.comments", "批注 {n}"),
("doc.review.changes", "修订 {n}"),
("doc.review.accept", "接受"),
("doc.review.reject", "拒绝"),
("doc.review.none", "没有修订"),
];