@@ -48,13 +48,19 @@ msgid ""
4848" Readline manual for information about the format and allowable constructs "
4949"of that file, and the capabilities of the Readline library in general."
5050msgstr ""
51+ " Readline 的按键绑定可以通过一个初始化文件来配置,通常为你的用户主目录中的 ``.inputrc``。 请参阅 GNU Readline "
52+ "手册中的 `Readline 初始化文件 "
53+ "<https://tiswww.cwru.edu/php/chet/readline/rluserman.html#SEC9>`_ "
54+ "了解有关该文件的格式和允许的结构的信息,以及 Readline 库的一般功能。"
5155
5256#: ../../library/readline.rst:29
5357msgid ""
5458"The underlying Readline library API may be implemented by the ``libedit`` "
5559"library instead of GNU readline. On macOS the :mod:`readline` module detects"
5660" which library is being used at run time."
5761msgstr ""
62+ "底层的 Readline 库 API 可能使用 ``libedit`` 库来实现而不是 GNU readline。 在 macOS 上 "
63+ ":mod:`readline` 模块会在运行时检测所使用的是哪个库。"
5864
5965#: ../../library/readline.rst:34
6066msgid ""
@@ -63,6 +69,8 @@ msgid ""
6369"for the text \" libedit\" in :const:`readline.__doc__` to differentiate "
6470"between GNU readline and libedit."
6571msgstr ""
72+ "``libedit`` 所用的配置文件与 GNU readline 的不同。 如果你要在程序中载入配置字符串你可以在 "
73+ ":const:`readline.__doc__` 中检测文本 \" libedit\" 来区分 GNU readline 和 libedit。"
6674
6775#: ../../library/readline.rst:39
6876msgid ""
@@ -71,10 +79,12 @@ msgid ""
7179" example, the following content in ``~/.editrc`` will turn ON *vi* "
7280"keybindings and TAB completion::"
7381msgstr ""
82+ "如果你是在 macOS 上使用 *editline*/``libedit`` readline 模拟,则位于你的主目录中的初始化文件名称为 "
83+ "``.editrc``。 例如,``~/.editrc`` 中的以下内容将开启 *vi* 按键绑定以及 TAB 补全::"
7484
7585#: ../../library/readline.rst:49
7686msgid "Init file"
77- msgstr ""
87+ msgstr "初始化文件 "
7888
7989#: ../../library/readline.rst:51
8090msgid ""
0 commit comments