Skip to content

Conversation

@OMlalala
Copy link
Collaborator

@OMlalala OMlalala commented Apr 4, 2018

@OMlalala OMlalala self-assigned this Apr 4, 2018
@OMlalala OMlalala requested a review from livingworld April 4, 2018 14:19
pair: Body text; Tutorial

Leo stores all data in **nodes**. Nodes have **headlines**, shown in the outline pane, and **body text**. The body pane shows the body text of the **presently selected node**, the node whose headline is selected in the outline pane. Headlines have an **icon box** indicating a nodes status. For example, the icon box has a black border when the node has been changed.
Leo 存储所有数据至 **节点**. 节点有 **标题** (提纲窗格显示) 和 **内容文本**. 内容窗格显示
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

『内容文本』=>『正文』
『内容窗格』=>『正文窗格』


Leo stores all data in **nodes**. Nodes have **headlines**, shown in the outline pane, and **body text**. The body pane shows the body text of the **presently selected node**, the node whose headline is selected in the outline pane. Headlines have an **icon box** indicating a nodes status. For example, the icon box has a black border when the node has been changed.
Leo 存储所有数据至 **节点**. 节点有 **标题** (提纲窗格显示) 和 **内容文本**. 内容窗格显示
**当前选中节点** 的内容文本, 其节点标题在大纲窗格中被选中. 标题的 **图标框** 表明节点状态. 例如, 当节点修改后, 图标框的边线变黑.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

『内容文本』=>『正文』

.. _`Emacs 迷你缓冲`: https://www.gnu.org/software/emacs/manual/html_node/emacs/Minibuffer.html

Leo has hundreds of commands, described in `Leo's Command Reference`_. **Very important**: You can (and should) ignore most of these commands at first. You execute commands using `key bindings`_ or *by name* in `Leo's minibuffer`_, similar to the `Emacs minibuffer`_.
Leo 的百余种命令在 `Leo 命令索引`_ 中详述. **非常重要**: 你可以 (且应该) 首先无视这些命令中的绝大多数. 执行命令, 可使用 `按键绑定`_, 或在 `Leo 迷你缓冲`_ 使用名称, 类似 `Emacs 迷你缓冲`_.
Copy link
Collaborator

@livingworld livingworld Apr 10, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

『Leo 的百余种命令在 Leo 命令索引_ 中详述』=>『Leo 有百余种命令, 如 Leo 命令索引_ 所述』
『使用名称』=>『使用名称
『Leo 迷你缓冲』=>minibuffer 是否需要翻译呢?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 ok
2 ok
3 ok 我已在 minibuffer 第一次出现时, 增加译注. 其余地方, 均保持原文 minibuffer


You could type the full command name in the minibuffer, followed by the ``<Return>`` key to invoke the command, but that would be *way* too much work. Instead, you should use **typing completion** to avoid most typing. For example, you can execute the sort-lines commands this way::
激活命令, 可在迷你缓冲中输入命令全名并敲击 ``<Return>``, 但那将是海量工作. 相反,
你应该使用 **输入补全** 避免大部分输入. 例如, 你可以这样执行 行分类 命令:::
Copy link
Collaborator

@livingworld livingworld Apr 10, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sort-lines 是否需要翻译呢? 我担心制造了太多的中文术语, 反而不容易理解了. 或者加个括号之类的是否更好.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok. 不翻译. 改为: sort-lines (行分类)

<Alt-X>so<Tab>
Now the minibuffer will list common prefix of all commands that start with "so", namely::
现在, 迷你缓冲将列出所有以 "so" 开头的常用命令, 即:::
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

『现在, 迷你缓冲将列出所有以 "so" 开头的常用命令』=>『现在, 迷你缓冲将列出以 "so" 开头的所有命令的通用前缀』

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

建议 common 翻译为 常用.

现在, 按 <Return> 即可执行命令. 输入补全将很快成为第二天性.

**Very important**: There is no need to remember the exact names of Leo’s commands. Instead, you only need to remember a few common command prefixes, such as::
**非常重要**: 无需记住 Leo 命令的确切名称. 相反, 你只需记住几个常用的命令前缀, 例如::
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

『常用的』=>『通用的』

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

建议保留 常用的


``Ctrl-G``
Exits the minibuffer and puts focus in the body pane.
退出迷你缓冲, 聚焦于内容窗格.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

『内容窗格』=>『正文窗格』

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

.. _`全能的提纲编辑器`: commands.html#outline-commands

Leo is a `full-featured outliner`_, with commands to insert, delete, move, hoist, promote and demote nodes.
Leo 是一个 `全能的提纲编辑器`_, 拥有可插入, 删除, 移动, 升级, 降级节点的命令.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

『全能的』=>『功能齐全的』

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

Leo 是一个 `全能的提纲编辑器`_, 拥有可插入, 删除, 移动, 升级, 降级节点的命令.

**Clones** are a unique feature of Leo. Any outline node may be cloned. Cloned nodes are actually the *same* node, but they appear in different places in the outline. Changes to any clone affect all other clones of that node, *including their descendants*. For example, suppose the A` nodes are clones of each other::
**克隆** Leo 的一个独特功能. 所有提纲节点都可被克隆. 克隆节点实际上是 **相同的** 节点, 只是出现在提纲的不同地方. 对某一克隆的任何修改, 都会同步在节点的所有其他克隆上, * 包括他们的后代节点*. 例如, 假设 A` 节点是 A 节点的克隆::
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

『对某一克隆的任何修改』=>『对任一克隆的更改』

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

『* 包括他们的后代节点*』=>有多余空格

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

『假设 A 节点是 A 节点的克隆::』=>『假设 A 节点是彼此的克隆::』

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 ok
2 ok
3 建议保留原文

.. _`clone-find 命令`:

Clones allow you to create multiple views of data within a single outline. For example, Leo's `clone-find commands`_ create clones of all found nodes, moving the newly-created clones so they are all children of an **organizer node** describing the search. The organizer node is a new view of the outline's data, one focused on the found nodes!
克隆允许你使用单一大纲创建数据的多种视图. 例如, Leo 的 `clond-find 命令`_ 创建所有找到节点的克隆, 移动这些新建的克隆, 使他们成为描述搜索条件的 **组织节点** 的子节点. 组织节点是大纲数据的全新视图, 聚焦于搜索出的节点!
Copy link
Collaborator

@livingworld livingworld Apr 10, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

『克隆允许你使用单一大纲创建数据的多种视图』=>『克隆允许你在单一提纲内创建数据的多种视图』
『创建所有找到节点的克隆』=>『创建所有已找到节点的克隆』
『 组织节点是大纲数据的全新视图』=>『组织节点是提纲数据的全新视图』以及多余空格
『大纲数据』=>『提纲数据』

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

- C
Moving C right gives this outline::
右移 C, 大纲变成::
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

『大纲』=>『提纲』

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

pair: Directive; Tutorial

Leo **directives** control Leo's operations. Directives start with ``@`` in the leftmost column of body text. Directives **apply to descendants** until overridden in descendant nodes.
Leo **指令** 控制 Leo 的运行. 指令在内容文本的起始位置, 以 ``@`` 开头. 指令 **应用于后代**, 直到在后代节点中被覆盖.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

『内容文本』=>『正文』

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

pair: @language; Tutorial

The **@language** directive tells which language is in effect::
**@language** 指令显示使用的语言::
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@language 指令显示使用的语言』=>『@language 指令指示哪种语言有效』

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

pair: Negative tab width; Tutorial

The **@pagewidth** directive set page width (used when formatting paragraphs). The **@tabwidth** directive controls tabbing. Negative tab widths (recommended for Python) convert tabs to spaces::
**@pagewidth** 指令设置页面宽度 (格式化段落使用). **@tabwidth** 指令控制缩进. 负数制表符 (推荐 Python 使用) 转化制表符为空格::
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

『负数制表符 (推荐 Python 使用) 转化制表符为空格』=>『负的制表符宽度 (推荐 Python 使用) 将制表符转化为空格』

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

建议保留原文

pair: @nowrap; Tutorial

The **@wrap** and **@nowrap** enable or disable line wrapping in the body pane::
**@wrap** **@nowrap** 允许和禁止内容窗格中的自动换行::
Copy link
Collaborator

@livingworld livingworld Apr 10, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

『允许和禁止内容窗格中的自动换行』=>『启用或禁用正文窗格中的自动换行』

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@wrap
The **@first** directive ensures that lines appear at the very start of an external file. See the next section. Multiple @first directives are allowed. These directives must be the *very first* lines of body text::
**@first** 指令确保其后跟的内容, 出现在每一个外部文件 (阅读下一部分) 的开头. 多个 @first 指令可行. 这些指令必须出现在内容文本的 **首行**.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

『内容文本』=>『正文』

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

.. _`指令索引`: directives.html

Leo has many other directives, described in the `directives reference page`_.
Leo 的其他指令在 `指令索引`_ 中详述.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

『Leo 的其他指令在 指令索引_ 中详述.』=>『Leo 的其他指令, 如 指令索引_ 所述.』

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

Copy link
Collaborator

@livingworld livingworld left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

校对完毕, 修改建议, 仅供参考.

++++++++++++

Leo outlines can refer to **external files**, files on your file system. Leo quickly loads the files when opening Leo outlines. The following sections discuss only the basics. See `Leo's Reference Guide <directives.html>`_ for full details.
Leo 大纲可索引 **外部文件**, 即文件系统中的文件. 当打开 Leo 大纲时, Leo 会快速读取文件. 下节仅讨论基础. 更多细节请移步 `Leo 索引指南 <directives.html>`_ .
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

『 大纲』=>『提纲』
『 读取文件』=>『加载文件』

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@file ../../notes.txt

The @file node and its descendants represent an external file. Leo updates @file nodes when you change external files outside of Leo. When saving an outline, Leo writes all changed @file trees to their external files.
@file 节点及其后代, 代表了一个外部文件. 当你修改 Leo 外的外部文件时, Leo 会自动更新 @file 节点. 当保存大纲时, Leo 自动将所有对 @file 树的修改写入外部文件.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

『 当你修改 Leo 外的外部文件时』=>『当你更改 Leo 之外的外部文件时』

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

pair: Markup; Tutorial

Leo's **markup** tells Leo how to create external files from @file trees. Markup may appear in any body text, and *must* appear in the body of the @file node itself.
Leo 的 **标记** 显示 Leo 如何从 @file 树中创建外部文件. 标记可出现在任意内容文本中, 且 **必须** 出现在 @file 节点本身的内容中.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

『 任意内容文本』=>『任意正文』
『 本身的内容中』=>『本身的正文中』

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

Leo 的 **标记** 显示 Leo 如何从 @file 树中创建外部文件. 标记可出现在任意内容文本中, 且 **必须** 出现在 @file 节点本身的内容中.

There are two kinds of markup: **section references** (<< this is my section >>) and the **@others** directive. Section references refer to **named nodes**, nodes whose *headlines* look like a section reference. @others refers to all *other* (unnamed) nodes. Here is the body text of a typical @file node for a python file::
标记有两种: **部分索引** (<<这是我们的部分>>) **@others** 指令. 部分索引指向 **命名节点**, 即 *标题* 看起来像部分索引的节点. @other 指向所有 *其他* (未使用部分命名) 节点. 下面是一个 python 文件典型的 @file 节点的内容文本::
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

『 部分索引』=>『章节索引』
『未使用部分命名』=>『未命名』
『内容文本』=>『正文』

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

子节点必须定义 <<import>> 节点以及控制类型的方法.

When writing this file, Leo writes the first two lines::
当写入这个文件时, Leo 写入头两行::
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

『控制类型』=>『控制类』或 『控制类型』=>『Controller 类』
『写入』=>『编写』

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

++++++

Leo is a full-featured outliner with the following special features:
Leo 是一个全能的提纲编辑器, 特性如下:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

『Leo 是一个全能的提纲编辑器, 特性如下』=>『Leo 是一个功能齐全的提纲编辑器, 具有以下特性』

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

全能 -> 功能齐全
特性部分, 建议保留原文

- 指令控制 Leo 如何运行.
- @file @clean 节点创建外部文件.
- myLeoSettings.leo 指定你的个人设置.
- 插件扩展 Leo. @enabled-plugins 设置节点允许插件.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

『设置节点允许插件』=>『设置节点启用插件』

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

- @button and @command nodes define scripts that can be applied to *other* nodes.
- @test nodes create unit tests.
- Alt-1 enables autocompletion.
- Leo 拥有一个简单易用的脚本 API, 可获取大纲所有数据.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

『简单易用』=>『易用』
『可获取大纲所有数据』=>『可完全访问提纲中的所有数据』

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

- Leo 拥有一个简单易用的脚本 API, 可获取大纲所有数据.
- @button @command 节点定义了脚本, 其适用于所有 *other* 节点.
- @test 节点创建单元测试.
- Alt-1 允许自动补全.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

『允许』=>『启用』

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

.. _`Leo 命令索引`: commands.html

Leo has hundreds of commands, described in `Leo's Command Reference`_. Please feel free to `ask for help`_ at any time.
`Leo 命令索引`_ 中详述 Leo 的百余种命令. 请随时参阅 `求助`_.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leo 命令索引_ 中详述 Leo 的百余种命令. 请随时参阅 求助_ 』=>『Leo 有百余种命令, 如 Leo 命令索引_ 所述』

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

pair: Body text; Tutorial

Leo stores all data in **nodes**. Nodes have **headlines**, shown in the outline pane, and **body text**. The body pane shows the body text of the **presently selected node**, the node whose headline is selected in the outline pane. Headlines have an **icon box** indicating a nodes status. For example, the icon box has a black border when the node has been changed.
Leo 存储所有数据至 **节点**. 节点有 **标题** (提纲窗格显示) 和 **内容文本**. 内容窗格显示
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok


Leo stores all data in **nodes**. Nodes have **headlines**, shown in the outline pane, and **body text**. The body pane shows the body text of the **presently selected node**, the node whose headline is selected in the outline pane. Headlines have an **icon box** indicating a nodes status. For example, the icon box has a black border when the node has been changed.
Leo 存储所有数据至 **节点**. 节点有 **标题** (提纲窗格显示) 和 **内容文本**. 内容窗格显示
**当前选中节点** 的内容文本, 其节点标题在大纲窗格中被选中. 标题的 **图标框** 表明节点状态. 例如, 当节点修改后, 图标框的边线变黑.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

.. _`Emacs 迷你缓冲`: https://www.gnu.org/software/emacs/manual/html_node/emacs/Minibuffer.html

Leo has hundreds of commands, described in `Leo's Command Reference`_. **Very important**: You can (and should) ignore most of these commands at first. You execute commands using `key bindings`_ or *by name* in `Leo's minibuffer`_, similar to the `Emacs minibuffer`_.
Leo 的百余种命令在 `Leo 命令索引`_ 中详述. **非常重要**: 你可以 (且应该) 首先无视这些命令中的绝大多数. 执行命令, 可使用 `按键绑定`_, 或在 `Leo 迷你缓冲`_ 使用名称, 类似 `Emacs 迷你缓冲`_.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 ok
2 ok
3 ok 我已在 minibuffer 第一次出现时, 增加译注. 其余地方, 均保持原文 minibuffer


You could type the full command name in the minibuffer, followed by the ``<Return>`` key to invoke the command, but that would be *way* too much work. Instead, you should use **typing completion** to avoid most typing. For example, you can execute the sort-lines commands this way::
激活命令, 可在迷你缓冲中输入命令全名并敲击 ``<Return>``, 但那将是海量工作. 相反,
你应该使用 **输入补全** 避免大部分输入. 例如, 你可以这样执行 行分类 命令:::
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok. 不翻译. 改为: sort-lines (行分类)

<Alt-X>so<Tab>
Now the minibuffer will list common prefix of all commands that start with "so", namely::
现在, 迷你缓冲将列出所有以 "so" 开头的常用命令, 即:::
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

建议 common 翻译为 常用.

++++++

Leo is a full-featured outliner with the following special features:
Leo 是一个全能的提纲编辑器, 特性如下:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

全能 -> 功能齐全
特性部分, 建议保留原文

- 指令控制 Leo 如何运行.
- @file @clean 节点创建外部文件.
- myLeoSettings.leo 指定你的个人设置.
- 插件扩展 Leo. @enabled-plugins 设置节点允许插件.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

- @button and @command nodes define scripts that can be applied to *other* nodes.
- @test nodes create unit tests.
- Alt-1 enables autocompletion.
- Leo 拥有一个简单易用的脚本 API, 可获取大纲所有数据.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

- Leo 拥有一个简单易用的脚本 API, 可获取大纲所有数据.
- @button @command 节点定义了脚本, 其适用于所有 *other* 节点.
- @test 节点创建单元测试.
- Alt-1 允许自动补全.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

.. _`Leo 命令索引`: commands.html

Leo has hundreds of commands, described in `Leo's Command Reference`_. Please feel free to `ask for help`_ at any time.
`Leo 命令索引`_ 中详述 Leo 的百余种命令. 请随时参阅 `求助`_.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@livingworld livingworld merged commit 9e67c9d into DebugUself:master Apr 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Leo in 10 Minutes

2 participants