Compare commits

...

203 Commits

Author SHA1 Message Date
Tom Rothamel d511804be3 Produce a valid-ish version for pygame_sdl2. 2023-09-05 22:06:47 -04:00
Tom Rothamel 487c60da2d doc: Changelog. 2023-09-05 21:13:50 -04:00
Tom Rothamel 2eca653f47 doc: Credits. 2023-09-05 01:39:02 -04:00
Tom Rothamel 6f8378f5b4 doc: Update sponsors. 2023-09-04 20:35:16 -04:00
Tom Rothamel b6fc8496f4 doc: Some changes to the context documentation. 2023-09-03 19:40:17 -04:00
Tom Rothamel 8a2634b206 Merge pull request #4896 from renpy/doc-context
Document what a context is
2023-09-03 19:36:04 -04:00
Tom Rothamel 3521d54e0a Call invalidate when adding one displayable to another.
Per #4939.
2023-09-03 19:34:16 -04:00
Tom Rothamel 24c0616158 py2: Fix the type of __package__. 2023-09-02 18:07:56 -04:00
Tom Rothamel 2d690bd7cb Implement more of PEP 302.
Fixes #4948. Per #4644.
2023-09-01 23:37:34 -04:00
Tom Rothamel 3ec2ad0a7b Make __file__ and __path__ full paths.
Per #4948.
2023-09-01 22:43:24 -04:00
Tom Rothamel 78dfdd024b Fix debug output-related crash introduced by 991fbf107a. 2023-08-31 18:30:12 -04:00
the66F95 1b26542f0c Update 00inputvalues.rpy
restores the previous behavior to be able to deactivate InputValue objects via "Enter".
for example, the current behavior can be seen in any project using the button that wraps the FilePageNameInputValue object.
2023-08-31 00:43:51 -04:00
Tom Rothamel 991fbf107a distribute: Match directories as both files and directories.
The goal is to allow **.app to be ignored on mac.

Fixes #4945.
2023-08-31 00:14:58 -04:00
Tom Rothamel 041a4c4d07 Respect the parameter to GamepadExists. 2023-08-30 21:55:50 -04:00
Tom Rothamel 6931b5f06d Make GamepadExists respect config.developer.
Fixes #4940.
2023-08-30 00:35:47 -04:00
Tom Rothamel 2850cea6c0 vscode: Add styles. 2023-08-29 22:58:24 -04:00
Tom Rothamel e364ca4173 Find variables before wrapping a comprehension.
If we do it in the other order, variables that are wrapped
show up as set, which means they won't be wrapped in an outer
comprehension, causing problems.

Fixes #4943.
2023-08-29 22:58:24 -04:00
Gouvernathor c6cc1dc5f6 Fix translation typo 2023-08-29 23:02:52 +02:00
Tom Rothamel 9c7b8a6398 Fix issues with ATL deep compare.
* The blocks weren't compiled before compare.
* Dicts weren't handled.
* Errors weren't handled.

Fixes #4942.
2023-08-29 01:17:49 -04:00
Tom Rothamel 78c71f0a0f Do not change the style prefix of a viewport and it's children.
... when the viewport is focused or unfocused. The viewport being
focused occurs during drag operations, which should generally
be invisible to the user, so it's not required.

Re-rendering the children of the viewport is also a performance
problem, and so this prevents that from happening.

Fixes #4838.
2023-08-28 01:03:25 -04:00
Tom Rothamel 05e72cbe27 Perform a greedy rollback after load.
This is the same rollback that is used during a normal rollback,
and re-runs statements before the rollback.

Fixes #4872.
2023-08-26 23:51:05 -04:00
Tom Rothamel 65e2d27efb doc: The most common use of renpy.set_return_stack.
Fixes #4909.
2023-08-24 21:21:17 -04:00
the66F95 eeb6958174 respect "renpy.store.__autosave"
respect the renpy.store._autosave value when calling renpy.loadsave.force_autosave() directly.
could be annoying if you have a choice menu in a splashscreen for instance.
2023-08-22 22:24:31 -04:00
Tom Rothamel 0a01a4af64 Allow an interaction to restart during viewport animation.
Fixes #4926, mostly.
2023-08-21 23:14:41 -04:00
Joseph Boyd 0afd06dd49 Revert removal of loop_only to fix if_changed loop seam issue
Fixes #4872 by restoring the `loop_only` parameter of `enqueue()` in audio.py.

After commit `b0b096b`, calling `play` on a music track with the `if_changed` parameter would *always* add it to the queue, even if the same track was already currently playing on loop. This newly queued 'loop' would always begin at the very start of the track, **ignoring any user-defined `loop` point parameters** that were added by the user to allow the track to seamlessly loop. This caused the looping track to abruptly 'restart' the next time it would normally loop whenever a player visited a label that wanted that track to play if it wasn't already looping (for example, the 'market' example in Ren'Py's audio documentation page for `if_changed`).

This change restores the `loop_only` parameter and functionality to `enqueue()` and `play()` to avoid a track from being added to the queue and potentially abruptly restarting the track if it is currently already playing on loop. To attempt to preserve the fix the change `b0b096b` accomplished for #4695, the position/logic of the `c.dequeue()` calls in `music.play()` has not been reverted to it's previous behaviour.

Documentation wise, the Audio documentation page mentions that `if_changed` queues 'an additional loop' of the currently playing track when this situation is reached, which is only an accurate description if the currently looping track does not have a user defined `loop` point (or if the loop point was 0.0). A more accurate description is that the track is queued to play again from the very beginning after the current loop is complete, discarding any user-defined `loop` points. The issue mentioned above is reproduceable using the code present in the `if_changed` section of the audio page, provided the 'market' track has a non-zero `loop` parameter.
2023-08-20 22:28:21 -04:00
Tom Rothamel ec6a8f8e1a Change the example of a third-party python package.
To one that isn't already part of Ren'Py.

Fixes #4899.
2023-08-20 16:58:06 -04:00
Tom Rothamel 99090ed87a Filter PYTHON* variables when launching a project.
While renpy.exe is set up to ignore the variables, renpython isn't.
By filtering them, we can be sure that system python variables
don't break the SDK.

Fixes #4878.
2023-08-19 21:21:14 -04:00
Tom Rothamel 5b88d6fb32 Merge pull request #4893 from renpy/selected-sensitive-list
Sensitiveness and selectedness of action lists
2023-08-18 21:11:14 -04:00
Michael 678ac18b5f OneDrive uses virtualized file system (vault) so
we use __file__ to get the real path of the file.
2023-08-18 00:13:03 -04:00
Tom Rothamel d3595146b0 Merge pull request #4904 from renpy/doc-atl
Various changes to the ATL page
2023-08-18 00:10:32 -04:00
Tom Rothamel b2a49cc60e atl: Remove variables_equal and everything required for it. 2023-08-16 23:24:45 -04:00
Tom Rothamel 468733bd75 Use deep comparison of compiled trees to determine if an ATL transform has changed.
This might be more work, but it also should be correct in all cases.

Fixes #4916.
2023-08-16 22:24:25 -04:00
Tom Rothamel a1bcd63ba9 Make _side_image_attribute and _side_image_attributes_reset context-dynamic.
This prevents a reset from happening in a menu context, and then
causing the reset to not happen in the main context, thus causing
the image to be shown at the wrong times.

Fixes #4828.
2023-08-15 22:56:32 -04:00
Tom Rothamel 371b3e15fc Fix compat. 2023-08-15 00:30:04 -04:00
Tom Rothamel 85648df290 Merge the glyph changes from master to fix.
This should keep binary compatibilty when change branches.
2023-08-15 00:08:13 -04:00
Tom Rothamel 936363d243 tts: Help ensure notifications are spoken to the player.
At least, in the case where the user lets them play out, rather
than switching away.
2023-08-14 22:45:16 -04:00
Tom Rothamel 05075beed5 Tweak the order of tts so layers and screens closer to the player are spoken first. 2023-08-14 22:42:37 -04:00
Asriel Senna c9573e3737 doc: mention call screen as working differently wrt with 2023-08-10 22:20:05 +02:00
Gouvernathor a11a7bb2ee Various changes to the ATL page 2023-08-10 21:32:44 +02:00
Asriel Senna 446e4609a9 doc: changes
document how pop_call behaves wrt dynamic variables
linkify a variable
better explain the name_only character
2023-08-07 01:33:29 +02:00
Asriel Senna 1f9a4df252 Document what a context is 2023-08-07 01:18:21 +02:00
Gouvernathor 08eb08562f Change the documented signatures 2023-08-05 10:58:50 +02:00
Gouvernathor 3370a07f18 doc: sensitiveness and selectedness of action lists 2023-08-04 22:22:08 +02:00
Gouvernathor c164c1af40 doc: fix markup and tweak phrasing 2023-08-04 17:45:50 +02:00
Gouvernathor f067652a3b Fix store.say's documentation (#4883)
It was documented as an override of renpy.say, and while that would be useful, it's not at all what the function does
2023-08-03 08:11:20 -04:00
Tom Rothamel 122dbf2619 Remove duplicate say-related functions from 00library.
Inspired by #4883.
2023-08-03 08:08:52 -04:00
Tom Rothamel efe6609085 doc: Fix filename extension.
Fixes #4884
2023-08-01 22:22:47 -04:00
Tom Rothamel 1d43fb11dd vscode: Correct arch on Linux.
Microsoft calls it x64, not x86_64, so use that.
2023-08-01 22:01:50 -04:00
Tom Rothamel 84c22334fe Merge pull request #4861 from mal/restore-lost-event-values
Restore return values from time-adjusted widgets
2023-07-23 20:46:06 -04:00
Mal Graty 12330dead6 Restore return values from time-adjusted widgets 2023-07-22 11:45:53 +01:00
Gouvernathor 0dd3895b47 doc: long-due update from set_volume to set_mixer
following the passage to log volume or something
2023-07-20 07:25:22 +02:00
Gouvernathor 8230e4186d doc: tweak the confirm screen entry
add the two new strings - the confirm_token one is long and should be used for tests by creators - but be careful if others are added in the future
layout of the list has been tested
2023-07-20 06:17:16 +02:00
Gouvernathor 8e4e8b0e23 doc: tweaks to the Replay section
rename scene to sequence because scene is something else in renpy
don't imply that the game menu or the main menu are the only places from which you can call a replay
fix indenting in the code block, and remove the padding at the start
mistake in a function's documentation
some other stuff
2023-07-20 05:48:21 +02:00
Abdul 7a801523e4 Fixed Typo in dialogue.rst
Fixed minor typo in dialogue.rst
2023-07-13 23:08:16 -04:00
Tom Rothamel a5343eb0fa Merge pull request #4843 from renpy/absolute-slots
Fix absolute.slots to __slots__
2023-07-13 18:26:58 -04:00
Gouvernathor 1032b4f990 Fix slots to __slots__
Mistake done in 690f249 and not seen by me in #4680.
I tested a save-load cycle on an instance of absolute before and after this very fix, it passed without problem. But if someone added arbitrary attributes on an absolute instance, that will now fail.
2023-07-13 19:15:06 +02:00
Tom Rothamel 6041da97c5 atl: Actually animate anchorangle.
A temporary fix until the better one in 8.2 comes in.
2023-07-11 23:10:25 -04:00
Tom Rothamel c02ccf8dcd Multiple fixes to choosing a directory.
Fix an issue where the default wasn't being set, and also deal
better with the user cancelling.

Fixes #3826.
2023-07-10 21:16:12 -04:00
Gouvernathor 49896ba938 doc: Disable python highlighting for math formula 2023-07-10 22:15:24 +02:00
Tom Rothamel be36f99d4c Fix last fix. 2023-07-10 01:31:26 -04:00
Tom Rothamel c007c85490 Fix tiled frames.
Fixes a major regression in the last commit (broke the launcher).
2023-07-09 18:27:43 -04:00
Tom Rothamel a33009b382 Ensure frames are at least one drawable pixel in size.
The same logic applies to frames as to the last commit.
2023-07-08 14:44:21 -04:00
Tom Rothamel c50c6bb23d Prevent solids from being shrunken to below one pixel.
Fixes #4824.

The justification here is that if the creator shows a solid, they
want something, not nothing shown, so we want to show at least 1px
in each direction.
2023-07-08 14:24:55 -04:00
Tom Rothamel 60ade3ae19 Enable all stores in android.json, to test the build. 2023-07-08 13:58:54 -04:00
Tom Rothamel ef84c65ce5 Merge pull request #4821 from renpy/layim-auto-multiple-tweak
doc: readd information that went missing during the rewrite
2023-07-04 23:32:30 -04:00
Gouvernathor d3fe5cd6bb doc: readd information that went missing during the rewrite 2023-07-05 05:12:15 +02:00
Tom Rothamel c0248b5af0 Avoid deleting .rpyc files corresponding to _ren.py files that exist.
Fixes #4815/
2023-07-04 20:55:01 -04:00
Abdul 0e4fca9c2f Update screens.rst
Fixed minor typo
2023-07-04 20:20:52 -04:00
Gouvernathor fcaa02f21a doc: Advise using ATL transitions to customize the punches 2023-07-03 17:09:20 +02:00
Tom Rothamel b3a0c8f47c Fix typo. 2023-07-03 10:30:16 -04:00
Tom Rothamel ca8977ae7c Document the Ren'Py updater doesn't support mac apps.
Fixes #4803.
2023-07-03 10:30:16 -04:00
Tom Rothamel 0f30d74045 Merge pull request #4808 from mal/fix-pause-roll-forward
Allow control exceptions as pause roll forward
2023-07-02 21:07:43 -04:00
Mal Graty 1c9cff6be3 Allow control exceptions as pause roll forward 2023-07-02 18:22:35 +01:00
Tom Rothamel 10ecb3f05b doc: Remove a warning about macOS 10.9.
Which is no longer supported.
2023-06-29 23:30:33 -04:00
Tom Rothamel 5e03d9eb29 Merge pull request #4778 from mal/fix-drag-drop-db0
Prevent rare divide by zero in drag/drop
2023-06-29 21:08:36 -04:00
Gouvernathor c42b975be3 doc: use the tt reference role and avoid wasting a label 2023-06-30 01:42:18 +02:00
Gouvernathor f976f31e7a doc typo 2023-06-28 23:27:35 +02:00
Gouvernathor 3017331aa9 doc: spacing in an example 2023-06-28 23:14:54 +02:00
Tom Rothamel c7d7cc23b1 doc: Changelog last. 2023-06-27 23:21:38 -04:00
Tom Rothamel a65cecfc18 Enable or disable text input as required.
This prevents the input method from always being active, to consume
and consuming keyboard bindings.

Fixes #4784.
2023-06-27 22:47:51 -04:00
Tom Rothamel 4284d45069 Better error handling when cancelling directory selecton.
Fixes #4779.
2023-06-27 01:07:55 -04:00
Tom Rothamel 9c442bb694 Merge pull request #4782 from Kassy2048/fix-web-fullscreen
Fix fullscreen Web
2023-06-25 21:47:10 -04:00
Kassy 20d7ecf868 Alias Window mode to non-Fullscreen mode on Web
There is no good way to resize the browser window size and
it's not really desirable to resize it anyway. These
changes should partially fix the issues reported in #4760.
2023-06-26 02:48:42 +02:00
Mal Graty e51642ff3f Prevent rare divide by zero in drag/drop
Encountered in rare rollback scenarios where self.st would correctly
reflect the drag was complete, but the render st was zero, resulting in
self.st and self.target_st being equal resulting in the divide by zero.
2023-06-24 16:27:10 +01:00
Gouvernathor a370643f40 Fix absolute.__rdivmod__
fixes #4772
2023-06-24 13:43:03 +02:00
Daniel Brookman b423982a28 Correct var in GUI Customization Guide
"gui.choice_text_hover_color" doesn't point to choice_button, so
changing it won't do anything.
2023-06-22 23:28:29 -04:00
Tom Rothamel 6ca4fc2ae1 Fix image component sorting in the directory.
Make sure each component is a string, but pad out numbers so the
sorting is better (ie, c2 should sort before c12.).

Fixes #4769.
2023-06-22 23:19:54 -04:00
Tom Rothamel 607c1ac64d A better error message if config.version has a bad character.
Fixes #4758.
2023-06-20 23:52:36 -04:00
Tom Rothamel eb0d4948d0 End an animation immediately if time resets. 2023-06-19 22:21:18 -04:00
Tom Rothamel 2c91ada1a6 Restore/improve the handling of mouse events.
* It's now possible to bind a mousedown event to skip, and other
  functions that care about keyup/keydown pairs.

* Mouseup events that are are bound to keyup are ignored.

Fixes #4755.
2023-06-18 22:46:33 -04:00
Tom Rothamel 1a62894650 Document the limits to MoveTransition, check for errors. 2023-06-18 02:08:36 -04:00
Tom Rothamel 22b3106504 Merge pull request #4751 from renpy/move-transitions-doc-tweaks
Tweak docstrings for transitions
2023-06-18 00:55:20 -04:00
Gouvernathor 9a1c783895 doc: clarify MultipleTransition API
avoiding rapid unscheduled disassembly of creators' keyboards
2023-06-18 03:14:05 +02:00
Gouvernathor d793750adb doc: tweak docstrings for move transitions
add links, and clarity
2023-06-18 02:33:42 +02:00
Gouvernathor 74b476f8c1 doc: hide Dissolve's alpha parameter
Documented as ignored and kw-only, might as well not exist at all
The other classes in this file had the same done to them, this one was probably forgotten
2023-06-18 01:56:11 +02:00
Tom Rothamel 9dc7aa1603 Merge pull request #4722 from Kassy2048/fix_7.6_web
Fix for 7.6 web
2023-06-16 23:31:41 -04:00
Tom Rothamel 98fd979c82 Fix downloads of dlc into the nightly builds. 2023-06-16 23:29:56 -04:00
Tom Rothamel 917ac66cae movie: Ensure the channels exist in any function that can use them.
Fixes #4723.
2023-06-15 22:09:19 -04:00
Mal Graty 30c2a2a269 Avoid cropping widgets during a dissolve (#4717) 2023-06-15 21:17:38 -04:00
Morgan Willcock 79a1890539 Fix changelog entry for 'rpy python' (#4720) 2023-06-15 21:16:48 -04:00
Tom Rothamel e17ef3d265 Merge Ukrainian translation.
By @GVeydzher on twitter.
2023-06-14 22:26:25 -04:00
Tom Rothamel d72de4ab68 Preserve time when upgrading a save to have a token.
Fixes #4736.
2023-06-14 01:27:45 -04:00
Tom Rothamel 8de1dccf43 Report an error if init is used with a directive, not a statement.
Fixes #4713.
2023-06-12 23:57:24 -04:00
Tom Rothamel 8ec26b7b66 Report parse errors in editor when run from the launcher.
This prevents parse errors from passing hidden when the game
is recompiled during distribution.
2023-06-12 22:35:50 -04:00
Kassy 6ce1cda92b Fix crash on Web2 because pydoc is not shipped 2023-06-10 23:40:45 +02:00
Kassy 3070a40fce Fix crash on Web2 because WebInput is not implemented 2023-06-10 23:39:58 +02:00
Kassy 0176e42268 Fix crash on Web2 because subprocess.Popen is not implemented 2023-06-10 23:39:34 +02:00
Tom Rothamel d079dda223 Update piglatin translation. 2023-06-09 00:22:11 -04:00
Tom Rothamel 87b2291f99 Improved translation generation.
* Better filtering of braces, especially nested braces.
* Do not piglatin-ify numbers.
2023-06-09 00:22:11 -04:00
Gouvernathor c2c094fbf6 Fix bad automatic comment translation
old ["']##[^\n]+?["']\n\s*(?:# Automatic translation\.\n\s*)?new ["']#?[^#]
updated gift for posterity (see d037830)
2023-06-08 20:56:59 +02:00
Gouvernathor 22cf8d3166 doc: tweaks 2023-06-08 17:28:15 +02:00
Tom Rothamel bb0b7f807f Bump version. 2023-06-08 01:50:27 -04:00
Tom Rothamel 08667dedf1 Re-generate the vc version in add.py.
So the correct version is used for releases.
2023-06-07 22:03:59 -04:00
Tom Rothamel cd5a9b2830 doc: Credits. 2023-06-07 20:57:56 -04:00
Tom Rothamel 4579dbab15 Clean up the fix-branch changelog. 2023-06-07 20:43:11 -04:00
Tom Rothamel 10a9521a19 docgen: Set the search z-index to 1. 2023-06-07 20:38:19 -04:00
Gouvernathor bcc0d211e1 Extend the system cursor preference to config.mouse_displayable (#4706)
* Make the system_cursor preference disable mouse_displayable

* doc: new "system_cursor" behavior

* changelog system_cursor
2023-06-07 20:37:48 -04:00
Tom Rothamel 7e8ed2dcf7 doc: Update sponsors. 2023-06-07 02:07:15 -04:00
Tom Rothamel 3893bcbc7a doc: Credits. 2023-06-07 01:16:44 -04:00
Tom Rothamel b0b096bf16 audio: if_changed handles tight looping.
Subject to how if_changed works, as it does queue up a new
loop.

Fixes #4695.
2023-06-07 01:05:22 -04:00
Gouvernathor 7df26f34ed Fix mouse_move documentation (#4700)
* docstring spaces

* doc: fix inconsistencies about the mouse_move preference
2023-06-06 23:58:49 -04:00
Tom Rothamel 454ba1360d Ensure that scrollable bars have the sensitive style.
Fixes #4690.
2023-06-06 23:57:11 -04:00
Tom Rothamel 5116fdaa47 Check atl state for validity where it might have changed.
Fixes #4701.
2023-06-06 21:45:14 -04:00
Tom Rothamel 9d1b8c0e29 atl: Run ATL transforms in the animation timebase.
This fixes #4696 while keeping #4634 and #4167 fixed.
2023-06-06 01:15:50 -04:00
Tom Rothamel e740a83764 doc: Changelog. 2023-06-05 23:25:24 -04:00
Gouvernathor b8c4565a38 Dereference utter_restart and move reload-related functions to the reload section (#4657)
doc: deref utter_restart and move reload-related functions
2023-06-05 00:40:03 -04:00
Tom Rothamel 36a2e32401 web: Fix audio end time.
It takes a duration, not the end time itself.

Fixes #4694.
2023-06-05 00:38:12 -04:00
Tom Rothamel b586355a8e Ensure that objects reachable from Context rollback.
Fixes #4687, and a class of potential related problems, by
auditing things that are reachable through Context.
2023-06-04 18:24:02 -04:00
Tom Rothamel 7171b21fb4 doc: That dropping doesn't respect the alpha channel.
Closes #4686.
2023-06-03 22:11:01 -04:00
Tom Rothamel 30aba15be2 Accept the vscode plugin style changes. 2023-06-03 22:10:25 -04:00
Tom Rothamel 007aa19291 live2d: Determine if _sustain is required after attribute_filter.
As it's possible attribute_filter will introduce a motion that
makes sustain pointless.

Fixes #4660.
2023-06-03 21:36:53 -04:00
Tom Rothamel 7e6560b766 live2d: _choose_attributes should enforce required attributes.
If it can't find all of the required attributes, then it should
not allow the displayable to be shown.

Fixes the first part of #4660.
2023-06-03 20:55:48 -04:00
Tom Rothamel 206431c210 Add links to 8.1.1 and 7.6.1. 2023-06-02 23:22:46 -04:00
Tom Rothamel 61c9ebffa9 Propagate times to ATL transitions, but not other state.
This tries to fix #4634 without breaking #4167, by recognizing
when a transition has started and propagating the adjusted times
into it, but not the state.

This can probably fail, as events and choices won't be propagated,
but those should be rare in transitions, ideally.
2023-06-02 23:01:32 -04:00
Moshibit 544cf07739 Fix Spanish tranlation (#4684)
* Update launcher.rpy

* Fix Spansih translation.rpy
2023-06-01 22:26:16 -04:00
Gouvernathor 360dc4fdbb Make absolute a float again (#4680)
Multiple advantages over the wrapper-class implementation : lighter in memory, don't wrap methods that don't need too, don't spend time converting their parameters, avoid a two-version pickling and unpickling mechanism (with slots), shorter code with less warning silencing.
2023-06-01 00:31:00 -04:00
Tom Rothamel 3396feff33 Rewrite absolute to not inherit from float.
This replaces absolute with a class that contains a float, and
behaves like a float in most circumstances. However, when an
operation is performed on it that would create a float, an
absolute is returned instead.

This is meant to address #4666 and a class of potential issues
that could be similar to it, where absolutes that are operated
on could become a float, and cause layout issues.

I need to think if this is something that should got into the
fix branch, as it's a major change.
2023-06-01 00:31:00 -04:00
Tom Rothamel 7cf287c4f4 docgen: Fix the location of the searchbox.
Fixes #4682.
2023-05-31 23:51:08 -04:00
Tom Rothamel 732b98f7a2 Document that YUV444 is slow.
Per discussion in #4646.
2023-05-31 22:45:17 -04:00
Tom Rothamel 838ce5a82b Fix non-full playback of videos.
Fixes #4646.
2023-05-31 22:41:54 -04:00
midgethetree 13cd7d0ebc fix fonts linting (#4679)
Fixes an issue where fonts located in the fonts/ directory and referenced in .rpy files with just their filename and not the fonts/ prefix would be falsely claimed to be unloadable by the linter despite working just fine in-game. Also fixes the converse issue, where fonts located in images/ directory and referenced without the images/ prefix weren't caught by the linter despite the game crashing when actually attempting to load them.
2023-05-30 00:48:09 -04:00
Tom Rothamel a14b4c3ddc Avoid including the 311 bytecode in the launcher.
As it's not needed there.

Per #4677.
2023-05-29 21:57:16 -04:00
brainos233 917292b443 fix: launcher\game\tl\schinese\options.rpy (#4676) 2023-05-29 18:16:05 +02:00
Tom Rothamel e02ce6579f docgen: Fix a style issue. 2023-05-29 12:15:15 -04:00
Tom Rothamel 5201ff3e10 sl2: Better analyze imagemaps.
The issue was that:

    imagemap:
        if cond:
            idle "idle_true"
            hover "hover_true"
        else:
            idle "idle_false"
            hover "hover_false"

        hotspot (0, 0, 100, 100) action Jump("test")

Didn't depend on cond, which meant that the hotspot
would not change when the imagemap was updated.

Test: xagrim-imagemap.
2023-05-29 11:58:23 -04:00
Gouvernathor 64ac9c1a99 BOM and UTF-LF 2023-05-29 12:57:11 +02:00
zedraxlo ff426586b8 SChinese translation update (#4675) 2023-05-29 12:56:53 +02:00
Tom Rothamel 0cd32aa9a4 (Mostly) revert changes to afm_enable preference handling.
This is a bit special, as it define if afm_enable is used or not.
Since this is baked in to older games, restore the previous values,
but let the default statement override them, which was the goal of
the previous commit.
2023-05-29 02:08:40 -04:00
Tom Rothamel 9c9c36a723 rapt: Document the key changes. 2023-05-28 23:06:41 -04:00
Tom Rothamel 75832ccd22 Avoid having preference defaults by default.
The older config.default_.... variables could force a preference
to take on a value, even if the creator used default to set the
preference.

This changres a few of the defaults in preferences.py, and removes
the need for config.default_... variables.

Fixes #4667.
2023-05-26 22:13:45 -04:00
Tom Rothamel 26af404433 Fix typo in nosave list.
Fixes #4664.
2023-05-25 01:40:10 -04:00
Tom Rothamel 8209e61d75 Fix problem with non-resiable windows on macOS.
Apparently, when a window is not resizable on macOS, the MAXIMIZED
flag is always set. Since the window can't actually be maximized,
ignore it.

Fixes #4659.
2023-05-25 00:30:39 -04:00
Tom Rothamel 09ee1cb52f Deal with mac reporting fullscreen windows as maximized.
This can cause a problem when changing modes.

Per #4659.
2023-05-25 00:30:39 -04:00
Gouvernathor 75d0f4dc64 Encode the save directory as bytes on py2 2023-05-23 13:33:57 -04:00
Tom Rothamel bb526f6ae3 doc: Fix doc problem with ui.interact. 2023-05-23 01:51:00 -04:00
Gouvernathor 110e6340e4 doc: remove double variable entry
the second one, which was fixed a week ago (1436e3e), is slightly better phrased
2023-05-22 17:19:43 +02:00
Gouvernathor 166e81b2e5 Revert "doc: move reload-related functions to the dedicated section"
This reverts commit 078ffb9e5a.
2023-05-22 17:02:11 +02:00
Moshibit 217d0e85f8 Update launcher.rpy 2023-05-22 10:51:23 -04:00
Gouvernathor 078ffb9e5a doc: move reload-related functions to the dedicated section 2023-05-22 16:34:23 +02:00
Tom Rothamel 412c56e76b The window icon is an image.
Fixes #4651.
2023-05-22 01:48:41 -04:00
Gouvernathor cdee6e388c actual translation 2023-05-21 16:27:29 +02:00
Gouvernathor 1a820b67a7 french translations 2023-05-21 15:50:29 +02:00
Tom Rothamel 8c21f14bf7 autotl: Better handling of lines beginning with ##. 2023-05-21 01:48:34 -04:00
Tom Rothamel 1660375bde autotl: The description of the nightly fix build. 2023-05-21 01:47:22 -04:00
Tom Rothamel c9ec07f566 Add infrastructure for single-string translations.
This is intended to allow important strings to be automatically
translated while we work on improving the quality of automatic
translations.
2023-05-21 01:47:02 -04:00
Tom Rothamel 19316303b7 Add strings describing the nightly branch. 2023-05-21 00:18:50 -04:00
Tom Rothamel e46d664aed Diagnose issues with a class no longer inheriting from object. 2023-05-20 23:31:49 -04:00
Tom Rothamel ccaf664e3c Allow error handling to deal with exceptions in rollback.
Previously, the exception would occur with the context stack
already altered. As the exception was handled, contexts could
be removed from the stack, leading to a case where there was
no context - which causes crashes.
2023-05-20 22:53:21 -04:00
Tom Rothamel 572ebcc3a8 Make sure Execution.__repr__ always produces a result. 2023-05-20 22:51:35 -04:00
Tom Rothamel 8f5c2526f0 Properly quote replacement text.
Fixes #4631.
2023-05-20 02:32:05 -04:00
Tom Rothamel d93745e2e1 Delete .pyo and .pyc files when reloading a module.
This can fix a problem on Python 2, where a .pyo file would be
loaded in preference to an updated .py file, even if the .py file
was created the first time around.
2023-05-19 23:27:50 -04:00
Tom Rothamel 4f8f3155ef Take the version out of the newly-generation dict. 2023-05-19 00:51:39 -04:00
Tom Rothamel deb4a2c9eb Merge pull request #4645 from brainos233/docs-build-packages
Docs: Fix missing "renpy" list in Packages example
2023-05-18 11:15:51 -04:00
Tom Rothamel 4d26440cbb Remove pyo and pyc files to make sure a reload occurrs. 2023-05-18 04:17:43 -04:00
Brainos cf98746660 Docs: Fix missing "renpy" list in Packages example 2023-05-18 15:47:29 +08:00
Ren'Py Bot 824828f5c8 Merge branch 'fix' 2023-05-17 02:25:34 -04:00
Tom Rothamel 59e427512c fix: Fix text tag issues with the Korean (and maybe Vietnamese) translations.
Fixes #4643.
2023-05-17 01:44:08 -04:00
Tom Rothamel 09c1a84169 Scry fixes.
- Return None of there is no current statement.
- Deal with a scry of None in character.
- Improve documentation.

Fixes #4640.
2023-05-17 01:29:18 -04:00
Tom Rothamel b254c23882 Include libydrogen in the source distribution.
Fixes #4638.
2023-05-17 01:23:01 -04:00
Tom Rothamel da7655642f Include libydrogen in the source distribution.
Fixes #4638.
2023-05-17 01:19:50 -04:00
Tom Rothamel 5c7efe99e6 Merge branch 'fix' 2023-05-17 00:58:53 -04:00
Tom Rothamel 17e743d346 Determine the version if vc_version.py does not exist.
This is likely to only happen if a git checkout exists. In that
case, we determine what branch we're on, and use that to
initialize the version information.
2023-05-17 00:54:34 -04:00
Tom Rothamel 2c898e4581 Merge branch 'fix' 2023-05-17 00:07:05 -04:00
Gouvernathor 1638a89023 Fix incorrect variable name
That was preventing renpy boot when vc_version is not present
Also, differenciate versions not yet named, "tbd", and versions not identified
2023-05-17 04:49:54 +02:00
Gouvernathor 1436e3e4f1 doc: role issues and involuntary comments 2023-05-17 04:10:16 +02:00
Gouvernathor d037830d38 Fix bad automatic comment translations
old ["']##[^\n]+?["']\n\s*(?:# Automatic translation\.\n\s*)?new ["'][^#]
(a gift to posterity)
The machine translate script should remove any prepending "## ", translate the rest, and then prepend it again to the result. Otherwise deepl thinks it's a word.
fixes #4633
2023-05-16 10:36:23 -04:00
Tom Rothamel d8cfb32514 distribute: Changes to support nightly builds.
* The --nightly flag to mark a version as nightly.
* The --print-version flag, to print the computed version.

This will allow distribute to supply version information to the
nightly build process.
2023-05-16 10:36:03 -04:00
Tom Rothamel adddcd6a11 distribute: Changes to support nightly builds.
* The --nightly flag to mark a version as nightly.
* The --print-version flag, to print the computed version.

This will allow distribute to supply version information to the
nightly build process.
2023-05-16 10:15:51 -04:00
Gouvernathor 8c511bcd72 Fix bad automatic comment translations
old ["']##[^\n]+?["']\n\s*(?:# Automatic translation\.\n\s*)?new ["'][^#]
(a gift to posterity)
The machine translate script should remove any prepending "## ", translate the rest, and then prepend it again to the result. Otherwise deepl thinks it's a word.
fixes #4633
2023-05-15 15:46:11 +02:00
Tom Rothamel 06acc1984a Use the runtime python to generate the version information. 2023-05-15 08:52:20 -04:00
Tom Rothamel 14c06dd2e4 Add py2 before py3.
Useful in the github case, to ensure Ren'Py 8 is uploaded last,
and hence is at the top of the list of downloads at github.
2023-05-15 02:40:13 -04:00
Tom Rothamel 516fceb2ab Store the version in vc_version, generate it from the branch. 2023-05-15 02:39:23 -04:00
Tom Rothamel 17b2be083a doc: Update sponsors. 2023-05-13 17:13:31 -04:00
Tom Rothamel 21caff9610 Update keywords. 2023-05-13 17:13:21 -04:00
Tom Rothamel 84db013177 doc: Credits. 2023-05-13 15:20:35 -04:00
Tom Rothamel 479c688851 doc: Polar coordinate changes. 2023-05-13 15:11:59 -04:00
Tom Rothamel 20593ac279 viewport: Allow draggable to become False during drag.
Fixes #4629.
2023-05-13 13:30:59 -04:00
Tom Rothamel 6639c4c162 Merge pull request #4576 from shawna-p/master
Allow None transition for ShowMenu
2023-05-13 13:30:04 -04:00
shawna-p 9c5eb15024 Shorten & clean up code 2023-04-28 14:40:11 -04:00
shawna-p 9e7109af81 Rename to prevent name conflict 2023-04-27 12:14:15 -04:00
shawna-p 3162455e14 Check for transition in call method 2023-04-27 12:11:19 -04:00
shawna-p bb568d4b5f Merge branch 'renpy:master' into master 2023-04-25 15:09:33 -04:00
shawna-p 24d991ae77 Allow the None transition for ShowMenu 2023-04-25 15:08:55 -04:00
162 changed files with 2692 additions and 2190 deletions
+155
View File
@@ -56,4 +56,159 @@
"renpy.warnOnInvalidVariableNames": "Disabled",
"renpy.warnOnInvalidFilenameIssues": "Disabled",
"renpy.warnOnIndentationAndSpacingIssues": "Disabled",
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": "renpy.meta.plain",
"settings": {
"fontStyle": ""
}
},
{
"scope": "renpy.meta.i",
"settings": {
"fontStyle": "italic"
}
},
{
"scope": "renpy.meta.b",
"settings": {
"fontStyle": "bold"
}
},
{
"scope": [
"renpy.meta.u",
"renpy.meta.a"
],
"settings": {
"fontStyle": "underline"
}
},
{
"scope": "renpy.meta.s",
"settings": {
"fontStyle": "strikethrough"
}
},
{
"scope": "renpy.meta.i renpy.meta.b",
"settings": {
"fontStyle": "italic bold"
}
},
{
"scope": "renpy.meta.i renpy.meta.u",
"settings": {
"fontStyle": "italic underline"
}
},
{
"scope": "renpy.meta.i renpy.meta.s",
"settings": {
"fontStyle": "italic strikethrough"
}
},
{
"scope": "renpy.meta.b renpy.meta.u",
"settings": {
"fontStyle": "bold underline"
}
},
{
"scope": "renpy.meta.b renpy.meta.s",
"settings": {
"fontStyle": "bold strikethrough"
}
},
{
"scope": "renpy.meta.u renpy.meta.s",
"settings": {
"fontStyle": "underline strikethrough"
}
},
{
"scope": "renpy.meta.i renpy.meta.b renpy.meta.u",
"settings": {
"fontStyle": "italic bold underline"
}
},
{
"scope": "renpy.meta.i renpy.meta.b renpy.meta.s",
"settings": {
"fontStyle": "italic bold strikethrough"
}
},
{
"scope": "renpy.meta.i renpy.meta.u renpy.meta.s",
"settings": {
"fontStyle": "italic underline strikethrough"
}
},
{
"scope": "renpy.meta.b renpy.meta.u renpy.meta.s",
"settings": {
"fontStyle": "bold underline strikethrough"
}
},
{
"scope": "renpy.meta.i renpy.meta.b renpy.meta.u renpy.meta.s",
"settings": {
"fontStyle": "italic bold underline strikethrough"
}
},
{
"scope": "renpy.meta.color.text",
"settings": {
"foreground": "#ffffff"
}
},
{
"scope": "text.notes.info",
"settings": {
"foreground": "#17a2b8",
"fontStyle": "bold"
}
},
{
"scope": "text.notes.success",
"settings": {
"foreground": "#28a745",
"fontStyle": "bold"
}
},
{
"scope": "text.notes.warning",
"settings": {
"foreground": "#ffc107",
"fontStyle": "bold"
}
},
{
"scope": "text.notes.danger",
"settings": {
"foreground": "#dc3545",
"fontStyle": "bold"
}
},
{
"scope": "renpy.meta.color.#fff",
"settings": {
"foreground": "#fff"
}
},
{
"scope": "renpy.meta.color.#fcc",
"settings": {
"foreground": "#fcc"
}
},
{
"scope": "renpy.meta.color.#cfc",
"settings": {
"foreground": "#cfc"
}
}
]
},
}
+5 -3
View File
@@ -15,9 +15,11 @@ SOURCE = [
"/home/tom/ab/renpy-build/renpyweb",
]
version = ".".join(str(i) for i in version_tuple)
short_version = ".".join(str(i) for i in version_tuple[:-1])
major = short_version.split(".")[0]
from renpy.versions import generate_vc_version
version = generate_vc_version()["version"]
short_version = version.rpartition(".")[0]
major = version.partition(".")[0]
print("Version", version)
ap = argparse.ArgumentParser()
+28 -44
View File
@@ -94,6 +94,8 @@ def main():
ap.add_argument("--vc-version-only", action="store_true")
ap.add_argument("--link-directories", action="store_true")
ap.add_argument("--append-version", action="store_true")
ap.add_argument("--nightly", action="store_true")
ap.add_argument("--print-version", action="store_true")
args = ap.parse_args()
@@ -101,71 +103,53 @@ def main():
link_directory("renios")
link_directory("web")
if args.link_directories:
import renpy.versions
renpy.versions.generate_vc_version(nightly=args.nightly)
if args.link_directories or args.vc_version_only:
return
if not os.path.abspath(sys.executable).startswith(ROOT + "/lib"):
raise Exception("Distribute must be run with the python in lib/.")
if args.sign:
os.environ["RENPY_MAC_IDENTITY"] = "Developer ID Application: Tom Rothamel (XHTE5H7Z79)"
if PY2 and not sys.flags.optimize:
raise Exception("Not running with python optimization.")
if not os.path.abspath(sys.executable).startswith(ROOT + "/lib"):
raise Exception("Distribute must be run with the python in lib/.")
# Revision updating is done early, so we can do it even if the rest
# of the program fails.
# Determine the version. We grab the current revision, and if any
# file has changed, bump it by 1.
import renpy
if args.version is None:
args.version = ".".join(str(i) for i in renpy.version_tuple[:-1])
try:
s = subprocess.check_output([ "git", "describe", "--tags", "--dirty", ]).decode("utf-8").strip()
parts = s.strip().split("-")
dirty = "dirty" in parts
vc_version_base = os.path.splitext(renpy.vc_version.__file__)[0]
commits_per_day = collections.defaultdict(int)
# Delete the .pyc and .pyo files, as reload can choose one of them instead
# of the new .py file.
for fn in [ vc_version_base + ".pyc", vc_version_base + ".pyo" ]:
if os.path.exists(fn):
os.unlink(fn)
for i in subprocess.check_output([ "git", "log", "-99", "--pretty=%cd", "--date=format:%Y%m%d" ]).decode("utf-8").split():
commits_per_day[i[2:]] += 1
if dirty:
key = time.strftime("%Y%m%d")[2:]
vc_version = "{}{:02d}".format(key, commits_per_day[key] + 1)
else:
key = max(commits_per_day.keys())
vc_version = "{}{:02d}".format(key, commits_per_day[key])
reload(renpy.vc_version)
except Exception:
vc_version = 0
import renpy.vc_version
with open("renpy/vc_version.py", "w") as f:
import socket
official = socket.gethostname() == "eileen"
nightly = args.version and "nightly" in args.version
# A normal reload is fine, as renpy/__init__.py won't change.
reload(renpy)
f.write("vc_version = {}\n".format(vc_version))
f.write("official = {}\n".format(official))
f.write("nightly = {}\n".format(nightly))
if args.vc_version_only:
if args.print_version:
print(renpy.version_only)
return
try:
reload(sys.modules['renpy.vc_version']) # @UndefinedVariable
except Exception:
import renpy.vc_version # @UnusedImport
reload(sys.modules['renpy'])
if args.version is None:
if args.nightly:
args.version = renpy.version_only
else:
args.version = ".".join(str(i) for i in renpy.version_tuple[:-1])
if args.append_version:
args.version += "-" + renpy.version_only
# Check that the versions match.
full_version = renpy.version_only # @UndefinedVariable
if "-" not in args.version \
and not full_version.startswith(args.version):
raise Exception("The command-line and Ren'Py versions do not match.")
@@ -268,7 +252,7 @@ def main():
"-q",
"egg_info",
"--tag-build",
"-for-renpy-" + args.version,
"+renpy" + args.version,
"sdist",
"-d",
os.path.abspath(destination)
+1 -1
View File
@@ -42,7 +42,7 @@ class Editor(renpy.editor.Editor):
elif renpy.arch == "armv7l":
arch = "arm"
else:
arch = "x86_64"
arch = "x64"
code = os.path.join(RENPY_VSCODE, "VSCode-linux-" + arch, "bin", "code")
else:
+1 -1
View File
@@ -42,7 +42,7 @@ class Editor(renpy.editor.Editor):
elif renpy.arch == "armv7l":
arch = "arm"
else:
arch = "x86_64"
arch = "x64"
code = os.path.join(RENPY_VSCODE, "VSCode-linux-" + arch, "bin", "code")
else:
+1 -1
View File
@@ -1,4 +1,4 @@
# This file contains strings used by RAPT, so the Ren'Py translation framework
# can find them. It's automatically generated by rapt/update_translations.py, and
# hence should not be changed by hand.
+19 -21
View File
@@ -41,7 +41,7 @@ init python:
except Exception:
return False
def choose_directory(path):
def choose_directory(default_path):
"""
Pops up a directory chooser.
@@ -54,33 +54,31 @@ init python:
rather than user choice.
"""
if path:
default_path = path
path = None
else:
try:
default_path = os.path.dirname(os.path.abspath(config.renpy_base))
except Exception:
default_path = os.path.abspath(config.renpy_base)
if _renpytfd:
path = _renpytfd.selectFolderDialog(__("Select Projects Directory"), default_path)
else:
path = None
is_default = False
if default_path is None:
try:
default_path = os.path.dirname(os.path.abspath(config.renpy_base))
except Exception:
default_path = os.path.abspath(config.renpy_base)
# Path being None or "" means nothing was selected.
if not path:
path = default_path
is_default = True
if default_path is None or not os.path.isdir(default_path) or not directory_is_writable(default_path):
interface.error(_("No directory was selected, but one is required."))
return default_path, True
# Apply more thorough checks to an explicit path.
path = renpy.fsdecode(path)
if (not os.path.isdir(path)) or (not directory_is_writable(path)):
interface.error(_("The selected projects directory is not writable."))
path = default_path
is_default = True
if not os.path.isdir(path):
interface.error(_("The selected directory does not exist."))
elif not directory_is_writable(path):
interface.error(_("The selected directory is not writable."))
if is_default and (not directory_is_writable(path)):
path = os.path.expanduser("~")
return path, is_default
return path, False
+22 -11
View File
@@ -551,7 +551,10 @@ change_renpy_executable()
self.pretty_version = build['version']
if (" " in self.base_name) or (":" in self.base_name) or (";" in self.base_name):
reporter.info(_("Building distributions failed:\n\nThe build.directory_name variable may not include the space, colon, or semicolon characters."), pause=True)
reporter.info(
_("Building distributions failed:\n\nThe build.directory_name variable may not include the space, colon, or semicolon characters."),
submessage=_("This may be derived from build.name and config.version or build.version."),
pause=True)
self.log.close()
return
@@ -720,29 +723,37 @@ change_renpy_executable()
is_dir = os.path.isdir(path)
if is_dir:
match_name = name + "/"
match_names = [ name + "/", name ]
else:
match_name = name
match_names = [ name ]
for pattern, file_list in patterns:
if match(match_name, pattern):
matched = False
# When we have ('test/**', None), avoid excluding test.
if (not file_list) and is_dir:
new_pattern = pattern.rstrip("*")
if (pattern != new_pattern) and match(match_name, new_pattern):
continue
for match_name in match_names:
if match(match_name, pattern):
# When we have ('test/**', None), avoid excluding test.
if (not file_list) and is_dir:
new_pattern = pattern.rstrip("*")
if (pattern != new_pattern) and match(match_name, new_pattern):
continue
matched = True
break
if matched:
break
else:
print(str(match_name), "doesn't match anything.", file=self.log)
print(str(match_names[0]), "doesn't match anything.", file=self.log)
pattern = None
file_list = None
print(str(match_name), "matches", str(pattern), "(" + str(file_list) + ").", file=self.log)
print(str(match_names[0]), "matches", str(pattern), "(" + str(file_list) + ").", file=self.log)
if file_list is None:
return
+1 -1
View File
@@ -162,7 +162,7 @@ init 1 python in editor:
elif renpy.arch == "armv7l":
arch = "arm"
else:
arch = "x86_64"
arch = "x64"
installed = os.path.exists(os.path.join(config.renpy_base, "vscode/VSCode-linux-" + arch))
+1 -1
View File
@@ -339,7 +339,6 @@ init python:
build.classify_renpy(pattern + "/**.rpymc", binary)
build.classify_renpy(pattern + "/**/" + renpy.script.BYTECODE_FILE, binary)
build.classify_renpy(pattern + "/**/cache/bytecode-311.rpyb", "web")
build.classify_renpy(pattern + "/**/cache/bytecode-*.rpyb", None)
build.classify_renpy(pattern + "/**/cache/*", binary)
@@ -396,6 +395,7 @@ init python:
build.classify_renpy("module/pysdlsound/*.pyx", "source")
build.classify_renpy("module/fribidi-src/**", "source")
build.classify_renpy("module/tinyfiledialogs/**", "source")
build.classify_renpy("module/libhydrogen/**", "source")
# all-platforms binary.
build.classify_renpy("lib/**/*steam_api*", "steam")
+4
View File
@@ -261,6 +261,10 @@ init python in project:
environ["RENPY_LAUNCHER_LANGUAGE"] = _preferences.language or "english"
environ.update(env)
# Filter out system PYTHON* environment variables.
if hasattr(sys, "renpy_executable"):
environ = { k : v for k, v in environ.items() if not k.startswith("PYTHON") }
encoded_environ = { }
for k, v in environ.items():
+8
View File
@@ -2122,3 +2122,11 @@ translate finnish strings:
# Automatic translation.
new "Ennen verkkosovellusten pakkaamista sinun on ladattava RenPyWeb, Ren'Pyn verkkotuki. Haluatko ladata RenPyWebin nyt?"
translate finnish strings:
# game/updater.rpy:79
old "A nightly build of fixes to the release version of Ren'Py."
# Automatic translation.
new "Yöllinen versio, joka sisältää korjauksia Ren'Pyn julkaisuversioon."
+1 -1
View File
@@ -731,7 +731,7 @@
# renpy/common/_developer/developer.rpym:57
old "Show Image Load Log (F4)"
new "Montrer le log ne chargement des images (F4)"
new "Afficher le log de chargement des images (F4)"
# renpy/common/_developer/developer.rpym:60
old "Hide Image Load Log (F4)"
+41 -25
View File
@@ -1108,6 +1108,14 @@
old "Release"
new "Stable"
# game/updater.rpy:64
old "Release (Ren'Py 8, Python 3)"
new "Stable (Ren'Py 8, Python 3)"
# game/updater.rpy:65
old "Release (Ren'Py 7, Python 2)"
new "Stable (Ren'Py 7, Python 2)"
# updater.rpy:97
old "{b}Recommended.{/b} The version of Ren'Py that should be used in all newly-released games."
new "{b}Recommandé.{/b} La version de RenPy qui devrait être utilisée pour tous les jeux récemment sortis."
@@ -1116,6 +1124,14 @@
old "Prerelease"
new "Pré-stable"
# game/updater.rpy:69
old "Prerelease (Ren'Py 8, Python 3)"
new "Pré-stable (Ren'Py 8, Python 3)"
# game/updater.rpy:70
old "Prerelease (Ren'Py 7, Python 2)"
new "Pré-stable (Ren'Py 7, Python 2)"
# updater.rpy:108
old "A preview of the next version of Ren'Py that can be used for testing and taking advantage of new features, but not for final releases of games."
new "Un aperçu de la prochaine version de RenPy qui peut être utilisée pour faire des tests et profiter de toutes nouvelles fonctionnalités, mais pas pour créer de nouveaux jeux."
@@ -1132,9 +1148,33 @@
old "Nightly"
new "Journalière"
# game/updater.rpy:77
old "Nightly (Ren'Py 8, Python 3)"
new "Journalière (Ren'Py 8, Python 3)"
# game/updater.rpy:78
old "Nightly (Ren'Py 7, Python 2)"
new "Journalière (Ren'Py 7, Python 2)"
# updater.rpy:132
old "The bleeding edge of Ren'Py development. This may have the latest features, or might not run at all."
new "Les toutes dernières version de RenPy encore en développement. Vous pouvez alors utiliser les toutes dernières fonctionnalités, mais le logiciel peut également ne pas sexécuter du tout."
new "La toute dernière version de RenPy, encore en développement. Elle peut contenir les toutes dernières fonctionnalités, ou alors ne pas marcher du tout."
# game/updater.rpy:76
old "Nightly Fix"
new "Journalière Corrective"
# game/updater.rpy:77
old "Nightly Fix (Ren'Py 8, Python 3)"
new "Journalière Corrective (Ren'Py 8, Python 3)"
# game/updater.rpy:78
old "Nightly Fix (Ren'Py 7, Python 2)"
new "Journalière Corrective (Ren'Py 7, Python 2)"
# game/updater.rpy:79
old "A nightly build of fixes to the release version of Ren'Py."
new "Une version journalière qui corrige les bugs de la dernière version stable."
# updater.rpy:152
old "An error has occured:"
@@ -2044,30 +2084,6 @@
old "Install Libraries:"
new "Installer des bibliothèques :"
# game/updater.rpy:64
old "Release (Ren'Py 8, Python 3)"
new "Stable (Ren'Py 8, Python 3)"
# game/updater.rpy:65
old "Release (Ren'Py 7, Python 2)"
new "Stable (Ren'Py 7, Python 2)"
# game/updater.rpy:69
old "Prerelease (Ren'Py 8, Python 3)"
new "Pré-stable (Ren'Py 8, Python 3)"
# game/updater.rpy:70
old "Prerelease (Ren'Py 7, Python 2)"
new "Pré-stable (Ren'Py 7, Python 2)"
# game/updater.rpy:77
old "Nightly (Ren'Py 8, Python 3)"
new "Journalière (Ren'Py 8, Python 3)"
# game/updater.rpy:78
old "Nightly (Ren'Py 7, Python 2)"
new "Journalière (Ren'Py 7, Python 2)"
# game/preferences.rpy:327
old "{#in language font}Welcome! Please choose a language"
new "{font=fonts/Roboto-Light.ttf}Bienvenue ! Choisissez une langue{/font}"
+1 -2
View File
@@ -134,7 +134,7 @@ translate german strings:
# gui.rpy:96
old "## Dialogue"
# Automatic translation.
new "*Dialog"
new "## Dialog"
# gui.rpy:98
old "## These variables control how dialogue is displayed on the screen one line at a time."
@@ -576,4 +576,3 @@ translate german strings:
old "## Change the size and spacing of various things."
# Automatic translation.
new "## Ändern Sie die Größe und die Abstände verschiedener Dinge."
+8
View File
@@ -2201,3 +2201,11 @@ translate german strings:
# Automatic translation.
new "Paket erstellen..."
translate german strings:
# game/updater.rpy:79
old "A nightly build of fixes to the release version of Ren'Py."
# Automatic translation.
new "Ein nächtlicher Build mit Korrekturen für die Release-Version von Ren'Py."
-9
View File
@@ -207,11 +207,6 @@ translate german strings:
# Automatic translation.
new "## ** passt auf alle Zeichen, auch auf das Verzeichnis-Trennzeichen."
# options.rpy:173
old "## For example, \"*.txt\" matches txt files in the base directory, \"game/**.ogg\" matches ogg files in the game directory or any of its subdirectories, and \"**.psd\" matches psd files anywhere in the project."
# Automatic translation.
new "*.txt\" findet beispielsweise txt-Dateien im Basisverzeichnis, \"game/**.ogg\" findet ogg-Dateien im Spielverzeichnis oder einem seiner Unterverzeichnisse und \"**.psd\" findet psd-Dateien überall im Projekt."
# options.rpy:177
old "## Classify files as None to exclude them from the built distributions."
# Automatic translation.
@@ -237,9 +232,6 @@ translate german strings:
# Automatic translation.
new "## Der mit einem itch.io-Projekt verbundene Benutzername und Projektname, getrennt durch einen Schrägstrich."
translate german strings:
# gui/game/options.rpy:31
old "## Text that is placed on the game's about screen. Place the text between the triple-quotes, and leave a blank line between paragraphs."
# Automatic translation.
@@ -263,4 +255,3 @@ translate german strings:
old "## A Google Play license key is required to perform in-app purchases. It can be found in the Google Play developer console, under \"Monetize\" > \"Monetization Setup\" > \"Licensing\"."
# Automatic translation.
new "## Für In-App-Käufe ist ein Google Play-Lizenzschlüssel erforderlich. Sie finden ihn in der Google Play-Entwicklerkonsole unter \"Monetize\" > \"Monetization Setup\" > \"Licensing\"."
+8
View File
@@ -2210,3 +2210,11 @@ translate greek strings:
# Automatic translation.
new "Πριν συσκευάσετε εφαρμογές ιστού, θα πρέπει να κατεβάσετε το RenPyWeb, την υποστήριξη ιστού της Ren'Py. Θα θέλατε να κατεβάσετε το RenPyWeb τώρα;"
translate greek strings:
# game/updater.rpy:79
old "A nightly build of fixes to the release version of Ren'Py."
# Automatic translation.
new "Ένα νυχτερινό build με διορθώσεις στην έκδοση κυκλοφορίας του Ren'Py."
-18
View File
@@ -207,11 +207,6 @@ translate indonesian strings:
# Automatic translation.
new "## Tombol Pilihan"
# gui.rpy:207
old "## Choice buttons are used in the in-game menus."
# Automatic translation.
new "Tombol pilihan ## digunakan dalam menu dalam game."
# gui.rpy:220
old "## File Slot Buttons"
# Automatic translation.
@@ -267,11 +262,6 @@ translate indonesian strings:
# Automatic translation.
new "## Jarak spasi di antara pilihan menu."
# gui.rpy:261
old "## Buttons in the navigation section of the main and game menus."
# Automatic translation.
new "Tombol ## di bagian navigasi pada menu utama dan menu permainan."
# gui.rpy:264
old "## Controls the amount of spacing between preferences."
# Automatic translation.
@@ -441,11 +431,6 @@ translate indonesian strings:
# Automatic translation.
new "## Ini mengubah ukuran dan spasi berbagai elemen GUI untuk memastikan elemen-elemen tersebut mudah terlihat pada ponsel."
# gui.rpy:413
old "## Font sizes."
# Automatic translation.
new "Ukuran huruf ##."
# gui.rpy:421
old "## Adjust the location of the textbox."
# Automatic translation.
@@ -471,8 +456,6 @@ translate indonesian strings:
# Automatic translation.
new "## Tombol cepat."
translate indonesian strings:
# gui.rpy:17
old "## GUI Configuration Variables"
new "## Variabel konfigurasi GUI"
@@ -532,4 +515,3 @@ translate indonesian strings:
old "## The maximum number of NVL-mode entries Ren'Py will display. When more entries than this are to be show, the oldest entry will be removed."
# Automatic translation.
new "## Jumlah maksimum entri mode NVL yang akan ditampilkan Ren'Py. Ketika lebih banyak entri daripada ini akan ditampilkan, entri tertua akan dihapus."
+8
View File
@@ -2168,3 +2168,11 @@ translate indonesian strings:
# Automatic translation.
new "Gambar dan musik dapat diunduh saat bermain. File 'progressive_download.txt' akan dibuat sehingga Anda dapat mengonfigurasi perilaku ini."
translate indonesian strings:
# game/updater.rpy:79
old "A nightly build of fixes to the release version of Ren'Py."
# Automatic translation.
new "Perbaikan versi malam hari untuk versi rilis Ren'Py."
+8
View File
@@ -2169,3 +2169,11 @@ translate italian strings:
# Automatic translation.
new "Prima di confezionare le applicazioni web, è necessario scaricare RenPyWeb, il supporto web di Ren'Py. Volete scaricare RenPyWeb ora?"
translate italian strings:
# game/updater.rpy:79
old "A nightly build of fixes to the release version of Ren'Py."
# Automatic translation.
new "Una build notturna di correzioni alla versione di rilascio di Ren'Py."
+8
View File
@@ -2153,3 +2153,11 @@ translate japanese strings:
old "Creating package..."
new "パッケージの作成..."
translate japanese strings:
# game/updater.rpy:79
old "A nightly build of fixes to the release version of Ren'Py."
# Automatic translation.
new "Ren'Py のリリース版に対する修正を行ったナイトリービルドです。"
+8 -2
View File
@@ -2047,8 +2047,7 @@ translate korean strings:
# game/preferences.rpy:256
old "Information about creating a custom theme can be found {a=https://www.renpy.org/doc/html/skins.html}in the Ren'Py Documentation{/a}."
# Automatic translation.
new "사용자 지정 테마를 만드는 방법에 대한 정보는 Ren'Py 문서{/a} 에서 {a=https://www.renpy.org/doc/html/skins.html}확인할 수 있습니다."
new "사용자 지정 테마를 만드는 방법에 대한 정보는 {a=https://www.renpy.org/doc/html/skins.html}Ren'Py 문서{/a} 에서 확인할 수 있습니다."
# game/preferences.rpy:273
old "Install Libraries:"
@@ -2150,3 +2149,10 @@ translate korean strings:
# Automatic translation.
new "재생 중에 이미지와 음악을 다운로드할 수 있습니다. 이 동작을 구성할 수 있도록 'progressive_download.txt' 파일이 생성됩니다."
translate korean strings:
# game/updater.rpy:79
old "A nightly build of fixes to the release version of Ren'Py."
# Automatic translation.
new "Ren'Py 릴리스 버전에 대한 수정 사항이 포함된 야간 빌드입니다."
-6
View File
@@ -207,13 +207,7 @@ translate korean strings:
# Automatic translation.
new "## 이 세 가지 변수는 무엇보다도 플레이어에게 기본적으로 표시되는 믹서를 제어합니다. 이 중 하나를 False로 설정하면 해당 믹서가 숨겨집니다."
# gui/game/options.rpy:152
old "## Icon"
# Automatic translation.
new "아이콘 ##"
# gui/game/options.rpy:203
old "## A Google Play license key is required to perform in-app purchases. It can be found in the Google Play developer console, under \"Monetize\" > \"Monetization Setup\" > \"Licensing\"."
# Automatic translation.
new "## 인앱 구매를 수행하려면 Google Play 라이선스 키가 필요합니다. Google Play 개발자 콘솔의 '수익 창출' > '수익 창출 설정' > '라이선스'에서 찾을 수 있습니다."
-5
View File
@@ -704,11 +704,6 @@ translate korean strings:
# Automatic translation.
new "## 주어진 경우 메뉴를 표시합니다. config.narrator_menu가 True로 설정된 경우 메뉴가 잘못 표시될 수 있습니다."
# gui/game/screens.rpy:1410
old "## Bubble screen"
# Automatic translation.
new "버블 스크린 ##"
# gui/game/screens.rpy:1412
old "## The bubble screen is used to display dialogue to the player when using speech bubbles. The bubble screen takes the same parameters as the say screen, must create a displayable with the id of \"what\", and can create displayables with the \"namebox\", \"who\", and \"window\" ids."
# Automatic translation.
+16 -16
View File
@@ -321,7 +321,7 @@ translate piglatin strings:
old "Language [text]"
new "Anguagelay [text]"
# renpy/common/00action_other.rpy:721
# renpy/common/00action_other.rpy:722
old "Open [text] directory."
new "Penoay [text] irectoryday."
@@ -485,11 +485,11 @@ translate piglatin strings:
old "Saved screenshot as %s."
new "Avedsay creenshotsay asay %say."
# renpy/common/00library.rpy:235
# renpy/common/00library.rpy:248
old "Skip Mode"
new "Kipsay Odemay"
# renpy/common/00library.rpy:340
# renpy/common/00library.rpy:353
old "This program contains free software under a number of licenses, including the MIT License and GNU Lesser General Public License. A complete list of software, including links to full source code, can be found {a=https://www.renpy.org/l/license}here{/a}."
new "Histay rogrampay ontainscay eefray oftwaresay underay aay umbernay ofay icenseslay, includingay hetay Itmay Icenselay anday Nugay Esserlay Eneralgay Ublicpay Icenselay. Aay ompletecay istlay ofay oftwaresay, includingay inkslay otay ullfay ourcesay odecay, ancay ebay oundfay {a=https://www.renpy.org/l/license}erehay{/a}."
@@ -733,55 +733,55 @@ translate piglatin strings:
old "The Ren'Py Sync server does not have a copy of this sync. The sync ID may be invalid, or it may have timed out."
new "Hetay Enray'Ypay Yncsay erversay oesday otnay avehay aay opycay ofay histay yncsay. Hetay yncsay Diay aymay ebay invaliday, oray itay aymay avehay imedtay outay."
# renpy/common/00sync.rpy:409
# renpy/common/00sync.rpy:412
old "Please enter the sync ID you generated.\nNever enter a sync ID you didn't create yourself."
new "Leasepay enteray hetay yncsay Diay ouyay eneratedgay.\nEvernay enteray aay yncsay Diay ouyay idnday'tay reatecay ourselfyay."
# renpy/common/00sync.rpy:428
# renpy/common/00sync.rpy:431
old "The sync ID is not in the correct format."
new "Hetay yncsay Diay isay otnay inay hetay orrectcay ormatfay."
# renpy/common/00sync.rpy:448
# renpy/common/00sync.rpy:451
old "The sync could not be decrypted."
new "Hetay yncsay ouldcay otnay ebay ecryptedday."
# renpy/common/00sync.rpy:471
# renpy/common/00sync.rpy:474
old "The sync belongs to a different game."
new "Hetay yncsay elongsbay otay aay ifferentday amegay."
# renpy/common/00sync.rpy:476
# renpy/common/00sync.rpy:479
old "The sync contains a file with an invalid name."
new "Hetay yncsay ontainscay aay ilefay ithway anay invaliday amenay."
# renpy/common/00sync.rpy:529
# renpy/common/00sync.rpy:532
old "This will upload your saves to the {a=https://sync.renpy.org}Ren'Py Sync Server{/a}.\nDo you want to continue?"
new "Histay illway uploaday ouryay avessay otay hetay {a=https://sync.renpy.org}Enray'Ypay Yncsay Erversay{/a}.\nOday ouyay antway otay ontinuecay?"
# renpy/common/00sync.rpy:558
# renpy/common/00sync.rpy:561
old "Enter Sync ID"
new "Ntereay Yncsay Diay"
# renpy/common/00sync.rpy:569
# renpy/common/00sync.rpy:572
old "This will contact the {a=https://sync.renpy.org}Ren'Py Sync Server{/a}."
new "Histay illway ontactcay hetay {a=https://sync.renpy.org}Enray'Ypay Yncsay Erversay{/a}."
# renpy/common/00sync.rpy:596
# renpy/common/00sync.rpy:599
old "Sync Success"
new "Yncsay Uccesssay"
# renpy/common/00sync.rpy:599
# renpy/common/00sync.rpy:602
old "The Sync ID is:"
new "Hetay Yncsay Diay isay:"
# renpy/common/00sync.rpy:605
# renpy/common/00sync.rpy:608
old "You can use this ID to download your save on another device.\nThis sync will expire in an hour.\nRen'Py Sync is supported by {a=https://www.renpy.org/sponsors.html}Ren'Py's Sponsors{/a}."
new "Ouyay ancay useay histay Diay otay ownloadday ouryay avesay onay anotheray eviceday.\nHistay yncsay illway expireay inay anay ourhay.\nEnray'Ypay Yncsay isay upportedsay ybay {a=https://www.renpy.org/sponsors.html}Enray'Ypay'say Ponsorssay{/a}."
# renpy/common/00sync.rpy:609
# renpy/common/00sync.rpy:612
old "Continue"
new "Ontinuecay"
# renpy/common/00sync.rpy:631
# renpy/common/00sync.rpy:634
old "Sync Error"
new "Yncsay Rroreay"
+2 -2
View File
@@ -51,11 +51,11 @@ translate piglatin strings:
# renpy/common/00gltest.rpy:181
old "60"
new "06ay"
new "60"
# renpy/common/00gltest.rpy:185
old "30"
new "03ay"
new "30"
# renpy/common/00gltest.rpy:191
old "Tearing"
+6 -6
View File
@@ -123,15 +123,15 @@ translate piglatin strings:
# gui/game/gui.rpy:103
old "## The placement of the textbox vertically on the screen. 0.0 is the top, 0.5 is center, and 1.0 is the bottom."
new "## Hetay acementplay ofay hetay extboxtay erticallyvay onay hetay creensay. 0ay.0ay isay hetay optay, 0ay.5ay isay entercay, anday 1ay.0ay isay hetay ottombay."
new "## Hetay acementplay ofay hetay extboxtay erticallyvay onay hetay creensay. 0.0 isay hetay optay, 0.5 isay entercay, anday 1.0 isay hetay ottombay."
# gui/game/gui.rpy:108
old "## The placement of the speaking character's name, relative to the textbox. These can be a whole number of pixels from the left or top, or 0.5 to center."
new "## Hetay acementplay ofay hetay peakingsay aracterchay'say amenay, elativeray otay hetay extboxtay. Hesetay ancay ebay aay holeway umbernay ofay ixelspay omfray hetay eftlay oray optay, oray 0ay.5ay otay entercay."
new "## Hetay acementplay ofay hetay peakingsay aracterchay'say amenay, elativeray otay hetay extboxtay. Hesetay ancay ebay aay holeway umbernay ofay ixelspay omfray hetay eftlay oray optay, oray 0.5 otay entercay."
# gui/game/gui.rpy:113
old "## The horizontal alignment of the character's name. This can be 0.0 for left-aligned, 0.5 for centered, and 1.0 for right-aligned."
new "## Hetay orizontalhay alignmentay ofay hetay aracterchay'say amenay. Histay ancay ebay 0ay.0ay orfay eftlay-aligneday, 0ay.5ay orfay enteredcay, anday 1ay.0ay orfay ightray-aligneday."
new "## Hetay orizontalhay alignmentay ofay hetay aracterchay'say amenay. Histay ancay ebay 0.0 orfay eftlay-aligneday, 0.5 orfay enteredcay, anday 1.0 orfay ightray-aligneday."
# gui/game/gui.rpy:117
old "## The width, height, and borders of the box containing the character's name, or None to automatically size it."
@@ -147,7 +147,7 @@ translate piglatin strings:
# gui/game/gui.rpy:131
old "## The placement of dialogue relative to the textbox. These can be a whole number of pixels relative to the left or top side of the textbox, or 0.5 to center."
new "## Hetay acementplay ofay ialogueday elativeray otay hetay extboxtay. Hesetay ancay ebay aay holeway umbernay ofay ixelspay elativeray otay hetay eftlay oray optay idesay ofay hetay extboxtay, oray 0ay.5ay otay entercay."
new "## Hetay acementplay ofay ialogueday elativeray otay hetay extboxtay. Hesetay ancay ebay aay holeway umbernay ofay ixelspay elativeray otay hetay eftlay oray optay idesay ofay hetay extboxtay, oray 0.5 otay entercay."
# gui/game/gui.rpy:137
old "## The maximum width of dialogue text, in pixels."
@@ -155,7 +155,7 @@ translate piglatin strings:
# gui/game/gui.rpy:140
old "## The horizontal alignment of the dialogue text. This can be 0.0 for left-aligned, 0.5 for centered, and 1.0 for right-aligned."
new "## Hetay orizontalhay alignmentay ofay hetay ialogueday exttay. Histay ancay ebay 0ay.0ay orfay eftlay-aligneday, 0ay.5ay orfay enteredcay, anday 1ay.0ay orfay ightray-aligneday."
new "## Hetay orizontalhay alignmentay ofay hetay ialogueday exttay. Histay ancay ebay 0.0 orfay eftlay-aligneday, 0.5 orfay enteredcay, anday 1.0 orfay ightray-aligneday."
# gui/game/gui.rpy:145
old "## Buttons"
@@ -191,7 +191,7 @@ translate piglatin strings:
# gui/game/gui.rpy:173
old "## The horizontal alignment of the button text. (0.0 is left, 0.5 is center, 1.0 is right)."
new "## Hetay orizontalhay alignmentay ofay hetay uttonbay exttay. (0ay.0ay isay eftlay, 0ay.5ay isay entercay, 1ay.0ay isay ightray)."
new "## Hetay orizontalhay alignmentay ofay hetay uttonbay exttay. (0.0 isay eftlay, 0.5 isay entercay, 1.0 isay ightray)."
# gui/game/gui.rpy:178
old "## These variables override settings for different kinds of buttons. Please see the gui documentation for the kinds of buttons available, and what each is used for."
+58 -62
View File
@@ -39,7 +39,7 @@ translate piglatin strings:
# game/android.rpy:37
old "A 64-bit/x64 Java [JDK_REQUIREMENT] Development Kit is required to build Android packages on Windows. The JDK is different from the JRE, so it's possible you have Java without having the JDK.\n\nPlease {a=https://www.renpy.org/jdk/[JDK_REQUIREMENT]}download and install the JDK{/a}, then restart the Ren'Py launcher."
new "Aay 46ay-itbay/64xay Avajay [JDK_REQUIREMENT] Evelopmentday Itkay isay equiredray otay uildbay Ndroidaay ackagespay onay Indowsway. Hetay Dkjay isay ifferentday omfray hetay Rejay, osay itay'say ossiblepay ouyay avehay Avajay ithoutway avinghay hetay Dkjay.\n\nLeasepay {a=https://www.renpy.org/jdk/[JDK_REQUIREMENT]}ownloadday anday installay hetay Dkjay{/a}, hentay estartray hetay Enray'Ypay auncherlay."
new "Aay 64-itbay/64xay Avajay [JDK_REQUIREMENT] Evelopmentday Itkay isay equiredray otay uildbay Ndroidaay ackagespay onay Indowsway. Hetay Dkjay isay ifferentday omfray hetay Rejay, osay itay'say ossiblepay ouyay avehay Avajay ithoutway avinghay hetay Dkjay.\n\nLeasepay {a=https://www.renpy.org/jdk/[JDK_REQUIREMENT]}ownloadday anday installay hetay Dkjay{/a}, hentay estartray hetay Enray'Ypay auncherlay."
# game/android.rpy:38
old "RAPT has been installed, but you'll need to install the Android SDK before you can build Android packages. Choose Install SDK to do this."
@@ -107,11 +107,11 @@ translate piglatin strings:
# game/android.rpy:57
old "Pairs with a device over Wi-Fi, on Android 11+."
new "Airspay ithway aay eviceday overay Iway-Ifay, onay Ndroidaay 11ay+."
new "Airspay ithway aay eviceday overay Iway-Ifay, onay Ndroidaay 11+."
# game/android.rpy:58
old "Connects to a device over Wi-Fi, on Android 11+."
new "Onnectscay otay aay eviceday overay Iway-Ifay, onay Ndroidaay 11ay+."
new "Onnectscay otay aay eviceday overay Iway-Ifay, onay Ndroidaay 11+."
# game/android.rpy:59
old "Disconnects a device connected over Wi-Fi."
@@ -123,11 +123,11 @@ translate piglatin strings:
# game/android.rpy:63
old "Builds an Android App Bundle (ABB), intended to be uploaded to Google Play. This can include up to 2GB of data."
new "Uildsbay anay Ndroidaay Ppaay Undlebay (Bbaay), intendeday otay ebay uploadeday otay Ooglegay Laypay. Histay ancay includeay upay otay GB2ay ofay ataday."
new "Uildsbay anay Ndroidaay Ppaay Undlebay (Bbaay), intendeday otay ebay uploadeday otay Ooglegay Laypay. Histay ancay includeay upay otay 2GB ofay ataday."
# game/android.rpy:64
old "Builds a Universal APK package, intended for sideloading and stores other than Google Play. This can include up to 2GB of data."
new "Uildsbay aay Niversaluay Pkaay ackagepay, intendeday orfay ideloadingsay anday oresstay otheray hantay Ooglegay Laypay. Histay ancay includeay upay otay GB2ay ofay ataday."
new "Uildsbay aay Niversaluay Pkaay ackagepay, intendeday orfay ideloadingsay anday oresstay otheray hantay Ooglegay Laypay. Histay ancay includeay upay otay 2GB ofay ataday."
# game/android.rpy:258
old "Copying Android files to distributions directory."
@@ -423,7 +423,7 @@ translate piglatin strings:
# game/androidstrings.rpy:49
old "The version of Java on your computer does not appear to be JDK 8, which is the only version supported by the Android SDK. If you need to install JDK 8, you can download it from:\n\n{a=https://adoptium.net/?variant=openjdk8}https://adoptium.net/?variant=openjdk8{/a}\n\nYou can also set the JAVA_HOME environment variable to use a different version of Java."
new "Hetay ersionvay ofay Avajay onay ouryay omputercay oesday otnay appearay otay ebay Dkjay 8ay, hichway isay hetay onlyay ersionvay upportedsay ybay hetay Ndroidaay Dksay. Fiay ouyay eednay otay installay Dkjay 8ay, ouyay ancay ownloadday itay omfray:\n\n{a=https://adoptium.net/?variant=openjdk8}ttpshay://adoptiumay.etnay/?ariantvay=openjdk8ay{/a}\n\nOuyay ancay alsoay etsay hetay Ava_homejay environmentay ariablevay otay useay aay ifferentday ersionvay ofay Avajay."
new "Hetay ersionvay ofay Avajay onay ouryay omputercay oesday otnay appearay otay ebay Dkjay 8, hichway isay hetay onlyay ersionvay upportedsay ybay hetay Ndroidaay Dksay. Fiay ouyay eednay otay installay Dkjay 8, ouyay ancay ownloadday itay omfray:\n\n{a=https://adoptium.net/?variant=openjdk8}ttpshay://adoptiumay.etnay/?ariantvay=openjdk8ay{/a}\n\nOuyay ancay alsoay etsay hetay Ava_homejay environmentay ariablevay otay useay aay ifferentday ersionvay ofay Avajay."
# game/androidstrings.rpy:50
old "The JDK is present and working. Good!"
@@ -711,7 +711,7 @@ translate piglatin strings:
# game/editor.rpy:169
old "Up to 110 MB download required."
new "Puay otay 101ay Bmay ownloadday equiredray."
new "Puay otay 110 Bmay ownloadday equiredray."
# game/editor.rpy:182
old "A modern and approachable text editor."
@@ -723,7 +723,7 @@ translate piglatin strings:
# game/editor.rpy:196
old "Up to 150 MB download required."
new "Puay otay 501ay Bmay ownloadday equiredray."
new "Puay otay 150 Bmay ownloadday equiredray."
# game/editor.rpy:211
old "jEdit"
@@ -735,7 +735,7 @@ translate piglatin strings:
# game/editor.rpy:211
old "1.8 MB download required."
new "1ay.8ay Bmay ownloadday equiredray."
new "1.8 Bmay ownloadday equiredray."
# game/editor.rpy:211
old "This may have occured because Java is not installed on this system."
@@ -821,26 +821,6 @@ translate piglatin strings:
old "Open Directory"
new "Penoay Irectoryday"
# game/front_page.rpy:162
old "game"
new "amegay"
# game/front_page.rpy:163
old "base"
new "asebay"
# game/front_page.rpy:164
old "images"
new "imagesay"
# game/front_page.rpy:165
old "audio"
new "audioay"
# game/front_page.rpy:166
old "gui"
new "uigay"
# game/front_page.rpy:171
old "Edit File"
new "Diteay Ilefay"
@@ -939,11 +919,11 @@ translate piglatin strings:
# game/gui7.rpy:333
old "What resolution should the project use? Although Ren'Py can scale the window up and down, this is the initial size of the window, the size at which assets should be drawn, and the size at which the assets will be at their sharpest.\n\nThe default of [default_size[0]]x[default_size[1]] is a reasonable compromise."
new "Hatway esolutionray ouldshay hetay rojectpay useay? Lthoughaay Enray'Ypay ancay calesay hetay indowway upay anday ownday, histay isay hetay initialay izesay ofay hetay indowway, hetay izesay atay hichway assetsay ouldshay ebay rawnday, anday hetay izesay atay hichway hetay assetsay illway ebay atay heirtay arpestshay.\n\nHetay efaultday ofay [default_size[]]x0ay[default_size[]]1ay isay aay easonableray ompromisecay."
new "Hatway esolutionray ouldshay hetay rojectpay useay? Lthoughaay Enray'Ypay ancay calesay hetay indowway upay anday ownday, histay isay hetay initialay izesay ofay hetay indowway, hetay izesay atay hichway assetsay ouldshay ebay rawnday, anday hetay izesay atay hichway hetay assetsay illway ebay atay heirtay arpestshay.\n\nHetay efaultday ofay [default_size[0]]xay[default_size[1]] isay aay easonableray ompromisecay."
# game/gui7.rpy:333
old "Custom. The GUI is optimized for a 16:9 aspect ratio."
new "Ustomcay. Hetay Uigay isay optimizeday orfay aay 61ay:9ay aspectay atioray."
new "Ustomcay. Hetay Uigay isay optimizeday orfay aay 16:9 aspectay atioray."
# game/gui7.rpy:350
old "WIDTH"
@@ -1019,7 +999,7 @@ translate piglatin strings:
# game/install.rpy:182
old "The {a=https://www.live2d.com/en/download/cubism-sdk/download-native/}Cubism SDK for Native{/a} adds support for displaying Live2D models. Place CubismSdkForNative-4-{i}version{/i}.zip in the Ren'Py SDK directory, and then click Install. Distributing a game with Live2D requires you to accept a license from Live2D, Inc."
new "Hetay {a=https://www.live2d.com/en/download/cubism-sdk/download-native/}Ubismcay Dksay orfay Ativenay{/a} addsay upportsay orfay isplayingday Ive2dlay odelsmay. Lacepay Ubismsdkfornativecay-4ay-{i}ersionvay{/i}.ipzay inay hetay Enray'Ypay Dksay irectoryday, anday hentay ickclay Nstalliay. Istributingday aay amegay ithway Ive2dlay equiresray ouyay otay acceptay aay icenselay omfray Ive2dlay, Nciay."
new "Hetay {a=https://www.live2d.com/en/download/cubism-sdk/download-native/}Ubismcay Dksay orfay Ativenay{/a} addsay upportsay orfay isplayingday Ive2dlay odelsmay. Lacepay Ubismsdkfornativecay-4-{i}ersionvay{/i}.ipzay inay hetay Enray'Ypay Dksay irectoryday, anday hentay ickclay Nstalliay. Istributingday aay amegay ithway Ive2dlay equiresray ouyay otay acceptay aay icenselay omfray Ive2dlay, Nciay."
# game/install.rpy:186
old "Live2D in Ren'Py doesn't support the Web, Android x86_64 (including emulators and Chrome OS), and must be added to iOS projects manually. Live2D must be reinstalled after upgrading Ren'Py or installing Android support."
@@ -1671,11 +1651,11 @@ translate piglatin strings:
# game/updater.rpy:64
old "Release (Ren'Py 8, Python 3)"
new "Eleaseray (Enray'Ypay 8ay, Ythonpay 3ay)"
new "Eleaseray (Enray'Ypay 8, Ythonpay 3)"
# game/updater.rpy:65
old "Release (Ren'Py 7, Python 2)"
new "Eleaseray (Enray'Ypay 7ay, Ythonpay 2ay)"
new "Eleaseray (Enray'Ypay 7, Ythonpay 2)"
# game/updater.rpy:66
old "{b}Recommended.{/b} The version of Ren'Py that should be used in all newly-released games."
@@ -1687,11 +1667,11 @@ translate piglatin strings:
# game/updater.rpy:69
old "Prerelease (Ren'Py 8, Python 3)"
new "Rereleasepay (Enray'Ypay 8ay, Ythonpay 3ay)"
new "Rereleasepay (Enray'Ypay 8, Ythonpay 3)"
# game/updater.rpy:70
old "Prerelease (Ren'Py 7, Python 2)"
new "Rereleasepay (Enray'Ypay 7ay, Ythonpay 2ay)"
new "Rereleasepay (Enray'Ypay 7, Ythonpay 2)"
# game/updater.rpy:71
old "A preview of the next version of Ren'Py that can be used for testing and taking advantage of new features, but not for final releases of games."
@@ -1706,102 +1686,118 @@ translate piglatin strings:
new "Xperimentaleay ersionsvay ofay Enray'Ypay. Ouyay ouldnshay'tay electsay histay annelchay unlessay askeday ybay aay Enray'Ypay eveloperday."
# game/updater.rpy:76
old "Nightly Fix"
new "Ightlynay Ixfay"
# game/updater.rpy:77
old "Nightly Fix (Ren'Py 8, Python 3)"
new "Ightlynay Ixfay (Enray'Ypay 8, Ythonpay 3)"
# game/updater.rpy:78
old "Nightly Fix (Ren'Py 7, Python 2)"
new "Ightlynay Ixfay (Enray'Ypay 7, Ythonpay 2)"
# game/updater.rpy:79
old "A nightly build of fixes to the release version of Ren'Py."
new "Aay ightlynay uildbay ofay ixesfay otay hetay eleaseray ersionvay ofay Enray'Ypay."
# game/updater.rpy:81
old "Nightly"
new "Ightlynay"
# game/updater.rpy:77
# game/updater.rpy:82
old "Nightly (Ren'Py 8, Python 3)"
new "Ightlynay (Enray'Ypay 8ay, Ythonpay 3ay)"
new "Ightlynay (Enray'Ypay 8, Ythonpay 3)"
# game/updater.rpy:78
# game/updater.rpy:83
old "Nightly (Ren'Py 7, Python 2)"
new "Ightlynay (Enray'Ypay 7ay, Ythonpay 2ay)"
new "Ightlynay (Enray'Ypay 7, Ythonpay 2)"
# game/updater.rpy:79
# game/updater.rpy:84
old "The bleeding edge of Ren'Py development. This may have the latest features, or might not run at all."
new "Hetay eedingblay edgeay ofay Enray'Ypay evelopmentday. Histay aymay avehay hetay atestlay eaturesfay, oray ightmay otnay unray atay allay."
# game/updater.rpy:97
# game/updater.rpy:102
old "Select Update Channel"
new "Electsay Pdateuay Hannelcay"
# game/updater.rpy:108
# game/updater.rpy:113
old "The update channel controls the version of Ren'Py the updater will download."
new "Hetay updateay annelchay ontrolscay hetay ersionvay ofay Enray'Ypay hetay updateray illway ownloadday."
# game/updater.rpy:116
# game/updater.rpy:121
old "• {a=https://www.renpy.org/doc/html/changelog.html}View change log{/a}"
new "• {a=https://www.renpy.org/doc/html/changelog.html}Iewvay angechay oglay{/a}"
# game/updater.rpy:118
# game/updater.rpy:123
old "• {a=https://www.renpy.org/dev-doc/html/changelog.html}View change log{/a}"
new "• {a=https://www.renpy.org/dev-doc/html/changelog.html}Iewvay angechay oglay{/a}"
# game/updater.rpy:124
# game/updater.rpy:129
old "• This version is installed and up-to-date."
new "• Histay ersionvay isay installeday anday upay-otay-ateday."
# game/updater.rpy:136
# game/updater.rpy:141
old "%B %d, %Y"
new "%Bay %day, %Yay"
# game/updater.rpy:158
# game/updater.rpy:163
old "An error has occured:"
new "Naay erroray ashay occureday:"
# game/updater.rpy:160
# game/updater.rpy:165
old "Checking for updates."
new "Heckingcay orfay updatesay."
# game/updater.rpy:162
# game/updater.rpy:167
old "Ren'Py is up to date."
new "Enray'Ypay isay upay otay ateday."
# game/updater.rpy:164
# game/updater.rpy:169
old "[u.version] is now available. Do you want to install it?"
new "[u.version] isay ownay availableay. Oday ouyay antway otay installay itay?"
# game/updater.rpy:166
# game/updater.rpy:171
old "Preparing to download the update."
new "Reparingpay otay ownloadday hetay updateay."
# game/updater.rpy:168
# game/updater.rpy:173
old "Downloading the update."
new "Ownloadingday hetay updateay."
# game/updater.rpy:170
# game/updater.rpy:175
old "Unpacking the update."
new "Npackinguay hetay updateay."
# game/updater.rpy:172
# game/updater.rpy:177
old "Finishing up."
new "Inishingfay upay."
# game/updater.rpy:174
# game/updater.rpy:179
old "The update has been installed. Ren'Py will restart."
new "Hetay updateay ashay eenbay installeday. Enray'Ypay illway estartray."
# game/updater.rpy:176
# game/updater.rpy:181
old "The update has been installed."
new "Hetay updateay ashay eenbay installeday."
# game/updater.rpy:178
# game/updater.rpy:183
old "The update was cancelled."
new "Hetay updateay asway ancelledcay."
# game/updater.rpy:195
# game/updater.rpy:200
old "Ren'Py Update"
new "Enray'Ypay Pdateuay"
# game/updater.rpy:201
# game/updater.rpy:206
old "Proceed"
new "Roceedpay"
# game/updater.rpy:215
# game/updater.rpy:220
old "Fetching the list of update channels"
new "Etchingfay hetay istlay ofay updateay annelschay"
# game/updater.rpy:220
# game/updater.rpy:225
old "downloading the list of update channels"
new "ownloadingday hetay istlay ofay updateay annelschay"
+3 -3
View File
@@ -23,7 +23,7 @@ translate piglatin strings:
# gui/game/options.rpy:17
old "Ren'Py 7 Default GUI"
new "Enray'Ypay 7ay Efaultday Uigay"
new "Enray'Ypay 7 Efaultday Uigay"
# gui/game/options.rpy:20
old "## Determines if the title given above is shown on the main menu screen. Set this to False to hide the title."
@@ -107,11 +107,11 @@ translate piglatin strings:
# gui/game/options.rpy:123
old "## Controls the default text speed. The default, 0, is infinite, while any other number is the number of characters per second to type out."
new "## Ontrolscay hetay efaultday exttay peedsay. Hetay efaultday, 0ay, isay infiniteay, hileway anyay otheray umbernay isay hetay umbernay ofay aracterschay erpay econdsay otay ypetay outay."
new "## Ontrolscay hetay efaultday exttay peedsay. Hetay efaultday, 0, isay infiniteay, hileway anyay otheray umbernay isay hetay umbernay ofay aracterschay erpay econdsay otay ypetay outay."
# gui/game/options.rpy:129
old "## The default auto-forward delay. Larger numbers lead to longer waits, with 0 to 30 being the valid range."
new "## Hetay efaultday autoay-orwardfay elayday. Argerlay umbersnay eadlay otay ongerlay aitsway, ithway 0ay otay 03ay eingbay hetay alidvay angeray."
new "## Hetay efaultday autoay-orwardfay elayday. Argerlay umbersnay eadlay otay ongerlay aitsway, ithway 0 otay 30 eingbay hetay alidvay angeray."
# gui/game/options.rpy:135
old "## Save directory"
+2 -1
View File
@@ -295,7 +295,7 @@ translate piglatin strings:
# gui/game/screens.rpy:668
old "## range(1, 10) gives the numbers from 1 to 9."
new "## angeray(1ay, 01ay) ivesgay hetay umbersnay omfray 1ay otay 9ay."
new "## angeray(1, 10) ivesgay hetay umbersnay omfray 1 otay 9."
# gui/game/screens.rpy:672
old ">"
@@ -672,3 +672,4 @@ translate piglatin strings:
# gui/game/screens.rpy:1526
old "Menu"
new "Enumay"
+8
View File
@@ -2055,3 +2055,11 @@ translate polish strings:
# Automatic translation.
new "Tworzenie pakietu..."
translate polish strings:
# game/updater.rpy:79
old "A nightly build of fixes to the release version of Ren'Py."
# Automatic translation.
new "Nocna kompilacja poprawek do wydanej wersji Ren'Py."
+1 -4
View File
@@ -674,9 +674,6 @@ translate polish strings:
old "Menu"
new "Menu"
translate polish strings:
# gui/game/screens.rpy:676
old "Upload Sync"
# Automatic translation.
@@ -700,7 +697,7 @@ translate polish strings:
# gui/game/screens.rpy:1410
old "## Bubble screen"
# Automatic translation.
new "# Bubble screen"
new "## Bubble screen"
# gui/game/screens.rpy:1412
old "## The bubble screen is used to display dialogue to the player when using speech bubbles. The bubble screen takes the same parameters as the say screen, must create a displayable with the id of \"what\", and can create displayables with the \"namebox\", \"who\", and \"window\" ids."
+8
View File
@@ -1227,3 +1227,11 @@ translate portuguese strings:
# Automatic translation.
new "Antes de empacotar aplicativos Web, você precisará baixar o RenPyWeb, o suporte Web do Ren'Py. Gostaria de fazer o download do RenPyWeb agora?"
translate portuguese strings:
# game/updater.rpy:79
old "A nightly build of fixes to the release version of Ren'Py."
# Automatic translation.
new "Uma compilação noturna de correções para a versão de lançamento do Ren'Py."
+1 -2
View File
@@ -206,7 +206,7 @@ translate portuguese strings:
# gui/game/options.rpy:175
old "## * matches all characters, except the directory separator."
# Automatic translation.
new "* corresponde a todos os caracteres, exceto o separador de diretório."
new "## * corresponde a todos os caracteres, exceto o separador de diretório."
# gui/game/options.rpy:177
old "## ** matches all characters, including the directory separator."
@@ -242,4 +242,3 @@ translate portuguese strings:
old "## The username and project name associated with an itch.io project, separated by a slash."
# Automatic translation.
new "## O nome de usuário e o nome do projeto associados a um projeto itch.io, separados por uma barra."
+8
View File
@@ -2091,3 +2091,11 @@ translate russian strings:
# Automatic translation.
new "Создание пакета..."
translate russian strings:
# game/updater.rpy:79
old "A nightly build of fixes to the release version of Ren'Py."
# Automatic translation.
new "Ночная сборка исправлений к релизной версии Ren'Py."
+29 -358
View File
@@ -12,51 +12,6 @@
old "Self-voicing enabled. "
new "机器朗读已启用。"
# renpy/common/00accessibility.rpy:32
old "bar"
# Automatic translation.
new "吧台"
# renpy/common/00accessibility.rpy:33
old "selected"
# Automatic translation.
new "选定的"
# renpy/common/00accessibility.rpy:34
old "viewport"
# Automatic translation.
new "视口"
# renpy/common/00accessibility.rpy:35
old "horizontal scroll"
# Automatic translation.
new "横向滚动"
# renpy/common/00accessibility.rpy:36
old "vertical scroll"
# Automatic translation.
new "垂直滚动"
# renpy/common/00accessibility.rpy:37
old "activate"
# Automatic translation.
new "激活"
# renpy/common/00accessibility.rpy:38
old "deactivate"
# Automatic translation.
new "停用"
# renpy/common/00accessibility.rpy:39
old "increase"
# Automatic translation.
new "增加"
# renpy/common/00accessibility.rpy:40
old "decrease"
# Automatic translation.
new "减少"
# renpy/common/00accessibility.rpy:138
old "Font Override"
new "字体覆盖"
@@ -351,36 +306,31 @@
# renpy/common/00director.rpy:1561
old "(statement)"
# Automatic translation.
new "(声明)"
new "(语句)"
# renpy/common/00director.rpy:1562
old "(tag)"
# Automatic translation.
new "(标签)"
new "(标签)"
# renpy/common/00director.rpy:1563
old "(attributes)"
# Automatic translation.
new "(属性)"
new "(属性)"
# renpy/common/00director.rpy:1564
old "(transform)"
new "(transform)"
new "(变换)"
# renpy/common/00director.rpy:1589
old "(transition)"
new "(transition)"
new "(转场)"
# renpy/common/00director.rpy:1601
old "(channel)"
# Automatic translation.
new "(频道)"
new "(轨道)"
# renpy/common/00director.rpy:1602
old "(filename)"
# Automatic translation.
new "(文件名)"
new "(文件名)"
# renpy/common/00director.rpy:1631
old "Change"
@@ -486,238 +436,6 @@
old "This program contains free software under a number of licenses, including the MIT License and GNU Lesser General Public License. A complete list of software, including links to full source code, can be found {a=https://www.renpy.org/l/license}here{/a}."
new "本程序包含了由数个许可证授权的自由软件,包括 MIT 许可证和 GNU 宽松通用公共许可证。完整软件列表及源代码链接,请{a=https://www.renpy.org/l/license}访问此处{/a}。"
# renpy/common/00preferences.rpy:263
old "display"
# Automatic translation.
new "展示"
# renpy/common/00preferences.rpy:275
old "transitions"
# Automatic translation.
new "过渡"
# renpy/common/00preferences.rpy:284
old "skip transitions"
# Automatic translation.
new "跳过过渡期"
# renpy/common/00preferences.rpy:286
old "video sprites"
# Automatic translation.
new "视频精灵"
# renpy/common/00preferences.rpy:295
old "show empty window"
# Automatic translation.
new "显示空窗口"
# renpy/common/00preferences.rpy:304
old "text speed"
# Automatic translation.
new "文字速度"
# renpy/common/00preferences.rpy:312
old "joystick"
# Automatic translation.
new "操纵杆"
# renpy/common/00preferences.rpy:312
old "joystick..."
# Automatic translation.
new "操纵杆..."
# renpy/common/00preferences.rpy:319
old "skip"
# Automatic translation.
new "跳过"
# renpy/common/00preferences.rpy:322
old "skip unseen [text]"
# Automatic translation.
new "跳过未见的[text]"
# renpy/common/00preferences.rpy:327
old "skip unseen text"
# Automatic translation.
new "跳过未看到的文本"
# renpy/common/00preferences.rpy:329
old "begin skipping"
# Automatic translation.
new "开始跳伞"
# renpy/common/00preferences.rpy:333
old "after choices"
# Automatic translation.
new "选择之后"
# renpy/common/00preferences.rpy:340
old "skip after choices"
# Automatic translation.
new "选择后跳过"
# renpy/common/00preferences.rpy:342
old "auto-forward time"
# Automatic translation.
new "自动转发时间"
# renpy/common/00preferences.rpy:356
old "auto-forward"
# Automatic translation.
new "自动转发"
# renpy/common/00preferences.rpy:363
old "Auto forward"
new "自动前进"
# renpy/common/00preferences.rpy:366
old "auto-forward after click"
# Automatic translation.
new "点击后自动转发"
# renpy/common/00preferences.rpy:375
old "automatic move"
# Automatic translation.
new "自动移动"
# renpy/common/00preferences.rpy:384
old "wait for voice"
# Automatic translation.
new "等待声音"
# renpy/common/00preferences.rpy:393
old "voice sustain"
# Automatic translation.
new "语音持续"
# renpy/common/00preferences.rpy:402
old "self voicing"
# Automatic translation.
new "自言自语"
# renpy/common/00preferences.rpy:411
old "self voicing volume drop"
# Automatic translation.
new "自我发声的音量下降"
# renpy/common/00preferences.rpy:419
old "clipboard voicing"
# Automatic translation.
new "剪贴板配音"
# renpy/common/00preferences.rpy:428
old "debug voicing"
new "debug voicing"
# renpy/common/00preferences.rpy:437
old "emphasize audio"
# Automatic translation.
new "强调音频"
# renpy/common/00preferences.rpy:446
old "rollback side"
# Automatic translation.
new "回滚方"
# renpy/common/00preferences.rpy:456
old "gl powersave"
# Automatic translation.
new "拯救生命的力量"
# renpy/common/00preferences.rpy:462
old "gl framerate"
# Automatic translation.
new "帧速率"
# renpy/common/00preferences.rpy:465
old "gl tearing"
new "gl tearing"
# renpy/common/00preferences.rpy:468
old "font transform"
# Automatic translation.
new "字体转换"
# renpy/common/00preferences.rpy:471
old "font size"
# Automatic translation.
new "字体大小"
# renpy/common/00preferences.rpy:479
old "font line spacing"
# Automatic translation.
new "字体行距"
# renpy/common/00preferences.rpy:487
old "system cursor"
# Automatic translation.
new "系统光标"
# renpy/common/00preferences.rpy:496
old "renderer menu"
# Automatic translation.
new "渲染器菜单"
# renpy/common/00preferences.rpy:499
old "accessibility menu"
# Automatic translation.
new "无障碍菜单"
# renpy/common/00preferences.rpy:502
old "high contrast text"
# Automatic translation.
new "高对比度文本"
# renpy/common/00preferences.rpy:511
old "audio when minimized"
# Automatic translation.
new "最小化时的音频"
# renpy/common/00preferences.rpy:531
old "main volume"
# Automatic translation.
new "主卷"
# renpy/common/00preferences.rpy:532
old "music volume"
# Automatic translation.
new "音量"
# renpy/common/00preferences.rpy:533
old "sound volume"
# Automatic translation.
new "音量"
# renpy/common/00preferences.rpy:534
old "voice volume"
# Automatic translation.
new "音量"
# renpy/common/00preferences.rpy:535
old "mute main"
# Automatic translation.
new "静音主"
# renpy/common/00preferences.rpy:536
old "mute music"
# Automatic translation.
new "静音音乐"
# renpy/common/00preferences.rpy:537
old "mute sound"
# Automatic translation.
new "静音"
# renpy/common/00preferences.rpy:538
old "mute voice"
# Automatic translation.
new "喑哑的声音"
# renpy/common/00preferences.rpy:539
old "mute all"
# Automatic translation.
new "全部静音"
# renpy/common/00preferences.rpy:620
old "Clipboard voicing enabled. Press 'shift+C' to disable."
new "剪贴板朗读已启用。按 Shift+C 来禁用。"
@@ -888,8 +606,7 @@
# renpy/common/_developer/inspector.rpym:185
old "<repr() failed>"
# Automatic translation.
new "<repr()失败>。"
new "<repr() 失败>"
# renpy/common/_layout/classic_load_save.rpym:170
old "a"
@@ -995,140 +712,94 @@
old "return"
new "返回"
translate schinese strings:
# renpy/common/00director.rpy:1745
old "Click to toggle attribute, right click to toggle negative attribute."
# Automatic translation.
new "点击切换属性,右击切换负面属性。"
new "点击切换属性,右键点击切换反面属性。"
# renpy/common/00director.rpy:1768
old "Click to set transform, right click to add to transform list."
# Automatic translation.
new "点击设置变换,右击添加到变换列表。"
new "点击设置变换,右键点击添加到变换列表。"
# renpy/common/00director.rpy:1789
old "Click to set, right click to add to behind list."
# Automatic translation.
new "点击设置,右击添加到后面的列表。"
new "点击设置,右键点击添加到置后(behind)列表。"
# renpy/common/00gui.rpy:456
old "This save was created on a different device. Maliciously constructed save files can harm your computer. Do you trust this save's creator and everyone who could have changed the file?"
# Automatic translation.
new "这个保存文件是在不同的设备上创建的。恶意构建的保存文件会损害你的计算机。你相信这个保存文件的创建者和所有可能改变该文件的人吗?"
new "此存档是在其他设备上创建的。恶意构造的存档文件可能会对您的计算机造成损害。您是否信任此存档的创建者以及所有可能更改过该文件的人?"
# renpy/common/00gui.rpy:457
old "Do you trust the device the save was created on? You should only choose yes if you are the device's sole user."
# Automatic translation.
new "你是否信任创建保存的设备?只有当你是该设备的唯一用户时,你才应该选择是。"
# renpy/common/00preferences.rpy:528
old "audio when unfocused"
# Automatic translation.
new "无焦点时的音频"
# renpy/common/00preferences.rpy:537
old "web cache preload"
# Automatic translation.
new "网络高速缓存预加载"
# renpy/common/00preferences.rpy:552
old "voice after game menu"
# Automatic translation.
new "游戏菜单后的语音"
new "您是否信任创建此存档的设备?只有当您是设备的唯一用户时,才应选择是。"
# renpy/common/00speechbubble.rpy:344
old "Speech Bubble Editor"
# Automatic translation.
new "语音泡编辑"
# renpy/common/00speechbubble.rpy:349
old "(hide)"
# Automatic translation.
new "(隐藏)"
new "对话气泡编辑器"
# renpy/common/00sync.rpy:70
old "Sync downloaded."
# Automatic translation.
new "同步下载。"
new "同步下载完成。"
# renpy/common/00sync.rpy:190
old "Could not connect to the Ren'Py Sync server."
# Automatic translation.
new "无法连接到Ren Py Sync服务器。"
new "无法连接到 Ren'Py 同步服务器。"
# renpy/common/00sync.rpy:192
old "The Ren'Py Sync server timed out."
# Automatic translation.
new "Ren'Py Sync服务器超时了。"
new "Ren'Py 同步服务器已超时。"
# renpy/common/00sync.rpy:194
old "An unknown error occurred while connecting to the Ren'Py Sync server."
# Automatic translation.
new "在连接到Ren Py Sync服务器时发生了一个未知的错误。"
new "在连接到 Ren'Py 同步服务器时发生了未知错误。"
# renpy/common/00sync.rpy:267
old "The Ren'Py Sync server does not have a copy of this sync. The sync ID may be invalid, or it may have timed out."
# Automatic translation.
new "Ren'Py Sync服务器没有这个同步的副本。同步ID可能是无效的,也可能是超时了。"
new "Ren'Py 同步服务器没有该同步副本。同步 ID 可能无效,或者可能已经超时。"
# renpy/common/00sync.rpy:409
old "Please enter the sync ID you generated.\nNever enter a sync ID you didn't create yourself."
# Automatic translation.
new "请输入你生成的同步ID。\n永远不要输入不是你自己创建的同步ID。"
new "请输入您生成的同步 ID。\n切勿输入并非由您创建的同步 ID。"
# renpy/common/00sync.rpy:428
old "The sync ID is not in the correct format."
# Automatic translation.
new "同步ID的格式不正确。"
new "同步 ID 的格式不正确。"
# renpy/common/00sync.rpy:448
old "The sync could not be decrypted."
# Automatic translation.
new "同步不能被解密。"
new "无法解密该同步。"
# renpy/common/00sync.rpy:471
old "The sync belongs to a different game."
# Automatic translation.
new "同步属于一个不同的游戏。"
new "该同步属于另一款游戏。"
# renpy/common/00sync.rpy:476
old "The sync contains a file with an invalid name."
# Automatic translation.
new "同步包含一个名称无效的文件。"
new "该同步包含一个文件,其文件名无效。"
# renpy/common/00sync.rpy:529
old "This will upload your saves to the {a=https://sync.renpy.org}Ren'Py Sync Server{/a}.\nDo you want to continue?"
# Automatic translation.
new "这将把你的保存上传到{a=https://sync.renpy.org}Ren Py Sync Server{/a} 。\n你想继续吗?"
new "此操作将把您的存档上传到 {a=https://sync.renpy.org}Ren'Py 同步服务器{/a} 。\n您想要继续吗?"
# renpy/common/00sync.rpy:558
old "Enter Sync ID"
# Automatic translation.
new "输入同步ID"
new "输入同步 ID"
# renpy/common/00sync.rpy:569
old "This will contact the {a=https://sync.renpy.org}Ren'Py Sync Server{/a}."
# Automatic translation.
new "这将联系{a=https://sync.renpy.org}Ren'Py Sync Server{/a} 。"
new "此操作将联系 {a=https://sync.renpy.org}Ren'Py 同步服务器{/a}。"
# renpy/common/00sync.rpy:596
old "Sync Success"
# Automatic translation.
new "同步成功"
# renpy/common/00sync.rpy:599
old "The Sync ID is:"
# Automatic translation.
new "同步ID是:"
new "同步 ID 是:"
# renpy/common/00sync.rpy:605
old "You can use this ID to download your save on another device.\nThis sync will expire in an hour.\nRen'Py Sync is supported by {a=https://www.renpy.org/sponsors.html}Ren'Py's Sponsors{/a}."
# Automatic translation.
new "你可以使用这个ID在另一个设备上下载你的保存。\n这种同步将在一小时后失效。\nRen'Py Sync是由{a=https://www.renpy.org/sponsors.html}Ren'Py的赞助商{/a} 。"
new "你可以使用此 ID 在另一设备上下载您的存档。\n此同步将在一小时后失效。\nRen'Py 同步由{a=https://www.renpy.org/sponsors.html}Ren'Py 赞助者{/a}赞助。"
# renpy/common/00sync.rpy:631
old "Sync Error"
# Automatic translation.
new "同步错误"
+12 -22
View File
@@ -1,5 +1,13 @@
translate schinese strings:
# renpy/common/_developer/developer.rpym:51
old "Persistent Viewer"
new "持久化数据查看器"
# renpy/common/_developer/developer.rpym:70
old "Speech Bubble Editor (Shift+B)"
new "对话气泡编辑器(Shift+B"
# renpy/common/00console.rpy:492
old "Press <esc> to exit console. Type help for help.\n"
new "按 Esc 来退出控制台。输入 help 来查看帮助。\n"
@@ -12,9 +20,9 @@
old "Ren'Py script disabled."
new "Ren'Py 脚本已禁用。"
# renpy/common/00console.rpy:747
old "help: show this help"
new "help:显示此帮助信息"
# renpy/common/00console.rpy:789
old "help: show this help\n help <expr>: show signature and documentation of <expr>"
new "help:显示此帮助信息\n help <表达式>:显示 <表达式> 的签名和文档"
# renpy/common/00console.rpy:752
old "commands:\n"
@@ -84,25 +92,7 @@
old "unescape: Disables escaping of unicode symbols in unicode strings and print it as is (default)."
new "unescape:禁止转义 Unicode 字符串中的 Unicode 符号,并按原样打印(默认)。"
translate schinese strings:
# renpy/common/_developer/developer.rpym:51
old "Persistent Viewer"
# Automatic translation.
new "持久性查看器"
# renpy/common/_developer/developer.rpym:70
old "Speech Bubble Editor (Shift+B)"
# Automatic translation.
new "语音泡泡编辑器(Shift+B"
# renpy/common/00console.rpy:789
old "help: show this help\n help <expr>: show signature and documentation of <expr>"
# Automatic translation.
new "help: 显示此帮助\n help <expr>: 显示<expr>的签名和文件"
# renpy/common/00console.rpy:813
old "Help may display undocumented functions. Please check that the function or\nclass you want to use is documented.\n\n"
# Automatic translation.
new "帮助可能会显示未记录的功能。请检查该函数或\n你想使用的类是有记录的。\n\n"
new "帮助功能可能会显示未记录文档的函数。请确认您想使用的函数或类是否已经被记录文档。\n\n"
-3
View File
@@ -432,10 +432,7 @@
old "## NVL-mode."
new "## NVL 模式。"
translate schinese strings:
# gui/game/gui.rpy:14
old "## Enable checks for invalid or unstable properties in screens or transforms"
# Automatic translation.
new "## 启用对屏幕或变换中无效或不稳定属性的检查"
+30 -88
View File
@@ -44,13 +44,9 @@
old "RAPT has been installed, but you'll need to install the Android SDK before you can build Android packages. Choose Install SDK to do this."
new "RAPT 已安装,但您还需要安装安卓 SDK 才可以构建安卓应用包。请继续安装 SDK。"
# game/android.rpy:37
old "RAPT has been installed, but a key hasn't been configured. Please create a new key, or restore android.keystore."
new "RAPT 已安装,但尚未配置密钥。请创建一个新密钥,或恢复 android.keystore 文件。"
# game/android.rpy:38
old "RAPT has been installed, but a bundle key hasn't been configured. Please create a new key, or restore bundle.keystore."
new "RAPT 已安装,但尚未配置 bundle 密钥。请创建一个新密钥,或恢复 bundle.keystore 文件。"
# game/android.rpy:39
old "RAPT has been installed, but a key hasn't been configured. Please generate new keys, or copy android.keystore and bundle.keystore to the base directory."
new "RAPT 已安装,但尚未配置密钥。请生成新的密钥,或 android.keystore 和 bundle.keystore 复制到基础目录中。"
# game/android.rpy:39
old "The current project has not been configured. Use \"Configure\" to configure it before building."
@@ -73,12 +69,16 @@
new "尝试模拟为安卓平板。\n\nEsc 和 PageUp 键将分别重映射为平板的菜单键和返回键。"
# game/android.rpy:45
old "Attempts to emulate a televison-based Android console, like the OUYA or Fire TV.\n\nController input is mapped to the arrow keys, Enter is mapped to the select button, Escape is mapped to the menu button, and PageUp is mapped to the back button."
new "尝试模拟为基于电视的安卓平台,例如 OUYA 或 Fire TV。\n\n键盘方向键将重映射为手柄方向键,Enter、Esc 和 PageUp 键将分别重映射为手柄的选择键、菜单键和返回键。"
old "Attempts to emulate a televison-based Android console.\n\nController input is mapped to the arrow keys, Enter is mapped to the select button, Escape is mapped to the menu button, and PageUp is mapped to the back button."
new "尝试模拟为基于电视的安卓游戏机。\n\n键盘方向键将重映射为手柄方向键,Enter、Esc 和 PageUp 键将分别重映射为手柄的选择键、菜单键和返回键。"
# game/android.rpy:47
old "Downloads and installs the Android SDK and supporting packages. Optionally, generates the keys required to sign the package."
new "下载并安装安卓 SDK 以及支持包。还可以选择生成对应用包进行签名所需的密钥。"
old "Downloads and installs the Android SDK and supporting packages."
new "下载并安装安卓 SDK 以及支持包。"
# game/android.rpy:49
old "Generates the keys required to sign the package."
new "生成对应用包进行签名所需的密钥。"
# game/android.rpy:48
old "Configures the package name, version, and other information about this project."
@@ -196,11 +196,6 @@
old "Other:"
new "其他:"
# game/android.rpy:452
old "Logcat"
# Automatic translation.
new "洛克特"
# game/android.rpy:456
old "List Devices"
new "列出设备"
@@ -354,12 +349,12 @@
new "版本号应仅含数字和点。"
# game/androidstrings.rpy:32
old "How much RAM do you want to allocate to Gradle?\n\nThis must be a positive integer number."
new "您打算给 Gradle 分配多少内存?\n\n必须为正整数。"
old "How much RAM (in GB) do you want to allocate to Gradle?\nThis must be a positive integer number."
new "您希望为 Gradle 分配多少 GB 的内存?\n\n必须为正整数。"
# game/androidstrings.rpy:33
old "The RAM size must contain only numbers."
new "内存大小应仅含数字。"
old "The RAM size must contain only numbers and be positive."
new "内存大小应为正整数。"
# game/androidstrings.rpy:34
old "How would you like your application to be displayed?"
@@ -497,11 +492,6 @@
old "Could not change the theme. Perhaps options.rpy was changed too much."
new "无法更改主题。可能 options.rpy 已被过度修改。"
# game/choose_theme.rpy:371
old "Planetarium"
# Automatic translation.
new "天文馆"
# game/choose_theme.rpy:426
old "Choose Theme"
new "选择主题"
@@ -778,11 +768,6 @@
old "Tutorial"
new "教程"
# game/front_page.rpy:133
old "The Question"
# Automatic translation.
new "问题"
# game/front_page.rpy:149
old "Active Project"
new "活跃项目"
@@ -1815,99 +1800,56 @@
old "Before packaging web apps, you'll need to download RenPyWeb, Ren'Py's web support. Would you like to download RenPyWeb now?"
new "在打包网页应用之前,您需要先下载 Ren'Py 网页支持包 RenPyWeb。您希望现在下载 RenPyWeb 吗?"
translate schinese strings:
# game/android.rpy:39
old "RAPT has been installed, but a key hasn't been configured. Please generate new keys, or copy android.keystore and bundle.keystore to the base directory."
# Automatic translation.
new "RAPT已经安装,但还没有配置密钥。请生成新的密钥,或将android.keystore和bundle.keystore复制到基本目录中。"
# game/android.rpy:46
old "Attempts to emulate a televison-based Android console.\n\nController input is mapped to the arrow keys, Enter is mapped to the select button, Escape is mapped to the menu button, and PageUp is mapped to the back button."
# Automatic translation.
new "试图模拟一个基于电视的安卓控制台。\n\n控制器的输入被映射到方向键上,回车键被映射到选择按钮上,Escape被映射到菜单按钮上,而PageUp被映射到返回按钮上。"
# game/android.rpy:48
old "Downloads and installs the Android SDK and supporting packages."
# Automatic translation.
new "下载并安装Android SDK和支持包。"
# game/android.rpy:49
old "Generates the keys required to sign the package."
# Automatic translation.
new "生成签署软件包所需的密钥。"
# game/android.rpy:383
old "Install SDK"
# Automatic translation.
new "安装SDK"
new "安装 SDK"
# game/android.rpy:387
old "Generate Keys"
# Automatic translation.
new "生成钥"
# game/androidstrings.rpy:32
old "How much RAM (in GB) do you want to allocate to Gradle?\nThis must be a positive integer number."
# Automatic translation.
new "你想给Gradle分配多少内存(GB)?\n这必须是一个正的整数。"
# game/androidstrings.rpy:33
old "The RAM size must contain only numbers and be positive."
# Automatic translation.
new "RAM大小必须只包含数字,并且是正数。"
new "生成钥"
# game/androidstrings.rpy:38
old "Which app store would you like to support in-app purchasing through?"
# Automatic translation.
new "你希望通过哪个应用商店支持应用内购买?"
# game/androidstrings.rpy:39
old "Google Play."
# Automatic translation.
new "谷歌游戏。"
new "您希望通过哪个应用商店支持应用内购买?"
# game/androidstrings.rpy:40
old "Amazon App Store."
# Automatic translation.
new "亚马逊应用商店。"
new "亚马逊(Amazon)应用商店。"
# game/androidstrings.rpy:41
old "Both, in one app."
# Automatic translation.
new "两者都是,在一个应用程序中。"
new "在一个应用程序中同时支持两者。"
# game/androidstrings.rpy:42
old "Neither."
# Automatic translation.
new "也没有。"
new "以上都不需要。"
# game/androidstrings.rpy:63
old "I found an android.keystore file in the rapt directory. Do you want to use this file?"
# Automatic translation.
new "我在rapt目录中发现了一个android.keystore文件。你想使用这个文件吗?"
new "我在 RAPT 目录中找到了一个 android.keystore 文件。您希望使用这个文件吗?"
# game/androidstrings.rpy:66
old "\n\nSaying 'No' will prevent key creation."
# Automatic translation.
new "\n\n说 \"不 \"将阻止钥匙的创建。"
new "\n\n选择“否”将阻止密钥创建。"
# game/androidstrings.rpy:69
old "I found a bundle.keystore file in the rapt directory. Do you want to use this file?"
# Automatic translation.
new "我在rapt目录中发现了一个bundle.keystore文件。你想使用这个文件吗?"
new "我在 RAPT 目录中找到了一个 bundle.keystore 文件。您希望使用这个文件吗?"
# game/distribute_gui.rpy:231
old "(DLC)"
new "(DLC)"
new "DLC"
# game/project.rpy:46
old "Lint checks your game for potential mistakes, and gives you statistics."
# Automatic translation.
new "林特检查你的游戏是否有潜在的错误,并给你统计。"
new "Lint 工具会检查您的游戏中可能的错误,并为您提供统计数据。"
# game/web.rpy:485
old "Creating package..."
# Automatic translation.
new "创建包..."
new "正在创建应用包……"
# game/updater.rpy:79
old "A nightly build of fixes to the release version of Ren'Py."
new "对 Ren'Py 发布版进行修正的每夜构建。"
+2 -10
View File
@@ -189,17 +189,9 @@
new "## 匹配为文档模式的文件会在 Mac 应用程序构建中被复制,因此它们同时出现在 APP 和 ZIP 文件中。"
# gui/game/options.rpy:203
old "## A Google Play license key is required to download expansion files and perform in-app purchases. It can be found on the \"Services & APIs\" page of the Google Play developer console."
new "## 下载扩展文件和执行应用内购需要一个 Google Play 许可密钥。许可密钥可以在 Google Play 开发者控制台的“服务和 API”页面找到。"
old "## A Google Play license key is required to perform in-app purchases. It can be found in the Google Play developer console, under \"Monetize\" > \"Monetization Setup\" > \"Licensing\"."
new "## 执行应用内购需要一个 Google Play 许可密钥。许可密钥可以在 Google Play 开发者控制台的“Monetize” > “Monetization Setup” > “Licensing”页面找到。"
# gui/game/options.rpy:210
old "## The username and project name associated with an itch.io project, separated by a slash."
new "## 与 itch.io 项目相关的用户名和项目名,以 / 分隔。"
translate schinese strings:
# gui/game/options.rpy:203
old "## A Google Play license key is required to perform in-app purchases. It can be found in the Google Play developer console, under \"Monetize\" > \"Monetization Setup\" > \"Licensing\"."
# Automatic translation.
new "##执行应用内购买需要一个Google Play许可证密钥。它可以在Google Play开发者控制台的 \"Monetize\" > \"Monetization Setup\" > \"Licensing \"下找到。"
+53 -71
View File
@@ -6,19 +6,19 @@
# gui/game/screens.rpy:81
old "## In-game screens"
new "## 游戏内界面"
new "## 游戏内屏幕"
# gui/game/screens.rpy:85
old "## Say screen"
new "## 对话界面"
new "## 对话屏幕"
# gui/game/screens.rpy:87
old "## The say screen is used to display dialogue to the player. It takes two parameters, who and what, which are the name of the speaking character and the text to be displayed, respectively. (The who parameter can be None if no name is given.)"
new "## 对话界面用于向用户显示对话。它需要两个参数,who 和 what,分别是叙述角色的名字和所叙述的文本。(如果没有名字,参数 who 可以是 None。)"
new "## 对话屏幕用于向用户显示对话。它需要两个参数,who 和 what,分别是叙述角色的名字和所叙述的文本。(如果没有名字,参数 who 可以是 None。)"
# gui/game/screens.rpy:92
old "## This screen must create a text displayable with id \"what\", as Ren'Py uses this to manage text display. It can also create displayables with id \"who\" and id \"window\" to apply style properties."
new "## 此界面必须创建一个 id 为 what 的文本可视控件,因为 Ren'Py 使用它来管理文本显示。它还可以创建 id 为 who 和 id 为 window 的可视控件来应用样式属性。"
new "## 此屏幕必须创建一个 id 为 what 的文本可视控件,因为 Ren'Py 使用它来管理文本显示。它还可以创建 id 为 who 和 id 为 window 的可视控件来应用样式属性。"
# gui/game/screens.rpy:96
old "## https://www.renpy.org/doc/html/screen_special.html#say"
@@ -34,15 +34,15 @@
# gui/game/screens.rpy:165
old "## Input screen"
new "## 输入界面"
new "## 输入屏幕"
# gui/game/screens.rpy:167
old "## This screen is used to display renpy.input. The prompt parameter is used to pass a text prompt in."
new "## 此界面用于显示 renpy.input。prompt 参数用于传递文本提示。"
new "## 此屏幕用于显示 renpy.input。prompt 参数用于传递文本提示。"
# gui/game/screens.rpy:170
old "## This screen must create an input displayable with id \"input\" to accept the various input parameters."
new "## 此界面必须创建一个 id 为 input 的输入可视控件来接受各种输入参数。"
new "## 此屏幕必须创建一个 id 为 input 的输入可视控件来接受各种输入参数。"
# gui/game/screens.rpy:173
old "## https://www.renpy.org/doc/html/screen_special.html#input"
@@ -50,11 +50,11 @@
# gui/game/screens.rpy:200
old "## Choice screen"
new "## 选择界面"
new "## 选择屏幕"
# gui/game/screens.rpy:202
old "## This screen is used to display the in-game choices presented by the menu statement. The one parameter, items, is a list of objects, each with caption and action fields."
new "## 此界面用于显示由 menu 语句生成的游戏内选项。参数 items 是一个对象列表,每个对象都有字幕和动作字段。"
new "## 此屏幕用于显示由 menu 语句生成的游戏内选项。参数 items 是一个对象列表,每个对象都有字幕和动作字段。"
# gui/game/screens.rpy:206
old "## https://www.renpy.org/doc/html/screen_special.html#choice"
@@ -62,7 +62,7 @@
# gui/game/screens.rpy:234
old "## Quick Menu screen"
new "## 快捷菜单界面"
new "## 快捷菜单屏幕"
# gui/game/screens.rpy:236
old "## The quick menu is displayed in-game to provide easy access to the out-of-game menus."
@@ -70,7 +70,7 @@
# gui/game/screens.rpy:241
old "## Ensure this appears on top of other screens."
new "## 确保该菜单出现在其他界面之上,"
new "## 确保该菜单出现在其他屏幕之上,"
# gui/game/screens.rpy:252
old "Back"
@@ -106,19 +106,19 @@
# gui/game/screens.rpy:262
old "## This code ensures that the quick_menu screen is displayed in-game, whenever the player has not explicitly hidden the interface."
new "## 此代码确保只要用户没有主动隐藏界面,就会在游戏中显示 quick_menu 界面。"
new "## 此代码确保只要用户没有主动隐藏界面,就会在游戏中显示 quick_menu 屏幕。"
# gui/game/screens.rpy:280
old "## Main and Game Menu Screens"
new "## 标题和游戏菜单界面"
new "## 标题和游戏菜单屏幕"
# gui/game/screens.rpy:283
old "## Navigation screen"
new "## 导航界面"
new "## 导航屏幕"
# gui/game/screens.rpy:285
old "## This screen is included in the main and game menus, and provides navigation to other menus, and to start the game."
new "## 该界面包含在标题菜单和游戏菜单中,并提供导航到其他菜单,以及启动游戏。"
new "## 该屏幕包含在标题菜单和游戏菜单中,并提供导航到其他菜单,以及启动游戏。"
# gui/game/screens.rpy:300
old "Start"
@@ -138,7 +138,7 @@
# gui/game/screens.rpy:318
old "Main Menu"
new "标题界面"
new "标题菜单"
# gui/game/screens.rpy:320
old "About"
@@ -162,7 +162,7 @@
# gui/game/screens.rpy:344
old "## Main Menu screen"
new "## 标题菜单界面"
new "## 标题菜单屏幕"
# gui/game/screens.rpy:346
old "## Used to display the main menu when Ren'Py starts."
@@ -174,7 +174,7 @@
# gui/game/screens.rpy:352
old "## This ensures that any other menu screen is replaced."
new "## 此语句可确保替换掉任何其他菜单界面。"
new "## 此语句可确保替换掉任何其他菜单屏幕。"
# gui/game/screens.rpy:357
old "## This empty frame darkens the main menu."
@@ -182,19 +182,19 @@
# gui/game/screens.rpy:361
old "## The use statement includes another screen inside this one. The actual contents of the main menu are in the navigation screen."
new "## use 语句将其他的界面包含进此界面。标题界面的实际内容在导航界面中。"
new "## use 语句将其他的屏幕包含进此屏幕。标题屏幕的实际内容在导航屏幕中。"
# gui/game/screens.rpy:406
old "## Game Menu screen"
new "## 游戏菜单界面"
new "## 游戏菜单屏幕"
# gui/game/screens.rpy:408
old "## This lays out the basic common structure of a game menu screen. It's called with the screen title, and displays the background, title, and navigation."
new "## 此界面列出了游戏菜单的基本共同结构。可使用界面标题调用,并显示背景、标题和导航菜单。"
new "## 此屏幕列出了游戏菜单的基本共同结构。可使用屏幕标题调用,并显示背景、标题和导航菜单。"
# gui/game/screens.rpy:411
old "## The scroll parameter can be None, or one of \"viewport\" or \"vpgrid\". When this screen is intended to be used with one or more children, which are transcluded (placed) inside it."
new "## scroll 参数可以是 None,也可以是 viewport 或 vpgrid。当此界面与一个或多个子界面同时使用,这些子界面将被嵌入(放置)在其中。"
old "## The scroll parameter can be None, or one of \"viewport\" or \"vpgrid\". This screen is intended to be used with one or more children, which are transcluded (placed) inside it."
new "## scroll 参数可以是 None,也可以是 viewport 或 vpgrid。此屏幕旨在与一个或多个子屏幕同时使用,这些子屏幕将被嵌入(放置)在其中。"
# gui/game/screens.rpy:429
old "## Reserve space for the navigation section."
@@ -206,19 +206,19 @@
# gui/game/screens.rpy:534
old "## About screen"
new "## 关于界面"
new "## 关于屏幕"
# gui/game/screens.rpy:536
old "## This screen gives credit and copyright information about the game and Ren'Py."
new "## 此界面提供有关游戏和 Ren'Py 的制作人员和版权信息。"
new "## 此屏幕提供有关游戏和 Ren'Py 的制作人员和版权信息。"
# gui/game/screens.rpy:539
old "## There's nothing special about this screen, and hence it also serves as an example of how to make a custom screen."
new "## 此界面没有什么特别之处,因此它也可以作为一个例子来说明如何制作一个自定义界面。"
new "## 此屏幕没有什么特别之处,因此它也可以作为一个例子来说明如何制作一个自定义屏幕。"
# gui/game/screens.rpy:546
old "## This use statement includes the game_menu screen inside this one. The vbox child is then included inside the viewport inside the game_menu screen."
new "## 此 use 语句将 game_menu 界面包含到了这个界面内。子级 vbox 将包含在 game_menu 界面的 viewport 内。"
new "## 此 use 语句将 game_menu 屏幕包含到了这个屏幕内。子级 vbox 将包含在 game_menu 屏幕的 viewport 内。"
# gui/game/screens.rpy:556
old "Version [config.version!t]\n"
@@ -234,11 +234,11 @@
# gui/game/screens.rpy:573
old "## Load and Save screens"
new "## 读取和保存界面"
new "## 读取和保存屏幕"
# gui/game/screens.rpy:575
old "## These screens are responsible for letting the player save the game and load it again. Since they share nearly everything in common, both are implemented in terms of a third screen, file_slots."
new "## 这些界面负责让用户保存游戏并能够再次读取。由于它们几乎完全一样,因此这两个界面都是以第三个界面 file_slots 来实现的。"
new "## 这些屏幕负责让用户保存游戏并能够再次读取。由于它们几乎完全一样,因此这两个屏幕都是以第三个屏幕 file_slots 来实现的。"
# gui/game/screens.rpy:579
old "## https://www.renpy.org/doc/html/screen_special.html#save https://www.renpy.org/doc/html/screen_special.html#load"
@@ -302,11 +302,11 @@
# gui/game/screens.rpy:704
old "## Preferences screen"
new "## 设置界面"
new "## 设置屏幕"
# gui/game/screens.rpy:706
old "## The preferences screen allows the player to configure the game to better suit themselves."
new "## 设置界面允许用户配置游戏,使其更适合自己。"
new "## 设置屏幕允许用户配置游戏,使其更适合自己。"
# gui/game/screens.rpy:709
old "## https://www.renpy.org/doc/html/screen_special.html#preferences"
@@ -371,11 +371,11 @@
# gui/game/screens.rpy:863
old "## History screen"
new "## 历史界面"
new "## 历史屏幕"
# gui/game/screens.rpy:865
old "## This is a screen that displays the dialogue history to the player. While there isn't anything special about this screen, it does have to access the dialogue history stored in _history_list."
new "## 这是一个向用户显示对话历史的界面。虽然此界面没有什么特别之处,但它必须访问储存在 _history_list 中的对话历史记录。"
new "## 这是一个向用户显示对话历史的屏幕。虽然此屏幕没有什么特别之处,但它必须访问储存在 _history_list 中的对话历史记录。"
# gui/game/screens.rpy:869
old "## https://www.renpy.org/doc/html/history.html"
@@ -383,7 +383,7 @@
# gui/game/screens.rpy:875
old "## Avoid predicting this screen, as it can be very large."
new "## 避免预缓存此界面,因为它可能非常大。"
new "## 避免预缓存此屏幕,因为它可能非常大。"
# gui/game/screens.rpy:886
old "## This lays things out properly if history_height is None."
@@ -399,15 +399,15 @@
# gui/game/screens.rpy:908
old "## This determines what tags are allowed to be displayed on the history screen."
new "## 此代码决定了允许在历史记录界面上显示哪些标签。"
new "## 此代码决定了允许在历史记录屏幕上显示哪些标签。"
# gui/game/screens.rpy:953
old "## Help screen"
new "## 帮助界面"
new "## 帮助屏幕"
# gui/game/screens.rpy:955
old "## A screen that gives information about key and mouse bindings. It uses other screens (keyboard_help, mouse_help, and gamepad_help) to display the actual help."
new "## 提供有关键盘和鼠标映射信息的界面。它使用其它界面keyboard_help、mouse_help 和 gamepad_help)来显示实际的帮助内容。"
new "## 提供有关键盘和鼠标映射信息的屏幕。它使用其它屏幕keyboard_help、mouse_help 和 gamepad_help)来显示实际的帮助内容。"
# gui/game/screens.rpy:974
old "Keyboard"
@@ -554,15 +554,15 @@
# gui/game/screens.rpy:1117
old "## Additional screens"
new "## 其他界面"
new "## 其他屏幕"
# gui/game/screens.rpy:1121
old "## Confirm screen"
new "## 确认界面"
new "## 确认屏幕"
# gui/game/screens.rpy:1123
old "## The confirm screen is called when Ren'Py wants to ask the player a yes or no question."
new "## 当 Ren'Py 需要询问用户有关确定或取消的问题时,会调用确认界面。"
new "## 当 Ren'Py 需要询问用户有关确定或取消的问题时,会调用确认屏幕。"
# gui/game/screens.rpy:1126
old "## https://www.renpy.org/doc/html/screen_special.html#confirm"
@@ -570,7 +570,7 @@
# gui/game/screens.rpy:1130
old "## Ensure other screens do not get input while this screen is displayed."
new "## 显示此界面时,确保其他界面无法输入。"
new "## 显示此屏幕时,确保其他屏幕无法输入。"
# gui/game/screens.rpy:1154
old "Yes"
@@ -586,11 +586,11 @@
# gui/game/screens.rpy:1184
old "## Skip indicator screen"
new "## 快进指示界面"
new "## 快进指示屏幕"
# gui/game/screens.rpy:1186
old "## The skip_indicator screen is displayed to indicate that skipping is in progress."
new "## skip_indicator 界面用于指示快进正在进行中。"
new "## skip_indicator 屏幕用于指示快进正在进行中。"
# gui/game/screens.rpy:1189
old "## https://www.renpy.org/doc/html/screen_special.html#skip-indicator"
@@ -610,11 +610,11 @@
# gui/game/screens.rpy:1240
old "## Notify screen"
new "## 通知界面"
new "## 通知屏幕"
# gui/game/screens.rpy:1242
old "## The notify screen is used to show the player a message. (For example, when the game is quicksaved or a screenshot has been taken.)"
new "## 通知界面用于向用户显示消息。(例如,当游戏快速保存或进行截屏时。)"
new "## 通知屏幕用于向用户显示消息。(例如,当游戏快速保存或进行截屏时。)"
# gui/game/screens.rpy:1245
old "## https://www.renpy.org/doc/html/screen_special.html#notify-screen"
@@ -622,11 +622,11 @@
# gui/game/screens.rpy:1279
old "## NVL screen"
new "## NVL 模式界面"
new "## NVL 模式屏幕"
# gui/game/screens.rpy:1281
old "## This screen is used for NVL-mode dialogue and menus."
new "## 此界面用于 NVL 模式的对话和菜单。"
new "## 此屏幕用于 NVL 模式的对话和菜单。"
# gui/game/screens.rpy:1283
old "## https://www.renpy.org/doc/html/screen_special.html#nvl"
@@ -637,8 +637,8 @@
new "## 在 vpgrid 或 vbox 中显示对话框。"
# gui/game/screens.rpy:1307
old "## Displays the menu, if given. The menu may be displayed incorrectly if config.narrator_menu is set to True, as it is above."
new "## 显示菜单,如果给定的话。如果 config.narrator_menu 设置为 True,则菜单可能显示不正确,就像上面那样。"
old "## Displays the menu, if given. The menu may be displayed incorrectly if config.narrator_menu is set to True."
new "## 显示菜单,如果给定的话。如果 config.narrator_menu 设置为 True,则菜单可能显示不正确。"
# gui/game/screens.rpy:1337
old "## This controls the maximum number of NVL-mode entries that can be displayed at once."
@@ -656,41 +656,23 @@
old "Menu"
new "菜单"
translate schinese strings:
# gui/game/screens.rpy:676
old "Upload Sync"
# Automatic translation.
new "上传同步"
# gui/game/screens.rpy:680
old "Download Sync"
# Automatic translation.
new "下载同步器"
# gui/game/screens.rpy:1320
old "## Displays the menu, if given. The menu may be displayed incorrectly if config.narrator_menu is set to True."
# Automatic translation.
new "## 显示菜单,如果给定的话。如果config.narrator_menu被设置为True,菜单可能会被错误地显示。"
new "下载同步"
# gui/game/screens.rpy:1410
old "## Bubble screen"
# Automatic translation.
new "## 泡沫屏幕"
new "## 对话气泡屏幕"
# gui/game/screens.rpy:1412
old "## The bubble screen is used to display dialogue to the player when using speech bubbles. The bubble screen takes the same parameters as the say screen, must create a displayable with the id of \"what\", and can create displayables with the \"namebox\", \"who\", and \"window\" ids."
# Automatic translation.
new "## 泡泡屏幕用于在使用语音泡泡时向玩家显示对话。泡泡屏的参数与say屏相同,必须创建一个id为 \"what \"的可显示文件,并且可以创建id为 \"namebox\"、\"who \"和 \"window \"的可显示文件。"
new "## 对话气泡屏幕用于以对话气泡的形式向玩家显示对话。对话气泡屏幕的参数与 say 屏幕相同,必须创建一个 id 为 what 的可视控件,并且可以创建 id 为 namebox、who 和 window 的可视控件。"
# gui/game/screens.rpy:1417
old "## https://www.renpy.org/doc/html/bubble.html#bubble-screen"
new "## https://www.renpy.org/doc/html/bubble.html#bubble-screen"
translate schinese strings:
# gui/game/screens.rpy:411
old "## The scroll parameter can be None, or one of \"viewport\" or \"vpgrid\". This screen is intended to be used with one or more children, which are transcluded (placed) inside it."
# Automatic translation.
new "##滚动参数可以是无,或者是 \"viewport \"或 \"vpgrid \"中的一个。这个屏幕旨在与一个或多个孩子一起使用,这些孩子被反括(放置)在它里面。"
+23 -9
View File
@@ -1185,7 +1185,7 @@
# updater.rpy:91
old "Release"
new "Lanzamiento"
new "Estable"
# updater.rpy:97
old "{b}Recommended.{/b} The version of Ren'Py that should be used in all newly-released games."
@@ -1193,7 +1193,7 @@
# updater.rpy:102
old "Prerelease"
new "Prelanzamiento"
new "Preliminar"
# updater.rpy:108
old "A preview of the next version of Ren'Py that can be used for testing and taking advantage of new features, but not for final releases of games."
@@ -1267,8 +1267,6 @@
old "Proceed"
new "Continuar"
translate spanish strings:
# game/add_file.rpy:37
old "The file name may not be empty."
new "El nombre del archivo no puede estar vacío."
@@ -1279,11 +1277,11 @@ translate spanish strings:
# game/android.rpy:50
old "Selects the Debug build, which can be accessed through Android Studio. Changing between debug and release builds requires an uninstall from your device."
new "Selecciona la versión de depuración, a la que se puedes acceder a través de Android Studio. Cambiar entre las compilaciones de depuración y de versión requiere una desinstalación de su dispositivo."
new "Selecciona la versión de depuración, a la que se puedes acceder a través de Android Studio. Cambiar entre las compilaciones de depuración y estable requiere una desinstalación de su dispositivo."
# game/android.rpy:51
old "Selects the Release build, which can be uploaded to stores. Changing between debug and release builds requires an uninstall from your device."
new "Selecciona la versión de lanzamiento, que se puede cargar en las tiendas. Cambiar entre las compilaciones de depuración y de versión requiere una desinstalación de su dispositivo."
new "Selecciona la versión estable, que se puede cargar en las tiendas. Cambiar entre las compilaciones de depuración y estable requiere una desinstalación de su dispositivo."
# game/androidstrings.rpy:7
old "{} is not a directory."
@@ -2007,7 +2005,7 @@ translate spanish strings:
# game/web.rpy:344
old "We will restore support in a future release of Ren'Py 8. Until then, please use Ren'Py 7 for web support."
new "Restauraremos el soporte en una versión futura de Ren'Py 8. Hasta entonces, use Ren'Py 7 para soporte web."
new "Restauraremos el soporte en una versión estable futura de Ren'Py 8. Hasta entonces, use Ren'Py 7 para soporte web."
# game/preferences.rpy:104
old "General"
@@ -2047,11 +2045,11 @@ translate spanish strings:
# game/updater.rpy:77
old "Nightly (Ren'Py 8, Python 3)"
new "Nightly (Ren'Py 8, Python 3)"
new "Nocturna (Ren'Py 8, Python 3)"
# game/updater.rpy:78
old "Nightly (Ren'Py 7, Python 2)"
new "Nightly (Ren'Py 7, Python 2)"
new "Nocturna (Ren'Py 7, Python 2)"
# game/preferences.rpy:327
old "{#in language font}Welcome! Please choose a language"
@@ -2116,3 +2114,19 @@ translate spanish strings:
# game/androidstrings.rpy:69
old "I found a bundle.keystore file in the rapt directory. Do you want to use this file?"
new "He encontrado un archivo bundle.keystore en el directorio rapt. ¿Quieres usar este archivo?"
# game/updater.rpy:79
old "A nightly build of fixes to the release version of Ren'Py."
new "Compilación nocturna de correcciones para la versión estable de Ren'Py."
# game/updater.rpy:76
old "Nightly Fix"
new "Correciones nocturnas"
# game/updater.rpy:77
old "Nightly Fix (Ren'Py 8, Python 3)"
new "Correciones nocturnas (Ren'Py 8, Python 3)"
# game/updater.rpy:78
old "Nightly Fix (Ren'Py 7, Python 2)"
new "Correciones nocturnas (Ren'Py 7, Python 2)"
+8
View File
@@ -2095,3 +2095,11 @@ translate turkish strings:
# Automatic translation.
new "Web uygulamalarını paketlemeden önce, Ren'Py'nin web desteği olan RenPyWeb'i indirmeniz gerekir. RenPyWeb'i şimdi indirmek ister misiniz?"
translate turkish strings:
# game/updater.rpy:79
old "A nightly build of fixes to the release version of Ren'Py."
# Automatic translation.
new "Ren'Py'nin sürümüne yönelik düzeltmelerden oluşan bir gece derlemesi."
+12 -42
View File
@@ -924,151 +924,121 @@ translate ukrainian strings:
# renpy/common/00accessibility.rpy:186
old "Disable"
# Automatic translation.
new "Вимкнути"
# renpy/common/00accessibility.rpy:209
old "Debug"
# Automatic translation.
new "Налагодження"
# renpy/common/00action_other.rpy:721
old "Open [text] directory."
# Automatic translation.
new "Відкрийте каталог [text]."
new "Відкрити теку [text]."
# renpy/common/00director.rpy:1745
old "Click to toggle attribute, right click to toggle negative attribute."
# Automatic translation.
new "Клацніть, щоб увімкнути атрибут, клацніть правою кнопкою миші, щоб увімкнути від'ємний атрибут."
new "Клацніть, аби увімкнути атрибут, клацніть ПКМ, аби увімкнути від’ємний атрибут."
# renpy/common/00director.rpy:1768
old "Click to set transform, right click to add to transform list."
# Automatic translation.
new "Клацніть, щоб встановити трансформацію, клацніть правою кнопкою миші, щоб додати до списку трансформацій."
new "Клацніть, щоб встановити трансформацію, клацніть ПКМ, щоб додати до списку трансформацій."
# renpy/common/00director.rpy:1789
old "Click to set, right click to add to behind list."
# Automatic translation.
new "Клацніть, щоб встановити, клацніть правою кнопкою миші, щоб додати до списку."
new "Клацніть, щоб встановити, клацніть ПКМ, щоб додати до списку."
# renpy/common/00gui.rpy:456
old "This save was created on a different device. Maliciously constructed save files can harm your computer. Do you trust this save's creator and everyone who could have changed the file?"
# Automatic translation.
new "Це збереження було створено на іншому пристрої. Зловмисно створені файли збережень можуть завдати шкоди вашому комп'ютеру. Чи довіряєте ви творцю цього збереження і всім, хто міг змінити файл?"
# renpy/common/00gui.rpy:457
old "Do you trust the device the save was created on? You should only choose yes if you are the device's sole user."
# Automatic translation.
new "Чи довіряєте ви пристрою, на якому було створено збереження? Ви повинні вибрати \"так\", тільки якщо ви є єдиним користувачем пристрою."
new "Чи довіряєте ви пристрою, на якому було створено збереження? Ви повинні вибрати \"Так\", тільки якщо ви є єдиним користувачем пристрою."
# renpy/common/00preferences.rpy:528
old "audio when unfocused"
# Automatic translation.
new "звук при розфокусуванні"
# renpy/common/00preferences.rpy:537
old "web cache preload"
# Automatic translation.
new "попереднє завантаження веб-кешу"
# renpy/common/00preferences.rpy:552
old "voice after game menu"
# Automatic translation.
new "голос після ігрового меню"
# renpy/common/00speechbubble.rpy:344
old "Speech Bubble Editor"
# Automatic translation.
new "Редактор мовних бульбашок"
# renpy/common/00speechbubble.rpy:349
old "(hide)"
# Automatic translation.
new "(приховати)"
# renpy/common/00sync.rpy:70
old "Sync downloaded."
# Automatic translation.
new "Синхронізація завантажена."
new "Синхронізацію завантажено."
# renpy/common/00sync.rpy:190
old "Could not connect to the Ren'Py Sync server."
# Automatic translation.
new "Не вдалося підключитися до сервера Ren'Py Sync."
# renpy/common/00sync.rpy:192
old "The Ren'Py Sync server timed out."
# Automatic translation.
new "Сервер Ren'Py Sync вийшов з ладу."
# renpy/common/00sync.rpy:194
old "An unknown error occurred while connecting to the Ren'Py Sync server."
# Automatic translation.
new "Під час підключення до сервера Ren'Py Sync виникла невідома помилка."
# renpy/common/00sync.rpy:267
old "The Ren'Py Sync server does not have a copy of this sync. The sync ID may be invalid, or it may have timed out."
# Automatic translation.
new "Сервер Ren'Py Sync не має копії цієї синхронізації. Ідентифікатор синхронізації може бути недійсним або його термін дії закінчився."
# renpy/common/00sync.rpy:409
old "Please enter the sync ID you generated.\nNever enter a sync ID you didn't create yourself."
# Automatic translation.
new "Будь ласка, введіть згенерований вами ідентифікатор синхронізації.\nНіколи не вводьте ідентифікатор синхронізації, який ви не створювали."
# renpy/common/00sync.rpy:428
old "The sync ID is not in the correct format."
# Automatic translation.
new "Ідентифікатор синхронізації має неправильний формат."
# renpy/common/00sync.rpy:448
old "The sync could not be decrypted."
# Automatic translation.
new "Синхронізацію не вдалося розшифрувати."
# renpy/common/00sync.rpy:471
old "The sync belongs to a different game."
# Automatic translation.
new "Синхронізація належить до іншої гри."
# renpy/common/00sync.rpy:476
old "The sync contains a file with an invalid name."
# Automatic translation.
new "Синхронізація містить файл з невірним іменем."
new "Синхронізація містить файл з невірною назвою."
# renpy/common/00sync.rpy:529
old "This will upload your saves to the {a=https://sync.renpy.org}Ren'Py Sync Server{/a}.\nDo you want to continue?"
# Automatic translation.
new "Це завантажить ваші збереження на сервер синхронізації {a=https://sync.renpy.org}Ren'Py Sync Server{/a}.\nХочете продовжити?"
new "Це завантажить ваші збереження на сервер синхронізації {a=https://sync.renpy.org}Ren'Py Sync{/a}.\nБажаєте продовжити?"
# renpy/common/00sync.rpy:558
old "Enter Sync ID"
# Automatic translation.
new "Введіть Sync ID"
new "Уведіть ідентифікатор синхронізації"
# renpy/common/00sync.rpy:569
old "This will contact the {a=https://sync.renpy.org}Ren'Py Sync Server{/a}."
# Automatic translation.
new "Він зв'яжеться з сервером синхронізації {a=https://sync.renpy.org}Ren'Py Sync Server{/a}."
new "Зв’язок зі сервером синхронізації {a=https://sync.renpy.org}Ren'Py Sync{/a}."
# renpy/common/00sync.rpy:596
old "Sync Success"
# Automatic translation.
new "Успіх синхронізації"
new "Успішна синхронізація"
# renpy/common/00sync.rpy:599
old "The Sync ID is:"
# Automatic translation.
new "Ідентифікатор синхронізації:"
# renpy/common/00sync.rpy:605
old "You can use this ID to download your save on another device.\nThis sync will expire in an hour.\nRen'Py Sync is supported by {a=https://www.renpy.org/sponsors.html}Ren'Py's Sponsors{/a}."
# Automatic translation.
new "Ви можете використовувати цей ідентифікатор, щоб завантажити збереження на інший пристрій.\nЦя синхронізація закінчиться через годину.\nRen'Py Sync підтримується {a=https://www.renpy.org/sponsors.html}Спонсорами Ren'Py{/a}."
new "Ви можете використовувати цей ідентифікатор, щоб завантажити збереження на інший пристрій.\nЦя синхронізація закінчиться через годину.\nRen'Py Sync підтримується {a=https://www.renpy.org/sponsors.html}спонсорами Ren'Py{/a}."
# renpy/common/00sync.rpy:631
old "Sync Error"
# Automatic translation.
new "Помилка синхронізації"
+3 -7
View File
@@ -93,21 +93,17 @@ translate ukrainian strings:
# renpy/common/_developer/developer.rpym:51
old "Persistent Viewer"
# Automatic translation.
new "Постійний глядач"
new "Переглядач постійних даних"
# renpy/common/_developer/developer.rpym:70
old "Speech Bubble Editor (Shift+B)"
# Automatic translation.
new "Редактор мовних бульбашок (Shift+B)"
# renpy/common/00console.rpy:789
old "help: show this help\n help <expr>: show signature and documentation of <expr>"
# Automatic translation.
new "help: показати цю довідку\n help <expr>: показати підпис та документацію <expr>"
# renpy/common/00console.rpy:813
old "Help may display undocumented functions. Please check that the function or\nclass you want to use is documented.\n\n"
# Automatic translation.
new "Довідка може відображати недокументовані функції. Будь ласка, перевірте, чи функція або\nклас, який ви хочете використовувати, задокументовано.\n\n"
old "Help may display undocumented functions. Please check that the function or\nclass you want to use is documented.\n\n"
new "У довідці можуть відображатися недокументовані функції. Будь ласка, перевірте, чи функцію або\nклас, який ви хочете використати, задокументовано.\n\n"
+37 -37
View File
@@ -3,23 +3,23 @@ translate ukrainian strings:
# 00gltest.rpy:70
old "Renderer"
new "Рендер"
new "Візуалізація"
# 00gltest.rpy:74
old "Automatically Choose"
new "Вибирати Автоматично"
new "Вибрати автоматично"
# 00gltest.rpy:79
old "Force Angle/DirectX Renderer"
new "Примусовий Angle/DirectX"
new "Примусова візуалізація Angle/DirectX"
# 00gltest.rpy:83
old "Force OpenGL Renderer"
new "Примусовий OpenGL"
new "Примусова візуалізація OpenGL"
# 00gltest.rpy:87
old "Force Software Renderer"
new "Примусовий Програмний"
new "Примусова програмна візуалізація"
# 00gltest.rpy:93
old "NPOT"
@@ -27,11 +27,11 @@ translate ukrainian strings:
# 00gltest.rpy:97
old "Enable"
new "Активовано"
new "Увімкнути"
# 00gltest.rpy:131
old "Powersave"
new "Економія енергії"
new "Енергозбереження"
# 00gltest.rpy:145
old "Framerate"
@@ -59,23 +59,23 @@ translate ukrainian strings:
# 00gltest.rpy:213
old "Performance Warning"
new "Попередження Продуктивності"
new "Попередження про продуктивність"
# 00gltest.rpy:218
old "This computer is using software rendering."
new "Цей комп'ютер використовує програмний рендеринг."
new "Цей пристрій використовує програмну візуалізацію."
# 00gltest.rpy:220
old "This computer is not using shaders."
new "Цей комп'ютер не використовує шейдерів."
new "Цей пристрій не використовує шейдерів."
# 00gltest.rpy:222
old "This computer is displaying graphics slowly."
new "Цей комп'ютер повільно відображає графіку."
new "Цей пристрій повільно відображає графіку."
# 00gltest.rpy:224
old "This computer has a problem displaying graphics: [problem]."
new "Цей комп'ютер має проблему з відображенням графіки: [problem]"
new "Цей пристрій має проблему з відображенням графіки: [problem]"
# 00gltest.rpy:229
old "Its graphics drivers may be out of date or not operating correctly. This can lead to slow or incorrect graphics display. Updating DirectX could fix this problem."
@@ -91,11 +91,11 @@ translate ukrainian strings:
# 00gltest.rpy:242
old "Continue, Show this warning again"
new "Продовжити, показати це попередження знову"
new "Продовжити, показати знову"
# 00gltest.rpy:246
old "Continue, Don't show warning again"
new "Продовжити, не показувати це попередження знову."
new "Продовжити, не показувати знову."
# 00gltest.rpy:264
old "Updating DirectX."
@@ -103,15 +103,15 @@ translate ukrainian strings:
# 00gltest.rpy:268
old "DirectX web setup has been started. It may start minimized in the taskbar. Please follow the prompts to install DirectX."
new "Інсталятор DirectX був запущений. Можливо, що він запустився у згорнутому стані. Будь ласка, дотримуйтесь інструкцій для встановлення DirectX."
new "Запущено веб-налаштування DirectX. Вона може згорнутися на панелі завдань. Будь ласка, дотримуйтесь підказок для встановлення DirectX."
# 00gltest.rpy:272
old "{b}Note:{/b} Microsoft's DirectX web setup program will, by default, install the Bing toolbar. If you do not want this toolbar, uncheck the appropriate box."
new "{b}Попередження:{/b} Інсталятор DirectX за замовчуванням намагається встановити панель інструментів Bing. Якщо ви цього не хочете, зніміть відповідну галочку."
new "{b}Примітка:{/b} Інсталятор DirectX за замовчуванням намагається встановити панель інструментів Bing. Якщо ви цього не хочете, зніміть відповідну галочку."
# 00gltest.rpy:276
old "When setup finishes, please click below to restart this program."
new "Після завершення інсталяції клацніть, щоб перезапустити програму."
new "Після завершення налаштування, натисніть нижче, щоб перезапустити програму."
# 00gltest.rpy:278
old "Restart"
@@ -119,7 +119,7 @@ translate ukrainian strings:
# 00gamepad.rpy:32
old "Select Gamepad to Calibrate"
new "Виберіть Геймпад для калібрування"
new "Виберіть геймпад для калібрування"
# 00gamepad.rpy:35
old "No Gamepads Available"
@@ -127,11 +127,11 @@ translate ukrainian strings:
# 00gamepad.rpy:54
old "Calibrating [name] ([i]/[total])"
new "Калібрую [name] ([i]/[total])"
new "Калібрування [name] ([i]/[total])"
# 00gamepad.rpy:58
old "Press or move the [control!s] [kind]."
new "Натисніть або посуньте [control!s] [kind]."
new "Натисніть або перемістіть [control!s] [kind]."
# 00gamepad.rpy:66
old "Skip (A)"
@@ -143,7 +143,7 @@ translate ukrainian strings:
# _errorhandling.rpym:529
old "Open"
new "Журнал"
new "Відкрити"
# _errorhandling.rpym:531
old "Opens the traceback.txt file in a text editor."
@@ -159,15 +159,15 @@ translate ukrainian strings:
# _errorhandling.rpym:562
old "An exception has occurred."
new "Виник виняток."
new "Стався виняток."
# _errorhandling.rpym:582
old "Rollback"
new "Назад"
new "Відкат"
# _errorhandling.rpym:584
old "Attempts a roll back to a prior time, allowing you to save or choose a different choice."
new "Намагається повернутися назад, дозволяючи вам зберегтися або прийняти інший вибір."
new "Спроба відкоту до попереднього часу, що дозволяє зберегти або вибрати інший варіант."
# _errorhandling.rpym:587
old "Ignore"
@@ -187,7 +187,7 @@ translate ukrainian strings:
# _errorhandling.rpym:599
old "Reloads the game from disk, saving and restoring game state if possible."
new "Перезавантажує гру з диска, зберігаючи та відновлюючи її стан, якщо це можливо."
new "Перезавантажує гру з диска, зберігаючи та відновлюючи її стан, якщо можливо."
# _errorhandling.rpym:602
old "Console"
@@ -203,7 +203,7 @@ translate ukrainian strings:
# _errorhandling.rpym:638
old "Parsing the script failed."
new "Опрацювання сценарію завершилося невдало."
new "Опрацювання скрипту завершилося невдало."
# _errorhandling.rpym:664
old "Opens the errors.txt file in a text editor."
@@ -215,7 +215,7 @@ translate ukrainian strings:
# _errorhandling.rpym:542
old "Copy BBCode"
new "Копіювати як BBCode"
new "Копіювати BBCode"
# _errorhandling.rpym:544
old "Copies the traceback.txt file to the clipboard as BBcode for forums like https://lemmasoft.renai.us/."
@@ -223,11 +223,11 @@ translate ukrainian strings:
# _errorhandling.rpym:546
old "Copy Markdown"
new "Скопіювати як Markdown"
new "Копіювати Markdown"
# _errorhandling.rpym:548
old "Copies the traceback.txt file to the clipboard as Markdown for Discord."
new "Копіює файл traceback.txt у буфер обміну як Markdown для Дискорду."
new "Копіює файл traceback.txt у буфер обміну як Markdown для Discord."
# _errorhandling.rpym:683
old "Copies the errors.txt file to the clipboard as BBcode for forums like https://lemmasoft.renai.us/."
@@ -239,27 +239,27 @@ translate ukrainian strings:
# renpy/common/00gltest.rpy:100
old "Force GL Renderer"
new "Примусовий рендеринг GL"
new "Примусова візуалізація GL"
# renpy/common/00gltest.rpy:105
old "Force ANGLE Renderer"
new "Примусовий рендеринг ANGLE"
new "Примусова візуалізація ANGLE"
# renpy/common/00gltest.rpy:110
old "Force GLES Renderer"
new "Примусовий рендеринг GLES"
new "Примусова візуалізація GLES"
# renpy/common/00gltest.rpy:116
old "Force GL2 Renderer"
new "Примусовий рендеринг GL2"
new "Примусова візуалізація GL2"
# renpy/common/00gltest.rpy:121
old "Force ANGLE2 Renderer"
new "Примусовий рендеринг ANGLE2"
new "Примусова візуалізація ANGLE2"
# renpy/common/00gltest.rpy:126
old "Force GLES2 Renderer"
new "Примусовий рендеринг GLES2"
new "Примусова візуалізація GLES2"
# renpy/common/00gltest.rpy:245
old "This game requires use of GL2 that can't be initialised."
@@ -279,8 +279,8 @@ translate ukrainian strings:
# renpy/common/00gltest.rpy:136
old "Enable (No Blocklist)"
new "Увімкнути (ігнорувати блоклист)"
new "Увімкнути (без списку блокування)"
# renpy/common/00gltest.rpy:259
old "The {a=edit:1:log.txt}log.txt{/a} file may contain information to help you determine what is wrong with your computer."
new "Файл {a=edit:1:log.txt}log.txt{/a} може містити інформацію, яка допоможе вам визначити, що не так з вашим комп'ютером."
new "Файл {a=edit:1:log.txt}log.txt{/a} може містити інформацію, яка допоможе вам визначити, що не так з вашим пристроєм."
+1 -2
View File
@@ -437,6 +437,5 @@ translate ukrainian strings:
# gui/game/gui.rpy:14
old "## Enable checks for invalid or unstable properties in screens or transforms"
# Automatic translation.
new "## Увімкнути перевірку на невірні або нестабільні властивості в екранах або перетвореннях"
new "## Увімкнути перевірку недійсних або нестабільних властивостей у екранах або перетвореннях"
+64 -77
View File
@@ -35,11 +35,11 @@ translate ukrainian strings:
# game/android.rpy:34
old "To build Android packages, please download RAPT, unzip it, and place it into the Ren'Py directory. Then restart the Ren'Py launcher."
new "Щоб створити пакети Android, завантажте RAPT, розархівуйте його та помістіть у каталог Ren'Py. Потім перезапустіть лаунчер Ren'Py."
new "Щоб створити пакети Android, завантажте RAPT, розархівуйте його та помістіть у теку Ren'Py. Потім перезапустіть лаунчер Ren'Py."
# game/android.rpy:35
old "A 64-bit/x64 Java [JDK_REQUIREMENT] Development Kit is required to build Android packages on Windows. The JDK is different from the JRE, so it's possible you have Java without having the JDK.\n\nPlease {a=https://www.renpy.org/jdk/[JDK_REQUIREMENT]}download and install the JDK{/a}, then restart the Ren'Py launcher."
new "Для створення пакетів Android у Windows потрібен 64-розрядний/x64 Java 8 Development Kit. JDK відрізняється від JRE, тому можливо, що у вас є Java без JDK.\n\nБудь ласка, {a=https://www.renpy.org/jdk/[JDK_REQUIREMENT]}завантажте та встановіть JDK{/a}, а потім перезапустіть лаунчер Ren'Py."
new "Для створення пакетів Android у Windows потрібен 64-розрядний/x64 Java [JDK_REQUIREMENT] Development Kit. JDK відрізняється від JRE, тому можливо, що у вас є Java без JDK.\n\nБудь ласка, {a=https://www.renpy.org/jdk/[JDK_REQUIREMENT]}завантажте та встановіть JDK{/a}, а потім перезапустіть лаунчер Ren'Py."
# game/android.rpy:36
old "RAPT has been installed, but you'll need to install the Android SDK before you can build Android packages. Choose Install SDK to do this."
@@ -135,12 +135,11 @@ translate ukrainian strings:
# game/android.rpy:266
old "Copying Android files to distributions directory."
new "Копіювання файлів Android в каталог дистрибутивів."
new "Копіювання файлів Android в теку дистрибутивів."
# game/android.rpy:335
old "Android: [project.current.display_name!q]"
# Automatic translation.
new "Андроїд: [project.current.display_name!q]"
new "Android: [project.current.display_name!q]"
# game/android.rpy:355
old "Emulation:"
@@ -156,23 +155,23 @@ translate ukrainian strings:
# game/android.rpy:372
old "Television"
new "Телебачення"
new "Телевізор"
# game/android.rpy:384
old "Build:"
new "Створити:"
new "Зібрати:"
# game/android.rpy:391
old "Install SDK & Create Keys"
new "Встановити SDK і створити ключі"
new "Установити SDK і створити ключі"
# game/android.rpy:395
old "Configure"
new "Налаштування"
new "Налаштувати"
# game/android.rpy:401
old "Play Bundle"
new "Пакетна гра"
new "Пакет гри"
# game/android.rpy:406
old "Universal APK"
@@ -184,7 +183,7 @@ translate ukrainian strings:
# game/android.rpy:417
old "Build & Install"
new "Створити та встановити"
new "Створити й встановити"
# game/android.rpy:421
old "Build, Install & Launch"
@@ -260,7 +259,7 @@ translate ukrainian strings:
# game/androidstrings.rpy:7
old "{} is not a directory."
new "{} не є каталогом."
new "{} не є текою."
# game/androidstrings.rpy:8
old "{} does not contain a Ren'Py game."
@@ -276,7 +275,7 @@ translate ukrainian strings:
# game/androidstrings.rpy:12
old "Creating assets directory."
new "Створення каталогу ресурсів."
new "Створення теки ресурсів."
# game/androidstrings.rpy:13
old "Packaging internal data."
@@ -480,7 +479,7 @@ translate ukrainian strings:
# game/androidstrings.rpy:64
old "I've opened the directory containing android.keystore and bundle.keystore. Please back them up, and keep them in a safe place."
new "Я відкрив каталог, що містить android.keystore і bundle.keystore. Створіть їх резервні копії та зберігайте в безпечному місці."
new "Відкрито теку, яка містить android.keystore і bundle.keystore. Створіть їх резервні копії та збережіть в безпечному місці."
# game/androidstrings.rpy:65
old "It looks like you're ready to start packaging games."
@@ -488,11 +487,11 @@ translate ukrainian strings:
# game/choose_directory.rpy:67
old "Select Projects Directory"
new "Виберіть каталог проєктів"
new "Виберіть теку проєктів"
# game/choose_directory.rpy:79
old "The selected projects directory is not writable."
new "Вибраний каталог проєктів не доступний для запису."
new "Вибрана тека проєктів не доступна для запису."
# game/choose_theme.rpy:304
old "Could not change the theme. Perhaps options.rpy was changed too much."
@@ -504,7 +503,7 @@ translate ukrainian strings:
# game/choose_theme.rpy:426
old "Choose Theme"
new "Вибрати Тему"
new "Вибрати тему"
# game/choose_theme.rpy:439
old "Theme"
@@ -596,7 +595,7 @@ translate ukrainian strings:
# game/distribute_gui.rpy:171
old "Directory Name:"
new "Назва каталогу:"
new "Назва теки:"
# game/distribute_gui.rpy:175
old "Executable Name:"
@@ -728,8 +727,7 @@ translate ukrainian strings:
# game/editor.rpy:245
old "None"
# Automatic translation.
new "Ні."
new "Немає"
# game/editor.rpy:245
old "Prevents Ren'Py from opening a text editor."
@@ -769,7 +767,6 @@ translate ukrainian strings:
# game/front_page.rpy:114
old "[p.name!q] (template)"
# Automatic translation.
new "[p.name!q] (шаблон)"
# game/front_page.rpy:116
@@ -790,7 +787,7 @@ translate ukrainian strings:
# game/front_page.rpy:157
old "Open Directory"
new "Відкрити каталог"
new "Відкрити теку"
# game/front_page.rpy:162
old "game"
@@ -990,7 +987,7 @@ translate ukrainian strings:
# game/install.rpy:185
old "The {a=https://www.live2d.com/en/download/cubism-sdk/download-native/}Cubism SDK for Native{/a} adds support for displaying Live2D models. Place CubismSdkForNative-4-{i}version{/i}.zip in the Ren'Py SDK directory, and then click Install. Distributing a game with Live2D requires you to accept a license from Live2D, Inc."
new "{a=https://www.live2d.com/en/download/cubism-sdk/download-native/}Cubism SDK for Native{/a} додає підтримку відображення моделей Live2D. Помістіть CubismSdkForNative-4-{i}version{/i}.zip у каталог Ren'Py SDK і натисніть «Встановити». Розповсюдження гри за допомогою Live2D вимагає від вас прийняти ліцензію від Live2D, Inc."
new "{a=https://www.live2d.com/en/download/cubism-sdk/download-native/}Cubism SDK for Native{/a} додає підтримку відображення моделей Live2D. Помістіть CubismSdkForNative-4-{i}version{/i}.zip у теку Ren'Py SDK і натисніть «Встановити». Розповсюдження гри за допомогою Live2D вимагає від вас прийняти ліцензію від Live2D, Inc."
# game/install.rpy:189
old "Live2D in Ren'Py doesn't support the Web, Android x86_64 (including emulators and Chrome OS), and must be added to iOS projects manually. Live2D must be reinstalled after upgrading Ren'Py or installing Android support."
@@ -998,7 +995,7 @@ translate ukrainian strings:
# game/install.rpy:194
old "Open Ren'Py SDK Directory"
new "Відкрийте каталог Ren'Py SDK"
new "Відкрийте теку Ren'Py SDK"
# game/installer.rpy:10
old "Downloading [extension.download_file]."
@@ -1042,7 +1039,7 @@ translate ukrainian strings:
# game/interface.rpy:269
old "Due to package format limitations, non-ASCII file and directory names are not allowed."
new "Через обмеження формату пакетів імена файлів і каталогів, відмінні від ASCII, заборонені."
new "Через обмеження формату пакетів імена файлів і тек, відмінні від ASCII, заборонені."
# game/interface.rpy:365
old "ERROR"
@@ -1066,15 +1063,15 @@ translate ukrainian strings:
# game/interface.rpy:437
old "File and directory names may not contain / or \\."
new "Імена файлів і каталогів не можуть містити / або \\."
new "Назви файлів і тек не можуть містити / або \\."
# game/interface.rpy:443
old "File and directory names must consist of ASCII characters."
new "Імена файлів і каталогів повинні складатися з символів ASCII."
new "Назви файлів і тек повинні бути зі символів ASCII."
# game/interface.rpy:511
old "PROCESSING"
new "ОБРОБКА"
new "ОБРОБЛЕННЯ"
# game/interface.rpy:528
old "QUESTION"
@@ -1086,11 +1083,11 @@ translate ukrainian strings:
# game/ios.rpy:28
old "To build iOS packages, please download renios, unzip it, and place it into the Ren'Py directory. Then restart the Ren'Py launcher."
new "Щоб створити пакети iOS, завантажте renios, розпакуйте його та помістіть у каталог Ren'Py. Потім перезапустіть лаунчер Ren'Py."
new "Щоб створити пакети iOS, завантажте renios, розпакуйте його та помістіть у теку Ren'Py. Потім перезапустіть лаунчер Ren'Py."
# game/ios.rpy:29
old "The directory in where Xcode projects will be placed has not been selected. Choose 'Select Directory' to select it."
new "Каталог, у якому будуть розміщені проєкти Xcode, не вибрано. Виберіть «Вибрати каталог», щоб вибрати його."
new "Тека, у якій будуть розміщені проєкти Xcode, не вибрано. Виберіть «Вибрати теку», аби вибрати її."
# game/ios.rpy:30
old "There is no Xcode project corresponding to the current Ren'Py project. Choose 'Create Xcode Project' to create one."
@@ -1110,7 +1107,7 @@ translate ukrainian strings:
# game/ios.rpy:36
old "Selects the directory where Xcode projects will be placed."
new "Вибирає каталог, де будуть розміщені проєкти Xcode."
new "Вибирає теку, де будуть розміщені проєкти Xcode."
# game/ios.rpy:37
old "Creates an Xcode project corresponding to the current Ren'Py project."
@@ -1126,7 +1123,7 @@ translate ukrainian strings:
# game/ios.rpy:41
old "Opens the directory containing Xcode projects."
new "Відкриває каталог, що містить проєкти Xcode."
new "Відкриває теку, яка містить проєкти Xcode."
# game/ios.rpy:139
old "The Xcode project already exists. Would you like to rename the old project, and replace it with a new one?"
@@ -1146,7 +1143,7 @@ translate ukrainian strings:
# game/ios.rpy:322
old "Select Xcode Projects Directory"
new "Виберіть каталог проєктів Xcode"
new "Виберіть теку проєктів Xcode"
# game/ios.rpy:326
old "Create Xcode Project"
@@ -1162,7 +1159,7 @@ translate ukrainian strings:
# game/ios.rpy:358
old "Open Xcode Projects Directory"
new "Відкрити каталог проєктів Xcode"
new "Відкрити теку проєктів Xcode"
# game/ios.rpy:379
old "There are known issues with the iOS simulator on Apple Silicon. Please test on x86_64 or iOS devices."
@@ -1174,15 +1171,15 @@ translate ukrainian strings:
# game/ios.rpy:404
old "XCODE PROJECTS DIRECTORY"
new "КАТАЛОГ ПРОЄКТІВ XCODE"
new "ТЕКА ПРОЄКТІВ XCODE"
# game/ios.rpy:404
old "Please choose the Xcode Projects Directory using the directory chooser.\n{b}The directory chooser may have opened behind this window.{/b}"
new "Виберіть каталог проєктів Xcode за допомогою засобу вибору каталогу.\n{b}Можливо, засіб вибору каталогу відкрився за цим вікном.{/b}"
new "Виберіть теку проєктів Xcode за допомогою засобу вибору теки.\n{b}Можливо, засіб вибору теки відкрився за цим вікном.{/b}"
# game/ios.rpy:409
old "Ren'Py has set the Xcode Projects Directory to:"
new "Ren'Py встановив каталог проєктів Xcode на:"
new "Ren'Py встановив теку проєктів Xcode в:"
# game/itch.rpy:45
old "Downloading the itch.io butler."
@@ -1266,7 +1263,6 @@ translate ukrainian strings:
# game/navigation.rpy:204
old "TODOs"
# Automatic translation.
new "Список справ"
# game/navigation.rpy:243
@@ -1303,7 +1299,7 @@ translate ukrainian strings:
# game/new_project.rpy:63
old "The projects directory could not be set. Giving up."
new "Не вдалося встановити каталог проєктів. Залиште."
new "Не вдалося встановити теку проєктів. Залиште."
# game/new_project.rpy:70
old "Which interface would you like to use? The new GUI has a modern look, supports wide screens and mobile devices, and is easier to customize. Legacy themes might be necessary to work with older example code.\n\n[language_support!t]\n\nIf in doubt, choose the new GUI, then click Continue on the bottom-right."
@@ -1363,7 +1359,7 @@ translate ukrainian strings:
# game/preferences.rpy:131
old "Projects Directory:"
new "Каталог проєктів:"
new "Тека проєктів:"
# game/preferences.rpy:138
old "[persistent.projects_directory!q]"
@@ -1371,7 +1367,7 @@ translate ukrainian strings:
# game/preferences.rpy:140
old "Projects directory: [text]"
new "Каталог проєктів: [text]"
new "Тека проєктів: [text]"
# game/preferences.rpy:142
old "Not Set"
@@ -1411,7 +1407,7 @@ translate ukrainian strings:
# game/preferences.rpy:219
old "Large fonts"
new "Більші шрифти"
new "Великі шрифти"
# game/preferences.rpy:222
old "Console output"
@@ -1511,19 +1507,19 @@ translate ukrainian strings:
# game/project.rpy:794
old "PROJECTS DIRECTORY"
new "КАТАЛОГ ПРОЄКТІВ"
new "ТЕКА ПРОЄКТІВ"
# game/project.rpy:794
old "Please choose the projects directory using the directory chooser.\n{b}The directory chooser may have opened behind this window.{/b}"
new "Виберіть каталог проєктів за допомогою засобу вибору каталогу.\n{b}Можливо, засіб вибору каталогу відкрився за цим вікном.{/b}"
new "Виберіть теку проєктів за допомогою засобу вибору теки.\n{b}Можливо, засіб вибору теки відкрився за цим вікном.{/b}"
# game/project.rpy:794
old "This launcher will scan for projects in this directory, will create new projects in this directory, and will place built projects into this directory."
new "Цей лаунчер скануватиме проєкти в цьому каталозі, створюватиме нові проєкти в цьому каталозі та розміщуватиме вбудовані проєкти в цей каталог."
new "Цей лаунчер скануватиме проєкти в цьому каталозі, створюватиме нові проєкти в цьому каталозі та розміщуватиме вбудовані проєкти в цю теку."
# game/project.rpy:799
old "Ren'Py has set the projects directory to:"
new "Ren'Py встановив каталог проєктів в:"
new "Ren'Py встановив теку проєктів в:"
# game/translations.rpy:91
old "Translations: [project.current.display_name!q]"
@@ -1795,7 +1791,7 @@ translate ukrainian strings:
# game/web.rpy:310
old "Open build directory"
new "Відкрити каталог створення"
new "Відкрити теку створення"
# game/web.rpy:332
old "Images and music can be downloaded while playing. A 'progressive_download.txt' file will be created so you can configure this behavior."
@@ -1821,47 +1817,38 @@ translate ukrainian strings:
# game/android.rpy:39
old "RAPT has been installed, but a key hasn't been configured. Please generate new keys, or copy android.keystore and bundle.keystore to the base directory."
# Automatic translation.
new "RAPT встановлено, але ключ не налаштовано. Згенеруйте нові ключі або скопіюйте android.keystore та bundle.keystore до базового каталогу."
new "RAPT встановлено, але ключ не налаштовано. Згенеруйте нові ключі або скопіюйте android.keystore та bundle.keystore до базової теки."
# game/android.rpy:46
old "Attempts to emulate a televison-based Android console.\n\nController input is mapped to the arrow keys, Enter is mapped to the select button, Escape is mapped to the menu button, and PageUp is mapped to the back button."
# Automatic translation.
new "Спроби емулювати телевізійну Android-приставку на базі телевізора.\n\nКлавішам зі стрілками відповідає ввід контролера, клавіші Enter - кнопка вибору, Escape - кнопка меню, а кнопка PageUp - кнопка \"Назад\"."
new "Спроби емуляції телевізійної консолі Android.\n\nВведення контролера зіставляється з клавішами зі стрілками, Enter зіставляється з кнопкою вибору, Escape зіставляється з кнопкою меню, а PageUp зіставляється з кнопкою «Назад»."
# game/android.rpy:48
old "Downloads and installs the Android SDK and supporting packages."
# Automatic translation.
new "Завантажує та встановлює Android SDK та пакети підтримки."
# game/android.rpy:49
old "Generates the keys required to sign the package."
# Automatic translation.
new "Генерує ключі, необхідні для підписання пакунка."
new "Генерує ключі, необхідні для підпису пакета."
# game/android.rpy:383
old "Install SDK"
# Automatic translation.
new "Інсталяція SDK"
new "Установити SDK"
# game/android.rpy:387
old "Generate Keys"
# Automatic translation.
new "Згенеруйте ключі"
new "Згенерувати ключі"
# game/androidstrings.rpy:32
old "How much RAM (in GB) do you want to allocate to Gradle?\nThis must be a positive integer number."
# Automatic translation.
new "Скільки оперативної пам'яті (в ГБ) потрібно виділити Gradle?\nЦе має бути додатне ціле число."
new "Скільки оперативної пам’яті (у Гб) потрібно виділити Gradle?\nЦе має бути ціле додатне число."
# game/androidstrings.rpy:33
old "The RAM size must contain only numbers and be positive."
# Automatic translation.
new "Розмір оперативної пам'яті повинен містити тільки числа і бути додатнім."
new "Розмір оперативної пам’яті повинен містити тільки числа і бути додатнім."
# game/androidstrings.rpy:38
old "Which app store would you like to support in-app purchasing through?"
# Automatic translation.
new "Через який магазин додатків ви хотіли б підтримувати внутрішні покупки?"
# game/androidstrings.rpy:39
@@ -1874,28 +1861,23 @@ translate ukrainian strings:
# game/androidstrings.rpy:41
old "Both, in one app."
# Automatic translation.
new "І те, і інше в одному додатку."
new "Обох, в одному додатку."
# game/androidstrings.rpy:42
old "Neither."
# Automatic translation.
new "Ні те, ні інше."
new "Жодного."
# game/androidstrings.rpy:63
old "I found an android.keystore file in the rapt directory. Do you want to use this file?"
# Automatic translation.
new "Я знайшов файл android.keystore у каталозі rapt. Ви хочете використовувати цей файл?"
new "Знайдено файл android.keystore у теці rapt. Бажаєте використовувати цей файл?"
# game/androidstrings.rpy:66
old "\n\nSaying 'No' will prevent key creation."
# Automatic translation.
new "\n\nЯкщо ви скажете \"Ні\", то не зможете створити ключ."
new "\n\nЯкщо ви оберете «Ні», то не зможете створити ключ."
# game/androidstrings.rpy:69
old "I found a bundle.keystore file in the rapt directory. Do you want to use this file?"
# Automatic translation.
new "Я знайшов файл bundle.keystore у каталозі rapt. Ви хочете використовувати цей файл?"
new "Знайдено файл bundle.keystore у теці rapt. Бажаєте використовувати цей файл?"
# game/distribute_gui.rpy:231
old "(DLC)"
@@ -1903,11 +1885,16 @@ translate ukrainian strings:
# game/project.rpy:46
old "Lint checks your game for potential mistakes, and gives you statistics."
# Automatic translation.
new "Lint перевіряє вашу гру на наявність потенційних помилок і надає статистику."
new "Lint перевіряє вашу гру на наявність потенційних помилок і надає вам статистику."
# game/web.rpy:485
old "Creating package..."
# Automatic translation.
old "Creating package..."
new "Створення пакету..."
translate ukrainian strings:
# game/updater.rpy:79
old "A nightly build of fixes to the release version of Ren'Py."
new "Рання збірка виправлень до релізної версії Ren'Py."
+7 -8
View File
@@ -39,7 +39,7 @@ translate ukrainian strings:
# gui/game/options.rpy:38
old "## A short name for the game used for executables and directories in the built distribution. This must be ASCII-only, and must not contain spaces, colons, or semicolons."
new "## Коротка назва гри, яка використовується для виконуваних файлів і каталогів у вбудованому дистрибутиві. Це має бути лише ASCII і не повинно містити пробілів, двокрапки чи крапки з комою."
new "## Коротка назва гри, яка використовується для виконуваних файлів і тек у вбудованому дистрибутиві. Це має бути лише ASCII і не повинно містити пробілів, двокрапки чи крапки з комою."
# gui/game/options.rpy:45
old "## Sounds and music"
@@ -115,7 +115,7 @@ translate ukrainian strings:
# gui/game/options.rpy:135
old "## Save directory"
new "## Зберегти каталог"
new "## Зберегти теку"
# gui/game/options.rpy:137
old "## Controls the platform-specific place Ren'Py will place the save files for this game. The save files will be placed in:"
@@ -155,7 +155,7 @@ translate ukrainian strings:
# gui/game/options.rpy:166
old "## The following functions take file patterns. File patterns are case- insensitive, and matched against the path relative to the base directory, with and without a leading /. If multiple patterns match, the first is used."
new "## Наступні функції приймають шаблони файлів. Шаблони файлів не чутливі до регістру та зіставляються зі шляхом відносно основного каталогу, з / без нього на початку. Якщо збігається декілька шаблонів, використовується перший."
new "## Наступні функції приймають шаблони файлів. Шаблони файлів не чутливі до регістру та зіставляються зі шляхом відносно основної теки, з / без нього на початку. Якщо збігається декілька шаблонів, використовується перший."
# gui/game/options.rpy:171
old "## In a pattern:"
@@ -163,19 +163,19 @@ translate ukrainian strings:
# gui/game/options.rpy:173
old "## / is the directory separator."
new "## / є роздільником каталогу."
new "## / є роздільником теки."
# gui/game/options.rpy:175
old "## * matches all characters, except the directory separator."
new "## * відповідає всім символам, крім роздільника каталогу."
new "## * відповідає всім символам, крім роздільника теки."
# gui/game/options.rpy:177
old "## ** matches all characters, including the directory separator."
new "## ** відповідає всім символам, включаючи роздільник каталогу."
new "## ** відповідає всім символам, включаючи роздільник теки."
# gui/game/options.rpy:179
old "## For example, \"*.txt\" matches txt files in the base directory, \"game/**.ogg\" matches ogg files in the game directory or any of its subdirectories, and \"**.psd\" matches psd files anywhere in the project."
new "## Наприклад, \"*.txt\" відповідає файлам txt у базовому каталозі, \"game/**.ogg\" відповідає файлам ogg у каталозі гри або будь-якому з його підкаталогів, а \"**.psd \" відповідає файлам psd будь-де в проєкті."
new "## Наприклад, \"*.txt\" відповідає файлам txt у базовому каталозі, \"game/**.ogg\" відповідає файлам ogg у каталозі гри або будь-якому з його під-тек, а \"**.psd \" відповідає файлам psd будь-де в проєкті."
# gui/game/options.rpy:183
old "## Classify files as None to exclude them from the built distributions."
@@ -202,6 +202,5 @@ translate ukrainian strings:
# gui/game/options.rpy:203
old "## A Google Play license key is required to perform in-app purchases. It can be found in the Google Play developer console, under \"Monetize\" > \"Monetization Setup\" > \"Licensing\"."
# Automatic translation.
new "## Для здійснення покупок у додатку потрібен ліцензійний ключ Google Play. Його можна знайти в консолі розробника Google Play у розділі \"Монетизація\" > \"Налаштування монетизації\" > \"Ліцензування\"."
+38 -43
View File
@@ -87,7 +87,7 @@ translate ukrainian strings:
# gui/game/screens.rpy:255
old "Auto"
new "Авто"
new "Авто."
# gui/game/screens.rpy:256
old "Save"
@@ -103,7 +103,7 @@ translate ukrainian strings:
# gui/game/screens.rpy:259
old "Prefs"
new "Опції"
new "Налаштування"
# gui/game/screens.rpy:262
old "## This code ensures that the quick_menu screen is displayed in-game, whenever the player has not explicitly hidden the interface."
@@ -135,7 +135,7 @@ translate ukrainian strings:
# gui/game/screens.rpy:314
old "End Replay"
new "Кінець повтору"
new "Закінчити повтору"
# gui/game/screens.rpy:318
old "Main Menu"
@@ -199,7 +199,7 @@ translate ukrainian strings:
# gui/game/screens.rpy:429
old "## Reserve space for the navigation section."
new "## Зарезервуйте місце для розділу навігації."
new "## Зарезервування місця для розділу навігації."
# gui/game/screens.rpy:471
old "Return"
@@ -207,7 +207,7 @@ translate ukrainian strings:
# gui/game/screens.rpy:534
old "## About screen"
new "## Про екран"
new "## Екран «Про гру»"
# gui/game/screens.rpy:536
old "## This screen gives credit and copyright information about the game and Ren'Py."
@@ -231,7 +231,7 @@ translate ukrainian strings:
# gui/game/screens.rpy:562
old "Made with {a=https://www.renpy.org/}Ren'Py{/a} [renpy.version_only].\n\n[renpy.license!t]"
new "Створено за допомогою {a=https://www.renpy.org/}Ren'Py{/a} [renpy.version_only].\n\n[renpy.license!t]"
new "Зроблено з {a=https://www.renpy.org/}Ren'Py{/a} [renpy.version_only].\n\n[renpy.license!t]"
# gui/game/screens.rpy:573
old "## Load and Save screens"
@@ -251,7 +251,7 @@ translate ukrainian strings:
# gui/game/screens.rpy:598
old "Automatic saves"
new "Авто збереження"
new "Автозбереження"
# gui/game/screens.rpy:598
old "Quick saves"
@@ -267,7 +267,7 @@ translate ukrainian strings:
# gui/game/screens.rpy:620
old "## The grid of file slots."
new "## Сітка слотів для файлів."
new "## Сітка комірок для файлів."
# gui/game/screens.rpy:640
old "{#file_time}%A, %B %d %Y, %H:%M"
@@ -275,7 +275,7 @@ translate ukrainian strings:
# gui/game/screens.rpy:640
old "empty slot"
new "порожній слот"
new "порожня комірка"
# gui/game/screens.rpy:648
old "## Buttons to access other pages."
@@ -315,11 +315,11 @@ translate ukrainian strings:
# gui/game/screens.rpy:726
old "Display"
new "Дисплей"
new "Режим показу"
# gui/game/screens.rpy:727
old "Window"
new "Вікно"
new "У вікні"
# gui/game/screens.rpy:728
old "Fullscreen"
@@ -327,7 +327,7 @@ translate ukrainian strings:
# gui/game/screens.rpy:733
old "Unseen Text"
new "Невидимий текст"
new "Непрочитаний текст"
# gui/game/screens.rpy:734
old "After Choices"
@@ -347,7 +347,7 @@ translate ukrainian strings:
# gui/game/screens.rpy:752
old "Auto-Forward Time"
new "Час авто-переадресації"
new "Швидкість авточитання"
# gui/game/screens.rpy:759
old "Music Volume"
@@ -355,7 +355,7 @@ translate ukrainian strings:
# gui/game/screens.rpy:766
old "Sound Volume"
new "Гучність звуку"
new "Гучність ефектів"
# gui/game/screens.rpy:772
old "Test"
@@ -415,7 +415,7 @@ translate ukrainian strings:
# gui/game/screens.rpy:975
old "Mouse"
new "Мишка"
new "Миша"
# gui/game/screens.rpy:978
old "Gamepad"
@@ -423,8 +423,7 @@ translate ukrainian strings:
# gui/game/screens.rpy:991
old "Enter"
# Automatic translation.
new "Увійдіть"
new "Enter"
# gui/game/screens.rpy:992
old "Advances dialogue and activates the interface."
@@ -432,8 +431,7 @@ translate ukrainian strings:
# gui/game/screens.rpy:995
old "Space"
# Automatic translation.
new "Простір"
new "Пробіл"
# gui/game/screens.rpy:996
old "Advances dialogue without selecting choices."
@@ -441,7 +439,7 @@ translate ukrainian strings:
# gui/game/screens.rpy:999
old "Arrow Keys"
new "Клавіші cтрілок"
new "Стрілки"
# gui/game/screens.rpy:1000
old "Navigate the interface."
@@ -449,8 +447,7 @@ translate ukrainian strings:
# gui/game/screens.rpy:1003
old "Escape"
# Automatic translation.
new "Втеча"
new "Escape"
# gui/game/screens.rpy:1004
old "Accesses the game menu."
@@ -474,8 +471,7 @@ translate ukrainian strings:
# gui/game/screens.rpy:1015
old "Page Up"
# Automatic translation.
new "Перегорнути сторінку."
new "Page Up"
# gui/game/screens.rpy:1016
old "Rolls back to earlier dialogue."
@@ -483,8 +479,7 @@ translate ukrainian strings:
# gui/game/screens.rpy:1019
old "Page Down"
# Automatic translation.
new "Перегорнути сторінку вниз."
new "Page Down"
# gui/game/screens.rpy:1020
old "Rolls forward to later dialogue."
@@ -496,7 +491,7 @@ translate ukrainian strings:
# gui/game/screens.rpy:1028
old "Takes a screenshot."
new "Робить скріншот."
new "Робить знімок екрана."
# gui/game/screens.rpy:1032
old "Toggles assistive {a=https://www.renpy.org/l/voicing}self-voicing{/a}."
@@ -508,15 +503,15 @@ translate ukrainian strings:
# gui/game/screens.rpy:1042
old "Left Click"
new "Лівий клік"
new "ЛКМ"
# gui/game/screens.rpy:1046
old "Middle Click"
new "Середній клік"
new "СКМ"
# gui/game/screens.rpy:1050
old "Right Click"
new "Правий клік"
new "ПКМ"
# gui/game/screens.rpy:1054
old "Mouse Wheel Up\nClick Rollback Side"
@@ -528,19 +523,19 @@ translate ukrainian strings:
# gui/game/screens.rpy:1065
old "Right Trigger\nA/Bottom Button"
new "Правий тригер\nA/нижня кнопка"
new "Правий тригер\nA/Нижня кнопка"
# gui/game/screens.rpy:1069
old "Left Trigger\nLeft Shoulder"
new "Лівий тригер\nЛіве плече"
new "Лівий тригер\nЛівий бампер"
# gui/game/screens.rpy:1073
old "Right Shoulder"
new "Праве плече"
new "Правий бампер"
# gui/game/screens.rpy:1078
old "D-Pad, Sticks"
new "D-Pad, стіки"
new "D-Pad, Стіки"
# gui/game/screens.rpy:1082
old "Start, Guide"
@@ -552,7 +547,7 @@ translate ukrainian strings:
# gui/game/screens.rpy:1089
old "Calibrate"
new "Калібрувати"
new "Відкалібрувати"
# gui/game/screens.rpy:1117
old "## Additional screens"
@@ -663,23 +658,23 @@ translate ukrainian strings:
# gui/game/screens.rpy:676
old "Upload Sync"
# Automatic translation.
new "Завантажити Синхронізація"
new "Вивантажити синхронізацію"
# gui/game/screens.rpy:680
old "Download Sync"
# Automatic translation.
new "Завантажити Синхронізація"
new "Завантажити синхронізацію"
# gui/game/screens.rpy:1410
old "## Bubble screen"
# Automatic translation.
new "## Бульбашковий екран"
new "## Екран з бульбашками"
# gui/game/screens.rpy:1412
old "## The bubble screen is used to display dialogue to the player when using speech bubbles. The bubble screen takes the same parameters as the say screen, must create a displayable with the id of \"what\", and can create displayables with the \"namebox\", \"who\", and \"window\" ids."
# Automatic translation.
new "## Екран бульбашок використовується для показу діалогу гравцеві під час використання мовних бульбашок. Екран бульбашок має ті самі параметри, що й екран промови, повинен створювати елемент відображення з ідентифікатором \"what\", а також може створювати елементи відображення з ідентифікаторами \"namebox\", \"who\" та \"window\"."
new "## Екран бульбашок використовується для показу діалогу гравцеві під час використання мовних бульбашок. Екран бульбашок має ті самі параметри, що й екран слів, має створювати елемент відображення з ідентифікатором \"what\", а також може створювати елементи відображення з ідентифікаторами \"namebox\", \"who\" і \"window\"."
# gui/game/screens.rpy:1417
old "## https://www.renpy.org/doc/html/bubble.html#bubble-screen"
+2 -2
View File
@@ -12,13 +12,13 @@ label start:
# Це показує фон. За замовчуванням використовується заповнювач, але ви можете
# додати файл (з назвою "bg room.png" або "bg room.jpg") до
# каталогу images, щоб показати його.
# теки images, щоб показати його.
scene bg room
# Це показує спрайт персонажа. Використовується заповнювач, але ви можете
# замінити його, додавши до зображень файл із назвою "eileen happy.png".
# до каталогу.
# до теки.
show eileen happy
+2 -2
View File
@@ -357,11 +357,11 @@
# editor.rpy:150
old "{b}Recommended.{/b} A beta editor with an easy to use interface and features that aid in development, such as spell-checking. Editra currently lacks the IME support required for Chinese, Japanese, and Korean text input."
new "{b}Khuyến khích{/ b} Một trình biên tập có giao diện thân thiện và chức năng hỗ trợ phát triển, chẳng hạn như kiểm tra lỗi chính tả. Editra hiện đang thiếu sự hỗ trợ IME cần thiết để nhập văn bản Trung Quốc, Nhật Bản, và Hàn Quốc."
new "{b}Khuyến khích{/b} Một trình biên tập có giao diện thân thiện và chức năng hỗ trợ phát triển, chẳng hạn như kiểm tra lỗi chính tả. Editra hiện đang thiếu sự hỗ trợ IME cần thiết để nhập văn bản Trung Quốc, Nhật Bản, và Hàn Quốc."
# editor.rpy:151
old "{b}Recommended.{/b} A beta editor with an easy to use interface and features that aid in development, such as spell-checking. Editra currently lacks the IME support required for Chinese, Japanese, and Korean text input. On Linux, Editra requires wxPython."
new "{b}Khuyến khích{/ b} Một trình biên tập có giao diện thân thiện và chức năng hỗ trợ phát triển, chẳng hạn như kiểm tra lỗi chính tả. Editra hiện đang thiếu sự hỗ trợ IME cần thiết để nhập văn bản Trung Quốc, Nhật Bản, và Hàn Quốc. Với Linux Editra cần thêm wxPython."
new "{b}Khuyến khích{/b} Một trình biên tập có giao diện thân thiện và chức năng hỗ trợ phát triển, chẳng hạn như kiểm tra lỗi chính tả. Editra hiện đang thiếu sự hỗ trợ IME cần thiết để nhập văn bản Trung Quốc, Nhật Bản, và Hàn Quốc. Với Linux Editra cần thêm wxPython."
# editor.rpy:167
old "This may have occured because wxPython is not installed on this system."
+6 -1
View File
@@ -52,7 +52,7 @@ init python:
if state is not None:
base_name = state.get("sdk", {}).get('base_name', '')
if "-nightly-" in base_name:
if "+nightly" in base_name:
dlc_url = "http://nightly.renpy.org/{}/updates.json".format(base_name[6:])
return renpy.invoke_in_new_context(updater.update, dlc_url, add=[name], public_key=PUBLIC_KEY, simulate=UPDATE_SIMULATE, restart=restart)
@@ -73,6 +73,11 @@ init python:
_("Experimental")
_("Experimental versions of Ren'Py. You shouldn't select this channel unless asked by a Ren'Py developer.")
_("Nightly Fix")
_("Nightly Fix (Ren'Py 8, Python 3)")
_("Nightly Fix (Ren'Py 7, Python 2)")
_("A nightly build of fixes to the release version of Ren'Py.")
_("Nightly")
_("Nightly (Ren'Py 8, Python 3)")
_("Nightly (Ren'Py 7, Python 2)")
+1 -1
View File
@@ -207,7 +207,7 @@ def path_to_renpy_base():
Returns the absolute path to thew Ren'Py base directory.
"""
renpy_base = os.path.dirname(os.path.realpath(sys.argv[0]))
renpy_base = os.path.dirname(os.path.abspath(__file__))
renpy_base = os.path.abspath(renpy_base)
return renpy_base
+10 -20
View File
@@ -75,31 +75,20 @@ from collections import namedtuple
# Version numbers.
try:
from renpy.vc_version import vc_version, official, nightly
from renpy.vc_version import official, nightly, version_name, version
except ImportError:
vc_version = 0
official = False
nightly = False
import renpy.versions
version_dict = renpy.versions.get_version()
official = version_dict["official"]
nightly = version_dict["nightly"]
version_name = version_dict["version_name"]
version = version_dict["version"]
official = official and getattr(site, "renpy_build_official", False)
VersionTuple = namedtuple("VersionTuple", ["major", "minor", "patch", "commit"])
if PY2:
# The tuple giving the version number.
version_tuple = VersionTuple(7, 6, 0, vc_version)
# The name of this version.
version_name = "To Boldly Go"
else:
# The tuple giving the version number.
version_tuple = VersionTuple(8, 1, 0, vc_version)
# The name of this version.
version_name = "Where No One Has Gone Before"
version_tuple = VersionTuple(*(int(i) for i in version.split(".")))
# A string giving the version number only (8.0.1.123), with a suffix if needed.
version_only = ".".join(str(i) for i in version_tuple)
@@ -448,6 +437,7 @@ def import_all():
import renpy.script
import renpy.statements
import renpy.util
import renpy.versions
global plog
plog = renpy.performance.log # type:ignore
+41 -136
View File
@@ -242,24 +242,11 @@ def compile_all():
for i in compile_queue:
i.atl.find_loaded_variables()
if i.atl.constant == GLOBAL_CONST:
i.compile()
compile_queue = [ ]
def find_loaded_variables(expr):
"""
Returns the set of variables that are loaded by the given expression.
"""
if expr is None:
return set()
ast = renpy.pyanalysis.ccache.ast_eval(expr)
return renpy.python.find_loaded_variables(ast)
# Used to indicate that a variable is not in the context.
NotInContext = renpy.object.Sentinel("NotInContext")
@@ -285,34 +272,6 @@ class Context(object):
def __ne__(self, other):
return not (self == other)
def variables_equal(self, other, variables):
"""
Returns true if the variables in `variables` are equal in
this context and `other`. False if they are not equal.
Returns True if any variable cannot be compared.
"""
try:
if renpy.config.at_transform_compare_full_context:
if self.context != other.context:
return False
for i in variables:
if self.context.get(i, NotInContext) != other.context.get(i, NotInContext):
# Ignore the arguments given to ATL Transitions, which
# will change each time an interaction restarts. (See #4167.)
if i in ("new_widget", "old_widget"):
continue
return False
return True
except Exception:
return True
# This is intended to be subclassed by ATLTransform. It takes care of
@@ -398,6 +357,13 @@ class ATLTransformBase(renpy.object.Object):
if renpy.game.context().init_phase:
compile_queue.append(self)
@property
def transition(self):
"""
Returns true if this is likely to be an ATL transition.
"""
return "new_widget" in self.context.context
def _handles_event(self, event):
@@ -446,7 +412,12 @@ class ATLTransformBase(renpy.object.Object):
# a way that would affect the execution of the ATL.
if t.atl.constant != GLOBAL_CONST:
if not self.context.variables_equal(t.context, t.atl.find_loaded_variables()):
block = self.get_block()
if block is None:
block = self.compile()
if not deep_compare(self.block, t.block):
return
self.done = t.done
@@ -639,7 +610,7 @@ class ATLTransformBase(renpy.object.Object):
if (self.atl_st_offset is None) or (st - self.atl_st_offset) < 0:
self.atl_st_offset = st
if self.atl.animation:
if self.atl.animation or self.transition:
timebase = at
else:
timebase = st - self.atl_st_offset
@@ -700,12 +671,6 @@ class RawStatement(object):
self.constant = NOT_CONST
def find_loaded_variables(self):
"""
Returns the set of variables that are loaded by this statement.
"""
raise Exception("find_loaded_variables not implemented.")
# The base class for compiled ATL Statements.
@@ -764,10 +729,6 @@ class RawBlock(RawStatement):
# and use this value for all ATLTransform that use us as an atl.
compiled_block = None
# If this is the outermost ATL of a parse, a set giving the variables
# that are loaded by this block.
loaded_variable_cache = None
def __init__(self, loc, statements, animation):
@@ -830,20 +791,6 @@ class RawBlock(RawStatement):
self.constant = constant
def find_loaded_variables(self):
if self.loaded_variable_cache is not None:
return self.loaded_variable_cache
variables = set()
for i in self.statements:
variables.update(i.find_loaded_variables())
self.loaded_variable_cache = variables
return variables
# A compiled ATL block.
class Block(Statement):
@@ -1182,26 +1129,6 @@ class RawMultipurpose(RawStatement):
self.constant = constant
def find_loaded_variables(self):
rv = set()
rv.update(find_loaded_variables(self.warp_function))
rv.update(find_loaded_variables(self.duration))
rv.update(find_loaded_variables(self.circles))
for _name, expr in self.properties:
rv.update(find_loaded_variables(expr))
for _name, exprs in self.splines:
for expr in exprs:
rv.update(find_loaded_variables(expr))
for expr, withexpr in self.expressions:
rv.update(find_loaded_variables(expr))
rv.update(find_loaded_variables(withexpr))
return rv
def predict(self, ctx):
for i, _j in self.expressions:
@@ -1237,9 +1164,6 @@ class RawContainsExpr(RawStatement):
def mark_constant(self, analysis):
self.constant = analysis.is_constant_expr(self.expression)
def find_loaded_variables(self):
return find_loaded_variables(self.expression)
# This allows us to have multiple ATL transforms as children.
class RawChild(RawStatement):
@@ -1274,14 +1198,6 @@ class RawChild(RawStatement):
self.constant = constant
def find_loaded_variables(self):
rv = set()
for i in self.children:
rv.update(i.find_loaded_variables())
return rv
# This changes the child of this statement, optionally with a transition.
class Child(Statement):
@@ -1362,7 +1278,7 @@ class Interpolation(Statement):
complete = warper(complete)
if state is None:
if state is None or len(state) != 6:
# Create a new transform state, and apply the property
# changes to it.
@@ -1482,6 +1398,7 @@ class Interpolation(Statement):
if has_anchorangle:
last_anchorangle = trans.state.anchorangle or trans.state.last_anchorangle
anchorangle = (last_anchorangle, newts.last_anchorangle)
if has_anchorradius:
anchorradius = (trans.state.anchorradius, newts.anchorradius)
@@ -1579,9 +1496,6 @@ class RawRepeat(RawStatement):
def mark_constant(self, analysis):
self.constant = analysis.is_constant_expr(self.repeats)
def find_loaded_variables(self):
return find_loaded_variables(self.repeats)
class Repeat(Statement):
def __init__(self, loc, repeats):
@@ -1619,13 +1533,6 @@ class RawParallel(RawStatement):
self.constant = constant
def find_loaded_variables(self):
rv = set()
for i in self.blocks:
rv.update(i.find_loaded_variables())
return rv
class Parallel(Statement):
@@ -1707,15 +1614,6 @@ class RawChoice(RawStatement):
self.constant = constant
def find_loaded_variables(self):
rv = set()
for chance, block in self.choices:
rv.update(find_loaded_variables(chance))
rv.update(block.find_loaded_variables())
return rv
class Choice(Statement):
@@ -1785,9 +1683,6 @@ class RawTime(RawStatement):
def mark_constant(self, analysis):
self.constant = analysis.is_constant_expr(self.time)
def find_loaded_variables(self):
return find_loaded_variables(self.time)
class Time(Statement):
@@ -1835,15 +1730,6 @@ class RawOn(RawStatement):
self.constant = constant
def find_loaded_variables(self):
rv = set()
for block in self.handlers.values():
rv.update(block.find_loaded_variables())
return rv
class On(Statement):
def __init__(self, loc, handlers):
@@ -1952,9 +1838,6 @@ class RawEvent(RawStatement):
def mark_constant(self, analysis):
self.constant = GLOBAL_CONST
def find_loaded_variables(self):
return set()
class Event(Statement):
@@ -1981,9 +1864,6 @@ class RawFunction(RawStatement):
def mark_constant(self, analysis):
self.constant = analysis.is_constant_expr(self.expr)
def find_loaded_variables(self):
return find_loaded_variables(self.expr)
class Function(Statement):
@@ -2295,3 +2175,28 @@ def parse_atl(l):
old = new
return RawBlock(block_loc, merged, animation)
def deep_compare(a, b):
"""
Compares two trees of ATL statements for equality.
"""
if type(a) != type(b):
return False
if isinstance(a, (list, tuple)):
return all(deep_compare(i, j) for i, j in zip(a, b))
if isinstance(a, dict):
if len(a) != len(b):
return False
return all((k in b) and deep_compare(a[k], b[k]) for k in a)
if isinstance(a, Statement):
return deep_compare(a.__dict__, b.__dict__)
try:
return a == b
except Exception:
return True
+1 -1
View File
@@ -184,7 +184,7 @@ class AndroidVideoChannel(object):
self.stop()
self.queue = [ ]
def enqueue(self, filenames, loop=True, synchro_start=False, fadein=0, tight=None, loop_only=False, relative_volume=1.0):
def enqueue(self, filenames, loop=True, synchro_start=False, fadein=0, tight=None, relative_volume=1.0):
self.queue.extend(filenames)
def set_volume(self, volume):
+4 -4
View File
@@ -680,16 +680,16 @@ class Channel(object):
if tight is None:
tight = self.tight
self.keep_queue += 1
for filename in filenames:
qe = QueueEntry(filename, fadein, tight, False, relative_volume)
self.queue.append(qe)
# Only fade the first thing in.
fadein = 0
self.wait_stop = synchro_start
self.synchro_start = synchro_start
+1 -1
View File
@@ -163,7 +163,7 @@ class IOSVideoChannel(object):
self.stop()
self.queue = [ ]
def enqueue(self, filenames, loop=True, synchro_start=False, fadein=0, tight=None, loop_only=False, relative_volume=1.0):
def enqueue(self, filenames, loop=True, synchro_start=False, fadein=0, tight=None, relative_volume=1.0):
self.queue.extend(filenames)
def pause(self):
+3 -2
View File
@@ -111,15 +111,16 @@ def play(filenames, channel="music", loop=None, fadeout=None, synchro_start=Fals
loop_is_filenames = (c.loop == filenames)
c.dequeue()
if fadeout is None:
fadeout = renpy.config.fadeout_audio
if if_changed and c.get_playing() in filenames:
fadein = 0
loop_only = loop_is_filenames
if not loop_is_filenames:
c.dequeue()
else:
c.dequeue()
c.fadeout(fadeout)
loop_only = False
+5 -2
View File
@@ -609,9 +609,12 @@ def display_say(
# is not required.
if renpy.config.scry_extend:
scry = renpy.exports.scry().next()
scry_count = 0
scry = renpy.exports.scry()
if scry is not None:
scry = scry.next()
scry_count = 0
while scry and scry_count < 64:
if scry.extend_text is renpy.ast.DoesNotExtend:
+11 -5
View File
@@ -30,6 +30,8 @@ init -1500 python:
"load" : "(not _in_replay)",
}
__NoShowTransition = renpy.object.Sentinel("NoShowTransition")
@renpy.pure
class ShowMenu(Action, DictEquality):
"""
@@ -58,15 +60,15 @@ init -1500 python:
* ShowMenu("stats")
ShowMenu without an argument will enter the game menu at the
default screen, taken from _game_menu_screen.
default screen, taken from :var:`_game_menu_screen`.
Extra arguments and keyword arguments are passed on to the screen
"""
transition = None # For save compatability; see renpy#2376
transition = None # For save compatibility; see renpy#2376
def __init__(self, screen=None, *args, **kwargs):
self.screen = screen
self.transition = kwargs.pop("_transition", None)
self.transition = kwargs.pop("_transition", __NoShowTransition)
self.args = args
self.kwargs = kwargs
@@ -79,6 +81,10 @@ init -1500 python:
if not self.get_sensitive():
return
transition = self.transition
if transition is __NoShowTransition:
transition = config.intra_transition
orig_screen = screen = self.screen or store._game_menu_screen
if not (renpy.has_screen(screen) or renpy.has_label(screen)):
@@ -90,12 +96,12 @@ init -1500 python:
if renpy.has_screen(screen):
renpy.transition(self.transition or config.intra_transition)
renpy.transition(transition)
renpy.show_screen(screen, _transient=True, *self.args, **self.kwargs)
renpy.restart_interaction()
elif renpy.has_label(screen):
renpy.transition(config.intra_transition)
renpy.transition(transition)
ui.layer("screens")
ui.remove_above(None)
+4 -1
View File
@@ -73,6 +73,7 @@ init -1500 python:
class SelectedIf(Action, DictEquality):
"""
:doc: other_action
:args: (action, /)
This indicates that one action in a list of actions should be used
to determine if a button is selected. This only makes sense
@@ -106,6 +107,7 @@ init -1500 python:
class SensitiveIf(Action, DictEquality):
"""
:doc: other_action
:args: (action, /)
This indicates that one action in a list of actions should be used
to determine if a button is sensitive. This only makes sense
@@ -476,7 +478,8 @@ init -1500 python:
:doc: other_action
Move the mouse pointer to `x`, `y`. If the device does not have a mouse
pointer or _preferences.mouse_move is False, this does nothing.
pointer or if the :var:`"automatic move" preference <preferences.mouse_move>`
is False, this does nothing.
`duration`
The time it will take to perform the move, in seconds. During
+6 -3
View File
@@ -345,11 +345,14 @@ init -1500 python in build:
dmg
A Macintosh DMG containing the files.
app-zip
A zip file containing a macintosh application.
A zip file containing a macintosh application. This format
doesn't support the Ren'Py updater.
app-directory
A directory containing the mac app.
A directory containing the mac app. This format
doesn't support the Ren'Py updater.
app-dmg
A macintosh drive image containing a dmg. (Mac only.)
A macintosh drive image containing a dmg. (Mac only.) This format
doesn't support the Ren'Py updater.
bare-zip
A zip file without :var:`build.directory_name`
prepended.
+4 -1
View File
@@ -233,7 +233,6 @@ init -1100 python:
if version <= (7, 4, 8):
config.relative_transform_size = False
config.tts_front_to_back = False
if version <= (7, 4, 10):
config.always_unfocus = False
@@ -293,6 +292,10 @@ init -1100 python:
store.layeredimage._constant = True
store.updater._constant = True
if _compat_versions(version, (7, 6, 1), (8, 1, 1)):
config.tts_front_to_back = False
_greedy_rollback = False
# The version of Ren'Py this script is intended for, or
# None if it's intended for the current version.
config.script_version = None
+5 -1
View File
@@ -128,7 +128,11 @@ init -1500 python in _console:
import sys
import traceback
import store
import pydoc
try:
import pydoc
except ImportError:
# Web2 does not have pydoc, help() will fail but game will load at least
pass
from reprlib import Repr
class PrettyRepr(Repr):
+6 -6
View File
@@ -39,19 +39,19 @@ init -1500 python:
config.default_language = None
# If not None, the default value of wait_voice
config.default_wait_for_voice = True
config.default_wait_for_voice = None
# If not None, the default value of voice_sustain
config.default_voice_sustain = False
config.default_voice_sustain = None
# If not None, the default value of mouse_move.
config.default_mouse_move = True
config.default_mouse_move = None
# If not None, the default value of show_empty_window.
config.default_show_empty_window = True
config.default_show_empty_window = None
# If not None, the default value of emphasize_audio.
config.default_emphasize_audio = False
config.default_emphasize_audio = None
# If not None, the default value of set_volume (music)
config.default_music_volume = 1.0
@@ -117,7 +117,7 @@ init 1500 python hide:
_preferences.mouse_move = config.default_mouse_move
if config.default_afm_enable is not None:
_preferences.afm_enable = config.default_afm_enable
_preferences.afm_enable = config.default_afm_enable or _preferences.afm_enable
if config.default_show_empty_window is not None:
_preferences.show_empty_window = config.default_show_empty_window
+5 -3
View File
@@ -127,7 +127,7 @@ init -1400 python:
"""
:doc: transition_family
This defines a family of move transitions, similar to the move and ease
This defines a family of :class:`move transitions <MoveTransition>`, similar to the move and ease
transitions. For a given `prefix`, this defines the transitions:
* *prefix*- A transition that takes `delay` seconds to move images that
@@ -147,6 +147,7 @@ init -1400 python:
Time warp functions that are given a time from 0.0 to 1.0 representing
the fraction of the move that is complete, and return a value in the same
range giving the fraction of a linear move that is complete.
See :ref:`warpers <warpers>` for more information.
This can be used to define functions that ease the images around,
rather than moving them at a constant speed.
@@ -155,7 +156,9 @@ init -1400 python:
newly shown images, and newly hidden images, respectively.
`old`
If true, the transitions to move the old displayables, rather than the new ones.
If true, when a tag gets its image changed during the transition,
the old image will be used in preference to the new one. Otherwise,
the new images will be used.
`layers`
The layers the transition will apply to.
@@ -166,7 +169,6 @@ init -1400 python:
# with "move".
init python:
define.move_transitions("move", 0.5)
"""
moves = {
+2 -2
View File
@@ -1369,11 +1369,11 @@ init python in director:
continue
if i & 1:
v = int(v)
v = "%08d" % int(v)
rv.append(v)
return tuple(rv)
return "".join(rv)
init 2202 python hide in director:
+4
View File
@@ -99,11 +99,15 @@ init -1700 python:
renpy.context_dynamic("_side_image_old")
renpy.context_dynamic("_side_image_raw")
renpy.context_dynamic("_side_image")
renpy.context_dynamic("_side_image_attributes")
renpy.context_dynamic("_side_image_attributes_reset")
store._window_subtitle = config.menu_window_subtitle
store._window = False
store._history = False
store._menu = True
store._side_image_attributes = None
store._side_image_attribute_reset = False
store.mouse_visible = True
store.suppress_overlay = True
+3
View File
@@ -257,6 +257,9 @@ init -1200 python:
is true.
"""
if developer and config.developer:
return True
return renpy.display.controller.exists()
+3 -3
View File
@@ -40,12 +40,12 @@ init -1510 python:
elif self.action == "disable":
if current is self.input_value:
if current == self.input_value:
renpy.set_editable_input_value(self.input_value, False)
elif self.action == "toggle":
if current is self.input_value and editable:
if current == self.input_value and editable:
renpy.set_editable_input_value(self.input_value, False)
else:
renpy.set_editable_input_value(self.input_value, True)
@@ -56,7 +56,7 @@ init -1510 python:
current, editable = renpy.get_editable_input_value()
rv = (current is self.input_value) and editable
rv = (current == self.input_value) and editable
if self.action == "disable":
rv = not rv
+1 -1
View File
@@ -1,4 +1,4 @@
init offset = -100
init offset = -100
python early in layeredimage:
-18
View File
@@ -303,24 +303,6 @@ init -1700 python:
config.expensive_predict_callbacks.append(_predict_screens)
##########################################################################
# Name-only say statements.
# This character is copied when a name-only say statement is called.
name_only = adv
def predict_say(who, what):
who = Character(who, kind=name_only)
try:
who.predict(what)
except Exception:
pass
def say(who, what, interact=True, *args, **kwargs):
who = Character(who, kind=name_only)
who(what, interact=interact, *args, **kwargs)
##########################################################################
# Constant stores.
#
+139 -135
View File
@@ -80,186 +80,186 @@ init -1500 python:
@renpy.pure
def Preference(name, value=None, range=None):
"""
:doc: preference_action
:doc: preference_action
This constructs the appropriate action or value from a preference.
The preference name should be the name given in the standard
menus, while the value should be either the name of a choice,
"toggle" to cycle through choices, a specific value, or left off
in the case of buttons.
This constructs the appropriate action or value from a preference.
The preference name should be the name given in the standard
menus, while the value should be either the name of a choice,
"toggle" to cycle through choices, a specific value, or left off
in the case of buttons.
Actions that can be used with buttons and hotspots are:
Actions that can be used with buttons and hotspots are:
* Preference("display", "fullscreen") - displays in fullscreen mode.
* Preference("display", "window") - displays in windowed mode at 1x normal size.
* Preference("display", 2.0) - displays in windowed mode at 2.0x normal size.
* Preference("display", "any window") - displays in windowed mode at the previous size.
* Preference("display", "toggle") - toggle display mode.
* Preference("display", "fullscreen") - displays in fullscreen mode.
* Preference("display", "window") - displays in windowed mode at 1x normal size.
* Preference("display", 2.0) - displays in windowed mode at 2.0x normal size.
* Preference("display", "any window") - displays in windowed mode at the previous size.
* Preference("display", "toggle") - toggle display mode.
* Preference("transitions", "all") - show all transitions.
* Preference("transitions", "none") - do not show transitions.
* Preference("transitions", "toggle") - toggle transitions.
* Preference("transitions", "all") - show all transitions.
* Preference("transitions", "none") - do not show transitions.
* Preference("transitions", "toggle") - toggle transitions.
* Preference("video sprites", "show") - show all video sprites.
* Preference("video sprites", "hide") - fall back to images where possible.
* Preference("video sprites", "toggle") - toggle image fallback behavior.
* Preference("video sprites", "show") - show all video sprites.
* Preference("video sprites", "hide") - fall back to images where possible.
* Preference("video sprites", "toggle") - toggle image fallback behavior.
* Preference("show empty window", "show") - Allow the "window show" and "window auto" statement to show an empty window outside of the say statement.
* Preference("show empty window", "hide") - Prevent the above.
* Preference("show empty window", "toggle") - Toggle the above.
* Preference("show empty window", "show") - Allow the "window show" and "window auto" statement to show an empty window outside of the say statement.
* Preference("show empty window", "hide") - Prevent the above.
* Preference("show empty window", "toggle") - Toggle the above.
* Preference("text speed", 0) - make text appear instantaneously.
* Preference("text speed", 142) - set text speed to 142 characters per second.
* Preference("text speed", 0) - make text appear instantaneously.
* Preference("text speed", 142) - set text speed to 142 characters per second.
* Preference("joystick") - Show the joystick preferences.
* Preference("joystick") - Show the joystick preferences.
* Preference("skip", "seen") - Only skip seen messages.
* Preference("skip", "all") - Skip unseen messages.
* Preference("skip", "toggle") - Toggle between skip seen and skip all.
* Preference("skip", "seen") - Only skip seen messages.
* Preference("skip", "all") - Skip unseen messages.
* Preference("skip", "toggle") - Toggle between skip seen and skip all.
* Preference("begin skipping") - Starts skipping.
* Preference("begin skipping") - Starts skipping.
* Preference("after choices", "skip") - Skip after choices.
* Preference("after choices", "stop") - Stop skipping after choices.
* Preference("after choices", "toggle") - Toggle skipping after choices.
* Preference("after choices", "skip") - Skip after choices.
* Preference("after choices", "stop") - Stop skipping after choices.
* Preference("after choices", "toggle") - Toggle skipping after choices.
* Preference("auto-forward time", 0) - Set the auto-forward time to infinite.
* Preference("auto-forward time", 10) - Set the auto-forward time (unit is seconds per 250 characters).
* Preference("auto-forward time", 0) - Set the auto-forward time to infinite.
* Preference("auto-forward time", 10) - Set the auto-forward time (unit is seconds per 250 characters).
* Preference("auto-forward", "enable") - Enable auto-forward mode.
* Preference("auto-forward", "disable") - Disable auto-forward mode.
* Preference("auto-forward", "toggle") - Toggle auto-forward mode.
* Preference("auto-forward", "enable") - Enable auto-forward mode.
* Preference("auto-forward", "disable") - Disable auto-forward mode.
* Preference("auto-forward", "toggle") - Toggle auto-forward mode.
* Preference("auto-forward after click", "enable") - Remain in auto-forward mode after a click.
* Preference("auto-forward after click", "disable") - Disable auto-forward mode after a click.
* Preference("auto-forward after click", "toggle") - Toggle auto-forward after click.
* Preference("auto-forward after click", "enable") - Remain in auto-forward mode after a click.
* Preference("auto-forward after click", "disable") - Disable auto-forward mode after a click.
* Preference("auto-forward after click", "toggle") - Toggle auto-forward after click.
* Preference("automatic move", "enable") - Enable automatic mouse mode.
* Preference("automatic move", "disable") - Disable automatic mouse mode.
* Preference("automatic move", "toggle") - Toggle automatic mouse mode.
* Preference("automatic move", "enable") - Allow Ren'Py to move the mouse automatically using the :func:`MouseMove` action.
* Preference("automatic move", "disable") - Disable the :func:`MouseMove` action.
* Preference("automatic move", "toggle") - Toggle automatic mouse mode.
* Preference("wait for voice", "enable") - Wait for the currently playing voice to complete before auto-forwarding.
* Preference("wait for voice", "disable") - Do not wait for the currently playing voice to complete before auto-forwarding.
* Preference("wait for voice", "toggle") - Toggle wait voice.
* Preference("wait for voice", "enable") - Wait for the currently playing voice to complete before auto-forwarding.
* Preference("wait for voice", "disable") - Do not wait for the currently playing voice to complete before auto-forwarding.
* Preference("wait for voice", "toggle") - Toggle wait voice.
* Preference("voice sustain", "enable") - Sustain voice past the current interaction.
* Preference("voice sustain", "disable") - Don't sustain voice past the current interaction.
* Preference("voice sustain", "toggle") - Toggle voice sustain.
* Preference("voice sustain", "enable") - Sustain voice past the current interaction.
* Preference("voice sustain", "disable") - Don't sustain voice past the current interaction.
* Preference("voice sustain", "toggle") - Toggle voice sustain.
* Preference("music mute", "enable") - Mute the music mixer.
* Preference("music mute", "disable") - Un-mute the music mixer.
* Preference("music mute", "toggle") - Toggle music mute.
* Preference("music mute", "enable") - Mute the music mixer.
* Preference("music mute", "disable") - Un-mute the music mixer.
* Preference("music mute", "toggle") - Toggle music mute.
* Preference("sound mute", "enable") - Mute the sound mixer.
* Preference("sound mute", "disable") - Un-mute the sound mixer.
* Preference("sound mute", "toggle") - Toggle sound mute.
* Preference("sound mute", "enable") - Mute the sound mixer.
* Preference("sound mute", "disable") - Un-mute the sound mixer.
* Preference("sound mute", "toggle") - Toggle sound mute.
* Preference("voice mute", "enable") - Mute the voice mixer.
* Preference("voice mute", "disable") - Un-mute the voice mixer.
* Preference("voice mute", "toggle") - Toggle voice mute.
* Preference("voice mute", "enable") - Mute the voice mixer.
* Preference("voice mute", "disable") - Un-mute the voice mixer.
* Preference("voice mute", "toggle") - Toggle voice mute.
* Preference("mixer <mixer> mute", "enable") - Mute the specified mixer.
* Preference("mixer <mixer> mute", "disable") - Unmute the specified mixer.
* Preference("mixer <mixer> mute", "toggle") - Toggle mute of the specified mixer.
* Preference("mixer <mixer> mute", "enable") - Mute the specified mixer.
* Preference("mixer <mixer> mute", "disable") - Unmute the specified mixer.
* Preference("mixer <mixer> mute", "toggle") - Toggle mute of the specified mixer.
* Preference("all mute", "enable") - Mute each individual mixer.
* Preference("all mute", "disable") - Unmute each individual mixer.
* Preference("all mute", "toggle") - Toggle mute of each individual mixer.
* Preference("all mute", "enable") - Mute each individual mixer.
* Preference("all mute", "disable") - Unmute each individual mixer.
* Preference("all mute", "toggle") - Toggle mute of each individual mixer.
* Preference("main volume", 0.5) - Set the adjustment applied to all channels.
* Preference("music volume", 0.5) - Set the music volume.
* Preference("sound volume", 0.5) - Set the sound volume.
* Preference("voice volume", 0.5) - Set the voice volume.
* Preference("mixer <mixer> volume", 0.5) - Set the specified mixer volume.
* Preference("main volume", 0.5) - Set the adjustment applied to all channels.
* Preference("music volume", 0.5) - Set the music volume.
* Preference("sound volume", 0.5) - Set the sound volume.
* Preference("voice volume", 0.5) - Set the voice volume.
* Preference("mixer <mixer> volume", 0.5) - Set the specified mixer volume.
* Preference("emphasize audio", "enable") - Emphasize the audio channels found in :var:`config.emphasize_audio_channels`.
* Preference("emphasize audio", "disable") - Do not emphasize audio channels.
* Preference("emphasize audio", "toggle") - Toggle emphasize audio.
* Preference("emphasize audio", "enable") - Emphasize the audio channels found in :var:`config.emphasize_audio_channels`.
* Preference("emphasize audio", "disable") - Do not emphasize audio channels.
* Preference("emphasize audio", "toggle") - Toggle emphasize audio.
* Preference("self voicing", "enable") - Enables self-voicing.
* Preference("self voicing", "disable") - Disable self-voicing.
* Preference("self voicing", "toggle") - Toggles self-voicing.
* Preference("self voicing", "enable") - Enables self-voicing.
* Preference("self voicing", "disable") - Disable self-voicing.
* Preference("self voicing", "toggle") - Toggles self-voicing.
* Preference("self voicing volume drop", 0.5) - Drops the volume of non-voice mixers when self voicing is active.
* Preference("self voicing volume drop", 0.5) - Drops the volume of non-voice mixers when self voicing is active.
* Preference("clipboard voicing", "enable") - Enables clipboard-voicing.
* Preference("clipboard voicing", "disable") - Disable clipboard-voicing.
* Preference("clipboard voicing", "toggle") - Toggles clipboard-voicing.
* Preference("clipboard voicing", "enable") - Enables clipboard-voicing.
* Preference("clipboard voicing", "disable") - Disable clipboard-voicing.
* Preference("clipboard voicing", "toggle") - Toggles clipboard-voicing.
* Preference("debug voicing", "enable") - Enables self-voicing debug
* Preference("debug voicing", "disable") - Disable self-voicing debug.
* Preference("debug voicing", "toggle") - Toggles self-voicing debug.
* Preference("debug voicing", "enable") - Enables self-voicing debug
* Preference("debug voicing", "disable") - Disable self-voicing debug.
* Preference("debug voicing", "toggle") - Toggles self-voicing debug.
* Preference("rollback side", "left") - Touching the left side of the screen causes rollback.
* Preference("rollback side", "right") - Touching the right side of the screen causes rollback.
* Preference("rollback side", "disable") - Touching the screen will not cause rollback.
* Preference("rollback side", "left") - Touching the left side of the screen causes rollback.
* Preference("rollback side", "right") - Touching the right side of the screen causes rollback.
* Preference("rollback side", "disable") - Touching the screen will not cause rollback.
* Preference("gl powersave", True) - Drop framerate to allow for power savings.
* Preference("gl powersave", False) - Do not drop framerate to allow for power savings.
* Preference("gl powersave", "auto") - Enable powersave when running on battery.
* Preference("gl powersave", True) - Drop framerate to allow for power savings.
* Preference("gl powersave", False) - Do not drop framerate to allow for power savings.
* Preference("gl powersave", "auto") - Enable powersave when running on battery.
* Preference("gl framerate", None) - Runs at the display framerate.
* Preference("gl framerate", 60) - Runs at the given framerate.
* Preference("gl framerate", None) - Runs at the display framerate.
* Preference("gl framerate", 60) - Runs at the given framerate.
* Preference("gl tearing", True) - Tears rather than skipping frames.
* Preference("gl tearing", False) - Skips frames rather than tearing.
* Preference("gl tearing", True) - Tears rather than skipping frames.
* Preference("gl tearing", False) - Skips frames rather than tearing.
* Preference("font transform", "opendyslexic") - Sets the accessibility font transform to opendyslexic.
* Preference("font transform", "dejavusans") - Sets the accessibility font transform to deja vu sans.
* Preference("font transform", None) - Disables the accessibility font transform.
* Preference("font transform", "opendyslexic") - Sets the accessibility font transform to opendyslexic.
* Preference("font transform", "dejavusans") - Sets the accessibility font transform to deja vu sans.
* Preference("font transform", None) - Disables the accessibility font transform.
* Preference("font size", 1.0) - Sets the accessibility font size scaling factor.
* Preference("font line spacing", 1.0) - Sets the accessibility font vertical spacing scaling factor.
* Preference("font size", 1.0) - Sets the accessibility font size scaling factor.
* Preference("font line spacing", 1.0) - Sets the accessibility font vertical spacing scaling factor.
* Preference("system cursor", "enable") - Use system cursor ignoring :var:`config.mouse`.
* Preference("system cursor", "disable") - Use cursor defined in :var:`config.mouse`.
* Preference("system cursor", "toggle") - Toggle system cursor.
* Preference("system cursor", "disable") - Use the cursor defined in :var:`config.mouse` or :var:`config.mouse_displayable`.
* Preference("system cursor", "enable") - Use the system cursor, ignoring :var:`config.mouse`.
* Preference("system cursor", "toggle") - Toggle system cursor.
* Preference("high contrast text", "enable") - Enables white text on a black background.
* Preference("high contrast text", "disable") - Disables high contrast text.
* Preference("high contrast text", "toggle") - Toggles high contrast text.
* Preference("high contrast text", "enable") - Enables white text on a black background.
* Preference("high contrast text", "disable") - Disables high contrast text.
* Preference("high contrast text", "toggle") - Toggles high contrast text.
* Preference("audio when minimized", "enable") - Enable sounds playing when the window has been minimized.
* Preference("audio when minimized", "disable") - Disable sounds playing when the window has been minimized.
* Preference("audio when minimized", "toggle") - Toggle sounds playing when the window has been minimized.
* Preference("audio when minimized", "enable") - Enable sounds playing when the window has been minimized.
* Preference("audio when minimized", "disable") - Disable sounds playing when the window has been minimized.
* Preference("audio when minimized", "toggle") - Toggle sounds playing when the window has been minimized.
* Preference("audio when unfocused", "enable") - Enable sounds playing when the window is not in focus.
* Preference("audio when unfocused", "disable") - Disable sounds playing when the window is not in focus.
* Preference("audio when unfocused", "toggle") - Toggle sounds playing when the window is not in focus.
* Preference("audio when unfocused", "enable") - Enable sounds playing when the window is not in focus.
* Preference("audio when unfocused", "disable") - Disable sounds playing when the window is not in focus.
* Preference("audio when unfocused", "toggle") - Toggle sounds playing when the window is not in focus.
* Preference("web cache preload", "enable") - Will cause the web cache to be preloaded.
* Preference("web cache preload", "disable") - Will cause the web cache to not be preloaded, and preloaded data to be deleted.
* Preference("web cache preload", "toggle") - Will toggle the web cache preload state.
* Preference("web cache preload", "enable") - Will cause the web cache to be preloaded.
* Preference("web cache preload", "disable") - Will cause the web cache to not be preloaded, and preloaded data to be deleted.
* Preference("web cache preload", "toggle") - Will toggle the web cache preload state.
* Preference("voice after game menu", "enable") - Will cause the voice to continue being played when entering the game menu.
* Preference("voice after game menu", "disable") - Will cause the voice to stop being played when entering the game menu.
* Preference("voice after game menu", "toggle") - Will toggle the voice after game menu state.
* Preference("voice after game menu", "enable") - Will cause the voice to continue being played when entering the game menu.
* Preference("voice after game menu", "disable") - Will cause the voice to stop being played when entering the game menu.
* Preference("voice after game menu", "toggle") - Will toggle the voice after game menu state.
Values that can be used with bars are:
Values that can be used with bars are:
* Preference("text speed")
* Preference("auto-forward time")
* Preference("main volume")
* Preference("music volume")
* Preference("sound volume")
* Preference("voice volume")
* Preference("mixer <mixer> volume")
* Preference("self voicing volume drop")
* Preference("font size")
* Preference("font line spacing")
* Preference("text speed")
* Preference("auto-forward time")
* Preference("main volume")
* Preference("music volume")
* Preference("sound volume")
* Preference("voice volume")
* Preference("mixer <mixer> volume")
* Preference("self voicing volume drop")
* Preference("font size")
* Preference("font line spacing")
The `range` parameter can be given to give the range of certain bars.
For "text speed", it defaults to 200 cps. For "auto-forward time", it
defaults to 30.0 seconds per chunk of text. (These are maximums, not
defaults.)
The `range` parameter can be given to give the range of certain bars.
For "text speed", it defaults to 200 cps. For "auto-forward time", it
defaults to 30.0 seconds per chunk of text. (These are maximums, not
defaults.)
Actions that can be used with buttons are:
Actions that can be used with buttons are:
* Preference("renderer menu") - Show the renderer menu.
* Preference("accessibility menu") - Show the accessibility menu.
* Preference("renderer menu") - Show the renderer menu.
* Preference("accessibility menu") - Show the accessibility menu.
These screens are intended for internal use, and are not customizable.
"""
These screens are intended for internal use, and are not customizable.
"""
name = name.lower()
@@ -272,7 +272,11 @@ init -1500 python:
if value == "fullscreen":
return SetField(_preferences, "fullscreen", True)
elif value == "window":
return __DisplayAction(1.0)
if renpy.variant("web"):
# Only fullscreen and non-fullscreen modes for Web
return SetField(_preferences, "fullscreen", False)
else:
return __DisplayAction(1.0)
elif value == "any window":
return SetField(_preferences, "fullscreen", False)
elif value == "toggle":
+1 -1
View File
@@ -874,7 +874,7 @@ init -1499 python in achievement:
renpy.write_log("Initialized steam.")
except Exception as e:
renpy.write_log("Faled to initialize steam: %r", e)
renpy.write_log("Failed to initialize steam: %r", e)
steam = None
steamapi = None
+5 -2
View File
@@ -354,8 +354,11 @@ init -1100 python in _sync:
total_size = 0
if renpy.config.save_directory:
zf.writestr("save_directory", renpy.config.save_directory)
sd = renpy.config.save_directory
if sd:
if PY2:
sd = sd.encode("utf-8")
zf.writestr("save_directory", sd)
persistent = location.path("persistent")[1]
+2 -2
View File
@@ -139,7 +139,7 @@ let start_playing = (c) => {
}
if (p.end >= 0) {
p.source.start(0, p.start, p.end);
p.source.start(0, p.start, p.end - p.start);
} else {
p.source.start(0, p.start);
}
@@ -287,7 +287,7 @@ let video_start = (c) => {
c.playing.source.stop(context.currentTime + p.fadeout);
} catch (e) {
}
}
setValue(c.relative_volume.gain, p.relative_volume);
+7 -6
View File
@@ -183,13 +183,14 @@ if PY2:
# Chance the default for subprocess.Popen.
if PY2:
import subprocess
class Popen(subprocess.Popen):
def __init__(self, *args, **kwargs):
if ("stdout" not in kwargs) and ("stderr" not in kwargs) and ("stdin" not in kwargs):
kwargs.setdefault("close_fds", True)
super(Popen, self).__init__(*args, **kwargs)
if hasattr(subprocess, 'Popen'): # Web2 does not have subprocess.Popen
class Popen(subprocess.Popen):
def __init__(self, *args, **kwargs):
if ("stdout" not in kwargs) and ("stderr" not in kwargs) and ("stdin" not in kwargs):
kwargs.setdefault("close_fds", True)
super(Popen, self).__init__(*args, **kwargs)
subprocess.Popen = Popen
subprocess.Popen = Popen
################################################################################
+4 -1
View File
@@ -1210,7 +1210,7 @@ raise_image_exceptions = True
relative_transform_size = True
# Should tts of layers be from front to back?
tts_front_to_back = False
tts_front_to_back = True
# Should live2d loading be logged to log.txt
log_live2d_loading = False
@@ -1392,6 +1392,9 @@ quadratic_volumes = False
# If true, fades will be linear rather than logarithmic.
linear_fades = False
# Classes that used to participate in rollback, but no longer do.
ex_rollback_classes = [ ]
del os
del collections
+2 -4
View File
@@ -401,9 +401,8 @@ adv = ADVCharacter(None,
kind=False)
# predict_say and who are defined in 00library.rpy, but we add default
# versions here in case there is a problem with initialization. (And
# for pickling purposes.)
# This character is copied when a name-only say statement is called.
name_only = adv
def predict_say(who, what):
@@ -418,7 +417,6 @@ def say(who, what, interact=True, *args, **kwargs):
who = Character(who, kind=adv)
who(what, interact=interact, *args, **kwargs)
# Used by renpy.reshow_say and extend.
_last_say_who = None
_last_say_what = None
+29 -5
View File
@@ -98,9 +98,16 @@ def compile_event(key, keydown):
mouse = True
rv = "(ev.type == %d" % pygame.MOUSEBUTTONUP
if not keydown:
return "(False)"
elif part[0] == "mousedown":
mouse = True
rv = "(ev.type == %d" % pygame.MOUSEBUTTONDOWN
if keydown:
rv = "(ev.type == %d" % pygame.MOUSEBUTTONDOWN
else:
rv = "(ev.type == %d" % pygame.MOUSEBUTTONUP
elif keydown:
rv = "(ev.type == %d" % pygame.KEYDOWN
@@ -108,9 +115,6 @@ def compile_event(key, keydown):
else:
rv = "(ev.type == %d" % pygame.KEYUP
if mouse and not keydown:
return
if not mouse:
if "repeat" in modifiers:
@@ -1899,6 +1903,19 @@ class Adjustment(renpy.object.Object):
self.ranged = ranged
self.force_step = force_step
def viewport_replaces(self, replaces): # type: (Adjustment) -> None
if replaces is self:
return
self.range = replaces.range
self.value = replaces.value
self.animation_amplitude = replaces.animation_amplitude
self.animation_target = replaces.animation_target
self.animation_start = replaces.animation_start
self.animation_delay = replaces.animation_delay
self.animation_warper = replaces.animation_warper
def round_value(self, value, release):
# Prevent deadlock border points
if value <= 0:
@@ -2037,6 +2054,10 @@ class Adjustment(renpy.object.Object):
if self.animation_start is None:
self.animation_start = st
if st < self.animation_start:
self.end_animation(instantly=True)
return 0
done = (st - self.animation_start) / self.animation_delay
done = self.animation_warper(done)
@@ -2196,6 +2217,9 @@ class Bar(renpy.display.core.Displayable):
return renpy.display.render.Render(width, height)
elif self.style.unscrollable == "insensitive":
self.set_style_prefix("insensitive_", True)
else:
if self.style.prefix == "insensitive_":
self.set_style_prefix("idle_", True)
self.hidden = False
@@ -2854,7 +2878,7 @@ class WebInput(renpy.display.core.Displayable):
@staticmethod
def post_find_focusable():
if not renpy.emscripten:
if PY2 or not renpy.emscripten:
return
if WebInput.active is None:
+99 -8
View File
@@ -190,11 +190,90 @@ class EndInteraction(Exception):
self.value = value
def absolute_wrap(func):
"""
Wraps func_name into a method of absolute. The wrapped method
converts a float result back to absolute.
"""
def wrapper(*args):
rv = func(*args)
if type(rv) is float:
return absolute(rv)
else:
return rv
return wrapper
class absolute(float):
"""
This represents an absolute float coordinate.
"""
__slots__ = [ ]
__slots__ = ()
def __repr__(self):
return "absolute({})".format(float.__repr__(self))
def __divmod__(self, value):
return self//value, self%value
def __rdivmod__(self, value):
return value//self, value%self
for fn in (
'__coerce__', # PY2
'__div__', # PY2
'__long__', # PY2
'__nonzero__', # PY2
'__rdiv__', # PY2
'__abs__',
'__add__',
# '__bool__', # non-float
'__ceil__',
# '__divmod__', # special-cased above, tuple of floats
# '__eq__', # non-float
'__floordiv__',
# '__format__', # non-float
# '__ge__', # non-float
# '__gt__', # non-float
# '__hash__', # non-float
# '__int__', # non-float
# '__le__', # non-float
# '__lt__', # non-float
'__mod__',
'__mul__',
# '__ne__', # non-float
'__neg__',
'__pos__',
'__pow__',
'__radd__',
# '__rdivmod__', # special-cased above, tuple of floats
'__rfloordiv__',
'__rmod__',
'__rmul__',
'__round__',
'__rpow__',
'__rsub__',
'__rtruediv__',
# '__str__', # non-float
'__sub__',
'__truediv__',
# '__trunc__', # non-float
# 'as_integer_ratio', # tuple of non-floats
'conjugate',
'fromhex',
# 'hex', # non-float
# 'is_integer', # non-float
):
f = getattr(float, fn, None)
if f is not None: # for PY2-only and PY3-only methods
setattr(absolute, fn, absolute_wrap(f))
del absolute_wrap, fn, f # type: ignore
def place(width, height, sw, sh, placement):
@@ -2437,6 +2516,12 @@ class Interface(object):
pygame.event.set_blocked(i)
pygame.event.set_blocked(pygame.TEXTINPUT)
# Fix a problem with fullscreen and maximized.
if renpy.game.preferences.fullscreen:
renpy.game.preferences.maximized = False
def after_first_frame(self):
"""
Called after the first frame has been drawn.
@@ -2460,7 +2545,7 @@ class Interface(object):
if icon:
try:
with renpy.loader.load(icon) as f:
with renpy.loader.load(icon, directory="images") as f:
im = renpy.display.scale.image_load_unscaled(
f,
icon,
@@ -2627,6 +2712,7 @@ class Interface(object):
# Stop the resizing.
pygame.key.stop_text_input() # @UndefinedVariable
pygame.key.set_text_input_rect(None) # @UndefinedVariable
pygame.event.set_blocked(pygame.TEXTINPUT)
self.text_rect = None
self.old_text_rect = None
self.display_reset = False
@@ -3412,6 +3498,7 @@ class Interface(object):
rect = (x0, y0, x1 - x0, y1 - y0)
pygame.key.set_text_input_rect(rect) # @UndefinedVariable
pygame.event.set_allowed(pygame.TEXTINPUT)
if not self.old_text_rect or not_shown:
pygame.key.start_text_input() # @UndefinedVariable
@@ -3428,6 +3515,7 @@ class Interface(object):
if self.old_text_rect:
pygame.key.stop_text_input() # @UndefinedVariable
pygame.key.set_text_input_rect(None) # @UndefinedVariable
pygame.event.set_blocked(pygame.TEXTINPUT)
if self.touch_keyboard:
renpy.exports.hide_screen('_touch_keyboard', layer='screens')
@@ -3925,13 +4013,16 @@ class Interface(object):
for i in renpy.display.emulator.overlay:
root_widget.add(i)
mouse_displayable = renpy.config.mouse_displayable
if mouse_displayable is not None:
if not isinstance(mouse_displayable, Displayable):
mouse_displayable = mouse_displayable()
if renpy.game.preferences.system_cursor:
mouse_displayable = None
else:
mouse_displayable = renpy.config.mouse_displayable
if mouse_displayable is not None:
root_widget.add(mouse_displayable, 0, 0)
if not isinstance(mouse_displayable, Displayable):
mouse_displayable = mouse_displayable()
if mouse_displayable is not None:
root_widget.add(mouse_displayable, 0, 0)
self.prediction_coroutine = renpy.display.predict.prediction_coroutine(root_widget)
self.prediction_coroutine.send(None)
+3 -1
View File
@@ -459,6 +459,7 @@ class Drag(renpy.display.core.Displayable, renpy.revertable.RevertableObject):
raise Exception("Drag expects either zero or one children.")
self.child = renpy.easy.displayable(d)
renpy.display.render.invalidate(self)
def _clear(self):
self.child = None
@@ -597,7 +598,7 @@ class Drag(renpy.display.core.Displayable, renpy.revertable.RevertableObject):
self.target_at = at + self.target_at_delay
self.target_at_delay = 0
redraw(self, 0)
elif at >= self.target_at:
elif self.target_at <= at or self.target_at <= self.at:
# Snap complete
self.x = self.target_x
self.y = self.target_y
@@ -946,6 +947,7 @@ class DragGroup(renpy.display.layout.MultiBox):
super(DragGroup, self).add(child)
self.sorted = False
renpy.display.render.invalidate(self)
def remove(self, child):
"""
+23 -3
View File
@@ -75,6 +75,12 @@ class Solid(renpy.display.core.Displayable):
rv = Render(width, height)
if width and height:
minw, minh = renpy.display.draw.draw_to_virt.transform(1, 1)
width = max(width, minw)
height = max(height, minh)
if color is None or width <= 0 or height <= 0:
return rv
@@ -273,6 +279,23 @@ class Frame(renpy.display.core.Displayable):
width = max(self.style.xminimum, width)
height = max(self.style.yminimum, height)
# The size of the final displayable.
if self.tile:
dw = int(width)
dh = int(height)
else:
dw = width
dh = height
if width and height:
minw, minh = renpy.display.draw.draw_to_virt.transform(1, 1)
width = max(width, minw)
height = max(height, minh)
image = self.style.child or self.image
crend = render(image, width, height, st, at)
@@ -280,9 +303,6 @@ class Frame(renpy.display.core.Displayable):
sw = int(sw)
sh = int(sh)
dw = int(width)
dh = int(height)
bw = self.left + self.right
bh = self.top + self.bottom
+3 -1
View File
@@ -214,6 +214,8 @@ class Container(renpy.display.core.Displayable):
if child._duplicatable:
self._duplicatable = True
renpy.display.render.invalidate(self)
def _clear(self):
self.child = None
self.children = self._list_type()
@@ -2067,7 +2069,7 @@ class AdjustTimes(Container):
def event(self, ev, x, y, st):
st, _ = self.adjusted_times()
Container.event(self, ev, x, y, st)
return Container.event(self, ev, x, y, st)
def get_placement(self):
return self.child.get_placement()
+20 -6
View File
@@ -455,27 +455,34 @@ def MoveTransition(delay, old_widget=None, new_widget=None, enter=None, leave=No
Returns a transition that interpolates the position of images (with the
same tag) in the old and new scenes.
As only layers have tags, MoveTransitions can only be applied to a single
layer or all layers at once, using the with statement. It will not work
in other contexts, like ATL, :doc:`ComposeTransition`, or other ways of
applying transitions.
`delay`
The time it takes for the interpolation to finish.
`enter`
If not None, images entering the scene will also be moved. The value
of `enter` should be a transform that is applied to the image to
get its starting position.
get it in its starting position.
`leave`
If not None, images leaving the scene will also be move. The value
If not None, images leaving the scene will also be moved. The value
of `leave` should be a transform that is applied to the image to
get its ending position.
get it in its ending position.
`old`
If true, the old image will be used in preference to the new one.
If true, when a tag gets its image changed during the transition,
the old image will be used in preference to the new one. Otherwise,
the new images will be used.
`layers`
A list of layers that moves are applied to.
`time_warp`
A time warp function that's applied to the interpolation. This
A :ref:`time warp function <warpers>` that's applied to the interpolation. This
takes a number between 0.0 and 1.0, and should return a number in
the same range.
@@ -484,9 +491,16 @@ def MoveTransition(delay, old_widget=None, new_widget=None, enter=None, leave=No
`leave_time_warp`
A time warp function that's applied to images leaving the scene.
"""
if not (hasattr(old_widget, 'scene_list') or hasattr(old_widget, 'layers')):
if renpy.config.developer:
raise Exception("MoveTransition can only be applied to one or all layers, not %s." % type(old_widget).__name__)
if not (hasattr(new_widget, 'scene_list') or hasattr(new_widget, 'layers')):
if renpy.config.developer:
raise Exception("MoveTransition can only be applied to one or all layers, not %s." % type(new_widget).__name__)
use_old = old
def merge_slide(old, new, merge_slide):
+2 -2
View File
@@ -316,7 +316,7 @@ class ScreenDisplayable(renpy.display.layout.Container):
'miss_cache',
'profile',
'phase',
'use_cache'
'use_cache',
'copied_from'
]
@@ -334,7 +334,7 @@ class ScreenDisplayable(renpy.display.layout.Container):
'miss_cache',
'profile',
'phase',
'use_cache'
'use_cache',
'copied_from'
]
+7 -8
View File
@@ -102,7 +102,7 @@ class MultipleTransition(Transition):
after the other.
`args`
A *list* containing an odd number of items. The first, third, and
A **list** containing an odd number of items. The first, third, and
other odd-numbered items must be scenes, and the even items
must be transitions. A scene can be one of:
@@ -112,6 +112,8 @@ class MultipleTransition(Transition):
Almost always, the first argument will be False and the last True.
Note that this is a single parameter taking a list, this is not ``*args``.
The transitions in `args` are applied in order. For each transition,
the old scene is the screen preceding it, and the new scene is the
scene following it. For example::
@@ -129,7 +131,7 @@ class MultipleTransition(Transition):
def __init__(self, args, old_widget=None, new_widget=None, **properties):
if len(args) % 2 != 1 or len(args) < 3:
raise Exception("MultipleTransition requires an odd number of arguments, and at least 3 arguments.")
raise Exception("MultipleTransition requires an odd number of items, and at least 3 items.")
self.transitions = [ ]
@@ -320,7 +322,7 @@ class Pixellate(Transition):
class Dissolve(Transition):
"""
:doc: transition function
:args: (time, *, alpha=False, time_warp=None, mipmap=None)
:args: (time, *, time_warp=None, mipmap=None)
:name: Dissolve
Returns a transition that dissolves from the old scene to the new scene.
@@ -328,9 +330,6 @@ class Dissolve(Transition):
`time`
The time the dissolve will take.
`alpha`
Ignored.
`time_warp`
A function that adjusts the timeline. If not None, this should be a
function that takes a fractional time between 0.0 and 1.0, and returns
@@ -378,8 +377,8 @@ class Dissolve(Transition):
bottom = render(self.old_widget, width, height, st, at)
top = render(self.new_widget, width, height, st, at)
width = min(top.width, bottom.width)
height = min(top.height, bottom.height)
width = max(top.width, bottom.width)
height = max(top.height, bottom.height)
rv = renpy.display.render.Render(width, height)
+10 -2
View File
@@ -170,8 +170,7 @@ def init():
if isinstance(pattern, basestring):
pattern = r'\b' + re.escape(pattern) + r'\b'
pattern = re.compile(pattern, re.IGNORECASE)
replacement = re.escape(replacement)
replacement = replacement.replace("\\", "\\\\")
tts_substitutions.append((pattern, replacement))
@@ -234,6 +233,9 @@ def set_root(d):
old_self_voicing = False
# The text used to show a notification.
notify_text = None
def displayable(d):
"""
Causes the TTS system to read the text of the displayable `d`.
@@ -242,6 +244,7 @@ def displayable(d):
global old_self_voicing
global last
global last_raw
global notify_text
self_voicing = renpy.game.preferences.self_voicing
@@ -283,6 +286,11 @@ def displayable(d):
else:
d = root
if notify_text and not s.startswith(notify_text):
s = notify_text + ": " + s
notify_text = None
if s != last_raw:
last_raw = s
+18 -3
View File
@@ -22,8 +22,8 @@
from __future__ import division, absolute_import, with_statement, print_function, unicode_literals
from renpy.compat import PY2, basestring, bchr, bord, chr, open, pystr, range, round, str, tobytes, unicode # *
import collections
import re
import renpy
@@ -413,6 +413,9 @@ class Movie(renpy.display.core.Displayable):
"""
if isinstance(name, basestring):
m = re.match(r'<.*>(.*)$', name)
if m:
name = m.group(1)
return renpy.loader.loadable(name, directory="audio")
else:
return any(renpy.loader.loadable(i, directory="audio") for i in name)
@@ -449,6 +452,10 @@ class Movie(renpy.display.core.Displayable):
renpy.audio.music.register_channel(name, renpy.config.movie_mixer, loop=True, stop_on_mute=False, movie=True, framedrop=framedrop, force=True)
def ensure_channels(self):
self.ensure_channel(self.channel)
self.ensure_channel(self.mask_channel)
def __init__(self, fps=24, size=None, channel="movie", play=None, mask=None, mask_channel=None, image=None, play_callback=None, side_mask=False, loop=True, start_image=None, group=None, **properties):
global movie_channel_serial
@@ -483,8 +490,7 @@ class Movie(renpy.display.core.Displayable):
self.side_mask = side_mask
self.ensure_channel(self.channel)
self.ensure_channel(self.mask_channel)
self.ensure_channels()
self.image = renpy.easy.displayable_or_none(image)
self.start_image = renpy.easy.displayable_or_none(start_image)
@@ -505,6 +511,8 @@ class Movie(renpy.display.core.Displayable):
def render(self, width, height, st, at):
self.ensure_channels()
if self._play and not (renpy.game.preferences.video_image_fallback is True):
if channel_movie.get(self.channel, None) is not self:
channel_movie[self.channel] = self
@@ -572,6 +580,9 @@ class Movie(renpy.display.core.Displayable):
return rv
def play(self, old):
self.ensure_channels()
if old is None:
old_play = None
else:
@@ -592,6 +603,7 @@ class Movie(renpy.display.core.Displayable):
renpy.audio.music.stop(channel=self.mask_channel, fadeout=0) # type: ignore
def stop(self):
self.ensure_channels()
if self._play:
if renpy.audio.music.channel_defined(self.channel):
@@ -602,6 +614,9 @@ class Movie(renpy.display.core.Displayable):
renpy.audio.music.stop(channel=self.mask_channel, fadeout=0) # type: ignore
def per_interact(self):
self.ensure_channels()
displayable_channels[(self.channel, self.mask_channel)].append(self)
renpy.display.render.redraw(self, 0)
+16 -3
View File
@@ -120,6 +120,9 @@ class Viewport(renpy.display.layout.Container):
self.yoffset = offsets[1] if (offsets[1] is not None) else yinitial
if isinstance(replaces, Viewport) and replaces.offsets:
self.xadjustment.viewport_replaces(replaces.xadjustment)
self.yadjustment.viewport_replaces(replaces.yadjustment)
self.xadjustment.range = replaces.xadjustment.range
self.xadjustment.value = replaces.xadjustment.value
self.yadjustment.range = replaces.yadjustment.range
@@ -128,9 +131,11 @@ class Viewport(renpy.display.layout.Container):
self.yoffset = replaces.yoffset
self.drag_position = replaces.drag_position
self.drag_position_time = replaces.drag_position_time
self.drag_speed = replaces.drag_speed
else:
self.drag_position = None # type: tuple[int, int]|None
self.drag_position_time = None # type: float|None
self.drag_speed = None
self.child_width, self.child_height = child_size
@@ -178,6 +183,13 @@ class Viewport(renpy.display.layout.Container):
self.xadjustment.register(self)
self.yadjustment.register(self)
def set_style_prefix(self, prefix, root):
"""
Do not change the style of children when the viewport is focused.
"""
return
def update_offsets(self, cw, ch, st):
"""
This is called by render once we know the width (`cw`) and height (`ch`)
@@ -327,10 +339,11 @@ class Viewport(renpy.display.layout.Container):
grab = renpy.display.focus.get_grab()
if draggable and grab is None:
if renpy.display.behavior.map_event(ev, 'viewport_drag_end'):
if draggable:
if grab is None and renpy.display.behavior.map_event(ev, 'viewport_drag_end'):
self.drag_position = None
else:
self.drag_position = None
if inside and draggable and (self.drag_position is not None) and (grab is not self):
+19 -8
View File
@@ -159,16 +159,24 @@ class Context(renpy.object.Object):
def __repr__(self):
if not self.current:
return "<Context>"
try:
if self.current is not None:
node = renpy.game.script.lookup(self.current)
return "<Context: {}:{} {!r}>".format(
node.filename,
node.linenumber,
node.diff_info(),
)
except Exception:
pass
return "<Context>"
node = renpy.game.script.lookup(self.current)
return "<Context: {}:{} {!r}>".format(
node.filename,
node.linenumber,
node.diff_info(),
)
def after_upgrade(self, version):
if version < 1:
@@ -334,6 +342,9 @@ class Context(renpy.object.Object):
# interact = False.
self.deferred_translate_identifier = None
# When adding something here, consider if it needs to be added in
# renpy.rollback.Rollback.purge_unreachable.
def replace_node(self, old, new):
def replace_one(name):
+29 -10
View File
@@ -1438,7 +1438,7 @@ def say(who, what, *args, **kwargs):
`who`
Either the character that will say something, None for the narrator,
or a string giving the character name. In the latter case, the
:func:`say` is used to create the speaking character.
:var:`say` store function is called.
`what`
A string giving the line to say. Percent-substitutions are performed
@@ -1455,6 +1455,7 @@ def say(who, what, *args, **kwargs):
e "Hello, world."
$ renpy.say(e, "Hello, world.")
$ e("Hello, world.") # when e is not a string
$ say(e, "Hello, world.") # when e is a string
"""
if renpy.config.old_substitutions:
@@ -1594,7 +1595,7 @@ def pause(delay=None, music=None, with_none=None, hard=False, predict=False, che
roll_forward = renpy.exports.roll_forward_info()
if roll_forward not in [ True, False ]:
if type(roll_forward) not in (bool, renpy.game.CallException, renpy.game.JumpException):
roll_forward = None
if (delay is not None) and renpy.game.after_rollback and not renpy.config.pause_after_rollback:
@@ -1919,7 +1920,7 @@ def utter_restart(keep_renderer=False):
def reload_script():
"""
:doc: other
:doc: reload
Causes Ren'Py to save the game, reload the script, and then load the
save.
@@ -2441,7 +2442,7 @@ def context_dynamic(*variables):
This can be given one or more variable names as arguments. This makes
the variables dynamically scoped to the current context. The variables will
be reset to their original value when the call returns.
be reset to their original value when returning to the prior context.
An example call is::
@@ -2821,7 +2822,8 @@ def scry():
"""
:doc: other
Returns the scry object for the current statement.
Returns the scry object for the current statement. Returns None if
there are no statements executing.
The scry object tells Ren'Py about things that must be true in the
future of the current statement. Right now, the scry object has the
@@ -2842,9 +2844,17 @@ def scry():
``who``
If a ``say`` or ``menu-with-caption`` statement will execute
before the next interaction, this is the character object it will use.
The scry object has a next() method, which returns the scry object of
the statement after the current one, if only one statement will execute
after the this one. Otherwise, it returns None.
"""
name = renpy.game.context().current
if name is None:
return None
node = renpy.game.script.lookup(name)
return node.scry()
@@ -2981,8 +2991,9 @@ def pop_call():
:doc: label
:name: renpy.pop_call
Pops the current call from the call stack, without returning to
the location.
Pops the current call from the call stack, without returning to the
location. Also reverts the values of :func:`dynamic <renpy.dynamic>`
variables, the same way the Ren'Py return statement would.
This can be used if a label that is called decides not to return
to its caller.
@@ -3489,6 +3500,8 @@ def display_notify(message):
hide_screen('notify')
show_screen('notify', message=message)
renpy.display.tts.notify_text = renpy.text.extras.filter_alt_text(message)
restart_interaction()
@@ -3773,11 +3786,11 @@ def set_mouse_pos(x, y, duration=0):
def set_autoreload(autoreload):
"""
:doc: other
:doc: reload
Sets the autoreload flag, which determines if the game will be
automatically reloaded after file changes. Autoreload will not be
fully enabled until the game is reloaded with :func:`renpy.utter_restart`.
fully enabled until the game is reloaded with :func:`renpy.reload_script`.
"""
renpy.autoreload = autoreload
@@ -3785,7 +3798,7 @@ def set_autoreload(autoreload):
def get_autoreload():
"""
:doc: other
:doc: reload
Gets the autoreload flag.
"""
@@ -3890,6 +3903,12 @@ def set_return_stack(stack):
Statement names may be strings (for labels) or opaque tuples (for
non-label statements).
The most common use of this is to use::
renpy.set_return_stack([])
to clear the return stack.
"""
renpy.game.context().set_return_stack(stack)
+1 -5
View File
@@ -262,10 +262,6 @@ def invoke_in_new_context(callable, *args, **kwargs): # @ReservedAssignment
information to the player (like a confirmation prompt) from inside
an event handler.
A context maintains the state of the display (including what screens
and images are being shown) and the audio system. Both are restored
when the context returns.
Additional arguments and keyword arguments are passed to the
callable.
@@ -372,7 +368,7 @@ def call_replay(label, scope={}):
Calls a label as a memory.
Keyword arguments are used to set the initial values of variables in the
The `scope` argument is used to set the initial values of variables in the
memory context.
"""
+3 -2
View File
@@ -146,7 +146,8 @@ cdef class GL2Draw:
# Are we maximized?
old_surface = pygame.display.get_surface()
if old_surface is not None:
maximized = old_surface.get_flags() & pygame.WINDOW_MAXIMIZED
flags = old_surface.get_flags()
maximized = (flags & pygame.WINDOW_MAXIMIZED) and not (flags & (pygame.WINDOW_FULLSCREEN|pygame.WINDOW_FULLSCREEN_DESKTOP))
else:
maximized = renpy.game.preferences.maximized
@@ -451,7 +452,7 @@ cdef class GL2Draw:
fullscreen = bool(pygame.display.get_window().get_window_flags() & (pygame.WINDOW_FULLSCREEN_DESKTOP | pygame.WINDOW_FULLSCREEN))
# Are we maximized?
maximized = bool(pygame.display.get_window().get_window_flags() & pygame.WINDOW_MAXIMIZED)
maximized = bool(pygame.display.get_window().get_window_flags() & pygame.WINDOW_MAXIMIZED) and not fullscreen and renpy.config.gl_resize
# See if we've ever set the screen position, and if not, center the window.
if not fullscreen and not maximized:
+6 -9
View File
@@ -665,13 +665,6 @@ class Live2D(renpy.display.core.Displayable):
# Chose all motions.
rv = [ i for i in attributes if i in common.motions ]
# If there are no motions, choose the last one from the optional attributes.
if not rv:
sustain = True
rv = [ i for i in optional if i in common.motions ]
else:
sustain = False
# Choose the first expression.
for i in list(attributes) + list(optional):
if i in common.expressions:
@@ -687,6 +680,9 @@ class Live2D(renpy.display.core.Displayable):
if i in common.nonexclusive:
rv.append(i)
if set(attributes) - set(rv):
return None
rv = tuple(rv)
if common.attribute_filter:
@@ -694,8 +690,9 @@ class Live2D(renpy.display.core.Displayable):
if not isinstance(rv, tuple):
rv = tuple(rv)
if sustain:
rv = ("_sustain",) + rv
# If there are no motions, take the optional motions and sustain those.
if not any(i in common.motions for i in rv):
rv = ( "_sustain", ) + tuple(i for i in optional if i in common.motions) + rv
return rv
+1 -1
View File
@@ -683,7 +683,7 @@ def check_style(name, s):
for f in set(v.map.values()):
check_file(name, f, directory="fonts")
else:
check_file(name, v, directory="images")
check_file(name, v, directory="fonts")
if isinstance(v, renpy.display.core.Displayable):
check_style_property_displayable(name, k, v)
+29 -4
View File
@@ -987,19 +987,26 @@ class RenpyImporter(object):
if self.translate(fullname):
return self
def load_module(self, fullname):
def load_module(self, fullname, mode="full"):
"""
Loads a module. Possible modes include "is_package", "get_source", "get_code", or "full".
"""
filename = self.translate(fullname, self.prefix)
if mode == "is_package":
return filename.endswith("__init__.py")
pyname = pystr(fullname)
mod = sys.modules.setdefault(pyname, types.ModuleType(pyname))
mod.__name__ = pyname
mod.__file__ = filename
mod.__file__ = renpy.config.gamedir + "/" + filename
mod.__loader__ = self
mod.__package__ = pystr(fullname.rpartition(".")[0])
if filename.endswith("__init__.py"):
mod.__path__ = [ filename[:-len("__init__.py")] ]
if mod.__file__.endswith("__init__.py"):
mod.__path__ = [ mod.__file__[:-len("__init__.py")] ]
for encoding in [ "utf-8", "latin-1" ]:
@@ -1011,17 +1018,35 @@ class RenpyImporter(object):
source = source.encode("raw_unicode_escape")
source = source.replace(b"\r", b"")
if mode == "get_source":
return source
code = compile(source, filename, 'exec', renpy.python.old_compile_flags, 1)
break
except Exception:
if encoding == "latin-1":
raise
if mode == "get_code":
return code # type: ignore
exec(code, mod.__dict__) # type: ignore
return sys.modules[fullname]
def is_package(self, fullname):
return self.load_module(fullname, "is_package")
def get_source(self, fullname):
return self.load_module(fullname, "get_source")
def get_code(self, fullname):
return self.load_module(fullname, "get_code")
def get_data(self, filename):
if filename.startswith(renpy.config.gamedir + "/"):
filename = filename[len(renpy.config.gamedir) + 1:]
return load(filename).read()

Some files were not shown because too many files have changed in this diff Show More