@@ -8,88 +8,98 @@ msgid ""
8
8
msgstr ""
9
9
"Project-Id-Version : bitproto 0.4.0\n "
10
10
"Report-Msgid-Bugs-To : \n "
11
- "POT-Creation-Date : 2021-02-02 22:59 +0800\n "
11
+ "POT-Creation-Date : 2021-07-31 14:53 +0800\n "
12
12
"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
13
13
"Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
14
14
"Language-Team : LANGUAGE <LL@li.org>\n "
15
15
"MIME-Version : 1.0\n "
16
16
"Content-Type : text/plain; charset=utf-8\n "
17
17
"Content-Transfer-Encoding : 8bit\n "
18
- "Generated-By : Babel 2.9.0 \n "
18
+ "Generated-By : Babel 2.9.1 \n "
19
19
20
- #: ../../compiler.rst:4 37f87d891a9c41acb10217f25b989466
20
+ #: ../../compiler.rst:4 18430fedb15b4d3293f76aaa45209f7c
21
21
msgid "Compiler"
22
22
msgstr "编译器"
23
23
24
- #: ../../compiler.rst:6 fd2928cde6e340dba5097ddc13e9eb8f
24
+ #: ../../compiler.rst:6 9e286ee7758449789059175f86faa807
25
25
msgid ""
26
26
"The bitproto compiler generates language-specific code, which provides "
27
27
"the encode and decode api functions."
28
28
msgstr "bitproto 的编译器用来解析 bitproto 的源文件,然后生成目标语言的代码。"
29
29
30
- #: ../../compiler.rst:12 28cf28a6e2364974a57675ecfe87902d
30
+ #: ../../compiler.rst:12 b938ad80b944441c8c87b486f9e0f4ea
31
31
msgid "Installing the compiler"
32
32
msgstr "安装编译器"
33
33
34
- #: ../../compiler.rst:14 d32480f115944933ad54c6199135094a
34
+ #: ../../compiler.rst:14 a3bc78797a7a4ff482d2e84b40903627
35
35
msgid ""
36
36
"The bitproto compiler is written in Python, and requires `Python3.7+ "
37
37
"<https://www.python.org/downloads/>`_ to work, it's best to be installed "
38
38
"via `pip <http://pip-installer.org/>`_:"
39
- msgstr "bitproto 的编译器使用 Python 编写,依赖 "
40
- "`Python3.7+ <https://www.python.org/downloads/>`_ ,"
41
- "最佳的安装方式是通过 `pip <http://pip-installer.org/>`_ :"
39
+ msgstr ""
40
+ "bitproto 的编译器使用 Python 编写,依赖 `Python3.7+ "
41
+ "<https://www.python.org/downloads/>`_ ,最佳的安装方式是通过 `pip <http://pip-"
42
+ "installer.org/>`_ :"
42
43
43
- #: ../../compiler.rst:21 148d28a2688140bbba6898e354491ac6
44
+ #: ../../compiler.rst:21 5bedfeb9579741369085ec9e5205f84b
44
45
msgid ""
45
46
"This will install a command named ``bitproto`` to your system, you can "
46
47
"check it's version after the installation:"
47
48
msgstr "上面的命令会安装一个叫做 ``bitproto`` 的命令行工具,你可以在安装后查看下它的版本信息:"
48
49
49
- #: ../../compiler.rst:28 b131be7327c04d6e8f52b74302641b0b
50
+ #: ../../compiler.rst:28 7a5f262f8bcb411da41e661aaea34714
50
51
msgid ""
51
52
"If you're new to Python, or wish to skip a Python installation, you can "
52
53
"download the compiler from `this download link "
53
54
"<https://github.com/hit9/bitproto/releases>`_ directly, there provides "
54
55
"the prebuilt one-file executables for Mac OS, Windows and Linux, which "
55
56
"works without having to install a Python3.7+."
56
- msgstr "如果你对 Python 不熟悉,或者希望跳过 Python 安装,可以直接进 "
57
- "`这个下载链接 <https://github.com/hit9/bitproto/releases>`_ "
58
- "提供了预先打包好的单文件可执行程序,包含 Mac OS, Windows 和 Linux 的三个版本,"
59
- "这些打包好的程序无需安装 Python3.7+ 就可以使用。"
57
+ msgstr ""
58
+ "如果你对 Python 不熟悉,或者希望跳过 Python 安装,可以直接进 `这个下载链接 "
59
+ "<https://github.com/hit9/bitproto/releases>`_ 提供了预先打包好的单文件可执行程序,包含 Mac "
60
+ "OS, Windows 和 Linux 的三个版本,这些打包好的程序无需安装 Python3.7+ 就可以使用。"
61
+
62
+ #: ../../compiler.rst:34 1d3a8dd1b86245558740171ef5223154
63
+ #, fuzzy
64
+ msgid "Upgrade the compiler"
65
+ msgstr "升级编译器"
66
+
67
+ #: ../../compiler.rst:36 1faec5148a96460abe43432787bee0bd
68
+ msgid "To upgrade bitproto via ``pip``:"
69
+ msgstr "要通过 ``pip`` 升级 bitproto 的编译器"
60
70
61
- #: ../../compiler.rst:34 a9b3325d451f41589f4bac48039474a7
71
+ #: ../../compiler.rst:43 a7454cdbca2746a2b91ec35990ed5d90
62
72
msgid "Command line usage"
63
73
msgstr "命令行使用"
64
74
65
- #: ../../compiler.rst:36 691bd9150983482b8738e966d98db43e
75
+ #: ../../compiler.rst:45 1517ffb46cff4411a5dc33ad9aff1462
66
76
msgid "Generates code for given language:"
67
77
msgstr "给目标语言生成代码:"
68
78
69
- #: ../../compiler.rst:44 29125a4f5f0f4350a3feb11a27885c86
79
+ #: ../../compiler.rst:53 9d3996501f7a4d8fa7ec689ca842829a
70
80
msgid ""
71
81
"It generates language-specific codes to current directory by default, to "
72
82
"specify a output directory:"
73
83
msgstr "默认地,它会把代码生成到当前目录,如果想指定一个生成目录:"
74
84
75
- #: ../../compiler.rst:51 b56183844def4a09b23ddd68d14b4f91
85
+ #: ../../compiler.rst:60 13643cb35666433086796cf4b0e145c9
76
86
msgid ""
77
87
"Validates bitproto source file syntax, exits with a non-zero code if any "
78
88
"syntax wrongs:"
79
89
msgstr "仅仅检查 bitproto 的语法是否正确,如果语法错误,编译器会以一个非零的码退出:"
80
90
81
- #: ../../compiler.rst:57 8a1fe76a34fe42aaa132b9e047ef9ab4
91
+ #: ../../compiler.rst:66 4114f3fa739b4df6a18a1e2b04d2000b
82
92
msgid ""
83
93
"The compiler won't generate files but only run a protocol syntax checking"
84
94
" if `-c` option is given."
85
95
msgstr "如果 ``-c`` 选项传入,编译器只做语法检查,而不会进行代码生成。"
86
96
87
- #: ../../compiler.rst:61 8c4f9d30ddce4391a5447af63d612483
97
+ #: ../../compiler.rst:70 18227812bc6941dda8cd7ac54766f9e5
88
98
msgid ""
89
99
"By default, the compiler runs a simple protocol linter, which gives "
90
100
"warnings if the given bitproto file doesn't meet the :ref:`style-guide`, "
91
101
"to disable the linter:"
92
- msgstr "默认地,编译器会执行一个简单的协议风格检查器, "
93
- "以检查是否符合 bitproto 推荐的 :ref:`语法风格 <style-guide>`。 "
94
- "如果需要禁用它:"
102
+ msgstr ""
103
+ "默认地,编译器会执行一个简单的协议风格检查器, 以检查是否符合 bitproto 推荐的 :ref:`语法风格 <style-"
104
+ "guide>`。 如果需要禁用它:"
95
105
0 commit comments