Merge pull request #6157 from jsfehler/tyop_killer

Fix mimor typos
This commit is contained in:
Tom Rothamel
2025-02-15 17:55:35 -05:00
committed by GitHub
27 changed files with 36 additions and 36 deletions
+1 -1
View File
@@ -231,7 +231,7 @@ class Node(Object):
translation_relevant: ClassVar[bool] = False
"""
True if the node is releveant to translation, and has to be processed by
True if the node is relevant to translation, and has to be processed by
take_translations.
"""
+1 -1
View File
@@ -120,7 +120,7 @@ def play(channel, file, name, synchro_start=False, fadein=0, tight=False, start=
A python object giving a readable name for the file.
`synchro_start`
If true, the file is played in synchro start mode. This means that playinf will be deferred until
If true, the file is played in synchro start mode. This means that playing will be deferred until
all other synchro start files are ready to play.
`fadein`
+1 -1
View File
@@ -655,7 +655,7 @@ init -1500 python:
An input value that updates the name of a file page.
`pattern`
This is used for the default name of a page. Python-style substition
This is used for the default name of a page. Python-style substitution
is performed, such that {} is replaced with the number of the page.
`auto`
+1 -1
View File
@@ -949,7 +949,7 @@ repeat_transform_events = [ "show", "replace", "update" ]
# How many statements should we warp through?
warp_limit = 1000
# Should dissolve statments force the use of alpha.
# Should dissolve statements force the use of alpha.
dissolve_force_alpha = True
# A map from a displayable prefix to a function that returns a displayable
+2 -2
View File
@@ -389,7 +389,7 @@ class Renderer(object):
and then:
- "renderer", the name of the Renderer.
- "resizable", true if the window can be resized.
- "additive", true if additive blendering is supported.
- "additive", true if additive blending is supported.
- "models", true if model-based rendering is being used.
"""
@@ -552,7 +552,7 @@ class Renderer(object):
def mouse_event(self, ev):
"""
This translates the .pos field of `ev` from physical coordinates to
virtual coordinates. Returns an (x, y) pait of virtual coordinates.
virtual coordinates. Returns an (x, y) pair of virtual coordinates.
"""
return ev
+1 -1
View File
@@ -323,7 +323,7 @@ class ImageReference(renpy.display.displayable.Displayable):
"""
ImageReference objects are used to reference images by their name,
which is a tuple of strings corresponding to the name used to define
the image in an image statment.
the image in an image statement.
"""
nosave = [ 'target' ]
+1 -1
View File
@@ -906,7 +906,7 @@ class Context(renpy.object.Object):
def seen_current(self, ever):
"""
Returns a true value if we have finshed the current statement
Returns a true value if we have finished the current statement
at least once before.
@param ever: If True, we're checking to see if we've ever
+1 -1
View File
@@ -719,7 +719,7 @@ class Lexer(object):
def match_regexp(self, regexp):
"""
Tries to match the given regexp at the current location on the
current line. If it succeds, it returns the matched text (if
current line. If it succeeds, it returns the matched text (if
any), and updates the current position to be after the
match. Otherwise, returns None and the position is unchanged.
"""
+4 -4
View File
@@ -54,7 +54,7 @@ image_prefixes = None
report_node = None
# Collect define/default statements to check for duplication
all_define_statments = {}
all_define_statements = {}
all_default_statements = {}
# True if at east one error was reported, false otherwise.
@@ -143,7 +143,7 @@ def try_eval(where, expr, additional=None):
The expression to try evaluating.
`additional`
If given, an additional line of information that is addded to the
If given, an additional line of information that is added to the
error message.
"""
@@ -187,7 +187,7 @@ def try_compile(where, expr, additional=None):
The expression to try compiling.
`additional`
If given, an additional line of information that is addded to the
If given, an additional line of information that is added to the
error message.
"""
@@ -640,7 +640,7 @@ def check_redefined(node, kind):
if kind == 'default':
scanned = all_default_statements
elif kind == 'define':
scanned = all_define_statments
scanned = all_define_statements
if not (node.operator == "=" and node.index is None):
return
+1 -1
View File
@@ -761,7 +761,7 @@ class PyAnalysis(ast.NodeVisitor):
class CompilerCache(object):
"""
Objects of this class are used to cache the compiliation of Python code.
Objects of this class are used to cache the compilation of Python code.
"""
def __init__(self):
+2 -2
View File
@@ -15,7 +15,7 @@ Requirement and Dependency Changes
Ren'Py now requires Windows 10 or later to run. This means that it will no longer run on Windows 7, 8, or 8.1.
Ren'Py now targets Ubuntu 20.04. This also means it targers the "soldier" version of the Steam Linux Runtime.
Ren'Py now targets Ubuntu 20.04. This also means it targets the "soldier" version of the Steam Linux Runtime.
Ren'Py is no longer built for 32-bit ARM Linux. This drops support for the Raspberry Pi 3, and very old Chromebooks.
Ren'Py is still being built for 32-bit ARM Android. Ren'Py will now prefer the gles2 renderer on ARM Linux devices,
@@ -111,7 +111,7 @@ Ren'Py no longer triggers and autoreload when a file that had not existed comes
had been inconsistent, working in some places but not others, required Ren'Py to spent time scanning for files
that do not exist.
Ren'Py now considers a dialogue statment to have been seen if a statement with the same translation identifier
Ren'Py now considers a dialogue statement to have been seen if a statement with the same translation identifier
has been seen.
For size reasons, the lists of seen dialogue and translations now store a 64-bit integer hash of the statement
+1 -1
View File
@@ -62,7 +62,7 @@ arguments:
Other values of the positional argument and additional keyword arguments may
be supplie to the callback. The callback should be written to ignore keyword arguments it
be supplied to the callback. The callback should be written to ignore keyword arguments it
does not understand.
Example
+1 -1
View File
@@ -201,7 +201,7 @@ that feature.
Say statements in bubble mode.
"say-centered"
Say statments using the :var:`centered` character.
Say statements using the :var:`centered` character.
"menu":
Normal menu statements.
+1 -1
View File
@@ -46,7 +46,7 @@ on desktop hardware.
On Suspend/Resume
^^^^^^^^^^^^^^^^^
We have had reports of systems that lose textures when a computer is suspened
We have had reports of systems that lose textures when a computer is suspended
and resumed. This is likely a problem with the computer or its device drivers,
but it is possible to force Ren'Py to reload the textures by resizing the
window, or pressing the F key to toggle fullscreen mode.
+1 -1
View File
@@ -129,7 +129,7 @@ render properly into paths.
Ren'Py will render SVG images as if the virtual screen was 96dpi.
If the window is enlarged or shrunk, the SVG image will be scaled
up or down, respectively, and :ref:`oversampling <oversampling>` will
be used to ensture the image is rendered at the correct virtual
be used to ensure the image is rendered at the correct virtual
size.
This ensures the SVG will be rendered sharp if it is not scaled.
+1 -1
View File
@@ -138,7 +138,7 @@ image will fill the entire screen.
When oversampling is enabled, the size that the image is displayed at is
smaller than the image size would imply. For example, if an image is 3480x2160,
and has an oversamply of 2, then each axis will be halved, and the image would
and has an oversample of 2, then each axis will be halved, and the image would
fill the same 1920x1080 window.
This is useful when the image might be zoomed in on, and the extra detail is
+1 -1
View File
@@ -260,7 +260,7 @@ state of the game. Contexts include:
* the currently running Ren'Py statement,
* the call stack, as described above, and the names and former values of dynamic
variables created by :func:`renpy.dynamic`,
* the images currently being shown (and informations about them like their attributes,
* the images currently being shown (and information about them like their attributes,
the transforms applied to them and so on),
* the screens being shown, and the variables inside them,
* the audio that is playing or queued.
+1 -1
View File
@@ -87,7 +87,7 @@ at the end of a line, unless:
* The last character on the line is a backslash (``\``).
* The line contains an open parenthesis character (``(``, ``{``, or ``[``),
that hasn't been matched by the cooresponding closing parenthesis
that hasn't been matched by the corresponding closing parenthesis
character (\ ``)``, ``}``, or ``]``, respectively).
* The end of the line occurs during a string - *any* string, even with single
+3 -3
View File
@@ -95,14 +95,14 @@ Live2D animations are defined using the Live2D displayable and the image stateme
`nonexclusive`
If not None, this should be a list of names of nonexclusive expressions.
Expressions default to being exlcusive, with only one beign shown at
Expressions default to being exclusive, with only one being shown at
a time. If listed here, any number of nonexclusive expressions can be
shown, in addition to one exclusive expression.
`seamless`
This determines if seamless looping should be used. Seamless looping
avoids fading between loops of a single motion. This may be True to
enable seamless looping all the time, False to dispable it all the
enable seamless looping all the time, False to disable it all the
time, or a set of motions to be looped.
`default_fade`
@@ -121,7 +121,7 @@ Live2D animations are defined using the Live2D displayable and the image stateme
`attribute_filter`
If not None, this is a function that takes a tuple of attributes,
and returns a second tuple of attributes. This is usually used to
filter out nonexclusice attributes that conflict with each other. The attributes
filter out nonexclusive attributes that conflict with each other. The attributes
are ordered such that more recently requested attributes come first,
meaning that in the case of a conflict, the first attribute should
win.
+2 -2
View File
@@ -139,7 +139,7 @@ to be removed.)
Ren'Py then takes the list of shader parts, and retrieves lists of variables,
functions, vertex shader parts, and fragment shader parts. These are, in turn,
used to generate the source code for shaders, with the parts of the vertex and
fragement shaders being included in low-number to high-number priority order.
fragment shaders being included in low-number to high-number priority order.
This means that any variable created by one of the shaders will be accessible
by every other fragment from any other shader in the list of shader parts.
@@ -457,7 +457,7 @@ If normals are available, so is the following attribute:
``vec3 a_normal``
The normal of the vertex being rendered.
If tangents are avaiable, so are the following attributes:
If tangents are available, so are the following attributes:
``vec3 a_tangent``
The tangent of the vertex being rendered.
+1 -1
View File
@@ -19,7 +19,7 @@ And the limitation:
Using Ren'Py to draw a displayable as a cursor inverts these restrictions.
While the cursors can be anything Ren'Py can draw, Ren'Py needs to do
the drawing. When triple buffering is enabled on a computer, a lag can
be present that isn't for the harware cursor.
be present that isn't for the hardware cursor.
Hardware Mouse Cursor
+1 -1
View File
@@ -214,7 +214,7 @@ The following config variables control nvl-related functionality.
.. var:: config.nvl_list_length = None
If not None, the maximum length of the list of NVL dialogue.
This can be set (often in conjuction with forcing the dialogue to
This can be set (often in conjunction with forcing the dialogue to
have a fixed height) in order to emulate an infinite scrolling
NVL window.
+2 -2
View File
@@ -40,14 +40,14 @@ can then change it again.)
When on a desktop platform, touches or clicks to this side of the window
cause rollback to occur. One of "left", "right", or "disable". This is
the equivalend of the "rollback side" preference when on a desktop
the equivalent of the "rollback side" preference when on a desktop
platform.
.. var:: preferences.mobile_rollback_side = "disable"
When on a mobile platform, touches or clicks to this side of the window
cause rollback to occur. One of "left", "right", or "disable". This is
the equivalend of the "rollback side" preference when on a mobile
the equivalent of the "rollback side" preference when on a mobile
platform.
.. var:: preferences.language = None
+1 -1
View File
@@ -169,7 +169,7 @@ to add entries to a dictionary::
define config.tag_layer["eileen"] = "master"
In addition to ``=``, define can take two more operators. The ``+=``
operator adds, and is generally used for list concatenaton. The ``|=``
operator adds, and is generally used for list concatenation. The ``|=``
or operator is generally used to concatenate sets. For example::
define config.keymap["dismiss"] += [ "K_KP_PLUS" ]
+1 -1
View File
@@ -203,7 +203,7 @@ the enter key being pressed.
.. method:: enter(self)
Called when the user presses enter. If this returns a non-None
value, that value is returned from the interacton. This may also
value, that value is returned from the interaction. This may also
raise :exc:`renpy.IgnoreEvent` to ignore the press. Otherwise, the
enter-press is propagated to other displayables.
+1 -1
View File
@@ -341,7 +341,7 @@ All user interface statements take the following common properties:
.. screen-property:: prefer_screen_to_id
If true, when a property is provided by both the screen and a
displayble identifier, the screen property is used. If false, the
displayable identifier, the screen property is used. If false, the
default, the displayable property is used. (This can be used to
decide if the screen overrides properties set by a Character.)
+1 -1
View File
@@ -40,7 +40,7 @@ your template.
Distributing a Template Project
-------------------------------
You can distribut a template project by zipping it up manually. (You
You can distribute a template project by zipping it up manually. (You
should not use the Distribute command.) It might make sense to delete
the ``game/saves`` and ``game/cache`` directories before zipping it
up, though this is not required.