|
@@ -7,15 +7,16 @@ msgid ""
|
|
|
msgstr ""
|
|
|
"Project-Id-Version: PyWebIO 1.1.0\n"
|
|
|
"Report-Msgid-Bugs-To: \n"
|
|
|
-"POT-Creation-Date: 2021-02-17 17:57+0800\n"
|
|
|
-"PO-Revision-Date: 2021-02-18 11:23+0800\n"
|
|
|
+"POT-Creation-Date: 2021-02-21 00:26+0800\n"
|
|
|
+"PO-Revision-Date: 2021-02-21 00:28+0800\n"
|
|
|
+"Last-Translator: WangWeimin <wang0.618@qq.com>\n"
|
|
|
+"Language: zh_CN\n"
|
|
|
+"Language-Team: \n"
|
|
|
+"Plural-Forms: nplurals=1; plural=0;\n"
|
|
|
"MIME-Version: 1.0\n"
|
|
|
"Content-Type: text/plain; charset=utf-8\n"
|
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
|
"Generated-By: Babel 2.8.0\n"
|
|
|
-"Last-Translator: WangWeimin <wang0.618@qq.com>\n"
|
|
|
-"Language-Team: \n"
|
|
|
-"Language: zh_CN\n"
|
|
|
"X-Generator: Poedit 2.4.2\n"
|
|
|
|
|
|
#: ../../index.rst:72
|
|
@@ -32,21 +33,20 @@ msgstr "PyWebIO"
|
|
|
|
|
|
#: ../../index.rst:4
|
|
|
msgid ""
|
|
|
-"PyWebIO provides a series of imperative functions to obtain user input "
|
|
|
-"and output on the browser, turning the browser into a \"rich text "
|
|
|
-"terminal\", and can be used to build simple web applications or browser-"
|
|
|
-"based GUI applications. Using PyWebIO, developers can write applications "
|
|
|
-"just like writing terminal scripts (interaction based on input and "
|
|
|
-"print), without the need to have knowledge of HTML and JS. PyWebIO can "
|
|
|
-"also be easily integrated into existing Web services. PyWebIO is very "
|
|
|
-"suitable for quickly building applications that do not require complex "
|
|
|
-"UI."
|
|
|
-msgstr ""
|
|
|
-"PyWebIO提供了一系列命令式的交互函数来在浏览器上获取用户输入和进行输出,将"
|
|
|
-"浏览器变成了一个“富文本终端”,可以用于构建简单的Web应用或基于浏览器的GUI"
|
|
|
-"应用。 使用PyWebIO,开发者能像编写终端脚本一样(基于input和print进行交互)"
|
|
|
-"来编写应用,无需具备HTML和JS的相关知识; PyWebIO还可以方便地整合进现有的"
|
|
|
-"Web服务。非常适合快速构建对UI要求不高的应用。"
|
|
|
+"PyWebIO provides a series of imperative functions to obtain user input and "
|
|
|
+"output on the browser, turning the browser into a \"rich text terminal\", and "
|
|
|
+"can be used to build simple web applications or browser-based GUI applications. "
|
|
|
+"Using PyWebIO, developers can write applications just like writing terminal "
|
|
|
+"scripts (interaction based on input and print), without the need to have "
|
|
|
+"knowledge of HTML and JS. PyWebIO can also be easily integrated into existing "
|
|
|
+"Web services. PyWebIO is very suitable for quickly building applications that do "
|
|
|
+"not require complex UI."
|
|
|
+msgstr ""
|
|
|
+"PyWebIO提供了一系列命令式的交互函数来在浏览器上获取用户输入和进行输出,将浏览器变"
|
|
|
+"成了一个“富文本终端”,可以用于构建简单的Web应用或基于浏览器的GUI应用。 使用"
|
|
|
+"PyWebIO,开发者能像编写终端脚本一样(基于input和print进行交互)来编写应用,无需具备"
|
|
|
+"HTML和JS的相关知识; PyWebIO还可以方便地整合进现有的Web服务。非常适合快速构建对UI"
|
|
|
+"要求不高的应用。"
|
|
|
|
|
|
#: ../../index.rst:7
|
|
|
msgid "Features"
|
|
@@ -62,17 +62,15 @@ msgstr "非声明式布局,布局方式简单高效"
|
|
|
|
|
|
#: ../../index.rst:11
|
|
|
msgid ""
|
|
|
-"Less intrusive: old script code can be transformed into a Web service "
|
|
|
-"only by modifying the input and output logic"
|
|
|
+"Less intrusive: old script code can be transformed into a Web service only by "
|
|
|
+"modifying the input and output operation"
|
|
|
msgstr "代码侵入性小,旧脚本代码仅需修改输入输出逻辑便可改造为Web服务"
|
|
|
|
|
|
#: ../../index.rst:12
|
|
|
msgid ""
|
|
|
-"Support integration into existing web services, currently supports "
|
|
|
-"Flask, Django, Tornado, aiohttp framework"
|
|
|
-msgstr ""
|
|
|
-"支持整合到现有的Web服务,目前支持与Flask、Django、Tornado、aiohttp框架集"
|
|
|
-"成"
|
|
|
+"Support integration into existing web services, currently supports Flask, "
|
|
|
+"Django, Tornado, aiohttp framework"
|
|
|
+msgstr "支持整合到现有的Web服务,目前支持与Flask、Django、Tornado、aiohttp框架集成"
|
|
|
|
|
|
#: ../../index.rst:13
|
|
|
msgid "Support for ``asyncio`` and coroutine"
|
|
@@ -100,8 +98,7 @@ msgstr "开发版::"
|
|
|
|
|
|
#: ../../index.rst:25
|
|
|
msgid ""
|
|
|
-"pip3 install -U https://code.aliyun.com/wang0618/pywebio/repository/"
|
|
|
-"archive.zip"
|
|
|
+"pip3 install -U https://code.aliyun.com/wang0618/pywebio/repository/archive.zip"
|
|
|
msgstr ""
|
|
|
|
|
|
#: ../../index.rst:27
|
|
@@ -114,8 +111,8 @@ msgstr ""
|
|
|
|
|
|
#: ../../index.rst:34
|
|
|
msgid ""
|
|
|
-"Here is a simple PyWebIO script to calculate the `BMI <https://en."
|
|
|
-"wikipedia.org/wiki/Body_mass_index>`_ ::"
|
|
|
+"Here is a simple PyWebIO script to calculate the `BMI <https://en.wikipedia.org/"
|
|
|
+"wiki/Body_mass_index>`_ ::"
|
|
|
msgstr ""
|
|
|
"这是一个使用PyWebIO计算 `BMI指数 <https://en.wikipedia.org/wiki/"
|
|
|
"Body_mass_index>`_ 的脚本:"
|
|
@@ -135,8 +132,7 @@ msgid ""
|
|
|
"\n"
|
|
|
" top_status = [(16, 'Severely underweight'), (18.5, 'Underweight'),\n"
|
|
|
" (25, 'Normal'), (30, 'Overweight'),\n"
|
|
|
-" (35, 'Moderately obese'), (float('inf'), 'Severely "
|
|
|
-"obese')]\n"
|
|
|
+" (35, 'Moderately obese'), (float('inf'), 'Severely obese')]\n"
|
|
|
"\n"
|
|
|
" for top, status in top_status:\n"
|
|
|
" if BMI <= top:\n"
|
|
@@ -169,29 +165,28 @@ msgstr ""
|
|
|
|
|
|
#: ../../index.rst:58
|
|
|
msgid ""
|
|
|
-"This is just a very simple script if you ignore PyWebIO, but after using "
|
|
|
-"the input and output functions provided by PyWebIO, you can interact "
|
|
|
-"with the code in the browser:"
|
|
|
+"This is just a very simple script if you ignore PyWebIO, but after using the "
|
|
|
+"input and output functions provided by PyWebIO, you can interact with the code "
|
|
|
+"in the browser:"
|
|
|
msgstr ""
|
|
|
-"如果没有使用PyWebIO,这只是一个非常简单的脚本,而通过使用PyWebIO提供的输"
|
|
|
-"入输出函数,你可以在浏览器中与代码进行交互:"
|
|
|
+"如果没有使用PyWebIO,这只是一个非常简单的脚本,而通过使用PyWebIO提供的输入输出函"
|
|
|
+"数,你可以在浏览器中与代码进行交互:"
|
|
|
|
|
|
#: ../../index.rst:64
|
|
|
msgid ""
|
|
|
-"In the last line of the above code, changing the function call ``bmi()`` "
|
|
|
-"to `pywebio.start_server(bmi, port=80) <pywebio.platform.tornado."
|
|
|
-"start_server>` will start a bmi web service on port 80 ( :demo_host:"
|
|
|
-"`online Demo </?pywebio_api=bmi>` )."
|
|
|
+"In the last line of the above code, changing the function call ``bmi()`` to "
|
|
|
+"`pywebio.start_server(bmi, port=80) <pywebio.platform.tornado.start_server>` "
|
|
|
+"will start a bmi web service on port 80 ( :demo_host:`online Demo </?"
|
|
|
+"pywebio_api=bmi>` )."
|
|
|
msgstr ""
|
|
|
-"将上面代码最后一行对 ``bmi()`` 的直接调用改为使用 `pywebio."
|
|
|
-"start_server(bmi, port=80) <pywebio.platform.tornado.start_server>` 便可"
|
|
|
-"以在80端口提供 ``bmi()`` 服务( :demo_host:`在线Demo </?"
|
|
|
-"pywebio_api=bmi>` )。"
|
|
|
+"将上面代码最后一行对 ``bmi()`` 的直接调用改为使用 `pywebio.start_server(bmi, "
|
|
|
+"port=80) <pywebio.platform.tornado.start_server>` 便可以在80端口提供 ``bmi()`` 服"
|
|
|
+"务( :demo_host:`在线Demo </?pywebio_api=bmi>` )。"
|
|
|
|
|
|
#: ../../index.rst:66
|
|
|
msgid ""
|
|
|
-"If you want to integrate the ``bmi()`` service into an existing web "
|
|
|
-"framework, you can visit :ref:`Integration with a web framework "
|
|
|
+"If you want to integrate the ``bmi()`` service into an existing web framework, "
|
|
|
+"you can visit :ref:`Integration with a web framework "
|
|
|
"<integration_web_framework>` section of this document."
|
|
|
msgstr ""
|
|
|
"将 ``bmi()`` 服务整合到现有的Web框架请参考 :ref:`与Web框架集成 "
|
|
@@ -206,8 +201,8 @@ msgid ""
|
|
|
"This documentation is also available in `PDF and Epub formats <https://"
|
|
|
"readthedocs.org/projects/pywebio/downloads/>`_."
|
|
|
msgstr ""
|
|
|
-"这个文档同时也提供 `PDF 和 Epub 格式 <https://readthedocs.org/projects/"
|
|
|
-"pywebio/downloads/>`_."
|
|
|
+"这个文档同时也提供 `PDF 和 Epub 格式 <https://readthedocs.org/projects/pywebio/"
|
|
|
+"downloads/>`_."
|
|
|
|
|
|
#: ../../index.rst:98
|
|
|
msgid "Indices and tables"
|
|
@@ -237,6 +232,5 @@ msgstr ""
|
|
|
|
|
|
#: ../../index.rst:110
|
|
|
msgid ""
|
|
|
-"Report bugs on the `GitHub issue <https://github.com/wang0618/pywebio/"
|
|
|
-"issues>`_."
|
|
|
+"Report bugs on the `GitHub issue <https://github.com/wang0618/pywebio/issues>`_."
|
|
|
msgstr ""
|