Compare commits
192 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| cf38e9d2c3 | |||
| 24fb0e7f46 | |||
| e56fbd90f1 | |||
| 15ec88c900 | |||
| 7eeadcfde1 | |||
| 061a8c9194 | |||
| 584b13ff67 | |||
| d309f3fb93 | |||
| 5505c01d0a | |||
| b423982a28 | |||
| 86afb06388 | |||
| 0e74637c87 | |||
| 6ca4fc2ae1 | |||
| 6710dbbde8 | |||
| fb03b82f4c | |||
| 360277f0fe | |||
| 14a09d2cc6 | |||
| 822f1a4da6 | |||
| 607c1ac64d | |||
| eb0d4948d0 | |||
| bd3d5f9dde | |||
| 2c91ada1a6 | |||
| 46b0a05849 | |||
| 6a663830f8 | |||
| 9a23172671 | |||
| 1a62894650 | |||
| 22b3106504 | |||
| 9a1c783895 | |||
| d793750adb | |||
| 74b476f8c1 | |||
| 06d6d4b1ef | |||
| 8fe9b7ad89 | |||
| c6456618e4 | |||
| 9dc7aa1603 | |||
| 98fd979c82 | |||
| 9723a2b7f8 | |||
| 77b1ad7fb1 | |||
| b9bcff650b | |||
| fcc3d2a1b6 | |||
| 728f217eb7 | |||
| 917ac66cae | |||
| 30c2a2a269 | |||
| 79a1890539 | |||
| ebb9358d87 | |||
| 3f5df973bf | |||
| e17ef3d265 | |||
| fb4264f3ee | |||
| d72de4ab68 | |||
| a069545bcd | |||
| 79d3951fad | |||
| 97fc57d912 | |||
| 6ed04f3d5e | |||
| 8de1dccf43 | |||
| 8ec26b7b66 | |||
| 1f05d93ea6 | |||
| c3a2d4745d | |||
| 6ce1cda92b | |||
| 3070a40fce | |||
| 0176e42268 | |||
| afb9729ecf | |||
| d079dda223 | |||
| 87b2291f99 | |||
| 6e7d650f51 | |||
| c2c094fbf6 | |||
| 22cf8d3166 | |||
| bb0b7f807f | |||
| 08667dedf1 | |||
| cd5a9b2830 | |||
| 4579dbab15 | |||
| 10a9521a19 | |||
| bcc0d211e1 | |||
| a33f891d65 | |||
| 9b1f23fe4d | |||
| bb6ca17bc3 | |||
| 7e8ed2dcf7 | |||
| 3893bcbc7a | |||
| f33ab6b095 | |||
| b0b096bf16 | |||
| 7df26f34ed | |||
| 454ba1360d | |||
| 5116fdaa47 | |||
| 26d4b1af50 | |||
| 9d1b8c0e29 | |||
| e740a83764 | |||
| 25e2dba5b3 | |||
| b8c4565a38 | |||
| 36a2e32401 | |||
| b586355a8e | |||
| dd1c162271 | |||
| 7171b21fb4 | |||
| 30aba15be2 | |||
| 007aa19291 | |||
| 7e6560b766 | |||
| dd2b26807d | |||
| e6d5b8eef6 | |||
| 206431c210 | |||
| 61c9ebffa9 | |||
| f79c052ace | |||
| e29fdf8cbf | |||
| 544cf07739 | |||
| a88e2a3980 | |||
| 1251ce7e36 | |||
| 360dc4fdbb | |||
| 3396feff33 | |||
| 7cf287c4f4 | |||
| 732b98f7a2 | |||
| 838ce5a82b | |||
| c7083584df | |||
| b6f1be507b | |||
| 690f249481 | |||
| 13cd7d0ebc | |||
| dfc29bb646 | |||
| a14b4c3ddc | |||
| d94c3ef043 | |||
| 917292b443 | |||
| e02ce6579f | |||
| d8322a6db7 | |||
| 5201ff3e10 | |||
| 64ac9c1a99 | |||
| ff426586b8 | |||
| f3f703b426 | |||
| ac39001a61 | |||
| cfd1721d71 | |||
| 0cd32aa9a4 | |||
| e33cc4c43c | |||
| 9c9c36a723 | |||
| 3762c42604 | |||
| 389e882505 | |||
| 75832ccd22 | |||
| fe2d76bdd3 | |||
| 26af404433 | |||
| 8209e61d75 | |||
| 09ee1cb52f | |||
| b152e0b00a | |||
| 75d0f4dc64 | |||
| df982c1b4c | |||
| bb526f6ae3 | |||
| 110e6340e4 | |||
| 166e81b2e5 | |||
| a851c97c85 | |||
| 217d0e85f8 | |||
| 09a29a941c | |||
| 078ffb9e5a | |||
| f9233742a2 | |||
| a2adf917aa | |||
| 41d0b41518 | |||
| aded4dd05e | |||
| 412c56e76b | |||
| 15024f32a8 | |||
| cdee6e388c | |||
| 1a820b67a7 | |||
| 8c21f14bf7 | |||
| 1660375bde | |||
| c9ec07f566 | |||
| 19316303b7 | |||
| e46d664aed | |||
| ccaf664e3c | |||
| 572ebcc3a8 | |||
| 8f5c2526f0 | |||
| d93745e2e1 | |||
| 4f8f3155ef | |||
| deb4a2c9eb | |||
| 4d26440cbb | |||
| cf98746660 | |||
| 824828f5c8 | |||
| 59e427512c | |||
| 09c1a84169 | |||
| b254c23882 | |||
| da7655642f | |||
| 5c7efe99e6 | |||
| 17e743d346 | |||
| 2c898e4581 | |||
| 1638a89023 | |||
| 1436e3e4f1 | |||
| d037830d38 | |||
| d8cfb32514 | |||
| adddcd6a11 | |||
| 8c511bcd72 | |||
| 06acc1984a | |||
| 14c06dd2e4 | |||
| 516fceb2ab | |||
| 17b2be083a | |||
| 21caff9610 | |||
| 84db013177 | |||
| 479c688851 | |||
| 20593ac279 | |||
| 6639c4c162 | |||
| 9c5eb15024 | |||
| 9e7109af81 | |||
| 3162455e14 | |||
| bb568d4b5f | |||
| 24d991ae77 |
Vendored
+137
@@ -56,4 +56,141 @@
|
||||
"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"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
}
|
||||
|
||||
@@ -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()
|
||||
|
||||
+27
-43
@@ -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.")
|
||||
|
||||
@@ -344,6 +344,9 @@ define config.history_length = 250
|
||||
## at the cost of performance.
|
||||
define gui.history_height = gui.scale(140)
|
||||
|
||||
## Additional space to add between history screen entries.
|
||||
define gui.history_spacing = 0
|
||||
|
||||
## The position, width, and alignment of the label giving the name of the
|
||||
## speaking character.
|
||||
define gui.history_name_xpos = gui.scale(155)
|
||||
|
||||
@@ -412,7 +412,7 @@ style main_menu_version:
|
||||
## This screen is intended to be used with one or more children, which are
|
||||
## transcluded (placed) inside it.
|
||||
|
||||
screen game_menu(title, scroll=None, yinitial=0.0):
|
||||
screen game_menu(title, scroll=None, yinitial=0.0, spacing=0):
|
||||
|
||||
style_prefix "game_menu"
|
||||
|
||||
@@ -445,6 +445,8 @@ screen game_menu(title, scroll=None, yinitial=0.0):
|
||||
side_yfill True
|
||||
|
||||
vbox:
|
||||
spacing spacing
|
||||
|
||||
transclude
|
||||
|
||||
elif scroll == "vpgrid":
|
||||
@@ -460,6 +462,8 @@ screen game_menu(title, scroll=None, yinitial=0.0):
|
||||
|
||||
side_yfill True
|
||||
|
||||
spacing spacing
|
||||
|
||||
transclude
|
||||
|
||||
else:
|
||||
@@ -888,7 +892,7 @@ screen history():
|
||||
## Avoid predicting this screen, as it can be very large.
|
||||
predict False
|
||||
|
||||
use game_menu(_("History"), scroll=("vpgrid" if gui.history_height else "viewport"), yinitial=1.0):
|
||||
use game_menu(_("History"), scroll=("vpgrid" if gui.history_height else "viewport"), yinitial=1.0, spacing=gui.history_spacing):
|
||||
|
||||
style_prefix "history"
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -196,7 +196,6 @@ screen front_page_project:
|
||||
|
||||
textbutton _("Navigate Script") action Jump("navigation")
|
||||
textbutton _("Check Script (Lint)") action Jump("lint")
|
||||
textbutton _("Launch tests") action Jump("launch_tests")
|
||||
|
||||
if project.current.exists("game/gui.rpy"):
|
||||
textbutton _("Change/Update GUI") action Jump("change_gui")
|
||||
@@ -284,11 +283,3 @@ label force_recompile:
|
||||
project.current.launch([ 'compile' ], wait=True)
|
||||
|
||||
jump front_page
|
||||
|
||||
label launch_tests:
|
||||
|
||||
python hide:
|
||||
interface.processing(_("Launching tests..."))
|
||||
project.current.launch([ 'test' ], wait=True)
|
||||
|
||||
jump front_page
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -1,31 +1,9 @@
|
||||
init python:
|
||||
def finally_callback():
|
||||
print("finally "*100)
|
||||
whether = renpy.is_in_test()
|
||||
|
||||
define config.end_testcase_callbacks += [finally_callback]
|
||||
|
||||
testcase default:
|
||||
python hide:
|
||||
renpy.watch("renpy.is_in_test()")
|
||||
renpy.watch("waitch")
|
||||
renpy.watch("whether")
|
||||
waitch = 5
|
||||
"preferences"
|
||||
"theme"
|
||||
"dEfAuLt theme"
|
||||
"theme"
|
||||
"dark the"
|
||||
"return"
|
||||
# exit
|
||||
"quit"
|
||||
|
||||
|
||||
init python:
|
||||
TEST_PROJECTS = "/tmp/renpy-moé"
|
||||
TEST_PROJECTS = u"/tmp/renpy-moé"
|
||||
import shutil
|
||||
|
||||
testcase old_default:
|
||||
|
||||
testcase default:
|
||||
|
||||
call new_project
|
||||
call translate_project
|
||||
|
||||
@@ -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."
|
||||
|
||||
|
||||
@@ -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 Ren’Py 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 Ren’Py 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 Ren’Py encore en développement. Vous pouvez alors utiliser les toutes dernières fonctionnalités, mais le logiciel peut également ne pas s’exécuter du tout."
|
||||
new "La toute dernière version de Ren’Py, 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}"
|
||||
|
||||
@@ -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."
|
||||
|
||||
|
||||
@@ -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."
|
||||
|
||||
|
||||
@@ -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\"."
|
||||
|
||||
|
||||
@@ -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."
|
||||
|
||||
|
||||
@@ -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."
|
||||
|
||||
|
||||
@@ -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."
|
||||
|
||||
|
||||
@@ -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."
|
||||
|
||||
|
||||
@@ -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 のリリース版に対する修正を行ったナイトリービルドです。"
|
||||
|
||||
|
||||
@@ -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 릴리스 버전에 대한 수정 사항이 포함된 야간 빌드입니다."
|
||||
|
||||
|
||||
@@ -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 개발자 콘솔의 '수익 창출' > '수익 창출 설정' > '라이선스'에서 찾을 수 있습니다."
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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."
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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."
|
||||
|
||||
|
||||
@@ -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."
|
||||
|
||||
@@ -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."
|
||||
|
||||
|
||||
@@ -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."
|
||||
|
||||
|
||||
@@ -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."
|
||||
|
||||
|
||||
@@ -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 "同步错误"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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 "## 启用对屏幕或变换中无效或不稳定属性的检查"
|
||||
|
||||
|
||||
@@ -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 发布版进行修正的每夜构建。"
|
||||
|
||||
@@ -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 \"下找到。"
|
||||
|
||||
|
||||
@@ -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 \"中的一个。这个屏幕旨在与一个或多个孩子一起使用,这些孩子被反括(放置)在它里面。"
|
||||
|
||||
|
||||
|
||||
@@ -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)"
|
||||
|
||||
@@ -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."
|
||||
|
||||
|
||||
@@ -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 "Помилка синхронізації"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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} може містити інформацію, яка допоможе вам визначити, що не так з вашим пристроєм."
|
||||
|
||||
@@ -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 "## Увімкнути перевірку недійсних або нестабільних властивостей у екранах або перетвореннях"
|
||||
|
||||
|
||||
@@ -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."
|
||||
|
||||
|
||||
@@ -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 у розділі \"Монетизація\" > \"Налаштування монетизації\" > \"Ліцензування\"."
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -12,13 +12,13 @@ label start:
|
||||
|
||||
# Це показує фон. За замовчуванням використовується заповнювач, але ви можете
|
||||
# додати файл (з назвою "bg room.png" або "bg room.jpg") до
|
||||
# каталогу images, щоб показати його.
|
||||
# теки images, щоб показати його.
|
||||
|
||||
scene bg room
|
||||
|
||||
# Це показує спрайт персонажа. Використовується заповнювач, але ви можете
|
||||
# замінити його, додавши до зображень файл із назвою "eileen happy.png".
|
||||
# до каталогу.
|
||||
# до теки.
|
||||
|
||||
show eileen happy
|
||||
|
||||
|
||||
@@ -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."
|
||||
|
||||
@@ -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)")
|
||||
|
||||
+10
-20
@@ -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
|
||||
|
||||
+3
-3
@@ -665,7 +665,7 @@ class Node(object):
|
||||
be executed after this one.
|
||||
"""
|
||||
|
||||
raise NotImplementedError("Node subclass forgot to define execute.")
|
||||
raise Exception("Node subclass forgot to define execute.")
|
||||
|
||||
# def early_execute(self):
|
||||
# """
|
||||
@@ -719,7 +719,7 @@ class Node(object):
|
||||
text in the statement.
|
||||
"""
|
||||
|
||||
raise NotImplementedError
|
||||
raise Exception("Not Implemented")
|
||||
|
||||
def analyze(self):
|
||||
"""
|
||||
@@ -1497,7 +1497,7 @@ class Camera(Node):
|
||||
self.atl = atl
|
||||
|
||||
def diff_info(self):
|
||||
return (ShowLayer, self.layer)
|
||||
return (Camera, self.layer)
|
||||
|
||||
def execute(self):
|
||||
next_node(self.next)
|
||||
|
||||
+12
-8
@@ -301,12 +301,6 @@ class Context(object):
|
||||
|
||||
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
|
||||
@@ -398,6 +392,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):
|
||||
|
||||
@@ -596,6 +597,9 @@ class ATLTransformBase(renpy.object.Object):
|
||||
|
||||
def execute(self, trans, st, at):
|
||||
|
||||
if self.state.debug:
|
||||
print("A", st)
|
||||
|
||||
if self.done:
|
||||
return None
|
||||
|
||||
@@ -639,7 +643,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
|
||||
@@ -1362,7 +1366,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.
|
||||
|
||||
@@ -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):
|
||||
|
||||
+11
-13
@@ -668,7 +668,7 @@ class Channel(object):
|
||||
renpysound.dequeue(self.number, True)
|
||||
renpysound.stop(self.number)
|
||||
|
||||
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):
|
||||
|
||||
with lock:
|
||||
|
||||
@@ -676,22 +676,20 @@ class Channel(object):
|
||||
filename, _, _ = self.split_filename(filename, False)
|
||||
renpy.game.persistent._seen_audio[str(filename)] = True # type: ignore
|
||||
|
||||
if not loop_only:
|
||||
if tight is None:
|
||||
tight = self.tight
|
||||
|
||||
if tight is None:
|
||||
tight = self.tight
|
||||
self.keep_queue += 1
|
||||
|
||||
self.keep_queue += 1
|
||||
for filename in filenames:
|
||||
qe = QueueEntry(filename, fadein, tight, False, relative_volume)
|
||||
self.queue.append(qe)
|
||||
|
||||
for filename in filenames:
|
||||
qe = QueueEntry(filename, fadein, tight, False, relative_volume)
|
||||
self.queue.append(qe)
|
||||
# Only fade the first thing in.
|
||||
fadein = 0
|
||||
|
||||
# Only fade the first thing in.
|
||||
fadein = 0
|
||||
|
||||
self.wait_stop = synchro_start
|
||||
self.synchro_start = synchro_start
|
||||
self.wait_stop = synchro_start
|
||||
self.synchro_start = synchro_start
|
||||
|
||||
if loop:
|
||||
self.loop = list(filenames)
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -111,17 +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
|
||||
|
||||
if renpy.config.skip_sounds and renpy.config.skipping and (not loop):
|
||||
enqueue = False
|
||||
@@ -129,7 +128,7 @@ def play(filenames, channel="music", loop=None, fadeout=None, synchro_start=Fals
|
||||
enqueue = True
|
||||
|
||||
if enqueue:
|
||||
c.enqueue(filenames, loop=loop, synchro_start=synchro_start, fadein=fadein, tight=tight, loop_only=loop_only, relative_volume=relative_volume)
|
||||
c.enqueue(filenames, loop=loop, synchro_start=synchro_start, fadein=fadein, tight=tight, relative_volume=relative_volume)
|
||||
|
||||
t = get_serial()
|
||||
ctx.last_changed = t
|
||||
|
||||
@@ -308,10 +308,6 @@ You may be using a system install of python. Please run {0}.sh,
|
||||
|
||||
finally:
|
||||
|
||||
if renpy.test.testexecution.node is not None:
|
||||
for clbk in renpy.config.end_testcase_callbacks:
|
||||
clbk()
|
||||
|
||||
if "RENPY_SHUTDOWN_TRACE" in os.environ:
|
||||
enable_trace(int(os.environ["RENPY_SHUTDOWN_TRACE"]))
|
||||
|
||||
|
||||
+67
-30
@@ -95,6 +95,11 @@ class DialogueTextTags(object):
|
||||
elif tag == "nw":
|
||||
self.no_wait = True
|
||||
|
||||
if value is not None and not less_pauses:
|
||||
self.pause_start.append(len(self.text))
|
||||
self.pause_end.append(len(self.text))
|
||||
self.pause_delay.append(value)
|
||||
|
||||
elif tag == "fast":
|
||||
self.pause_start = [ len(self.text) ]
|
||||
self.pause_end = [ ]
|
||||
@@ -240,6 +245,7 @@ def show_display_say(who, what, who_args={}, what_args={}, window_args={},
|
||||
layer=None,
|
||||
properties={},
|
||||
multiple=None,
|
||||
retain=None,
|
||||
**kwargs):
|
||||
"""
|
||||
This is called (by default) by renpy.display_say to add the
|
||||
@@ -270,6 +276,11 @@ def show_display_say(who, what, who_args={}, what_args={}, window_args={},
|
||||
|
||||
@param kwargs: Additional keyword arguments should be ignored.
|
||||
|
||||
`retain`
|
||||
If not None, the screen should be retained (not transient),
|
||||
and the screen should be given the value of this argument as
|
||||
its tag.
|
||||
|
||||
This function is required to return the ui.text() widget
|
||||
displaying the what text.
|
||||
"""
|
||||
@@ -305,7 +316,10 @@ def show_display_say(who, what, who_args={}, what_args={}, window_args={},
|
||||
|
||||
tag = screen
|
||||
|
||||
if multiple:
|
||||
if retain:
|
||||
tag = retain
|
||||
|
||||
elif multiple:
|
||||
|
||||
if renpy.display.screen.has_screen("multiple_" + screen):
|
||||
screen = "multiple_" + screen
|
||||
@@ -325,7 +339,7 @@ def show_display_say(who, what, who_args={}, what_args={}, window_args={},
|
||||
renpy.display.screen.show_screen(
|
||||
screen,
|
||||
_widget_properties=props,
|
||||
_transient=True,
|
||||
_transient=not retain,
|
||||
_tag=tag,
|
||||
who=who,
|
||||
what=what,
|
||||
@@ -439,7 +453,8 @@ def display_say(
|
||||
ctc_force=False,
|
||||
advance=True,
|
||||
multiple=None,
|
||||
dtt=None):
|
||||
dtt=None,
|
||||
retain=False):
|
||||
|
||||
global afm_text_queue
|
||||
|
||||
@@ -538,6 +553,19 @@ def display_say(
|
||||
|
||||
exception = None
|
||||
|
||||
|
||||
retain_tag = "_retain_0"
|
||||
retain_count = -1
|
||||
|
||||
if retain:
|
||||
|
||||
while True:
|
||||
retain_count += 1
|
||||
retain_tag = "_retain_{}".format(retain_count)
|
||||
|
||||
if not renpy.exports.get_screen(retain_tag):
|
||||
break
|
||||
|
||||
if dtt.fast:
|
||||
for i in renpy.config.say_sustain_callbacks:
|
||||
i()
|
||||
@@ -609,9 +637,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:
|
||||
@@ -626,10 +657,16 @@ def display_say(
|
||||
extend_text = "{done}" + extend_text
|
||||
|
||||
# Show the text.
|
||||
|
||||
show_args = { }
|
||||
|
||||
if multiple:
|
||||
what_text = show_function(who, what_string, multiple=multiple)
|
||||
else:
|
||||
what_text = show_function(who, what_string)
|
||||
show_args["multiple"] = multiple
|
||||
|
||||
if retain:
|
||||
show_args["retain"] = retain_tag
|
||||
|
||||
what_text = show_function(who, what_string, **show_args)
|
||||
|
||||
if isinstance(what_text, tuple):
|
||||
what_text = renpy.display.screen.get_widget(what_text[0], what_text[1], what_text[2])
|
||||
@@ -856,6 +893,7 @@ class ADVCharacter(object):
|
||||
callback=d('callback'),
|
||||
type=d('type'),
|
||||
advance=d('advance'),
|
||||
retain=d('retain'),
|
||||
)
|
||||
|
||||
self._statement_name = properties.pop("statement_name", None)
|
||||
@@ -956,34 +994,27 @@ class ADVCharacter(object):
|
||||
return screen, show_args, who_args, what_args, window_args, properties
|
||||
|
||||
|
||||
def do_show(self, who, what, multiple=None, extra_properties=None):
|
||||
def do_show(self, who, what, multiple=None, extra_properties=None, retain=None):
|
||||
|
||||
screen, show_args, who_args, what_args, window_args, properties = self.get_show_properties(extra_properties)
|
||||
|
||||
show_args = dict(show_args)
|
||||
|
||||
if multiple is not None:
|
||||
show_args["multiple"] = multiple
|
||||
|
||||
return self.show_function(
|
||||
who,
|
||||
what,
|
||||
who_args=who_args,
|
||||
what_args=what_args,
|
||||
window_args=window_args,
|
||||
screen=screen,
|
||||
properties=properties,
|
||||
multiple=multiple,
|
||||
**show_args)
|
||||
if retain:
|
||||
show_args["retain"] = retain
|
||||
|
||||
else:
|
||||
|
||||
return self.show_function(
|
||||
who,
|
||||
what,
|
||||
who_args=who_args,
|
||||
what_args=what_args,
|
||||
window_args=window_args,
|
||||
screen=screen,
|
||||
properties=properties,
|
||||
**show_args)
|
||||
return self.show_function(
|
||||
who,
|
||||
what,
|
||||
who_args=who_args,
|
||||
what_args=what_args,
|
||||
window_args=window_args,
|
||||
screen=screen,
|
||||
properties=properties,
|
||||
**show_args)
|
||||
|
||||
|
||||
# This is called after the last interaction is done.
|
||||
@@ -1628,6 +1659,12 @@ def Character(name=NotSet, kind=None, **properties):
|
||||
`screen`
|
||||
The name of the screen that is used to display the dialogue.
|
||||
|
||||
`retain`
|
||||
If not true, an unused tag is generated for each line of dialogue,
|
||||
and the screens are shown non-transiently. Call :func:`renpy.clear_retain`
|
||||
to remove all retaint screens. This is almost always used with
|
||||
:doc:`bubble`.
|
||||
|
||||
Keyword arguments beginning with ``show_`` have the prefix
|
||||
stripped off, and are passed to the screen as arguments. For
|
||||
example, the value of ``show_myflag`` will become the value of
|
||||
|
||||
@@ -30,6 +30,8 @@ init -1500 python:
|
||||
"load" : "(not _in_replay)",
|
||||
}
|
||||
|
||||
__NoShowTransition = renpy.object.Sentinel("NoShowTransition")
|
||||
|
||||
@renpy.pure
|
||||
class ShowMenu(Action, DictEquality):
|
||||
"""
|
||||
@@ -62,11 +64,11 @@ init -1500 python:
|
||||
|
||||
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)
|
||||
|
||||
@@ -476,7 +476,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
|
||||
|
||||
@@ -293,6 +293,9 @@ init -1100 python:
|
||||
store.layeredimage._constant = True
|
||||
store.updater._constant = True
|
||||
|
||||
if _compat_versions(version, (7, 6, 99), (8, 1, 99)):
|
||||
config.simple_box_reverse = True
|
||||
|
||||
# The version of Ren'Py this script is intended for, or
|
||||
# None if it's intended for the current version.
|
||||
config.script_version = None
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
init offset = -100
|
||||
init offset = -100
|
||||
|
||||
python early in layeredimage:
|
||||
|
||||
|
||||
@@ -349,7 +349,7 @@ init -1500 python:
|
||||
while config.nvl_list_length and (len(nvl_list) + 1 > config.nvl_list_length):
|
||||
nvl_list.pop(0)
|
||||
|
||||
def do_display(self, who, what, multiple=None, **display_args):
|
||||
def do_display(self, who, what, multiple=None, retain=None, **display_args):
|
||||
|
||||
renpy.translation.check_language()
|
||||
|
||||
|
||||
+134
-134
@@ -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()
|
||||
|
||||
|
||||
@@ -75,6 +75,9 @@ init -1150 python in bubble:
|
||||
frame = None
|
||||
thoughtframe = None
|
||||
|
||||
# The layer that retained screens are placed on.
|
||||
retain_layer = "screens"
|
||||
|
||||
class ToggleShown(Action):
|
||||
def __call__(self):
|
||||
if not active and not shown.value:
|
||||
@@ -178,8 +181,16 @@ init -1150 python in bubble:
|
||||
|
||||
return (x, y, w, h)
|
||||
|
||||
def do_add(self, who, what, multiple=False):
|
||||
|
||||
def do_show(self, who, what, multiple=None, extra_properties=None):
|
||||
tlid = renpy.get_translation_identifier()
|
||||
|
||||
if tlid is not None:
|
||||
|
||||
if db[tlid].get("clear_retain", False):
|
||||
renpy.clear_retain(layer=retain_layer)
|
||||
|
||||
def do_show(self, who, what, multiple=None, retain=None, extra_properties=None):
|
||||
|
||||
if extra_properties is None:
|
||||
extra_properties = { }
|
||||
@@ -188,7 +199,7 @@ init -1150 python in bubble:
|
||||
|
||||
image_tag = self.image_tag
|
||||
|
||||
if image_tag not in tag_properties:
|
||||
if retain or (image_tag not in tag_properties):
|
||||
tag_properties[image_tag] = self.bubble_default_properties(image_tag)
|
||||
|
||||
tlid = renpy.get_translation_identifier()
|
||||
@@ -204,7 +215,7 @@ init -1150 python in bubble:
|
||||
extra_properties.update(properties.get(properties_key, { }))
|
||||
extra_properties[area_property] = self.expand_area(tag_properties[image_tag]["area"], properties_key)
|
||||
|
||||
return super(BubbleCharacter, self).do_show(who, what, multiple=multiple, extra_properties=extra_properties)
|
||||
return super(BubbleCharacter, self).do_show(who, what, multiple=multiple, retain=retain, extra_properties=extra_properties)
|
||||
|
||||
class CycleBubbleProperty(Action):
|
||||
"""
|
||||
@@ -238,6 +249,26 @@ init -1150 python in bubble:
|
||||
del db[self.tlid]["properties"]
|
||||
renpy.rollback(checkpoints=0, force=True, greedy=True)
|
||||
|
||||
|
||||
class ToggleClearRetain(Action):
|
||||
"""
|
||||
This is an action that causes the clear_retain property to be toggled.
|
||||
"""
|
||||
|
||||
def __init__(self, tlid):
|
||||
self.tlid = tlid
|
||||
|
||||
def get_selected(self):
|
||||
return db[self.tlid].get("clear_retain", False)
|
||||
|
||||
def __call__(self):
|
||||
db[self.tlid]["clear_retain"] = not db[self.tlid].get("clear_retain", False)
|
||||
renpy.rollback(checkpoints=0, force=True, greedy=True)
|
||||
|
||||
def alternate(self):
|
||||
self()
|
||||
|
||||
|
||||
class SetWindowArea(Action):
|
||||
"""
|
||||
An action that displays the area picker to select the window area.
|
||||
@@ -356,6 +387,18 @@ screen _bubble_editor():
|
||||
|
||||
null height gui._scale(5)
|
||||
|
||||
if bubble.current_dialogue and renpy.get_screen("_retain_0", layer=bubble.retain_layer):
|
||||
textbutton _("(clear retained bubbles)"):
|
||||
style "_default"
|
||||
text_color "#ddd8"
|
||||
text_selected_idle_color "#ddd"
|
||||
text_hover_color "#fff"
|
||||
text_size gui._scale(16)
|
||||
|
||||
action bubble.ToggleClearRetain(bubble.current_dialogue[0][1])
|
||||
|
||||
null height gui._scale(5)
|
||||
|
||||
for image_tag, properties in bubble.GetCurrentDialogue():
|
||||
|
||||
hbox:
|
||||
@@ -364,7 +407,7 @@ screen _bubble_editor():
|
||||
text "[image_tag!q]":
|
||||
style "_default"
|
||||
color "#fff"
|
||||
size gui._scale(15)
|
||||
size gui._scale(16)
|
||||
|
||||
for prop, action in properties:
|
||||
textbutton "[prop!q]":
|
||||
@@ -374,7 +417,9 @@ screen _bubble_editor():
|
||||
text_color "#ddd8"
|
||||
text_selected_idle_color "#ddd"
|
||||
text_hover_color "#fff"
|
||||
text_size gui._scale(15)
|
||||
text_size gui._scale(16)
|
||||
|
||||
|
||||
|
||||
|
||||
screen _bubble_window_area_editor(action):
|
||||
|
||||
@@ -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]
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
+11
-10
@@ -142,11 +142,11 @@ from future.builtins import chr
|
||||
def add_attribute(obj, name, value):
|
||||
pass
|
||||
|
||||
try:
|
||||
if PY2:
|
||||
if PY2:
|
||||
try:
|
||||
from renpy.compat.dictviews import add_attribute
|
||||
except ImportError:
|
||||
print("Could not import renpy.compat.dictviews.", file=sys.stderr)
|
||||
except ImportError:
|
||||
print("Could not import renpy.compat.dictviews.", file=sys.stderr)
|
||||
|
||||
|
||||
################################################################################
|
||||
@@ -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
|
||||
|
||||
|
||||
################################################################################
|
||||
|
||||
+7
-3
@@ -1377,9 +1377,6 @@ early_developer = False
|
||||
# A function that returns the autosave prefix.
|
||||
autosave_prefix_callback = None
|
||||
|
||||
# Functions called when a test ends - one way or another
|
||||
end_testcase_callbacks = [ ]
|
||||
|
||||
# Compatibility for c492f2f8e6de57b2740fa5d00566f445124caaba.
|
||||
at_transform_compare_full_context = False
|
||||
|
||||
@@ -1395,6 +1392,13 @@ 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 = [ ]
|
||||
|
||||
# Should we revert to the old behavior of box_reverse?
|
||||
simple_box_reverse = False
|
||||
|
||||
|
||||
del os
|
||||
del collections
|
||||
|
||||
|
||||
@@ -391,6 +391,7 @@ adv = ADVCharacter(None,
|
||||
callback=None,
|
||||
type='say',
|
||||
advance=True,
|
||||
retain=False,
|
||||
|
||||
who_style='say_label',
|
||||
what_style='say_dialogue',
|
||||
|
||||
@@ -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:
|
||||
@@ -2037,6 +2041,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 +2204,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 +2865,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:
|
||||
|
||||
+101
-12
@@ -190,11 +190,87 @@ 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
|
||||
|
||||
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__',
|
||||
'__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):
|
||||
@@ -859,6 +935,9 @@ class SceneLists(renpy.object.Object):
|
||||
if i not in self.camera_list:
|
||||
self.camera_list[i] = (None, [ ])
|
||||
|
||||
self.layer_at_list.setdefault(None, (None, [ ]))
|
||||
self.camera_list.setdefault(None, (None, [ ]))
|
||||
|
||||
def after_upgrade(self, version):
|
||||
|
||||
if version < 1:
|
||||
@@ -974,6 +1053,9 @@ class SceneLists(renpy.object.Object):
|
||||
self.music = None
|
||||
self.focused = None
|
||||
|
||||
self.layer_at_list[None] = (None, [ ])
|
||||
self.camera_list[None] = (None, [ ])
|
||||
|
||||
def replace_transient(self, prefix="hide"): # type: (str|None) -> None
|
||||
"""
|
||||
Replaces the contents of the transient display list with
|
||||
@@ -2437,6 +2519,10 @@ class Interface(object):
|
||||
|
||||
pygame.event.set_blocked(i)
|
||||
|
||||
# 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 +2546,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,
|
||||
@@ -3841,7 +3927,7 @@ class Interface(object):
|
||||
new_widget=new_d)
|
||||
|
||||
if not isinstance(trans, Displayable):
|
||||
raise Exception("Expected transition to be a displayable, not a %r" % trans)
|
||||
raise Exception("Expected transition to return a displayable, not a {!r}".format(trans))
|
||||
|
||||
if isinstance(trans, renpy.display.transform.Transform) and isinstance(old_trans, renpy.display.transform.Transform):
|
||||
trans.take_state(old_trans)
|
||||
@@ -3890,10 +3976,10 @@ class Interface(object):
|
||||
old_root.layers[layer] = d
|
||||
old_root.add(d)
|
||||
|
||||
trans = instantiate_transition(None, old_root, layers_root)
|
||||
trans = instantiate_transition(None, old_root, renpy.defaultstore.At(layers_root, *scene_lists.layer_at_list[None][1], *scene_lists.camera_list[None][1]))
|
||||
|
||||
if not isinstance(trans, Displayable):
|
||||
raise Exception("Expected transition to be a displayable, not a %r" % trans)
|
||||
raise Exception("Expected transition to return a displayable, not a {!r}".format(trans))
|
||||
|
||||
transition_time = self.transition_time.get(None, None)
|
||||
root_widget.add(trans, transition_time, transition_time)
|
||||
@@ -3916,7 +4002,7 @@ class Interface(object):
|
||||
focus_roots.append(pb)
|
||||
|
||||
else:
|
||||
root_widget.add(layers_root)
|
||||
root_widget.add(renpy.defaultstore.At(layers_root, *scene_lists.layer_at_list[None][1], *scene_lists.camera_list[None][1]))
|
||||
|
||||
# Add top_layers to the root_widget.
|
||||
for layer in renpy.config.top_layers:
|
||||
@@ -3925,13 +4011,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)
|
||||
|
||||
+13
-2
@@ -962,7 +962,7 @@ class MultiBox(Container):
|
||||
|
||||
# The children to layout.
|
||||
children = list(self.children)
|
||||
if self.style.box_reverse:
|
||||
if self.style.box_reverse and renpy.config.simple_box_reverse:
|
||||
children.reverse()
|
||||
spacings.reverse()
|
||||
|
||||
@@ -1134,9 +1134,20 @@ class MultiBox(Container):
|
||||
if not yfill:
|
||||
height = max(yminimum, maxy)
|
||||
|
||||
if self.style.box_reverse and not renpy.config.simple_box_reverse:
|
||||
new_placements = [ ]
|
||||
|
||||
for child, x, y, w, h, surf in placements:
|
||||
if layout == "vertical":
|
||||
new_placements.append((child, x, height - y - h, w, h, surf))
|
||||
else:
|
||||
new_placements.append((child, width - x - w, y, w, h, surf))
|
||||
|
||||
placements = new_placements
|
||||
|
||||
rv = renpy.display.render.Render(width, height)
|
||||
|
||||
if self.style.box_reverse ^ self.style.order_reverse:
|
||||
if self.style.order_reverse ^ (self.style.box_reverse and renpy.config.simple_box_reverse):
|
||||
placements.reverse()
|
||||
|
||||
for child, x, y, w, h, surf in placements:
|
||||
|
||||
@@ -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 :ref:`with statement <with-statement>`.
|
||||
It will not work in other contexts such as :ref:`ATL <expression-statement>`,
|
||||
:func:`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,13 @@ 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 renpy.config.developer:
|
||||
for widget in (old_widget, new_widget):
|
||||
if not (hasattr(widget, 'scene_list') or hasattr(widget, 'layers')):
|
||||
raise Exception("MoveTransition can only be applied to one or all layers, not %s." % type(widget).__name__)
|
||||
|
||||
use_old = old
|
||||
|
||||
def merge_slide(old, new, merge_slide):
|
||||
|
||||
@@ -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'
|
||||
]
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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))
|
||||
|
||||
|
||||
+31
-9
@@ -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
|
||||
|
||||
@@ -289,14 +289,10 @@ movie_channel_serial = 0
|
||||
class Movie(renpy.display.core.Displayable):
|
||||
"""
|
||||
:doc: movie
|
||||
:args: (*, size=None, channel="movie", play=None, side_mask=False, mask=None, mask_channel=None, start_image=None, image=None, play_callback=None, loop=True, group=None, **properties)
|
||||
|
||||
This is a displayable that shows the current movie.
|
||||
|
||||
`fps`
|
||||
The framerate that the movie should be shown at. (This is currently
|
||||
ignored, but the parameter is kept for backwards compatibility.
|
||||
The framerate is auto-detected.)
|
||||
|
||||
`size`
|
||||
This should be specified as either a tuple giving the width and
|
||||
height of the movie, or None to automatically adjust to the size
|
||||
@@ -386,6 +382,11 @@ class Movie(renpy.display.core.Displayable):
|
||||
the previous frame, the last frame from that movie will be used for
|
||||
this movie. This can prevent flashes of transparency when switching
|
||||
between two movies.
|
||||
|
||||
`keep_last_frame`
|
||||
If true, and the movie has ended, the last frame will be displayed,
|
||||
rather than the movie being hidden. This only works if `loop` is
|
||||
false. (This behavior will also occur if `group` is set.)
|
||||
"""
|
||||
|
||||
fullscreen = False
|
||||
@@ -413,6 +414,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,7 +453,13 @@ 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 __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):
|
||||
def ensure_channels(self):
|
||||
self.ensure_channel(self.channel)
|
||||
self.ensure_channel(self.mask_channel)
|
||||
|
||||
keep_last_frame_serial = 0
|
||||
|
||||
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, keep_last_frame=False, **properties):
|
||||
|
||||
global movie_channel_serial
|
||||
|
||||
@@ -483,14 +493,17 @@ 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)
|
||||
|
||||
self.play_callback = play_callback
|
||||
|
||||
if group is None and keep_last_frame:
|
||||
group = "_keep_last_frame_" + str(Movie.keep_last_frame_serial)
|
||||
Movie.keep_last_frame_serial += 1
|
||||
|
||||
self.group = group
|
||||
|
||||
if (self.channel == "movie") and (renpy.config.hw_video) and renpy.mobile:
|
||||
@@ -505,6 +518,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 +587,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 +610,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 +621,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)
|
||||
|
||||
|
||||
@@ -327,10 +327,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
@@ -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):
|
||||
|
||||
+26
-29
@@ -1919,7 +1919,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.
|
||||
@@ -2821,7 +2821,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 +2843,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()
|
||||
|
||||
@@ -3773,11 +3782,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 +3794,7 @@ def set_autoreload(autoreload):
|
||||
|
||||
def get_autoreload():
|
||||
"""
|
||||
:doc: other
|
||||
:doc: reload
|
||||
|
||||
Gets the autoreload flag.
|
||||
"""
|
||||
@@ -4302,17 +4311,6 @@ def add_to_all_stores(name, value):
|
||||
ns[name] = value
|
||||
|
||||
|
||||
def is_in_test():
|
||||
"""
|
||||
:doc: other
|
||||
|
||||
Returns True if Ren'py is currently executing a testcase.
|
||||
This always returns False at init time.
|
||||
"""
|
||||
|
||||
return (renpy.test.testexecution.node is not None)
|
||||
|
||||
|
||||
def get_zorder_list(layer):
|
||||
"""
|
||||
:doc: image_func
|
||||
@@ -4447,19 +4445,6 @@ def set_focus(screen, id, layer="screens"): # @ReservedAssignment
|
||||
restart_interaction()
|
||||
|
||||
|
||||
def has_default_focus():
|
||||
"""
|
||||
:doc: other
|
||||
|
||||
Returns true if the game can be advanced by clicking or pressing the
|
||||
spacebar.
|
||||
|
||||
For example, it is True in a dialogue or a pause, and False in places
|
||||
like the Game Menu.
|
||||
"""
|
||||
return any(f.x is None for f in renpy.display.focus.focus_list)
|
||||
|
||||
|
||||
def check_permission(permission):
|
||||
"""
|
||||
:doc: android_permission
|
||||
@@ -4504,3 +4489,15 @@ def request_permission(permission):
|
||||
return False
|
||||
|
||||
return get_sdl_dll().SDL_AndroidRequestPermission(permission.encode("utf-8")) # type: ignore
|
||||
|
||||
|
||||
def clear_retain(layer="screens", prefix="_retain"):
|
||||
"""
|
||||
:doc: other
|
||||
|
||||
Clears all retained screens
|
||||
"""
|
||||
|
||||
for i in get_showing_tags(layer):
|
||||
if i.startswith(prefix):
|
||||
hide_screen(i)
|
||||
|
||||
@@ -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
@@ -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
@@ -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)
|
||||
|
||||
@@ -1142,12 +1142,37 @@ def auto_thread_function():
|
||||
if auto_mtime(fn) != auto_mtimes[fn]:
|
||||
needs_autoreload.add(fn)
|
||||
|
||||
def check_git_index_lock():
|
||||
"""
|
||||
Checks to see if the git index lock is present.
|
||||
"""
|
||||
|
||||
to_check = set(os.path.dirname(i) for i in needs_autoreload)
|
||||
added = set(to_check)
|
||||
|
||||
while to_check:
|
||||
dn = to_check.pop()
|
||||
|
||||
if os.path.exists(os.path.join(dn, ".git", "index.lock")):
|
||||
return True
|
||||
|
||||
parent = os.path.dirname(dn)
|
||||
if parent not in added:
|
||||
added.add(parent)
|
||||
to_check.add(os.path.dirname(dn))
|
||||
|
||||
return False
|
||||
|
||||
|
||||
def check_autoreload():
|
||||
"""
|
||||
Checks to see if autoreload is required.
|
||||
"""
|
||||
|
||||
# Defer loading while the git index lock is present.
|
||||
if needs_autoreload and check_git_index_lock():
|
||||
return
|
||||
|
||||
while needs_autoreload:
|
||||
fn = next(iter(needs_autoreload))
|
||||
mtime = auto_mtime(fn)
|
||||
|
||||
+16
-2
@@ -842,6 +842,9 @@ def show_layer_statement(l, loc):
|
||||
|
||||
layer = l.require(l.name)
|
||||
|
||||
if layer == "None":
|
||||
layer = None
|
||||
|
||||
if l.keyword("at"):
|
||||
at_list = parse_simple_expression_list(l)
|
||||
else:
|
||||
@@ -866,6 +869,9 @@ def camera_statement(l, loc):
|
||||
|
||||
layer = l.name() or 'master'
|
||||
|
||||
if layer == "None":
|
||||
layer = None
|
||||
|
||||
if l.keyword("at"):
|
||||
at_list = parse_simple_expression_list(l)
|
||||
else:
|
||||
@@ -1164,7 +1170,15 @@ def init_statement(l, loc):
|
||||
try:
|
||||
l.init = True
|
||||
|
||||
block = [ parse_statement(l) ]
|
||||
checkpoint = l.checkpoint()
|
||||
|
||||
stmt = parse_statement(l)
|
||||
|
||||
if not isinstance(stmt, ast.Node):
|
||||
l.revert(checkpoint)
|
||||
l.error("init expects a block or statement")
|
||||
|
||||
block = [ stmt ]
|
||||
|
||||
finally:
|
||||
l.init = old_init
|
||||
@@ -1761,7 +1775,7 @@ def report_parse_errors():
|
||||
renpy.display.error.report_parse_errors(full_text, error_fn)
|
||||
|
||||
try:
|
||||
if renpy.game.args.command == "run": # type: ignore
|
||||
if renpy.game.args.command == "run" or renpy.game.args.errors_in_editor: # type: ignore
|
||||
renpy.exports.launch_editor([ error_fn ], 1, transient=True)
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
@@ -80,10 +80,10 @@ Preference("fullscreen", False)
|
||||
Preference("skip_unseen", False)
|
||||
Preference("text_cps", 0, (int, float))
|
||||
Preference("afm_time", 0, (int, float))
|
||||
Preference("afm_enable", True)
|
||||
Preference("afm_enable", False)
|
||||
Preference("using_afm_enable", False)
|
||||
Preference("voice_sustain", False)
|
||||
Preference("mouse_move", False)
|
||||
Preference("mouse_move", True)
|
||||
Preference("show_empty_window", True)
|
||||
|
||||
# Should we wait for the voice to stop?
|
||||
|
||||
+51
-27
@@ -321,6 +321,10 @@ class Rollback(renpy.object.Object):
|
||||
|
||||
# Add in objects reachable through the context.
|
||||
reached(self.context.info, reachable, wait)
|
||||
reached(self.context.music, reachable, wait)
|
||||
reached(self.context.movie, reachable, wait)
|
||||
reached(self.context.modes, reachable, wait)
|
||||
|
||||
for d in self.context.dynamic_stack:
|
||||
for v in d.values():
|
||||
reached(v, reachable, wait)
|
||||
@@ -371,7 +375,16 @@ class Rollback(renpy.object.Object):
|
||||
for obj, roll in reversed(self.objects):
|
||||
|
||||
if roll is not None:
|
||||
obj._rollback(roll)
|
||||
try:
|
||||
obj._rollback(roll)
|
||||
except AttributeError:
|
||||
if not hasattr(obj, "_rollback"):
|
||||
if isinstance(obj, tuple(renpy.config.ex_rollback_classes)):
|
||||
continue
|
||||
elif not renpy.config.developer:
|
||||
continue
|
||||
else:
|
||||
raise Exception("Load or rollback failed because class {} does not inherit from store.object, but did in the past. If this was an intentional change, add the class to config.ex_rollback_classes.".format(type(obj).__name__))
|
||||
|
||||
for name, changes in self.stores.items():
|
||||
store = store_dicts.get(name, None)
|
||||
@@ -918,41 +931,52 @@ class RollbackLog(renpy.object.Object):
|
||||
|
||||
# Decide if we're replacing the current context (rollback command),
|
||||
# or creating a new set of contexts (loading).
|
||||
if renpy.game.context().rollback:
|
||||
replace_context = False
|
||||
other_contexts = [ ]
|
||||
|
||||
else:
|
||||
replace_context = True
|
||||
other_contexts = renpy.game.contexts[1:]
|
||||
renpy.game.contexts = renpy.game.contexts[0:1]
|
||||
old_contexts = list(renpy.game.contexts)
|
||||
|
||||
if on_load and revlog[-1].retain_after_load:
|
||||
retained = revlog.pop()
|
||||
self.retain_after_load_flag = True
|
||||
else:
|
||||
retained = None
|
||||
try:
|
||||
|
||||
come_from = None
|
||||
if renpy.game.context().rollback:
|
||||
replace_context = False
|
||||
other_contexts = [ ]
|
||||
else:
|
||||
replace_context = True
|
||||
other_contexts = renpy.game.contexts[1:]
|
||||
renpy.game.contexts = renpy.game.contexts[0:1]
|
||||
|
||||
if current_label is not None:
|
||||
come_from = renpy.game.context().current
|
||||
label = current_label
|
||||
if on_load and revlog[-1].retain_after_load:
|
||||
retained = revlog.pop()
|
||||
self.retain_after_load_flag = True
|
||||
else:
|
||||
retained = None
|
||||
|
||||
# Actually roll things back.
|
||||
for rb in revlog:
|
||||
rb.rollback()
|
||||
come_from = None
|
||||
|
||||
if (rb.context.current == self.fixed_rollback_boundary) and (rb.context.current):
|
||||
self.rollback_is_fixed = True
|
||||
if current_label is not None:
|
||||
come_from = renpy.game.context().current
|
||||
label = current_label
|
||||
|
||||
if rb.forward is not None:
|
||||
self.forward.insert(0, (rb.context.current, rb.forward))
|
||||
# Actually roll things back.
|
||||
for rb in revlog:
|
||||
rb.rollback()
|
||||
|
||||
if retained is not None:
|
||||
retained.rollback_control()
|
||||
self.log.append(retained)
|
||||
if (rb.context.current == self.fixed_rollback_boundary) and (rb.context.current):
|
||||
self.rollback_is_fixed = True
|
||||
|
||||
if rb.forward is not None:
|
||||
self.forward.insert(0, (rb.context.current, rb.forward))
|
||||
|
||||
if retained is not None:
|
||||
retained.rollback_control()
|
||||
self.log.append(retained)
|
||||
|
||||
except Exception:
|
||||
|
||||
# If there was an exception, restore the context list.
|
||||
renpy.game.contexts = old_contexts
|
||||
raise
|
||||
|
||||
# Preserve come_from.
|
||||
if (label is not None) and (come_from is None):
|
||||
come_from = renpy.game.context().current
|
||||
|
||||
|
||||
@@ -221,6 +221,9 @@ def upgrade_savefile(fn):
|
||||
if signing_keys is None:
|
||||
return
|
||||
|
||||
atime = os.path.getatime(fn)
|
||||
mtime = os.path.getmtime(fn)
|
||||
|
||||
with zipfile.ZipFile(fn, "a") as zf:
|
||||
|
||||
if "signatures" in zf.namelist():
|
||||
@@ -229,6 +232,8 @@ def upgrade_savefile(fn):
|
||||
log = zf.read("log")
|
||||
zf.writestr("signatures", sign_data(log))
|
||||
|
||||
os.utime(fn, (atime, mtime))
|
||||
|
||||
def upgrade_all_savefiles():
|
||||
|
||||
if token_dir is None:
|
||||
|
||||
+24
-6
@@ -342,6 +342,29 @@ class SLNode(object):
|
||||
profile_log.write("%s", " {}{}{} ({}:{})".format(const_type, prefix, formatted, self.location[0], self.location[1]))
|
||||
|
||||
|
||||
def analyze_keywords(node, analysis, conditional=GLOBAL_CONST):
|
||||
"""
|
||||
Analyzes the keywords that can be applied to this statement,
|
||||
including those provided by if statements.
|
||||
"""
|
||||
|
||||
rv = GLOBAL_CONST
|
||||
|
||||
for _, expr in node.keyword:
|
||||
rv = min(rv, analysis.is_constant_expr(expr), conditional)
|
||||
|
||||
for n in node.children:
|
||||
if isinstance(n, SLIf):
|
||||
|
||||
for cond, block in n.entries:
|
||||
if cond is not None:
|
||||
conditional = min(conditional, analysis.is_constant_expr(cond))
|
||||
|
||||
rv = min(rv, analyze_keywords(block, analysis, conditional))
|
||||
|
||||
return rv
|
||||
|
||||
|
||||
# A sentinel used to indicate a keyword argument was not given.
|
||||
NotGiven = renpy.object.Sentinel("NotGiven")
|
||||
|
||||
@@ -739,12 +762,7 @@ class SLDisplayable(SLBlock):
|
||||
def analyze(self, analysis):
|
||||
|
||||
if self.imagemap:
|
||||
|
||||
const = GLOBAL_CONST
|
||||
|
||||
for _k, expr in self.keyword:
|
||||
const = min(const, analysis.is_constant_expr(expr))
|
||||
|
||||
const = analyze_keywords(self, analysis)
|
||||
analysis.push_control(imagemap=(const != GLOBAL_CONST))
|
||||
|
||||
if self.hotspot:
|
||||
|
||||
+77
-193
@@ -42,9 +42,6 @@ class TestSettings(renpy.object.Object):
|
||||
# How long should we wait for a transition before we proceed?
|
||||
self.transition_timeout = 5.0
|
||||
|
||||
# How many times should we try to find a good spot to place the mouse?
|
||||
self.focus_trials = 100
|
||||
|
||||
_test = TestSettings()
|
||||
|
||||
|
||||
@@ -52,7 +49,7 @@ class Node(object):
|
||||
"""
|
||||
An AST node for a test script.
|
||||
"""
|
||||
__slots__ = ("filename", "linenumber")
|
||||
|
||||
def __init__(self, loc):
|
||||
self.filename, self.linenumber = loc
|
||||
|
||||
@@ -63,7 +60,6 @@ class Node(object):
|
||||
This is expected to return a state, or None to advance to the next
|
||||
node.
|
||||
"""
|
||||
return True
|
||||
|
||||
def execute(self, state, t):
|
||||
"""
|
||||
@@ -75,12 +71,14 @@ class Node(object):
|
||||
`t`
|
||||
The time since start was called.
|
||||
"""
|
||||
|
||||
return state
|
||||
|
||||
def ready(self):
|
||||
"""
|
||||
Returns True if this node is ready to execute, or False otherwise.
|
||||
"""
|
||||
|
||||
return True
|
||||
|
||||
def report(self):
|
||||
@@ -88,26 +86,21 @@ class Node(object):
|
||||
Reports the location of this statement. This should only be called
|
||||
in the execute method of leaf nodes of the test tree.
|
||||
"""
|
||||
|
||||
renpy.test.testexecution.node_loc = (self.filename, self.linenumber)
|
||||
|
||||
|
||||
class Clause(Node):
|
||||
__slots__ = ()
|
||||
class Pattern(Node):
|
||||
|
||||
def __repr__(self):
|
||||
return "<{} test clause>".format(type(self).__name__.lower())
|
||||
|
||||
|
||||
class PatternException(ValueError):pass
|
||||
|
||||
class Pattern(Clause):
|
||||
__slots__ = ("pattern", "position", "always")
|
||||
position = None
|
||||
always = False
|
||||
|
||||
def __init__(self, loc, pattern=None):
|
||||
super(Pattern, self).__init__(loc)
|
||||
Node.__init__(self, loc)
|
||||
self.pattern = pattern
|
||||
self.position = None
|
||||
self.always = False
|
||||
|
||||
def start(self):
|
||||
return True
|
||||
|
||||
def execute(self, state, t):
|
||||
|
||||
@@ -128,10 +121,11 @@ class Pattern(Clause):
|
||||
else:
|
||||
x, y = renpy.test.testfocus.find_position(f, position)
|
||||
|
||||
if None in (x, y):
|
||||
if x is None:
|
||||
if self.pattern:
|
||||
raise PatternException("The given {!r} pattern was not resolved to a target".format(self.pattern))
|
||||
x, y = renpy.exports.get_mouse_pos()
|
||||
return state
|
||||
else:
|
||||
x, y = renpy.exports.get_mouse_pos()
|
||||
|
||||
return self.perform(x, y, state, t)
|
||||
|
||||
@@ -142,12 +136,16 @@ class Pattern(Clause):
|
||||
|
||||
f = renpy.test.testfocus.find_focus(self.pattern)
|
||||
|
||||
return (f is not None)
|
||||
if f is not None:
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
||||
def perform(self, x, y, state, t):
|
||||
return None
|
||||
|
||||
class Click(Pattern):
|
||||
|
||||
# The number of the button to click.
|
||||
button = 1
|
||||
|
||||
@@ -157,18 +155,21 @@ class Click(Pattern):
|
||||
|
||||
|
||||
class Move(Pattern):
|
||||
__slots__ = ()
|
||||
|
||||
def perform(self, x, y, state, t):
|
||||
move_mouse(x, y)
|
||||
return None
|
||||
|
||||
|
||||
class Scroll(Clause):
|
||||
__slots__ = "pattern"
|
||||
class Scroll(Node):
|
||||
|
||||
def __init__(self, loc, pattern=None):
|
||||
super(Scroll, self).__init__(loc)
|
||||
Node.__init__(self, loc)
|
||||
self.pattern = pattern
|
||||
|
||||
def start(self):
|
||||
return True
|
||||
|
||||
def execute(self, state, t):
|
||||
|
||||
self.report()
|
||||
@@ -205,16 +206,19 @@ class Scroll(Clause):
|
||||
return False
|
||||
|
||||
|
||||
class Drag(Clause):
|
||||
__slots__ = ("points", "pattern", "button", "steps")
|
||||
class Drag(Node):
|
||||
|
||||
def __init__(self, loc, points):
|
||||
super(Drag, self).__init__(loc)
|
||||
Node.__init__(self, loc)
|
||||
self.points = points
|
||||
|
||||
self.pattern = None
|
||||
self.button = 1
|
||||
self.steps = 10
|
||||
|
||||
def start(self):
|
||||
return True
|
||||
|
||||
def execute(self, state, t):
|
||||
|
||||
self.report()
|
||||
@@ -237,7 +241,7 @@ class Drag(Clause):
|
||||
points = [ renpy.test.testfocus.find_position(f, i) for i in points ]
|
||||
|
||||
if len(points) < 2:
|
||||
raise ValueError("A drag requires at least two points.")
|
||||
raise Exception("A drag requires at least two points.")
|
||||
|
||||
interpoints = [ ]
|
||||
|
||||
@@ -290,8 +294,8 @@ class Drag(Clause):
|
||||
|
||||
|
||||
class Type(Pattern):
|
||||
__slots__ = "keys"
|
||||
# interval = .01 # unused
|
||||
|
||||
interval = .01
|
||||
|
||||
def __init__(self, loc, keys):
|
||||
Pattern.__init__(self, loc)
|
||||
@@ -314,13 +318,10 @@ class Type(Pattern):
|
||||
return state + 1
|
||||
|
||||
|
||||
class Action(Clause):
|
||||
"""
|
||||
This is for the `run` keyword
|
||||
"""
|
||||
__slots__ = "expr"
|
||||
class Action(Node):
|
||||
|
||||
def __init__(self, loc, expr):
|
||||
super(Action, self).__init__(loc)
|
||||
Node.__init__(self, loc)
|
||||
self.expr = expr
|
||||
|
||||
def start(self):
|
||||
@@ -344,10 +345,10 @@ class Action(Clause):
|
||||
return renpy.display.behavior.is_sensitive(action)
|
||||
|
||||
|
||||
class Pause(Clause):
|
||||
__slots__ = "expr"
|
||||
class Pause(Node):
|
||||
|
||||
def __init__(self, loc, expr):
|
||||
super(Pause, self).__init__(loc)
|
||||
Node.__init__(self, loc)
|
||||
self.expr = expr
|
||||
|
||||
def start(self):
|
||||
@@ -363,149 +364,34 @@ class Pause(Clause):
|
||||
return None
|
||||
|
||||
|
||||
class Label(Clause):
|
||||
__slots__ = "name"
|
||||
class Label(Node):
|
||||
|
||||
def __init__(self, loc, name):
|
||||
super(Label, self).__init__(loc)
|
||||
Node.__init__(self, loc)
|
||||
self.name = name
|
||||
|
||||
def start(self):
|
||||
return True
|
||||
|
||||
def execute(self, state, t):
|
||||
return None
|
||||
if self.name in renpy.test.testexecution.labels:
|
||||
return None
|
||||
else:
|
||||
return state
|
||||
|
||||
def ready(self):
|
||||
return self.name in renpy.test.testexecution.labels
|
||||
|
||||
|
||||
class Eval(Clause):
|
||||
__slots__ = ("expr", "evaluated")
|
||||
def __init__(self, loc, expr):
|
||||
super(Eval, self).__init__(loc)
|
||||
self.expr = expr
|
||||
self.evaluated = False
|
||||
|
||||
def execute(self, state, t):
|
||||
if not self.evaluated: # check if this is necessary
|
||||
self.ready()
|
||||
return None
|
||||
|
||||
def ready(self):
|
||||
rv = bool(renpy.python.py_eval(self.expr))
|
||||
self.evaluated = True
|
||||
return rv
|
||||
|
||||
class Pass(Clause):
|
||||
__slots__ = ()
|
||||
def execute(self, state, t):
|
||||
return None
|
||||
|
||||
|
||||
################################################################################
|
||||
# Boolean proxy clauses
|
||||
|
||||
class Not(Clause):
|
||||
__slots__ = "clause"
|
||||
def __init__(self, loc, clause):
|
||||
super(Not, self).__init__(loc)
|
||||
self.clause = clause
|
||||
|
||||
def start(self):
|
||||
return self.clause.start()
|
||||
|
||||
def execute(self, state, t):
|
||||
# return self.clause.execute(state, t)
|
||||
return None
|
||||
|
||||
def ready(self):
|
||||
return not self.clause.ready()
|
||||
|
||||
class Binary(Clause):
|
||||
__slots__ = ("left", "right",
|
||||
"left_ready", "right_ready",
|
||||
"left_state", "right_state")
|
||||
|
||||
def __init__(self, loc, left, right):
|
||||
super(Binary, self).__init__(loc)
|
||||
self.left = left
|
||||
self.right = right
|
||||
self.left_ready = self.right_ready = None
|
||||
|
||||
def start(self):
|
||||
self.left_state = self.left.start()
|
||||
self.right_state = self.right.start()
|
||||
return self.state()
|
||||
|
||||
class And(Binary):
|
||||
__slots__ = ()
|
||||
|
||||
def state(self):
|
||||
if (self.left_state is None) and (self.right_state is None):
|
||||
return None
|
||||
return True
|
||||
|
||||
def execute(self, state, t):
|
||||
"""
|
||||
Executes both if both are ready, otherwise the left one.
|
||||
"""
|
||||
self.ready()
|
||||
|
||||
if self.left_state is not None:
|
||||
self.left_state = self.left.execute(self.left_state, t)
|
||||
|
||||
if self.left_ready and self.right_ready and (self.right_state is not None):
|
||||
self.right_state = self.right.execute(self.right_state, t)
|
||||
|
||||
return self.state()
|
||||
|
||||
def ready(self):
|
||||
"""
|
||||
Memorizes the computed values.
|
||||
Effectively returns self.left.ready() and self.right.ready().
|
||||
"""
|
||||
self.left_ready = self.left.ready()
|
||||
self.right_ready = self.right.ready()
|
||||
return self.left_ready and self.right_ready
|
||||
|
||||
class Or(Binary):
|
||||
__slots__ = ()
|
||||
|
||||
def state(self):
|
||||
if (self.left_state is None) or (self.right_state is None):
|
||||
return None
|
||||
return True
|
||||
|
||||
def execute(self, state, t):
|
||||
"""
|
||||
Executes the ready one(s), if any, otherwise the right one.
|
||||
"""
|
||||
self.ready()
|
||||
|
||||
if self.left_ready and (self.left_state is not None):
|
||||
self.left_state = self.left.execute(self.left_state, t)
|
||||
|
||||
if (self.right_ready or not self.left_ready) and (self.right_state is not None):
|
||||
self.right_state = self.right.execute(self.right_state, t)
|
||||
|
||||
return self.state()
|
||||
|
||||
def ready(self):
|
||||
"""
|
||||
Memorizes the computed values.
|
||||
Effectively returns self.left.ready() or self.right.ready().
|
||||
"""
|
||||
self.left_ready = self.left.ready()
|
||||
self.right_ready = self.right.ready()
|
||||
return self.left_ready or self.right_ready
|
||||
|
||||
|
||||
################################################################################
|
||||
# Non-clause statements.
|
||||
|
||||
class Until(Node):
|
||||
"""
|
||||
Executes `left` repeatedly until `right` is ready (and unless it already is),
|
||||
then executes `right` once before quitting.
|
||||
Executes `left` repeatedly until `right` is ready, then executes `right`
|
||||
once before quitting.
|
||||
"""
|
||||
__slots__ = ("left", "right")
|
||||
|
||||
def __init__(self, loc, left, right):
|
||||
Node.__init__(self, loc)
|
||||
self.left = left
|
||||
@@ -517,7 +403,7 @@ class Until(Node):
|
||||
def execute(self, state, t):
|
||||
child, child_state, start = state
|
||||
|
||||
if self.right.ready() and (child is not self.right):
|
||||
if self.right.ready() and not (child is self.right):
|
||||
child = self.right
|
||||
child_state = None
|
||||
|
||||
@@ -545,7 +431,7 @@ class If(Node):
|
||||
If `condition` is ready, runs the block. Otherwise, goes to the next
|
||||
statement.
|
||||
"""
|
||||
__slots__ = ("condition", "block")
|
||||
|
||||
def __init__(self, loc, condition, block):
|
||||
Node.__init__(self, loc)
|
||||
|
||||
@@ -573,11 +459,10 @@ class If(Node):
|
||||
|
||||
|
||||
class Python(Node):
|
||||
__slots__ = ("code", "hide")
|
||||
def __init__(self, loc, code, hide=False):
|
||||
|
||||
def __init__(self, loc, code):
|
||||
Node.__init__(self, loc)
|
||||
self.code = code
|
||||
self.hide = hide
|
||||
|
||||
def start(self):
|
||||
renpy.test.testexecution.action = self
|
||||
@@ -593,31 +478,35 @@ class Python(Node):
|
||||
return None
|
||||
|
||||
def __call__(self):
|
||||
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide)
|
||||
renpy.python.py_exec_bytecode(self.code.bytecode)
|
||||
|
||||
|
||||
class AssertError(AssertionError):pass
|
||||
|
||||
class Assert(Node):
|
||||
__slots__ = "clause"
|
||||
def __init__(self, loc, clause):
|
||||
|
||||
def __init__(self, loc, expr):
|
||||
Node.__init__(self, loc)
|
||||
self.clause = clause
|
||||
self.expr = expr
|
||||
|
||||
def start(self):
|
||||
renpy.test.testexecution.action = self
|
||||
return True
|
||||
|
||||
def execute(self, state, t):
|
||||
|
||||
self.report()
|
||||
|
||||
if not self.clause.ready():
|
||||
raise AssertError("On line {}:{}, assertion of {} failed.".format(self.filename,
|
||||
self.linenumber,
|
||||
self.clause))
|
||||
if renpy.test.testexecution.action:
|
||||
return True
|
||||
else:
|
||||
return None
|
||||
|
||||
return None
|
||||
def __call__(self):
|
||||
if not renpy.python.py_eval(self.expr):
|
||||
raise Exception("On line {}:{}, assertion {} failed.".format(self.filename, self.linenumber, self.expr))
|
||||
|
||||
|
||||
class Jump(Node):
|
||||
__slots__ = "target"
|
||||
|
||||
def __init__(self, loc, target):
|
||||
Node.__init__(self, loc)
|
||||
|
||||
@@ -629,7 +518,7 @@ class Jump(Node):
|
||||
|
||||
|
||||
class Call(Node):
|
||||
__slots__ = "target"
|
||||
|
||||
def __init__(self, loc, target):
|
||||
Node.__init__(self, loc)
|
||||
|
||||
@@ -655,7 +544,7 @@ class Call(Node):
|
||||
# Control structures.
|
||||
|
||||
class Block(Node):
|
||||
__slots__ = "block"
|
||||
|
||||
def __init__(self, loc, block):
|
||||
Node.__init__(self, loc)
|
||||
self.block = block
|
||||
@@ -680,8 +569,3 @@ class Block(Node):
|
||||
i += 1
|
||||
|
||||
return i, start, s
|
||||
|
||||
class Exit(Node):
|
||||
__slots__ = ()
|
||||
def execute(self, state, t):
|
||||
raise renpy.game.QuitException
|
||||
|
||||
@@ -86,7 +86,7 @@ def lookup(name, from_node):
|
||||
if name in testcases:
|
||||
return testcases[name]
|
||||
|
||||
raise KeyError("Testcase {} not found at {}:{}.".format(name, from_node.filename, from_node.linenumber))
|
||||
raise Exception("Testcase {} not found at {}:{}.".format(name, from_node.filename, from_node.linenumber))
|
||||
|
||||
|
||||
def execute_node(now, node, state, start):
|
||||
@@ -162,8 +162,6 @@ def execute():
|
||||
|
||||
if node is None:
|
||||
renpy.test.testmouse.reset()
|
||||
for clbk in renpy.config.end_testcase_callbacks:
|
||||
clbk()
|
||||
return
|
||||
|
||||
loc = renpy.exports.get_filename_line()
|
||||
@@ -198,4 +196,4 @@ def test_command():
|
||||
return True
|
||||
|
||||
|
||||
renpy.arguments.register_command("test", test_command, uses_display=True)
|
||||
renpy.arguments.register_command("test", test_command)
|
||||
|
||||
+25
-21
@@ -35,19 +35,13 @@ def find_focus(pattern):
|
||||
If `pattern` is None, returns a random coordinate that will trigger the
|
||||
default focus.
|
||||
|
||||
If `pattern` could not be found, returns None.
|
||||
If `pattern` could not be found, returns None, None.
|
||||
"""
|
||||
|
||||
if pattern is not None:
|
||||
pattern = pattern.casefold()
|
||||
|
||||
def match(f):
|
||||
|
||||
if pattern is None:
|
||||
if f.x is None:
|
||||
# one focus, at most, ever branches here
|
||||
# the main "click to continue" one
|
||||
# it's the only one, if any, to be retained in the matching list
|
||||
return "default"
|
||||
else:
|
||||
return None
|
||||
@@ -57,34 +51,38 @@ def find_focus(pattern):
|
||||
else:
|
||||
t = f.widget._tts_all()
|
||||
|
||||
if pattern in t.casefold():
|
||||
if pattern.lower() in t.lower():
|
||||
return t
|
||||
else:
|
||||
return None
|
||||
|
||||
# {focus : (len(alt), alt)}
|
||||
matching = {}
|
||||
# A list of alt_text, focus pairs.
|
||||
matching = [ ]
|
||||
|
||||
for f in renpy.display.focus.focus_list:
|
||||
|
||||
alt = match(f)
|
||||
|
||||
if alt is not None:
|
||||
matching[f] = (len(alt), alt)
|
||||
matching.append((alt, f))
|
||||
|
||||
if not matching:
|
||||
return None
|
||||
|
||||
# This gets the matching displayable with the shortest alt text, which
|
||||
# is likely what we want.
|
||||
return min(matching, key=matching.get, default=None) # type: ignore
|
||||
matching.sort(key=lambda a : (len(a[0]), a[0]))
|
||||
return matching[0][1]
|
||||
|
||||
|
||||
def relative_position(x, posx, width):
|
||||
if posx is not None:
|
||||
if type(posx) is float:
|
||||
x = posx * (width - 1)
|
||||
if isinstance(posx, float):
|
||||
x = int(posx * (width - 1))
|
||||
else:
|
||||
x = posx
|
||||
|
||||
return x
|
||||
return int(x)
|
||||
|
||||
|
||||
def find_position(f, position):
|
||||
@@ -107,8 +105,8 @@ def find_position(f, position):
|
||||
|
||||
if f is None:
|
||||
return (
|
||||
int(relative_position(x, posx, renpy.config.screen_width)),
|
||||
int(relative_position(y, posy, renpy.config.screen_height)),
|
||||
relative_position(x, posx, renpy.config.screen_width),
|
||||
relative_position(y, posy, renpy.config.screen_height),
|
||||
)
|
||||
|
||||
orig_f = f
|
||||
@@ -121,10 +119,13 @@ def find_position(f, position):
|
||||
f.w = renpy.config.screen_width
|
||||
f.h = renpy.config.screen_height
|
||||
|
||||
x = int(relative_position(x-f.x, posx, f.w) + f.x)
|
||||
y = int(relative_position(y-f.y, posy, f.h) + f.y)
|
||||
x = relative_position(x, posx, f.w) + f.x
|
||||
y = relative_position(y, posy, f.h) + f.y
|
||||
|
||||
for _i in range(renpy.test.testast._test.focus_trials):
|
||||
for _i in range(100):
|
||||
|
||||
x = int(x)
|
||||
y = int(y)
|
||||
|
||||
nf = renpy.display.render.focus_at_point(x, y)
|
||||
|
||||
@@ -138,4 +139,7 @@ def find_position(f, position):
|
||||
x = random.randrange(f.x, f.x + f.w)
|
||||
y = random.randrange(f.y, f.y + f.h)
|
||||
|
||||
raise Exception("Could not locate the displayable.")
|
||||
else:
|
||||
print()
|
||||
|
||||
raise Exception("Could not locate the displayable.")
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user