174 lines
7.7 KiB
Rust
174 lines
7.7 KiB
Rust
//! Messages of the shared document shell.
|
|
|
|
pub(super) const EN: &[(&str, &str)] = &[
|
|
("office.cancel", "Cancel"),
|
|
("office.conflict.copy", "Save a Copy…"),
|
|
("office.conflict.detail", "Choose which version to keep."),
|
|
("office.conflict.keep", "Keep Mine"),
|
|
("office.conflict.reload", "Reload from Disk"),
|
|
("office.conflict.title", "{name} changed on disk"),
|
|
(
|
|
"office.error.conflict",
|
|
"{name} changed on disk; the save stopped",
|
|
),
|
|
(
|
|
"office.error.convert",
|
|
"A conversion writes a new file; pick another name",
|
|
),
|
|
("office.error.changed", "The document changed meanwhile; try again"),
|
|
("office.print.failed", "Printing failed: {error}"),
|
|
("office.recovery.failed", "A recovery copy was not written: {error}"),
|
|
("office.recovery.off", "Recovery copies are off for this run: {error}"),
|
|
("office.recovery.lost", "{name} could not be recovered: {error}"),
|
|
("office.recovery.back", "{name}: unsaved content from {at} is back; the cursor and undo history are not"),
|
|
("office.recovery.index", "Recovery points cannot be listed, so a crash may lose them: {error}"),
|
|
("office.stopped", "The document engine stopped ({why}). Last recovery point: {at}."),
|
|
("office.stopped.never", "none yet"),
|
|
("office.stopped.reopen", "Reopen documents"),
|
|
("office.stopped.lost", "Not reopened: {names}. Their unsaved changes had no recovery point."),
|
|
("office.error.engine", "{error}"),
|
|
("office.error.format", "Save As writes .{formats}"),
|
|
("office.error.open", "{name} did not open: {error}"),
|
|
("office.error.panel", "The file panel failed: {error}"),
|
|
("office.error.save", "{name} did not save: {error}"),
|
|
("office.error.taken", "{name} is open in another tab"),
|
|
("office.loading", "Opening {name}…"),
|
|
("office.locked.empty", "Type the password."),
|
|
("office.locked.label", "Password"),
|
|
("office.locked.open", "Open"),
|
|
("office.locked.title", "{name} is locked"),
|
|
(
|
|
"office.locked.wrong",
|
|
"That password did not open it. Password",
|
|
),
|
|
(
|
|
"office.risk",
|
|
"{name} holds macros. Ely runs none; Save As writes a {formats} copy.",
|
|
),
|
|
("office.state.dirty", "Edited"),
|
|
("office.state.external", "Changed on disk"),
|
|
("office.state.failed", "Save failed"),
|
|
("office.state.risk", "Risk mode"),
|
|
("office.state.signed", "Signed"),
|
|
("office.state.repaired", "Repaired copy"),
|
|
(
|
|
"office.repaired",
|
|
"{name} is damaged. Ely opened a repaired copy; Save As writes it to a new file and the damaged original stays as it is.",
|
|
),
|
|
(
|
|
"office.signed",
|
|
"{name} is signed. An edit breaks its signatures, so Save As writes an unsigned copy; the signed file stays as it is.",
|
|
),
|
|
("office.state.saved", "Saved"),
|
|
("office.state.saving", "Saving…"),
|
|
(
|
|
"office.unsaved.detail",
|
|
"Closing without saving loses the changes.",
|
|
),
|
|
("office.unsaved.discard", "Don't Save"),
|
|
("office.unsaved.save", "Save"),
|
|
("office.unsaved.title", "Save changes to {name}?"),
|
|
("office.untitled", "Untitled {n}"),
|
|
("office.props.automatic", "Automatic"),
|
|
("office.props.mixed", "Mixed"),
|
|
("office.chart.insert_title", "Insert Chart"),
|
|
("office.chart.edit_title", "Edit Chart"),
|
|
("office.chart.kind", "Type"),
|
|
("office.chart.column", "Column"),
|
|
("office.chart.bar", "Bar"),
|
|
("office.chart.line", "Line"),
|
|
("office.chart.scatter", "Scatter"),
|
|
("office.chart.pie", "Pie"),
|
|
("office.chart.other", "Other"),
|
|
("office.chart.heading", "Title"),
|
|
("office.chart.legend", "Legend"),
|
|
("office.chart.x", "X axis title"),
|
|
("office.chart.y", "Y axis title"),
|
|
("office.chart.go", "Insert"),
|
|
("office.chart.apply", "Apply"),
|
|
("office.zoom.in", "Zoom In"),
|
|
("office.zoom.out", "Zoom Out"),
|
|
("office.zoom.actual", "Actual Size"),
|
|
("office.zoom.fit", "Fit Slide"),
|
|
];
|
|
|
|
pub(super) const ZH_CN: &[(&str, &str)] = &[
|
|
("office.cancel", "取消"),
|
|
("office.conflict.copy", "另存副本…"),
|
|
("office.conflict.detail", "选择要保留的版本。"),
|
|
("office.conflict.keep", "保留我的"),
|
|
("office.conflict.reload", "从磁盘重新载入"),
|
|
("office.conflict.title", "{name} 已在磁盘上改动"),
|
|
("office.error.conflict", "{name} 已在磁盘上改动,保存已停止"),
|
|
("office.error.convert", "格式转换要写成新文件,请换个名字"),
|
|
("office.error.changed", "文档在此间已改动,请重试"),
|
|
("office.print.failed", "打印失败:{error}"),
|
|
("office.recovery.failed", "恢复副本未能写入:{error}"),
|
|
("office.recovery.off", "本次运行不写恢复副本:{error}"),
|
|
("office.recovery.lost", "{name} 未能恢复:{error}"),
|
|
("office.recovery.back", "{name}:恢复了 {at} 时未保存的内容;光标与撤销历史未恢复"),
|
|
("office.recovery.index", "恢复点清单写不进去,崩溃后可能找不回:{error}"),
|
|
("office.stopped", "文档引擎已停止({why})。最近的恢复点:{at}。"),
|
|
("office.stopped.never", "尚无"),
|
|
("office.stopped.reopen", "重新打开文档"),
|
|
("office.stopped.lost", "未能重新打开:{names}。其未保存的改动没有恢复点。"),
|
|
("office.error.engine", "{error}"),
|
|
("office.error.format", "另存为只写 .{formats}"),
|
|
("office.error.open", "{name} 未能打开:{error}"),
|
|
("office.error.panel", "文件面板出错:{error}"),
|
|
("office.error.save", "{name} 未能保存:{error}"),
|
|
("office.error.taken", "{name} 已在另一个标签页打开"),
|
|
("office.loading", "正在打开 {name}…"),
|
|
("office.locked.empty", "请输入密码。"),
|
|
("office.locked.label", "密码"),
|
|
("office.locked.open", "打开"),
|
|
("office.locked.title", "{name} 已加密"),
|
|
("office.locked.wrong", "密码不对,请重输"),
|
|
(
|
|
"office.risk",
|
|
"{name} 含宏。Ely 不运行宏;另存为会写出不含宏的 {formats} 副本。",
|
|
),
|
|
("office.state.dirty", "已编辑"),
|
|
("office.state.external", "磁盘上已改动"),
|
|
("office.state.failed", "保存失败"),
|
|
("office.state.risk", "风险模式"),
|
|
("office.state.signed", "已签名"),
|
|
("office.state.repaired", "修复的副本"),
|
|
(
|
|
"office.repaired",
|
|
"{name} 已损坏。Ely 打开的是修复后的副本;“另存为”把它写成新文件,损坏的原件保持原样。",
|
|
),
|
|
(
|
|
"office.signed",
|
|
"{name} 已签名。修改会使签名失效,因此“另存为”写出未签名的副本;已签名的文件保持原样。",
|
|
),
|
|
("office.state.saved", "已保存"),
|
|
("office.state.saving", "正在保存…"),
|
|
("office.unsaved.detail", "不保存就关闭,修改会丢失。"),
|
|
("office.unsaved.discard", "不保存"),
|
|
("office.unsaved.save", "保存"),
|
|
("office.unsaved.title", "保存对 {name} 的修改?"),
|
|
("office.untitled", "未命名 {n}"),
|
|
("office.props.automatic", "自动"),
|
|
("office.props.mixed", "混合"),
|
|
("office.chart.insert_title", "插入图表"),
|
|
("office.chart.edit_title", "编辑图表"),
|
|
("office.chart.kind", "类型"),
|
|
("office.chart.column", "柱形图"),
|
|
("office.chart.bar", "条形图"),
|
|
("office.chart.line", "折线图"),
|
|
("office.chart.scatter", "散点图"),
|
|
("office.chart.pie", "饼图"),
|
|
("office.chart.other", "其他"),
|
|
("office.chart.heading", "标题"),
|
|
("office.chart.legend", "图例"),
|
|
("office.chart.x", "X 轴标题"),
|
|
("office.chart.y", "Y 轴标题"),
|
|
("office.chart.go", "插入"),
|
|
("office.chart.apply", "应用"),
|
|
("office.zoom.in", "放大"),
|
|
("office.zoom.out", "缩小"),
|
|
("office.zoom.actual", "实际大小"),
|
|
("office.zoom.fit", "适合幻灯片"),
|
|
];
|