Browsing Chinese (Simplified) translation

Don't show this notice anymore
Before translating, be sure to go through Launchpad Translators instructions and Chinese (Simplified) guidelines.
19 of 9 results
1.
In-Game Menus
选择肢(游戏内选项)
Translated and reviewed by Huang Junjie on 2017-02-24
Located in ../../source/menus.rst:9
2.
In many visual novels, the player is asked to make choices that control the outcome of the story. The Ren'Py language contains a menus statement that makes it easy to present choices to the user.
在大多数视觉小说游戏中,玩家都会被要求从故事中出现的选项。Ren'py语言包含一个menu语句,使得您可以简单地向用户提供选项。
Translated and reviewed by Huang Junjie on 2017-02-24
Located in ../../source/menus.rst:11
3.
Here's an example of a menu statement::
这是一个menu语句的范例:
Translated and reviewed by Huang Junjie on 2017-02-24
Located in ../../source/menus.rst:15
4.
The menu statement begins with the keyword menu. This may be followed by a label name, in which case it's equivalent to preceding the menu with that label. For example::
menu语句开始于关键词menu。若在后面接续label标签名,则接下来前进到的label与选项后设定的label相同。例如:
Translated and reviewed by Huang Junjie on 2017-02-24
Located in ../../source/menus.rst:35
5.
The menu statement is followed by an indented block. This block may contain a :ref:`say statement <say-statement>`, and must contain at least one menu choice. If the say statement is present, it is displayed on the screen at the same time as the menu.
menu语句需要使用缩进块接续。这格区块可以包含:ref:`say语句 <say-statement>`,并必须至少包含一个选项。如果存在say语句,那么它就会与选项同时显示到屏幕上。
Translated and reviewed by Huang Junjie on 2017-02-24
Located in ../../source/menus.rst:42
6.
**Menu Choices.** A menu choice is an option the user can select from the in-game menu. A menu choice begins with a string. The string may be followed by an if-clause, which makes the choice conditional. The menu choice ends with a colon, and must be followed by a block of Ren'Py statements.
**选项** 选择肢(选项)是在游戏内菜单中给用户提供选择的一种选项。选项内容以字串开始,字串可包含if子句,使得选项变成一个判定条件。选项内容结束于冒号,并必须跟随在Ren'py语句的区块后。
Translated and reviewed by Huang Junjie on 2017-02-24
Located in ../../source/menus.rst:47
7.
When the choice is selected, the block of code is run. If execution reaches the end of this block of code, it continues with the statement after the end of the menu statement.
当选项被选中时,对应区块内的代码就被运行。若执行到了该区块的尾部,它就会自动执行menu语句的后一行语句。
Translated and reviewed by Huang Junjie on 2017-02-24
Located in ../../source/menus.rst:54
8.
An if-clause consists of the keyword ``if``, followed by a python expression. The menu choice is only displayed if the expression is true. In the following menu::
if子句包含关键词``if``,以Python表达式接续。选项仅会在表达式值为true时才会显示。如下例:
Translated and reviewed by Huang Junjie on 2017-02-24
Located in ../../source/menus.rst:58
9.
The third choice will only be presented if the drank_tea variable is true.
第三个选项仅在drank_tea变量为true值时才会显示。
Translated and reviewed by Huang Junjie on 2017-02-24
Located in ../../source/menus.rst:70
19 of 9 results

This translation is managed by Launchpad Simplified Chinese Translators, assigned by Launchpad Translators.

You are not logged in. Please log in to work on translations.

Contributors to this translation: Huang Junjie.