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.
This commit is contained in:
ZacharyZhang-NY committed 2026-10-08 21:20:08 -04:00
commit b7fca0146d
817 files changed
+143101

No files matched your search

+111
View File
@@ -0,0 +1,111 @@
//! The settings window's words.
pub(super) const EN: &[(&str, &str)] = &[
("menu.app.settings", "Settings…"),
("settings.title", "Settings"),
("settings.general", "General"),
("settings.appearance", "Appearance"),
("settings.appearance.system", "System"),
("settings.appearance.light", "Light"),
("settings.appearance.dark", "Dark"),
("settings.omarchy", "Follow Omarchy"),
("settings.language", "Language"),
("settings.language.system", "System"),
("settings.language.next", "Applies the next time each app starts"),
("settings.motion", "Motion"),
("settings.motion.system", "System"),
("settings.motion.reduce", "Reduced"),
("settings.motion.full", "Full"),
("settings.documents", "Documents"),
("settings.author", "Author name"),
("settings.author.hint", "Signs new comments and tracked changes"),
("settings.autosave", "Save automatically"),
("settings.autosave.hint", "Files in this app's own formats save a few seconds after you stop typing. Signed files, files with macros, older formats, and files changed elsewhere still wait for you."),
("settings.git", "Git"),
("settings.git.path", "Git program"),
("settings.git.hint", "Empty uses the Git that comes with ElyTree"),
("settings.git.bad", "{path} is not Git 2.40 or later: {error}"),
("settings.storage", "Storage"),
("settings.storage.log", "This app's log"),
("settings.storage.cache", "Web content cache"),
("settings.storage.recovery", "Recovery copies"),
("settings.storage.clear", "Clear"),
("settings.storage.clear_later", "Clear at next start"),
("settings.storage.next_start", "Clears at next start"),
("settings.storage.keep", "Recovery points per document"),
("settings.storage.space", "Recovery space per document (MB)"),
("settings.storage.failed", "Not done: {error}"),
("settings.storage.size", "{size} KB"),
("settings.storage.delete", "Delete"),
("settings.storage.ask_title", "Clear {what}?"),
("settings.storage.ask_now", "{what} is deleted now. This cannot be undone."),
("settings.storage.ask_later", "{what} is deleted the next time this app starts, before anything opens. This cannot be undone."),
("settings.diagnostics", "Diagnostics"),
("settings.diagnostics.included", "Included"),
("settings.diagnostics.none", "Nothing to export yet"),
("settings.diagnostics.crash", "Crash report {name}"),
("settings.diagnostics.log", "This app's log"),
("settings.diagnostics.size", "{name} · {size}"),
("settings.diagnostics.redact", "Remove paths and personal names"),
("settings.diagnostics.export", "Export…"),
("settings.diagnostics.saved", "Saved to {path}"),
("settings.diagnostics.failed", "Not exported: {error}"),
("settings.unreadable", "The settings file cannot be read, so changes are not saved: {error}"),
("settings.unsaved", "The last change was not saved: {error}"),
("settings.app_unreadable", "This app's settings cannot be read, so defaults are in use: {error}"),
];
pub(super) const ZH_CN: &[(&str, &str)] = &[
("menu.app.settings", "设置…"),
("settings.title", "设置"),
("settings.general", "通用"),
("settings.appearance", "外观"),
("settings.appearance.system", "跟随系统"),
("settings.appearance.light", "浅色"),
("settings.appearance.dark", "深色"),
("settings.omarchy", "跟随 Omarchy"),
("settings.language", "语言"),
("settings.language.system", "跟随系统"),
("settings.language.next", "各应用下次启动时生效"),
("settings.motion", "动效"),
("settings.motion.system", "跟随系统"),
("settings.motion.reduce", "减少"),
("settings.motion.full", "完整"),
("settings.documents", "文档"),
("settings.author", "作者姓名"),
("settings.author.hint", "新批注与修订以此署名"),
("settings.autosave", "自动保存"),
("settings.autosave.hint", "本应用自有格式的文件在停止输入几秒后自动保存。已签名、含宏、旧格式以及在别处被改动的文件仍等你决定。"),
("settings.git", "Git"),
("settings.git.path", "Git 程序"),
("settings.git.hint", "留空即用 ElyTree 随带的 Git"),
("settings.git.bad", "{path} 不是 2.40 或更新的 Git:{error}"),
("settings.storage", "存储"),
("settings.storage.log", "本应用的日志"),
("settings.storage.cache", "网页内容缓存"),
("settings.storage.recovery", "恢复副本"),
("settings.storage.clear", "清除"),
("settings.storage.clear_later", "下次启动时清除"),
("settings.storage.next_start", "将在下次启动时清除"),
("settings.storage.keep", "每个文档保留的恢复点"),
("settings.storage.space", "每个文档的恢复空间(MB)"),
("settings.storage.failed", "未完成:{error}"),
("settings.storage.size", "{size} KB"),
("settings.storage.delete", "删除"),
("settings.storage.ask_title", "清除{what}?"),
("settings.storage.ask_now", "{what}将立即删除,无法撤销。"),
("settings.storage.ask_later", "{what}将在本应用下次启动、打开任何内容之前删除,无法撤销。"),
("settings.diagnostics", "诊断"),
("settings.diagnostics.included", "包含"),
("settings.diagnostics.none", "暂无可导出的内容"),
("settings.diagnostics.crash", "崩溃报告 {name}"),
("settings.diagnostics.log", "本应用的日志"),
("settings.diagnostics.size", "{name} · {size}"),
("settings.diagnostics.redact", "去掉路径与个人姓名"),
("settings.diagnostics.export", "导出…"),
("settings.diagnostics.saved", "已存到 {path}"),
("settings.diagnostics.failed", "未导出:{error}"),
("settings.unreadable", "设置文件读不出,改动不会保存:{error}"),
("settings.unsaved", "上一项改动没有保存:{error}"),
("settings.app_unreadable", "本应用的设置读不出,正用默认值:{error}"),
];