-
Notifications
You must be signed in to change notification settings - Fork 383
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
61 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,8 +7,8 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PyWebIO 1.1.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2021-10-05 13:59+0800\n" | ||
"PO-Revision-Date: 2021-10-05 16:18+0800\n" | ||
"POT-Creation-Date: 2021-10-12 12:32+0800\n" | ||
"PO-Revision-Date: 2021-10-12 12:35+0800\n" | ||
"Last-Translator: WangWeimin <[email protected]>\n" | ||
"Language: zh_CN\n" | ||
"Language-Team: \n" | ||
|
@@ -294,7 +294,7 @@ msgid "Basic Output" | |
msgstr "基本输出" | ||
|
||
#: ../../guide.rst:199 | ||
msgid "PyWebIO provides a series of functions to output text, tables, images, etc:" | ||
msgid "Using output functions, you can output a variety of content, such as text, tables, images and so on:" | ||
msgstr "PyWebIO提供了一系列函数来输出文本、表格、图像等格式:" | ||
|
||
#: ../../guide.rst:201 | ||
|
@@ -513,9 +513,9 @@ msgid "" | |
"def btn_click(btn_val):\n" | ||
" put_text(\"You click %s button\" % btn_val)\n" | ||
"\n" | ||
"put_buttons(['A', 'B', 'C'], onclick=btn_click)\n" | ||
"put_buttons(['A', 'B', 'C'], onclick=btn_click) # a group of buttons\n" | ||
"\n" | ||
"put_button(\"Click me\", onclick=lambda: toast(\"Clicked\"))" | ||
"put_button(\"Click me\", onclick=lambda: toast(\"Clicked\")) # single button" | ||
msgstr "" | ||
|
||
#: ../../guide.rst:393 | ||
|
@@ -1714,3 +1714,6 @@ msgstr "" | |
#~ msgstr "" | ||
#~ "将PyWebIO应用部署为web服务的另一种方式是使用 `path_deploy() <pywebio.platform.path_deploy>` 。`path_deploy() <pywebio.platform.path_deploy>` 可以" | ||
#~ "从一个目录中部署PyWebIO应用,只需要在该目录下的python文件中定义PyWebIO应用,就可以通过URL中的路径来访问这些应用了。" | ||
|
||
#~ msgid "PyWebIO provides a series of functions to output text, tables, images, etc:" | ||
#~ msgstr "PyWebIO提供了一系列函数来输出文本、表格、图像等格式:" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,8 +7,8 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PyWebIO 1.1.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2021-10-05 13:39+0800\n" | ||
"PO-Revision-Date: 2021-10-05 14:48+0800\n" | ||
"POT-Creation-Date: 2021-10-12 12:32+0800\n" | ||
"PO-Revision-Date: 2021-10-12 12:32+0800\n" | ||
"Last-Translator: WangWeimin <[email protected]>\n" | ||
"Language: zh_CN\n" | ||
"Language-Team: \n" | ||
|
@@ -33,10 +33,10 @@ msgstr "PyWebIO" | |
|
||
#: ../../index.rst:4 | ||
msgid "" | ||
"PyWebIO provides a series of imperative functions to obtain user input and output " | ||
"content 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 " | ||
"PyWebIO provides a diverse set of imperative functions to obtain user input and " | ||
"output content 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 function), 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 " | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,8 +7,8 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PyWebIO 1.1.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2021-10-05 16:10+0800\n" | ||
"PO-Revision-Date: 2021-10-05 16:11+0800\n" | ||
"POT-Creation-Date: 2021-10-12 12:32+0800\n" | ||
"PO-Revision-Date: 2021-10-12 12:36+0800\n" | ||
"Last-Translator: WangWeimin <[email protected]>\n" | ||
"Language: zh_CN\n" | ||
"Language-Team: \n" | ||
|
@@ -159,12 +159,12 @@ msgstr "你可以在文件夹中创建一个 `index.py` PyWebIO应用文件来 | |
msgid "" | ||
"Directory to store the application static files. The files in this directory can " | ||
"be accessed via ``http://<host>:<port>/static/files``. For example, if there is a " | ||
"``A/B.jpg`` file in ``http_static_dir`` path, it can be accessed via ``http://" | ||
"<host>:<port>/static/A/B.jpg``." | ||
"``A/B.jpg`` file in ``static_dir`` path, it can be accessed via ``http://<host>:" | ||
"<port>/static/A/B.jpg``." | ||
msgstr "" | ||
"应用静态文件目录。目录下的文件可以通过 ``http://<host>:<port>/static/files`` 访问。" | ||
"例如 ``http_static_dir`` 路径下存在文件 ``A/B.jpg`` ,则其URL为 ``http://<host>:" | ||
"<port>/static/A/B.jpg``。" | ||
"例如 ``static_dir`` 路径下存在文件 ``A/B.jpg`` ,则其URL为 ``http://<host>:<port>/" | ||
"static/A/B.jpg``。" | ||
|
||
#: of pywebio.platform.path_deploy.path_deploy:17 | ||
#: pywebio.platform.tornado.start_server:31 | ||
|
@@ -347,12 +347,12 @@ msgstr "" | |
msgid "" | ||
"The directory to store the application static files. The files in this directory " | ||
"can be accessed via ``http://<host>:<port>/static/files``. For example, if there " | ||
"is a ``A/B.jpg`` file in ``http_static_dir`` path, it can be accessed via ``http://" | ||
"is a ``A/B.jpg`` file in ``static_dir`` path, it can be accessed via ``http://" | ||
"<host>:<port>/static/A/B.jpg``." | ||
msgstr "" | ||
"应用静态文件目录。目录下的文件可以通过 ``http://<host>:<port>/static/files`` 访问。" | ||
"例如 ``http_static_dir`` 路径下存在文件 ``A/B.jpg`` ,则其URL为 ``http://<host>:" | ||
"<port>/static/A/B.jpg``。" | ||
"例如 ``static_dir`` 路径下存在文件 ``A/B.jpg`` ,则其URL为 ``http://<host>:<port>/" | ||
"static/A/B.jpg``。" | ||
|
||
#: of pywebio.platform.tornado.start_server:27 | ||
msgid "" | ||
|