1
# SOME DESCRIPTIVE TITLE.
2
# Copyright (C) 2012, Tom Rothamel
3
# This file is distributed under the same license as the Ren'Py Visual Novel Engine package.
4
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
9
"Project-Id-Version: Ren'Py Visual Novel Engine 6.15.7\n"
10
"Report-Msgid-Bugs-To: \n"
11
"POT-Creation-Date: 2013-10-06 11:52\n"
12
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
"Language-Team: LANGUAGE <LL@li.org>\n"
16
"Content-Type: text/plain; charset=UTF-8\n"
17
"Content-Transfer-Encoding: 8bit\n"
19
#: ../../source/modes.rst:8
20
# 5e4f2396ebe94d62b704884870c8b951
24
#: ../../source/modes.rst:10
25
# 50102d74913c437ea707e04ce6ecacba
26
msgid "In Ren'Py, a mode is a concise way of describing the type of an interaction. When a mode is reported to Ren'Py, user-defined callbacks can be run. These calbacks can be used to react to a change in mode, perhaps by reconfiguring the user interface. For example, one can cause a transition to occur when switching from ADV-mode to NVL-mode, or when going to a menu, etc."
29
#: ../../source/modes.rst:17
30
# 5e900eb43e824bea8411a1cfaea83a6a
31
msgid "The goal of the mode systems is to provide a powerful and flexible way of detecting and responding to these changes."
34
#: ../../source/modes.rst:21
35
# d9e5c1dc334440f98377e585c249d184
39
#: ../../source/modes.rst:23
40
# 1a9fe28121de49b2b157a96386a364ab
41
msgid "The following are the modes corresponding to built-in interactions:"
44
#: ../../source/modes.rst:29
45
# 9f256ab280e54c72ac796bfb2c1fdb7a
49
#: ../../source/modes.rst:26
50
# 247231a9be2a46f99b41feb2cc2f5365
51
msgid "This is the mode that Ren'Py is in when a new context is created, such as at the start of a game. Ren'Py never automatically enters this mode, but instead, initializes the list of modes to include start."
54
#: ../../source/modes.rst:32
55
# 9e29660ca04a4880bca91dec6d3d5ba2
59
#: ../../source/modes.rst:32
60
# 3b39d4c84faf43b6bd7c4915d3198473
61
msgid "The mode Ren'Py enters when an ADV-mode say executes."
64
#: ../../source/modes.rst:35
65
# 363f63d26dd24732843cd9fb313169d0
69
#: ../../source/modes.rst:35
70
# 85e56e913b6842eeb12bfe1dfe1a9f03
71
msgid "The mode Ren'Py enters when an ADV-mode menu executes."
74
#: ../../source/modes.rst:38
75
# c462ccb617c747deba7f1283d6435cdc
79
#: ../../source/modes.rst:38
80
# 3458e645882d491f9f70289749c0829e
81
msgid "The mode Ren'Py enters when an NVL-mode say executes."
84
#: ../../source/modes.rst:41
85
# 1a2d6731fbd24e60b6690c64e58dea4f
89
#: ../../source/modes.rst:41
90
# c7108c71a46c4016b88611948b5485e0
91
msgid "The mode Ren'Py enters when an NVL-mode menu executes."
94
#: ../../source/modes.rst:46
95
# 6985f856a8e0484ea2ee3e11841c046e
99
#: ../../source/modes.rst:44
100
# 5af4d4151e104220b099ad1ff7e920b2
101
msgid "The mode Ren'Py enters when :func:`renpy.pause` is run. This is also the mode Ren'Py is in when a ``pause`` statement of indefinite duration occurs."
104
#: ../../source/modes.rst:55
105
# 04132fba9365482f8a6d8840e5355847
109
#: ../../source/modes.rst:49
110
# f2ea1f3fc55f450aa699372d6101b14e
111
msgid "The mode Ren'Py enters when a transition introduced by the ``with`` statement occurs. This is also used for ``pause`` statement with a duration specified."
114
#: ../../source/modes.rst:53
115
# 5adfe3272e6747f8ab22f807d5390e33
116
msgid "Note that the with mode is entered at the start of the with statement, which is after any preceding scene, show, or hide statements have been run."
119
#: ../../source/modes.rst:59
120
# 6be77db95b844b1aa2a935cfd80bd153
124
#: ../../source/modes.rst:58
125
# 230f437bc2414927bbf5c3fad974d91b
126
msgid "The mode Ren'Py enters when a screen is invoked using the ``call screen`` statement."
129
#: ../../source/modes.rst:63
130
# b0f3f9126e1144729906f3e11927ee95
134
#: ../../source/modes.rst:62
135
# d373555a964d4f58be354a19b9bb0d34
136
msgid "The mode Ren'Py enters when an old-style imagemap is invoked using :func:`renpy.imagemap`."
139
#: ../../source/modes.rst:67
140
# 71d0e956615542a7a3613714f38e7a83
144
#: ../../source/modes.rst:66
145
# 7950c106c381459d8100b37e16210ed8
146
msgid "The mode Ren'Py enters when text input is requested using the :func:`renpy.input` function."
149
#: ../../source/modes.rst:69
150
# efa254b0439a4a8893ed2256720fbb74
151
msgid "Other modes can be entered by calling the renpy.mode function."
154
#: ../../source/inc/modes:5
155
# 46f711d5aa274596b79746e029ada770
156
msgid "Causes Ren'Py to enter the named mode, or stay in that mode if it's already in it."
159
#: ../../source/modes.rst:75
160
# c66c6de630f54d0aadc0a75efaa3fb3b
161
msgid "Mode Callbacks"
164
#: ../../source/modes.rst:77
165
# 4ffdf88f82c84d8d88bb224ab676db8b
166
msgid "The :var:`config.mode_callbacks` variable contains a list of mode callbacks that are invoked whenever Ren'Py enters a mode. The mode callbacks are called with two parameters:"
169
#: ../../source/modes.rst:82
170
# 92329bccb8694f6fbede51d0bc9dbf04
174
#: ../../source/modes.rst:82
175
# f8ffba34c53345ccbf96e509cc5a868c
176
msgid "A string giving the name of the mode that we are entering."
179
#: ../../source/modes.rst:86
180
# 39586fd09bbe4c0089840dddbc382153
184
#: ../../source/modes.rst:85
185
# 20e81325a4504e61a09a90c6f001c212
186
msgid "A list of strings, giving the modes that the system has previously entered, ordered from most recent to least recent."
189
#: ../../source/modes.rst:88
190
# 20e4f5184f3740feb8bfb74bcc7ab118
191
msgid "Note that when entering a mode we're already in, the first item in `old_modes` will be equal to `mode`."
194
#: ../../source/modes.rst:93
195
# 3660e0800bab49e0bb177c8c9aafd036
196
msgid "Example Mode Callbacks"
199
#: ../../source/modes.rst:95
200
# 1141ca1388cc485c9d074759f017b942
201
msgid "This mode callback causes transitions to occur when switching from ADV to NVL mode, and vice-versa. This ships as part of Ren'Py, so there's no need to actually use it. ::"