|
1.
|
|
|
Text Input
|
|
|
|
Текстовый ввод
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/input.rst:6
|
|
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.
|
|
|
|
Ren'Py может запросить ввод текста у пользователя, с небольшими ограничениями. Запрос выполняется через функцию renpy.input, которая возвращает введенный текст, позволяя сохранить его в переменной или обработать любым другим способом.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/input.rst:8
|
|
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.
|
|
|
|
В настоящее время, текстовый ввод недоступен для языков, требующих поддержки IME. Большинство языков, основанных на латинице и кириллице должны работать, но такие языки, как китайский, японский и корейский работать не будут.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/input.rst:13
|
|
4.
|
|
|
The renpy.input function is defined as:
|
|
|
|
Определение функции renpy.input:
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/input.rst:17
|
|
5.
|
|
|
Calling this function pops up a window asking the player to enter some text. It returns the entered text.
|
|
|
|
Вызов этой функции показывает окно, просящее пользователя ввести текст. Она возвращает текст, введенный пользователем.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/inc/input:5
|
|
6.
|
|
|
`prompt`
|
|
|
|
`prompt`
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/inc/input:9
|
|
7.
|
|
|
A string giving a prompt to display to the player.
|
|
|
|
Запрос, показываемый пользователю.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/inc/input:9
|
|
8.
|
|
|
`default`
|
|
|
|
`default`
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/inc/input:12
|
|
9.
|
|
|
A string giving the initial text that will be edited by the player.
|
|
|
|
Значение по умолчанию, которое пользователь может отредактировать
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/inc/input:12
|
|
10.
|
|
|
`allow`
|
|
|
|
`allow`
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/inc/input:16
|