Translations by Huang Junjie

Huang Junjie has submitted the following strings to this translation. Contributions are visually coded: currently used translations, unreviewed suggestions, rejected suggestions.

117 of 17 results
1.
Text Input
2017-02-24
文本输入
2.
With some limitations, Ren'Py can prompt the user to input a small amount of text. This prompting is done by the renpy.input function, which returns the entered text, allowing it to be saved in a variable or otherwise processed.
2017-02-24
Ren'py可以在某些限制的基础上,实现提示用户录入少量的文本的功能。它通过renpy.input函数实现,可返回输入的文本,也可将其存入变量中或直接继续处理。
3.
Right now, text input is limited to languages that do not require input method (IME) support. Most western languages should work, but Chinese, Japanese, and Korean probably won't.
2017-02-24
当前,文本输入功能暂时不支持输入法。大多数西方国家语言可以使用,但中文、日文和韩文应该是无法实现的。
4.
The renpy.input function is defined as:
2017-02-24
renpy.input函数定义如下:
5.
Calling this function pops up a window asking the player to enter some text. It returns the entered text.
2017-02-24
调用此函数可在游戏中弹出一个窗口,要求玩家输入一些文字,然后再返回输入的文字。
6.
`prompt`
2017-02-24
`prompt`
7.
A string giving a prompt to display to the player.
2017-02-24
实现在屏幕上对玩家发出提示的字串。
8.
`default`
2017-02-24
`default`
9.
A string giving the initial text that will be edited by the player.
2017-02-24
可由玩家自由编辑的默认文本字串。
10.
`allow`
2017-02-24
`allow`
11.
If not None, a string giving a list of characters that will be allowed in the text.
2017-02-24
若不为None,则其为显示可输入的文字字串。
12.
`exclude`
2017-02-24
`exclude`
13.
If not None, if a character is present in this string, it is not allowed in the text.
2017-02-24
若不为None,则其为不可输入的文字字串。
14.
`length`
2017-02-24
`length`
15.
If not None, this must be an integer giving the maximum length of the input string.
2017-02-24
若不为None,则此处必须为规定最大输入长度的字串。
16.
`pixel_width`
2017-02-24
`pixel_width`
18.
Code that uses renpy.input will often want to process the result further, using standard python string manipulation functions. For example, the following code will ask the player for his or her name and remove leading or trailing whitespace. If the name is empty, it will be replaced by a default name. Finally, it is displayed to the user. ::
2017-02-24
使用renpy.input的代码,通常会以标准python字串处理函数来生成结果。例如,如下代码询问了玩家的名字,并移除了前后的空格。如果名字为空,则它将会被默认的名字替代,最终显示给用户: