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

+105
View File
@@ -0,0 +1,105 @@
//! ElyShow transitions, animations and media.
pub(super) const EN: &[(&str, &str)] = &[
("show.motion.transition", "Transition"),
("show.motion.effects", "Animations"),
("show.motion.duration", "Duration (s)"),
("show.motion.delay", "Delay (s)"),
("show.motion.start", "Start"),
("show.motion.auto", "Advance by itself"),
("show.motion.time", "After (s)"),
("show.motion.all", "Apply to All Slides"),
("show.motion.preview_transition", "Preview Transition"),
("show.motion.preview_effects", "Preview Animations"),
("show.motion.add", "Add Animation"),
("show.motion.up", "Earlier"),
("show.motion.down", "Later"),
("show.motion.remove", "Remove"),
("show.transition.none", "None"),
("show.transition.other", "Other (from the file)"),
("show.transition.fade-smoothly", "Fade"),
("show.transition.fade-through-black", "Fade Through Black"),
("show.transition.push-left", "Push Left"),
("show.transition.push-up", "Push Up"),
("show.transition.cover-left", "Cover Left"),
("show.transition.uncover-left", "Uncover Left"),
("show.transition.wipe-right", "Wipe Right"),
("show.transition.split-vertical-out", "Split Out"),
("show.transition.dissolve", "Dissolve"),
("show.effect.entrance-appear", "Appear"),
("show.effect.entrance-fade-in", "Fade In"),
("show.effect.entrance-fly-in", "Fly In"),
("show.effect.entrance-wipe", "Wipe In"),
("show.effect.entrance-zoom", "Zoom In"),
("show.effect.entrance-float", "Float In"),
("show.effect.emphasis-grow-and-shrink", "Grow and Shrink"),
("show.effect.emphasis-blink", "Blink"),
("show.effect.exit-disappear", "Disappear"),
("show.effect.exit-fade-out", "Fade Out"),
("show.effect.exit-fly-out", "Fly Out"),
("show.effect.exit-wipe", "Wipe Out"),
("show.effect.exit-zoom", "Zoom Out"),
("show.effect.exit-float", "Float Out"),
("show.effect.start.click", "On click"),
("show.effect.start.with", "With previous"),
("show.effect.start.after", "After previous"),
("show.media.group", "Media"),
("show.media.file", "File"),
("show.media.play", "Play"),
("show.media.pause", "Pause"),
("show.media.missing", "The media file is not there: {path}"),
("show.media.failed", "It cannot play: {reason}"),
("show.media.refused", "{name} cannot go in: {reason}"),
];
pub(super) const ZH_CN: &[(&str, &str)] = &[
("show.motion.transition", "切换"),
("show.motion.effects", "动画"),
("show.motion.duration", "时长(秒)"),
("show.motion.delay", "延迟(秒)"),
("show.motion.start", "开始"),
("show.motion.auto", "自动换片"),
("show.motion.time", "等待(秒)"),
("show.motion.all", "应用到全部幻灯片"),
("show.motion.preview_transition", "预览切换"),
("show.motion.preview_effects", "预览动画"),
("show.motion.add", "添加动画"),
("show.motion.up", "提前"),
("show.motion.down", "推后"),
("show.motion.remove", "删除"),
("show.transition.none", "无"),
("show.transition.other", "其他(文件自带)"),
("show.transition.fade-smoothly", "淡化"),
("show.transition.fade-through-black", "经黑色淡化"),
("show.transition.push-left", "向左推入"),
("show.transition.push-up", "向上推入"),
("show.transition.cover-left", "向左覆盖"),
("show.transition.uncover-left", "向左揭开"),
("show.transition.wipe-right", "向右擦除"),
("show.transition.split-vertical-out", "向外分割"),
("show.transition.dissolve", "溶解"),
("show.effect.entrance-appear", "出现"),
("show.effect.entrance-fade-in", "淡入"),
("show.effect.entrance-fly-in", "飞入"),
("show.effect.entrance-wipe", "擦入"),
("show.effect.entrance-zoom", "放大进入"),
("show.effect.entrance-float", "浮入"),
("show.effect.emphasis-grow-and-shrink", "放大缩小"),
("show.effect.emphasis-blink", "闪烁"),
("show.effect.exit-disappear", "消失"),
("show.effect.exit-fade-out", "淡出"),
("show.effect.exit-fly-out", "飞出"),
("show.effect.exit-wipe", "擦出"),
("show.effect.exit-zoom", "缩小退出"),
("show.effect.exit-float", "浮出"),
("show.effect.start.click", "单击时"),
("show.effect.start.with", "与上一个同时"),
("show.effect.start.after", "上一个之后"),
("show.media.group", "媒体"),
("show.media.file", "文件"),
("show.media.play", "播放"),
("show.media.pause", "暂停"),
("show.media.missing", "找不到媒体文件:{path}"),
("show.media.failed", "无法播放:{reason}"),
("show.media.refused", "无法插入 {name}:{reason}"),
];