Compare commits
53 Commits
blit
..
7.4.11.2260
| Author | SHA1 | Date | |
|---|---|---|---|
| 50828cb688 | |||
| c1f5401101 | |||
| a508a6c5fa | |||
| a2fc6e4a97 | |||
| 348accd819 | |||
| a5d44c5f6d | |||
| b9acd8bf0b | |||
| a8baa0fc2a | |||
| cc59f46f97 | |||
| 162f22d6f5 | |||
| 9e28b55ea9 | |||
| a38803ec71 | |||
| 6eca382a5a | |||
| 002d7aadf2 | |||
| b6550ada06 | |||
| 7f9b9d32cf | |||
| 2a7d629d04 | |||
| 00a9d2ec80 | |||
| d76978f1b2 | |||
| 357e53a1ab | |||
| 64acbf5adf | |||
| da38eed1ae | |||
| e9a1a02135 | |||
| b2d7232d31 | |||
| 3fbf27a6fa | |||
| 759ef31065 | |||
| c18b987e17 | |||
| ddd0d1b30d | |||
| 91c730cb2d | |||
| 99496696bd | |||
| 859d34994e | |||
| bb0c2028bf | |||
| 56aa271554 | |||
| cda38a4aca | |||
| 509e0ed2f2 | |||
| 116ccc9c3c | |||
| 0ff3b243c5 | |||
| 92ca5e9add | |||
| 9651cc2ed8 | |||
| 2065f82f89 | |||
| 15b23d8ea0 | |||
| e8e206dbba | |||
| 39350f4778 | |||
| 72f3798741 | |||
| 98e06eaba9 | |||
| 34dbd3f5f8 | |||
| 8011545b88 | |||
| ba0ffeb7d0 | |||
| f32c448d02 | |||
| 3c0c1ffb84 | |||
| 5d167a881d | |||
| 1d3b6ffdf0 | |||
| 5c63d9cee8 |
+13
@@ -0,0 +1,13 @@
|
||||
[run]
|
||||
plugins = renpycoverage
|
||||
|
||||
[report]
|
||||
omit =
|
||||
keywords.py
|
||||
style.pxd
|
||||
*pygame_sdl2*
|
||||
*.rpyc
|
||||
*/game/*
|
||||
*style_*_functions.pyx
|
||||
renpy/gl/gl.pyx
|
||||
renpy/gl/gl1.pyx
|
||||
+86
-102
@@ -10,120 +10,104 @@ ehthumbs.db
|
||||
ehthumbs_vista.db
|
||||
[Dd]esktop.ini
|
||||
|
||||
# Python related files.
|
||||
*.pyc
|
||||
*.pyo
|
||||
*.pyi
|
||||
*.egg-info
|
||||
|
||||
# Editor/tool files.
|
||||
*~
|
||||
*.bak
|
||||
.gdb_history
|
||||
|
||||
# Compiled Ren'Py files.
|
||||
*.rpyc
|
||||
*.rpyb
|
||||
*.rpymc
|
||||
*.pyc
|
||||
*.pyo
|
||||
|
||||
*~
|
||||
*.bak
|
||||
|
||||
saves
|
||||
tmp
|
||||
cache
|
||||
env
|
||||
|
||||
# Ren'Py log files.
|
||||
log.txt
|
||||
errors.txt
|
||||
traceback.txt
|
||||
lint.txt
|
||||
|
||||
# Created directories.
|
||||
saves/
|
||||
tmp/
|
||||
cache/
|
||||
styles.txt
|
||||
|
||||
# Executables.
|
||||
/renpy.exe
|
||||
/renpy2.exe
|
||||
/renpy3.exe
|
||||
/renpy-32.exe
|
||||
|
||||
/renpy.sh
|
||||
/renpy2.sh
|
||||
/renpy3.sh
|
||||
|
||||
/renpy.app
|
||||
/renpy2.app
|
||||
/renpy3.app
|
||||
|
||||
/7z.sfx
|
||||
|
||||
# Libraries.
|
||||
/lib
|
||||
|
||||
# Platforms.
|
||||
/rapt
|
||||
/rapt2
|
||||
/rapt3
|
||||
|
||||
/renios
|
||||
/renios2
|
||||
/renios3
|
||||
|
||||
/web
|
||||
/web2
|
||||
/web3
|
||||
|
||||
# Docs.
|
||||
/sphinx/source/inc
|
||||
/sphinx/source/thequestion.rst
|
||||
/doc
|
||||
/doc-web
|
||||
/LICENSE.txt
|
||||
|
||||
# Gui template.
|
||||
/gui/game/gui
|
||||
|
||||
# Editors.
|
||||
/android
|
||||
/build
|
||||
/dist
|
||||
/dists
|
||||
/renpy.app
|
||||
/jedit
|
||||
/atom
|
||||
/vscode
|
||||
|
||||
# Generated source.
|
||||
/renpy/vc_version.py
|
||||
/module/gen/
|
||||
/module/gen3/
|
||||
/module/gen-static/
|
||||
/module/gen3-static/
|
||||
/tutorial/game/tutorial_director.rpy
|
||||
|
||||
# Module build.
|
||||
/module/build
|
||||
/module/dist
|
||||
/module/emscripten-static
|
||||
|
||||
# Download target.
|
||||
/dl
|
||||
|
||||
# Pygame_sdl2.
|
||||
/pygame_sdl2
|
||||
|
||||
# Steam.
|
||||
steam_appid.txt
|
||||
/steamapi.py
|
||||
|
||||
# Android.
|
||||
*.keystore
|
||||
|
||||
# Type analysis.
|
||||
/typings
|
||||
|
||||
# Live2D
|
||||
cubism
|
||||
CubismSdkForNative-4-*.zip
|
||||
|
||||
# Created files.
|
||||
/lint.txt
|
||||
/renpy.code
|
||||
/*testing*
|
||||
/screenshot*
|
||||
.android.json
|
||||
/renpy.exe
|
||||
/renpy-32.exe
|
||||
/renpy.sh
|
||||
/lib
|
||||
/lib.old
|
||||
/lib2
|
||||
/lib3
|
||||
/doc
|
||||
/.pydevproject
|
||||
/.pydevproject.bak
|
||||
/.project
|
||||
/.cproject
|
||||
/.settings
|
||||
/LICENSE.txt
|
||||
/templates/english/README.html
|
||||
/the_question/README.html
|
||||
/tutorial/README.html
|
||||
/renpy/angle/*.pyx
|
||||
/renpy/angle/*.pxd
|
||||
/renpy-ppc.zip
|
||||
/module/build
|
||||
/module/gen*
|
||||
/editra
|
||||
/atom
|
||||
/launcher/game/theme
|
||||
/launcher/game/script_version.rpy
|
||||
|
||||
# Old files.
|
||||
/0old
|
||||
/dl
|
||||
renpy/vc_version.py
|
||||
.externalToolBuilders
|
||||
/rapt
|
||||
/evil
|
||||
/iaptest
|
||||
/pygame_sdl2
|
||||
/renios
|
||||
/steam_appid.txt
|
||||
/.coverage
|
||||
/id
|
||||
/ai
|
||||
/interface_7
|
||||
/htmlcov
|
||||
/the_question*/.android.json
|
||||
/WINDOWS.rst
|
||||
/old
|
||||
|
||||
# Works in progress, throwaway scripts, etc.
|
||||
/scratch
|
||||
/*-dists
|
||||
/*-all/
|
||||
/*-win/
|
||||
/*-mac/
|
||||
/*-linux*/
|
||||
/*-dists/
|
||||
doc-web
|
||||
|
||||
sphinx/source/inc
|
||||
sphinx/source/thequestion.rst
|
||||
tutorial/game/tutorial_director.rpy
|
||||
launcher/theme
|
||||
module/emscripten-static/
|
||||
web/
|
||||
|
||||
cubism
|
||||
glexperiment
|
||||
live2d
|
||||
rapt2
|
||||
rapt3
|
||||
renios2
|
||||
renios3
|
||||
notarized
|
||||
|
||||
CubismSdkForNative-4-*.zip
|
||||
|
||||
Vendored
-59
@@ -1,59 +0,0 @@
|
||||
{
|
||||
"files.watcherExclude": {
|
||||
"**/renpy/0old/**" : true,
|
||||
"**/renpy/atom/**" : true,
|
||||
"**/renpy/cubism/**" : true,
|
||||
"**/renpy/dists/**" : true,
|
||||
"**/renpy/dl/**" : true,
|
||||
"**/renpy/doc/**" : true,
|
||||
"**/renpy/doc-web/**" : true,
|
||||
"**/renpy/jedit/**" : true,
|
||||
"**/renpy/renpy*.app/**" : true,
|
||||
"**/renpy/tmp/**" : true,
|
||||
"**/renpy/web/**" : true,
|
||||
},
|
||||
"files.exclude": {
|
||||
"0old": true,
|
||||
"**-dists": true,
|
||||
"**/*.pyc": true,
|
||||
"**/*.pyo": true,
|
||||
"renpy/**/*.pyi": true,
|
||||
"**/*.rpmc": true,
|
||||
"**/*.rpyc": true,
|
||||
"**/__pycache__": true,
|
||||
"**/screenshot-*": true,
|
||||
"7z.sfx": true,
|
||||
"atom": true,
|
||||
"cubism": true,
|
||||
"dl": true,
|
||||
"doc": true,
|
||||
"doc-web": true,
|
||||
"jedit": true,
|
||||
"lib*": true,
|
||||
"live2d": true,
|
||||
"rapt*": true,
|
||||
"renios*": true,
|
||||
"renpy*.app": true,
|
||||
"renpy*.exe": true,
|
||||
"tmp": true,
|
||||
"web": true,
|
||||
"**/*.rpa": true,
|
||||
"**/*.rpymc": true,
|
||||
"**/cache/": true
|
||||
},
|
||||
|
||||
"python.languageServer": "Pylance",
|
||||
"python.analysis.typeCheckingMode": "basic",
|
||||
"python.analysis.diagnosticMode": "workspace",
|
||||
"python.linting.pylintEnabled": false,
|
||||
"python.analysis.diagnosticSeverityOverrides": {
|
||||
"reportMissingModuleSource": "none"
|
||||
},
|
||||
"esbonio.server.enabled": true,
|
||||
"esbonio.sphinx.confDir": "",
|
||||
"renpy.excludeCompiledFilesFromWorkspace": true,
|
||||
"renpy.watchFoldersForChanges": false,
|
||||
"renpy.warnOnInvalidVariableNames": "Disabled",
|
||||
"renpy.warnOnInvalidFilenameIssues": "Disabled",
|
||||
"renpy.warnOnIndentationAndSpacingIssues": "Disabled",
|
||||
}
|
||||
+10
-15
@@ -49,34 +49,29 @@ Building the modules requires you have the many dependencies installed on
|
||||
your system. On Ubuntu and Debian, these dependencies can be installed with
|
||||
the command::
|
||||
|
||||
sudo apt install virtualenvwrapper python3-dev libavcodec-dev libavformat-dev \
|
||||
libswresample-dev libswscale-dev libfreetype6-dev libfribidi-dev libsdl2-dev \
|
||||
libsdl2-image-dev libsdl2-gfx-dev libsdl2-mixer-dev libsdl2-ttf-dev libjpeg-dev
|
||||
|
||||
Ren'Py requires SDL_image 2.6 or greater. If your distribution doesn't include
|
||||
that version, you'll need to download it from:
|
||||
|
||||
https://github.com/libsdl-org/SDL_image/tree/SDL2
|
||||
apt-get install virtualenvwrapper python-dev libavcodec-dev libavformat-dev \
|
||||
libavresample-dev libswresample-dev libswscale-dev libfreetype6-dev libglew1.6-dev \
|
||||
libfribidi-dev libsdl2-dev libsdl2-image-dev libsdl2-gfx-dev \
|
||||
libsdl2-mixer-dev libsdl2-ttf-dev libjpeg-dev
|
||||
|
||||
We strongly suggest installing the Ren'Py modules into a Python
|
||||
virtualenv. To create a new virtualenv, open a new terminal and run::
|
||||
|
||||
. /usr/share/virtualenvwrapper/virtualenvwrapper.sh
|
||||
mkvirtualenv renpy
|
||||
|
||||
To return to this virtualenv later, run::
|
||||
|
||||
. /usr/share/virtualenvwrapper/virtualenvwrapper.sh
|
||||
workon renpy
|
||||
|
||||
After activating the virtualenv, install additional dependencies::
|
||||
After activating the virtualenv, install cython, future, and six::
|
||||
|
||||
pip install -U cython future six typing pefile requests ecdsa
|
||||
pip install -U cython future six
|
||||
|
||||
Then, install pygame_sdl2 by running the following commands::
|
||||
|
||||
git clone https://www.github.com/renpy/pygame_sdl2
|
||||
pushd pygame_sdl2
|
||||
python fix_virtualenv.py $VIRTUAL_ENV
|
||||
python setup.py install
|
||||
python setup.py install_headers
|
||||
popd
|
||||
@@ -85,7 +80,7 @@ Next, set RENPY_DEPS_INSTALL To a \:-separated (\;-separated on Windows)
|
||||
list of paths containing the dependencies, and RENPY_CYTHON to the name
|
||||
of the cython command::
|
||||
|
||||
export RENPY_DEPS_INSTALL="/usr:/usr/lib/$(gcc -dumpmachine)/"
|
||||
export RENPY_DEPS_INSTALL="/usr:/usr/lib/$(uname -m)-linux-gnu/"
|
||||
export RENPY_CYTHON=cython
|
||||
|
||||
Finally, use setup.py in the Ren'Py ``module`` directory to compile and
|
||||
@@ -98,7 +93,7 @@ install the modules that support Ren'Py::
|
||||
Ren'Py will be installed into the activated virtualenv. It can then be run
|
||||
using the command::
|
||||
|
||||
python renpy.py
|
||||
python -O renpy.py
|
||||
|
||||
|
||||
Documentation
|
||||
@@ -112,7 +107,7 @@ link in a nightly build, or compile the modules as described above. You'll
|
||||
also need the `Sphinx <https://www.sphinx-doc.org>`_ documentation generator.
|
||||
If you have pip working, install Sphinx using::
|
||||
|
||||
pip install -U sphinx sphinx-bootstrap-theme
|
||||
pip install -U sphinx
|
||||
|
||||
Once Sphinx is installed, change into the ``sphinx`` directory inside the
|
||||
Ren'Py checkout and run::
|
||||
|
||||
+1
-12
@@ -42,15 +42,4 @@ those related to coding) are deliberately left untranslated (or the original wor
|
||||
are provided in brackets) to avoid confusion, relying on their common use in
|
||||
Turkish language and among Turkish developers.
|
||||
|
||||
* Arda Güler (WKFO) <ardaguler09@gmail.com>
|
||||
|
||||
Finnish
|
||||
---------
|
||||
|
||||
Translation to the Finnish language. Most terms have been translated,
|
||||
sometimes requiring some imagination to come up with suitable terms.
|
||||
The quality is not perfect, but it should make sense to any developer
|
||||
fluent in Finnish but not English. Adjustments will be made if better
|
||||
translations are suggested.
|
||||
|
||||
* Lari Liuhamo (Diapolo10) <lari.liuhamo+github116504@gmail.com>
|
||||
* Arda Güler (WKFO) <ardaguler09@gmail.com>
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python2
|
||||
from __future__ import print_function
|
||||
|
||||
import argparse
|
||||
@@ -17,7 +17,6 @@ SOURCE = [
|
||||
|
||||
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]
|
||||
print("Version", version)
|
||||
|
||||
ap = argparse.ArgumentParser()
|
||||
@@ -28,48 +27,9 @@ ap.add_argument("--experimental", action="store_true")
|
||||
ap.add_argument("--no-tag", "-n", action="store_true")
|
||||
ap.add_argument("--push-tags", action="store_true")
|
||||
ap.add_argument("--delete-tag")
|
||||
ap.add_argument("--github", action="store_true")
|
||||
ap.add_argument("--real", action="store_true")
|
||||
|
||||
args = ap.parse_args()
|
||||
|
||||
if not args.real:
|
||||
print("Did you want to use scripts/add_all.sh? If not, give --real.")
|
||||
sys.exit(1)
|
||||
|
||||
if args.github:
|
||||
subprocess.call([ "git", "push", "--tags" ])
|
||||
subprocess.call([ "gh", "release", "create", version, "--notes", "See https://www.renpy.org/release/" + short_version, "-t", "Ren'Py {}".format(short_version) ])
|
||||
|
||||
dn = "/home/tom/ab/renpy/dl/" + short_version
|
||||
|
||||
for fn in os.listdir(dn):
|
||||
|
||||
if fn == ".build_cache":
|
||||
continue
|
||||
|
||||
if fn.endswith(".update.gz"):
|
||||
continue
|
||||
|
||||
if fn.endswith(".update.json"):
|
||||
continue
|
||||
|
||||
if fn.startswith("updates.json"):
|
||||
continue
|
||||
|
||||
if fn.endswith(".zsync"):
|
||||
continue
|
||||
|
||||
if fn.endswith(".sums"):
|
||||
continue
|
||||
|
||||
subprocess.call([ "gh", "release", "upload", version, os.path.join(dn, fn) ])
|
||||
|
||||
|
||||
sys.exit(0)
|
||||
|
||||
|
||||
|
||||
if args.release:
|
||||
subprocess.check_call([ "/home/tom/ab/renpy/scripts/checksums.py", "/home/tom/ab/renpy/dl/" + short_version ])
|
||||
|
||||
@@ -114,8 +74,6 @@ else:
|
||||
if args.no_tag:
|
||||
tag = False
|
||||
|
||||
links = [ i + "-" + major for i in links ]
|
||||
|
||||
if tag:
|
||||
for i in SOURCE:
|
||||
os.chdir(i)
|
||||
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
# This file sets up the normal python modules. It's used to help eclipse
|
||||
# do type detection, by providing an importable version of the cython code.
|
||||
|
||||
from distutils.core import setup
|
||||
|
||||
setup(
|
||||
packages=['renpy', 'renpy.gl', 'renpy.angle', 'renpy.display', 'renpy.audio', 'renpy.text', 'pysdlsound'],
|
||||
package_dir={ 'pysdlsound' : 'module' },
|
||||
)
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
lib\windows-i686\python.exe -OO renpy.py tutorial
|
||||
pause
|
||||
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -z "$RENPY_COVERAGE" ]; then
|
||||
echo "$0 needs to be run with RENPY_COVERAGE set, probably in a virtualenv."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
./run.sh --build || exit 1
|
||||
coverage run renpy.py "$@"
|
||||
coverage html
|
||||
xdg-open htmlcov/index.html
|
||||
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
# This builds out of date modules using the default C compiler, and then
|
||||
# runs them.
|
||||
|
||||
|
||||
ROOT="$(dirname $(realpath $0))"
|
||||
|
||||
|
||||
export RENPY_GDB="gdb --args"
|
||||
. "$ROOT/run.sh" "$@"
|
||||
+33
-91
@@ -1,11 +1,7 @@
|
||||
#!/home/tom/ab/renpy/lib/py3-linux-x86_64/python
|
||||
#!/home/tom/ab/renpy/lib/linux-x86_64/python -O
|
||||
|
||||
# Builds a distribution of Ren'Py.
|
||||
from __future__ import division, absolute_import, with_statement, print_function, unicode_literals
|
||||
|
||||
import future.standard_library
|
||||
import future.utils
|
||||
PY2 = future.utils.PY2
|
||||
from __future__ import print_function
|
||||
|
||||
import sys
|
||||
import os
|
||||
@@ -14,37 +10,19 @@ import shutil
|
||||
import subprocess
|
||||
import argparse
|
||||
import time
|
||||
import collections
|
||||
|
||||
try:
|
||||
# reload is built-in in Python 2, in importlib in Python 3
|
||||
reload
|
||||
except NameError:
|
||||
from importlib import reload
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
if not sys.flags.optimize:
|
||||
raise Exception("Optimization disabled.")
|
||||
|
||||
ROOT = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
|
||||
def zip_rapt_symbols(destination):
|
||||
"""
|
||||
Zips up the rapt symbols.
|
||||
"""
|
||||
|
||||
import zipfile
|
||||
|
||||
if PY2:
|
||||
zf = zipfile.ZipFile(destination + "/android-native-symbols.zip", "w", zipfile.ZIP_DEFLATED)
|
||||
else:
|
||||
zf = zipfile.ZipFile(destination + "/android-native-symbols.zip", "w", zipfile.ZIP_DEFLATED, compresslevel=3)
|
||||
|
||||
for dn, dirs, files in os.walk("rapt/symbols"):
|
||||
for fn in dirs + files:
|
||||
fn = os.path.join(dn, fn)
|
||||
arcname = os.path.relpath(fn, "rapt/symbols")
|
||||
zf.write(fn, arcname)
|
||||
|
||||
zf.close()
|
||||
|
||||
def copy_tutorial_file(src, dest):
|
||||
"""
|
||||
Copies a file from src to dst. Lines between "# tutorial-only" and
|
||||
@@ -54,7 +32,7 @@ def copy_tutorial_file(src, dest):
|
||||
# True if we want to copy the line.
|
||||
copy = True
|
||||
|
||||
with open(src, "r") as sf, open(dest, "w") as df:
|
||||
with open(src, "rb") as sf, open(dest, "wb") as df:
|
||||
for l in sf:
|
||||
if "# tutorial-only" in l:
|
||||
copy = False
|
||||
@@ -64,24 +42,14 @@ def copy_tutorial_file(src, dest):
|
||||
if copy:
|
||||
df.write(l)
|
||||
|
||||
def link_directory(dirname):
|
||||
dn = os.path.join(ROOT, dirname)
|
||||
|
||||
if os.path.exists(dn):
|
||||
os.unlink(dn)
|
||||
|
||||
if PY2:
|
||||
source = dn + "2"
|
||||
else:
|
||||
source = dn + "3"
|
||||
|
||||
if os.path.exists(source):
|
||||
os.symlink(source, dn)
|
||||
|
||||
def main():
|
||||
|
||||
start = time.time()
|
||||
|
||||
if not sys.flags.optimize:
|
||||
raise Exception("Not running with python optimization.")
|
||||
|
||||
ap = argparse.ArgumentParser()
|
||||
ap.add_argument("version", nargs="?")
|
||||
ap.add_argument("--fast", action="store_true")
|
||||
@@ -92,27 +60,12 @@ def main():
|
||||
ap.add_argument("--nosign", action="store_false", dest="sign")
|
||||
ap.add_argument("--notarized", action="store_true", dest="notarized")
|
||||
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")
|
||||
|
||||
args = ap.parse_args()
|
||||
|
||||
link_directory("rapt")
|
||||
link_directory("renios")
|
||||
link_directory("web")
|
||||
|
||||
if args.link_directories:
|
||||
return
|
||||
|
||||
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.
|
||||
|
||||
@@ -121,26 +74,20 @@ def main():
|
||||
import renpy
|
||||
|
||||
if args.version is None:
|
||||
args.version = ".".join(str(i) for i in renpy.version_tuple[:-1])
|
||||
args.version = ".".join(str(i) for i in renpy.version_tuple[:-1]) # @UndefinedVariable
|
||||
|
||||
try:
|
||||
s = subprocess.check_output([ "git", "describe", "--tags", "--dirty", ]).decode("utf-8").strip()
|
||||
parts = s.strip().split("-")
|
||||
dirty = "dirty" in parts
|
||||
match_version = ".".join(str(i) for i in renpy.version_tuple[:2]) # @UndefinedVariable
|
||||
|
||||
commits_per_day = collections.defaultdict(int)
|
||||
s = subprocess.check_output([ "git", "describe", "--tags", "--dirty", "--match", "start-" + match_version ])
|
||||
parts = s.strip().split("-")
|
||||
|
||||
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])
|
||||
except Exception:
|
||||
if len(parts) <= 3:
|
||||
vc_version = 0
|
||||
else:
|
||||
vc_version = int(parts[2])
|
||||
|
||||
if parts[-1] == "dirty":
|
||||
vc_version += 1
|
||||
|
||||
with open("renpy/vc_version.py", "w") as f:
|
||||
import socket
|
||||
@@ -156,14 +103,11 @@ def main():
|
||||
|
||||
try:
|
||||
reload(sys.modules['renpy.vc_version']) # @UndefinedVariable
|
||||
except Exception:
|
||||
except:
|
||||
import renpy.vc_version # @UnusedImport
|
||||
|
||||
reload(sys.modules['renpy'])
|
||||
|
||||
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 \
|
||||
@@ -183,19 +127,19 @@ def main():
|
||||
|
||||
print("Version {} ({})".format(args.version, full_version))
|
||||
|
||||
if sys.version_info[0] >= 3:
|
||||
renpy_sh = "./renpy3.sh"
|
||||
else:
|
||||
renpy_sh = "./renpy2.sh"
|
||||
# Perhaps autobuild.
|
||||
if "RENPY_BUILD_ALL" in os.environ:
|
||||
print("Autobuild...")
|
||||
subprocess.check_call(["scripts/autobuild.sh"])
|
||||
|
||||
# Compile all the python files.
|
||||
compileall.compile_dir("renpy/", ddir="renpy/", force=True, quiet=1)
|
||||
compileall.compile_dir("renpy/", ddir="renpy/", force=1, quiet=1)
|
||||
|
||||
# Compile the various games.
|
||||
if not args.fast:
|
||||
for i in [ 'tutorial', 'launcher', 'the_question' ]:
|
||||
print("Compiling", i)
|
||||
subprocess.check_call([renpy_sh, i, "compile" ])
|
||||
subprocess.check_call(["./renpy.sh", i, "quit" ])
|
||||
|
||||
# Kick off the rapt build.
|
||||
if not args.fast:
|
||||
@@ -204,8 +148,8 @@ def main():
|
||||
|
||||
sys.path.insert(0, os.path.join(ROOT, "rapt", "buildlib"))
|
||||
|
||||
import rapt.interface # type: ignore
|
||||
import rapt.build # type: ignore
|
||||
import rapt.interface # @UnresolvedImport
|
||||
import rapt.build # @UnresolvedImport
|
||||
|
||||
interface = rapt.interface.Interface()
|
||||
rapt.build.distclean(interface)
|
||||
@@ -218,12 +162,10 @@ def main():
|
||||
if not os.path.exists(destination):
|
||||
os.makedirs(destination)
|
||||
|
||||
zip_rapt_symbols(destination)
|
||||
|
||||
if args.fast:
|
||||
|
||||
cmd = [
|
||||
renpy_sh,
|
||||
"./renpy.sh",
|
||||
"launcher",
|
||||
"distribute",
|
||||
"launcher",
|
||||
@@ -236,7 +178,7 @@ def main():
|
||||
|
||||
else:
|
||||
cmd = [
|
||||
renpy_sh,
|
||||
"./renpy.sh",
|
||||
"launcher",
|
||||
"distribute",
|
||||
"launcher",
|
||||
@@ -297,7 +239,7 @@ def main():
|
||||
sys.stdout.write("Creating -sdk.7z")
|
||||
|
||||
p = subprocess.Popen([ "7z", "a", sdk + ".7z", sdk], stdout=subprocess.PIPE)
|
||||
for i, _l in enumerate(p.stdout): # type: ignore
|
||||
for i, _l in enumerate(p.stdout):
|
||||
if i % 10 != 0:
|
||||
continue
|
||||
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
{
|
||||
"start_a170b500": {
|
||||
"area": [
|
||||
53,
|
||||
120,
|
||||
426,
|
||||
120
|
||||
]
|
||||
},
|
||||
"start_f41f55d7": {
|
||||
"area": [
|
||||
106,
|
||||
60,
|
||||
426,
|
||||
120
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -11,8 +11,6 @@ init offset = -2
|
||||
init python:
|
||||
gui.init(1280, 720)
|
||||
|
||||
## Enable checks for invalid or unstable properties in screens or transforms
|
||||
define config.check_conflicting_properties = True
|
||||
|
||||
|
||||
################################################################################
|
||||
@@ -401,7 +399,6 @@ define gui.nvl_thought_xalign = 0.0
|
||||
define gui.nvl_button_xpos = gui.scale(450)
|
||||
define gui.nvl_button_xalign = 0.0
|
||||
|
||||
|
||||
## Localization ################################################################
|
||||
|
||||
## This controls where a line break is permitted. The default is suitable for
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.7 KiB |
@@ -200,9 +200,9 @@ init python:
|
||||
build.documentation('*.txt')
|
||||
|
||||
|
||||
## 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".
|
||||
## 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.
|
||||
|
||||
# define build.google_play_key = "..."
|
||||
|
||||
|
||||
+36
-92
@@ -160,7 +160,6 @@ style say_dialogue:
|
||||
xsize gui.dialogue_width
|
||||
ypos gui.dialogue_ypos
|
||||
|
||||
adjust_spacing False
|
||||
|
||||
## Input screen ################################################################
|
||||
##
|
||||
@@ -178,7 +177,7 @@ screen input(prompt):
|
||||
window:
|
||||
|
||||
vbox:
|
||||
xanchor gui.dialogue_text_xalign
|
||||
xalign gui.dialogue_text_xalign
|
||||
xpos gui.dialogue_xpos
|
||||
xsize gui.dialogue_width
|
||||
ypos gui.dialogue_ypos
|
||||
@@ -213,6 +212,11 @@ screen choice(items):
|
||||
textbutton i.caption action i.action
|
||||
|
||||
|
||||
## When this is true, menu captions will be spoken by the narrator. When
|
||||
## false, menu captions will be displayed as empty buttons.
|
||||
define config.narrator_menu = True
|
||||
|
||||
|
||||
style choice_vbox is vbox
|
||||
style choice_button is button
|
||||
style choice_button_text is button_text
|
||||
@@ -646,40 +650,27 @@ screen file_slots(title):
|
||||
key "save_delete" action FileDelete(slot)
|
||||
|
||||
## Buttons to access other pages.
|
||||
vbox:
|
||||
hbox:
|
||||
style_prefix "page"
|
||||
|
||||
xalign 0.5
|
||||
yalign 1.0
|
||||
|
||||
hbox:
|
||||
xalign 0.5
|
||||
spacing gui.page_spacing
|
||||
|
||||
spacing gui.page_spacing
|
||||
textbutton _("<") action FilePagePrevious()
|
||||
|
||||
textbutton _("<") action FilePagePrevious()
|
||||
if config.has_autosave:
|
||||
textbutton _("{#auto_page}A") action FilePage("auto")
|
||||
|
||||
if config.has_autosave:
|
||||
textbutton _("{#auto_page}A") action FilePage("auto")
|
||||
if config.has_quicksave:
|
||||
textbutton _("{#quick_page}Q") action FilePage("quick")
|
||||
|
||||
if config.has_quicksave:
|
||||
textbutton _("{#quick_page}Q") action FilePage("quick")
|
||||
## range(1, 10) gives the numbers from 1 to 9.
|
||||
for page in range(1, 10):
|
||||
textbutton "[page]" action FilePage(page)
|
||||
|
||||
## range(1, 10) gives the numbers from 1 to 9.
|
||||
for page in range(1, 10):
|
||||
textbutton "[page]" action FilePage(page)
|
||||
|
||||
textbutton _(">") action FilePageNext()
|
||||
|
||||
if config.has_sync:
|
||||
if CurrentScreenName() == "save":
|
||||
textbutton _("Upload Sync"):
|
||||
action UploadSync()
|
||||
xalign 0.5
|
||||
else:
|
||||
textbutton _("Download Sync"):
|
||||
action DownloadSync()
|
||||
xalign 0.5
|
||||
textbutton _(">") action FilePageNext()
|
||||
|
||||
|
||||
style page_label is gui_label
|
||||
@@ -697,7 +688,7 @@ style page_label:
|
||||
ypadding gui.scale(3)
|
||||
|
||||
style page_label_text:
|
||||
textalign 0.5
|
||||
text_align 0.5
|
||||
layout "subtitle"
|
||||
hover_color gui.hover_color
|
||||
|
||||
@@ -740,6 +731,13 @@ screen preferences():
|
||||
textbutton _("Window") action Preference("display", "window")
|
||||
textbutton _("Fullscreen") action Preference("display", "fullscreen")
|
||||
|
||||
vbox:
|
||||
style_prefix "radio"
|
||||
label _("Rollback Side")
|
||||
textbutton _("Disable") action Preference("rollback side", "disable")
|
||||
textbutton _("Left") action Preference("rollback side", "left")
|
||||
textbutton _("Right") action Preference("rollback side", "right")
|
||||
|
||||
vbox:
|
||||
style_prefix "check"
|
||||
label _("Skip")
|
||||
@@ -921,7 +919,7 @@ screen history():
|
||||
## This determines what tags are allowed to be displayed on the history
|
||||
## screen.
|
||||
|
||||
define gui.history_allow_tags = { "alt", "noalt", "rt", "rb", "art" }
|
||||
define gui.history_allow_tags = { "alt", "noalt" }
|
||||
|
||||
|
||||
style history_window is empty
|
||||
@@ -930,6 +928,8 @@ style history_name is gui_label
|
||||
style history_name_text is gui_label_text
|
||||
style history_text is gui_text
|
||||
|
||||
style history_text is gui_text
|
||||
|
||||
style history_label is gui_label
|
||||
style history_label_text is gui_label_text
|
||||
|
||||
@@ -945,7 +945,7 @@ style history_name:
|
||||
|
||||
style history_name_text:
|
||||
min_width gui.history_name_width
|
||||
textalign gui.history_name_xalign
|
||||
text_align gui.history_name_xalign
|
||||
|
||||
style history_text:
|
||||
xpos gui.history_text_xpos
|
||||
@@ -953,7 +953,7 @@ style history_text:
|
||||
xanchor gui.history_text_xalign
|
||||
xsize gui.history_text_width
|
||||
min_width gui.history_text_width
|
||||
textalign gui.history_text_xalign
|
||||
text_align gui.history_text_xalign
|
||||
layout ("subtitle" if gui.history_text_xalign else "tex")
|
||||
|
||||
style history_label:
|
||||
@@ -1122,7 +1122,7 @@ style help_label:
|
||||
style help_label_text:
|
||||
size gui.text_size
|
||||
xalign 1.0
|
||||
textalign 1.0
|
||||
text_align 1.0
|
||||
|
||||
|
||||
|
||||
@@ -1184,7 +1184,7 @@ style confirm_frame:
|
||||
yalign .5
|
||||
|
||||
style confirm_prompt_text:
|
||||
textalign 0.5
|
||||
text_align 0.5
|
||||
layout "subtitle"
|
||||
|
||||
style confirm_button:
|
||||
@@ -1318,7 +1318,7 @@ screen nvl(dialogue, items=None):
|
||||
use nvl_dialogue(dialogue)
|
||||
|
||||
## Displays the menu, if given. The menu may be displayed incorrectly
|
||||
## if config.narrator_menu is set to True.
|
||||
## if config.narrator_menu is set to True, as it is above.
|
||||
for i in items:
|
||||
|
||||
textbutton i.caption:
|
||||
@@ -1378,7 +1378,7 @@ style nvl_label:
|
||||
yanchor 0.0
|
||||
xsize gui.nvl_name_width
|
||||
min_width gui.nvl_name_width
|
||||
textalign gui.nvl_name_xalign
|
||||
text_align gui.nvl_name_xalign
|
||||
|
||||
style nvl_dialogue:
|
||||
xpos gui.nvl_text_xpos
|
||||
@@ -1386,7 +1386,7 @@ style nvl_dialogue:
|
||||
ypos gui.nvl_text_ypos
|
||||
xsize gui.nvl_text_width
|
||||
min_width gui.nvl_text_width
|
||||
textalign gui.nvl_text_xalign
|
||||
text_align gui.nvl_text_xalign
|
||||
layout ("subtitle" if gui.nvl_text_xalign else "tex")
|
||||
|
||||
style nvl_thought:
|
||||
@@ -1395,7 +1395,7 @@ style nvl_thought:
|
||||
ypos gui.nvl_thought_ypos
|
||||
xsize gui.nvl_thought_width
|
||||
min_width gui.nvl_thought_width
|
||||
textalign gui.nvl_thought_xalign
|
||||
text_align gui.nvl_thought_xalign
|
||||
layout ("subtitle" if gui.nvl_text_xalign else "tex")
|
||||
|
||||
style nvl_button:
|
||||
@@ -1407,62 +1407,6 @@ style nvl_button_text:
|
||||
properties gui.button_text_properties("nvl_button")
|
||||
|
||||
|
||||
## Bubble screen ###############################################################
|
||||
##
|
||||
## 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.
|
||||
##
|
||||
## https://www.renpy.org/doc/html/screen_special.html#bubble
|
||||
|
||||
screen bubble(who, what):
|
||||
style_prefix "bubble"
|
||||
|
||||
window:
|
||||
id "window"
|
||||
|
||||
if who is not None:
|
||||
|
||||
window:
|
||||
id "namebox"
|
||||
style "bubble_namebox"
|
||||
|
||||
text who:
|
||||
id "who"
|
||||
|
||||
text what:
|
||||
id "what"
|
||||
|
||||
|
||||
style bubble_window is empty
|
||||
style bubble_namebox is empty
|
||||
style bubble_who is default
|
||||
style bubble_what is default
|
||||
|
||||
|
||||
style bubble_window:
|
||||
background Frame("gui/bubble.png", 15, 15, 15, 15)
|
||||
padding (15, 10)
|
||||
|
||||
style bubble_namebox:
|
||||
background Frame("gui/bubble.png", 15, 15, 15, 15)
|
||||
pos (-15, -5)
|
||||
anchor (0.0, 1.0)
|
||||
padding (15, 10)
|
||||
|
||||
style bubble_who:
|
||||
xalign 0.5
|
||||
textalign 0.5
|
||||
color "#000"
|
||||
|
||||
style bubble_what:
|
||||
align (0.5, 0.5)
|
||||
textalign 0.5
|
||||
layout "subtitle"
|
||||
color "#000"
|
||||
|
||||
|
||||
|
||||
################################################################################
|
||||
## Mobile Variants
|
||||
|
||||
@@ -0,0 +1,178 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>README</title>
|
||||
<style>
|
||||
BODY {
|
||||
background: #fff;
|
||||
color: #444;
|
||||
padding-left: 20%;
|
||||
padding-top: 1em;
|
||||
padding-bottom: 1em;
|
||||
padding-right: 20%;
|
||||
font-family: sans-serif;
|
||||
line-height: 1.6em;
|
||||
}
|
||||
|
||||
DT {
|
||||
font-weight: bold;
|
||||
margin-top: .33em;
|
||||
}
|
||||
|
||||
H2 {
|
||||
color: #000;
|
||||
margin-left: -2.5em;
|
||||
}
|
||||
|
||||
H3 {
|
||||
color: #000;
|
||||
margin-left: -1.5em;
|
||||
}
|
||||
|
||||
.editsection {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h2>Basic Help</h2>
|
||||
<p>
|
||||
To advance through the game, <tt>left-click</tt> or press the <tt>space</tt> or <tt>enter</tt> keys. When at a menu,
|
||||
<tt>left-click</tt> to make a choice, or use the arrow keys to select a choice and <tt>enter</tt> to activate it.
|
||||
</p>
|
||||
|
||||
<h3>Game Menu</h3>
|
||||
<p>
|
||||
When playing a game, <tt>right-click</tt> or press the <tt>escape</tt> key to enter the game menu. The game menu
|
||||
gives the following choices:
|
||||
</p>
|
||||
|
||||
<dl>
|
||||
<dt>Return</dt>
|
||||
<dd>Returns to the game.</dd>
|
||||
<dt>Save Game</dt>
|
||||
<dd>Allows you to save a game by clicking on a save slot.</dd>
|
||||
<dt>Load Game</dt>
|
||||
<dd>Allows you to load a game by clicking on a save slot. Clicking on "Auto" accesses the automatic save slots.</dd>
|
||||
<dt>Preferences</dt>
|
||||
<dd>
|
||||
Changes the game preferences (options/configuration):
|
||||
<dl>
|
||||
<dt>Display</dt>
|
||||
<dd>Switches between fullscreen and windowed mode.</dd>
|
||||
<dt>Transitions</dt>
|
||||
<dd>Controls the display of transitions between game screens.</dd>
|
||||
<dt>Text Speed</dt>
|
||||
<dd>Controls the rate at which text displays. The further to the right this slider is, the faster the text
|
||||
will display. All the way to the right causes text to be shown instantly.</dd>
|
||||
<dt>Joystick</dt>
|
||||
<dd>Lets you control the game using a joystick.</dd>
|
||||
<dt>Skip</dt>
|
||||
<dd>Chooses between skipping messages that have been already seen (in any play through the game), and
|
||||
skipping all messages.</dd>
|
||||
<dt>Begin Skipping</dt>
|
||||
<dd>Returns to the game, while skipping.</dd>
|
||||
<dt>After Choices</dt>
|
||||
<dd>Controls if skipping stops upon reaching a menu.</dd>
|
||||
<dt>Auto-Forward Time</dt>
|
||||
<dd>Controls automatic advance. The further to the left this slider is, the shorter the amount of time
|
||||
before the game advances. All the way to the right means text will never auto-forward.</dd>
|
||||
<dt>Music, Sound, and Voice Volume</dt>
|
||||
<dd>Controls the volume of the Music, Sound effect, and Voice channels, respectively. The further to the
|
||||
right these are, the louder the volume.</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
<dt>Main Menu</dt>
|
||||
<dd>Returns to the main menu, ending the current game.</dd>
|
||||
<dt>Help</dt>
|
||||
<dd>Shows this help screen.</dd>
|
||||
<dt>Quit</dt>
|
||||
<dd>Exits the game; the game will be closed and ended.</dd>
|
||||
</dl>
|
||||
|
||||
<h3>Key and Mouse Bindings</h3>
|
||||
<dl>
|
||||
<dt>Left-click, Enter</dt>
|
||||
<dd>Advances through the game, activates menu choices, buttons, and sliders.</dd>
|
||||
<dt>Space</dt>
|
||||
<dd>Advances through the game, but does not activate choices.</dd>
|
||||
<dt>Arrow Keys</dt>
|
||||
<dd>Navigates between menu choices, buttons, and sliders.</dd>
|
||||
<dt>Ctrl</dt>
|
||||
<dd>Causes skipping to occur while the ctrl key is held down.</dd>
|
||||
<dt>Tab</dt>
|
||||
<dd>Toggles skipping, causing it to occur until tab is pressed again.</dd>
|
||||
<dt>Mousewheel-Up, PageUp</dt>
|
||||
<dd>Causes rollback to occur. Rollback reverses the game back in time, showing prior text and even allowing
|
||||
menu choices to be changed.</dd>
|
||||
<dt>Mousewheel-Down, PageDown</dt>
|
||||
<dd>Causes rollforward to occur, canceling out a previous rollback.</dd>
|
||||
<dt>Right-click, Escape</dt>
|
||||
<dd>Enters the game menu. When in the game menu, returns to the game.</dd>
|
||||
<dt>Middle-click, H</dt>
|
||||
<dd>Hides the text window and other transient displays.</dd>
|
||||
<dt>F</dt>
|
||||
<dd>Toggles fullscreen mode</dd>
|
||||
<dt>S</dt>
|
||||
<dd>Takes a screenshot, saving it in a file named screenshotxxxx.png, where xxxx is a serial number.</dd>
|
||||
<dt>Alt-M, Command-H</dt>
|
||||
<dd>Hides (iconifies) the window.</dd>
|
||||
<dt>Alt-F4, Command-Q</dt>
|
||||
<dd>Quits the game.</dd>
|
||||
<dt>Delete</dt>
|
||||
<dd>When a save slot is selected, deletes that save slot.</dd>
|
||||
<dt>v</dt>
|
||||
<dd>
|
||||
Toggles self-voicing mode, which reads text to the user using an os-supplied speech synthesizer. For more
|
||||
information, please read the <a href="https://www.renpy.org/doc/html/self_voicing.html">self-voicing</a>
|
||||
documentation.
|
||||
</dd>
|
||||
<dt>Shift+C</dt>
|
||||
<dd>Toggles clipboard-voicing mode, which copies text to the clipboard so it can be read by a screen reader.</dd>
|
||||
</dl>
|
||||
|
||||
<h3>Controller Support and Bindings</h3>
|
||||
|
||||
<p>
|
||||
This game should automatically detect and use game controllers supported by
|
||||
SDL2. Other controllers can be configured using third-party configuration tools
|
||||
like the <a href="http://www.generalarcade.com/gamepadtool/">SDL2 Gampad Tool</a>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
A small number of systems may have problems using detected game controllers. Should
|
||||
that happen, hold down shift as the game starts, and disable the controller support.
|
||||
</p>
|
||||
|
||||
<p>The following bindings are used:</p>
|
||||
|
||||
<dl>
|
||||
<dt>Right Trigger, A (Bottom Button)</dt>
|
||||
<dd>Advances through the game, activates menu choices, buttons, and sliders.</dd>
|
||||
|
||||
<dt>Guide, Start</dt>
|
||||
<dd>Enters the game menu. When in the game menu, returns to the game.</dd>
|
||||
|
||||
<dt>Directional Pad, Analog Sticks</dt>
|
||||
<dd>Navigates between menu choices, buttons, and sliders.</dd>
|
||||
|
||||
<dt>Left Trigger, Left Shoulder, Back</dt>
|
||||
<dd>Causes rollback to occur. Rollback reverses the game back in time, showing prior text and even allowing
|
||||
menu choices to be changed.</dd>
|
||||
|
||||
<dt>Right Shoulder</dt>
|
||||
<dd>Causes rollforward to occur, canceling out a previous rollback.</dd>
|
||||
|
||||
<dt>Y (Top Button)</dt>
|
||||
<dd>Hides the text window and other transient displays.</dd>
|
||||
|
||||
</dl>
|
||||
|
||||
<h2>Legal Notice</h2>
|
||||
<p>
|
||||
This program contains free software licensed under a number of licenses, including the GNU Lesser Public License. A
|
||||
complete list of software is available at <a href="https://www.renpy.org/doc/html/license.html">https://www.renpy.org/doc/html/license.html</a>.
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,86 +0,0 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
# The path to a copy of Atom that's been installed globally, if one exists.
|
||||
# This is overidden by RENPY_ATOM, if set. If either is given, that is used
|
||||
# and no special handing of the .atom directory is performed.
|
||||
ATOM = None
|
||||
|
||||
import sys
|
||||
import os
|
||||
import subprocess
|
||||
import platform
|
||||
import shutil
|
||||
|
||||
import renpy
|
||||
|
||||
|
||||
class Editor(renpy.editor.Editor):
|
||||
|
||||
has_projects = True
|
||||
|
||||
def get_atom(self):
|
||||
"""
|
||||
Returns the path to the atom executable, if None. Also takes care
|
||||
of setting up the .atom directory if it's not available.
|
||||
"""
|
||||
|
||||
atom = os.environ.get("RENPY_ATOM", ATOM)
|
||||
|
||||
if atom is not None:
|
||||
return atom
|
||||
|
||||
DIR = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
|
||||
DIR = os.path.join(renpy.exports.fsdecode(DIR), "atom")
|
||||
|
||||
if renpy.windows:
|
||||
atom = os.path.join(DIR, "atom-windows", "atom.exe")
|
||||
elif renpy.macintosh:
|
||||
atom = os.path.join(DIR, "Atom.app", "Contents", "Resources", "app", "atom.sh")
|
||||
else:
|
||||
atom = os.path.join(DIR, "atom-linux-" + platform.machine(), "atom")
|
||||
|
||||
default_dot_atom = os.path.join(DIR, "default-dot-atom")
|
||||
dot_atom = os.path.join(DIR, ".atom")
|
||||
|
||||
if not os.path.exists(dot_atom) and os.path.exists(default_dot_atom):
|
||||
shutil.copytree(default_dot_atom, dot_atom)
|
||||
|
||||
return atom
|
||||
|
||||
def begin(self, new_window=False, **kwargs):
|
||||
self.args = [ ]
|
||||
|
||||
def open(self, filename, line=None, **kwargs):
|
||||
|
||||
if line:
|
||||
filename = "{}:{}".format(filename, line)
|
||||
|
||||
self.args.append(filename)
|
||||
|
||||
def open_project(self, project):
|
||||
self.args.append(project)
|
||||
|
||||
def end(self, **kwargs):
|
||||
|
||||
atom = self.get_atom()
|
||||
|
||||
self.args.reverse()
|
||||
|
||||
args = [ atom ] + self.args
|
||||
args = [ renpy.exports.fsencode(i) for i in args ]
|
||||
|
||||
subprocess.Popen(args)
|
||||
|
||||
|
||||
def main():
|
||||
e = Editor()
|
||||
e.begin()
|
||||
|
||||
for i in sys.argv[1:]:
|
||||
e.open(i)
|
||||
|
||||
e.end()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -1,89 +0,0 @@
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
import renpy
|
||||
|
||||
class Editor(renpy.editor.Editor):
|
||||
|
||||
has_projects = True
|
||||
|
||||
def get_code(self):
|
||||
"""
|
||||
Returns the path to the code executable.
|
||||
"""
|
||||
|
||||
system = __file__.endswith(" (System).edit.py")
|
||||
|
||||
if system:
|
||||
|
||||
if "RENPY_VSCODE" in os.environ:
|
||||
return os.environ["RENPY_VSCODE"]
|
||||
|
||||
if renpy.windows:
|
||||
return "code.cmd"
|
||||
|
||||
if renpy.macintosh and os.path.exists("/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code"):
|
||||
return "/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code"
|
||||
|
||||
return "code"
|
||||
|
||||
else:
|
||||
|
||||
RENPY_VSCODE = os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "vscode"))
|
||||
|
||||
if renpy.windows:
|
||||
code = os.path.join(RENPY_VSCODE, "VSCode-win32-x64", "bin", "code.cmd")
|
||||
elif renpy.macintosh:
|
||||
code = os.path.join(RENPY_VSCODE, "Visual Studio Code.app", "Contents", "Resources", "app", "bin", "code")
|
||||
elif renpy.linux:
|
||||
if renpy.arch == "aarch64":
|
||||
arch = "arm64"
|
||||
elif renpy.arch == "armv7l":
|
||||
arch = "arm"
|
||||
else:
|
||||
arch = "x86_64"
|
||||
|
||||
code = os.path.join(RENPY_VSCODE, "VSCode-linux-" + arch, "bin", "code")
|
||||
else:
|
||||
code = "code"
|
||||
|
||||
return code
|
||||
|
||||
def open(self, filename, line=None, **kwargs):
|
||||
if line:
|
||||
filename = "{}:{}".format(filename, line)
|
||||
self.args.append(filename)
|
||||
|
||||
def open_project(self, project):
|
||||
self.args.append(project)
|
||||
|
||||
def begin(self, new_window=False, **kwargs):
|
||||
self.args = [ ]
|
||||
|
||||
def end(self, **kwargs):
|
||||
self.args.reverse()
|
||||
|
||||
code = self.get_code()
|
||||
args = [ code, "-g" ] + self.args
|
||||
args = [ renpy.exports.fsencode(i) for i in args ]
|
||||
|
||||
if renpy.windows:
|
||||
CREATE_NO_WINDOW = 0x08000000
|
||||
subprocess.Popen(args, creationflags=CREATE_NO_WINDOW)
|
||||
else:
|
||||
subprocess.Popen(args)
|
||||
|
||||
|
||||
|
||||
def main():
|
||||
e = Editor()
|
||||
e.begin()
|
||||
|
||||
for i in sys.argv[1:]:
|
||||
e.open(i)
|
||||
|
||||
e.end()
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -1,89 +0,0 @@
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
import renpy
|
||||
|
||||
class Editor(renpy.editor.Editor):
|
||||
|
||||
has_projects = True
|
||||
|
||||
def get_code(self):
|
||||
"""
|
||||
Returns the path to the code executable.
|
||||
"""
|
||||
|
||||
system = __file__.endswith(" (System).edit.py")
|
||||
|
||||
if system:
|
||||
|
||||
if "RENPY_VSCODE" in os.environ:
|
||||
return os.environ["RENPY_VSCODE"]
|
||||
|
||||
if renpy.windows:
|
||||
return "code.cmd"
|
||||
|
||||
if renpy.macintosh and os.path.exists("/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code"):
|
||||
return "/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code"
|
||||
|
||||
return "code"
|
||||
|
||||
else:
|
||||
|
||||
RENPY_VSCODE = os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "vscode"))
|
||||
|
||||
if renpy.windows:
|
||||
code = os.path.join(RENPY_VSCODE, "VSCode-win32-x64", "bin", "code.cmd")
|
||||
elif renpy.macintosh:
|
||||
code = os.path.join(RENPY_VSCODE, "Visual Studio Code.app", "Contents", "Resources", "app", "bin", "code")
|
||||
elif renpy.linux:
|
||||
if renpy.arch == "aarch64":
|
||||
arch = "arm64"
|
||||
elif renpy.arch == "armv7l":
|
||||
arch = "arm"
|
||||
else:
|
||||
arch = "x86_64"
|
||||
|
||||
code = os.path.join(RENPY_VSCODE, "VSCode-linux-" + arch, "bin", "code")
|
||||
else:
|
||||
code = "code"
|
||||
|
||||
return code
|
||||
|
||||
def open(self, filename, line=None, **kwargs):
|
||||
if line:
|
||||
filename = "{}:{}".format(filename, line)
|
||||
self.args.append(filename)
|
||||
|
||||
def open_project(self, project):
|
||||
self.args.append(project)
|
||||
|
||||
def begin(self, new_window=False, **kwargs):
|
||||
self.args = [ ]
|
||||
|
||||
def end(self, **kwargs):
|
||||
self.args.reverse()
|
||||
|
||||
code = self.get_code()
|
||||
args = [ code, "-g" ] + self.args
|
||||
args = [ renpy.exports.fsencode(i) for i in args ]
|
||||
|
||||
if renpy.windows:
|
||||
CREATE_NO_WINDOW = 0x08000000
|
||||
subprocess.Popen(args, creationflags=CREATE_NO_WINDOW)
|
||||
else:
|
||||
subprocess.Popen(args)
|
||||
|
||||
|
||||
|
||||
def main():
|
||||
e = Editor()
|
||||
e.begin()
|
||||
|
||||
for i in sys.argv[1:]:
|
||||
e.open(i)
|
||||
|
||||
e.end()
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,144 @@
|
||||
import binascii
|
||||
|
||||
|
||||
def a2b(a):
|
||||
return binascii.a2b_hex(''.join(a.split()))
|
||||
|
||||
|
||||
resources = {
|
||||
260 : a2b('''
|
||||
01 00 ff ff 00 00 00 00 00 00 00 00 c8 00 c0 80
|
||||
02 00 00 00 00 00 b8 00 29 00 00 00 00 00 00 00
|
||||
08 00 90 01 00 01 4d 00 53 00 20 00 53 00 68 00
|
||||
65 00 6c 00 6c 00 20 00 44 00 6c 00 67 00 00 00
|
||||
00 00 00 00 00 00 00 00 01 00 01 50 7f 00 14 00
|
||||
32 00 0e 00 01 00 00 00 ff ff 80 00 4f 00 4b 00
|
||||
00 00 00 00 00 00 00 00 00 00 00 00 04 08 00 50
|
||||
07 00 07 00 aa 00 0c 00 ea 03 00 00 ff ff 81 00
|
||||
00 00 00 00
|
||||
'''),
|
||||
261 : a2b('''
|
||||
01 00 ff ff 00 00 00 00 00 00 00 00 c8 00 c0 80
|
||||
04 00 00 00 00 00 b8 00 3a 00 00 00 00 00 00 00
|
||||
08 00 90 01 00 01 4d 00 53 00 20 00 53 00 68 00
|
||||
65 00 6c 00 6c 00 20 00 44 00 6c 00 67 00 00 00
|
||||
00 00 00 00 00 00 00 00 80 00 81 50 07 00 14 00
|
||||
aa 00 0c 00 ec 03 00 00 ff ff 81 00 00 00 00 00
|
||||
00 00 00 00 00 00 00 00 01 00 01 50 7f 00 25 00
|
||||
32 00 0e 00 01 00 00 00 ff ff 80 00 4f 00 4b 00
|
||||
00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 50
|
||||
4a 00 25 00 32 00 0e 00 02 00 00 00 ff ff 80 00
|
||||
43 00 61 00 6e 00 63 00 65 00 6c 00 00 00 00 00
|
||||
00 00 00 00 00 00 00 00 04 08 00 50 07 00 07 00
|
||||
aa 00 0c 00 eb 03 00 00 ff ff 81 00 00 00 00 00
|
||||
'''),
|
||||
262 : a2b('''
|
||||
01 00 ff ff 00 00 00 00 00 00 00 00 c8 00 c0 80
|
||||
04 00 00 00 00 00 b8 00 29 00 00 00 00 00 00 00
|
||||
08 00 90 01 00 01 4d 00 53 00 20 00 53 00 68 00
|
||||
65 00 6c 00 6c 00 20 00 44 00 6c 00 67 00 00 00
|
||||
00 00 00 00 00 00 00 00 00 00 01 50 7f 00 14 00
|
||||
32 00 0e 00 06 00 00 00 ff ff 80 00 59 00 65 00
|
||||
73 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
||||
04 08 00 50 07 00 07 00 aa 00 0c 00 ed 03 00 00
|
||||
ff ff 81 00 00 00 00 00 00 00 00 00 00 00 00 00
|
||||
00 00 01 50 07 00 14 00 32 00 0e 00 07 00 00 00
|
||||
ff ff 80 00 4e 00 6f 00 00 00 00 00 00 00 00 00
|
||||
00 00 00 00 00 00 01 50 4b 00 14 00 32 00 0e 00
|
||||
02 00 00 00 ff ff 80 00 43 00 61 00 6e 00 63 00
|
||||
65 00 6c 00 00 00 00 00
|
||||
'''),
|
||||
263 : a2b('''
|
||||
01 00 ff ff 00 00 00 00 00 00 00 00 80 00 ca 80
|
||||
03 00 00 00 00 00 e2 00 29 00 00 00 00 00 00 00
|
||||
00 00 00 00 00 00 00 00 00 00 81 50 07 00 14 00
|
||||
97 00 0e 00 eb 03 00 00 6d 00 73 00 63 00 74 00
|
||||
6c 00 73 00 5f 00 70 00 72 00 6f 00 67 00 72 00
|
||||
65 00 73 00 73 00 33 00 32 00 00 00 00 00 00 00
|
||||
00 00 00 00 00 00 00 00 04 08 00 50 07 00 07 00
|
||||
d4 00 0c 00 ea 03 00 00 ff ff 81 00 00 00 00 00
|
||||
00 00 00 00 00 00 00 00 00 00 00 50 a9 00 14 00
|
||||
32 00 0e 00 02 00 00 00 ff ff 80 00 43 00 61 00
|
||||
6e 00 63 00 65 00 6c 00 00 00 00 00
|
||||
'''),
|
||||
264 : a2b('''
|
||||
01 00 ff ff 00 00 00 00 00 00 00 00 c8 00 c0 80
|
||||
04 00 00 00 00 00 b8 00 3a 00 00 00 00 00 00 00
|
||||
08 00 90 01 00 01 4d 00 53 00 20 00 53 00 68 00
|
||||
65 00 6c 00 6c 00 20 00 44 00 6c 00 67 00 00 00
|
||||
00 00 00 00 00 00 00 00 a0 00 81 50 07 00 14 00
|
||||
aa 00 0c 00 ec 03 00 00 ff ff 81 00 00 00 00 00
|
||||
00 00 00 00 00 00 00 00 01 00 01 50 7f 00 25 00
|
||||
32 00 0e 00 01 00 00 00 ff ff 80 00 4f 00 4b 00
|
||||
00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 50
|
||||
4a 00 25 00 32 00 0e 00 02 00 00 00 ff ff 80 00
|
||||
43 00 61 00 6e 00 63 00 65 00 6c 00 00 00 00 00
|
||||
00 00 00 00 00 00 00 00 04 08 00 50 07 00 07 00
|
||||
aa 00 0c 00 eb 03 00 00 ff ff 81 00 00 00 00 00
|
||||
'''),
|
||||
265 : a2b('''
|
||||
01 00 ff ff 00 00 00 00 00 00 00 00 c8 00 c8 80
|
||||
12 00 00 00 00 00 d9 00 fc 00 00 00 00 00 00 00
|
||||
08 00 90 01 00 01 4d 00 53 00 20 00 53 00 68 00
|
||||
65 00 6c 00 6c 00 20 00 44 00 6c 00 67 00 00 00
|
||||
00 00 00 00 00 00 00 00 01 00 01 50 6c 00 ea 00
|
||||
30 00 0e 00 01 00 00 00 ff ff 80 00 4f 00 4b 00
|
||||
00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 50
|
||||
a2 00 ea 00 30 00 0e 00 02 00 00 00 ff ff 80 00
|
||||
43 00 61 00 6e 00 63 00 65 00 6c 00 00 00 00 00
|
||||
00 00 00 00 00 00 00 00 07 00 00 50 06 00 06 00
|
||||
cc 00 4e 00 ff ff ff ff ff ff 80 00 00 00 00 00
|
||||
00 00 00 00 00 00 00 00 03 00 21 50 48 00 12 00
|
||||
84 00 64 00 03 00 00 00 ff ff 85 00 00 00 00 00
|
||||
00 00 00 00 00 00 00 00 00 00 02 50 0c 00 24 00
|
||||
c0 00 08 00 04 00 00 00 ff ff 82 00 00 00 00 00
|
||||
00 00 00 00 00 00 00 00 80 00 81 50 0c 00 30 00
|
||||
c0 00 0e 00 05 00 00 00 ff ff 81 00 00 00 00 00
|
||||
00 00 00 00 00 00 00 00 00 00 01 50 9c 00 42 00
|
||||
30 00 0e 00 06 00 00 00 ff ff 80 00 41 00 64 00
|
||||
64 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
||||
07 00 00 50 06 00 54 00 cb 00 3c 00 ff ff ff ff
|
||||
ff ff 80 00 00 00 00 00 00 00 00 00 00 00 00 00
|
||||
03 00 21 50 48 00 61 00 84 00 64 00 07 00 00 00
|
||||
ff ff 85 00 00 00 00 00 00 00 00 00 00 00 00 00
|
||||
00 00 02 50 0c 00 72 00 c0 00 08 00 08 00 00 00
|
||||
ff ff 82 00 00 00 00 00 00 00 00 00 00 00 00 00
|
||||
00 00 01 50 9c 00 7e 00 30 00 0e 00 09 00 00 00
|
||||
ff ff 80 00 41 00 64 00 64 00 00 00 00 00 00 00
|
||||
00 00 00 00 00 00 00 00 00 00 01 50 06 00 96 00
|
||||
42 00 0e 00 0a 00 00 00 ff ff 80 00 41 00 64 00
|
||||
64 00 20 00 66 00 69 00 6c 00 65 00 2e 00 2e 00
|
||||
2e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
||||
00 00 01 50 4e 00 96 00 42 00 0e 00 0b 00 00 00
|
||||
ff ff 80 00 41 00 64 00 64 00 20 00 6e 00 65 00
|
||||
77 00 20 00 66 00 69 00 6c 00 65 00 2e 00 2e 00
|
||||
2e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
||||
00 00 01 50 06 00 a8 00 42 00 0e 00 0c 00 00 00
|
||||
ff ff 80 00 41 00 64 00 64 00 20 00 66 00 6f 00
|
||||
6c 00 64 00 65 00 72 00 2e 00 2e 00 2e 00 00 00
|
||||
00 00 00 00 00 00 00 00 00 00 00 00 07 00 00 50
|
||||
06 00 c6 00 cc 00 1e 00 ff ff ff ff ff ff 80 00
|
||||
43 00 6f 00 6d 00 6d 00 61 00 6e 00 64 00 20 00
|
||||
6c 00 69 00 6e 00 65 00 3a 00 00 00 00 00 00 00
|
||||
00 00 00 00 00 00 00 00 80 00 81 50 0c 00 d2 00
|
||||
c0 00 0e 00 0e 00 00 00 ff ff 81 00 00 00 00 00
|
||||
00 00 00 00 00 00 00 00 00 00 02 50 0c 00 14 00
|
||||
3c 00 08 00 1e 00 00 00 ff ff 82 00 4f 00 70 00
|
||||
74 00 69 00 6f 00 6e 00 3a 00 00 00 00 00 00 00
|
||||
00 00 00 00 00 00 00 00 00 00 02 50 0c 00 63 00
|
||||
3c 00 08 00 46 00 00 00 ff ff 82 00 43 00 6f 00
|
||||
6d 00 6d 00 61 00 6e 00 64 00 3a 00 00 00 00 00
|
||||
'''),
|
||||
270 : a2b('''
|
||||
01 00 ff ff 00 00 00 00 00 00 00 00 48 04 00 44
|
||||
02 00 00 00 00 00 23 01 1a 00 00 00 00 00 00 00
|
||||
08 00 00 00 00 00 4d 00 53 00 20 00 53 00 68 00
|
||||
65 00 6c 00 6c 00 20 00 44 00 6c 00 67 00 00 00
|
||||
00 00 00 00 00 00 00 00 01 00 02 50 00 00 07 00
|
||||
23 01 08 00 ff ff ff ff ff ff 82 00 53 00 74 00
|
||||
61 00 74 00 69 00 63 00 00 00 00 00 00 00 00 00
|
||||
00 00 00 00 00 00 02 40 00 00 12 00 23 01 08 00
|
||||
5f 04 00 00 ff ff 82 00 73 00 74 00 63 00 33 00
|
||||
32 00 00 00 00 00
|
||||
'''),
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,4 @@
|
||||
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
|
||||
# Copyright 2004-2021 Tom Rothamel <pytom@bishoujo.us>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person
|
||||
# obtaining a copy of this software and associated documentation files
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
|
||||
# Copyright 2004-2021 Tom Rothamel <pytom@bishoujo.us>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person
|
||||
# obtaining a copy of this software and associated documentation files
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
|
||||
# Copyright 2004-2021 Tom Rothamel <pytom@bishoujo.us>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person
|
||||
# obtaining a copy of this software and associated documentation files
|
||||
@@ -54,7 +54,7 @@ label add_file:
|
||||
|
||||
try:
|
||||
os.makedirs(dir)
|
||||
except Exception:
|
||||
except:
|
||||
pass
|
||||
|
||||
contents = u"\uFEFF"
|
||||
|
||||
+37
-116
@@ -1,4 +1,4 @@
|
||||
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
|
||||
# Copyright 2004-2021 Tom Rothamel <pytom@bishoujo.us>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person
|
||||
# obtaining a copy of this software and associated documentation files
|
||||
@@ -34,18 +34,19 @@ init python:
|
||||
NO_RAPT_TEXT = _("To build Android packages, please download RAPT, unzip it, and place it into the Ren'Py directory. Then restart the Ren'Py launcher.")
|
||||
NO_JDK_TEXT = _("A 64-bit/x64 Java 8 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://adoptopenjdk.net/?variant=openjdk8&jvmVariant=hotspot}download and install the JDK{/a}, then restart the Ren'Py launcher.")
|
||||
NO_SDK_TEXT = _("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.")
|
||||
NO_KEY_TEXT = _("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.")
|
||||
NO_KEY_TEXT = _("RAPT has been installed, but a key hasn't been configured. Please create a new key, or restore android.keystore.")
|
||||
NO_BUNDLE_KEY_TEXT = _("RAPT has been installed, but a bundle key hasn't been configured. Please create a new key, or restore bundle.keystore.")
|
||||
NO_CONFIG_TEXT = _("The current project has not been configured. Use \"Configure\" to configure it before building.")
|
||||
NO_BUNDLE_TEXT = _("Please select if you want a Play Bundle (for Google Play), or a Universal APK (for sideloading and other app stores).")
|
||||
OK_TEXT = _("Choose \"Build\" to build the current project, or attach an Android device and choose \"Build & Install\" to build and install it on the device.")
|
||||
|
||||
PHONE_TEXT = _("Attempts to emulate an Android phone.\n\nTouch input is emulated through the mouse, but only when the button is held down. Escape is mapped to the menu button, and PageUp is mapped to the back button.")
|
||||
TABLET_TEXT = _("Attempts to emulate an Android tablet.\n\nTouch input is emulated through the mouse, but only when the button is held down. Escape is mapped to the menu button, and PageUp is mapped to the back button.")
|
||||
OUYA_TEXT = _("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.")
|
||||
OUYA_TEXT = _("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.")
|
||||
|
||||
INSTALL_SDK_TEXT = _("Downloads and installs the Android SDK and supporting packages.")
|
||||
GENERATE_KEYS_TEXT = _("Generates the keys required to sign the package.")
|
||||
INSTALL_SDK_TEXT = _("Downloads and installs the Android SDK and supporting packages. Optionally, generates the keys required to sign the package.")
|
||||
CONFIGURE_TEXT = _("Configures the package name, version, and other information about this project.")
|
||||
PLAY_KEYS_TEXT = _("Opens the file containing the Google Play keys in the editor.\n\nThis is only needed if the application is using an expansion APK. Read the documentation for more details.")
|
||||
BUILD_TEXT = _("Builds the Android package.")
|
||||
BUILD_AND_INSTALL_TEXT = _("Builds the Android package, and installs it on an Android device connected to your computer.")
|
||||
BUILD_INSTALL_AND_LAUNCH_TEXT = _("Builds the Android package, installs it on an Android device connected to your computer, then launches the app on your device.")
|
||||
@@ -56,11 +57,10 @@ init python:
|
||||
CONNECT_TEXT = _("Connects to a device over Wi-Fi, on Android 11+.")
|
||||
DISCONNECT_TEXT = _("Disconnects a device connected over Wi-Fi.")
|
||||
|
||||
CLEAN_TEXT = _("Removes Android temporary files.")
|
||||
|
||||
PLAY_BUNDLE_TEXT = _("Builds an Android App Bundle (ABB), intended to be uploaded to Google Play. This can include up to 2GB of data.")
|
||||
UNIVERSAL_APK_TEXT = _("Builds a Universal APK package, intended for sideloading and stores other than Google Play. This can include up to 2GB of data.")
|
||||
|
||||
|
||||
import subprocess
|
||||
import re
|
||||
import os
|
||||
@@ -92,7 +92,6 @@ init python:
|
||||
import rapt.install_sdk
|
||||
import rapt.plat
|
||||
import rapt.interface
|
||||
import rapt.keys
|
||||
|
||||
rapt.plat.renpy = True
|
||||
rapt.plat.translate = __
|
||||
@@ -111,12 +110,11 @@ init python:
|
||||
return ANDROID_NO_JDK
|
||||
if not os.path.exists(rapt.plat.adb):
|
||||
return ANDROID_NO_SDK
|
||||
if not rapt.keys.keys_exist(project.current.path):
|
||||
if not os.path.exists(rapt.plat.path("project/local.properties")):
|
||||
return ANDROID_NO_KEY
|
||||
if not any([
|
||||
os.path.exists(os.path.join(project.current.path, "android.json")),
|
||||
os.path.exists(os.path.join(project.current.path, ".android.json"))
|
||||
]):
|
||||
if not os.path.exists(rapt.plat.path("project/bundle.properties")):
|
||||
return ANDROID_NO_BUNDLE_KEY
|
||||
if not os.path.exists(os.path.join(project.current.path, ".android.json")):
|
||||
return ANDROID_NO_CONFIG
|
||||
if persistent.android_bundle is None:
|
||||
return ANDROID_NO_BUNDLE
|
||||
@@ -137,6 +135,8 @@ init python:
|
||||
return NO_SDK_TEXT
|
||||
if state == ANDROID_NO_KEY:
|
||||
return NO_KEY_TEXT
|
||||
if state == ANDROID_NO_BUNDLE_KEY:
|
||||
return NO_BUNDLE_KEY_TEXT
|
||||
if state == ANDROID_NO_CONFIG:
|
||||
return NO_CONFIG_TEXT
|
||||
if state == ANDROID_NO_BUNDLE:
|
||||
@@ -179,23 +179,31 @@ init python:
|
||||
|
||||
build = p.dump["build"]
|
||||
|
||||
c = rapt.configure.Configuration(p.path)
|
||||
filename = os.path.join(p.path, ".android.json")
|
||||
|
||||
with open(filename, "rb") as f:
|
||||
android_json = json.load(f)
|
||||
|
||||
old_android_json = dict(android_json)
|
||||
|
||||
if "google_play_key" in build:
|
||||
c.google_play_key = build["google_play_key"]
|
||||
android_json["google_play_key"] = build["google_play_key"]
|
||||
else:
|
||||
c.google_play_key = None
|
||||
android_json.pop("google_play_key", None)
|
||||
|
||||
if "google_play_salt" in build:
|
||||
|
||||
if len(build["google_play_salt"]) != 20:
|
||||
raise Exception("build.google_play_salt must be exactly 20 bytes long.")
|
||||
|
||||
c.google_play_salt = ", ".join(str(i) for i in build["google_play_salt"])
|
||||
android_json["google_play_salt"] = ", ".join(str(i) for i in build["google_play_salt"])
|
||||
else:
|
||||
c.google_play_salt = None
|
||||
android_json.pop("google_play_salt", None)
|
||||
|
||||
c.save(p.path)
|
||||
if android_json != old_android_json:
|
||||
|
||||
with open(filename, "wb") as f:
|
||||
json.dump(android_json, f)
|
||||
|
||||
|
||||
def android_build(p=None, gui=True, bundle=False, install=False, launch=False, destination=None, opendir=False):
|
||||
@@ -246,7 +254,7 @@ init python:
|
||||
parent = os.path.dirname(p.path)
|
||||
destination_dir = os.path.join(parent, destination)
|
||||
|
||||
except Exception:
|
||||
except:
|
||||
destination_dir = None
|
||||
|
||||
dir_to_open = source_dir
|
||||
@@ -257,7 +265,7 @@ init python:
|
||||
|
||||
try:
|
||||
os.makedirs(destination_dir)
|
||||
except Exception:
|
||||
except:
|
||||
pass
|
||||
|
||||
try:
|
||||
@@ -267,18 +275,17 @@ init python:
|
||||
|
||||
dir_to_open = destination_dir
|
||||
|
||||
except Exception:
|
||||
except:
|
||||
import traceback
|
||||
traceback.print_exc()
|
||||
pass
|
||||
|
||||
if opendir:
|
||||
dir_to_open = os.path.join(p.path, dir_to_open)
|
||||
renpy.run(store.OpenDirectory(dir_to_open, absolute=True))
|
||||
store.OpenDirectory(dir_to_open)()
|
||||
|
||||
|
||||
with interface.nolinks():
|
||||
rapt.build.build(rapt_interface, dist, p.path, bundle=bundle, install=install, launch=launch, finished=finished, permissions=p.dump['build']['android_permissions'])
|
||||
rapt.build.build(rapt_interface, dist, bundle=bundle, install=install, launch=launch, finished=finished, permissions=p.dump['build']['android_permissions'])
|
||||
|
||||
|
||||
def android_build_argument(cmd):
|
||||
@@ -378,16 +385,12 @@ screen android:
|
||||
frame style "l_indent":
|
||||
|
||||
has vbox
|
||||
textbutton _("Install SDK"):
|
||||
textbutton _("Install SDK & Create Keys"):
|
||||
action AndroidIfState(state, ANDROID_NO_SDK, Jump("android_installsdk"))
|
||||
hovered tt.Action(INSTALL_SDK_TEXT)
|
||||
|
||||
textbutton _("Generate Keys"):
|
||||
action AndroidIfState(state, ANDROID_NO_KEY, Jump("android_keys"))
|
||||
hovered tt.Action(GENERATE_KEYS_TEXT)
|
||||
|
||||
textbutton _("Configure"):
|
||||
action AndroidIfState(state, ANDROID_NO_KEY, Jump("android_configure"))
|
||||
action AndroidIfState(state, ANDROID_NO_CONFIG, Jump("android_configure"))
|
||||
hovered tt.Action(CONFIGURE_TEXT)
|
||||
|
||||
add SPACER
|
||||
@@ -416,9 +419,9 @@ screen android:
|
||||
action AndroidIfState(state, ANDROID_OK, AndroidBuild("android_build_install_and_launch"))
|
||||
hovered tt.Action(BUILD_INSTALL_AND_LAUNCH_TEXT)
|
||||
|
||||
add SPACER
|
||||
# add SPACER
|
||||
# add SEPARATOR2
|
||||
|
||||
textbutton _("Force Recompile") action DataToggle("force_recompile") style "l_checkbox"
|
||||
|
||||
|
||||
# Right side.
|
||||
@@ -463,9 +466,7 @@ screen android:
|
||||
action AndroidIfState(state, ANDROID_NO_KEY, Jump("android_disconnect"))
|
||||
hovered tt.Action(DISCONNECT_TEXT)
|
||||
|
||||
textbutton _("Clean"):
|
||||
action AndroidIfState(state, ANDROID_NO_KEY, Jump("android_clean"))
|
||||
hovered tt.Action(CLEAN_TEXT)
|
||||
|
||||
|
||||
add SPACER
|
||||
add SEPARATOR2
|
||||
@@ -503,14 +504,6 @@ label android_installsdk:
|
||||
jump android
|
||||
|
||||
|
||||
label android_keys:
|
||||
|
||||
python:
|
||||
rapt.keys.generate_keys(MobileInterface("android"), project.current.path)
|
||||
|
||||
jump android
|
||||
|
||||
|
||||
label android_configure:
|
||||
|
||||
python:
|
||||
@@ -620,78 +613,6 @@ label android_disconnect:
|
||||
|
||||
jump android
|
||||
|
||||
label android_clean:
|
||||
|
||||
python hide:
|
||||
import shutil
|
||||
import time
|
||||
|
||||
interface = MobileInterface("android")
|
||||
interface.info(_("Cleaning up Android project."))
|
||||
|
||||
# Get the android json file, for the update_always key.
|
||||
try:
|
||||
filename = os.path.join(project.current.path, ".android.json")
|
||||
with open(filename, "rb") as f:
|
||||
android_json = json.load(f)
|
||||
except Exception:
|
||||
android_json = {}
|
||||
|
||||
# Clean up the files.
|
||||
def clean(path):
|
||||
if os.path.exists(path):
|
||||
shutil.rmtree(path)
|
||||
|
||||
if android_json.get("update_always", True):
|
||||
|
||||
try:
|
||||
with open(rapt.plat.path("project/local.properties"), "r") as f:
|
||||
local_properties = f.read()
|
||||
except Exception:
|
||||
local_properties = None
|
||||
|
||||
try:
|
||||
with open(rapt.plat.path("project/bundle.properties"), "r") as f:
|
||||
bundle_properties = f.read()
|
||||
except Exception:
|
||||
bundle_properties = None
|
||||
|
||||
try:
|
||||
with open(rapt.plat.path("project/gradle.properties"), "r") as f:
|
||||
gradle_properties = f.read()
|
||||
except Exception:
|
||||
gradle_properties = None
|
||||
|
||||
clean(rapt.plat.path("project"))
|
||||
|
||||
if local_properties or bundle_properties or gradle_properties:
|
||||
|
||||
os.mkdir(rapt.plat.path("project"))
|
||||
|
||||
if local_properties:
|
||||
|
||||
with open(rapt.plat.path("project/local.properties"), "w") as f:
|
||||
f.write(local_properties)
|
||||
|
||||
if bundle_properties:
|
||||
|
||||
with open(rapt.plat.path("project/bundle.properties"), "w") as f:
|
||||
f.write(bundle_properties)
|
||||
|
||||
if gradle_properties:
|
||||
|
||||
with open(rapt.plat.path("project/gradle.properties"), "w") as f:
|
||||
f.write(gradle_properties)
|
||||
|
||||
clean(rapt.plat.path("bin"))
|
||||
clean(project.current.temp_filename("android.dist"))
|
||||
|
||||
# This can go really fast, so pause so it looks like something is happening.
|
||||
time.sleep(.5)
|
||||
|
||||
|
||||
jump android
|
||||
|
||||
|
||||
init python:
|
||||
|
||||
|
||||
@@ -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.
|
||||
@@ -29,23 +29,18 @@ init python hide:
|
||||
__("{} is a Java keyword, and can't be used as part of a package name.")
|
||||
__("What is the application's version?\n\nThis should be the human-readable version that you would present to a person. It must contain only numbers and dots.")
|
||||
__("The version number must contain only numbers and dots.")
|
||||
__("How much RAM (in GB) do you want to allocate to Gradle?\nThis must be a positive integer number.")
|
||||
__("The RAM size must contain only numbers and be positive.")
|
||||
__("How much RAM do you want to allocate to Gradle?\n\nThis must be a positive integer number.")
|
||||
__("The RAM size must contain only numbers.")
|
||||
__("How would you like your application to be displayed?")
|
||||
__("In landscape orientation.")
|
||||
__("In portrait orientation.")
|
||||
__("In the user's preferred orientation.")
|
||||
__("Which app store would you like to support in-app purchasing through?")
|
||||
__("Google Play.")
|
||||
__("Amazon App Store.")
|
||||
__("Both, in one app.")
|
||||
__("Neither.")
|
||||
__("Do you want to automatically update the Java source code?")
|
||||
__("Yes. This is the best choice for most projects.")
|
||||
__("No. This may require manual updates when Ren'Py or the project configuration changes.")
|
||||
__("Unknown configuration variable: {}")
|
||||
__("I'm compiling a short test program, to see if you have a working JDK on your system.")
|
||||
__("I was unable to use javac to compile a test file. If you haven't installed the Java Development Kit yet, please download it from:\n\n{a=https://adoptium.net/?variant=openjdk8}https://adoptium.net/?variant=openjdk8{/a}\n\nThe JDK is different from the JRE, so it's possible you have Java without having the JDK. Please make sure you installed the 'JavaSoft (Oracle) registry keys'.\n\nWithout a working JDK, I can't continue.")
|
||||
__("I was unable to use javac to compile a test file. If you haven't installed the Java Development Kit yet, please download it from:\n\nhttps://adoptopenjdk.net/?variant=openjdk8&jvmVariant=hotspot\n\nThe JDK is different from the JRE, so it's possible you have Java without having the JDK. Without a working JDK, I can't continue.")
|
||||
__("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.")
|
||||
__("The JDK is present and working. Good!")
|
||||
__("The Android SDK has already been unpacked.")
|
||||
@@ -58,16 +53,12 @@ init python hide:
|
||||
__("I was unable to accept the Android licenses.")
|
||||
__("I was unable to install the required Android packages.")
|
||||
__("I've finished installing the required Android packages.")
|
||||
__("It looks like you're ready to start packaging games.")
|
||||
__("Please enter your name or the name of your organization.")
|
||||
__("I found an android.keystore file in the rapt directory. Do you want to use this file?")
|
||||
__("I can create an application signing key for you. This key is required to create Universal APK for sideloading and stores other than Google Play.\n\nDo you want to create a key?")
|
||||
__("I will create the key in the android.keystore file.\n\nYou need to back this file up. If you lose it, you will not be able to upgrade your application.\n\nYou also need to keep the key safe. If evil people get this file, they could make fake versions of your application, and potentially steal your users' data.\n\nWill you make a backup of android.keystore, and keep it in a safe place?")
|
||||
__("Could not create android.keystore. Is keytool in your path?")
|
||||
__("I've finished creating android.keystore. Please back it up, and keep it in a safe place.")
|
||||
__("I found a bundle.keystore file in the rapt directory. Do you want to use this file?")
|
||||
__("I can create a bundle signing key for you. This key is required to build an Android App Bundle (AAB) for upload to Google Play.\n\nDo you want to create a key?")
|
||||
__("I will create the key in the bundle.keystore file.\n\nYou need to back this file up. If you lose it, you will not be able to upgrade your application.\n\nYou also need to keep the key safe. If evil people get this file, they could make fake versions of your application, and potentially steal your users' data.\n\nWill you make a backup of bundle.keystore, and keep it in a safe place?")
|
||||
__("Could not create bundle.keystore. Is keytool in your path?")
|
||||
__("I've opened the directory containing android.keystore and bundle.keystore. Please back them up, and keep them in a safe place.")
|
||||
__("It looks like you're ready to start packaging games.")
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
|
||||
# Copyright 2004-2021 Tom Rothamel <pytom@bishoujo.us>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person
|
||||
# obtaining a copy of this software and associated documentation files
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
|
||||
# Copyright 2004-2021 Tom Rothamel <pytom@bishoujo.us>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person
|
||||
# obtaining a copy of this software and associated documentation files
|
||||
@@ -23,17 +23,16 @@
|
||||
# Contains a reasonable description of the format.
|
||||
|
||||
from __future__ import print_function
|
||||
from renpy.compat import bchr, chr, str, PY2
|
||||
|
||||
import struct
|
||||
import sys
|
||||
import array
|
||||
import pefile
|
||||
|
||||
import pefile # @UnresolvedImport
|
||||
|
||||
# This class performs various operations on memory-loaded binary files,
|
||||
# including modifications.
|
||||
|
||||
|
||||
class BinFile(object):
|
||||
|
||||
def set_u32(self, addr, value):
|
||||
@@ -68,7 +67,7 @@ class BinFile(object):
|
||||
|
||||
rv = u""
|
||||
for _i in range(c):
|
||||
rv += chr(self.u16())
|
||||
rv += unichr(self.u16())
|
||||
|
||||
return rv
|
||||
|
||||
@@ -76,24 +75,14 @@ class BinFile(object):
|
||||
self.addr = addr
|
||||
|
||||
def tostring(self):
|
||||
if PY2:
|
||||
return self.a.tostring() # type: ignore
|
||||
else:
|
||||
return self.a.tobytes()
|
||||
return self.a.tostring()
|
||||
|
||||
def substring(self, start, len): # @ReservedAssignment
|
||||
if PY2:
|
||||
return self.a[start:start + len].tostring() # type: ignore
|
||||
else:
|
||||
return self.a[start:start + len].tobytes()
|
||||
return self.a[start:start + len].tostring()
|
||||
|
||||
def __init__(self, data):
|
||||
self.a = array.array('B')
|
||||
|
||||
if PY2:
|
||||
self.a.fromstring(data) # type: ignore
|
||||
else:
|
||||
self.a.frombytes(data)
|
||||
self.a = array.array(b'B')
|
||||
self.a.fromstring(data)
|
||||
|
||||
##############################################################################
|
||||
# These functions parse data out of the file. In these functions, offset is
|
||||
@@ -117,7 +106,7 @@ def parse_data(bf, offset):
|
||||
|
||||
bf.seek(data_offset - resource_virtual)
|
||||
for _i in range(data_len):
|
||||
l.append(bchr(bf.u8()))
|
||||
l.append(chr(bf.u8()))
|
||||
|
||||
return (code_page, b"".join(l))
|
||||
|
||||
@@ -221,8 +210,8 @@ class Packer(object):
|
||||
return rv
|
||||
|
||||
def pack_dict(self, d, offset):
|
||||
name_entries = sorted((a, b) for a, b in d.items() if isinstance(a, str))
|
||||
id_entries = sorted((a, b) for a, b in d.items() if isinstance(a, int))
|
||||
name_entries = sorted((a, b) for a, b in d.iteritems() if isinstance(a, unicode))
|
||||
id_entries = sorted((a, b) for a, b in d.iteritems() if isinstance(a, int))
|
||||
|
||||
rv = struct.pack("<IIHHHH", 0, 0, 4, 0, len(name_entries), len(id_entries))
|
||||
|
||||
@@ -231,7 +220,7 @@ class Packer(object):
|
||||
rest = b""
|
||||
|
||||
for (name, value) in name_entries + id_entries:
|
||||
if isinstance(name, str):
|
||||
if isinstance(name, unicode):
|
||||
name = 0x80000000 | self.pack_name(name)
|
||||
|
||||
if isinstance(value, dict):
|
||||
@@ -329,8 +318,8 @@ def change_icons(oldexe, icofn):
|
||||
# As a related note, apparently this flag has been deprecated, but appears to be set (I think ..) in the renpy.exe that is used to build from..
|
||||
# no idea of a consequence, just an observation
|
||||
# https://docs.microsoft.com/en-us/windows/win32/debug/pe-format#characteristics , see "IMAGE_FILE_LINE_NUMS_STRIPPED" :
|
||||
# COFF line numbers have been removed. This flag is deprecated and should be zero.
|
||||
# In renpy.exe, this 2-byte flag is @ 0x096 and 0x097 in little-endian
|
||||
# COFF line numbers have been removed. This flag is deprecated and should be zero.
|
||||
# In renpy.exe, this 2-byte flag is @ 0x096 and 0x097 in little-endian
|
||||
######
|
||||
|
||||
f.close()
|
||||
@@ -349,10 +338,10 @@ def change_icons(oldexe, icofn):
|
||||
#From note about flags above regarding image flags. These two should be 0
|
||||
pe.FILE_HEADER.Characteristics = pe.FILE_HEADER.Characteristics & (~pefile.IMAGE_CHARACTERISTICS["IMAGE_FILE_LINE_NUMS_STRIPPED"])
|
||||
pe.FILE_HEADER.Characteristics = pe.FILE_HEADER.Characteristics & (~pefile.IMAGE_CHARACTERISTICS["IMAGE_FILE_LOCAL_SYMS_STRIPPED"])
|
||||
|
||||
|
||||
#Per docs, symbol table can just be removed
|
||||
#https://docs.microsoft.com/en-us/windows/win32/debug/pe-format#coff-file-header-object-and-image see "PointerToSymbolTable" and "NumberOfSymbols "
|
||||
|
||||
|
||||
pe.FILE_HEADER.PointerToSymbolTable = 0
|
||||
pe.FILE_HEADER.NumberOfSymbols = 0
|
||||
|
||||
@@ -372,7 +361,7 @@ def change_icons(oldexe, icofn):
|
||||
#
|
||||
#####
|
||||
# SizeOfImage must be aligned to SectionAlignment (memory alignment)
|
||||
# There is NO padding needed, the image size number simply needs to be aligned to >= the
|
||||
# There is NO padding needed, the image size number simply needs to be aligned to >= the
|
||||
|
||||
memoryalignment = pe.OPTIONAL_HEADER.SectionAlignment
|
||||
filealignment = pe.OPTIONAL_HEADER.FileAlignment
|
||||
@@ -415,10 +404,11 @@ def change_icons(oldexe, icofn):
|
||||
#The symbol table is simply left off. Its size DOES factor into ImageSize, but we didn't calculate it above, so fine
|
||||
#Correctly checksum the file. The entire file is involved in the calculation, so a new PE object must be generated for the calculation to work against
|
||||
newFile = pe.write()[:base] + rsrc
|
||||
newpe = pefile.PE(data=bytes(newFile))
|
||||
newpe = pefile.PE(data=newFile)
|
||||
newpe.OPTIONAL_HEADER.CheckSum = newpe.generate_checksum()
|
||||
|
||||
return bytes(newpe.write())
|
||||
return newpe.write()
|
||||
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
|
||||
# Copyright 2004-2021 Tom Rothamel <pytom@bishoujo.us>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person
|
||||
# obtaining a copy of this software and associated documentation files
|
||||
@@ -19,12 +19,24 @@
|
||||
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
|
||||
|
||||
|
||||
init python:
|
||||
|
||||
try:
|
||||
import _renpytfd
|
||||
except Exception:
|
||||
_renpytfd = None
|
||||
if renpy.windows:
|
||||
import EasyDialogsWin as EasyDialogs
|
||||
else:
|
||||
EasyDialogs = None
|
||||
|
||||
pyobjus = None
|
||||
|
||||
if renpy.macintosh:
|
||||
try:
|
||||
import pyobjus
|
||||
except:
|
||||
pass
|
||||
|
||||
|
||||
def directory_is_writable(path):
|
||||
test = os.path.join(path, "renpy test do not use")
|
||||
@@ -38,7 +50,7 @@ init python:
|
||||
|
||||
return True
|
||||
|
||||
except Exception:
|
||||
except:
|
||||
return False
|
||||
|
||||
def choose_directory(path):
|
||||
@@ -60,11 +72,78 @@ init python:
|
||||
else:
|
||||
try:
|
||||
default_path = os.path.dirname(os.path.abspath(config.renpy_base))
|
||||
except Exception:
|
||||
except:
|
||||
default_path = os.path.abspath(config.renpy_base)
|
||||
|
||||
if _renpytfd:
|
||||
path = _renpytfd.selectFolderDialog(__("Select Projects Directory"), default_path)
|
||||
if EasyDialogs:
|
||||
|
||||
choice = EasyDialogs.AskFolder(defaultLocation=default_path, wanted=unicode)
|
||||
|
||||
if choice is not None:
|
||||
path = choice
|
||||
else:
|
||||
path = None
|
||||
|
||||
elif pyobjus:
|
||||
|
||||
from pyobjus import autoclass
|
||||
from pyobjus.dylib_manager import load_framework, INCLUDE
|
||||
|
||||
load_framework(INCLUDE.AppKit)
|
||||
NSURL = autoclass('NSURL')
|
||||
NSOpenPanel = autoclass('NSOpenPanel')
|
||||
|
||||
panel = NSOpenPanel.openPanel()
|
||||
panel.setCanChooseDirectories_(True)
|
||||
panel.setCanChooseFiles_(False)
|
||||
panel.setCanCreateDirectories_(True)
|
||||
|
||||
if default_path:
|
||||
url = NSURL.fileURLWithPath_(default_path)
|
||||
panel.setDirectoryURL_(url)
|
||||
|
||||
if panel.runModal():
|
||||
path = panel.filename().UTF8String().decode("utf-8")
|
||||
else:
|
||||
path = None
|
||||
|
||||
else:
|
||||
|
||||
try:
|
||||
|
||||
if renpy.macintosh:
|
||||
# tkinter is broken on Python 3, so use it as a last resort - maybe apple fixed it?
|
||||
system_pythons = [ "/usr/bin/python2", "/usr/bin/python", "/usr/bin/python3" ]
|
||||
else:
|
||||
system_pythons = [ "/usr/bin/python3", "/usr/bin/python2", "/usr/bin/python" ]
|
||||
|
||||
for system_python in system_pythons:
|
||||
if os.path.exists(system_python):
|
||||
break
|
||||
else:
|
||||
system_python = system_pythons[0]
|
||||
|
||||
cmd = [ system_python, os.path.join(config.gamedir, "tkaskdir.py"), renpy.fsencode(default_path) ]
|
||||
|
||||
p = subprocess.Popen(cmd, stdout=subprocess.PIPE)
|
||||
choice = p.stdout.read()
|
||||
code = p.wait()
|
||||
|
||||
except:
|
||||
import traceback
|
||||
traceback.print_exc()
|
||||
|
||||
code = 0
|
||||
choice = ""
|
||||
path = None
|
||||
|
||||
interface.error(_("Ren'Py was unable to run python with tkinter to choose the directory. Please install the python3-tk or tkinter package."), label=None)
|
||||
|
||||
if code:
|
||||
interface.error(_("Ren'Py was unable to run python with tkinter to choose the directory. Please install the python3-tk or tkinter package."), label=None)
|
||||
|
||||
elif choice:
|
||||
path = choice.decode("utf-8")
|
||||
|
||||
is_default = False
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
|
||||
# Copyright 2004-2021 Tom Rothamel <pytom@bishoujo.us>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person
|
||||
# obtaining a copy of this software and associated documentation files
|
||||
@@ -294,7 +294,7 @@ init python:
|
||||
if changed:
|
||||
try:
|
||||
os.unlink(filename + ".bak")
|
||||
except Exception:
|
||||
except:
|
||||
pass
|
||||
|
||||
os.rename(filename, filename + ".bak")
|
||||
@@ -323,7 +323,7 @@ init python:
|
||||
if changed:
|
||||
try:
|
||||
os.unlink(filename + ".bak")
|
||||
except Exception:
|
||||
except:
|
||||
pass
|
||||
|
||||
os.rename(filename, filename + ".bak")
|
||||
@@ -333,7 +333,7 @@ init python:
|
||||
try:
|
||||
# just in case
|
||||
os.unlink(filename + ".new")
|
||||
except Exception:
|
||||
except:
|
||||
pass
|
||||
pass
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
|
||||
# Copyright 2004-2021 Tom Rothamel <pytom@bishoujo.us>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person
|
||||
# obtaining a copy of this software and associated documentation files
|
||||
@@ -33,15 +33,15 @@ init python:
|
||||
|
||||
if renpy.macintosh:
|
||||
fn = "console.command"
|
||||
nl = b"\n"
|
||||
nl = "\n"
|
||||
prefix = "#!/bin/sh"
|
||||
elif renpy.windows:
|
||||
fn = "console.bat"
|
||||
nl = b"\r\n"
|
||||
nl = "\r\n"
|
||||
prefix = "@echo off"
|
||||
else:
|
||||
fn = "console.sh"
|
||||
nl = b"\n"
|
||||
nl = "\n"
|
||||
prefix = "#!/bin/bash"
|
||||
|
||||
|
||||
@@ -49,23 +49,23 @@ init python:
|
||||
self.f = open(self.fn, "wb")
|
||||
self.nl = nl
|
||||
|
||||
self.f.write(renpy.fsencode(prefix, force=True) + nl)
|
||||
self.f.write(renpy.fsencode(prefix) + nl)
|
||||
|
||||
def add(self, *args):
|
||||
"""
|
||||
Adds a command to be run.
|
||||
"""
|
||||
|
||||
args = [ b'"' + renpy.fsencode(i, force=True) + b'"' for i in args]
|
||||
self.f.write(b" ".join(args) + self.nl)
|
||||
args = [ '"{}"'.format(renpy.fsencode(i)) for i in args]
|
||||
self.f.write(" ".join(args) + self.nl)
|
||||
|
||||
def write(self, *args):
|
||||
"""
|
||||
Adds a command to be run.
|
||||
"""
|
||||
|
||||
args = [ renpy.fsencode(i, force=True) for i in args]
|
||||
self.f.write(b" ".join(args) + self.nl)
|
||||
args = [ '{}'.format(renpy.fsencode(i)) for i in args]
|
||||
self.f.write(" ".join(args) + self.nl)
|
||||
|
||||
def run(self):
|
||||
"""
|
||||
|
||||
+59
-253
@@ -1,4 +1,4 @@
|
||||
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
|
||||
# Copyright 2004-2021 Tom Rothamel <pytom@bishoujo.us>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person
|
||||
# obtaining a copy of this software and associated documentation files
|
||||
@@ -26,6 +26,7 @@
|
||||
# might include windows path separators (\), but archive paths and names we
|
||||
# deal with/match against use the unix separator (/).
|
||||
|
||||
|
||||
init python in distribute:
|
||||
|
||||
from store import config, persistent
|
||||
@@ -51,27 +52,6 @@ init python in distribute:
|
||||
import time
|
||||
import shutil
|
||||
|
||||
def py(s):
|
||||
"""
|
||||
Formats a string with information about the python version.
|
||||
"""
|
||||
|
||||
return s.format(
|
||||
major=sys.version_info.major,
|
||||
minor=sys.version_info.minor,
|
||||
)
|
||||
|
||||
# Going from 7.4 to 7.5 or 8.0, the library directory changed.
|
||||
RENPY_PATCH = py("""\
|
||||
def change_renpy_executable():
|
||||
import sys, os, renpy, site
|
||||
|
||||
if hasattr(site, "RENPY_PLATFORM") and hasattr(sys, "renpy_executable") and (renpy.linux or renpy.windows):
|
||||
sys.renpy_executable = os.path.join(renpy.config.renpy_base, "lib", "py{major}-" + site.RENPY_PLATFORM, os.path.basename(sys.renpy_executable))
|
||||
|
||||
change_renpy_executable()
|
||||
""")
|
||||
|
||||
match_cache = { }
|
||||
|
||||
def compile_match(pattern):
|
||||
@@ -196,7 +176,7 @@ change_renpy_executable()
|
||||
|
||||
key = (self.name, self.directory, self.executable)
|
||||
|
||||
hash.update(repr(key).encode("utf-8"))
|
||||
hash.update(repr(key))
|
||||
|
||||
if self.path is None:
|
||||
return
|
||||
@@ -211,16 +191,9 @@ change_renpy_executable()
|
||||
digest = distributor.hash_cache[self.path]
|
||||
else:
|
||||
digest = hash_file(self.path)
|
||||
distributor.hash_cache[self.path] = digest
|
||||
|
||||
hash.update(digest.encode("utf-8"))
|
||||
|
||||
def reprefix(self, old, new):
|
||||
rv = self.copy()
|
||||
|
||||
if self.name.startswith(old):
|
||||
rv.name = new + self.name[len(old):]
|
||||
|
||||
return rv
|
||||
hash.update(digest)
|
||||
|
||||
class FileList(list):
|
||||
"""
|
||||
@@ -262,34 +235,6 @@ change_renpy_executable()
|
||||
|
||||
return rv
|
||||
|
||||
def add_missing_directories(self):
|
||||
"""
|
||||
Adds to this file list all directories that are needed by other
|
||||
entries in this file list.
|
||||
"""
|
||||
|
||||
rv = self.copy()
|
||||
|
||||
seen = set()
|
||||
required = set()
|
||||
|
||||
for i in self:
|
||||
seen.add(i.name)
|
||||
|
||||
name = i.name
|
||||
|
||||
while "/" in name:
|
||||
name = name.rpartition("/")[0]
|
||||
required.add(name)
|
||||
|
||||
for name in required - seen:
|
||||
rv.append(File(name, None, True, False))
|
||||
|
||||
rv.sort()
|
||||
|
||||
return rv
|
||||
|
||||
|
||||
@staticmethod
|
||||
def merge(l):
|
||||
"""
|
||||
@@ -368,15 +313,13 @@ change_renpy_executable()
|
||||
duplicate is set.
|
||||
"""
|
||||
|
||||
prefix = py("lib/py{major}-mac-universal")
|
||||
|
||||
for f in list(self):
|
||||
|
||||
if f.name.startswith("lib/python") and (not duplicate):
|
||||
if f.name.startswith("lib/python2.7") and (not duplicate):
|
||||
name = app + "/Contents/Resources/" + f.name
|
||||
|
||||
elif f.name.startswith(prefix):
|
||||
name = app + "/Contents/MacOS/" + f.name[len(prefix)+1:]
|
||||
elif f.name.startswith("lib/mac-x86_64"):
|
||||
name = app + "/Contents/MacOS/" + f.name[15:]
|
||||
|
||||
else:
|
||||
continue
|
||||
@@ -401,10 +344,7 @@ change_renpy_executable()
|
||||
for f in sorted(self, key=lambda a : a.name):
|
||||
f.hash(sha, distributor)
|
||||
|
||||
if PY2:
|
||||
return sha.hexdigest().decode("utf-8")
|
||||
else:
|
||||
return sha.hexdigest()
|
||||
return sha.hexdigest()
|
||||
|
||||
def split_by_prefix(self, prefix):
|
||||
"""
|
||||
@@ -423,25 +363,13 @@ change_renpy_executable()
|
||||
|
||||
return yes, no
|
||||
|
||||
def reprefix(self, old, new):
|
||||
"""
|
||||
Returns a new file list with all the paths reprefixed.
|
||||
"""
|
||||
|
||||
rv = FileList()
|
||||
|
||||
for f in self:
|
||||
rv.append(f.reprefix(old, new))
|
||||
|
||||
return rv
|
||||
|
||||
|
||||
class Distributor(object):
|
||||
"""
|
||||
This manages the process of building distributions.
|
||||
"""
|
||||
|
||||
def __init__(self, project, destination=None, reporter=None, packages=None, build_update=True, open_directory=False, noarchive=False, packagedest=None, report_success=True, scan=True, macapp=None, force_format=None, files_filter=None):
|
||||
def __init__(self, project, destination=None, reporter=None, packages=None, build_update=True, open_directory=False, noarchive=False, packagedest=None, report_success=True, scan=True, macapp=None):
|
||||
"""
|
||||
Distributes `project`.
|
||||
|
||||
@@ -475,15 +403,7 @@ change_renpy_executable()
|
||||
|
||||
`macapp`
|
||||
If given, the path to a macapp that's used instead of
|
||||
the macapp that's included with Ren'Py.
|
||||
|
||||
`force_format`
|
||||
If given, forces the format of the distribution to be this.
|
||||
|
||||
`files_filter`
|
||||
If given, use this object to decide which files must be included.
|
||||
The object must contains the `filter(file, variant, format)`
|
||||
method which must return True is the file must be included.
|
||||
the macapp
|
||||
"""
|
||||
|
||||
# A map from a package to a unique update version hash.
|
||||
@@ -566,7 +486,7 @@ change_renpy_executable()
|
||||
if not packagedest:
|
||||
try:
|
||||
os.makedirs(self.destination)
|
||||
except Exception:
|
||||
except:
|
||||
pass
|
||||
|
||||
self.load_build_cache()
|
||||
@@ -612,10 +532,6 @@ change_renpy_executable()
|
||||
self.reporter.info(_("Scanning Ren'Py files..."))
|
||||
self.scan_and_classify(config.renpy_base, build["renpy_patterns"])
|
||||
|
||||
if build["_sdk_fonts"]:
|
||||
for k in list(self.file_lists.keys()):
|
||||
self.file_lists[k] = self.file_lists[k].reprefix("sdk-fonts", "game")
|
||||
|
||||
# Add Python (with the same name as our executables)
|
||||
self.add_python()
|
||||
|
||||
@@ -640,31 +556,15 @@ change_renpy_executable()
|
||||
self.merge_file_lists()
|
||||
|
||||
# Rename the executable-like files.
|
||||
self.rename()
|
||||
|
||||
# Sign the mac app once on Ren'Py.
|
||||
if self.build["renpy"]:
|
||||
fl = self.file_lists['binary']
|
||||
app, rest = fl.split_by_prefix(self.app)
|
||||
if app:
|
||||
app = self.sign_app(app, macapp)
|
||||
fl = FileList.merge([ app, rest ])
|
||||
self.file_lists['binary'] = fl
|
||||
else:
|
||||
raise Exception("No mac app found.")
|
||||
if not build['renpy']:
|
||||
self.rename()
|
||||
|
||||
# The time of the update version.
|
||||
self.update_version = int(time.time())
|
||||
|
||||
self.files_filter = files_filter
|
||||
|
||||
for p in build_packages:
|
||||
|
||||
formats = p["formats"]
|
||||
if force_format is not None:
|
||||
formats = [ force_format ]
|
||||
|
||||
for f in formats:
|
||||
for f in p["formats"]:
|
||||
|
||||
self.make_package(
|
||||
p["name"],
|
||||
@@ -694,7 +594,7 @@ change_renpy_executable()
|
||||
self.reporter.info(_("All packages have been built.\n\nDue to the presence of permission information, unpacking and repacking the Linux and Macintosh distributions on Windows is not supported."))
|
||||
|
||||
if open_directory:
|
||||
renpy.run(store.OpenDirectory(self.destination, absolute=True))
|
||||
store.OpenDirectory(self.destination)()
|
||||
|
||||
def scan_and_classify(self, directory, patterns):
|
||||
"""
|
||||
@@ -934,7 +834,7 @@ change_renpy_executable()
|
||||
|
||||
tfn = self.temp_filename(list_name + "_hash.txt")
|
||||
|
||||
with open(tfn, "w") as tf:
|
||||
with open(tfn, "wb") as tf:
|
||||
tf.write(self.file_lists[list_name].hash(self))
|
||||
|
||||
self.add_file("binary", "launcher/game/" + list_name + "_hash.txt", tfn)
|
||||
@@ -955,7 +855,7 @@ change_renpy_executable()
|
||||
data = f.read()
|
||||
|
||||
with open(tmp_fn, "wb") as f:
|
||||
f.write(b"#!/usr/bin/env python3\n")
|
||||
f.write(b"#!/usr/bin/env python2\n")
|
||||
f.write(data)
|
||||
|
||||
self.add_file("source_only", "renpy.py", tmp_fn, True)
|
||||
@@ -972,7 +872,6 @@ change_renpy_executable()
|
||||
CFBundleDisplayName=display_name,
|
||||
CFBundleExecutable=executable_name,
|
||||
CFBundleIconFile="icon",
|
||||
CFBundleIdentifier="com.domain.game",
|
||||
CFBundleInfoDictionaryVersion="6.0",
|
||||
CFBundleName=display_name,
|
||||
CFBundlePackageType="APPL",
|
||||
@@ -1002,13 +901,7 @@ change_renpy_executable()
|
||||
plist.update(self.build.get("mac_info_plist", { }))
|
||||
|
||||
rv = self.temp_filename("Info.plist")
|
||||
|
||||
if PY2:
|
||||
plistlib.writePlist(plist, rv)
|
||||
else:
|
||||
with open(rv, "wb") as f:
|
||||
plistlib.dump(plist, f)
|
||||
|
||||
plistlib.writePlist(plist, rv)
|
||||
return rv
|
||||
|
||||
def add_python(self):
|
||||
@@ -1018,56 +911,44 @@ change_renpy_executable()
|
||||
linux = 'binary'
|
||||
linux_i686 = 'binary'
|
||||
mac = 'binary'
|
||||
raspi = 'linux_arm'
|
||||
raspi = 'raspi'
|
||||
else:
|
||||
windows = 'windows'
|
||||
linux = 'linux'
|
||||
linux_i686 = 'linux_i686'
|
||||
mac = 'mac'
|
||||
raspi = 'linux_arm'
|
||||
raspi = 'linux'
|
||||
|
||||
prefix = py("lib/py{major}-")
|
||||
|
||||
if os.path.exists(linux_i686):
|
||||
|
||||
self.add_file(
|
||||
linux_i686,
|
||||
prefix + "linux-i686/" + self.executable_name,
|
||||
os.path.join(config.renpy_base, prefix + "linux-i686/renpy"),
|
||||
True)
|
||||
self.add_file(
|
||||
linux_i686,
|
||||
"lib/linux-i686/" + self.executable_name,
|
||||
os.path.join(config.renpy_base, "lib/linux-i686/renpy"),
|
||||
True)
|
||||
|
||||
self.add_file(
|
||||
linux,
|
||||
prefix + "linux-x86_64/" + self.executable_name,
|
||||
os.path.join(config.renpy_base, prefix + "linux-x86_64/renpy"),
|
||||
"lib/linux-x86_64/" + self.executable_name,
|
||||
os.path.join(config.renpy_base, "lib/linux-x86_64/renpy"),
|
||||
True)
|
||||
|
||||
armfn = os.path.join(config.renpy_base, prefix + "linux-armv7l/renpy")
|
||||
armfn = os.path.join(config.renpy_base, "lib/linux-armv7l/renpy")
|
||||
|
||||
if os.path.exists(armfn):
|
||||
|
||||
self.add_file(
|
||||
raspi,
|
||||
prefix + "linux-armv7l/" + self.executable_name,
|
||||
"lib/linux-armv7l/" + self.executable_name,
|
||||
armfn,
|
||||
True)
|
||||
|
||||
aarch64fn = os.path.join(config.renpy_base, prefix + "linux-aarch64/renpy")
|
||||
|
||||
if os.path.exists(aarch64fn):
|
||||
|
||||
self.add_file(
|
||||
raspi,
|
||||
prefix + "linux-aarch64/" + self.executable_name,
|
||||
aarch64fn,
|
||||
True)
|
||||
|
||||
self.add_file(
|
||||
mac,
|
||||
prefix + "mac-universal/" + self.executable_name,
|
||||
os.path.join(config.renpy_base, prefix + "mac-universal/renpy"),
|
||||
"lib/mac-x86_64/" + self.executable_name,
|
||||
os.path.join(config.renpy_base, "lib/mac-x86_64/renpy"),
|
||||
True)
|
||||
|
||||
|
||||
def add_mac_files(self):
|
||||
"""
|
||||
Add mac-specific files to the distro.
|
||||
@@ -1086,11 +967,9 @@ change_renpy_executable()
|
||||
|
||||
plist_fn = self.write_plist()
|
||||
self.add_file(filelist, contents + "/Info.plist", plist_fn)
|
||||
|
||||
self.add_file(filelist,
|
||||
contents + "/MacOS/" + self.executable_name,
|
||||
os.path.join(config.renpy_base, py("lib/py{major}-mac-universal/renpy")))
|
||||
|
||||
os.path.join(config.renpy_base, "lib/mac-x86_64/renpy"))
|
||||
|
||||
custom_fn = os.path.join(self.project.path, "icon.icns")
|
||||
default_fn = os.path.join(config.renpy_base, "launcher/icon.icns")
|
||||
@@ -1107,8 +986,8 @@ change_renpy_executable()
|
||||
|
||||
if not self.build['renpy']:
|
||||
self.add_directory(filelist, contents + "/MacOS/lib")
|
||||
self.add_directory(filelist, contents + py("/MacOS/lib/py{major}-mac-universal"))
|
||||
self.add_directory(filelist, contents + py("/Resources/lib/python{major}.{minor}"))
|
||||
self.add_directory(filelist, contents + "/MacOS/lib/mac-x86_64")
|
||||
self.add_directory(filelist, contents + "/Resources/lib/python2.7")
|
||||
|
||||
self.file_lists[filelist].mac_lib_transform(self.app, self.build['renpy'])
|
||||
|
||||
@@ -1154,20 +1033,12 @@ change_renpy_executable()
|
||||
if os.path.exists(tmp):
|
||||
self.add_file(fl, dst, tmp)
|
||||
|
||||
if PY2:
|
||||
|
||||
if self.build["include_i686"]:
|
||||
write_exe("lib/py2-windows-i686/renpy.exe", self.exe32, self.exe32, windows_i686)
|
||||
write_exe("lib/py2-windows-i686/pythonw.exe", "lib/py2-windows-i686/pythonw.exe", "pythonw-32.exe", windows_i686)
|
||||
|
||||
write_exe("lib/py2-windows-x86_64/renpy.exe", self.exe, self.exe, windows)
|
||||
write_exe("lib/py2-windows-x86_64/pythonw.exe", "lib/py2-windows-x86_64/pythonw.exe", "pythonw-64.exe", windows)
|
||||
|
||||
else:
|
||||
|
||||
write_exe("lib/py3-windows-x86_64/renpy.exe", self.exe, self.exe, windows)
|
||||
write_exe("lib/py3-windows-x86_64/pythonw.exe", "lib/py3-windows-x86_64/pythonw.exe", "pythonw-64.exe", windows)
|
||||
if self.build["include_i686"]:
|
||||
write_exe("lib/windows-i686/renpy.exe", self.exe32, self.exe32, windows_i686)
|
||||
write_exe("lib/windows-i686/pythonw.exe", "lib/windows-i686/pythonw.exe", "pythonw-32.exe", windows_i686)
|
||||
|
||||
write_exe("lib/windows-x86_64/renpy.exe", self.exe, self.exe, windows)
|
||||
write_exe("lib/windows-x86_64/pythonw.exe", "lib/windows-x86_64/pythonw.exe", "pythonw-64.exe", windows)
|
||||
|
||||
def add_main_py(self):
|
||||
if self.build['renpy']:
|
||||
@@ -1194,15 +1065,11 @@ change_renpy_executable()
|
||||
Rename files in all lists to match the executable names.
|
||||
"""
|
||||
|
||||
major_sh = py("renpy{major}.sh")
|
||||
|
||||
def rename_one(fn):
|
||||
parts = fn.split('/')
|
||||
p = parts[0]
|
||||
|
||||
if p == major_sh:
|
||||
p = self.sh
|
||||
elif p == "renpy.sh":
|
||||
if p == "renpy.sh":
|
||||
p = self.sh
|
||||
elif p == "renpy.py":
|
||||
p = self.py
|
||||
@@ -1228,7 +1095,7 @@ change_renpy_executable()
|
||||
try:
|
||||
import sys, os
|
||||
isatty = os.isatty(sys.stdin.fileno())
|
||||
except Exception:
|
||||
except:
|
||||
isatty = False
|
||||
|
||||
if isatty:
|
||||
@@ -1321,13 +1188,13 @@ change_renpy_executable()
|
||||
def workaround_mac_notarization(self, fl):
|
||||
"""
|
||||
This works around mac notarization by compressing the unsigned,
|
||||
un-notarized, binaries in lib/py3-mac-universal.
|
||||
un-notarized, binaries in lib/mac-x86_64.
|
||||
"""
|
||||
|
||||
fl = fl.copy()
|
||||
|
||||
for f in fl:
|
||||
if py("/lib/py{major}-mac-universal/") in f.name:
|
||||
if "/lib/mac-x86_64/" in f.name:
|
||||
with open(f.path, "rb") as inf:
|
||||
data = inf.read()
|
||||
|
||||
@@ -1361,19 +1228,15 @@ change_renpy_executable()
|
||||
if self.build.get("exclude_empty_directories", True):
|
||||
fl = fl.filter_empty()
|
||||
|
||||
fl = fl.add_missing_directories()
|
||||
|
||||
if macapp:
|
||||
fl = fl.mac_transform(self.app, self.documentation_patterns)
|
||||
|
||||
if not self.build["renpy"]:
|
||||
app, rest = fl.split_by_prefix(self.app)
|
||||
|
||||
app, rest = fl.split_by_prefix(self.app)
|
||||
if app:
|
||||
app = self.sign_app(app, macapp)
|
||||
|
||||
if app:
|
||||
app = self.sign_app(app, macapp)
|
||||
|
||||
fl = FileList.merge([ app, rest ])
|
||||
fl = FileList.merge([ app, rest ])
|
||||
|
||||
self.file_list_cache[key] = fl
|
||||
return fl.copy()
|
||||
@@ -1418,9 +1281,6 @@ change_renpy_executable()
|
||||
"app-zip" : (".zip", False, False, False),
|
||||
"app-directory" : ("-app", True, False, False),
|
||||
"app-dmg" : ("-app-dmg", True, True, False),
|
||||
|
||||
"bare-tar.bz2" : (".tar.bz2", False, False, False),
|
||||
"bare-zip" : (".zip", False, False, False),
|
||||
}
|
||||
|
||||
if format not in FORMATS:
|
||||
@@ -1460,7 +1320,7 @@ change_renpy_executable()
|
||||
|
||||
if self.include_update and (variant not in [ 'ios', 'android', 'source']) and (not format.startswith("app-")):
|
||||
|
||||
with open(update_fn, "wb" if PY2 else "w") as f:
|
||||
with open(update_fn, "wb") as f:
|
||||
json.dump(update, f, indent=2)
|
||||
|
||||
if (not dlc) or (format == "update"):
|
||||
@@ -1509,11 +1369,11 @@ change_renpy_executable()
|
||||
if file_hash:
|
||||
self.build_cache[full_filename] = (file_hash, fl_hash)
|
||||
|
||||
if format == "tar.bz2" or format == "bare-tar.bz2":
|
||||
if format == "tar.bz2":
|
||||
pkg = TarPackage(path, "w:bz2")
|
||||
elif format == "update":
|
||||
pkg = UpdatePackage(path, filename, self.destination)
|
||||
elif format == "zip" or format == "app-zip" or format == "bare-zip":
|
||||
elif format == "zip" or format == "app-zip":
|
||||
if self.build['renpy']:
|
||||
pkg = ExternalZipPackage(path)
|
||||
else:
|
||||
@@ -1542,9 +1402,6 @@ change_renpy_executable()
|
||||
if f.directory:
|
||||
pkg.add_directory(f.name, f.path)
|
||||
else:
|
||||
if self.files_filter is not None and not self.files_filter.filter(f, variant, format):
|
||||
# Ignore file
|
||||
continue
|
||||
pkg.add_file(f.name, f.path, f.executable)
|
||||
|
||||
self.reporter.progress_done()
|
||||
@@ -1571,8 +1428,10 @@ change_renpy_executable()
|
||||
|
||||
index = { }
|
||||
|
||||
# Ren'Py 7.4.1 forgot to include mac zsync, so it needs to be downloaded before the update
|
||||
# can occur.
|
||||
if self.build['renpy']:
|
||||
index["monkeypatch"] = RENPY_PATCH
|
||||
index["monkeypatch"] = "def mac_fix():\n import renpy\n if not renpy.macintosh:\n return\n\n import os\n mac = os.path.join(renpy.config.renpy_base, \"lib\", \"mac-x86_64\")\n zsync = os.path.join(mac, \"zsync\")\n\n if not os.path.isdir(mac):\n return\n\n if os.path.isdir(zsync):\n return\n\n import requests\n\n response = requests.get(\"https://www.renpy.org/dl/mac-fix/zsync\")\n\n with open(zsync + \".new\", \"w\") as f:\n f.write(response.content)\n \n os.chmod(zsync + \".new\", 0o755)\n os.rename(zsync + \".new\", zsync)\n\nmac_fix()\n"
|
||||
|
||||
def add_variant(variant):
|
||||
|
||||
@@ -1600,7 +1459,7 @@ change_renpy_executable()
|
||||
add_variant(p["name"])
|
||||
|
||||
fn = renpy.fsencode(os.path.join(self.destination, "updates.json"))
|
||||
with open(fn, "wb" if PY2 else "w") as f:
|
||||
with open(fn, "wb") as f:
|
||||
json.dump(index, f, indent=2)
|
||||
|
||||
|
||||
@@ -1610,10 +1469,10 @@ change_renpy_executable()
|
||||
|
||||
fn = renpy.fsencode(os.path.join(self.destination, ".build_cache"))
|
||||
|
||||
with open(fn, "w", encoding="utf-8") as f:
|
||||
with open(fn, "wb") as f:
|
||||
for k, v in self.build_cache.items():
|
||||
l = "\t".join([k, v[0], v[1]]) + "\n"
|
||||
f.write(l)
|
||||
f.write(l.encode("utf-8"))
|
||||
|
||||
def load_build_cache(self):
|
||||
if not self.build['renpy']:
|
||||
@@ -1705,8 +1564,6 @@ change_renpy_executable()
|
||||
ap.add_argument("--package", action="append", help="If given, a package to build. Defaults to building all packages.")
|
||||
ap.add_argument("--no-archive", action="store_true", help="If given, files will not be added to archives.")
|
||||
ap.add_argument("--macapp", default=None, action="store", help="If given, the path to a signed and notarized mac app.")
|
||||
ap.add_argument("--format", default=None, action="store", help="The format of package to build.")
|
||||
|
||||
ap.add_argument("project", help="The path to the project directory.")
|
||||
|
||||
args = ap.parse_args()
|
||||
@@ -1718,58 +1575,12 @@ change_renpy_executable()
|
||||
else:
|
||||
packages = None
|
||||
|
||||
Distributor(p, destination=args.destination, reporter=TextReporter(), packages=packages, build_update=args.build_update, noarchive=args.no_archive, packagedest=args.packagedest, macapp=args.macapp, force_format=args.format)
|
||||
Distributor(p, destination=args.destination, reporter=TextReporter(), packages=packages, build_update=args.build_update, noarchive=args.no_archive, packagedest=args.packagedest, macapp=args.macapp)
|
||||
|
||||
return False
|
||||
|
||||
renpy.arguments.register_command("distribute", distribute_command)
|
||||
|
||||
|
||||
def update_old_game(project, reporter, compile):
|
||||
if compile:
|
||||
reporter.info(_("Recompiling all rpy files into rpyc files..."))
|
||||
project.launch([ "compile", "--keep-orphan-rpyc" ], wait=True)
|
||||
|
||||
files = [fn + "c" for fn in project.script_files()
|
||||
if fn.startswith("game/") and project.exists(fn + "c")]
|
||||
len_files = len(files)
|
||||
|
||||
if not files:
|
||||
return
|
||||
|
||||
TEMP_OLD_GAME_DIR = project.temp_filename("old-game")
|
||||
if os.path.isdir(TEMP_OLD_GAME_DIR):
|
||||
shutil.rmtree(TEMP_OLD_GAME_DIR)
|
||||
|
||||
for i, src in enumerate(files):
|
||||
reporter.progress(_("Copying files..."), i, len_files)
|
||||
dst = project.temp_filename("old-" + src)
|
||||
try:
|
||||
os.makedirs(os.path.dirname(dst))
|
||||
except Exception:
|
||||
pass
|
||||
shutil.copyfile(os.path.join(project.path, src), dst)
|
||||
|
||||
reporter.progress_done()
|
||||
|
||||
OLD_GAME_DIR = os.path.join(project.path, "old-game")
|
||||
if os.path.isdir(OLD_GAME_DIR):
|
||||
shutil.rmtree(OLD_GAME_DIR)
|
||||
|
||||
shutil.copytree(TEMP_OLD_GAME_DIR, OLD_GAME_DIR)
|
||||
|
||||
def update_old_game_command():
|
||||
ap = renpy.arguments.ArgumentParser("Back-ups all rpyc files into old-game directory.")
|
||||
ap.add_argument("project", help="The path to the project directory.")
|
||||
|
||||
args = ap.parse_args()
|
||||
|
||||
update_old_game(project.Project(args.project), TextReporter(), True)
|
||||
|
||||
return False
|
||||
|
||||
renpy.arguments.register_command("update_old_game", update_old_game_command)
|
||||
|
||||
label distribute:
|
||||
|
||||
python hide:
|
||||
@@ -1784,8 +1595,3 @@ label distribute:
|
||||
|
||||
|
||||
jump post_build
|
||||
|
||||
label update_old_game:
|
||||
python hide:
|
||||
distribute.update_old_game(project.current, distribute.GuiReporter(), False)
|
||||
return
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
|
||||
# Copyright 2004-2021 Tom Rothamel <pytom@bishoujo.us>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person
|
||||
# obtaining a copy of this software and associated documentation files
|
||||
@@ -192,7 +192,6 @@ screen build_distributions:
|
||||
|
||||
textbutton _("Edit options.rpy") action editor.Edit("game/options.rpy", check=True)
|
||||
textbutton _("Add from clauses to calls, once") action Jump("add_from")
|
||||
textbutton _("Update old-game") action Jump("start_update_old_game")
|
||||
textbutton _("Refresh") action Jump("build_distributions")
|
||||
|
||||
add HALF_SPACER
|
||||
@@ -222,13 +221,7 @@ screen build_distributions:
|
||||
for pkg in packages:
|
||||
if not pkg["hidden"]:
|
||||
$ description = pkg["description"]
|
||||
button:
|
||||
action PackageToggle(pkg["name"]) style "l_checkbox"
|
||||
hbox:
|
||||
spacing 3
|
||||
text "[description!q]"
|
||||
if pkg["dlc"]:
|
||||
text _("(DLC)")
|
||||
textbutton "[description!q]" action PackageToggle(pkg["name"]) style "l_checkbox"
|
||||
|
||||
add SPACER
|
||||
add HALF_SPACER
|
||||
@@ -263,9 +256,6 @@ label add_from:
|
||||
call add_from_common
|
||||
jump build_distributions
|
||||
|
||||
label start_update_old_game:
|
||||
call update_old_game
|
||||
jump build_distributions
|
||||
|
||||
label start_distribute:
|
||||
if project.current.data["add_from"]:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
|
||||
# Copyright 2004-2021 Tom Rothamel <pytom@bishoujo.us>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person
|
||||
# obtaining a copy of this software and associated documentation files
|
||||
@@ -36,13 +36,13 @@ init python:
|
||||
if os.path.exists(fn):
|
||||
os.unlink(fn)
|
||||
|
||||
with open(fn, "w") as f:
|
||||
with open(fn, "wb") as f:
|
||||
f.write("Testing to see if we're in a DMG.\r\n")
|
||||
|
||||
os.unlink(fn)
|
||||
return
|
||||
|
||||
except Exception:
|
||||
except:
|
||||
|
||||
# If we're here, we didn't make it through the checks safely. So
|
||||
# put up a warning message.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
|
||||
# Copyright 2004-2021 Tom Rothamel <pytom@bishoujo.us>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person
|
||||
# obtaining a copy of this software and associated documentation files
|
||||
|
||||
+28
-83
@@ -1,4 +1,4 @@
|
||||
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
|
||||
# Copyright 2004-2021 Tom Rothamel <pytom@bishoujo.us>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person
|
||||
# obtaining a copy of this software and associated documentation files
|
||||
@@ -67,8 +67,8 @@ init 1 python in editor:
|
||||
ei = EditorInfo(filename)
|
||||
|
||||
if ei.name in editors:
|
||||
if editors[ei.name].mtime >= ei.mtime:
|
||||
return
|
||||
if editors[ei.name].mtime >= ei.mtime:
|
||||
return
|
||||
|
||||
editors[ei.name] = ei
|
||||
|
||||
@@ -148,79 +148,39 @@ init 1 python in editor:
|
||||
|
||||
fei = fancy_editors = [ ]
|
||||
|
||||
# Visual Studio Code
|
||||
AD1 = _("A modern editor with many extensions including advanced Ren'Py integration.")
|
||||
AD2 = _("A modern editor with many extensions including advanced Ren'Py integration.\n{a=jump:reinstall_vscode}Upgrade Visual Studio Code to the latest version.{/a}")
|
||||
# Atom.
|
||||
AD = _("(Recommended) A modern and approachable text editor.")
|
||||
|
||||
if renpy.windows:
|
||||
installed = os.path.exists(os.path.join(config.renpy_base, "vscode/VSCode-win32-x64"))
|
||||
dlc = "atom-windows"
|
||||
installed = os.path.exists(os.path.join(config.basedir, "atom/atom-windows"))
|
||||
elif renpy.macintosh:
|
||||
installed = os.path.exists(os.path.join(config.renpy_base, "vscode/Visual Studio Code.app"))
|
||||
dlc = "atom-mac"
|
||||
installed = os.path.exists(os.path.join(config.basedir, "atom/Atom.app"))
|
||||
else:
|
||||
if renpy.arch == "aarch64":
|
||||
arch = "arm64"
|
||||
elif renpy.arch == "armv7l":
|
||||
arch = "arm"
|
||||
else:
|
||||
arch = "x86_64"
|
||||
|
||||
installed = os.path.exists(os.path.join(config.renpy_base, "vscode/VSCode-linux-" + arch))
|
||||
dlc = "atom-linux"
|
||||
installed = os.path.exists(os.path.join(config.basedir, "atom/atom-linux-" + platform.machine()))
|
||||
|
||||
e = FancyEditorInfo(
|
||||
0,
|
||||
_("Visual Studio Code"),
|
||||
AD2 if installed else AD2,
|
||||
"extension:vscode",
|
||||
_("Up to 110 MB download required."),
|
||||
"Atom",
|
||||
AD,
|
||||
dlc,
|
||||
_("Up to 150 MB download required."),
|
||||
None)
|
||||
|
||||
e.installed = e.installed and installed
|
||||
|
||||
fei.append(e)
|
||||
|
||||
# Atom.
|
||||
AD = _("A modern and approachable text editor.")
|
||||
|
||||
if renpy.windows:
|
||||
dlc = "atom-windows"
|
||||
installed = os.path.exists(os.path.join(config.renpy_base, "atom/atom-windows"))
|
||||
elif renpy.macintosh:
|
||||
dlc = "atom-mac"
|
||||
installed = os.path.exists(os.path.join(config.renpy_base, "atom/Atom.app"))
|
||||
else:
|
||||
dlc = "atom-linux"
|
||||
installed = os.path.exists(os.path.join(config.renpy_base, "atom/atom-linux-" + platform.machine()))
|
||||
|
||||
if not (renpy.arch in [ "aarch64", "armv7l" ]):
|
||||
|
||||
e = FancyEditorInfo(
|
||||
1,
|
||||
_("Atom"),
|
||||
AD,
|
||||
"extension:atom",
|
||||
_("Up to 150 MB download required."),
|
||||
None)
|
||||
|
||||
e.installed = e.installed and (installed or 'RENPY_ATOM' in os.environ)
|
||||
|
||||
fei.append(e)
|
||||
|
||||
# jEdit - Only present if it exists on system.
|
||||
if os.path.exists(os.path.join(config.renpy_base, "jedit")):
|
||||
|
||||
fei.append(FancyEditorInfo(
|
||||
2,
|
||||
_("jEdit"),
|
||||
_("A mature editor that requires Java."),
|
||||
"jedit",
|
||||
_("1.8 MB download required."),
|
||||
_("This may have occured because Java is not installed on this system."),
|
||||
))
|
||||
|
||||
# jEdit
|
||||
fei.append(FancyEditorInfo(
|
||||
3,
|
||||
_("Visual Studio Code (System)"),
|
||||
_("Uses a copy of Visual Studio Code that you have installed outside of Ren'Py. It's recommended you install the language-renpy extension to add support for Ren'Py files."),
|
||||
2,
|
||||
"jEdit",
|
||||
_("A mature editor that requires Java."),
|
||||
"jedit",
|
||||
_("1.8 MB download required."),
|
||||
_("This may have occured because Java is not installed on this system."),
|
||||
))
|
||||
|
||||
fei.append(FancyEditorInfo(
|
||||
@@ -229,11 +189,8 @@ init 1 python in editor:
|
||||
_("Invokes the editor your operating system has associated with .rpy files."),
|
||||
None))
|
||||
|
||||
|
||||
|
||||
|
||||
for k in editors:
|
||||
if k in [ "Visual Studio Code", "Visual Studio Code (System)", "Atom", "jEdit", "System Editor", "None" ]:
|
||||
if k in [ "Atom", "jEdit", "System Editor", "None" ]:
|
||||
continue
|
||||
|
||||
fei.append(FancyEditorInfo(
|
||||
@@ -253,8 +210,7 @@ init 1 python in editor:
|
||||
# If we're in a linux distro or something, assume all editors work.
|
||||
if not updater.can_update():
|
||||
for i in fei:
|
||||
if i.dlc and not i.dlc.startswith("extension:"):
|
||||
i.installed = True
|
||||
i.installed = True
|
||||
|
||||
def fancy_activate_editor(default=False):
|
||||
"""
|
||||
@@ -301,12 +257,9 @@ init 1 python in editor:
|
||||
|
||||
if not fe.installed:
|
||||
|
||||
if fe.dlc.startswith("extension:"):
|
||||
import installer
|
||||
manifest = fe.dlc.partition(":")[2]
|
||||
renpy.invoke_in_new_context(installer.manifest, "https://www.renpy.org/extensions/{}/{}.py".format(manifest, manifest), renpy=True)
|
||||
else:
|
||||
store.add_dlc(fe.dlc)
|
||||
# We don't check the status of this because fancy_activate_editor
|
||||
# will fail if the editor is not installed.
|
||||
store.add_dlc(fe.dlc)
|
||||
|
||||
persistent.editor = fe.name
|
||||
fancy_activate_editor()
|
||||
@@ -516,7 +469,7 @@ init 1 python in editor:
|
||||
try:
|
||||
e = renpy.editor.editor
|
||||
return e.has_projects
|
||||
except Exception:
|
||||
except:
|
||||
return False
|
||||
|
||||
|
||||
@@ -569,14 +522,6 @@ screen editor:
|
||||
|
||||
textbutton _("Cancel") action Return(False) style "l_left_button"
|
||||
|
||||
label reinstall_vscode:
|
||||
python hide:
|
||||
manifest = "vscode"
|
||||
renpy.invoke_in_new_context(installer.manifest, "https://www.renpy.org/extensions/{}/{}.py".format(manifest, manifest), renpy=True)
|
||||
|
||||
jump editor_preference
|
||||
|
||||
|
||||
label editor_preference:
|
||||
call screen editor
|
||||
jump preferences
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
|
||||
# Copyright 2004-2021 Tom Rothamel <pytom@bishoujo.us>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person
|
||||
# obtaining a copy of this software and associated documentation files
|
||||
@@ -25,6 +25,41 @@ init python:
|
||||
|
||||
import datetime
|
||||
|
||||
import os
|
||||
import subprocess
|
||||
|
||||
class OpenDirectory(Action):
|
||||
"""
|
||||
Opens `directory` in a file browser. `directory` is relative to
|
||||
the project root.
|
||||
"""
|
||||
|
||||
alt = _("Open [text] directory.")
|
||||
|
||||
def __init__(self, directory, absolute=False):
|
||||
if absolute:
|
||||
self.directory = directory
|
||||
else:
|
||||
self.directory = os.path.join(project.current.path, directory)
|
||||
|
||||
def get_sensitive(self):
|
||||
return os.path.exists(self.directory)
|
||||
|
||||
def __call__(self):
|
||||
|
||||
try:
|
||||
directory = renpy.fsencode(self.directory)
|
||||
|
||||
if renpy.windows:
|
||||
os.startfile(directory)
|
||||
elif renpy.macintosh:
|
||||
subprocess.Popen([ "open", directory ])
|
||||
else:
|
||||
subprocess.Popen([ "xdg-open", directory ])
|
||||
|
||||
except:
|
||||
pass
|
||||
|
||||
# Used for testing.
|
||||
def Relaunch():
|
||||
renpy.quit(relaunch=True)
|
||||
@@ -159,11 +194,11 @@ screen front_page_project:
|
||||
frame style "l_indent":
|
||||
has vbox
|
||||
|
||||
textbutton _("game") action OpenDirectory(os.path.join(p.path, "game"), absolute=True)
|
||||
textbutton _("base") action OpenDirectory(os.path.join(p.path, "."), absolute=True)
|
||||
textbutton _("images") action OpenDirectory(os.path.join(p.path, "game/images"), absolute=True)
|
||||
textbutton _("audio") action OpenDirectory(os.path.join(p.path, "game/audio"), absolute=True)
|
||||
textbutton _("gui") action OpenDirectory(os.path.join(p.path, "game/gui"), absolute=True)
|
||||
textbutton _("game") action OpenDirectory("game")
|
||||
textbutton _("base") action OpenDirectory(".")
|
||||
textbutton _("images") action OpenDirectory("game/images")
|
||||
textbutton _("audio") action OpenDirectory("game/audio")
|
||||
textbutton _("gui") action OpenDirectory("game/gui")
|
||||
|
||||
vbox:
|
||||
if persistent.show_edit_funcs:
|
||||
@@ -229,21 +264,9 @@ label start:
|
||||
|
||||
jump expression renpy.session.pop("launcher_start_label", "front_page")
|
||||
|
||||
default persistent.has_chosen_language = False
|
||||
|
||||
default persistent.has_update = False
|
||||
|
||||
label front_page:
|
||||
|
||||
if (not persistent.has_chosen_language) or ("RENPY_CHOOSE_LANGUAGE" in os.environ):
|
||||
|
||||
if (_preferences.language is None) or ("RENPY_CHOOSE_LANGUAGE" in os.environ):
|
||||
hide screen bottom_info
|
||||
call choose_language
|
||||
show screen bottom_info
|
||||
|
||||
$ persistent.has_chosen_language = True
|
||||
|
||||
if persistent.daily_update_check and ((not persistent.last_update_check) or (datetime.date.today() > persistent.last_update_check)):
|
||||
python hide:
|
||||
persistent.last_update_check = datetime.date.today()
|
||||
|
||||
+22
-16
@@ -1,4 +1,4 @@
|
||||
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
|
||||
# Copyright 2004-2021 Tom Rothamel <pytom@bishoujo.us>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person
|
||||
# obtaining a copy of this software and associated documentation files
|
||||
@@ -31,7 +31,7 @@ init -1 python:
|
||||
|
||||
from store import config
|
||||
|
||||
def translate_font(language, font):
|
||||
def translate_font(language, font, path=None):
|
||||
"""
|
||||
Selects the font file that is used when translating `language`.
|
||||
|
||||
@@ -39,17 +39,26 @@ init -1 python:
|
||||
Is the name of the font file used for both the launcher and
|
||||
the new GUI template. This should be a string giving the name
|
||||
of the font file.
|
||||
|
||||
`path`
|
||||
The path to the font file, relative to the launcher's game
|
||||
directory. If not given, defaults to fonts.
|
||||
"""
|
||||
|
||||
if path is None:
|
||||
path = "fonts"
|
||||
|
||||
fullfont = path + "/" + font
|
||||
|
||||
def callback():
|
||||
gui.REGULAR_FONT = font
|
||||
gui.LIGHT_FONT = font
|
||||
gui.REGULAR_FONT = fullfont
|
||||
gui.LIGHT_FONT = fullfont
|
||||
gui.REGULAR_BOLD = True
|
||||
|
||||
style._default.font = font
|
||||
style.default.font = font
|
||||
style._default.font = fullfont
|
||||
style.default.font = fullfont
|
||||
|
||||
gui.system_font = font
|
||||
gui.system_font = fullfont
|
||||
gui.project_system_font = font
|
||||
|
||||
config.language_callbacks[language].append(callback)
|
||||
@@ -57,7 +66,7 @@ init -1 python:
|
||||
def s(s):
|
||||
return '"' + s + '"'
|
||||
|
||||
gui7.translate_copy(language, "sdk-fonts/" + font, font)
|
||||
gui7.translate_copy(language, fullfont, font)
|
||||
gui7.translate_define(language, "gui.text_font", s(font))
|
||||
gui7.translate_define(language, "gui.name_text_font", s(font))
|
||||
gui7.translate_define(language, "gui.interface_text_font", s(font))
|
||||
@@ -328,18 +337,15 @@ label gui_project_size:
|
||||
|
||||
python:
|
||||
|
||||
default_size = (1920, 1080)
|
||||
|
||||
gui_size = interface.choice(
|
||||
_("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."),
|
||||
_("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 1280x720 is a reasonable compromise."),
|
||||
[
|
||||
((1066, 600), "1066x600"),
|
||||
((1280, 720), "1280x720"),
|
||||
((1920, 1080), "1920x1080"),
|
||||
((2560, 1440), "2560x1440"),
|
||||
((3840, 2160), "3840x2160"),
|
||||
("custom", _("Custom. The GUI is optimized for a 16:9 aspect ratio.")),
|
||||
],
|
||||
default_size,
|
||||
(1280, 720),
|
||||
cancel=Jump("front_page"),
|
||||
)
|
||||
|
||||
@@ -356,7 +362,7 @@ label gui_project_size:
|
||||
|
||||
try:
|
||||
gui_width = int(gui_width)
|
||||
except Exception:
|
||||
except:
|
||||
interface.error(_("The width must be a number."), label=None)
|
||||
continue
|
||||
break
|
||||
@@ -372,7 +378,7 @@ label gui_project_size:
|
||||
|
||||
try:
|
||||
gui_height = int(gui_height)
|
||||
except Exception:
|
||||
except:
|
||||
interface.error(_("The height must be a number."), label=None)
|
||||
continue
|
||||
break
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
|
||||
# Copyright 2004-2021 Tom Rothamel <pytom@bishoujo.us>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person
|
||||
# obtaining a copy of this software and associated documentation files
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
|
||||
# Copyright 2004-2021 Tom Rothamel <pytom@bishoujo.us>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person
|
||||
# obtaining a copy of this software and associated documentation files
|
||||
@@ -356,7 +356,7 @@ class CodeGenerator(object):
|
||||
def copy_files(self):
|
||||
|
||||
for src, dst in language_copies[self.p.language]:
|
||||
src = os.path.join(renpy.config.renpy_base, src)
|
||||
src = os.path.join(renpy.config.gamedir, src)
|
||||
dst = os.path.join(self.p.prefix, dst)
|
||||
|
||||
if os.path.exists(dst):
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
|
||||
# Copyright 2004-2021 Tom Rothamel <pytom@bishoujo.us>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person
|
||||
# obtaining a copy of this software and associated documentation files
|
||||
@@ -52,7 +52,7 @@ class ImageGenerator(object):
|
||||
|
||||
try:
|
||||
os.mkdir(self.prefix, 0o777)
|
||||
except Exception:
|
||||
except:
|
||||
pass
|
||||
|
||||
self.full_width = self.width / self.scale
|
||||
@@ -121,7 +121,7 @@ class ImageGenerator(object):
|
||||
|
||||
try:
|
||||
os.makedirs(dn, 0o777)
|
||||
except Exception:
|
||||
except:
|
||||
pass
|
||||
|
||||
if os.path.exists(fn):
|
||||
@@ -145,7 +145,12 @@ class ImageGenerator(object):
|
||||
if not self.p.skip_backup:
|
||||
os.rename(fn, bfn)
|
||||
|
||||
pygame_sdl2.image.save(s, fn, 3)
|
||||
import cStringIO
|
||||
sio = cStringIO.StringIO()
|
||||
renpy.display.module.save_png(s, sio, 3)
|
||||
|
||||
with open(fn, "wb") as f:
|
||||
f.write(sio.getvalue())
|
||||
|
||||
def make_surface(self, width, height):
|
||||
return pygame_sdl2.Surface((width, height), pygame_sdl2.SRCALPHA)
|
||||
@@ -404,19 +409,6 @@ class ImageGenerator(object):
|
||||
self.save(s, "main_menu", overwrite=False)
|
||||
self.save(s, "game_menu", overwrite=False)
|
||||
|
||||
def generate_bubble(self):
|
||||
|
||||
import shutil
|
||||
|
||||
source = os.path.join(config.renpy_base, "gui", "game", "gui", "bubble.png")
|
||||
dest = os.path.join(self.prefix, "bubble.png")
|
||||
|
||||
if source == dest:
|
||||
return
|
||||
|
||||
shutil.copyfile(source, dest)
|
||||
|
||||
|
||||
def generate_all(self):
|
||||
self.generate_textbox()
|
||||
self.generate_choice_button()
|
||||
@@ -428,7 +420,6 @@ class ImageGenerator(object):
|
||||
self.generate_notify()
|
||||
self.generate_menus()
|
||||
self.generate_icon()
|
||||
self.generate_bubble()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
|
||||
# Copyright 2004-2021 Tom Rothamel <pytom@bishoujo.us>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person
|
||||
# obtaining a copy of this software and associated documentation files
|
||||
@@ -99,7 +99,7 @@ class GuiParameters(object):
|
||||
|
||||
GOOD_CHARACTERS = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_"
|
||||
|
||||
simple_name = "".join(i for i in name if i in GOOD_CHARACTERS)
|
||||
simple_name = "".join(i for i in name if i in GOOD_CHARACTERS).encode("ascii")
|
||||
|
||||
if not simple_name:
|
||||
simple_name = "game"
|
||||
|
||||
+42
-56
@@ -1,4 +1,4 @@
|
||||
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
|
||||
# Copyright 2004-2021 Tom Rothamel <pytom@bishoujo.us>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person
|
||||
# obtaining a copy of this software and associated documentation files
|
||||
@@ -62,7 +62,7 @@ init python:
|
||||
if not os.path.exists(os.path.dirname(dstfn)):
|
||||
try:
|
||||
os.makedirs(os.path.dirname(dstfn))
|
||||
except Exception:
|
||||
except:
|
||||
pass
|
||||
|
||||
renpy.write_log(fn + " -> " + dstfn)
|
||||
@@ -73,7 +73,7 @@ init python:
|
||||
|
||||
try:
|
||||
os.chmod(dstfn, 0o755)
|
||||
except Exception:
|
||||
except:
|
||||
pass
|
||||
|
||||
interface.info(_("Successfully installed [name!t]."), name=name)
|
||||
@@ -82,16 +82,12 @@ init python:
|
||||
label install_live2d:
|
||||
python hide:
|
||||
|
||||
if PY2:
|
||||
_prefix = r"lib/py2-"
|
||||
else:
|
||||
_prefix = r"lib/py3-"
|
||||
|
||||
patterns = [
|
||||
(r".*/Core/dll/linux/x86_64/(libLive2DCubismCore.so)", _prefix + r"linux-x86_64/\1"),
|
||||
(r".*/Core/dll/windows/x86_64/(Live2DCubismCore.dll)", _prefix + r"windows-x86_64/\1"),
|
||||
(r".*/Core/dll/macos/(libLive2DCubismCore.dylib)", _prefix + r"mac-universal/\1"),
|
||||
(r".*/Core/dll/experimental/rpi/(libLive2DCubismCore.so)", _prefix + r"linux-armv7l/\1"),
|
||||
(r".*/Core/dll/linux/x86_64/(libLive2DCubismCore.so)", r"lib/linux-x86_64/\1"),
|
||||
(r".*/Core/dll/windows/x86_64/(Live2DCubismCore.dll)", r"lib/windows-x86_64/\1"),
|
||||
(r".*/Core/dll/windows/x86/(Live2DCubismCore.dll)", r"lib/windows-i686/\1"),
|
||||
(r".*/Core/dll/macos/(libLive2DCubismCore.dylib)", r"lib/mac-x86_64/\1"),
|
||||
(r".*/Core/dll/experimental/rpi/(libLive2DCubismCore.so)", r"lib/linux-armv7l/\1"),
|
||||
|
||||
(r".*/Core/dll/android/(armeabi-v7a/libLive2DCubismCore.so)", r"rapt/prototype/renpyandroid/src/main/jniLibs/\1"),
|
||||
(r".*/Core/dll/android/(arm64-v8a/libLive2DCubismCore.so)", r"rapt/prototype/renpyandroid/src/main/jniLibs/\1"),
|
||||
@@ -104,48 +100,7 @@ label install_live2d:
|
||||
|
||||
jump front_page
|
||||
|
||||
screen install_preferences():
|
||||
|
||||
frame:
|
||||
style "l_indent"
|
||||
has vbox
|
||||
|
||||
text _("This screen allows you to install libraries that can't be distributed with Ren'Py. Some of these libraries may require you to agree to a third-party license before being used or distributed.")
|
||||
|
||||
add SPACER
|
||||
|
||||
if not achievement.has_steam:
|
||||
|
||||
textbutton _("Install Steam Support"):
|
||||
action Jump("install_steam")
|
||||
|
||||
add HALF_SPACER
|
||||
|
||||
frame:
|
||||
style "l_indent"
|
||||
has vbox
|
||||
|
||||
text _("Before installing Steam support, please make sure you are a {a=https://partner.steamgames.com/}Steam partner{/a}.")
|
||||
|
||||
else:
|
||||
|
||||
textbutton _("Install Steam Support")
|
||||
|
||||
add HALF_SPACER
|
||||
|
||||
frame:
|
||||
style "l_indent"
|
||||
has vbox
|
||||
|
||||
text _("Steam support has already been installed.")
|
||||
|
||||
add SPACER
|
||||
|
||||
textbutton _("Install Live2D Cubism SDK for Native"):
|
||||
action Jump("prompt_live2d")
|
||||
|
||||
|
||||
screen install_live2d():
|
||||
screen install():
|
||||
|
||||
frame:
|
||||
style_group "l"
|
||||
@@ -170,6 +125,10 @@ screen install_live2d():
|
||||
|
||||
has vbox
|
||||
|
||||
text _("This screen allows you to install libraries that can't be distributed with Ren'Py. Some of these libraries may require you to agree to a third-party license before being used or distributed.")
|
||||
|
||||
add HALF_SPACER
|
||||
|
||||
add SPACER
|
||||
|
||||
textbutton _("Install Live2D Cubism SDK for Native"):
|
||||
@@ -187,6 +146,33 @@ screen install_live2d():
|
||||
|
||||
text _("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.")
|
||||
|
||||
add SPACER
|
||||
|
||||
|
||||
if not achievement.has_steam:
|
||||
|
||||
textbutton _("Install Steam Support"):
|
||||
action Jump("install_steam")
|
||||
|
||||
add HALF_SPACER
|
||||
|
||||
frame:
|
||||
style "l_indent"
|
||||
has vbox
|
||||
|
||||
text _("Before installing Steam support, please make sure you are a {a=https://partner.steamgames.com/}Steam partner{/a}.")
|
||||
|
||||
else:
|
||||
|
||||
textbutton _("Install Steam Support")
|
||||
|
||||
add HALF_SPACER
|
||||
|
||||
frame:
|
||||
style "l_indent"
|
||||
has vbox
|
||||
|
||||
text _("Steam support has already been installed.")
|
||||
|
||||
|
||||
textbutton _("Cancel") action Return(False) style "l_left_button"
|
||||
@@ -194,8 +180,8 @@ screen install_live2d():
|
||||
|
||||
timer 2.0 action renpy.restart_interaction repeat True
|
||||
|
||||
label prompt_live2d:
|
||||
call screen install_live2d
|
||||
label install:
|
||||
call screen install
|
||||
jump preferences
|
||||
|
||||
label install_steam:
|
||||
|
||||
@@ -1,499 +0,0 @@
|
||||
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person
|
||||
# obtaining a copy of this software and associated documentation files
|
||||
# (the "Software"), to deal in the Software without restriction,
|
||||
# including without limitation the rights to use, copy, modify, merge,
|
||||
# publish, distribute, sublicense, and/or sell copies of the Software,
|
||||
# and to permit persons to whom the Software is furnished to do so,
|
||||
# subject to the following conditions:
|
||||
#
|
||||
# The above copyright notice and this permission notice shall be
|
||||
# included in all copies or substantial portions of the Software.
|
||||
#
|
||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
import hashlib
|
||||
import os
|
||||
import time
|
||||
import requests
|
||||
import zipfile
|
||||
import tarfile
|
||||
import shutil
|
||||
import subprocess
|
||||
import renpy
|
||||
import stat
|
||||
|
||||
VERSION = 1
|
||||
|
||||
# True if the installer should run in quiet mode.
|
||||
quiet = False
|
||||
|
||||
from store import _, config, interface, project, Jump # type: ignore
|
||||
|
||||
temp_exists = False
|
||||
|
||||
def _ensure_temp():
|
||||
"""
|
||||
Ensures that the directories needed by the extension API are present.
|
||||
"""
|
||||
|
||||
global temp_exists
|
||||
|
||||
if temp_exists:
|
||||
return
|
||||
|
||||
backups = os.path.join(config.renpy_base, "tmp", "installer", "backups")
|
||||
|
||||
try:
|
||||
if not os.path.exists(backups):
|
||||
os.makedirs(os.path.dirname(backups))
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
temp_exists = True
|
||||
|
||||
# The target directory that the extensions API operates on.
|
||||
target = None
|
||||
|
||||
def set_target(directory):
|
||||
"""
|
||||
This sets the directory that the extension API targets. This is where
|
||||
packages are unpacked to and the default working directory where the
|
||||
programs are run.
|
||||
"""
|
||||
|
||||
global target
|
||||
target = directory
|
||||
|
||||
_clean("temp:", 3)
|
||||
|
||||
|
||||
def _path(filename):
|
||||
"""
|
||||
Returns the full path to `filename`. If `filename` starts with the
|
||||
prefix temp:, it's placed in the temp directory. If the filename
|
||||
starts with backup, a backup filename is returned. Otherwise,
|
||||
the path is interpreted relative to the target directory.
|
||||
"""
|
||||
|
||||
_ensure_temp()
|
||||
|
||||
tempdir = os.path.join(config.renpy_base, "tmp", "installer")
|
||||
backups = os.path.join(config.renpy_base, "tmp", "installer", "backups")
|
||||
|
||||
prefix, _, rest = filename.partition(":")
|
||||
|
||||
if prefix == "temp":
|
||||
return os.path.join(tempdir, rest)
|
||||
|
||||
if prefix == "backup":
|
||||
base = os.path.basename(rest.rpartition(":")[2])
|
||||
return os.path.join(backups, base + "." + str(time.time()))
|
||||
|
||||
if prefix == "renpy":
|
||||
return os.path.join(config.renpy_base, rest)
|
||||
|
||||
if target is None:
|
||||
raise Exception("The target directory has not been set.")
|
||||
|
||||
return os.path.join(target, filename)
|
||||
|
||||
|
||||
def _clean(directory, age=3):
|
||||
"""
|
||||
Removes files from `directory` that are older than `age` days.
|
||||
"""
|
||||
|
||||
directory = _path(directory)
|
||||
|
||||
for root, dirs, files in os.walk(directory, topdown=False):
|
||||
for f in files:
|
||||
filename = os.path.join(root, f)
|
||||
mtime = os.stat(filename).st_mtime
|
||||
if time.time() - mtime > age * 86400:
|
||||
try:
|
||||
os.unlink(filename)
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
|
||||
if root != directory:
|
||||
|
||||
try:
|
||||
os.rmdir(root)
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
|
||||
def _friendly(filename):
|
||||
"""
|
||||
Returns a version of the filename without any leading prefix.
|
||||
"""
|
||||
|
||||
return filename.rpartition(":")[2]
|
||||
|
||||
|
||||
def _check_hash(filename, hashj):
|
||||
"""
|
||||
Returns a cryptographic hash of `filename`. `filename` should
|
||||
be a full path, one returned by temp or path.
|
||||
"""
|
||||
|
||||
try:
|
||||
|
||||
sha = hashlib.sha256()
|
||||
|
||||
with open(filename, "rb") as f:
|
||||
while True:
|
||||
data = f.read(1024 * 1024)
|
||||
if not data:
|
||||
break
|
||||
|
||||
sha.update(data)
|
||||
|
||||
return sha.hexdigest() == hash
|
||||
|
||||
except Exception:
|
||||
return False
|
||||
|
||||
# The name and url of the file that is currently being downloaded. This is meant to
|
||||
# to be used by the interface screens to show the user what files are being
|
||||
# downloaded.
|
||||
download_file = ""
|
||||
download_url = ""
|
||||
|
||||
def download(url, filename, hash=None):
|
||||
"""
|
||||
Downloads `url` to `filename`, a tempfile.
|
||||
"""
|
||||
global download_url
|
||||
|
||||
global download_file
|
||||
|
||||
download_url = url
|
||||
download_file = _friendly(filename)
|
||||
|
||||
filename = _path(filename)
|
||||
|
||||
if hash is not None:
|
||||
if _check_hash(filename, hash):
|
||||
return
|
||||
|
||||
progress_time = time.time()
|
||||
|
||||
try:
|
||||
|
||||
response = requests.get(url, stream=True)
|
||||
response.raise_for_status()
|
||||
|
||||
total_size = int(response.headers.get('content-length', 1))
|
||||
|
||||
downloaded = 0
|
||||
|
||||
with open(filename, "wb") as f:
|
||||
|
||||
for i in response.iter_content(65536):
|
||||
|
||||
f.write(i)
|
||||
downloaded += len(i)
|
||||
|
||||
if time.time() - progress_time > 0.1:
|
||||
progress_time = time.time()
|
||||
if not quiet:
|
||||
interface.processing(
|
||||
_("Downloading [installer.download_file]..."),
|
||||
complete=downloaded, total=total_size)
|
||||
|
||||
except requests.HTTPError as e:
|
||||
if not quiet:
|
||||
raise
|
||||
|
||||
interface.error(_("Could not download [installer.download_file] from [installer.download_url]:\n{b}[installer.download_error]"))
|
||||
|
||||
if hash is not None:
|
||||
if not quiet:
|
||||
raise Exception("Hash check failed.")
|
||||
if not _check_hash(filename, hash):
|
||||
interface.error(_("The downloaded file [installer.download_file] from [installer.download_url] is not correct."))
|
||||
|
||||
class _FixedZipFile(zipfile.ZipFile):
|
||||
"""
|
||||
A patched version of zipfile.ZipFile that adds support for:
|
||||
|
||||
* Unix permissions bits.
|
||||
* Unix symbolic links.
|
||||
"""
|
||||
|
||||
def _extract_member(self, member, targetpath, pwd):
|
||||
|
||||
if not isinstance(member, zipfile.ZipInfo):
|
||||
member = self.getinfo(member)
|
||||
|
||||
# build the destination pathname, replacing
|
||||
# forward slashes to platform specific separators.
|
||||
arcname = member.filename.replace('/', os.path.sep)
|
||||
|
||||
if os.path.altsep:
|
||||
arcname = arcname.replace(os.path.altsep, os.path.sep)
|
||||
# interpret absolute pathname as relative, remove drive letter or
|
||||
# UNC path, redundant separators, "." and ".." components.
|
||||
arcname = os.path.splitdrive(arcname)[1]
|
||||
invalid_path_parts = ('', os.path.curdir, os.path.pardir)
|
||||
arcname = os.path.sep.join(x for x in arcname.split(os.path.sep) if x not in invalid_path_parts)
|
||||
|
||||
targetpath = os.path.join(targetpath, arcname)
|
||||
targetpath = os.path.normpath(targetpath)
|
||||
|
||||
# Create all upper directories if necessary.
|
||||
upperdirs = os.path.dirname(targetpath)
|
||||
if upperdirs and not os.path.exists(upperdirs):
|
||||
os.makedirs(upperdirs)
|
||||
|
||||
if member.filename.endswith("/"):
|
||||
if not os.path.isdir(targetpath):
|
||||
os.mkdir(targetpath)
|
||||
return targetpath
|
||||
|
||||
attr = member.external_attr >> 16
|
||||
|
||||
if stat.S_ISLNK(attr):
|
||||
|
||||
with self.open(member, pwd=pwd) as source:
|
||||
linkto = source.read()
|
||||
|
||||
os.symlink(linkto, targetpath)
|
||||
|
||||
else:
|
||||
|
||||
with self.open(member, pwd=pwd) as source, open(targetpath, "wb") as target:
|
||||
shutil.copyfileobj(source, target)
|
||||
|
||||
if attr:
|
||||
os.chmod(targetpath, attr)
|
||||
|
||||
return targetpath
|
||||
|
||||
|
||||
# The name of the archive being unpacked.
|
||||
unpack_archive = ""
|
||||
|
||||
|
||||
def unpack(archive, destination):
|
||||
"""
|
||||
Unpacks `archive` to `destination`. `archive` should be the name of
|
||||
a zip or (perhaps compressed) tar file. `destination` should be a
|
||||
directory that the contents are unpacked into.
|
||||
"""
|
||||
|
||||
global unpack_archive
|
||||
unpack_archive = _friendly(archive)
|
||||
|
||||
if not quiet:
|
||||
interface.processing(_("Unpacking [installer.unpack_archive]..."))
|
||||
|
||||
archive = _path(archive)
|
||||
destination = _path(destination)
|
||||
|
||||
if not os.path.exists(destination):
|
||||
os.makedirs(destination)
|
||||
|
||||
old_cwd = os.getcwd()
|
||||
|
||||
try:
|
||||
|
||||
os.chdir(destination)
|
||||
|
||||
if tarfile.is_tarfile(archive):
|
||||
tar = tarfile.open(archive)
|
||||
tar.extractall(".")
|
||||
tar.close()
|
||||
|
||||
elif zipfile.is_zipfile(archive):
|
||||
zip = _FixedZipFile(archive)
|
||||
zip.extractall(".")
|
||||
zip.close()
|
||||
|
||||
else:
|
||||
raise Exception("Unknown file type.")
|
||||
|
||||
finally:
|
||||
os.chdir(old_cwd)
|
||||
|
||||
|
||||
def exists(filename):
|
||||
"""
|
||||
Returns true if `filename` exists.
|
||||
"""
|
||||
|
||||
return os.path.exists(_path(filename))
|
||||
|
||||
|
||||
def remove(filename):
|
||||
"""
|
||||
Removes a file or directory from the target directory, backing it up
|
||||
the temporary directory.
|
||||
"""
|
||||
|
||||
if not exists(filename):
|
||||
return
|
||||
|
||||
backup = _path("backup:" + filename)
|
||||
shutil.move(_path(filename), backup)
|
||||
|
||||
# Now, touch everything so _cleanup doesn't get it too quickly.
|
||||
|
||||
if os.path.isdir(backup):
|
||||
for root, dirs, files in os.walk(backup):
|
||||
for f in files:
|
||||
try:
|
||||
os.utime(os.path.join(root, f), None)
|
||||
except Exception:
|
||||
pass
|
||||
else:
|
||||
try:
|
||||
os.utime(backup, None)
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
def move(old_filename, new_filename):
|
||||
"""
|
||||
Moves a filename from `old_filename` to `new_filename`.
|
||||
"""
|
||||
|
||||
remove(new_filename)
|
||||
shutil.move(_path(old_filename), _path(new_filename))
|
||||
|
||||
|
||||
def mkdir(dirname):
|
||||
"""
|
||||
Makes the named directory.
|
||||
"""
|
||||
|
||||
if not os.path.exists(_path(dirname)):
|
||||
os.makedirs(_path(dirname))
|
||||
|
||||
|
||||
def info(message, **kwargs):
|
||||
"""
|
||||
Displays `message` to the user, asking them to click through or
|
||||
cancel.
|
||||
"""
|
||||
|
||||
interface.info(message, cancel=Jump("front_page"), **kwargs)
|
||||
|
||||
|
||||
def processing(message, **kwargs):
|
||||
"""
|
||||
Displays `message` to the user, without waiting.
|
||||
"""
|
||||
|
||||
interface.processing(message, **kwargs)
|
||||
|
||||
|
||||
def error(message, **kwargs):
|
||||
"""
|
||||
Displays `message` to the user, as an error.
|
||||
"""
|
||||
|
||||
interface.error(message)
|
||||
|
||||
|
||||
install_args = [ ]
|
||||
install_error = ""
|
||||
|
||||
def run(*args, **kwargs):
|
||||
"""
|
||||
Runs a program with the given arguments, in the target directory.
|
||||
"""
|
||||
|
||||
environ = { renpy.exports.fsencode(k) : renpy.exports.fsencode(v) for k, v in os.environ.items() }
|
||||
|
||||
for k, v in kwargs.pop("environ", {}).items():
|
||||
environ[renpy.exports.fsencode(k)] = renpy.exports.fsencode(v)
|
||||
|
||||
global install_args
|
||||
global install_error
|
||||
|
||||
args = [ renpy.exports.fsencode(i) for i in args ]
|
||||
|
||||
try:
|
||||
subprocess.check_call(args, cwd=target, env=environ) # type: ignore
|
||||
except Exception as e:
|
||||
install_args = args
|
||||
install_error = str(e)
|
||||
|
||||
interface.error(_("Could not run [installer.install_args!r]:\n[installer.install_error]"))
|
||||
|
||||
|
||||
_renpy = renpy
|
||||
|
||||
def manifest(url, renpy=False, insecure=False):
|
||||
"""
|
||||
Executes the manifest at `url`.
|
||||
|
||||
`renpy`
|
||||
If true, the manifest applies to Ren'Py. If False, the manifest applies
|
||||
to the current project.
|
||||
|
||||
`insecure`
|
||||
If true, verificaiton is disabled.
|
||||
"""
|
||||
|
||||
import ecdsa
|
||||
|
||||
download(url, "temp:manifest.py")
|
||||
|
||||
with open(_path("temp:manifest.py"), "rb") as f:
|
||||
manifest = f.read()
|
||||
|
||||
if not insecure:
|
||||
download(url + ".sig", "temp:manifest.py.sig")
|
||||
|
||||
with open(_path("temp:manifest.py.sig"), "rb") as f:
|
||||
sig = f.read()
|
||||
|
||||
key = ecdsa.VerifyingKey.from_pem(_renpy.exports.file("renpy_ecdsa_public.pem").read())
|
||||
|
||||
if not key.verify(sig, manifest):
|
||||
error(_("The manifest signature is not valid."))
|
||||
return
|
||||
|
||||
if renpy:
|
||||
set_target(config.renpy_base)
|
||||
else:
|
||||
if project.current is None:
|
||||
error(_("No project has been selected."))
|
||||
return
|
||||
|
||||
set_target(project.current.path)
|
||||
|
||||
exec(manifest.decode("utf-8"), {}, {})
|
||||
|
||||
|
||||
def local_manifest(filename, renpy=False):
|
||||
"""
|
||||
Executes the manifest in `filename`.
|
||||
|
||||
`renpy`
|
||||
If true, the manifest applies to Ren'Py. If False, the manifest applies
|
||||
to the current project.
|
||||
"""
|
||||
|
||||
if renpy:
|
||||
set_target(config.renpy_base)
|
||||
else:
|
||||
if project.current is None:
|
||||
error(_("No project has been selected."))
|
||||
return
|
||||
|
||||
set_target(project.current.path)
|
||||
|
||||
with open(filename, "r") as f:
|
||||
exec(f.read(), {}, {})
|
||||
@@ -1,12 +0,0 @@
|
||||
|
||||
# This file imports the extensions API into the default store, and makes it
|
||||
# also contains the strings used by the extensions API, so the Ren'Py translation
|
||||
# framework can find them.
|
||||
|
||||
init python:
|
||||
import installer
|
||||
|
||||
init python hide:
|
||||
_("Downloading [extension.download_file].")
|
||||
_("Could not download [extension.download_file] from [extension.download_url]:\n{b}[extension.download_error]")
|
||||
_("The downloaded file [extension.download_file] from [extension.download_url] is not correct.")
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
|
||||
# Copyright 2004-2021 Tom Rothamel <pytom@bishoujo.us>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person
|
||||
# obtaining a copy of this software and associated documentation files
|
||||
@@ -29,6 +29,7 @@ init python in interface:
|
||||
import contextlib
|
||||
|
||||
RENPY_URL = "http://www.renpy.org"
|
||||
RENPY_GAMES_URL = "http://games.renpy.org"
|
||||
DOC_PATH = os.path.join(config.renpy_base, "doc/index.html")
|
||||
DOC_URL = "http://www.renpy.org/doc/html/"
|
||||
|
||||
@@ -88,10 +89,6 @@ init python in interface:
|
||||
finally:
|
||||
links = True
|
||||
|
||||
# Version.
|
||||
import re
|
||||
version = re.sub(r'\.\d+(\w*)$', r'\1', renpy.version())
|
||||
|
||||
# This displays the bottom of the screen. If the tooltip is not None, this displays the
|
||||
# tooltip. Otherwise, it displays a list of links (to various websites, and to the
|
||||
# preferences and update screen), or is just blank.
|
||||
@@ -121,7 +118,8 @@ screen bottom_info:
|
||||
spacing INDENT
|
||||
textbutton _("Documentation") style "l_link" action interface.OpenDocumentation()
|
||||
textbutton _("Ren'Py Website") style "l_link" action OpenURL(interface.RENPY_URL)
|
||||
textbutton _("[interface.version]") style "l_link" action Jump("about")
|
||||
textbutton _("Ren'Py Games List") style "l_link" action OpenURL(interface.RENPY_GAMES_URL)
|
||||
textbutton _("About") style "l_link" action Jump("about")
|
||||
|
||||
hbox:
|
||||
spacing INDENT
|
||||
@@ -170,7 +168,7 @@ screen common:
|
||||
has vbox
|
||||
|
||||
text message:
|
||||
textalign 0.5
|
||||
text_align 0.5
|
||||
xalign 0.5
|
||||
layout "subtitle"
|
||||
|
||||
@@ -211,7 +209,7 @@ screen common:
|
||||
add SPACER
|
||||
|
||||
text submessage:
|
||||
textalign 0.5
|
||||
text_align 0.5
|
||||
xalign 0.5
|
||||
layout "subtitle"
|
||||
|
||||
@@ -250,7 +248,7 @@ screen launcher_input:
|
||||
has vbox
|
||||
|
||||
text message:
|
||||
textalign 0.5
|
||||
text_align 0.5
|
||||
xalign 0.5
|
||||
layout "subtitle"
|
||||
|
||||
@@ -439,7 +437,7 @@ init python in interface:
|
||||
|
||||
try:
|
||||
rv.encode("ascii")
|
||||
except Exception:
|
||||
except:
|
||||
error(_("File and directory names must consist of ASCII characters."), label=None)
|
||||
continue
|
||||
|
||||
|
||||
+5
-44
@@ -1,4 +1,4 @@
|
||||
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
|
||||
# Copyright 2004-2021 Tom Rothamel <pytom@bishoujo.us>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person
|
||||
# obtaining a copy of this software and associated documentation files
|
||||
@@ -152,33 +152,6 @@ init python:
|
||||
|
||||
ios_populate(p, gui=gui, target=target)
|
||||
|
||||
|
||||
def eliminate_pycache(directory):
|
||||
"""
|
||||
Eliminates the __pycache__ directory, and moves the files in it up a level,
|
||||
renaming them to remove the cache tag.
|
||||
"""
|
||||
|
||||
print("Eliminating __pycache__...")
|
||||
|
||||
if PY2:
|
||||
return
|
||||
|
||||
import pathlib
|
||||
import sys
|
||||
|
||||
paths = list(pathlib.Path(directory).glob("**/__pycache__/*.pyc"))
|
||||
|
||||
for p in paths:
|
||||
name = p.stem.partition(".")[0]
|
||||
p.rename(p.parent.parent / (name + ".pyc"))
|
||||
|
||||
paths = list(pathlib.Path(directory).glob("**/__pycache__"))
|
||||
|
||||
for p in paths:
|
||||
p.rmdir()
|
||||
|
||||
|
||||
def ios_populate(p=None, gui=True, target=None):
|
||||
"""
|
||||
This actually builds the package.
|
||||
@@ -208,8 +181,6 @@ init python:
|
||||
report_success=False,
|
||||
)
|
||||
|
||||
eliminate_pycache(dist)
|
||||
|
||||
main_fn = os.path.join(dist, "main.py")
|
||||
|
||||
for fn in os.listdir(dist):
|
||||
@@ -241,17 +212,10 @@ init python:
|
||||
|
||||
def launch_xcode():
|
||||
dist = xcode_project(None)
|
||||
name = project.current.dump.get("name", None)
|
||||
xcodeproj = "{}/{}.xcodeproj".format(dist, name)
|
||||
|
||||
if not os.path.exists(dist):
|
||||
return
|
||||
|
||||
for fn in os.listdir(dist):
|
||||
if fn.endswith(".xcodeproj"):
|
||||
xcodeproj = os.path.join(dist, fn)
|
||||
subprocess.call([ 'open', renpy.fsencode(xcodeproj) ])
|
||||
|
||||
break
|
||||
|
||||
subprocess.call([ 'open', renpy.fsencode(xcodeproj) ])
|
||||
|
||||
screen ios:
|
||||
|
||||
@@ -336,10 +300,6 @@ screen ios:
|
||||
action IOSIfState(state, IOS_OK, launch_xcode)
|
||||
hovered tt.Action(IOS_XCODE_TEXT)
|
||||
|
||||
add SPACER
|
||||
|
||||
textbutton _("Force Recompile") action DataToggle("force_recompile") style "l_checkbox"
|
||||
|
||||
add SPACER
|
||||
add SEPARATOR2
|
||||
|
||||
@@ -455,3 +415,4 @@ init python:
|
||||
return False
|
||||
|
||||
renpy.arguments.register_command("ios_populate", ios_populate_command)
|
||||
|
||||
|
||||
+13
-8
@@ -1,4 +1,4 @@
|
||||
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
|
||||
# Copyright 2004-2021 Tom Rothamel <pytom@bishoujo.us>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person
|
||||
# obtaining a copy of this software and associated documentation files
|
||||
@@ -23,8 +23,6 @@ init python:
|
||||
|
||||
def find_itch_butler():
|
||||
|
||||
import requests
|
||||
|
||||
if renpy.windows:
|
||||
platform = "windows-amd64"
|
||||
exe = "butler.exe"
|
||||
@@ -46,16 +44,23 @@ init python:
|
||||
|
||||
try:
|
||||
os.makedirs(dn)
|
||||
except Exception:
|
||||
except:
|
||||
pass
|
||||
|
||||
import urllib2
|
||||
|
||||
with interface.error_handling(_("Downloading the itch.io butler.")):
|
||||
url = "https://broth.itch.ovh/butler/{}/LATEST/archive/default".format(platform)
|
||||
|
||||
response = requests.get(url, headers={'User-Agent' : "Renpy"})
|
||||
req = urllib2.Request(url, headers={'User-Agent' : "Renpy"})
|
||||
response = urllib2.urlopen(req, context=ssl_context())
|
||||
|
||||
with open(zip, "wb") as f:
|
||||
f.write(response.content)
|
||||
while True:
|
||||
data = response.read(1024 * 1024)
|
||||
if not data:
|
||||
break
|
||||
|
||||
f.write(data)
|
||||
|
||||
import zipfile
|
||||
|
||||
@@ -64,7 +69,7 @@ init python:
|
||||
|
||||
try:
|
||||
os.chmod(exe, 0o755)
|
||||
except Exception:
|
||||
except:
|
||||
pass
|
||||
|
||||
return exe
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
|
||||
# Copyright 2004-2021 Tom Rothamel <pytom@bishoujo.us>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person
|
||||
# obtaining a copy of this software and associated documentation files
|
||||
@@ -23,7 +23,7 @@ init python hide:
|
||||
import os
|
||||
|
||||
macapp = os.path.join(config.renpy_base, "renpy.app/Contents/MacOS")
|
||||
maclib = os.path.join(config.renpy_base, distribute.py("lib/py{major}-mac-universal"))
|
||||
maclib = os.path.join(config.renpy_base, "lib/mac-x86_64")
|
||||
|
||||
if os.path.exists(maclib):
|
||||
|
||||
@@ -45,7 +45,7 @@ init python hide:
|
||||
os.chmod(nfn, 0o755)
|
||||
os.unlink(fn)
|
||||
|
||||
except Exception:
|
||||
except:
|
||||
pass
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
|
||||
# Copyright 2004-2021 Tom Rothamel <pytom@bishoujo.us>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person
|
||||
# obtaining a copy of this software and associated documentation files
|
||||
@@ -32,7 +32,7 @@ init -1 python:
|
||||
if not renpy.loadable(fn1):
|
||||
return True
|
||||
|
||||
hash1 = renpy.file(fn1).read().decode("utf-8")
|
||||
hash1 = renpy.file(fn1).read()
|
||||
|
||||
if not os.path.exists(fn2):
|
||||
return False
|
||||
@@ -99,10 +99,6 @@ init -1 python:
|
||||
interface.processing(prompt, pause=False)
|
||||
self.log(prompt)
|
||||
|
||||
def open_directory(self, directory, prompt):
|
||||
renpy.run(store.OpenDirectory(directory, absolute=True))
|
||||
interface.info(prompt)
|
||||
|
||||
def yesno(self, prompt, submessage=None):
|
||||
return interface.yesno(prompt, submessage=submessage)
|
||||
|
||||
@@ -159,11 +155,12 @@ init -1 python:
|
||||
|
||||
try:
|
||||
while self.run_yes:
|
||||
self.process.stdin.write(b'y\n')
|
||||
self.process.stdin.write('y\n')
|
||||
self.process.stdin.flush()
|
||||
time.sleep(.2)
|
||||
except Exception:
|
||||
pass
|
||||
except:
|
||||
import traceback
|
||||
traceback.print_exc()
|
||||
|
||||
def call(self, cmd, cancel=False, use_path=False, yes=False):
|
||||
|
||||
@@ -173,7 +170,7 @@ init -1 python:
|
||||
|
||||
self.cmd = cmd
|
||||
|
||||
f = open(self.filename, "a")
|
||||
f = open(self.filename, "ab")
|
||||
|
||||
f.write("\n\n\n")
|
||||
|
||||
@@ -199,7 +196,7 @@ init -1 python:
|
||||
# avoid SIGTTIN caused by e.g. gradle doing empty read on terminal stdin
|
||||
if not yes:
|
||||
self.process.stdin.close()
|
||||
except Exception:
|
||||
except:
|
||||
import traceback
|
||||
traceback.print_exc(file=f)
|
||||
raise
|
||||
@@ -219,11 +216,7 @@ init -1 python:
|
||||
if yes and self.yes_thread:
|
||||
self.run_yes = False
|
||||
self.yes_thread.join()
|
||||
|
||||
try:
|
||||
self.process.stdin.close()
|
||||
except Exception:
|
||||
pass
|
||||
self.process.stdin.close()
|
||||
|
||||
self.process = None
|
||||
self.yes_thread = None
|
||||
@@ -269,3 +262,4 @@ init -1 python:
|
||||
self.process.terminate()
|
||||
|
||||
renpy.jump(self.platform)
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
|
||||
# Copyright 2004-2021 Tom Rothamel <pytom@bishoujo.us>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person
|
||||
# obtaining a copy of this software and associated documentation files
|
||||
@@ -249,7 +249,7 @@ screen navigation:
|
||||
if persistent.navigation == "todo":
|
||||
|
||||
text _("No TODO comments found.\n\nTo create one, include \"# TODO\" in your script."):
|
||||
textalign 0.5
|
||||
text_align 0.5
|
||||
xalign 0.5
|
||||
yalign 0.5
|
||||
|
||||
@@ -279,3 +279,4 @@ label navigation_loop:
|
||||
label navigation_refresh:
|
||||
$ project.current.update_dump(True)
|
||||
jump navigation_loop
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
|
||||
# Copyright 2004-2021 Tom Rothamel <pytom@bishoujo.us>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person
|
||||
# obtaining a copy of this software and associated documentation files
|
||||
@@ -41,7 +41,7 @@ init python:
|
||||
try:
|
||||
if (language is None) or os.path.exists(os.path.join(config.renpy_base, "templates", language)):
|
||||
legacy = True
|
||||
except Exception:
|
||||
except:
|
||||
pass
|
||||
|
||||
if new and legacy:
|
||||
@@ -74,11 +74,11 @@ label new_project:
|
||||
cancel=Jump("front_page"),
|
||||
)
|
||||
else:
|
||||
new_project_language = __("{#language name and font}")
|
||||
new_project_language = (_preferences.language or "english").title()
|
||||
gui_kind = "new_gui_project"
|
||||
|
||||
# When translating this, feel free to replace [new_project_language] with the translation of your language.
|
||||
interface.info(_("You will be creating an [new_project_language]{#this substitution may be localized} language project. Change the launcher language in preferences to create a project in another language."), cancel=Jump("front_page"))
|
||||
interface.info(_("You will be creating an [new_project_language]{#this substitution may be localized} language project. Change the launcher language in preferences to create a project in another language."))
|
||||
|
||||
python:
|
||||
project_name = ""
|
||||
|
||||
+39
-76
@@ -1,4 +1,4 @@
|
||||
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
|
||||
# Copyright 2004-2021 Tom Rothamel <pytom@bishoujo.us>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person
|
||||
# obtaining a copy of this software and associated documentation files
|
||||
@@ -30,9 +30,6 @@
|
||||
|
||||
init -1 python hide:
|
||||
|
||||
# Update the searchpath to find additional fonts.
|
||||
config.searchpath.append(config.renpy_base + "/sdk-fonts")
|
||||
|
||||
# Should we enable the use of developer tools? This should be
|
||||
# set to False before the game is released, so the user can't
|
||||
# cheat using developer tools.
|
||||
@@ -270,8 +267,23 @@ init python:
|
||||
build.classify_renpy("**/thumbs.db", None)
|
||||
build.classify_renpy("**/.*", None)
|
||||
|
||||
# Atom rules. These have to be very early, since Atom uses names like
|
||||
# tmp for packages.
|
||||
build.classify_renpy("atom/", "atom-all source_only")
|
||||
build.classify_renpy("atom/Atom.edit.py", "atom-all source_only")
|
||||
build.classify_renpy("atom/default-dot-atom/**", "atom-all")
|
||||
build.classify_renpy("atom/atom-windows/**", "atom-windows")
|
||||
build.classify_renpy("atom/Atom.app/**", "atom-mac")
|
||||
build.classify_renpy("atom/atom-linux**", "atom-linux")
|
||||
|
||||
try:
|
||||
with open(os.path.join(config.renpy_base, "atom", "executable.txt")) as f:
|
||||
for l in f:
|
||||
build.executable(l.strip())
|
||||
except:
|
||||
pass
|
||||
|
||||
build.classify_renpy("rapt/**/libLive2DCubismCore.so", None)
|
||||
build.classify_renpy("rapt/symbols/", None)
|
||||
build.classify_renpy("rapt/**", "rapt")
|
||||
build.executable("rapt/prototype/gradlew")
|
||||
|
||||
@@ -290,6 +302,7 @@ init python:
|
||||
build.classify_renpy("**.old", None)
|
||||
build.classify_renpy("**.new", None)
|
||||
build.classify_renpy("**.bak", None)
|
||||
build.classify_renpy("**.pyc", None)
|
||||
|
||||
build.classify_renpy("**/log.txt", None)
|
||||
build.classify_renpy("**/traceback.txt", None)
|
||||
@@ -302,70 +315,33 @@ init python:
|
||||
|
||||
# main source.
|
||||
|
||||
def source_and_binary(pattern, source="source", binary="binary", py=True):
|
||||
def source_and_binary(pattern, source="source", binary="binary"):
|
||||
"""
|
||||
Classifies source and binary files beginning with `pattern`.
|
||||
.pyo, .rpyc, .rpycm, and .rpyb go into binary, everything
|
||||
else but .pyi files go into source.
|
||||
else goes into source.
|
||||
"""
|
||||
|
||||
if py is True:
|
||||
py = 'pyo' if PY2 else 'pycache'
|
||||
|
||||
if py == 'pycache':
|
||||
build.classify_renpy(pattern + "/**__pycache__/", binary)
|
||||
build.classify_renpy(pattern + "/**__pycache__/*.{}.pyc".format(sys.implementation.cache_tag), binary)
|
||||
build.classify_renpy(pattern + "/**.pyc", None)
|
||||
build.classify_renpy(pattern + "/**.pyo", None)
|
||||
|
||||
elif py == 'pyc':
|
||||
build.classify_renpy(pattern + "/**__pycache__/", None)
|
||||
build.classify_renpy(pattern + "/**.pyc", binary)
|
||||
build.classify_renpy(pattern + "/**.pyo", None)
|
||||
|
||||
elif py == 'pyo':
|
||||
build.classify_renpy(pattern + "/**__pycache__/", None)
|
||||
build.classify_renpy(pattern + "/**.pyc", None)
|
||||
build.classify_renpy(pattern + "/**.pyo", binary)
|
||||
|
||||
else:
|
||||
build.classify_renpy(pattern + "/**__pycache__/", None)
|
||||
build.classify_renpy(pattern + "/**.pyc", None)
|
||||
build.classify_renpy(pattern + "/**.pyo", None)
|
||||
|
||||
build.classify_renpy(pattern + "/**.pyi", None)
|
||||
|
||||
build.classify_renpy(pattern + "/**.pyo", binary)
|
||||
build.classify_renpy(pattern + "/**.rpyc", binary)
|
||||
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)
|
||||
|
||||
build.classify_renpy(pattern + "/**", source)
|
||||
|
||||
|
||||
build.classify_renpy("renpy.py", "binary")
|
||||
source_and_binary("renpy")
|
||||
|
||||
# games.
|
||||
build.classify_renpy("launcher/game/theme/", None)
|
||||
build.classify_renpy("gui/game/gui/", None)
|
||||
|
||||
build.classify_renpy("gui/game/gui/", "source")
|
||||
build.classify_renpy("gui/game/gui/bubble.png", "source")
|
||||
build.classify_renpy("gui/game/gui/*", None)
|
||||
|
||||
source_and_binary("launcher", py=False)
|
||||
source_and_binary("gui", binary=None, py=False)
|
||||
source_and_binary("launcher")
|
||||
source_and_binary("gui", binary=None)
|
||||
|
||||
source_and_binary("the_question")
|
||||
source_and_binary("tutorial")
|
||||
|
||||
# extra fonts.
|
||||
build.classify_renpy("sdk-fonts/**", "source")
|
||||
|
||||
# docs.
|
||||
build.classify_renpy("doc/", "source")
|
||||
build.classify_renpy("doc/.doctrees/", None)
|
||||
@@ -394,58 +370,45 @@ init python:
|
||||
build.classify_renpy("module/pysdlsound/*.py", "source")
|
||||
build.classify_renpy("module/pysdlsound/*.pyx", "source")
|
||||
build.classify_renpy("module/fribidi-src/**", "source")
|
||||
build.classify_renpy("module/tinyfiledialogs/**", "source")
|
||||
|
||||
# all-platforms binary.
|
||||
build.classify_renpy("lib/**/_renpysteam*", "steam")
|
||||
build.classify_renpy("lib/**/*steam_api*", "steam")
|
||||
build.classify_renpy("lib/**/*Live2D*", None)
|
||||
build.classify_renpy("lib/linux-armv7l/", "raspi")
|
||||
build.classify_renpy("lib/linux-armv7l/**", "raspi")
|
||||
build.classify_renpy("lib/**", "binary")
|
||||
build.classify_renpy("renpy.sh", "binary")
|
||||
# renpy.app is now built from scratch from distribute.rpy.
|
||||
|
||||
if PY2:
|
||||
build.classify_renpy("lib/py2-linux-armv7l/**", "linux_arm")
|
||||
build.classify_renpy("lib/py2-linux-aarch64/**", "linux_arm")
|
||||
source_and_binary("lib/py2-**", "binary", "binary")
|
||||
source_and_binary("lib/python2**", "binary", "binary")
|
||||
build.classify_renpy("renpy2.sh", "binary")
|
||||
else:
|
||||
build.classify_renpy("lib/py3-linux-armv7l/**", "linux_arm")
|
||||
build.classify_renpy("lib/py3-linux-aarch64/**", "linux_arm")
|
||||
source_and_binary("lib/py3-**", "binary", "binary")
|
||||
source_and_binary("lib/python3**", "binary", "binary", py='pyc')
|
||||
build.classify_renpy("renpy3.sh", "binary")
|
||||
|
||||
build.classify_renpy("lib/", "binary")
|
||||
# jedit rules.
|
||||
build.classify_renpy("jedit/**", "jedit")
|
||||
|
||||
# Packages.
|
||||
build.packages = [ ]
|
||||
|
||||
build.package("sdk", "zip tar.bz2 dmg", "source binary")
|
||||
build.package("sdkarm", "tar.bz2", "source binary linux_arm")
|
||||
build.package("source", "tar.bz2", "source source_only", update=False)
|
||||
build.package("raspi", "tar.bz2", "raspi", dlc=True, update=False)
|
||||
build.package("steam", "zip", "steam", dlc=True)
|
||||
|
||||
build.package("jedit", "zip", "jedit", dlc=True)
|
||||
|
||||
build.package("atom-linux", "tar.bz2", "atom-all atom-linux", dlc=True)
|
||||
build.package("atom-mac", "zip", "atom-all atom-mac", dlc=True)
|
||||
build.package("atom-windows", "zip", "atom-all atom-windows", dlc=True)
|
||||
|
||||
build.package("rapt", "zip", "rapt", dlc=True)
|
||||
build.package("renios", "zip", "renios", dlc=True)
|
||||
build.package("web", "zip", "web", dlc=True)
|
||||
|
||||
# The identifier for the SDK.
|
||||
define build.mac_info_plist["CFBundleIdentifier"] = "org.renpy.sdk"
|
||||
|
||||
# Enable the special launcher translation mode.
|
||||
define config.translate_launcher = True
|
||||
|
||||
# Allow clicks that focus the window to be processed.
|
||||
define config.mouse_focus_clickthrough = True
|
||||
|
||||
# Reduce the rate of screen updates.
|
||||
default preferences.gl_powersave = True
|
||||
|
||||
# Enable rtl.
|
||||
define config.rtl = True
|
||||
|
||||
# Disable steam.
|
||||
python early:
|
||||
config.enable_steam = False
|
||||
|
||||
# Since the launcher can be run directly or can be run from the SDK directory,
|
||||
# uneliding files needs to be handled slightly differently.
|
||||
define config.alternate_unelide_path = os.path.join(config.basedir, "launcher")
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
|
||||
# Copyright 2004-2021 Tom Rothamel <pytom@bishoujo.us>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person
|
||||
# obtaining a copy of this software and associated documentation files
|
||||
@@ -31,110 +31,96 @@ init python in distribute:
|
||||
import sys
|
||||
import threading
|
||||
|
||||
from renpy import six
|
||||
from zipfile import crc32
|
||||
|
||||
|
||||
# Since the long type doesn't exist on py3, define it here
|
||||
if not PY2:
|
||||
if six.PY3:
|
||||
long = int
|
||||
|
||||
zlib.Z_DEFAULT_COMPRESSION = 5
|
||||
|
||||
if PY2:
|
||||
class ZipFile(zipfile.ZipFile):
|
||||
|
||||
class ZipFile(zipfile.ZipFile):
|
||||
|
||||
def write_with_info(self, zinfo, filename):
|
||||
"""Put the bytes from filename into the archive under the name
|
||||
arcname."""
|
||||
if not self.fp:
|
||||
raise RuntimeError(
|
||||
"Attempt to write to ZIP archive that was already closed")
|
||||
def write_with_info(self, zinfo, filename):
|
||||
"""Put the bytes from filename into the archive under the name
|
||||
arcname."""
|
||||
if not self.fp:
|
||||
raise RuntimeError(
|
||||
"Attempt to write to ZIP archive that was already closed")
|
||||
|
||||
st = os.stat(filename)
|
||||
isdir = stat.S_ISDIR(st.st_mode)
|
||||
st = os.stat(filename)
|
||||
isdir = stat.S_ISDIR(st.st_mode)
|
||||
|
||||
zinfo.file_size = st.st_size
|
||||
zinfo.flag_bits = 0x00
|
||||
zinfo.header_offset = self.fp.tell() # Start of header bytes
|
||||
zinfo.file_size = st.st_size
|
||||
zinfo.flag_bits = 0x00
|
||||
zinfo.header_offset = self.fp.tell() # Start of header bytes
|
||||
|
||||
self._writecheck(zinfo)
|
||||
self._didModify = True
|
||||
self._writecheck(zinfo)
|
||||
self._didModify = True
|
||||
|
||||
if isdir:
|
||||
zinfo.file_size = 0
|
||||
zinfo.compress_size = 0
|
||||
zinfo.CRC = 0
|
||||
self.filelist.append(zinfo)
|
||||
self.NameToInfo[zinfo.filename] = zinfo
|
||||
self.fp.write(zinfo.FileHeader())
|
||||
return
|
||||
if isdir:
|
||||
zinfo.file_size = 0
|
||||
zinfo.compress_size = 0
|
||||
zinfo.CRC = 0
|
||||
self.filelist.append(zinfo)
|
||||
self.NameToInfo[zinfo.filename] = zinfo
|
||||
self.fp.write(zinfo.FileHeader())
|
||||
return
|
||||
|
||||
with open(filename, "rb") as fp:
|
||||
# Must overwrite CRC and sizes with correct data later
|
||||
zinfo.CRC = CRC = 0
|
||||
zinfo.compress_size = compress_size = 0
|
||||
file_size = 0
|
||||
with open(filename, "rb") as fp:
|
||||
# Must overwrite CRC and sizes with correct data later
|
||||
zinfo.CRC = CRC = 0
|
||||
zinfo.compress_size = compress_size = 0
|
||||
file_size = 0
|
||||
|
||||
zip64 = self._allowZip64 and \
|
||||
zinfo.file_size * 1.05 > zipfile.ZIP64_LIMIT
|
||||
|
||||
self.fp.write(zinfo.FileHeader(zip64))
|
||||
|
||||
if zinfo.compress_type == zipfile.ZIP_DEFLATED:
|
||||
cmpr = zlib.compressobj(zlib.Z_DEFAULT_COMPRESSION,
|
||||
zlib.DEFLATED, -15)
|
||||
else:
|
||||
cmpr = None
|
||||
while 1:
|
||||
buf = fp.read(1024 * 1024)
|
||||
if not buf:
|
||||
break
|
||||
file_size = file_size + len(buf)
|
||||
CRC = crc32(buf, CRC) & 0xffffffff
|
||||
if cmpr:
|
||||
buf = cmpr.compress(buf)
|
||||
compress_size = compress_size + len(buf)
|
||||
self.fp.write(buf)
|
||||
if cmpr:
|
||||
buf = cmpr.flush()
|
||||
compress_size = compress_size + len(buf)
|
||||
self.fp.write(buf)
|
||||
zinfo.compress_size = compress_size
|
||||
else:
|
||||
zinfo.compress_size = file_size
|
||||
zinfo.CRC = CRC
|
||||
zinfo.file_size = file_size
|
||||
|
||||
if not zip64 and self._allowZip64:
|
||||
if file_size > zipfile.ZIP64_LIMIT:
|
||||
raise RuntimeError('File size has increased during compressing')
|
||||
if compress_size > zipfile.ZIP64_LIMIT:
|
||||
raise RuntimeError('Compressed size larger than uncompressed size')
|
||||
|
||||
# Seek backwards and write CRC and file sizes
|
||||
position = self.fp.tell() # Preserve current position in file
|
||||
self.fp.seek(zinfo.header_offset, 0)
|
||||
zip64 = self._allowZip64 and \
|
||||
zinfo.file_size * 1.05 > zipfile.ZIP64_LIMIT
|
||||
|
||||
self.fp.write(zinfo.FileHeader(zip64))
|
||||
|
||||
self.fp.seek(position, 0)
|
||||
self.filelist.append(zinfo)
|
||||
self.NameToInfo[zinfo.filename] = zinfo
|
||||
|
||||
else:
|
||||
|
||||
class ZipFile(zipfile.ZipFile):
|
||||
|
||||
def write_with_info(self, zinfo, filename):
|
||||
|
||||
if zinfo.filename.endswith("/"):
|
||||
data = b''
|
||||
if zinfo.compress_type == zipfile.ZIP_DEFLATED:
|
||||
cmpr = zlib.compressobj(zlib.Z_DEFAULT_COMPRESSION,
|
||||
zlib.DEFLATED, -15)
|
||||
else:
|
||||
with open(filename, "rb") as f:
|
||||
data = f.read()
|
||||
cmpr = None
|
||||
while 1:
|
||||
buf = fp.read(1024 * 1024)
|
||||
if not buf:
|
||||
break
|
||||
file_size = file_size + len(buf)
|
||||
CRC = crc32(buf, CRC) & 0xffffffff
|
||||
if cmpr:
|
||||
buf = cmpr.compress(buf)
|
||||
compress_size = compress_size + len(buf)
|
||||
self.fp.write(buf)
|
||||
if cmpr:
|
||||
buf = cmpr.flush()
|
||||
compress_size = compress_size + len(buf)
|
||||
self.fp.write(buf)
|
||||
zinfo.compress_size = compress_size
|
||||
else:
|
||||
zinfo.compress_size = file_size
|
||||
zinfo.CRC = CRC
|
||||
zinfo.file_size = file_size
|
||||
|
||||
self.writestr(zinfo, data)
|
||||
if not zip64 and self._allowZip64:
|
||||
if file_size > zipfile.ZIP64_LIMIT:
|
||||
raise RuntimeError('File size has increased during compressing')
|
||||
if compress_size > zipfile.ZIP64_LIMIT:
|
||||
raise RuntimeError('Compressed size larger than uncompressed size')
|
||||
|
||||
# Seek backwards and write CRC and file sizes
|
||||
position = self.fp.tell() # Preserve current position in file
|
||||
self.fp.seek(zinfo.header_offset, 0)
|
||||
|
||||
self.fp.write(zinfo.FileHeader(zip64))
|
||||
|
||||
self.fp.seek(position, 0)
|
||||
self.filelist.append(zinfo)
|
||||
self.NameToInfo[zinfo.filename] = zinfo
|
||||
|
||||
|
||||
class ZipPackage(object):
|
||||
@@ -158,7 +144,7 @@ init python in distribute:
|
||||
# Check that the time is sensible.
|
||||
if rv[0] < 2000:
|
||||
rv = None
|
||||
except Exception:
|
||||
except:
|
||||
rv = None
|
||||
|
||||
if rv is None:
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
+146
-280
@@ -1,4 +1,4 @@
|
||||
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
|
||||
# Copyright 2004-2021 Tom Rothamel <pytom@bishoujo.us>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person
|
||||
# obtaining a copy of this software and associated documentation files
|
||||
@@ -20,33 +20,36 @@
|
||||
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
init python:
|
||||
from math import ceil
|
||||
|
||||
if persistent.show_edit_funcs is None:
|
||||
persistent.show_edit_funcs = True
|
||||
|
||||
if persistent.windows_console is None:
|
||||
persistent.windows_console = False
|
||||
|
||||
def scan_translations(piglatin=True):
|
||||
def scan_translations():
|
||||
|
||||
languages = renpy.known_languages()
|
||||
|
||||
if not languages:
|
||||
return None
|
||||
|
||||
languages.remove("piglatin")
|
||||
rv = [ ( "English", None) ]
|
||||
|
||||
rv = [(i, renpy.translate_string("{#language name and font}", i)) for i in languages ]
|
||||
rv.sort(key=lambda a : renpy.filter_text_tags(a[1], allow=[]).lower())
|
||||
for i in languages:
|
||||
rv.append((i.title(), i))
|
||||
|
||||
rv.insert(0, (None, "English"))
|
||||
for i in (("Schinese", "schinese"), ("Tchinese", "tchinese")):
|
||||
if i in rv:
|
||||
rv.remove(i)
|
||||
rv.append(({"schinese": "Simplified Chinese", "tchinese": "Traditional Chinese"}.get(i[1]), i[1]))
|
||||
|
||||
if piglatin:
|
||||
rv.append(("piglatin", "Igpay Atinlay"))
|
||||
rv.sort()
|
||||
|
||||
bound = ceil(len(rv)/3.)
|
||||
return (rv[:bound], rv[bound:2*bound], rv[2*bound:])
|
||||
if ("Piglatin", "piglatin") in rv:
|
||||
rv.remove(("Piglatin", "piglatin"))
|
||||
rv.append(("Pig Latin", "piglatin"))
|
||||
|
||||
return rv
|
||||
|
||||
show_legacy = os.path.exists(os.path.join(config.renpy_base, "templates", "english", "game", "script.rpy"))
|
||||
|
||||
@@ -58,23 +61,11 @@ init python:
|
||||
default persistent.legacy = False
|
||||
default persistent.force_new_tutorial = False
|
||||
default persistent.sponsor_message = True
|
||||
default persistent.daily_update_check = True
|
||||
default persistent.daily_update_check_once = False
|
||||
default persistent.daily_update_check = False
|
||||
|
||||
# Keep the default update check from triggering until tomorrow.
|
||||
default persistent.last_update_check = datetime.date.today()
|
||||
screen preferences:
|
||||
|
||||
init python:
|
||||
if not persistent.daily_update_check_once:
|
||||
persistent.daily_update_check_once = True
|
||||
persistent.daily_update_check = True
|
||||
|
||||
|
||||
default preference_tab = "general"
|
||||
|
||||
screen preferences():
|
||||
|
||||
default translations = scan_translations()
|
||||
$ translations = scan_translations()
|
||||
|
||||
frame:
|
||||
style_group "l"
|
||||
@@ -101,216 +92,162 @@ screen preferences():
|
||||
# Projects directory selection.
|
||||
add SEPARATOR2
|
||||
|
||||
add HALF_SPACER
|
||||
frame:
|
||||
style "l_indent"
|
||||
yminimum 75
|
||||
has vbox
|
||||
|
||||
textbutton _("General") action SetVariable("preference_tab", "general") style "l_list"
|
||||
textbutton _("Options") action SetVariable("preference_tab", "options") style "l_list"
|
||||
textbutton _("Theme") action SetVariable("preference_tab", "theme") style "l_list"
|
||||
textbutton _("Install Libraries") action SetVariable("preference_tab", "install") style "l_list"
|
||||
textbutton _("Actions") action SetVariable("preference_tab", "actions") style "l_list"
|
||||
text _("Projects Directory:")
|
||||
|
||||
add HALF_SPACER
|
||||
|
||||
|
||||
if preference_tab == "general":
|
||||
frame style "l_indent":
|
||||
if persistent.projects_directory:
|
||||
textbutton _("[persistent.projects_directory!q]"):
|
||||
action Jump("projects_directory_preference")
|
||||
alt _("Projects directory: [text]")
|
||||
else:
|
||||
textbutton _("Not Set"):
|
||||
action Jump("projects_directory_preference")
|
||||
alt _("Projects directory: [text]")
|
||||
|
||||
|
||||
add SPACER
|
||||
|
||||
# Text editor selection.
|
||||
add SEPARATOR2
|
||||
|
||||
frame:
|
||||
style "l_indent"
|
||||
xmaximum TWOTHIRDS
|
||||
yminimum 75
|
||||
has vbox
|
||||
|
||||
text _("Text Editor:")
|
||||
|
||||
add HALF_SPACER
|
||||
|
||||
frame style "l_indent":
|
||||
if persistent.editor:
|
||||
textbutton persistent.editor action Jump("editor_preference") alt _("Text editor: [text]")
|
||||
else:
|
||||
textbutton _("Not Set") action Jump("editor_preference") alt _("Text editor: [text]")
|
||||
|
||||
add SPACER
|
||||
|
||||
add SEPARATOR2
|
||||
|
||||
frame:
|
||||
style "l_indent"
|
||||
yminimum 75
|
||||
has vbox
|
||||
|
||||
text _("Actions:")
|
||||
|
||||
add HALF_SPACER
|
||||
|
||||
textbutton _("Install libraries") style "l_nonbox" action Jump("install")
|
||||
textbutton _("Open launcher project") style "l_nonbox" action [ project.Select("launcher"), Jump("front_page") ]
|
||||
textbutton _("Reset window size") style "l_nonbox" action Preference("display", 1.0)
|
||||
|
||||
|
||||
frame:
|
||||
style "l_indent"
|
||||
xmaximum ONETHIRD
|
||||
xfill True
|
||||
|
||||
has vbox
|
||||
add SEPARATOR2
|
||||
|
||||
frame:
|
||||
style "l_indent"
|
||||
yminimum 75
|
||||
has vbox
|
||||
|
||||
text _("Navigation Options:")
|
||||
|
||||
add HALF_SPACER
|
||||
|
||||
textbutton _("Include private names") style "l_checkbox" action ToggleField(persistent, "navigate_private")
|
||||
textbutton _("Include library names") style "l_checkbox" action ToggleField(persistent, "navigate_library")
|
||||
|
||||
add SPACER
|
||||
add SEPARATOR2
|
||||
|
||||
frame:
|
||||
style "l_indent"
|
||||
yminimum 75
|
||||
has vbox
|
||||
|
||||
text _("Launcher Options:")
|
||||
|
||||
add HALF_SPACER
|
||||
|
||||
textbutton _("Show edit file section") style "l_checkbox" action ToggleField(persistent, "show_edit_funcs")
|
||||
textbutton _("Large fonts") style "l_checkbox" action [ ToggleField(persistent, "large_print"), renpy.utter_restart ]
|
||||
|
||||
if renpy.windows:
|
||||
textbutton _("Console output") style "l_checkbox" action ToggleField(persistent, "windows_console")
|
||||
|
||||
if project.manager.get("oldtutorial"):
|
||||
|
||||
textbutton _("Force new tutorial") style "l_checkbox" action [ ToggleField(persistent, "force_new_tutorial"), project.SelectTutorial(True) ]
|
||||
|
||||
if show_legacy:
|
||||
|
||||
textbutton _("Legacy options") style "l_checkbox" action ToggleField(persistent, "legacy")
|
||||
|
||||
if persistent.legacy:
|
||||
textbutton _("Show templates") style "l_checkbox" action ToggleField(persistent, "show_templates")
|
||||
|
||||
textbutton _("Sponsor message") style "l_checkbox" action ToggleField(persistent, "sponsor_message")
|
||||
|
||||
if ability.can_update:
|
||||
textbutton _("Daily check for update") style "l_checkbox" action [ToggleField(persistent, "daily_update_check"), SetField(persistent, "last_update_check", None)] selected persistent.daily_update_check
|
||||
|
||||
add HALF_SPACER
|
||||
|
||||
textbutton _("Default theme") style "l_checkbox" action [SetField(persistent, "theme", None), RestartAtPreferences() ]
|
||||
# textbutton _("Clear theme") style "l_checkbox" action [SetField(persistent, "theme", "clear", None), RestartAtPreferences() ]
|
||||
textbutton _("Dark theme") style "l_checkbox" action [SetField(persistent, "theme", "dark", None), RestartAtPreferences()]
|
||||
textbutton _("Custom theme") style "l_checkbox" action [SetField(persistent, "theme", "custom", None), RestartAtPreferences()]
|
||||
|
||||
|
||||
if translations:
|
||||
|
||||
frame:
|
||||
style "l_indent"
|
||||
xmaximum ONETHIRD
|
||||
xfill True
|
||||
|
||||
has vbox
|
||||
|
||||
# Projects directory selection.
|
||||
add SEPARATOR2
|
||||
|
||||
|
||||
frame:
|
||||
style "l_indent"
|
||||
|
||||
has vbox
|
||||
|
||||
text _("Projects Directory:")
|
||||
|
||||
add HALF_SPACER
|
||||
|
||||
|
||||
frame style "l_indent":
|
||||
if persistent.projects_directory:
|
||||
textbutton _("[persistent.projects_directory!q]"):
|
||||
action Jump("projects_directory_preference")
|
||||
alt _("Projects directory: [text]")
|
||||
else:
|
||||
textbutton _("Not Set"):
|
||||
action Jump("projects_directory_preference")
|
||||
alt _("Projects directory: [text]")
|
||||
|
||||
add SPACER
|
||||
|
||||
# Text editor selection.
|
||||
add SEPARATOR2
|
||||
|
||||
frame:
|
||||
style "l_indent"
|
||||
has vbox
|
||||
|
||||
text _("Text Editor:")
|
||||
|
||||
add HALF_SPACER
|
||||
|
||||
frame style "l_indent":
|
||||
if persistent.editor:
|
||||
textbutton persistent.editor action Jump("editor_preference") alt _("Text editor: [text]")
|
||||
else:
|
||||
textbutton _("Not Set") action Jump("editor_preference") alt _("Text editor: [text]")
|
||||
|
||||
add SPACER
|
||||
|
||||
add SEPARATOR2
|
||||
|
||||
frame:
|
||||
style "l_indent"
|
||||
yminimum 75
|
||||
has vbox
|
||||
|
||||
text _("Language:")
|
||||
|
||||
add HALF_SPACER
|
||||
|
||||
hbox:
|
||||
for tran in translations:
|
||||
vbox:
|
||||
for tlid, tlname in tran:
|
||||
textbutton tlname:
|
||||
xmaximum (TWOTHIRDS//3)
|
||||
action [Language(tlid), project.SelectTutorial(True)]
|
||||
style "l_list"
|
||||
viewport:
|
||||
scrollbars "vertical"
|
||||
mousewheel True
|
||||
|
||||
elif preference_tab == "options":
|
||||
has vbox
|
||||
|
||||
frame:
|
||||
style "l_indent"
|
||||
xmaximum TWOTHIRDS
|
||||
xfill True
|
||||
# frame style "l_indent":
|
||||
|
||||
has vbox
|
||||
add SEPARATOR2
|
||||
|
||||
frame:
|
||||
style "l_indent"
|
||||
has vbox
|
||||
|
||||
text _("Navigation Options:")
|
||||
|
||||
add HALF_SPACER
|
||||
|
||||
textbutton _("Include private names") style "l_checkbox" action ToggleField(persistent, "navigate_private")
|
||||
textbutton _("Include library names") style "l_checkbox" action ToggleField(persistent, "navigate_library")
|
||||
|
||||
add SPACER
|
||||
add SEPARATOR2
|
||||
|
||||
frame:
|
||||
style "l_indent"
|
||||
has vbox
|
||||
|
||||
text _("Launcher Options:")
|
||||
|
||||
add HALF_SPACER
|
||||
|
||||
textbutton _("Show edit file section") style "l_checkbox" action ToggleField(persistent, "show_edit_funcs")
|
||||
textbutton _("Large fonts") style "l_checkbox" action [ ToggleField(persistent, "large_print"), renpy.utter_restart ]
|
||||
|
||||
if renpy.windows:
|
||||
textbutton _("Console output") style "l_checkbox" action ToggleField(persistent, "windows_console")
|
||||
|
||||
textbutton _("Sponsor message") style "l_checkbox" action ToggleField(persistent, "sponsor_message")
|
||||
|
||||
if ability.can_update:
|
||||
textbutton _("Daily check for update") style "l_checkbox" action [ToggleField(persistent, "daily_update_check"), SetField(persistent, "last_update_check", None)] selected persistent.daily_update_check
|
||||
|
||||
|
||||
elif preference_tab == "theme":
|
||||
|
||||
frame:
|
||||
style "l_indent"
|
||||
xmaximum TWOTHIRDS
|
||||
xfill True
|
||||
|
||||
has vbox
|
||||
|
||||
# Projects directory selection.
|
||||
add SEPARATOR2
|
||||
|
||||
frame:
|
||||
style "l_indent"
|
||||
has vbox
|
||||
|
||||
text _("Launcher Theme:")
|
||||
|
||||
add HALF_SPACER
|
||||
|
||||
textbutton _("Default theme") style "l_checkbox" action [SetField(persistent, "theme", None), RestartAtPreferences() ]
|
||||
textbutton _("Dark theme") style "l_checkbox" action [SetField(persistent, "theme", "dark", None), RestartAtPreferences()]
|
||||
textbutton _("Custom theme") style "l_checkbox" action [SetField(persistent, "theme", "custom", None), RestartAtPreferences()]
|
||||
|
||||
add SPACER
|
||||
|
||||
text _("Information about creating a custom theme can be found {a=https://www.renpy.org/doc/html/skins.html}in the Ren'Py Documentation{/a}.")
|
||||
|
||||
elif preference_tab == "install":
|
||||
|
||||
frame:
|
||||
style "l_indent"
|
||||
xmaximum TWOTHIRDS
|
||||
xfill True
|
||||
|
||||
has vbox
|
||||
|
||||
add SEPARATOR2
|
||||
|
||||
frame:
|
||||
style "l_indent"
|
||||
has vbox
|
||||
|
||||
text _("Install Libraries:")
|
||||
|
||||
add HALF_SPACER
|
||||
|
||||
use install_preferences
|
||||
|
||||
|
||||
elif preference_tab == "actions":
|
||||
|
||||
frame:
|
||||
style "l_indent"
|
||||
xmaximum TWOTHIRDS
|
||||
xfill True
|
||||
|
||||
has vbox
|
||||
|
||||
add SEPARATOR2
|
||||
|
||||
frame:
|
||||
style "l_indent"
|
||||
has vbox
|
||||
|
||||
text _("Actions:")
|
||||
|
||||
add HALF_SPACER
|
||||
|
||||
textbutton _("Open launcher project") style "l_nonbox" action [ project.Select("launcher"), Jump("front_page") ]
|
||||
textbutton _("Reset window size") style "l_nonbox" action Preference("display", 1.0)
|
||||
textbutton _("Clean temporary files") style "l_nonbox" action Jump("clean_tmp")
|
||||
for tlname, tlvalue in translations:
|
||||
textbutton tlname action [ Language(tlvalue), project.SelectTutorial(True) ] style "l_list"
|
||||
|
||||
|
||||
textbutton _("Return") action Jump("front_page") style "l_left_button"
|
||||
|
||||
label clean_tmp:
|
||||
python hide:
|
||||
installer.processing(_("Cleaning temporary files..."))
|
||||
installer._clean("renpy:tmp", 0)
|
||||
time.sleep(0.5)
|
||||
|
||||
jump preferences
|
||||
|
||||
label projects_directory_preference:
|
||||
call choose_projects_directory
|
||||
jump preferences
|
||||
@@ -319,74 +256,3 @@ label projects_directory_preference:
|
||||
label preferences:
|
||||
call screen preferences
|
||||
jump preferences
|
||||
|
||||
|
||||
screen choose_language():
|
||||
default local_lang = _preferences.language
|
||||
default chosen_lang = _preferences.language
|
||||
default translations = scan_translations(piglatin=False)
|
||||
|
||||
add BACKGROUND
|
||||
|
||||
vbox:
|
||||
xalign .5
|
||||
yalign .5
|
||||
|
||||
fixed:
|
||||
ysize 0
|
||||
|
||||
text renpy.translate_string(_("{#in language font}Welcome! Please choose a language"), local_lang):
|
||||
xalign .5
|
||||
yanchor 1.0
|
||||
ypos 1.0
|
||||
|
||||
style "l_label_text"
|
||||
|
||||
size 36
|
||||
textalign .5
|
||||
layout "subtitle"
|
||||
|
||||
add SPACER
|
||||
add SPACER
|
||||
|
||||
hbox:
|
||||
xalign .5
|
||||
for tran in translations:
|
||||
vbox:
|
||||
for tlid, tlname in tran:
|
||||
textbutton tlname:
|
||||
xmaximum (TWOTHIRDS//3)
|
||||
action [ SetScreenVariable("chosen_lang", tlid), Language(tlid), project.SelectTutorial(True), Return() ]
|
||||
hovered SetScreenVariable("local_lang", tlid)
|
||||
unhovered SetScreenVariable("local_lang", chosen_lang)
|
||||
style "l_list"
|
||||
text_xalign .5
|
||||
|
||||
add SPACER
|
||||
add SPACER
|
||||
|
||||
$ lang_name = renpy.translate_string("{#language name and font}", local_lang)
|
||||
|
||||
fixed:
|
||||
ysize 0
|
||||
|
||||
textbutton renpy.translate_string(_("{#in language font}Start using Ren'Py in [lang_name]"), local_lang):
|
||||
xalign .5
|
||||
action [Language(chosen_lang), project.SelectTutorial(True), Return()]
|
||||
style "l_default"
|
||||
text_style "l_default"
|
||||
|
||||
text_size 30
|
||||
text_textalign .5
|
||||
text_layout "subtitle"
|
||||
|
||||
|
||||
label choose_language:
|
||||
call screen choose_language
|
||||
return
|
||||
|
||||
|
||||
translate None strings:
|
||||
# game/new_project.rpy:77
|
||||
old "{#language name and font}"
|
||||
new "English"
|
||||
|
||||
+31
-77
@@ -1,4 +1,4 @@
|
||||
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
|
||||
# Copyright 2004-2021 Tom Rothamel <pytom@bishoujo.us>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person
|
||||
# obtaining a copy of this software and associated documentation files
|
||||
@@ -48,7 +48,6 @@ init python in project:
|
||||
_("Press shift+O (the letter) to access the console."),
|
||||
_("Press shift+D to access the developer menu."),
|
||||
_("Have you backed up your projects recently?"),
|
||||
_("Lint checks your game for potential mistakes, and gives you statistics."),
|
||||
]
|
||||
|
||||
class Project(object):
|
||||
@@ -102,9 +101,9 @@ init python in project:
|
||||
|
||||
def load_data(self):
|
||||
try:
|
||||
with open(os.path.join(self.path, "project.json"), "r") as f:
|
||||
with open(os.path.join(self.path, "project.json"), "rb") as f:
|
||||
self.data = json.load(f)
|
||||
except Exception:
|
||||
except:
|
||||
self.data = { }
|
||||
|
||||
self.update_data()
|
||||
@@ -115,9 +114,9 @@ init python in project:
|
||||
"""
|
||||
|
||||
try:
|
||||
with open(os.path.join(self.path, "project.json"), "w") as f:
|
||||
with open(os.path.join(self.path, "project.json"), "wb") as f:
|
||||
json.dump(self.data, f)
|
||||
except Exception:
|
||||
except:
|
||||
self.load_data()
|
||||
|
||||
def update_data(self):
|
||||
@@ -168,7 +167,7 @@ init python in project:
|
||||
|
||||
try:
|
||||
os.makedirs(tmp)
|
||||
except Exception:
|
||||
except:
|
||||
pass
|
||||
|
||||
if os.path.isdir(tmp):
|
||||
@@ -187,7 +186,7 @@ init python in project:
|
||||
self.tmp = tmp
|
||||
return
|
||||
|
||||
except Exception:
|
||||
except:
|
||||
pass
|
||||
|
||||
self.tmp = tempfile.mkdtemp()
|
||||
@@ -240,7 +239,7 @@ init python in project:
|
||||
raise Exception("Python interpreter not found: %r", executables)
|
||||
|
||||
# Put together the basic command line.
|
||||
cmd = [ executable, sys.argv[0] ]
|
||||
cmd = [ executable, "-EO", sys.argv[0] ]
|
||||
|
||||
cmd.append(self.path)
|
||||
cmd.extend(args)
|
||||
@@ -276,13 +275,7 @@ init python in project:
|
||||
|
||||
if wait:
|
||||
if p.wait():
|
||||
|
||||
print("Launch failed. command={!r}, returncode={!r}".format(cmd, p.returncode))
|
||||
|
||||
if args and not self.is_writeable():
|
||||
interface.error(_("Launching the project failed."), _("This may be because the project is not writeable."))
|
||||
else:
|
||||
interface.error(_("Launching the project failed."), _("Please ensure that your project launches normally before running this command."))
|
||||
interface.error(_("Launching the project failed."), _("Please ensure that your project launches normally before running this command."))
|
||||
|
||||
renpy.not_infinite_loop(30)
|
||||
|
||||
@@ -321,7 +314,7 @@ init python in project:
|
||||
# add todo list to dump data
|
||||
self.update_todos()
|
||||
|
||||
except Exception:
|
||||
except:
|
||||
self.dump["error"] = True
|
||||
|
||||
def update_todos(self):
|
||||
@@ -336,18 +329,17 @@ init python in project:
|
||||
|
||||
for f in files:
|
||||
|
||||
data = open(self.unelide_filename(f), encoding="utf-8")
|
||||
data = file(self.unelide_filename(f))
|
||||
|
||||
for l, line in enumerate(data):
|
||||
l += 1
|
||||
|
||||
line = line[:1024]
|
||||
|
||||
if PY2:
|
||||
try:
|
||||
line = line.decode("utf-8")
|
||||
except Exception:
|
||||
continue
|
||||
try:
|
||||
line = line.decode("utf-8")
|
||||
except:
|
||||
continue
|
||||
|
||||
m = re.search(r"#\s*TODO(\s*:\s*|\s+)(.*)", line, re.I)
|
||||
|
||||
@@ -390,18 +382,9 @@ init python in project:
|
||||
can be included in the project.
|
||||
"""
|
||||
|
||||
def is_script(fn):
|
||||
fn = fn.lower()
|
||||
|
||||
for i in [ ".rpy", ".rpym", "_ren.py" ]:
|
||||
if fn.endswith(i):
|
||||
return True
|
||||
|
||||
return False
|
||||
|
||||
rv = [ ]
|
||||
rv.extend(i for i, isdir in util.walk(self.path)
|
||||
if (not isdir) and is_script(i) and (not i.startswith("tmp/")) )
|
||||
if (not isdir) and (i.endswith(".rpy") or i.endswith(".rpym")) and (not i.startswith("tmp/")) )
|
||||
|
||||
return rv
|
||||
|
||||
@@ -412,14 +395,6 @@ init python in project:
|
||||
|
||||
return os.path.exists(os.path.join(self.path, fn))
|
||||
|
||||
def is_writeable(self):
|
||||
"""
|
||||
Returns true if it's possible to write a file in the projects
|
||||
directory.
|
||||
"""
|
||||
|
||||
return os.access(self.path, os.W_OK)
|
||||
|
||||
|
||||
class ProjectManager(object):
|
||||
"""
|
||||
@@ -429,26 +404,26 @@ init python in project:
|
||||
|
||||
def __init__(self):
|
||||
|
||||
# The projects directory.
|
||||
self.projects_directory = ""
|
||||
# The projects directory.
|
||||
self.projects_directory = ""
|
||||
|
||||
# Normal projects, in alphabetical order by lowercase name.
|
||||
self.projects = [ ]
|
||||
# Normal projects, in alphabetical order by lowercase name.
|
||||
self.projects = [ ]
|
||||
|
||||
# Template projects.
|
||||
self.templates = [ ]
|
||||
# Template projects.
|
||||
self.templates = [ ]
|
||||
|
||||
# All projects - normal, template, and hidden.
|
||||
self.all_projects = [ ]
|
||||
# All projects - normal, template, and hidden.
|
||||
self.all_projects = [ ]
|
||||
|
||||
# Directories that have been scanned.
|
||||
self.scanned = set()
|
||||
# Directories that have been scanned.
|
||||
self.scanned = set()
|
||||
|
||||
# The tutorial game, and the language it's for.
|
||||
self.tutoral = None
|
||||
self.tutorial_language = "the meowing of a cat"
|
||||
# The tutorial game, and the language it's for.
|
||||
self.tutoral = None
|
||||
self.tutorial_language = "the meowing of a cat"
|
||||
|
||||
self.scan()
|
||||
self.scan()
|
||||
|
||||
def scan(self):
|
||||
"""
|
||||
@@ -566,7 +541,7 @@ init python in project:
|
||||
|
||||
try:
|
||||
ppath = self.find_basedir(ppath)
|
||||
except Exception:
|
||||
except:
|
||||
return
|
||||
|
||||
if ppath is None:
|
||||
@@ -845,24 +820,3 @@ init python:
|
||||
return False
|
||||
|
||||
renpy.arguments.register_command("get_projects_directory", get_projects_directory_command)
|
||||
|
||||
def set_project_command():
|
||||
ap = renpy.arguments.ArgumentParser()
|
||||
ap.add_argument("project", help="The full path to the project to select.")
|
||||
|
||||
args = ap.parse_args()
|
||||
|
||||
projects = os.path.dirname(os.path.abspath(args.project))
|
||||
name = os.path.basename(args.project)
|
||||
|
||||
persistent.projects_directory = renpy.fsdecode(projects)
|
||||
project.multipersistent.projects_directory = persistent.projects_directory
|
||||
|
||||
persistent.active_project = name
|
||||
|
||||
project.multipersistent.save()
|
||||
renpy.save_persistent()
|
||||
|
||||
return False
|
||||
|
||||
renpy.arguments.register_command("set_project", set_project_command)
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
-----BEGIN PUBLIC KEY-----
|
||||
MFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEmkuXOrZ2viRe4fRCrlqUFGdgRqy9IcWt
|
||||
5lJvsUqRN619pWZIefz/bau9Sd8vcJt6VKwexOeBmMhzXwZ/1Lm3OQ==
|
||||
-----END PUBLIC KEY-----
|
||||
+5
-49
@@ -1,4 +1,4 @@
|
||||
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
|
||||
# Copyright 2004-2021 Tom Rothamel <pytom@bishoujo.us>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person
|
||||
# obtaining a copy of this software and associated documentation files
|
||||
@@ -19,50 +19,6 @@
|
||||
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
# Defaults for custom theme properties.
|
||||
init -99 python:
|
||||
# The color of non-interactive text.
|
||||
custom_text = "#545454"
|
||||
|
||||
# Colors for buttons in various states.
|
||||
custom_idle = "#42637b"
|
||||
custom_hover = "#d86b45"
|
||||
custom_disable = "#808080"
|
||||
|
||||
# Colors for reversed text buttons (selected list entries).
|
||||
custom_reverse_idle = "#78a5c5"
|
||||
reverse_hover = "#d86b45"
|
||||
custom_reverse_text = "#ffffff"
|
||||
|
||||
# Colors for the scrollbar thumb.
|
||||
custom_scrollbar_idle = "#dfdfdf"
|
||||
custom_scrollbar_hover = "#d86b45"
|
||||
# An image used as a separator pattern.
|
||||
custom_pattern = "images/pattern.png"
|
||||
|
||||
# A displayable used for the background of everything.
|
||||
custom_background = "images/background.png"
|
||||
|
||||
# A displayable used for the background of the projects list.
|
||||
custom_projects_window = Null()
|
||||
|
||||
# A displayable used the background of information boxes.
|
||||
custom_info_window = "#f9f9f9c0"
|
||||
|
||||
# Colors for the titles of information boxes.
|
||||
custom_error_color = "#d15353"
|
||||
custom_info_color = "#545454"
|
||||
custom_interaction_color = "#d19753"
|
||||
custom_question_color = "#d19753"
|
||||
|
||||
# The color of input text.
|
||||
custom_input_color = "#d86b45"
|
||||
|
||||
# A displayable used for the background of windows
|
||||
# containing commands, preferences, and navigation info.
|
||||
custom_window = Frame(Fixed(Solid(custom_reverse_idle, xsize=4, xalign=0), Solid(custom_info_window, xsize=794, xalign=1.0), xsize=800, ysize=600), 0, 0, tile=True)
|
||||
|
||||
|
||||
init -1:
|
||||
|
||||
# Fonts.
|
||||
@@ -208,7 +164,7 @@ init -1 python:
|
||||
# containing commands, preferences, and navigation info.
|
||||
WINDOW = Frame(Fixed(Solid(REVERSE_IDLE, xsize=4, xalign=0), Solid(INFO_WINDOW, xsize=794, xalign=1.0), xsize=800, ysize=600), 0, 0, tile=True)
|
||||
|
||||
elif persistent.theme == 'custom':
|
||||
elif renpy.exists("skin.rpy") and persistent.theme == 'custom':
|
||||
|
||||
# The color of non-interactive text.
|
||||
TEXT = custom_text
|
||||
@@ -246,7 +202,7 @@ init -1 python:
|
||||
QUESTION_COLOR = custom_question_color
|
||||
|
||||
# The color of input text.
|
||||
INPUT_COLOR = custom_input_color
|
||||
INPUT_COLOR = custom_imput_color
|
||||
|
||||
# A displayable used for the background of windows
|
||||
# containing commands, preferences, and navigation info.
|
||||
@@ -402,7 +358,7 @@ style l_alternate is l_default:
|
||||
style l_alternate_text is l_default:
|
||||
size size(14)
|
||||
font light_font()
|
||||
textalign 1.0
|
||||
text_align 1.0
|
||||
|
||||
style l_small_button is l_button
|
||||
|
||||
@@ -488,7 +444,7 @@ style l_info_button is l_button:
|
||||
xmargin 50
|
||||
|
||||
style l_info_button_text is l_button_text:
|
||||
textalign 0.5
|
||||
text_align 0.5
|
||||
layout "subtitle"
|
||||
|
||||
# Progress bar.
|
||||
|
||||
+6
-12
@@ -1,4 +1,4 @@
|
||||
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
|
||||
# Copyright 2004-2021 Tom Rothamel <pytom@bishoujo.us>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person
|
||||
# obtaining a copy of this software and associated documentation files
|
||||
@@ -22,7 +22,6 @@
|
||||
|
||||
init python:
|
||||
|
||||
|
||||
class FileTail(object):
|
||||
|
||||
def __init__(self, filename, lines=8):
|
||||
@@ -32,18 +31,13 @@ init python:
|
||||
|
||||
def update(self):
|
||||
|
||||
def filter_text(s):
|
||||
if "Unknown chunk type '200'" in s:
|
||||
return False
|
||||
return True
|
||||
|
||||
try:
|
||||
with open(self.filename) as f:
|
||||
text = f.read()
|
||||
|
||||
try:
|
||||
text = renpy.fsdecode(text)
|
||||
except Exception:
|
||||
except:
|
||||
text = text.decode("latin-1")
|
||||
|
||||
text = text.strip()
|
||||
@@ -55,9 +49,6 @@ init python:
|
||||
if "\r" in l:
|
||||
_head, _sep, l = l.rpartition("\r")
|
||||
|
||||
if not filter_text(l):
|
||||
continue
|
||||
|
||||
while l:
|
||||
newtext.append(l[:100])
|
||||
l = l[100:]
|
||||
@@ -70,5 +61,8 @@ init python:
|
||||
self.text = text
|
||||
renpy.restart_interaction()
|
||||
|
||||
except Exception:
|
||||
except:
|
||||
pass
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
|
||||
# Copyright 2004-2021 Tom Rothamel <pytom@bishoujo.us>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person
|
||||
# obtaining a copy of this software and associated documentation files
|
||||
|
||||
@@ -0,0 +1,73 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
# Copyright 2004-2021 Tom Rothamel <pytom@bishoujo.us>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person
|
||||
# obtaining a copy of this software and associated documentation files
|
||||
# (the "Software"), to deal in the Software without restriction,
|
||||
# including without limitation the rights to use, copy, modify, merge,
|
||||
# publish, distribute, sublicense, and/or sell copies of the Software,
|
||||
# and to permit persons to whom the Software is furnished to do so,
|
||||
# subject to the following conditions:
|
||||
#
|
||||
# The above copyright notice and this permission notice shall be
|
||||
# included in all copies or substantial portions of the Software.
|
||||
#
|
||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
# This is used on Linux and Mac to prompt the user for the projects
|
||||
# directory.
|
||||
|
||||
import sys
|
||||
|
||||
|
||||
# Gtk generally has better support than TKinter on various Linux distributions
|
||||
def gtk_select_directory(title):
|
||||
dialog = Gtk.FileChooserNative(title=title,
|
||||
action=Gtk.FileChooserAction.SELECT_FOLDER)
|
||||
|
||||
dialog.run()
|
||||
|
||||
return dialog.get_filename()
|
||||
|
||||
|
||||
# Fall back to TKinter if Gtk isn't available
|
||||
def tk_select_directory(initialdir, title):
|
||||
root = Tk()
|
||||
root.withdraw()
|
||||
|
||||
return askdirectory(initialdir=initialdir, parent=root, title=title)
|
||||
|
||||
|
||||
try:
|
||||
import gi
|
||||
gi.require_version('Gtk', '3.0')
|
||||
from gi.repository import Gtk
|
||||
|
||||
def select_directory(title):
|
||||
result = gtk_select_directory(title)
|
||||
|
||||
return result if result else ''
|
||||
|
||||
except:
|
||||
# Python3 and Python2-style imports.
|
||||
try:
|
||||
from tkinter import Tk
|
||||
from tkinter.filedialog import askdirectory
|
||||
except ImportError:
|
||||
from Tkinter import Tk
|
||||
from tkFileDialog import askdirectory
|
||||
|
||||
def select_directory(title):
|
||||
return tk_select_directory(title, sys.argv[1])
|
||||
|
||||
if __name__ == '__main__':
|
||||
directory = select_directory('Select Ren\'Py Projects Directory')
|
||||
|
||||
sys.stdout.write(directory)
|
||||
@@ -1,7 +1,5 @@
|
||||
translate arabic strings:
|
||||
# game/new_project.rpy:77
|
||||
old "{#language name and font}"
|
||||
new "{font=DejaVuSans.ttf}العربية{/font}"
|
||||
|
||||
translate arabic strings:
|
||||
|
||||
# about.rpy:39
|
||||
old "[version!q]"
|
||||
@@ -564,7 +562,7 @@
|
||||
new "[project_dir!q] يوجد مسبقاً, الرجاء اختيار اسم مختلف."
|
||||
|
||||
# gui7.rpy:341
|
||||
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."
|
||||
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 1280x720 is a reasonable compromise."
|
||||
new "ما هو الحجم المطلوب للمشروع؟ رينباي يستطيع تكبير و تصغير حجم النافذة لتناسب الشاشة, لكن الحجم الذي ستختاره هنا هو الحجم القياسي, و الذي ستظهر فيه الصور و الشخصيات في أوضح شكل لها. \n\n الحجم الذي يناسب اغلب الشاشات هو 1280×730 بكسل."
|
||||
|
||||
# gui7.rpy:389
|
||||
@@ -1186,3 +1184,4 @@
|
||||
# updater.rpy:195
|
||||
old "Proceed"
|
||||
new "استمرار"
|
||||
|
||||
|
||||
@@ -315,7 +315,7 @@ translate finnish strings:
|
||||
|
||||
# 00gallery.rpy:563
|
||||
old "Image [index] of [count] locked."
|
||||
new "Kuva [index]/[count] on lukittu."
|
||||
new "[index]. kuva [count]:stä on lukittu"
|
||||
|
||||
# 00gallery.rpy:583
|
||||
old "prev"
|
||||
|
||||
@@ -79,7 +79,7 @@ translate finnish strings:
|
||||
|
||||
# 00gltest.rpy:200
|
||||
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}Huomaa:{/b} Microsoftin DirectX-verkkoasennusohjelma asentaa, oletusarvoisesti, Bing-työkalupalkin. Jos et halua tätä työkalupalkkia, poista valinta oikeasta laatikosta."
|
||||
new "{b}Huomaa:{/b} Microsoftin DirectX verkkoasennusohjelma asentaa, oletusarvoisesti, Bing-työkalupalkin. Jos et halua tätä työkalupalkkia, poista valinta oikeasta laatikosta."
|
||||
|
||||
# 00gltest.rpy:204
|
||||
old "When setup finishes, please click below to restart this program."
|
||||
|
||||
+102
-102
@@ -3,409 +3,409 @@ translate finnish strings:
|
||||
|
||||
# gui.rpy:2
|
||||
old "## Initialization"
|
||||
new "## Alustus"
|
||||
new "## Initialization"
|
||||
|
||||
# gui.rpy:5
|
||||
old "## The init offset statement causes the init code in this file to run before init code in any other file."
|
||||
new "## init offset-lause käskee ajamaan tämän tiedoston init-koodin ennen muiden tiedostojen init-koodia."
|
||||
new "## The init offset statement causes the init code in this file to run before init code in any other file."
|
||||
|
||||
# gui.rpy:9
|
||||
old "## Calling gui.init resets the styles to sensible default values, and sets the width and height of the game."
|
||||
new "## gui.init-metodin kutsuminen nollaa tyylit järkeviin vakioasetuksiin, sekä asettaa peli-ikkunan leveyden ja korkeuden."
|
||||
new "## Calling gui.init resets the styles to sensible default values, and sets the width and height of the game."
|
||||
|
||||
# gui.rpy:21
|
||||
old "## Colors"
|
||||
new "## Värit"
|
||||
new "## Colors"
|
||||
|
||||
# gui.rpy:23
|
||||
old "## The colors of text in the interface."
|
||||
new "## Ikkunan tekstien väritys."
|
||||
new "## The colors of text in the interface."
|
||||
|
||||
# gui.rpy:25
|
||||
old "## An accent color used throughout the interface to label and highlight text."
|
||||
new "## Korostusväri tekstin korostamista sekä merkkausta varten."
|
||||
new "## An accent color used throughout the interface to label and highlight text."
|
||||
|
||||
# gui.rpy:29
|
||||
old "## The color used for a text button when it is neither selected nor hovered."
|
||||
new "## Tekstipainikkeen käyttämä väri, kun se ei ole valittuna eikä kursori ole sen päällä."
|
||||
new "## The color used for a text button when it is neither selected nor hovered."
|
||||
|
||||
# gui.rpy:32
|
||||
old "## The small color is used for small text, which needs to be brighter/darker to achieve the same effect."
|
||||
new "## Pikkuväriä käytetään pienelle tekstille, jonka tulee olla kirkkaampi tai tummempi erottuakseen."
|
||||
new "## The small color is used for small text, which needs to be brighter/darker to achieve the same effect."
|
||||
|
||||
# gui.rpy:36
|
||||
old "## The color that is used for buttons and bars that are hovered."
|
||||
new "## Painikkeiden käyttämä väri, kun ne ovat valittuja tai kursori on niiden päällä."
|
||||
new "## The color that is used for buttons and bars that are hovered."
|
||||
|
||||
# gui.rpy:39
|
||||
old "## The color used for a text button when it is selected but not focused. A button is selected if it is the current screen or preference value."
|
||||
new "## Tekstipainikkeen käyttämä väri, kun se on valittuna mutta ei aktiivisessa ikkunassa."
|
||||
new "## The color used for a text button when it is selected but not focused. A button is selected if it is the current screen or preference value."
|
||||
|
||||
# gui.rpy:43
|
||||
old "## The color used for a text button when it cannot be selected."
|
||||
new "## Tekstipainikkeen käyttämä väri, kun se ei ole valittavissa."
|
||||
new "## The color used for a text button when it cannot be selected."
|
||||
|
||||
# gui.rpy:46
|
||||
old "## Colors used for the portions of bars that are not filled in. These are not used directly, but are used when re-generating bar image files."
|
||||
new "## Värit, joita käytetään täyttämättömien palkkien osiin. Näitä ei käytetä suoraan, vaan ainoastaan palkkikuvatiedostojen generoinnissa."
|
||||
new "## Colors used for the portions of bars that are not filled in. These are not used directly, but are used when re-generating bar image files."
|
||||
|
||||
# gui.rpy:51
|
||||
old "## The colors used for dialogue and menu choice text."
|
||||
new "## Värit, joita käytetään dialogin ja valikoiden tekstissä."
|
||||
new "## The colors used for dialogue and menu choice text."
|
||||
|
||||
# gui.rpy:56
|
||||
old "## Fonts and Font Sizes"
|
||||
new "## Fontit sekä fonttikoot"
|
||||
new "## Fonts and Font Sizes"
|
||||
|
||||
# gui.rpy:58
|
||||
old "## The font used for in-game text."
|
||||
new "## Pelin sisäisen tekstin fontti."
|
||||
new "## The font used for in-game text."
|
||||
|
||||
# gui.rpy:61
|
||||
old "## The font used for character names."
|
||||
new "## Hahmojen nimien fontti."
|
||||
new "## The font used for character names."
|
||||
|
||||
# gui.rpy:64
|
||||
old "## The font used for out-of-game text."
|
||||
new "## Pelin ulkoisen tekstin fontti."
|
||||
new "## The font used for out-of-game text."
|
||||
|
||||
# gui.rpy:67
|
||||
old "## The size of normal dialogue text."
|
||||
new "## Normaalin dialogitekstin fonttikoko."
|
||||
new "## The size of normal dialogue text."
|
||||
|
||||
# gui.rpy:70
|
||||
old "## The size of character names."
|
||||
new "## Hahmojen nimien fonttikoko."
|
||||
new "## The size of character names."
|
||||
|
||||
# gui.rpy:73
|
||||
old "## The size of text in the game's user interface."
|
||||
new "## Pelin käyttöliittymän tekstin koko."
|
||||
new "## The size of text in the game's user interface."
|
||||
|
||||
# gui.rpy:76
|
||||
old "## The size of labels in the game's user interface."
|
||||
new "## Pelin käyttöliittymän otsikoiden koko."
|
||||
new "## The size of labels in the game's user interface."
|
||||
|
||||
# gui.rpy:79
|
||||
old "## The size of text on the notify screen."
|
||||
new "## Tekstin koko ilmoitusikkunassa."
|
||||
new "## The size of text on the notify screen."
|
||||
|
||||
# gui.rpy:82
|
||||
old "## The size of the game's title."
|
||||
new "## Pelin nimen fonttikoko."
|
||||
new "## The size of the game's title."
|
||||
|
||||
# gui.rpy:86
|
||||
old "## Main and Game Menus"
|
||||
new "## Pää- ja pelivalikot"
|
||||
new "## Main and Game Menus"
|
||||
|
||||
# gui.rpy:88
|
||||
old "## The images used for the main and game menus."
|
||||
new "## Pää- ja pelivalikoiden käyttämät kuvat."
|
||||
new "## The images used for the main and game menus."
|
||||
|
||||
# gui.rpy:92
|
||||
old "## Should we show the name and version of the game?"
|
||||
new "## Tulisiko meidän näyttää pelin nimi ja versio?"
|
||||
new "## Should we show the name and version of the game?"
|
||||
|
||||
# gui.rpy:96
|
||||
old "## Dialogue"
|
||||
new "## Dialogi"
|
||||
new "## Dialogue"
|
||||
|
||||
# gui.rpy:98
|
||||
old "## These variables control how dialogue is displayed on the screen one line at a time."
|
||||
new "## Nämä muuttujat ohjaavat dialogin tulostusta näytölle rivi kerrallaan."
|
||||
new "## These variables control how dialogue is displayed on the screen one line at a time."
|
||||
|
||||
# gui.rpy:101
|
||||
old "## The height of the textbox containing dialogue."
|
||||
new "## Dialogi-ikkunan korkeus."
|
||||
new "## The height of the textbox containing dialogue."
|
||||
|
||||
# gui.rpy:104
|
||||
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 "## Dialogi-ikkunan sijainti pystytasossa näytöllä. 0.0 on ikkunan yläreuna, 0.5 keskikohta, ja 1.0 alareuna."
|
||||
new "## The placement of the textbox vertically on the screen. 0.0 is the top, 0.5 is center, and 1.0 is the bottom."
|
||||
|
||||
# gui.rpy:109
|
||||
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 "## Puhuvan hahmon nimen sijainti suhteeessa dialogi-ikkunan sijaintiin. Arvot voivat olla pikseleiden määrä kokonaislukuina, tai 0.5 keskikohtana."
|
||||
new "## 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."
|
||||
|
||||
# gui.rpy:114
|
||||
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 "## Hahmon nimen sijainti vaakatasossa. Arvo voi olla 0.0 vasemmalle reunalle, 0.5 keskitetylle, tai 1.0 oikealle reunalle."
|
||||
new "## 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."
|
||||
|
||||
# gui.rpy:118
|
||||
old "## The width, height, and borders of the box containing the character's name, or None to automatically size it."
|
||||
new "## Hahmon nimen sisältävän laatikon leveys, korkeus, ja reunan paksuus. Arvo None päättää koon automaattisesti."
|
||||
new "## The width, height, and borders of the box containing the character's name, or None to automatically size it."
|
||||
|
||||
# gui.rpy:123
|
||||
old "## The borders of the box containing the character's name, in left, top, right, bottom order."
|
||||
new "## Hahmon nimilaatikon reunat, järjestyksessä vasen, ylä, oikea, ja alaosa."
|
||||
new "## The borders of the box containing the character's name, in left, top, right, bottom order."
|
||||
|
||||
# gui.rpy:127
|
||||
old "## If True, the background of the namebox will be tiled, if False, the background of the namebox will be scaled."
|
||||
new "## Arvon ollessa True, nimilaatikon tausta käyttää itseään toistavaa taustakuvaa. Arvon ollessa False, taustakuvan koko skaalautuu."
|
||||
new "## If True, the background of the namebox will be tiled, if False, the background of the namebox will be scaled."
|
||||
|
||||
# gui.rpy:132
|
||||
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 "## Dialogin sijainti suhteessa dialogi-ikkunaan. Arvot voivat olla pikseleiden määrä kokonaislukuina, tai 0.5 keskikohtana."
|
||||
new "## 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."
|
||||
|
||||
# gui.rpy:138
|
||||
old "## The maximum width of dialogue text, in pixels."
|
||||
new "## Dialogitekstin maksimileveys pikseleinä."
|
||||
new "## The maximum width of dialogue text, in pixels."
|
||||
|
||||
# gui.rpy:141
|
||||
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 "## Dialogin sijainti vaakatasossa. Arvo voi olla 0.0 vasemmalle reunalle, 0.5 keskitetylle, tai 1.0 oikealle reunalle."
|
||||
new "## 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."
|
||||
|
||||
# gui.rpy:146
|
||||
old "## Buttons"
|
||||
new "## Painikkeet"
|
||||
new "## Buttons"
|
||||
|
||||
# gui.rpy:148
|
||||
old "## These variables, along with the image files in gui/button, control aspects of how buttons are displayed."
|
||||
new "## Nämä muuttujat, gui/button-kansiossa olevien kuvatiedostojen ohella, ohjaavat painikkeiden ulkoasua."
|
||||
new "## These variables, along with the image files in gui/button, control aspects of how buttons are displayed."
|
||||
|
||||
# gui.rpy:151
|
||||
old "## The width and height of a button, in pixels. If None, Ren'Py computes a size."
|
||||
new "## Painikkeen leveys ja korkeus, pikseleinä. Arvon ollessa None, Ren'Py laskee sopivan koon."
|
||||
new "## The width and height of a button, in pixels. If None, Ren'Py computes a size."
|
||||
|
||||
# gui.rpy:155
|
||||
old "## The borders on each side of the button, in left, top, right, bottom order."
|
||||
new "## Reunat painikkeen jokaisella sivulla, järjestyksessä vasen, ylä, oikea, ja alareuna."
|
||||
new "## The borders on each side of the button, in left, top, right, bottom order."
|
||||
|
||||
# gui.rpy:158
|
||||
old "## If True, the background image will be tiled. If False, the background image will be linearly scaled."
|
||||
new "## Arvon ollessa True, painikkeen tausta käyttää itseään toistavaa taustakuvaa. Arvon ollessa False, taustakuvan koko skaalautuu lineaarisesti."
|
||||
new "## If True, the background image will be tiled. If False, the background image will be linearly scaled."
|
||||
|
||||
# gui.rpy:162
|
||||
old "## The font used by the button."
|
||||
new "## Painikkeen käyttämä fontti."
|
||||
new "## The font used by the button."
|
||||
|
||||
# gui.rpy:165
|
||||
old "## The size of the text used by the button."
|
||||
new "## Painikkeen käyttämä fonttikoko."
|
||||
new "## The size of the text used by the button."
|
||||
|
||||
# gui.rpy:179
|
||||
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."
|
||||
new "## Nämä muuttujat yliajavat erilaisten painikkeiden oletusasetuksia. Luethan lisätietoa erilaisista painikkeista sekä niiden käyttötarkoituksista GUI-dokumentaatiosta."
|
||||
new "## 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."
|
||||
|
||||
# gui.rpy:183
|
||||
old "## These customizations are used by the default interface:"
|
||||
new "## Nämä muokkaukset ovat käytössä oletuskäyttöliittymässä:"
|
||||
new "## These customizations are used by the default interface:"
|
||||
|
||||
# gui.rpy:198
|
||||
old "## You can also add your own customizations, by adding properly-named variables. For example, you can uncomment the following line to set the width of a navigation button."
|
||||
new "## Voit myös halutessasi lisätä omia muokkauksiasi lisäämällä oikein nimettyjä muuttujia. Voit esimerkiksi ottaa seuraavan rivin pois kommentista asettaaksesi valikkopainikkeen leveyden."
|
||||
new "## You can also add your own customizations, by adding properly-named variables. For example, you can uncomment the following line to set the width of a navigation button."
|
||||
|
||||
# gui.rpy:205
|
||||
old "## Choice Buttons"
|
||||
new "## Valikon Painikkeet"
|
||||
new "## Choice Buttons"
|
||||
|
||||
# gui.rpy:207
|
||||
old "## Choice buttons are used in the in-game menus."
|
||||
new "## Nämä muuttujat määrittävät pelin sisäisten valikoiden painikkeiden ominaisuuksia."
|
||||
new "## Choice buttons are used in the in-game menus."
|
||||
|
||||
# gui.rpy:220
|
||||
old "## File Slot Buttons"
|
||||
new "## Tallennuspaikan Painikkeet"
|
||||
new "## File Slot Buttons"
|
||||
|
||||
# gui.rpy:222
|
||||
old "## A file slot button is a special kind of button. It contains a thumbnail image, and text describing the contents of the save slot. A save slot uses image files in gui/button, like the other kinds of buttons."
|
||||
new "## Tallennuspaikan painike on erityispainike, joka sisältää esikatselukuvan ja tekstiselitteen tallennuspaikan sisällöstä. Tallennuspaikka käyttää kuvatiedostoja gui/button-kansiosta, kuten muutkin painikkeet."
|
||||
new "## A file slot button is a special kind of button. It contains a thumbnail image, and text describing the contents of the save slot. A save slot uses image files in gui/button, like the other kinds of buttons."
|
||||
|
||||
# gui.rpy:226
|
||||
old "## The save slot button."
|
||||
new "## Tallennuspaikan painike."
|
||||
new "## The save slot button."
|
||||
|
||||
# gui.rpy:234
|
||||
old "## The width and height of thumbnails used by the save slots."
|
||||
new "## Tallennuspaikan käyttämien esikatselukuvien leveys ja korkeus."
|
||||
new "## The width and height of thumbnails used by the save slots."
|
||||
|
||||
# gui.rpy:238
|
||||
old "## The number of columns and rows in the grid of save slots."
|
||||
new "## Tallennuspaikkojen ruudukon rivien ja sarakkeiden lukumäärä."
|
||||
new "## The number of columns and rows in the grid of save slots."
|
||||
|
||||
# gui.rpy:243
|
||||
old "## Positioning and Spacing"
|
||||
new "## Sijainti ja Välit"
|
||||
new "## Positioning and Spacing"
|
||||
|
||||
# gui.rpy:245
|
||||
old "## These variables control the positioning and spacing of various user interface elements."
|
||||
new "## Nämä muuttujat säätelevät erilaisten käyttöliittymän komponenttien sijaintia ja väljäyttä."
|
||||
new "## These variables control the positioning and spacing of various user interface elements."
|
||||
|
||||
# gui.rpy:248
|
||||
old "## The position of the left side of the navigation buttons, relative to the left side of the screen."
|
||||
new "## Siirtymäpainikkeiden vasemman puolen sijainti suhteessa ikkunan vasempaan reunaan."
|
||||
new "## The position of the left side of the navigation buttons, relative to the left side of the screen."
|
||||
|
||||
# gui.rpy:252
|
||||
old "## The vertical position of the skip indicator."
|
||||
new "## Sivuutusilmaisimen sijainti pystyakselilla."
|
||||
new "## The vertical position of the skip indicator."
|
||||
|
||||
# gui.rpy:255
|
||||
old "## The vertical position of the notify screen."
|
||||
new "## Ilmoitusnäytön sijainti pystyakselilla."
|
||||
new "## The vertical position of the notify screen."
|
||||
|
||||
# gui.rpy:258
|
||||
old "## The spacing between menu choices."
|
||||
new "## Valikon vaihtoehtojen välinen tila."
|
||||
new "## The spacing between menu choices."
|
||||
|
||||
# gui.rpy:261
|
||||
old "## Buttons in the navigation section of the main and game menus."
|
||||
new "## Painikkeiden välinen tila pää- ja pelivalikoissa."
|
||||
new "## Buttons in the navigation section of the main and game menus."
|
||||
|
||||
# gui.rpy:264
|
||||
old "## Controls the amount of spacing between preferences."
|
||||
new "## Hallitsee asetusten välistä etäisyyttä."
|
||||
new "## Controls the amount of spacing between preferences."
|
||||
|
||||
# gui.rpy:267
|
||||
old "## Controls the amount of spacing between preference buttons."
|
||||
new "## Hallitsee asetusten painikkeiden välisiä etäisyyksiä."
|
||||
new "## Controls the amount of spacing between preference buttons."
|
||||
|
||||
# gui.rpy:270
|
||||
old "## The spacing between file page buttons."
|
||||
new "## Tyhjä tila tallennussivun painikkeiden välillä."
|
||||
new "## The spacing between file page buttons."
|
||||
|
||||
# gui.rpy:273
|
||||
old "## The spacing between file slots."
|
||||
new "## Tyhjä tila tallennuspaikkojen välillä."
|
||||
new "## The spacing between file slots."
|
||||
|
||||
# gui.rpy:277
|
||||
old "## Frames"
|
||||
new "## Reunat"
|
||||
new "## Frames"
|
||||
|
||||
# gui.rpy:279
|
||||
old "## These variables control the look of frames that can contain user interface components when an overlay or window is not present."
|
||||
new "## Nämä muuttujaat säätelevät käyttöliittymän komponentteja ympäröivien reunojen ominaisuuksia, kun varsinaista ikkunaa ei ole."
|
||||
new "## These variables control the look of frames that can contain user interface components when an overlay or window is not present."
|
||||
|
||||
# gui.rpy:282
|
||||
old "## Generic frames that are introduced by player code."
|
||||
new "## Geneeriset reunat, joita koodi voi luoda."
|
||||
new "## Generic frames that are introduced by player code."
|
||||
|
||||
# gui.rpy:285
|
||||
old "## The frame that is used as part of the confirm screen."
|
||||
new "## Varmistusikkunan käyttämä reuna."
|
||||
new "## The frame that is used as part of the confirm screen."
|
||||
|
||||
# gui.rpy:288
|
||||
old "## The frame that is used as part of the skip screen."
|
||||
new "## Sivuutusikkunan käyttämä reuna."
|
||||
new "## The frame that is used as part of the skip screen."
|
||||
|
||||
# gui.rpy:291
|
||||
old "## The frame that is used as part of the notify screen."
|
||||
new "## Ilmoitusikkunan käyttämä reuna."
|
||||
new "## The frame that is used as part of the notify screen."
|
||||
|
||||
# gui.rpy:294
|
||||
old "## Should frame backgrounds be tiled?"
|
||||
new "## Tulisiko kehyksen taustakuvan toistaa itseään?"
|
||||
new "## Should frame backgrounds be tiled?"
|
||||
|
||||
# gui.rpy:298
|
||||
old "## Bars, Scrollbars, and Sliders"
|
||||
new "## Palkit, Vierityspalkit, ja Liukuvalinnat"
|
||||
new "## Bars, Scrollbars, and Sliders"
|
||||
|
||||
# gui.rpy:300
|
||||
old "## These control the look and size of bars, scrollbars, and sliders."
|
||||
new "## Nämä muokkaavat palkkien, vierityspalkkien, ja liukuvalintojen ulkonäköä sekä kokoa."
|
||||
new "## These control the look and size of bars, scrollbars, and sliders."
|
||||
|
||||
# gui.rpy:302
|
||||
old "## The default GUI only uses sliders and vertical scrollbars. All of the other bars are only used in creator-written code."
|
||||
new "## Oletusarvoinen graafinen käyttöliittymä käyttää vain liukuvalintoja sekä pystysuoria vierityspalkkeja. Kaikkia muita käytetään vain jos projektin koodi niitä erikseen käyttää."
|
||||
new "## The default GUI only uses sliders and vertical scrollbars. All of the other bars are only used in creator-written code."
|
||||
|
||||
# gui.rpy:305
|
||||
old "## The height of horizontal bars, scrollbars, and sliders. The width of vertical bars, scrollbars, and sliders."
|
||||
new "## Palkkien, vierityspalkkien, ja liukuvalintojen korkeus ja leveys."
|
||||
new "## The height of horizontal bars, scrollbars, and sliders. The width of vertical bars, scrollbars, and sliders."
|
||||
|
||||
# gui.rpy:311
|
||||
old "## True if bar images should be tiled. False if they should be linearly scaled."
|
||||
new "## Arvon ollessa True, palkit käyttävät itseään toistavia taustakuvia. Arvon ollessa False, taustakuvan koko skaalautuu lineaarisesti."
|
||||
new "## True if bar images should be tiled. False if they should be linearly scaled."
|
||||
|
||||
# gui.rpy:316
|
||||
old "## Horizontal borders."
|
||||
new "## Vaakatason reunat."
|
||||
new "## Horizontal borders."
|
||||
|
||||
# gui.rpy:321
|
||||
old "## Vertical borders."
|
||||
new "## Pystysuorat reunat."
|
||||
new "## Vertical borders."
|
||||
|
||||
# gui.rpy:326
|
||||
old "## What to do with unscrollable scrollbars in the gui. \"hide\" hides them, while None shows them."
|
||||
new "## Päättää, näkyvätkö tyngät vierityspalkit. \"hide\" piilottaa ne, None pitää ne näkyvillä."
|
||||
new "## What to do with unscrollable scrollbars in the gui. \"hide\" hides them, while None shows them."
|
||||
|
||||
# gui.rpy:331
|
||||
old "## History"
|
||||
new "## Historia"
|
||||
new "## History"
|
||||
|
||||
# gui.rpy:333
|
||||
old "## The history screen displays dialogue that the player has already dismissed."
|
||||
new "## Historia-ikkuna näyttää dialogin, jonka pelaaja on jo lukenut."
|
||||
new "## The history screen displays dialogue that the player has already dismissed."
|
||||
|
||||
# gui.rpy:335
|
||||
old "## The number of blocks of dialogue history Ren'Py will keep."
|
||||
new "## Määrittää, montako dialogitekstiä Ren'Py pitää muistissaan."
|
||||
new "## The number of blocks of dialogue history Ren'Py will keep."
|
||||
|
||||
# gui.rpy:338
|
||||
old "## The height of a history screen entry, or None to make the height variable at the cost of performance."
|
||||
new "## Historia-näytön yksittäisen dialogin korkeus, tai None jolloin korkeus vaihtelee, lisäten prosessorin rasitusta."
|
||||
new "## The height of a history screen entry, or None to make the height variable at the cost of performance."
|
||||
|
||||
# gui.rpy:342
|
||||
old "## The position, width, and alignment of the label giving the name of the speaking character."
|
||||
new "## Puhuvan hahmon nimen sijainti, leveys, ja ryhmäytys."
|
||||
new "## The position, width, and alignment of the label giving the name of the speaking character."
|
||||
|
||||
# gui.rpy:349
|
||||
old "## The position, width, and alignment of the dialogue text."
|
||||
new "## Dialogitekstin sijainti, leveys, ja ryhmäytys."
|
||||
new "## The position, width, and alignment of the dialogue text."
|
||||
|
||||
# gui.rpy:356
|
||||
old "## NVL-Mode"
|
||||
new "## NVL-Tila"
|
||||
new "## NVL-Mode"
|
||||
|
||||
# gui.rpy:358
|
||||
old "## The NVL-mode screen displays the dialogue spoken by NVL-mode characters."
|
||||
new "## NVL-tilan näyttö näyttää NVL-tilan hahmojen dialogin."
|
||||
new "## The NVL-mode screen displays the dialogue spoken by NVL-mode characters."
|
||||
|
||||
# gui.rpy:360
|
||||
old "## The borders of the background of the NVL-mode background window."
|
||||
new "## NVL-tilan ikkunan taustan reunat."
|
||||
new "## The borders of the background of the NVL-mode background window."
|
||||
|
||||
# gui.rpy:363
|
||||
old "## The height of an NVL-mode entry. Set this to None to have the entries dynamically adjust height."
|
||||
new "## NVL-tilan dialogin korkeus. Asetettaessa arvoon None, korkeus säätyy automaattisesti."
|
||||
new "## The height of an NVL-mode entry. Set this to None to have the entries dynamically adjust height."
|
||||
|
||||
# gui.rpy:367
|
||||
old "## The spacing between NVL-mode entries when gui.nvl_height is None, and between NVL-mode entries and an NVL-mode menu."
|
||||
new "## Väli NVL-tilan dialogien sekä NVL-tilan valikon välillä, kun gui.nvl_height on None."
|
||||
new "## The spacing between NVL-mode entries when gui.nvl_height is None, and between NVL-mode entries and an NVL-mode menu."
|
||||
|
||||
# gui.rpy:384
|
||||
old "## The position, width, and alignment of nvl_thought text (the text said by the nvl_narrator character.)"
|
||||
new "## nvl_thought-tekstin sijainti, leveys, ja ryhmäytys (nvl_narrator-hahmon puhuma teksti.)"
|
||||
new "## The position, width, and alignment of nvl_thought text (the text said by the nvl_narrator character.)"
|
||||
|
||||
# gui.rpy:391
|
||||
old "## The position of nvl menu_buttons."
|
||||
new "## NVL-valikon painikkeiden sijainti."
|
||||
new "## The position of nvl menu_buttons."
|
||||
|
||||
# gui.rpy:403
|
||||
old "## This increases the size of the quick buttons to make them easier to touch on tablets and phones."
|
||||
new "## Kasvattaa pikavalikon painikkeiden kokoa mobiililaitteilla, tehden niistä helpompia käyttää."
|
||||
new "## This increases the size of the quick buttons to make them easier to touch on tablets and phones."
|
||||
|
||||
# gui.rpy:409
|
||||
old "## This changes the size and spacing of various GUI elements to ensure they are easily visible on phones."
|
||||
new "## Muuttaa useiden käyttöliittymän elementtien kokoa ja välejä, tehden niistä helpommin erottuvia matkapuhelimilla."
|
||||
new "## This changes the size and spacing of various GUI elements to ensure they are easily visible on phones."
|
||||
|
||||
# gui.rpy:413
|
||||
old "## Font sizes."
|
||||
new "## Fonttikoot."
|
||||
new "## Font sizes."
|
||||
|
||||
# gui.rpy:421
|
||||
old "## Adjust the location of the textbox."
|
||||
new "## Säädä teksti-ikkunan sijaintia."
|
||||
new "## Adjust the location of the textbox."
|
||||
|
||||
# gui.rpy:427
|
||||
old "## Change the size and spacing of items in the game menu."
|
||||
new "## Mukauta pelivalikon elementtien kokoa ja sijaintia."
|
||||
new "## Change the size and spacing of items in the game menu."
|
||||
|
||||
# gui.rpy:436
|
||||
old "## File button layout."
|
||||
new "## Tallennusvalikon painikkeen asettelu."
|
||||
new "## File button layout."
|
||||
|
||||
# gui.rpy:440
|
||||
old "## NVL-mode."
|
||||
new "## NVL-tila."
|
||||
new "## NVL-mode."
|
||||
|
||||
# gui.rpy:456
|
||||
old "## Quick buttons."
|
||||
new "## Pikavalikko."
|
||||
new "## Quick buttons."
|
||||
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
translate finnish strings:
|
||||
# game/new_project.rpy:77
|
||||
old "{#language name and font}"
|
||||
new "Suomi"
|
||||
|
||||
translate finnish strings:
|
||||
|
||||
# about.rpy:39
|
||||
old "[version!q]"
|
||||
@@ -133,23 +131,23 @@
|
||||
|
||||
# android.rpy:361
|
||||
old "Install SDK & Create Keys"
|
||||
new "Asenna SDK & Luo Avaimet"
|
||||
new "Asenna SDK & Luo avaimia"
|
||||
|
||||
# android.rpy:365
|
||||
old "Configure"
|
||||
new "Muokkaa Asetuksia"
|
||||
new "Muokkaa asetuksia"
|
||||
|
||||
# android.rpy:369
|
||||
old "Build Package"
|
||||
new "Kokoa Sovellus"
|
||||
new "Kokoa sovellus"
|
||||
|
||||
# android.rpy:373
|
||||
old "Build & Install"
|
||||
new "Kokoa & Asenna"
|
||||
new "Kokoa & asenna"
|
||||
|
||||
# android.rpy:377
|
||||
old "Build, Install & Launch"
|
||||
new "Kokoa, Asenna & Aja"
|
||||
new "Kokoa, asenna & käynnistä"
|
||||
|
||||
# android.rpy:388
|
||||
old "Other:"
|
||||
@@ -233,7 +231,7 @@
|
||||
|
||||
# consolecommand.rpy:84
|
||||
old "The command is being run in a new operating system console window."
|
||||
new "Komentoa ajetaan uuudessa käyttöjärjestelmän konsoli-ikkunassa."
|
||||
new "The command is being run in a new operating system console window."
|
||||
|
||||
# distribute.rpy:443
|
||||
old "Scanning project files..."
|
||||
@@ -261,19 +259,19 @@
|
||||
|
||||
# distribute.rpy:1050
|
||||
old "Unpacking the Macintosh application for signing..."
|
||||
new "Puretaan Macintosh-sovellusta allekirjoitusta varten..."
|
||||
new "Unpacking the Macintosh application for signing..."
|
||||
|
||||
# distribute.rpy:1060
|
||||
old "Signing the Macintosh application..."
|
||||
new "Allekirjoitetaan Macintosh-sovellusta..."
|
||||
new "Signing the Macintosh application..."
|
||||
|
||||
# distribute.rpy:1082
|
||||
old "Creating the Macintosh DMG..."
|
||||
new "Luodaan Macintosh DMG-tiedostoa..."
|
||||
new "Creating the Macintosh DMG..."
|
||||
|
||||
# distribute.rpy:1091
|
||||
old "Signing the Macintosh DMG..."
|
||||
new "Allekirjoitetaan Macintosh DMG-tiedostoa..."
|
||||
new "Signing the Macintosh DMG..."
|
||||
|
||||
# distribute.rpy:1248
|
||||
old "Writing the [variant] [format] package."
|
||||
@@ -317,7 +315,7 @@
|
||||
|
||||
# distribute_gui.rpy:199
|
||||
old "Upload to itch.io"
|
||||
new "Lataa itch.io-palveluun"
|
||||
new "Upload to itch.io"
|
||||
|
||||
# distribute_gui.rpy:215
|
||||
old "Build Packages:"
|
||||
@@ -417,11 +415,11 @@
|
||||
|
||||
# front_page.rpy:120
|
||||
old "+ Create New Project"
|
||||
new "+ Luo Uusi Projekti"
|
||||
new "+ Luo uusi projekti"
|
||||
|
||||
# front_page.rpy:130
|
||||
old "Launch Project"
|
||||
new "Suorita Projekti"
|
||||
new "Suorita projekti"
|
||||
|
||||
# front_page.rpy:147
|
||||
old "[p.name!q] (template)"
|
||||
@@ -481,7 +479,7 @@
|
||||
|
||||
# front_page.rpy:237
|
||||
old "Change/Update GUI"
|
||||
new "Muokkaa/Päivitä GUI"
|
||||
new "Change/Update GUI"
|
||||
|
||||
# front_page.rpy:239
|
||||
old "Change Theme"
|
||||
@@ -525,23 +523,23 @@
|
||||
|
||||
# gui7.rpy:236
|
||||
old "Select Accent and Background Colors"
|
||||
new "Valitse Korostus- ja Taustavärit"
|
||||
new "Select Accent and Background Colors"
|
||||
|
||||
# gui7.rpy:250
|
||||
old "Please click on the color scheme you wish to use, then click Continue. These colors can be changed and customized later."
|
||||
new "Ole hyvä ja valitse haluamasi väriteema, ja klikkaa Seuraava. Näitä värejä voi vaihtaa ja muokata myöhemmin."
|
||||
new "Please click on the color scheme you wish to use, then click Continue. These colors can be changed and customized later."
|
||||
|
||||
# gui7.rpy:294
|
||||
old "{b}Warning{/b}\nContinuing will overwrite customized bar, button, save slot, scrollbar, and slider images.\n\nWhat would you like to do?"
|
||||
new "{b}varoitus{/b}\nJatkamalla yliajat muokatut palkki-, painike-, tallennus-, vierityspalkki-, ja liukuvalintakuvat.\n\nHaluatko jatkaa?"
|
||||
new "{b}Warning{/b}\nContinuing will overwrite customized bar, button, save slot, scrollbar, and slider images.\n\nWhat would you like to do?"
|
||||
|
||||
# gui7.rpy:294
|
||||
old "Choose new colors, then regenerate image files."
|
||||
new "Valitse uudet värit, ja luo kuvatiedostot uudelleen."
|
||||
new "Choose new colors, then regenerate image files."
|
||||
|
||||
# gui7.rpy:294
|
||||
old "Regenerate the image files using the colors in gui.rpy."
|
||||
new "Luo kuvatiedostot uudelleen käyttäen värejä gui.rpy-tiedostossa."
|
||||
new "Regenerate the image files using the colors in gui.rpy."
|
||||
|
||||
# gui7.rpy:314
|
||||
old "PROJECT NAME"
|
||||
@@ -564,16 +562,16 @@
|
||||
new "[project_dir!q] on jo olemassa. Ole hyvä ja valitse toinen nimi projektillesi."
|
||||
|
||||
# gui7.rpy:341
|
||||
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 "Mitä resoluutiota projektin tulisi käyttää? Vaikka Ren'Py kykenee skaalaamaan ikkunaa molempiin suuntiin, tämä on ikkunan alustava koko, resoluutio jolla grafiikka piirretään, ja koko jossa grafiikka on terävimmillään.\n\nOletusasetus [default_size[0]]x[default_size[1]] on varteenotettava kompromissi."
|
||||
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 1280x720 is a reasonable compromise."
|
||||
new "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 1280x720 is a reasonable compromise."
|
||||
|
||||
# gui7.rpy:389
|
||||
old "Creating the new project..."
|
||||
new "Luodaan uutta projektia..."
|
||||
new "Creating the new project..."
|
||||
|
||||
# gui7.rpy:391
|
||||
old "Updating the project..."
|
||||
new "Päivitetään projektia..."
|
||||
new "Updating the project..."
|
||||
|
||||
# interface.rpy:107
|
||||
old "Documentation"
|
||||
@@ -737,27 +735,27 @@
|
||||
|
||||
# itch.rpy:60
|
||||
old "The built distributions could not be found. Please choose 'Build' and try again."
|
||||
new "Koottuja jakeluita ei löytynyt. Valitse 'Kokoa' ja yritä uudelleen."
|
||||
new "The built distributions could not be found. Please choose 'Build' and try again."
|
||||
|
||||
# itch.rpy:91
|
||||
old "No uploadable files were found. Please choose 'Build' and try again."
|
||||
new "Ladattavia tiedostoja ei löytynyt. Valitse 'Kokoa' ja yritä uudelleen."
|
||||
new "No uploadable files were found. Please choose 'Build' and try again."
|
||||
|
||||
# itch.rpy:99
|
||||
old "The butler program was not found."
|
||||
new "Butler-ohjelmaa ei löytynyt."
|
||||
new "The butler program was not found."
|
||||
|
||||
# itch.rpy:99
|
||||
old "Please install the itch.io app, which includes butler, and try again."
|
||||
new "Ole hyvä ja asenna itch.io-sovellus, joka sisältää butlerin, ja yritä uudelleen."
|
||||
new "Please install the itch.io app, which includes butler, and try again."
|
||||
|
||||
# itch.rpy:108
|
||||
old "The name of the itch project has not been set."
|
||||
new "Itch-projektin nimeä ei ole asetettu."
|
||||
new "The name of the itch project has not been set."
|
||||
|
||||
# itch.rpy:108
|
||||
old "Please {a=https://itch.io/game/new}create your project{/a}, then add a line like \n{vspace=5}define build.itch_project = \"user-name/game-name\"\n{vspace=5} to options.rpy."
|
||||
new "Ole hyvä ja {a=https://itch.io/game/new}luo projektisi{/a}, ja tämän jälkeen lisää rivi kuten \n{vspace=5}define build.itch_project = \"user-name/game-name\"\n{vspace=5} options.rpy-tiedostoon."
|
||||
new "Please {a=https://itch.io/game/new}create your project{/a}, then add a line like \n{vspace=5}define build.itch_project = \"user-name/game-name\"\n{vspace=5} to options.rpy."
|
||||
|
||||
# mobilebuild.rpy:109
|
||||
old "{a=%s}%s{/a}"
|
||||
@@ -829,23 +827,23 @@
|
||||
|
||||
# new_project.rpy:38
|
||||
old "New GUI Interface"
|
||||
new "Uusi GUI-käyttöliittymä"
|
||||
new "New GUI Interface"
|
||||
|
||||
# new_project.rpy:48
|
||||
old "Both interfaces have been translated to your language."
|
||||
new "Molemmat käyttöliittymät on käännetty kielellesi."
|
||||
new "Both interfaces have been translated to your language."
|
||||
|
||||
# new_project.rpy:50
|
||||
old "Only the new GUI has been translated to your language."
|
||||
new "Vain uusi GUI on käännetty kielellesi."
|
||||
new "Only the new GUI has been translated to your language."
|
||||
|
||||
# new_project.rpy:52
|
||||
old "Only the legacy theme interface has been translated to your language."
|
||||
new "Vain vanha teemakäyttöliittymä on käännetty kielellesi."
|
||||
new "Only the legacy theme interface has been translated to your language."
|
||||
|
||||
# new_project.rpy:54
|
||||
old "Neither interface has been translated to your language."
|
||||
new "Kumpaakaan käyttöliittymää ei ole käännetty kielellesi."
|
||||
new "Neither interface has been translated to your language."
|
||||
|
||||
# new_project.rpy:63
|
||||
old "The projects directory could not be set. Giving up."
|
||||
@@ -853,11 +851,11 @@
|
||||
|
||||
# new_project.rpy:69
|
||||
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."
|
||||
new "Kumpaa käyttöliittymää haluaisit käyttää? Uusi GUI on modernin näköinen, tukee leveitä näyttöjä sekä mobiililaitteita, ja sen kustomointi on helpompaa. Vanhat teemat voivat olla tarpeellisia vanhan esimerkkikoodin kanssa.\n\n[language_support!t]\n\nJos epäröit, valitse uusi käyttöliittymä, ja klikkaa Jatka oikeassa alakulmassa."
|
||||
new "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."
|
||||
|
||||
# new_project.rpy:69
|
||||
old "Legacy Theme Interface"
|
||||
new "Vanha Teemakäyttöliittymä"
|
||||
new "Legacy Theme Interface"
|
||||
|
||||
# new_project.rpy:90
|
||||
old "Choose Project Template"
|
||||
@@ -885,7 +883,7 @@
|
||||
|
||||
# preferences.rpy:96
|
||||
old "Not Set"
|
||||
new "Ei Valittu"
|
||||
new "Ei valittu"
|
||||
|
||||
# preferences.rpy:111
|
||||
old "Text Editor:"
|
||||
@@ -993,11 +991,11 @@
|
||||
|
||||
# translations.rpy:63
|
||||
old "Translations: [project.current.name!q]"
|
||||
new "Käännökset: [project.current.name!q]"
|
||||
new "Translations: [project.current.name!q]"
|
||||
|
||||
# translations.rpy:104
|
||||
old "The language to work with. This should only contain lower-case ASCII characters and underscores."
|
||||
new "Työkieli. Tämän tulisi sisältää vain pieniä ASCII-merkkejä ja alaviivoja."
|
||||
new "The language to work with. This should only contain lower-case ASCII characters and underscores."
|
||||
|
||||
# translations.rpy:130
|
||||
old "Generate empty strings for translations"
|
||||
@@ -1005,31 +1003,31 @@
|
||||
|
||||
# translations.rpy:148
|
||||
old "Generates or updates translation files. The files will be placed in game/tl/[persistent.translate_language!q]."
|
||||
new "Luo tai päivittää käännöstiedostot. Tiedostot sijoitetaan kansioon game/tl/[persistent.translate_language!q]."
|
||||
new "Generates or updates translation files. The files will be placed in game/tl/[persistent.translate_language!q]."
|
||||
|
||||
# translations.rpy:168
|
||||
old "Extract String Translations"
|
||||
new "Poimi Merkkijonojen Käännökset"
|
||||
new "Extract String Translations"
|
||||
|
||||
# translations.rpy:170
|
||||
old "Merge String Translations"
|
||||
new "Yhdistä Merkkijonojen Käännökset"
|
||||
new "Merge String Translations"
|
||||
|
||||
# translations.rpy:175
|
||||
old "Replace existing translations"
|
||||
new "Korvaa olemassaolevat käännökset"
|
||||
new "Replace existing translations"
|
||||
|
||||
# translations.rpy:176
|
||||
old "Reverse languages"
|
||||
new "Vaihda kielet päikseen"
|
||||
new "Reverse languages"
|
||||
|
||||
# translations.rpy:180
|
||||
old "Update Default Interface Translations"
|
||||
new "Päivitä Oletusarvoiset Käyttöliittymän Käännökset"
|
||||
new "Update Default Interface Translations"
|
||||
|
||||
# translations.rpy:200
|
||||
old "The extract command allows you to extract string translations from an existing project into a temporary file.\n\nThe merge command merges extracted translations into another project."
|
||||
new "Poimi-komento mahdollistaa merkkijonokäännösten poimimisen olemassaolevasta projektista väliaikaiseen tiedostoon.\n\nYhdistä-komento yhdistää poimitut käännökset toiseen projektiin."
|
||||
new "The extract command allows you to extract string translations from an existing project into a temporary file.\n\nThe merge command merges extracted translations into another project."
|
||||
|
||||
# translations.rpy:224
|
||||
old "Ren'Py is generating translations...."
|
||||
@@ -1041,23 +1039,23 @@
|
||||
|
||||
# translations.rpy:248
|
||||
old "Ren'Py is extracting string translations..."
|
||||
new "Ren'Py poimii merkkijonojen käännöksiä..."
|
||||
new "Ren'Py is extracting string translations..."
|
||||
|
||||
# translations.rpy:251
|
||||
old "Ren'Py has finished extracting [language] string translations."
|
||||
new "Ren'Py on onnistuneesti poiminut [language] merkkijonojen käännökset."
|
||||
new "Ren'Py has finished extracting [language] string translations."
|
||||
|
||||
# translations.rpy:271
|
||||
old "Ren'Py is merging string translations..."
|
||||
new "Ren'Py yhdisttää merkkijonojen käännöksiä..."
|
||||
new "Ren'Py is merging string translations..."
|
||||
|
||||
# translations.rpy:274
|
||||
old "Ren'Py has finished merging [language] string translations."
|
||||
new "Ren'Py on onnistuneesti yhdistänyt [language] merkkijonojen käännökset."
|
||||
new "Ren'Py has finished merging [language] string translations."
|
||||
|
||||
# translations.rpy:282
|
||||
old "Updating default interface translations..."
|
||||
new "Päivitetään oletusarvoisen käyttöliittymän käännöksiä..."
|
||||
new "Updating default interface translations..."
|
||||
|
||||
# translations.rpy:306
|
||||
old "Extract Dialogue: [project.current.name!q]"
|
||||
@@ -1186,3 +1184,4 @@
|
||||
# updater.rpy:195
|
||||
old "Proceed"
|
||||
new "Jatka"
|
||||
|
||||
|
||||
@@ -3,119 +3,119 @@ translate finnish strings:
|
||||
|
||||
# options.rpy:1
|
||||
old "## This file contains options that can be changed to customize your game."
|
||||
new "## Tämä tiedosto sisältää asetuksia, joita muokkaamalla voit mukauttaa peliäsi."
|
||||
new "## This file contains options that can be changed to customize your game."
|
||||
|
||||
# options.rpy:4
|
||||
old "## Lines beginning with two '#' marks are comments, and you shouldn't uncomment them. Lines beginning with a single '#' mark are commented-out code, and you may want to uncomment them when appropriate."
|
||||
new "## Rivit, jotka alkavat kahdells '#'-merkillä, ovat kommentteja eikä sinun tule muuttaa niitä ohjelmakoodiksi. Rivit, jotka alkavat yhdellä '#'-merkillä, ovat kommentoitua koodia, ja voit halutessasi palauttaa ne ohjelmakoodiksi."
|
||||
new "## Lines beginning with two '#' marks are comments, and you shouldn't uncomment them. Lines beginning with a single '#' mark are commented-out code, and you may want to uncomment them when appropriate."
|
||||
|
||||
# options.rpy:10
|
||||
old "## Basics"
|
||||
new "## Perusteet"
|
||||
new "## Basics"
|
||||
|
||||
# options.rpy:12
|
||||
old "## A human-readable name of the game. This is used to set the default window title, and shows up in the interface and error reports."
|
||||
new "## Ihmisille luettava pelin nimi. Tätä käytetään peli-ikkunan nimen asetuksessa, ja se näkyy pelin ikkunassa sekä virheraporteissa."
|
||||
new "## A human-readable name of the game. This is used to set the default window title, and shows up in the interface and error reports."
|
||||
|
||||
# options.rpy:15
|
||||
old "## The _() surrounding the string marks it as eligible for translation."
|
||||
new "## _() merkkijonon ympärillä merkitsee sen soveltuvaksi käännöksille."
|
||||
new "## The _() surrounding the string marks it as eligible for translation."
|
||||
|
||||
# options.rpy:17
|
||||
old "Ren'Py 7 Default GUI"
|
||||
new "Ren'Py 7 Oletusarvoinen GUI"
|
||||
new "Ren'Py 7 Default GUI"
|
||||
|
||||
# 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."
|
||||
new "## Päättää, näytetäänkö ylläannettu nimi pelin päävalikossa. Aseta arvoksi False piilottaaksesi nimen."
|
||||
new "## Determines if the title given above is shown on the main menu screen. Set this to False to hide the title."
|
||||
|
||||
# options.rpy:26
|
||||
old "## The version of the game."
|
||||
new "## Pelin versio."
|
||||
new "## The version of the game."
|
||||
|
||||
# options.rpy:31
|
||||
old "## Text that is placed on the game's about screen. To insert a blank line between paragraphs, write \\n\\n."
|
||||
new "## Teksti, joka näkyy pelin tietoja-ikkunassa. Lisätäksesi tyhjän rivin lauseiden väliin, kirjoita \\n\\n."
|
||||
new "## Text that is placed on the game's about screen. To insert a blank line between paragraphs, write \\n\\n."
|
||||
|
||||
# options.rpy:37
|
||||
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 "## Lyhyt nimi pelille, jota käytetään kootuille ohjelmatiedostoille sekä kansioille. Nimen on oltava pelkkiä ASCII-merkkejä, eikä se saa sisältää välilyöntejä, pisteitä, eikä puolipisteitä."
|
||||
new "## 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."
|
||||
|
||||
# options.rpy:44
|
||||
old "## Sounds and music"
|
||||
new "## Äänet ja musiikki"
|
||||
new "## Sounds and music"
|
||||
|
||||
# options.rpy:46
|
||||
old "## These three variables control which mixers are shown to the player by default. Setting one of these to False will hide the appropriate mixer."
|
||||
new "## Nämä kolme muuttujaa ohjaavat, mitkä mikserit näytetään pelaajalle oletusarvoisesti. Asettamalla arvoksi False piilottaa kyseisen mikserin."
|
||||
new "## These three variables control which mixers are shown to the player by default. Setting one of these to False will hide the appropriate mixer."
|
||||
|
||||
# options.rpy:55
|
||||
old "## To allow the user to play a test sound on the sound or voice channel, uncomment a line below and use it to set a sample sound to play."
|
||||
new "## Mahdollistaaksesi käyttäjän soittaa testiääni äänitehoste- tai puhekanavilla, palauta seuraava kommentti takaisin ohjelmakoodiksi ja käytä sitä valitaksesi sopivan testiäänen."
|
||||
new "## To allow the user to play a test sound on the sound or voice channel, uncomment a line below and use it to set a sample sound to play."
|
||||
|
||||
# options.rpy:62
|
||||
old "## Uncomment the following line to set an audio file that will be played while the player is at the main menu. This file will continue playing into the game, until it is stopped or another file is played."
|
||||
new "## Palauta seuraava rivi takaisin ohjelmakoodiksi valitaksesi äänitiedoston, jota soitetaan pelaajan ollessa päävalikossa. Tämän tiedoston toisto jatkuu pelin alkaessa, kunnes se pysäytetään tai toinen tiedosto alkaa soimaan."
|
||||
new "## Uncomment the following line to set an audio file that will be played while the player is at the main menu. This file will continue playing into the game, until it is stopped or another file is played."
|
||||
|
||||
# options.rpy:69
|
||||
old "## Transitions"
|
||||
new "## Siirtymät"
|
||||
new "## Transitions"
|
||||
|
||||
# options.rpy:71
|
||||
old "## These variables set transitions that are used when certain events occur. Each variable should be set to a transition, or None to indicate that no transition should be used."
|
||||
new "## Nämä muuttujat asettavat erilaisia siirtymiä eri tapahhtumien kohdalla. Jokainen muuttuja tulee asettaa johonkin siirtymään, tai None mikäli siirtymää ei haluta käyttää."
|
||||
new "## These variables set transitions that are used when certain events occur. Each variable should be set to a transition, or None to indicate that no transition should be used."
|
||||
|
||||
# options.rpy:75
|
||||
old "## Entering or exiting the game menu."
|
||||
new "## Pelivalikon avaaminen ja sulkeminen."
|
||||
new "## Entering or exiting the game menu."
|
||||
|
||||
# options.rpy:81
|
||||
old "## A transition that is used after a game has been loaded."
|
||||
new "## Siirtymä, jota käytetään kun peli on ladattu."
|
||||
new "## A transition that is used after a game has been loaded."
|
||||
|
||||
# options.rpy:86
|
||||
old "## Used when entering the main menu after the game has ended."
|
||||
new "## Käytetään siirryttäessä päävalikkoon pelin päätyttyä."
|
||||
new "## Used when entering the main menu after the game has ended."
|
||||
|
||||
# options.rpy:91
|
||||
old "## A variable to set the transition used when the game starts does not exist. Instead, use a with statement after showing the initial scene."
|
||||
new "## Muuttujaa siirtymän valitsemiseksi pelin alkaessa ei ole olemassa. Sen sijaan, käytä with-väitettä näytettyäsi ensimmäisen kohtauksen."
|
||||
new "## A variable to set the transition used when the game starts does not exist. Instead, use a with statement after showing the initial scene."
|
||||
|
||||
# options.rpy:96
|
||||
old "## Window management"
|
||||
new "## Ikkunanhallinta"
|
||||
new "## Window management"
|
||||
|
||||
# options.rpy:98
|
||||
old "## This controls when the dialogue window is displayed. If \"show\", it is always displayed. If \"hide\", it is only displayed when dialogue is present. If \"auto\", the window is hidden before scene statements and shown again once dialogue is displayed."
|
||||
new "## Tämä muokkaa dialogi-ikkunan näkyvyyttä. Arvon ollessa \"show\", ikkuna on aina näkyvissä. Mikäli se on \"hide\", ikkuna näkyy vain kun on dialogia mitä näyttää. Ja jos se on \"auto\", ikkuna ei ole näkyvissä ennen scene-lauseita ja näytetään kun dialogia on näytettävänä."
|
||||
new "## This controls when the dialogue window is displayed. If \"show\", it is always displayed. If \"hide\", it is only displayed when dialogue is present. If \"auto\", the window is hidden before scene statements and shown again once dialogue is displayed."
|
||||
|
||||
# options.rpy:103
|
||||
old "## After the game has started, this can be changed with the \"window show\", \"window hide\", and \"window auto\" statements."
|
||||
new "## Pelin alettua, tätä voidaan muuttaa \"window show\", \"window hide\", ja \"window auto\" -lauseilla."
|
||||
new "## After the game has started, this can be changed with the \"window show\", \"window hide\", and \"window auto\" statements."
|
||||
|
||||
# options.rpy:109
|
||||
old "## Transitions used to show and hide the dialogue window"
|
||||
new "## Siirtymät, joita käytetään dialogi-ikkunan näytössä ja piilotuksessa"
|
||||
new "## Transitions used to show and hide the dialogue window"
|
||||
|
||||
# options.rpy:115
|
||||
old "## Preference defaults"
|
||||
new "## Asetusten oletusarvot"
|
||||
new "## Preference defaults"
|
||||
|
||||
# options.rpy:117
|
||||
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 "## Asettaa tekstin näytön oletusnopeuden. Oletusarvo, 0, on ääretön (teksti näkyy välittömästi), kaikki muut positiiviset luvut asettavat näytettyjen merkkien lukumäärän sekunnissa."
|
||||
new "## Controls the default text speed. The default, 0, is infinite, while any other number is the number of characters per second to type out."
|
||||
|
||||
# options.rpy:123
|
||||
old "## The default auto-forward delay. Larger numbers lead to longer waits, with 0 to 30 being the valid range."
|
||||
new "## Oletusarvoinen automaattisen jatkamisen viive. Suuremmat luvut johtavatt pidempiin viiveisiin, tuetut arvot ovat väliltä 0-30."
|
||||
new "## The default auto-forward delay. Larger numbers lead to longer waits, with 0 to 30 being the valid range."
|
||||
|
||||
# options.rpy:129
|
||||
old "## Save directory"
|
||||
new "## Tallennuskansio"
|
||||
new "## Save directory"
|
||||
|
||||
# options.rpy:131
|
||||
old "## Controls the platform-specific place Ren'Py will place the save files for this game. The save files will be placed in:"
|
||||
new "## Asettaa alustariippuvaisen sijainnin, johon Ren'Py tallentaa pelitallennukset. Tallennustiedostot tallennetaan kansioon:"
|
||||
new "## Controls the platform-specific place Ren'Py will place the save files for this game. The save files will be placed in:"
|
||||
|
||||
# options.rpy:134
|
||||
old "## Windows: %APPDATA\\RenPy\\<config.save_directory>"
|
||||
@@ -131,65 +131,65 @@ translate finnish strings:
|
||||
|
||||
# options.rpy:140
|
||||
old "## This generally should not be changed, and if it is, should always be a literal string, not an expression."
|
||||
new "## Tätä ei yleensä kannata muuttaa, ja jos muutetaan, sen tulee aina olla merkkijonoliteraali eikä ekspressio."
|
||||
new "## This generally should not be changed, and if it is, should always be a literal string, not an expression."
|
||||
|
||||
# options.rpy:146
|
||||
old "## Icon ########################################################################'"
|
||||
new "## Ikoni #######################################################################'"
|
||||
new "## Icon ########################################################################'"
|
||||
|
||||
# options.rpy:148
|
||||
old "## The icon displayed on the taskbar or dock."
|
||||
new "## Tehtäväpalkissa tai työpöydällä näkyvä ikoni."
|
||||
new "## The icon displayed on the taskbar or dock."
|
||||
|
||||
# options.rpy:153
|
||||
old "## Build configuration"
|
||||
new "## Jakeluasetukset"
|
||||
new "## Build configuration"
|
||||
|
||||
# options.rpy:155
|
||||
old "## This section controls how Ren'Py turns your project into distribution files."
|
||||
new "## Tämä osio ohjaa Ren'Py:n käyttäytymistä pelin jakeluiden kokoamisvaiheessa."
|
||||
new "## This section controls how Ren'Py turns your project into distribution files."
|
||||
|
||||
# options.rpy:160
|
||||
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 "## Seuraavat funktiot vaativat tiedostonimimallin. Mallit ovat kirjasinkokoriippumattomia, ja niitä verrataan projektikansiosta riippuvaisina, joko alkavan /-merkin kanssa tai ilman. Jos useampi malli täsmää, käytetään ensimmäistä sopivaa."
|
||||
new "## 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."
|
||||
|
||||
# options.rpy:165
|
||||
old "## In a pattern:"
|
||||
new "## Mallin syntaksi:"
|
||||
new "## In a pattern:"
|
||||
|
||||
# options.rpy:167
|
||||
old "## / is the directory separator."
|
||||
new "## / on kansioiden erotin."
|
||||
new "## / is the directory separator."
|
||||
|
||||
# options.rpy:169
|
||||
old "## * matches all characters, except the directory separator."
|
||||
new "## * täsmää kaikkiin merkkeihin, paitsi kansion erottimeen."
|
||||
new "## * matches all characters, except the directory separator."
|
||||
|
||||
# options.rpy:171
|
||||
old "## ** matches all characters, including the directory separator."
|
||||
new "## ** täsmää kaikkiin merkkeihin, mukaan lukien kansion erottimeen."
|
||||
new "## ** matches all characters, including the directory separator."
|
||||
|
||||
# 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."
|
||||
new "## Esimerkiksi, \"*.txt\" täsmää kaikkiin txt-tiedostoihin projektikansiossa, \"game/**.ogg\" täsmää kaikkiin ogg-tiedostoihin game-kansiossa tai sen alakansioissa, ja \"**.psd\" täsmää kaikkiin, missä tahansa projektissa sijaitseviin psd-tiedostoihin."
|
||||
new "## 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."
|
||||
|
||||
# options.rpy:177
|
||||
old "## Classify files as None to exclude them from the built distributions."
|
||||
new "## Luokittele tiedostot arvolla None jättääksesi ne pois kootuista jakeluista."
|
||||
new "## Classify files as None to exclude them from the built distributions."
|
||||
|
||||
# options.rpy:185
|
||||
old "## To archive files, classify them as 'archive'."
|
||||
new "## Arkistoidaksesi tiedostoja, luokittele ne arvolla 'archive'."
|
||||
new "## To archive files, classify them as 'archive'."
|
||||
|
||||
# options.rpy:190
|
||||
old "## Files matching documentation patterns are duplicated in a mac app build, so they appear in both the app and the zip file."
|
||||
new "## Dokumentaatiotiedostot kloonautuvat mac-sovelluksissa, joten ne sisältyvät sekä sovelluksessa että zip-tiedostossa."
|
||||
new "## Files matching documentation patterns are duplicated in a mac app build, so they appear in both the app and the zip file."
|
||||
|
||||
# options.rpy:196
|
||||
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 -lisenssiavain vaaditaan jotta lisäosatiedostoja ja sovelluksen sisäisiä ostoja voidaan tukea. Sen voi löytää \"Services & APIs\"-sivulta Google Play -kehittäjäkonsolista."
|
||||
new "## 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."
|
||||
|
||||
# options.rpy:203
|
||||
old "## The username and project name associated with an itch.io project, separated by a slash."
|
||||
new "## Kauttaviivan erottama käyttäjänimi ja itch.io-projektinimi."
|
||||
new "## The username and project name associated with an itch.io project, separated by a slash."
|
||||
|
||||
|
||||
@@ -3,23 +3,23 @@ translate finnish strings:
|
||||
|
||||
# screens.rpy:9
|
||||
old "## Styles"
|
||||
new "## Tyylit"
|
||||
new "## Styles"
|
||||
|
||||
# screens.rpy:87
|
||||
old "## In-game screens"
|
||||
new "## Pelinsisäiset näytöt"
|
||||
new "## In-game screens"
|
||||
|
||||
# screens.rpy:91
|
||||
old "## Say screen"
|
||||
new "## Tulostenäyttö"
|
||||
new "## Say screen"
|
||||
|
||||
# screens.rpy:93
|
||||
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 "## Tulostenäyttöä käytetään dialogin näyttämiseen pelaajalle. Se ottaa kaksi parametriä, who ja what, jotka ovat puhuvan hahmon nimi sekä näytettävä teksti. (who-parametri voi olla None, jos nimeä ei anneta.)"
|
||||
new "## 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.)"
|
||||
|
||||
# screens.rpy:98
|
||||
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 "## Tämän näytön on luotava tekstiesittäjä käyttäen komentoa id \"what\", sillä Ren'Py käyttää tätä tekstin näytön käsittelyssä. Se voi myös luoda grafiikkaa käyttäen komentoja id \"who\" ja id \"window\" tyyliominaisuuksien lisäämiseksi."
|
||||
new "## 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."
|
||||
|
||||
# screens.rpy:102
|
||||
old "## https://www.renpy.org/doc/html/screen_special.html#say"
|
||||
@@ -27,15 +27,15 @@ translate finnish strings:
|
||||
|
||||
# screens.rpy:169
|
||||
old "## Input screen"
|
||||
new "## Syötenäyttö"
|
||||
new "## Input screen"
|
||||
|
||||
# screens.rpy:171
|
||||
old "## This screen is used to display renpy.input. The prompt parameter is used to pass a text prompt in."
|
||||
new "## Tätä näyttöä käytetään renpy.input:in renderöinnissä. prompt-parametri antaa kehotetekstin."
|
||||
new "## This screen is used to display renpy.input. The prompt parameter is used to pass a text prompt in."
|
||||
|
||||
# screens.rpy:174
|
||||
old "## This screen must create an input displayable with id \"input\" to accept the various input parameters."
|
||||
new "## Tämän näytön tulee luoda syöttöikkuna käyttäen komentoa id \"input\" voidakseen hyväksyä erilaisia syöteparametrejä."
|
||||
new "## This screen must create an input displayable with id \"input\" to accept the various input parameters."
|
||||
|
||||
# screens.rpy:177
|
||||
old "## http://www.renpy.org/doc/html/screen_special.html#input"
|
||||
@@ -43,11 +43,11 @@ translate finnish strings:
|
||||
|
||||
# screens.rpy:205
|
||||
old "## Choice screen"
|
||||
new "## Valintanäyttö"
|
||||
new "## Choice screen"
|
||||
|
||||
# screens.rpy:207
|
||||
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 "## Tätä näyttöä käytetään esittämään pelinsisäiset menu-lauseen esittämät valinnat. Sen ainoa parametri, items, on lista olioista, joiista jokaisessa on kentät otsikolle ja toiminnolle."
|
||||
new "## 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."
|
||||
|
||||
# screens.rpy:211
|
||||
old "## http://www.renpy.org/doc/html/screen_special.html#choice"
|
||||
@@ -55,15 +55,15 @@ translate finnish strings:
|
||||
|
||||
# screens.rpy:221
|
||||
old "## When this is true, menu captions will be spoken by the narrator. When false, menu captions will be displayed as empty buttons."
|
||||
new "## Tämän ollessa tosi, kertoja puhuu valinnat ääneen. Ja kun epätosi, vaihtoehdot näytetään tyhjinä painikkeina."
|
||||
new "## When this is true, menu captions will be spoken by the narrator. When false, menu captions will be displayed as empty buttons."
|
||||
|
||||
# screens.rpy:244
|
||||
old "## Quick Menu screen"
|
||||
new "## Pikavalikkonäyttö"
|
||||
new "## Quick Menu screen"
|
||||
|
||||
# screens.rpy:246
|
||||
old "## The quick menu is displayed in-game to provide easy access to the out-of-game menus."
|
||||
new "## Pikavalikko näytetään pelin aikana, tarjoten helpon pääsyn pelin ulkoisiin valikkoihin."
|
||||
new "## The quick menu is displayed in-game to provide easy access to the out-of-game menus."
|
||||
|
||||
# screens.rpy:261
|
||||
old "Back"
|
||||
@@ -71,7 +71,7 @@ translate finnish strings:
|
||||
|
||||
# screens.rpy:262
|
||||
old "History"
|
||||
new "Historia"
|
||||
new "History"
|
||||
|
||||
# screens.rpy:263
|
||||
old "Skip"
|
||||
@@ -83,51 +83,51 @@ translate finnish strings:
|
||||
|
||||
# screens.rpy:265
|
||||
old "Save"
|
||||
new "Tallenna"
|
||||
new "Save"
|
||||
|
||||
# screens.rpy:266
|
||||
old "Q.Save"
|
||||
new "P.Tallenna"
|
||||
new "Q.Save"
|
||||
|
||||
# screens.rpy:267
|
||||
old "Q.Load"
|
||||
new "P.Lataa"
|
||||
new "Q.Load"
|
||||
|
||||
# screens.rpy:268
|
||||
old "Prefs"
|
||||
new "Asetukset"
|
||||
new "Prefs"
|
||||
|
||||
# screens.rpy:271
|
||||
old "## This code ensures that the quick_menu screen is displayed in-game, whenever the player has not explicitly hidden the interface."
|
||||
new "## Tämä koodi varmistaa, että quick_menu-näyttö näytetään pelin aikana, aina kun pelaaja ei ole erikseen sitä piilottanut."
|
||||
new "## This code ensures that the quick_menu screen is displayed in-game, whenever the player has not explicitly hidden the interface."
|
||||
|
||||
# screens.rpy:291
|
||||
old "## Navigation screen"
|
||||
new "## Siirtymänäyttö"
|
||||
new "## Navigation screen"
|
||||
|
||||
# screens.rpy:293
|
||||
old "## This screen is included in the main and game menus, and provides navigation to other menus, and to start the game."
|
||||
new "## Tämä näyttö sisältyy pää- ja pelivalikkoon, tarjoten pääsyn muihin valikoihin, sekä pelin aloitukseen."
|
||||
new "## This screen is included in the main and game menus, and provides navigation to other menus, and to start the game."
|
||||
|
||||
# screens.rpy:308
|
||||
old "Start"
|
||||
new "Aloita"
|
||||
new "Start"
|
||||
|
||||
# screens.rpy:316
|
||||
old "Load"
|
||||
new "Lataa"
|
||||
new "Load"
|
||||
|
||||
# screens.rpy:318
|
||||
old "Preferences"
|
||||
new "Asetukset"
|
||||
new "Preferences"
|
||||
|
||||
# screens.rpy:322
|
||||
old "End Replay"
|
||||
new "Päätä Toisto"
|
||||
new "End Replay"
|
||||
|
||||
# screens.rpy:326
|
||||
old "Main Menu"
|
||||
new "Päävalikko"
|
||||
new "Main Menu"
|
||||
|
||||
# screens.rpy:328
|
||||
old "About"
|
||||
@@ -135,15 +135,15 @@ translate finnish strings:
|
||||
|
||||
# screens.rpy:332
|
||||
old "## Help isn't necessary or relevant to mobile devices."
|
||||
new "## Ohje ei ole tarpeellinen tai oleellinen mobiililaitteilla."
|
||||
new "## Help isn't necessary or relevant to mobile devices."
|
||||
|
||||
# screens.rpy:333
|
||||
old "Help"
|
||||
new "Ohje"
|
||||
new "Help"
|
||||
|
||||
# screens.rpy:335
|
||||
old "## The quit button is banned on iOS and unnecessary on Android."
|
||||
new "## Poistu-painike on kielletty iOS-laitteilla, ja tarpeeton Android-laitteilla."
|
||||
new "## The quit button is banned on iOS and unnecessary on Android."
|
||||
|
||||
# screens.rpy:336
|
||||
old "Quit"
|
||||
@@ -151,11 +151,11 @@ translate finnish strings:
|
||||
|
||||
# screens.rpy:350
|
||||
old "## Main Menu screen"
|
||||
new "## Päävalikkonäkymä"
|
||||
new "## Main Menu screen"
|
||||
|
||||
# screens.rpy:352
|
||||
old "## Used to display the main menu when Ren'Py starts."
|
||||
new "## Käytetään päävalikon näyttämiseksi Ren'Py:n käynnistyessä."
|
||||
new "## Used to display the main menu when Ren'Py starts."
|
||||
|
||||
# screens.rpy:354
|
||||
old "## http://www.renpy.org/doc/html/screen_special.html#main-menu"
|
||||
@@ -163,19 +163,19 @@ translate finnish strings:
|
||||
|
||||
# screens.rpy:369
|
||||
old "## The use statement includes another screen inside this one. The actual contents of the main menu are in the navigation screen."
|
||||
new "## use-komento sisältää toisen näytön. Päävalikon sisältö on todellisuudessa osa siirtymänäyttöä."
|
||||
new "## The use statement includes another screen inside this one. The actual contents of the main menu are in the navigation screen."
|
||||
|
||||
# screens.rpy:413
|
||||
old "## Game Menu screen"
|
||||
new "## Pelivalikkonäkymä"
|
||||
new "## Game Menu screen"
|
||||
|
||||
# screens.rpy:415
|
||||
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 "## Tämä esittää pelivalikon perusrakenteen. Sitä kutsutaan näytön nimellä, ja se näyttää taustakuvan, nimen, sekä siirtymävalinnat."
|
||||
new "## 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."
|
||||
|
||||
# screens.rpy:418
|
||||
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-parametri voi olla None, tai vaihtoisesti \"viewport\" tai \"vpgrid\". Tämän näytön sisältäessä yhden tai useamman muun näytön, jotka sijoitetaan sen sisään."
|
||||
new "## 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."
|
||||
|
||||
# screens.rpy:476
|
||||
old "Return"
|
||||
@@ -183,43 +183,43 @@ translate finnish strings:
|
||||
|
||||
# screens.rpy:539
|
||||
old "## About screen"
|
||||
new "## Tietoja-näyttö"
|
||||
new "## About screen"
|
||||
|
||||
# screens.rpy:541
|
||||
old "## This screen gives credit and copyright information about the game and Ren'Py."
|
||||
new "## Tämä näyttö antaa kehuja kehittäjille, sekä kopio-oikeusinformaatiota pelistä sekä Ren'Py:stä."
|
||||
new "## This screen gives credit and copyright information about the game and Ren'Py."
|
||||
|
||||
# screens.rpy:544
|
||||
old "## There's nothing special about this screen, and hence it also serves as an example of how to make a custom screen."
|
||||
new "## Tässä näytössä ei ole mitään erityistä, minkä vuoksi se toimii hyvin esimerkkinä itse tehdystä näytöstä."
|
||||
new "## There's nothing special about this screen, and hence it also serves as an example of how to make a custom screen."
|
||||
|
||||
# screens.rpy:551
|
||||
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 "## Tämä use-lause sisältää game_menu-näytön. Sen alainen vbox-ikkuna sisältyy täten näkymään game_menu-näytön kautta."
|
||||
new "## 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."
|
||||
|
||||
# screens.rpy:561
|
||||
old "Version [config.version!t]\n"
|
||||
new "Versio [config.version!t]\n"
|
||||
new "Version [config.version!t]\n"
|
||||
|
||||
# screens.rpy:563
|
||||
old "## gui.about is usually set in options.rpy."
|
||||
new "## gui.about asetetaan yleensä tiedostossa options.rpy."
|
||||
new "## gui.about is usually set in options.rpy."
|
||||
|
||||
# screens.rpy:567
|
||||
old "Made with {a=https://www.renpy.org/}Ren'Py{/a} [renpy.version_only].\n\n[renpy.license!t]"
|
||||
new "Kehitetty käyttäen ohjelmaa {a=https://www.renpy.org/}Ren'Py{/a} [renpy.version_only].\n\n[renpy.license!t]"
|
||||
new "Made with {a=https://www.renpy.org/}Ren'Py{/a} [renpy.version_only].\n\n[renpy.license!t]"
|
||||
|
||||
# screens.rpy:570
|
||||
old "## This is redefined in options.rpy to add text to the about screen."
|
||||
new "## Tämä on määritelty uudelleen options.rpy-tiedostossa tekstin lisäämiseksi tietoja-näyttöön."
|
||||
new "## This is redefined in options.rpy to add text to the about screen."
|
||||
|
||||
# screens.rpy:582
|
||||
old "## Load and Save screens"
|
||||
new "## Lataa ja Tallenna -näytöt"
|
||||
new "## Load and Save screens"
|
||||
|
||||
# screens.rpy:584
|
||||
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 "## Nämä näytöt mahdollistavat pelaajan tallentaa pelin edistys ja ladata olemassaolevia tallennuksia. Koska näillä on niin paljon yhteistä, molemmat näytöt on määritelty kolmannen näytön, file_slots, mukaan."
|
||||
new "## 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."
|
||||
|
||||
# screens.rpy:588
|
||||
old "## https://www.renpy.org/doc/html/screen_special.html#save https://www.renpy.org/doc/html/screen_special.html#load"
|
||||
@@ -239,11 +239,11 @@ translate finnish strings:
|
||||
|
||||
# screens.rpy:613
|
||||
old "## This ensures the input will get the enter event before any of the buttons do."
|
||||
new "## Tämä varmistaa, että input saa enter-tapahtuman ennen muita painikkeita."
|
||||
new "## This ensures the input will get the enter event before any of the buttons do."
|
||||
|
||||
# screens.rpy:629
|
||||
old "## The grid of file slots."
|
||||
new "## Tallennuspaikkojen taulukko."
|
||||
new "## The grid of file slots."
|
||||
|
||||
# screens.rpy:649
|
||||
old "{#file_time}%A, %B %d %Y, %H:%M"
|
||||
@@ -251,11 +251,11 @@ translate finnish strings:
|
||||
|
||||
# screens.rpy:649
|
||||
old "empty slot"
|
||||
new "tyhjä paikka"
|
||||
new "empty slot"
|
||||
|
||||
# screens.rpy:657
|
||||
old "## Buttons to access other pages."
|
||||
new "## Painikkeita muille sivuille pääsyä varten."
|
||||
new "## Buttons to access other pages."
|
||||
|
||||
# screens.rpy:666
|
||||
old "<"
|
||||
@@ -275,11 +275,11 @@ translate finnish strings:
|
||||
|
||||
# screens.rpy:711
|
||||
old "## Preferences screen"
|
||||
new "## Asetukset-näyttö"
|
||||
new "## Preferences screen"
|
||||
|
||||
# screens.rpy:713
|
||||
old "## The preferences screen allows the player to configure the game to better suit themselves."
|
||||
new "## Asetukset antavat pelaajan säätää pelin grafiikka, toiminnot sekä äänet mieleisekseen."
|
||||
new "## The preferences screen allows the player to configure the game to better suit themselves."
|
||||
|
||||
# screens.rpy:716
|
||||
old "## https://www.renpy.org/doc/html/screen_special.html#preferences"
|
||||
@@ -299,7 +299,7 @@ translate finnish strings:
|
||||
|
||||
# screens.rpy:744
|
||||
old "Rollback Side"
|
||||
new "Palautussivu"
|
||||
new "Rollback Side"
|
||||
|
||||
# screens.rpy:745
|
||||
old "Disable"
|
||||
@@ -307,63 +307,63 @@ translate finnish strings:
|
||||
|
||||
# screens.rpy:746
|
||||
old "Left"
|
||||
new "Vasen"
|
||||
new "Left"
|
||||
|
||||
# screens.rpy:747
|
||||
old "Right"
|
||||
new "Oikea"
|
||||
new "Right"
|
||||
|
||||
# screens.rpy:752
|
||||
old "Unseen Text"
|
||||
new "Lukematon Teksti"
|
||||
new "Unseen Text"
|
||||
|
||||
# screens.rpy:753
|
||||
old "After Choices"
|
||||
new "Päätösten Jälkeen"
|
||||
new "After Choices"
|
||||
|
||||
# screens.rpy:754
|
||||
old "Transitions"
|
||||
new "Siirtymät"
|
||||
new "Transitions"
|
||||
|
||||
# screens.rpy:756
|
||||
old "## Additional vboxes of type \"radio_pref\" or \"check_pref\" can be added here, to add additional creator-defined preferences."
|
||||
new "## Ylimääräisiä tyyppien \"radio_pref\" tai \"check_pref\" vboxeja voidaan lisätä tähän, antaen pelaajalle ylimääräisiä kehittäjän luomia asetuksia."
|
||||
new "## Additional vboxes of type \"radio_pref\" or \"check_pref\" can be added here, to add additional creator-defined preferences."
|
||||
|
||||
# screens.rpy:767
|
||||
old "Text Speed"
|
||||
new "Tekstin Nopeus"
|
||||
new "Text Speed"
|
||||
|
||||
# screens.rpy:771
|
||||
old "Auto-Forward Time"
|
||||
new "Automaattisen Jatkamisen Viive"
|
||||
new "Auto-Forward Time"
|
||||
|
||||
# screens.rpy:778
|
||||
old "Music Volume"
|
||||
new "Musiikin Äänenvoimakkuus"
|
||||
new "Music Volume"
|
||||
|
||||
# screens.rpy:785
|
||||
old "Sound Volume"
|
||||
new "Ääniefektien Äänenvoimakkuus"
|
||||
new "Äänenvoimakkuus"
|
||||
|
||||
# screens.rpy:791
|
||||
old "Test"
|
||||
new "Kokeile"
|
||||
new "Test"
|
||||
|
||||
# screens.rpy:795
|
||||
old "Voice Volume"
|
||||
new "Puheen Äänenvoimakkuus"
|
||||
new "Voice Volume"
|
||||
|
||||
# screens.rpy:806
|
||||
old "Mute All"
|
||||
new "Mykistä Kaikki"
|
||||
new "Mute All"
|
||||
|
||||
# screens.rpy:882
|
||||
old "## History screen"
|
||||
new "## Historia-näyttö"
|
||||
new "## History screen"
|
||||
|
||||
# screens.rpy:884
|
||||
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 "## Tämä näyttö näyttää dialogihistorian pelaajalle. Vaikka kyseisessä näytössä ei ole mitään erityistä, sillä on pääsy _history_list:iin tallennettuun dialogihistoriaan."
|
||||
new "## 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."
|
||||
|
||||
# screens.rpy:888
|
||||
old "## https://www.renpy.org/doc/html/history.html"
|
||||
@@ -371,35 +371,35 @@ translate finnish strings:
|
||||
|
||||
# screens.rpy:894
|
||||
old "## Avoid predicting this screen, as it can be very large."
|
||||
new "## Vältä ennustamasta tätä näyttöä, sillä se voi olla hyvin suuri."
|
||||
new "## Avoid predicting this screen, as it can be very large."
|
||||
|
||||
# screens.rpy:905
|
||||
old "## This lays things out properly if history_height is None."
|
||||
new "## Tämä asettelee dialogin kunnnolla, jos history_height on None."
|
||||
new "## This lays things out properly if history_height is None."
|
||||
|
||||
# screens.rpy:914
|
||||
old "## Take the color of the who text from the Character, if set."
|
||||
new "## Ota väri hahmon who-tekstistä, jos asetettu."
|
||||
new "## Take the color of the who text from the Character, if set."
|
||||
|
||||
# screens.rpy:921
|
||||
old "The dialogue history is empty."
|
||||
new "Dialogihistoria on tyhjä."
|
||||
new "The dialogue history is empty."
|
||||
|
||||
# screens.rpy:965
|
||||
old "## Help screen"
|
||||
new "## Ohje-näyttö"
|
||||
new "## Help screen"
|
||||
|
||||
# screens.rpy:967
|
||||
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 "## Näyttö, joka tarjoaa tietoa pelin käyttämistä hiiren ja näppäimistön painikkeista sekä niiden toiminnoista. Se käyttää muita näyttöjä (keyboard_help, mouse_help, ja gamepad_help) näyttääkseen itse ohjeet."
|
||||
new "## 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."
|
||||
|
||||
# screens.rpy:986
|
||||
old "Keyboard"
|
||||
new "Näppäimistö"
|
||||
new "Keyboard"
|
||||
|
||||
# screens.rpy:987
|
||||
old "Mouse"
|
||||
new "Hiiri"
|
||||
new "Mouse"
|
||||
|
||||
# screens.rpy:990
|
||||
old "Gamepad"
|
||||
@@ -411,31 +411,31 @@ translate finnish strings:
|
||||
|
||||
# screens.rpy:1004
|
||||
old "Advances dialogue and activates the interface."
|
||||
new "Jatkaa dialogia ja aktivoi valittuja toimintoja."
|
||||
new "Advances dialogue and activates the interface."
|
||||
|
||||
# screens.rpy:1007
|
||||
old "Space"
|
||||
new "Välilyönti"
|
||||
new "Space"
|
||||
|
||||
# screens.rpy:1008
|
||||
old "Advances dialogue without selecting choices."
|
||||
new "Jatkaa dialogia tekemättä päätöksiä."
|
||||
new "Advances dialogue without selecting choices."
|
||||
|
||||
# screens.rpy:1011
|
||||
old "Arrow Keys"
|
||||
new "Nuolinäppäimet"
|
||||
new "Arrow Keys"
|
||||
|
||||
# screens.rpy:1012
|
||||
old "Navigate the interface."
|
||||
new "Liiku käyttöliittymässä."
|
||||
new "Navigate the interface."
|
||||
|
||||
# screens.rpy:1015
|
||||
old "Escape"
|
||||
new "Esc"
|
||||
new "Escape"
|
||||
|
||||
# screens.rpy:1016
|
||||
old "Accesses the game menu."
|
||||
new "Avaa ja sulkee pelivalikon."
|
||||
new "Accesses the game menu."
|
||||
|
||||
# screens.rpy:1019
|
||||
old "Ctrl"
|
||||
@@ -443,15 +443,15 @@ translate finnish strings:
|
||||
|
||||
# screens.rpy:1020
|
||||
old "Skips dialogue while held down."
|
||||
new "Sivuuttaa dialogin pidettäessä painettuna."
|
||||
new "Skips dialogue while held down."
|
||||
|
||||
# screens.rpy:1023
|
||||
old "Tab"
|
||||
new "Sarkain"
|
||||
new "Tab"
|
||||
|
||||
# screens.rpy:1024
|
||||
old "Toggles dialogue skipping."
|
||||
new "Asettaa dialogin sivuutuksen päälle ja pois."
|
||||
new "Toggles dialogue skipping."
|
||||
|
||||
# screens.rpy:1027
|
||||
old "Page Up"
|
||||
@@ -459,83 +459,83 @@ translate finnish strings:
|
||||
|
||||
# screens.rpy:1028
|
||||
old "Rolls back to earlier dialogue."
|
||||
new "Siirtyy takaisin aiempaan dialogiin."
|
||||
new "Rolls back to earlier dialogue."
|
||||
|
||||
# screens.rpy:1031
|
||||
old "Page Down"
|
||||
new "Siirtyy uudempaan dialogiin."
|
||||
new "Page Down"
|
||||
|
||||
# screens.rpy:1032
|
||||
old "Rolls forward to later dialogue."
|
||||
new "Vierittää kohti uudempaa dialogia."
|
||||
new "Rolls forward to later dialogue."
|
||||
|
||||
# screens.rpy:1036
|
||||
old "Hides the user interface."
|
||||
new "Piilottaa käyttöliittymän."
|
||||
new "Hides the user interface."
|
||||
|
||||
# screens.rpy:1040
|
||||
old "Takes a screenshot."
|
||||
new "Ottaa näytönkaappauksen."
|
||||
new "Takes a screenshot."
|
||||
|
||||
# screens.rpy:1044
|
||||
old "Toggles assistive {a=https://www.renpy.org/l/voicing}self-voicing{/a}."
|
||||
new "Asettaa auttavan {a=https://www.renpy.org/l/voicing}TTS-tilan{/a} päälle ja pois."
|
||||
new "Toggles assistive {a=https://www.renpy.org/l/voicing}self-voicing{/a}."
|
||||
|
||||
# screens.rpy:1050
|
||||
old "Left Click"
|
||||
new "Hiiren Vasen Painike"
|
||||
new "Left Click"
|
||||
|
||||
# screens.rpy:1054
|
||||
old "Middle Click"
|
||||
new "Hiiren Keskipainike"
|
||||
new "Middle Click"
|
||||
|
||||
# screens.rpy:1058
|
||||
old "Right Click"
|
||||
new "Hiiren Oikea Painike"
|
||||
new "Right Click"
|
||||
|
||||
# screens.rpy:1062
|
||||
old "Mouse Wheel Up\nClick Rollback Side"
|
||||
new "Hiiren Rulla Ylös\nKlikkaa Palautussivua"
|
||||
new "Mouse Wheel Up\nClick Rollback Side"
|
||||
|
||||
# screens.rpy:1066
|
||||
old "Mouse Wheel Down"
|
||||
new "Hiiren Rulla Alas"
|
||||
new "Mouse Wheel Down"
|
||||
|
||||
# screens.rpy:1073
|
||||
old "Right Trigger\nA/Bottom Button"
|
||||
new "Oikea Liipaisin\nA/Alapainike"
|
||||
new "Right Trigger\nA/Bottom Button"
|
||||
|
||||
# screens.rpy:1074
|
||||
old "Advance dialogue and activates the interface."
|
||||
new "Jatka dialogia ja aktivoi valittuja toimintoja."
|
||||
new "Advance dialogue and activates the interface."
|
||||
|
||||
# screens.rpy:1078
|
||||
old "Roll back to earlier dialogue."
|
||||
new "Siirtyy takaisin aiempaan dialogiin."
|
||||
new "Roll back to earlier dialogue."
|
||||
|
||||
# screens.rpy:1081
|
||||
old "Right Shoulder"
|
||||
new "Oikea Olkapainike"
|
||||
new "Right Shoulder"
|
||||
|
||||
# screens.rpy:1082
|
||||
old "Roll forward to later dialogue."
|
||||
new "Vieritä kohti uudempaa dialogia."
|
||||
new "Roll forward to later dialogue."
|
||||
|
||||
# screens.rpy:1085
|
||||
old "D-Pad, Sticks"
|
||||
new "Ristiohjain, Tikut"
|
||||
new "D-Pad, Sticks"
|
||||
|
||||
# screens.rpy:1089
|
||||
old "Start, Guide"
|
||||
new "Start, Opas"
|
||||
new "Start, Guide"
|
||||
|
||||
# screens.rpy:1090
|
||||
old "Access the game menu."
|
||||
new "Avaa ja sulje pelivalikko."
|
||||
new "Access the game menu."
|
||||
|
||||
# screens.rpy:1093
|
||||
old "Y/Top Button"
|
||||
new "Y/Yläpainike"
|
||||
new "Y/Top Button"
|
||||
|
||||
# screens.rpy:1096
|
||||
old "Calibrate"
|
||||
@@ -543,15 +543,15 @@ translate finnish strings:
|
||||
|
||||
# screens.rpy:1124
|
||||
old "## Additional screens"
|
||||
new "## Ylimääräisiä näyttöjä"
|
||||
new "## Additional screens"
|
||||
|
||||
# screens.rpy:1128
|
||||
old "## Confirm screen"
|
||||
new "## Vahvistusikkuna"
|
||||
new "## Confirm screen"
|
||||
|
||||
# screens.rpy:1130
|
||||
old "## The confirm screen is called when Ren'Py wants to ask the player a yes or no question."
|
||||
new "## Vahvistusikkunaa käytetään, kun Ren'Py haluaa kysyä pelaajalta kyllä tai ei -kysymyksen."
|
||||
new "## The confirm screen is called when Ren'Py wants to ask the player a yes or no question."
|
||||
|
||||
# screens.rpy:1133
|
||||
old "## http://www.renpy.org/doc/html/screen_special.html#confirm"
|
||||
@@ -559,7 +559,7 @@ translate finnish strings:
|
||||
|
||||
# screens.rpy:1137
|
||||
old "## Ensure other screens do not get input while this screen is displayed."
|
||||
new "## Varmista, etteivät muut näytöt odota syötettä tämän näytön ollessa näkyvillä."
|
||||
new "## Ensure other screens do not get input while this screen is displayed."
|
||||
|
||||
# screens.rpy:1161
|
||||
old "Yes"
|
||||
@@ -571,15 +571,15 @@ translate finnish strings:
|
||||
|
||||
# screens.rpy:1164
|
||||
old "## Right-click and escape answer \"no\"."
|
||||
new "## Hiiren oikea painike ja Esc antavat vastauksen \"ei\"."
|
||||
new "## Right-click and escape answer \"no\"."
|
||||
|
||||
# screens.rpy:1191
|
||||
old "## Skip indicator screen"
|
||||
new "## Sivuutusilmaisin-näyttö"
|
||||
new "## Skip indicator screen"
|
||||
|
||||
# screens.rpy:1193
|
||||
old "## The skip_indicator screen is displayed to indicate that skipping is in progress."
|
||||
new "## skip_indicator-näyttö on näkyvillä, kun dialogin sivuutuksen tila on käytössä."
|
||||
new "## The skip_indicator screen is displayed to indicate that skipping is in progress."
|
||||
|
||||
# screens.rpy:1196
|
||||
old "## https://www.renpy.org/doc/html/screen_special.html#skip-indicator"
|
||||
@@ -587,19 +587,19 @@ translate finnish strings:
|
||||
|
||||
# screens.rpy:1208
|
||||
old "Skipping"
|
||||
new "Sivuutetaan dialogia"
|
||||
new "Skipping"
|
||||
|
||||
# screens.rpy:1215
|
||||
old "## This transform is used to blink the arrows one after another."
|
||||
new "## Tätä muutosta käytetään nuolten vilkkumiseen toistensa perään."
|
||||
new "## This transform is used to blink the arrows one after another."
|
||||
|
||||
# screens.rpy:1247
|
||||
old "## Notify screen"
|
||||
new "## Ilmoitusnäyttö"
|
||||
new "## Notify screen"
|
||||
|
||||
# screens.rpy:1249
|
||||
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 "## Ilmoitusnäyttöä käytetään näyttämään pelaajalle viesti. (Esimerkiksi kun peli on pikatallennettu tai näytönkaappaus on otettu.)"
|
||||
new "## The notify screen is used to show the player a message. (For example, when the game is quicksaved or a screenshot has been taken.)"
|
||||
|
||||
# screens.rpy:1252
|
||||
old "## https://www.renpy.org/doc/html/screen_special.html#notify-screen"
|
||||
@@ -607,11 +607,11 @@ translate finnish strings:
|
||||
|
||||
# screens.rpy:1286
|
||||
old "## NVL screen"
|
||||
new "## NVL-näyttö"
|
||||
new "## NVL screen"
|
||||
|
||||
# screens.rpy:1288
|
||||
old "## This screen is used for NVL-mode dialogue and menus."
|
||||
new "## Tätä näyttöä käytetään NVL-tilan dialogiin ja valikoihin."
|
||||
new "## This screen is used for NVL-mode dialogue and menus."
|
||||
|
||||
# screens.rpy:1290
|
||||
old "## http://www.renpy.org/doc/html/screen_special.html#nvl"
|
||||
@@ -619,25 +619,25 @@ translate finnish strings:
|
||||
|
||||
# screens.rpy:1301
|
||||
old "## Displays dialogue in either a vpgrid or the vbox."
|
||||
new "## Näyttää dialogin joko vpgridissä tai vboxissa."
|
||||
new "## Displays dialogue in either a vpgrid or the vbox."
|
||||
|
||||
# screens.rpy:1314
|
||||
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 "## Näyttää valikon, jos annettu. Valikko voi näyttää väärältä mikäli config.narrator_menu on asetettu arvoon True, kuten yllä."
|
||||
new "## Displays the menu, if given. The menu may be displayed incorrectly if config.narrator_menu is set to True, as it is above."
|
||||
|
||||
# screens.rpy:1344
|
||||
old "## This controls the maximum number of NVL-mode entries that can be displayed at once."
|
||||
new "## Tämä säätää, kuinka mointa NVL-tilan viestiä voidaan maksimissaan näyttää kerralla."
|
||||
new "## This controls the maximum number of NVL-mode entries that can be displayed at once."
|
||||
|
||||
# screens.rpy:1406
|
||||
old "## Mobile Variants"
|
||||
new "## Mobiiliversiot"
|
||||
new "## Mobile Variants"
|
||||
|
||||
# screens.rpy:1413
|
||||
old "## Since a mouse may not be present, we replace the quick menu with a version that uses fewer and bigger buttons that are easier to touch."
|
||||
new "## Koska hiirtä ei välttämättä ole, korvaamme pikavalikon versiolla jossa on vähemmän, ja suurempia painikkeita, joita on helpompi koskea."
|
||||
new "## Since a mouse may not be present, we replace the quick menu with a version that uses fewer and bigger buttons that are easier to touch."
|
||||
|
||||
# screens.rpy:1429
|
||||
old "Menu"
|
||||
new "Valikko"
|
||||
new "Menu"
|
||||
|
||||
|
||||
@@ -428,11 +428,11 @@ translate french strings:
|
||||
|
||||
# renpy/common/00action_file.rpy:353
|
||||
old "Save slot %s: [text]"
|
||||
new "Sauvegarder %s : [text]"
|
||||
new "Sauvegarder %s: [text]"
|
||||
|
||||
# renpy/common/00action_file.rpy:434
|
||||
old "Load slot %s: [text]"
|
||||
new "Charger %s : [text]"
|
||||
new "Charger %s: [text]"
|
||||
|
||||
# renpy/common/00action_file.rpy:487
|
||||
old "Delete slot [text]"
|
||||
@@ -528,7 +528,7 @@ translate french strings:
|
||||
|
||||
# renpy/common/00director.rpy:1674
|
||||
old "Statement:"
|
||||
new "Instruction :"
|
||||
new "Statement :"
|
||||
|
||||
# renpy/common/00director.rpy:1695
|
||||
old "Tag:"
|
||||
@@ -544,7 +544,7 @@ translate french strings:
|
||||
|
||||
# renpy/common/00director.rpy:1748
|
||||
old "Behind:"
|
||||
new "Derrière :"
|
||||
new "Sous :"
|
||||
|
||||
# renpy/common/00director.rpy:1767
|
||||
old "Transition:"
|
||||
@@ -552,7 +552,7 @@ translate french strings:
|
||||
|
||||
# renpy/common/00director.rpy:1785
|
||||
old "Channel:"
|
||||
new "Piste :"
|
||||
new "Channel :"
|
||||
|
||||
# renpy/common/00director.rpy:1803
|
||||
old "Audio Filename:"
|
||||
@@ -760,7 +760,7 @@ translate french strings:
|
||||
|
||||
# renpy/common/_developer/developer.rpym:506
|
||||
old "Type to filter: "
|
||||
new "Écrire pour filtrer : "
|
||||
new "Type à filtrer : "
|
||||
|
||||
# renpy/common/_developer/developer.rpym:631
|
||||
old "Textures: [tex_count] ([tex_size_mb:.1f] MB)"
|
||||
@@ -785,115 +785,3 @@ translate french strings:
|
||||
# renpy/common/00preferences.rpy:493
|
||||
old "high contrast text"
|
||||
new "texte en contraste élevé"
|
||||
|
||||
# renpy/common/00preferences.rpy:511
|
||||
old "audio when minimized"
|
||||
new "audio quand minimisé"
|
||||
|
||||
# renpy/common/00preferences.rpy:531
|
||||
old "main volume"
|
||||
new "volume principal"
|
||||
|
||||
# renpy/common/00preferences.rpy:535
|
||||
old "mute main"
|
||||
new "sourdine générale"
|
||||
|
||||
# renpy/common/00speechbubble.rpy:299
|
||||
old "Speech Bubble Editor"
|
||||
new "Éditeur de bulles de dialogue"
|
||||
|
||||
# renpy/common/00speechbubble.rpy:304
|
||||
old "(hide)"
|
||||
new "(masquer)"
|
||||
|
||||
# renpy/common/00director.rpy:1748
|
||||
old "Click to toggle attribute, right click to toggle negative attribute."
|
||||
new "Clic pour (dés)activer des attributs, clic droit pour (dés)activer les suppressions d'attributs."
|
||||
|
||||
# renpy/common/00director.rpy:1771
|
||||
old "Click to set transform, right click to add to transform list."
|
||||
new "Clic pour ajouter un transform, clic droit pour ajouter une liste de transforms."
|
||||
|
||||
# renpy/common/00preferences.rpy:528
|
||||
old "audio when unfocused"
|
||||
new "audio lors de la perte de focus"
|
||||
|
||||
# renpy/common/00preferences.rpy:537
|
||||
old "web cache preload"
|
||||
new "préchargement du cache web cache"
|
||||
|
||||
# renpy/common/00preferences.rpy:552
|
||||
old "voice after game menu"
|
||||
new "voix dans le menu de jeu"
|
||||
|
||||
# renpy/common/00sync.rpy:58
|
||||
old "Sync downloaded."
|
||||
new "Sync téléchargé."
|
||||
|
||||
# renpy/common/00sync.rpy:178
|
||||
old "Could not connect to the Ren'Py Sync server."
|
||||
new "Échec de la connexion au serveur Ren'Py Sync."
|
||||
|
||||
# renpy/common/00sync.rpy:180
|
||||
old "The Ren'Py Sync server timed out."
|
||||
new "Le serveur Ren'Py Sync a mis trop de temps à répondre."
|
||||
|
||||
# renpy/common/00sync.rpy:182
|
||||
old "An unknown error occurred while connecting to the Ren'Py Sync server."
|
||||
new "Une erreur inconnue est arrivée lors de la connexion au serveur Ren'Py Sync."
|
||||
|
||||
# renpy/common/00sync.rpy:255
|
||||
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 "Le serveur Ren'Py Sync ne reconnaît pas ce code sync. l'ID est peut-être invalide, ou il peut avoir expiré."
|
||||
|
||||
# renpy/common/00sync.rpy:397
|
||||
old "Please enter the sync ID you generated.\nNever enter a sync ID you didn't create yourself."
|
||||
new "Entrez l'ID sync que vous avez généré.\nN'entrez jamais un ID sync que vous n'avez pas généré vous-même."
|
||||
|
||||
# renpy/common/00sync.rpy:416
|
||||
old "The sync ID is not in the correct format."
|
||||
new "L'ID sync n'est pas dans un format correct."
|
||||
|
||||
# renpy/common/00sync.rpy:436
|
||||
old "The sync could not be decrypted."
|
||||
new "Le sync n'a pas pu être déchiffré."
|
||||
|
||||
# renpy/common/00sync.rpy:459
|
||||
old "The sync belongs to a different game."
|
||||
new "Le sync correspond à un autre jeu."
|
||||
|
||||
# renpy/common/00sync.rpy:464
|
||||
old "The sync contains a file with an invalid name."
|
||||
new "Le sync contient un fichier ayant un nom invalide."
|
||||
|
||||
# renpy/common/00sync.rpy:517
|
||||
old "This will upload your saves to the {a=https://sync.renpy.org}Ren'Py Sync Server{/a}.\nDo you want to continue?"
|
||||
new "Vos sauvegardes vont être téléchargées sur le {a=https://sync.renpy.org}serveur Ren'Py Sync{/a}.\nVoulez-vous continuer ?"
|
||||
|
||||
# renpy/common/00sync.rpy:546
|
||||
old "Enter Sync ID"
|
||||
new "Entrez l'ID Sync"
|
||||
|
||||
# renpy/common/00sync.rpy:557
|
||||
old "This will contact the {a=https://sync.renpy.org}Ren'Py Sync Server{/a}."
|
||||
new "Ceci va contacter le {a=https://sync.renpy.org}serveur Ren'Py Sync{/a}."
|
||||
|
||||
# renpy/common/00sync.rpy:584
|
||||
old "Sync Success"
|
||||
new "Sync réussi"
|
||||
|
||||
# renpy/common/00sync.rpy:587
|
||||
old "The Sync ID is:"
|
||||
new "L'ID Sync est :"
|
||||
|
||||
# renpy/common/00sync.rpy:593
|
||||
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 "Vous pouvez utiliser cet ID pour transférer votre sauvegarde sur un autre appareil.\nCe sync expirera dans une heure.\nRen'Py Sync is soutenu par les {a=https://www.renpy.org/sponsors.html}Sponsors de Ren'Py's{/a}."
|
||||
|
||||
# renpy/common/00sync.rpy:619
|
||||
old "Sync Error"
|
||||
new "Erreur de Sync"
|
||||
|
||||
# renpy/common/00webvideo.rpy:5
|
||||
old "Touch to play the video."
|
||||
new "Touchez pour jouer la vidéo."
|
||||
|
||||
@@ -14,11 +14,7 @@
|
||||
|
||||
# _developer/developer.rpym:47
|
||||
old "Variable Viewer"
|
||||
new "Inspecteur de variables"
|
||||
|
||||
# renpy/common/_developer/developer.rpym:51
|
||||
old "Persistent Viewer"
|
||||
new "Inspecteur de données persistentes"
|
||||
new "Visualisateur de variable"
|
||||
|
||||
# _developer/developer.rpym:49
|
||||
old "Theme Test"
|
||||
@@ -46,15 +42,15 @@
|
||||
|
||||
# _developer/developer.rpym:217
|
||||
old "Return to the developer menu"
|
||||
new "Retourner au menu de développeur"
|
||||
new "Retourner au menu du développeur"
|
||||
|
||||
# _developer/developer.rpym:373
|
||||
old "Rectangle: %r"
|
||||
new "Rectangle : %r"
|
||||
new "Rectangle: %r"
|
||||
|
||||
# _developer/developer.rpym:378
|
||||
old "Mouse position: %r"
|
||||
new "Position de la souris : %r"
|
||||
new "Mouse position: %r"
|
||||
|
||||
# _developer/developer.rpym:383
|
||||
old "Right-click or escape to quit."
|
||||
@@ -82,7 +78,7 @@
|
||||
|
||||
# _developer/inspector.rpym:38
|
||||
old "Displayable Inspector"
|
||||
new "Inspecteur de displayables"
|
||||
new "Inspecteur affichable"
|
||||
|
||||
# _developer/inspector.rpym:61
|
||||
old "Size"
|
||||
@@ -102,11 +98,11 @@
|
||||
|
||||
# _developer/inspector.rpym:139
|
||||
old "displayable:"
|
||||
new "displayable :"
|
||||
new "affichable :"
|
||||
|
||||
# _developer/inspector.rpym:145
|
||||
old " (no properties affect the displayable)"
|
||||
new " (Aucune propriété ne s'applique au displayable)"
|
||||
new " (Aucune propriété n’affecte l’affichage)"
|
||||
|
||||
# _developer/inspector.rpym:147
|
||||
old " (default properties omitted)"
|
||||
@@ -118,7 +114,7 @@
|
||||
|
||||
# 00console.rpy:182
|
||||
old "Press <esc> to exit console. Type help for help.\n"
|
||||
new "Appuyez sur Échap pour quitter la console. Écrivez help pour afficher l’aide.\n"
|
||||
new "Pressez « Echap » pour quitter la console. Pressez « Aide » pour afficher l’aide.\n"
|
||||
|
||||
# 00console.rpy:186
|
||||
old "Ren'Py script enabled."
|
||||
@@ -128,13 +124,9 @@
|
||||
old "Ren'Py script disabled."
|
||||
new "Script Ren'Py désactivé."
|
||||
|
||||
# renpy/common/00console.rpy:781
|
||||
old "help: show this help\n help <expr>: show signature and documentation of <expr>"
|
||||
new "help : afficher cette aide\n help <expr>: afficher la signature et la documentation de <expr>"
|
||||
|
||||
# renpy/common/00console.rpy:805
|
||||
old "Help may display undocumented functions. Please check that the function or\nclass you want to use is documented.\n\n"
|
||||
new "Help peut afficher des fonctions non documentées. Veuillez vérifier que la\nfonction ou classe que vous voulez utiliser est bien documentée.\n\n"
|
||||
# 00console.rpy:398
|
||||
old "help: show this help"
|
||||
new "aide: Afficher cette aide"
|
||||
|
||||
# 00console.rpy:403
|
||||
old "commands:\n"
|
||||
@@ -142,15 +134,15 @@
|
||||
|
||||
# 00console.rpy:413
|
||||
old " <renpy script statement>: run the statement\n"
|
||||
new " <renpy script statement> : exécuter cette déclaration\n"
|
||||
new " <renpy script statement> : Exécuter cette déclaration\n"
|
||||
|
||||
# 00console.rpy:415
|
||||
old " <python expression or statement>: run the expression or statement"
|
||||
new " <expression ou instruction python> : exécuter cette expression ou cette instruction"
|
||||
new " <python expression or statement> : Exécuter cette expression ou cette déclaration"
|
||||
|
||||
# 00console.rpy:423
|
||||
old "clear: clear the console history"
|
||||
new "clear : effacer l’historique de la console"
|
||||
new "clear: Purger l’historique de la console"
|
||||
|
||||
# 00console.rpy:427
|
||||
old "exit: exit the console"
|
||||
@@ -166,7 +158,7 @@
|
||||
|
||||
# 00console.rpy:459
|
||||
old "reload: reloads the game, refreshing the scripts"
|
||||
new "reload : recharge le jeu, rafraîchit les scripts"
|
||||
new "reload : Recharge le jeu, rafraîchit les scripts"
|
||||
|
||||
# 00console.rpy:467
|
||||
old "watch <expression>: watch a python expression"
|
||||
@@ -186,7 +178,7 @@
|
||||
|
||||
# renpy/common/00console.rpy:814
|
||||
old "watch <expression>: watch a python expression\n watch short: makes the representation of traced expressions short (default)\n watch long: makes the representation of traced expressions as is"
|
||||
new "watch <expression> : surveille une expression python\n watch short : raccourcit la représentation des expressions (par défaut)\n watch long : affiche la totalité des expressions surveillées"
|
||||
new "watch <expression> : surveille une expression python\n watch short: raccourcit la représentation des expressions (par défaut)\n watch long : affiche la totalité des expressions surveillées"
|
||||
|
||||
# renpy/common/00console.rpy:917
|
||||
old "short: Shorten the representation of objects on the console (default)."
|
||||
@@ -203,7 +195,3 @@
|
||||
# renpy/common/00console.rpy:929
|
||||
old "unescape: Disables escaping of unicode symbols in unicode strings and print it as is (default)."
|
||||
new "unescape : Désactive l'échappage des symboles unicode dans les chaînes de caractères unicode et les affiche telles quelles (par défaut)."
|
||||
|
||||
# renpy/common/00console.rpy:784
|
||||
old "stack: print the return stack"
|
||||
new "stack : affiche la pile de retour"
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
|
||||
# 00gltest.rpy:152
|
||||
old "This computer has a problem displaying graphics: [problem]."
|
||||
new "Cet ordinateur rencontre un problème pour afficher les graphismes : [problem]."
|
||||
new "Cet ordinateur rencontre un problème pour afficher les graphismes: [problem]."
|
||||
|
||||
# 00gltest.rpy:157
|
||||
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."
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
translate french strings:
|
||||
# game/new_project.rpy:77
|
||||
old "{#language name and font}"
|
||||
new "{font=fonts/Roboto-Light.ttf}Français{/font}"
|
||||
|
||||
# about.rpy:39
|
||||
old "[version!q]"
|
||||
@@ -109,7 +106,7 @@
|
||||
|
||||
# android.rpy:304
|
||||
old "Android: [project.current.name!q]"
|
||||
new "Android : [project.current.name!q]"
|
||||
new "Android: [project.current.name!q]"
|
||||
|
||||
# android.rpy:324
|
||||
old "Emulation:"
|
||||
@@ -309,7 +306,7 @@
|
||||
|
||||
# distribute_gui.rpy:194
|
||||
old "Add from clauses to calls, once"
|
||||
new "Ajouter des \"from\" aux \"call\""
|
||||
new "Add from clauses to calls, once"
|
||||
|
||||
# distribute_gui.rpy:195
|
||||
old "Refresh"
|
||||
@@ -317,7 +314,7 @@
|
||||
|
||||
# distribute_gui.rpy:199
|
||||
old "Upload to itch.io"
|
||||
new "Uploader sur itch.io"
|
||||
new "Télécharger (upload) sur itch.io"
|
||||
|
||||
# distribute_gui.rpy:215
|
||||
old "Build Packages:"
|
||||
@@ -333,7 +330,7 @@
|
||||
|
||||
# distribute_gui.rpy:241
|
||||
old "Add from clauses to calls"
|
||||
new "Ajouter des \"from\" aux \"call\""
|
||||
new "Add from clauses to calls"
|
||||
|
||||
# distribute_gui.rpy:242
|
||||
old "Force Recompile"
|
||||
@@ -345,7 +342,7 @@
|
||||
|
||||
# distribute_gui.rpy:250
|
||||
old "Adding from clauses to call statements that do not have them."
|
||||
new "Ajout de \"from\" aux \"call\" qui n'en ont pas."
|
||||
new "Adding from clauses to call statements that do not have them."
|
||||
|
||||
# distribute_gui.rpy:271
|
||||
old "Errors were detected when running the project. Please ensure the project runs without errors before building distributions."
|
||||
@@ -413,7 +410,7 @@
|
||||
|
||||
# front_page.rpy:93
|
||||
old "refresh"
|
||||
new "rafraîchir"
|
||||
new "rafraichir"
|
||||
|
||||
# front_page.rpy:120
|
||||
old "+ Create New Project"
|
||||
@@ -473,7 +470,7 @@
|
||||
|
||||
# front_page.rpy:223
|
||||
old "Navigate Script"
|
||||
new "Parcourir le script"
|
||||
new "Naviguer dans le script"
|
||||
|
||||
# front_page.rpy:234
|
||||
old "Check Script (Lint)"
|
||||
@@ -564,8 +561,8 @@
|
||||
new "Le projet [project_name!q] existe déjà. Choisissez un nom de projet différent."
|
||||
|
||||
# gui7.rpy:341
|
||||
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 "Quelle résolution souhaitez-vous utiliser pour votre projet ? Même si Ren’Py peut agrandir ou diminuer les fenêtres et leurs images à l’échelle, il s’agit là de l’échelle initiale, la taille à laquelle les composants doivent être dessinés et la taille de fenêtre pour lesquelles ils seront le plus précis.\n\nThe La valeur par défaut ([default_size[0]]x[default_size[1]]) semble être un compromis raisonnable."
|
||||
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 1280x720 is a reasonable compromise."
|
||||
new "Quelle résolution souhaitez-vous utiliser pour votre projet ? Même si Ren’Py peut agrandir ou diminuer les fenêtres et leurs images à l’échelle, il s’agit là de l’échelle initiale, la taille à laquelle les composants doivent être dessinés et la taille de fenêtre pour lesquelles ils seront le plus précis.\n\nThe La valeur par défaut (1280x720) semble être un compromis raisonnable."
|
||||
|
||||
# gui7.rpy:389
|
||||
old "Creating the new project..."
|
||||
@@ -657,11 +654,11 @@
|
||||
|
||||
# ios.rpy:33
|
||||
old "Attempts to emulate an iPhone.\n\nTouch input is emulated through the mouse, but only when the button is held down."
|
||||
new "Tentative d'émuler un iPhone.\n\nLe contact tactile est émulé via la souris, mais seulement si le bouton est maintenu pressé."
|
||||
new "Tentatives pour émuler un iPhone.\n\nLe contact tactile est émulé via la souris, mais seulement si le bouton est maintenu pressé."
|
||||
|
||||
# ios.rpy:34
|
||||
old "Attempts to emulate an iPad.\n\nTouch input is emulated through the mouse, but only when the button is held down."
|
||||
new "Tentative d'émuler un iPad.\n\nLe contact tactile est émulé via la souris, mais seulement si le bouton est maintenu pressé."
|
||||
new "Tentatives pour émuler un iPad.\n\nLe contact tactile est émulé via la souris, mais seulement si le bouton est maintenu pressé."
|
||||
|
||||
# ios.rpy:36
|
||||
old "Selects the directory where Xcode projects will be placed."
|
||||
@@ -689,7 +686,7 @@
|
||||
|
||||
# ios.rpy:211
|
||||
old "iOS: [project.current.name!q]"
|
||||
new "iOS : [project.current.name!q]"
|
||||
new "iOS: [project.current.name!q]"
|
||||
|
||||
# ios.rpy:240
|
||||
old "iPhone"
|
||||
@@ -745,7 +742,7 @@
|
||||
|
||||
# itch.rpy:99
|
||||
old "The butler program was not found."
|
||||
new "Le programme butler n'a pas été trouvé."
|
||||
new "Le programme coordonnateur(butler) n'a pas été trouvé."
|
||||
|
||||
# itch.rpy:99
|
||||
old "Please install the itch.io app, which includes butler, and try again."
|
||||
@@ -889,7 +886,7 @@
|
||||
|
||||
# preferences.rpy:111
|
||||
old "Text Editor:"
|
||||
new "Éditeur de texte :"
|
||||
new "Éditeur :"
|
||||
|
||||
# preferences.rpy:117
|
||||
old "Text editor: [text]"
|
||||
@@ -897,7 +894,7 @@
|
||||
|
||||
# preferences.rpy:133
|
||||
old "Update Channel:"
|
||||
new "Type de version :"
|
||||
new "Version"
|
||||
|
||||
# preferences.rpy:153
|
||||
old "Navigation Options:"
|
||||
@@ -925,7 +922,7 @@
|
||||
|
||||
# preferences.rpy:174
|
||||
old "Show edit file section"
|
||||
new "Afficher la section d’édition de fichiers"
|
||||
new "Afficher la section d’édition de fichier"
|
||||
|
||||
# preferences.rpy:175
|
||||
old "Large fonts"
|
||||
@@ -933,11 +930,11 @@
|
||||
|
||||
# preferences.rpy:178
|
||||
old "Console output"
|
||||
new "Console de sortie"
|
||||
new "Sortie console"
|
||||
|
||||
# preferences.rpy:199
|
||||
old "Open launcher project"
|
||||
new "Ouvrir le projet du lanceur"
|
||||
new "Ouvrir le projet lanceur"
|
||||
|
||||
# preferences.rpy:213
|
||||
old "Language:"
|
||||
@@ -997,7 +994,7 @@
|
||||
|
||||
# translations.rpy:104
|
||||
old "The language to work with. This should only contain lower-case ASCII characters and underscores."
|
||||
new "Le langage avec lequel travailler. Cette valeur ne doit contenir que des caractères ASCII en minuscules et des underscores."
|
||||
new "Le langage avec lequel travailler. Cette valeur ne doit contenir que des caractères ASCII en minuscules et des underscores (tiret bas)."
|
||||
|
||||
# translations.rpy:130
|
||||
old "Generate empty strings for translations"
|
||||
@@ -1025,7 +1022,7 @@
|
||||
|
||||
# translations.rpy:180
|
||||
old "Update Default Interface Translations"
|
||||
new "Mise à jour de la traduction par défaut de l'interface"
|
||||
new "Met à jour la traduction de l'interface par défaut"
|
||||
|
||||
# translations.rpy:200
|
||||
old "The extract command allows you to extract string translations from an existing project into a temporary file.\n\nThe merge command merges extracted translations into another project."
|
||||
@@ -1057,11 +1054,11 @@
|
||||
|
||||
# translations.rpy:282
|
||||
old "Updating default interface translations..."
|
||||
new "Mise à jour de la traduction par défaut de l’interface en cours..."
|
||||
new "Mise à jour en cours de la traduction de l’interface par défaut..."
|
||||
|
||||
# translations.rpy:306
|
||||
old "Extract Dialogue: [project.current.name!q]"
|
||||
new "Extraire les dialogues : [project.current.name!q]"
|
||||
new "Extraire le dialogue : [project.current.name!q]"
|
||||
|
||||
# translations.rpy:322
|
||||
old "Format:"
|
||||
@@ -1069,7 +1066,7 @@
|
||||
|
||||
# translations.rpy:330
|
||||
old "Tab-delimited Spreadsheet (dialogue.tab)"
|
||||
new "Feuille de calcul avec des tabulations comme séparateur (dialogue.tab)"
|
||||
new "Feuille de calcul avec pour séparateur des tabulations (dialogue.tab)"
|
||||
|
||||
# translations.rpy:331
|
||||
old "Dialogue Text Only (dialogue.txt)"
|
||||
@@ -1077,11 +1074,11 @@
|
||||
|
||||
# translations.rpy:344
|
||||
old "Strip text tags from the dialogue."
|
||||
new "Retire les text tags (balises) des dialogues."
|
||||
new "Retire les tags (balises) des dialogues."
|
||||
|
||||
# translations.rpy:345
|
||||
old "Escape quotes and other special characters."
|
||||
new "Protège (échappe) les apostrophes et les autres caractères spéciaux."
|
||||
new "Protège (escape) les apostrophes et les autres caractères spéciaux."
|
||||
|
||||
# translations.rpy:346
|
||||
old "Extract all translatable strings, not just dialogue."
|
||||
@@ -1101,11 +1098,11 @@
|
||||
|
||||
# updater.rpy:86
|
||||
old "The update channel controls the version of Ren'Py the updater will download. Please select an update channel:"
|
||||
new "Le canal de mise à jour détermine la version de Ren’Py qui sera téléchargée. Sélectionnez un canal de mise à jour :"
|
||||
new "Le canal de mise à jour détermine la version de Ren’Py qui sera téléchargée. S’il vous plaît, sélectionnez un canal de mise à jour :"
|
||||
|
||||
# updater.rpy:91
|
||||
old "Release"
|
||||
new "Stable"
|
||||
new "Version actuelle."
|
||||
|
||||
# updater.rpy:97
|
||||
old "{b}Recommended.{/b} The version of Ren'Py that should be used in all newly-released games."
|
||||
@@ -1113,7 +1110,7 @@
|
||||
|
||||
# updater.rpy:102
|
||||
old "Prerelease"
|
||||
new "Pré-stable"
|
||||
new "Version de test"
|
||||
|
||||
# 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."
|
||||
@@ -1197,11 +1194,11 @@
|
||||
|
||||
# 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 "Selectionne le build de Debug, qui peut être atteint depuis Android Studio. Passer d'un build debug à un build stable nécessitera une désinstallation sur votre appareil."
|
||||
new "Selectionne le build de Debug, qui peut être atteint depuis Android Studio. Passer d'un build debug à un build release nécessitera une désinstallation sur votre appareil."
|
||||
|
||||
# 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 "Sélectionne le build Stable, qui peut être posté sur des magasins d'applications. Passer d'un build debug à un build stable nécessitera une désinstallation sur votre appareil."
|
||||
new "Sélectionne le build de Release, qui peut être posté sur des magasins d'applications. Passer d'un build debug à un build release nécessitera une désinstallation sur votre appareil."
|
||||
|
||||
# game/android.rpy:313
|
||||
old "Android: [project.current.display_name!q]"
|
||||
@@ -1277,7 +1274,7 @@
|
||||
|
||||
# game/androidstrings.rpy:24
|
||||
old "What is the name of the package?\n\nThis is usually of the form com.domain.program or com.domain.email.program. It may only contain ASCII letters and dots. It must contain at least one dot."
|
||||
new "Quel est le nom du package ?\n\nIl est généralement de la forme com.domain.program ou com.domain.email.program. Il doit uniquement contenir des lettres ASCII et des points. Il doit contenir au moins un point."
|
||||
new "Quel est le nom du package?\n\nIl est généralement de la forme com.domain.program ou com.domain.email.program. Il doit uniquement contenir des lettres ASCII et des points. Il doit contenir au moins un point."
|
||||
|
||||
# game/androidstrings.rpy:25
|
||||
old "The package name may not be empty."
|
||||
@@ -1593,7 +1590,7 @@
|
||||
|
||||
# game/install.rpy:110
|
||||
old "Install Libraries"
|
||||
new "Installer des bibliothèques"
|
||||
new "Installer les Bibliothèques"
|
||||
|
||||
# game/install.rpy:125
|
||||
old "This screen allows you to install libraries that can't be distributed with Ren'Py. Some of these libraries may require you to agree to a third-party license before being used or distributed."
|
||||
@@ -1613,7 +1610,7 @@
|
||||
|
||||
# game/install.rpy:151
|
||||
old "Install Steam Support"
|
||||
new "Installer le support Steam"
|
||||
new "Installer le upport Steam"
|
||||
|
||||
# game/install.rpy:160
|
||||
old "Before installing Steam support, please make sure you are a {a=https://partner.steamgames.com/}Steam partner{/a}."
|
||||
@@ -1629,7 +1626,7 @@
|
||||
|
||||
# game/interface.rpy:136
|
||||
old "Ren'Py Sponsor Information"
|
||||
new "Informations sur les sponsors de Ren'Py"
|
||||
new "Information sur les sponsors de Ren'Py Sponsor"
|
||||
|
||||
# game/interface.rpy:372
|
||||
old "opening the log file"
|
||||
@@ -1657,7 +1654,7 @@
|
||||
|
||||
# game/preferences.rpy:145
|
||||
old "Reset window size"
|
||||
new "Réinitialiser la taille de la fenêtre"
|
||||
new "Réinisialiser la taille de la fenêtre"
|
||||
|
||||
# game/preferences.rpy:188
|
||||
old "Force new tutorial"
|
||||
@@ -1874,215 +1871,3 @@
|
||||
# game/preferences.rpy:206
|
||||
old "Daily check for update"
|
||||
new "Vérification quotidienne des mises à jour"
|
||||
|
||||
# game/android.rpy:55
|
||||
old "Lists the connected devices."
|
||||
new "Liste les appareils connectés."
|
||||
|
||||
# game/android.rpy:58
|
||||
old "Disconnects a device connected over Wi-Fi."
|
||||
new "Déconnecte un appareil connecté via Wi-Fi."
|
||||
|
||||
# game/android.rpy:453
|
||||
old "List Devices"
|
||||
new "Lister les appareils"
|
||||
|
||||
# game/android.rpy:465
|
||||
old "Wi-Fi Debugging Disconnect"
|
||||
new "Debug : déconnexion Wi-Fi"
|
||||
|
||||
# game/android.rpy:603
|
||||
old "This can be found in 'List Devices'."
|
||||
new "Introuvable dans 'Lister les appareils'."
|
||||
|
||||
# game/androidstrings.rpy:17
|
||||
old "Installing the bundle appears to have failed."
|
||||
new "L'installation du bundle semble avoir échoué."
|
||||
|
||||
# game/androidstrings.rpy:19
|
||||
old "Launching the app appears to have failed."
|
||||
new "Le lancement de l'app semble avoir échoué."
|
||||
|
||||
# game/androidstrings.rpy:44
|
||||
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 "La version de Java présente sur votre ordinateur ne semble pas être JDK 8, qui est la seule version supportée par le SDK Android. Si vous devez installer JDK 8, vous pouvez le télécharger ici :\n\n{a=https://adoptium.net/?variant=openjdk8}https://adoptium.net/?variant=openjdk8{/a}\n\nVous pouvez aussi régler la variable d'environnement JAVA_HOME sur une autre version de Java."
|
||||
|
||||
# game/updater.rpy:109
|
||||
old "• {a=https://www.renpy.org/doc/html/changelog.html}View change log{/a}"
|
||||
new "• {a=https://www.renpy.org/doc/html/changelog.html}Regarder le changelog{/a}"
|
||||
|
||||
# game/updater.rpy:111
|
||||
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}Regarder le changelog{/a}"
|
||||
|
||||
# game/android.rpy:60
|
||||
old "Removes Android temporary files."
|
||||
new "Retirer les fichiers temporaires Android."
|
||||
|
||||
# game/android.rpy:472
|
||||
old "Clean"
|
||||
new "Nettoyer"
|
||||
|
||||
# game/android.rpy:628
|
||||
old "Cleaning up Android project."
|
||||
new "Nettoyage du projet Android."
|
||||
|
||||
# game/androidstrings.rpy:43
|
||||
old "I was unable to use javac to compile a test file. If you haven't installed the Java Development Kit yet, please download it from:\n\n{a=https://adoptium.net/?variant=openjdk8}https://adoptium.net/?variant=openjdk8{/a}\n\nThe JDK is different from the JRE, so it's possible you have Java without having the JDK. Please make sure you installed the 'JavaSoft (Oracle) registry keys'.\n\nWithout a working JDK, I can't continue."
|
||||
new "Impossible d'utiliser javac pour compiler un fichier de test. Si vous n'avez pas installé Java Development Kit, téléchargez-le ici :\n\n{a=https://adoptium.net/?variant=openjdk8}https://adoptium.net/?variant=openjdk8{/a}\n\nLe JDK est différent du JRE, donc il est possible d'avoir Java sans avoir le JDK. Vérifiez que vous avez installé les 'JavaSoft (Oracle) registry keys'.\n\nSans un JDK fonctionnel, je ne peux pas continuer."
|
||||
|
||||
# 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 "J'ai ouvert le répertoire contenant android.keystore et bundle.keystore. Sauvegardez-les, et gardez-les dans un endroit sûr."
|
||||
|
||||
# game/choose_directory.rpy:67
|
||||
old "Select Projects Directory"
|
||||
new "Sélectionner le répertoire des Projets"
|
||||
|
||||
# game/distribute.rpy:1674
|
||||
old "Copying files..."
|
||||
new "Copie des fichiers..."
|
||||
|
||||
# game/distribute_gui.rpy:195
|
||||
old "Update old-game"
|
||||
new "Mettre à jour old-game"
|
||||
|
||||
# game/editor.rpy:152
|
||||
old "A modern editor with many extensions including advanced Ren'Py integration."
|
||||
new "Un éditeur moderne avec beaucoup d'extensions, y compris des intégrations Ren'Py avancées."
|
||||
|
||||
# game/editor.rpy:153
|
||||
old "A modern editor with many extensions including advanced Ren'Py integration.\n{a=jump:reinstall_vscode}Upgrade Visual Studio Code to the latest version.{/a}"
|
||||
new "Un éditeur moderne avec beaucoup d'extensions, y compris des intégrations Ren'Py avancées.\n{a=jump:reinstall_vscode}Mettez Visual Studio Code à jour.{/a}"
|
||||
|
||||
# game/editor.rpy:162
|
||||
old "Visual Studio Code"
|
||||
new "Visual Studio Code"
|
||||
|
||||
# game/editor.rpy:162
|
||||
old "Up to 110 MB download required."
|
||||
new "Jusqu'à 110 Mo nécessaires pour le téléchargement."
|
||||
|
||||
# game/editor.rpy:175
|
||||
old "A modern and approachable text editor."
|
||||
new "Un éditeur de texte moderne et accessible."
|
||||
|
||||
# game/editor.rpy:187
|
||||
old "Atom"
|
||||
new "Atom"
|
||||
|
||||
# game/editor.rpy:200
|
||||
old "jEdit"
|
||||
new "jEdit"
|
||||
|
||||
# game/editor.rpy:209
|
||||
old "Visual Studio Code (System)"
|
||||
new "Visual Studio Code (Système)"
|
||||
|
||||
# game/editor.rpy:209
|
||||
old "Uses a copy of Visual Studio Code that you have installed outside of Ren'Py. It's recommended you install the language-renpy extension to add support for Ren'Py files."
|
||||
new "Utilise une copie de Visual Studio Code que vous avez installé en-dehors de Ren'Py. Il est recommandé d'installer l'extension language-renpy pour ajouter la gestion des fichiers Ren'Py."
|
||||
|
||||
# game/installer.rpy:10
|
||||
old "Downloading [extension.download_file]."
|
||||
new "Téléchargement de [extension.download_file]."
|
||||
|
||||
# game/installer.rpy:11
|
||||
old "Could not download [extension.download_file] from [extension.download_url]:\n{b}[extension.download_error]"
|
||||
new "Impossible de télécharger [extension.download_file] depuis [extension.download_url] :\n{b}[extension.download_error]"
|
||||
|
||||
# game/installer.rpy:12
|
||||
old "The downloaded file [extension.download_file] from [extension.download_url] is not correct."
|
||||
new "le fichier [extension.download_file] téléchargé depuis [extension.download_url] est incorrect."
|
||||
|
||||
# game/interface.rpy:124
|
||||
old "[interface.version]"
|
||||
new "[interface.version]"
|
||||
|
||||
# game/preferences.rpy:154
|
||||
old "Clean temporary files"
|
||||
new "Nettoyer les fichiers temporaires"
|
||||
|
||||
# game/preferences.rpy:256
|
||||
old "Cleaning temporary files..."
|
||||
new "Nettoyage des fichiers temporaires..."
|
||||
|
||||
# game/project.rpy:280
|
||||
old "This may be because the project is not writeable."
|
||||
new "Il est possible que le projet ne soit pas accessible en écriture."
|
||||
|
||||
# game/translations.rpy:391
|
||||
old "Language (or None for the default language):"
|
||||
new "Langue (or None pour la langue par défaut) :"
|
||||
|
||||
# game/web.rpy:344
|
||||
old "This feature is not supported in Ren'Py 8."
|
||||
new "Cette fonctionnalité n'est pas supportée dans Ren'Py 8."
|
||||
|
||||
# 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 "La version web sera supportée à nouveau dans une future version de Ren'Py 8. En attendant, utilisez Ren'Py 7 pour des distributions web."
|
||||
|
||||
# game/preferences.rpy:104
|
||||
old "General"
|
||||
new "Général"
|
||||
|
||||
# game/preferences.rpy:105
|
||||
old "Options"
|
||||
new "Options"
|
||||
|
||||
# game/preferences.rpy:244
|
||||
old "Launcher Theme:"
|
||||
new "Thème du lanceur :"
|
||||
|
||||
# game/preferences.rpy:254
|
||||
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}."
|
||||
new "Plus d'informations sur comment créer un thème personnalisé se trouvent {a=https://www.renpy.org/doc/html/skins.html}dans la documentation de Ren'Py{/a}."
|
||||
|
||||
# game/preferences.rpy:271
|
||||
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 "Nightly (Ren'Py 8, Python 3)"
|
||||
|
||||
# game/updater.rpy:78
|
||||
old "Nightly (Ren'Py 7, Python 2)"
|
||||
new "Nightly (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}"
|
||||
|
||||
# game/preferences.rpy:327
|
||||
old "{#in language font}Start using Ren'Py in [lang_name]"
|
||||
new "{font=fonts/Roboto-Light.ttf}Commencez à utiliser Ren'Py en [lang_name]{/font}"
|
||||
|
||||
# game/distribute_gui.rpy:231
|
||||
old "(DLC)"
|
||||
new "(DLC)"
|
||||
|
||||
# game/project.rpy:46
|
||||
old "Lint checks your game for potential mistakes, and gives you statistics."
|
||||
new "Lint vérifie votre jeu pour des erreurs communes, et génère des statistiques."
|
||||
|
||||
# game/web.rpy:484
|
||||
old "Creating package..."
|
||||
new "Création du package..."
|
||||
|
||||
@@ -154,7 +154,7 @@
|
||||
|
||||
# options.rpy:165
|
||||
old "## In a pattern:"
|
||||
new "## Dans le format :"
|
||||
new "## Dans le format:"
|
||||
|
||||
# options.rpy:167
|
||||
old "## / is the directory separator."
|
||||
@@ -185,8 +185,8 @@
|
||||
new "## Les fichiers correspondant au format de documentation sont dupliqués pour les compilation sur Mac, c'est pourquoi ils apparaissent deux fois dans l’archive zip."
|
||||
|
||||
# options.rpy:196
|
||||
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 "## Une clé de licence Google Play est requise pour permettre les achats depuis l'application. Vous pourrez la trouver dans la console de développement Google Play, sous \"Monétiser\" > \"Configuration de la monétisation\" > \"Licences\"."
|
||||
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 "## Une clé de licence A Google Play est requise pour télécharger les fichiers et permettre les achats dans l'application. Vous pourrez la trouver sur la page « Services & APIs » de la console de développement Google Play."
|
||||
|
||||
# options.rpy:203
|
||||
old "## The username and project name associated with an itch.io project, separated by a slash."
|
||||
|
||||
@@ -450,7 +450,7 @@
|
||||
|
||||
# screens.rpy:1024
|
||||
old "Toggles dialogue skipping."
|
||||
new "Active ou désactive les «sauts des dialogues»."
|
||||
new "Active ou désactives les «sauts des dialogues»."
|
||||
|
||||
# screens.rpy:1027
|
||||
old "Page Up"
|
||||
@@ -621,8 +621,8 @@
|
||||
new "## Les dialogues sont affichés soit dans une vpgrid soit dans une vbox."
|
||||
|
||||
# screens.rpy:1314
|
||||
old "## Displays the menu, if given. The menu may be displayed incorrectly if config.narrator_menu is set to True."
|
||||
new "## Si fourni, affiche le menu. Le menu peut s’afficher de manière incorrecte si config.narrator_menu est initialisé à True."
|
||||
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 "## Si fourni, affiche le menu. Le menu peut s’afficher de manière incorrecte si config.narrator_menu est initialisé à True, comme c’est le cas au-dessus."
|
||||
|
||||
# screens.rpy:1344
|
||||
old "## This controls the maximum number of NVL-mode entries that can be displayed at once."
|
||||
@@ -719,15 +719,3 @@
|
||||
# gui/game/screens.rpy:1049
|
||||
old "Opens the accessibility menu."
|
||||
new "Ouvre le menu d'accessibilité."
|
||||
|
||||
# gui/game/screens.rpy:1397
|
||||
old "## Bubble screen"
|
||||
new "## Screen des bulles"
|
||||
|
||||
# gui/game/screens.rpy:1399
|
||||
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."
|
||||
new "## Le screen des bulles est utilisé pour afficher des dialogues en utilisant des bulles. Ce screen prend les mêmes paramètres que le screen say, doit prévoir un displayable avec l'id \"what\", et peut créer des displayables avec les ids \"namebox\", \"who\", et \"window\"."
|
||||
|
||||
# gui/game/screens.rpy:1404
|
||||
old "## https://www.renpy.org/doc/html/screen_special.html#bubble"
|
||||
new "## https://www.renpy.org/doc/html/screen_special.html#bubble"
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
translate french python:
|
||||
gui.FONT_SCALE = .9
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
translate german strings:
|
||||
# game/new_project.rpy:77
|
||||
old "{#language name and font}"
|
||||
new "Deutsch"
|
||||
|
||||
translate german strings:
|
||||
|
||||
# about.rpy:39
|
||||
old "[version!q]"
|
||||
@@ -213,11 +211,11 @@
|
||||
|
||||
# choose_theme.rpy:425
|
||||
old "Choose Theme"
|
||||
new "Design auswählen"
|
||||
new "Theme auswählen"
|
||||
|
||||
# choose_theme.rpy:438
|
||||
old "Theme"
|
||||
new "Design"
|
||||
new "Theme"
|
||||
|
||||
# choose_theme.rpy:463
|
||||
old "Color Scheme"
|
||||
@@ -325,7 +323,7 @@
|
||||
|
||||
# distribute_gui.rpy:234
|
||||
old "Options:"
|
||||
new "Optionen:"
|
||||
new "Options:"
|
||||
|
||||
# distribute_gui.rpy:239
|
||||
old "Build Updates"
|
||||
@@ -493,15 +491,15 @@
|
||||
|
||||
# front_page.rpy:239
|
||||
old "Change Theme"
|
||||
new "Design ändern"
|
||||
new "Theme ändern"
|
||||
|
||||
# front_page.rpy:242
|
||||
old "Delete Persistent"
|
||||
new "Persistente Daten löschen"
|
||||
new "Persistenz-Dateien löschen"
|
||||
|
||||
# front_page.rpy:251
|
||||
old "Build Distributions"
|
||||
new "Applikation erstellen"
|
||||
new "Veröffentlichungen erstellen"
|
||||
|
||||
# front_page.rpy:253
|
||||
old "Android"
|
||||
@@ -533,11 +531,11 @@
|
||||
|
||||
# gui7.rpy:236
|
||||
old "Select Accent and Background Colors"
|
||||
new "Akzent- und Hintergrundfarben auswählen"
|
||||
new "Select Accent and Background Colors"
|
||||
|
||||
# gui7.rpy:250
|
||||
old "Please click on the color scheme you wish to use, then click Continue. These colors can be changed and customized later."
|
||||
new "Bitte wählen Sie das Farbschema, dass Sie benutzen möchten und klicken Sie dann auf \"Weiter\". Diese Farben können später wieder geändert werden."
|
||||
new "Please click on the color scheme you wish to use, then click Continue. These colors can be changed and customized later."
|
||||
|
||||
# gui7.rpy:294
|
||||
old "{b}Warning{/b}\nContinuing will overwrite customized bar, button, save slot, scrollbar, and slider images.\n\nWhat would you like to do?"
|
||||
@@ -553,7 +551,7 @@
|
||||
|
||||
# gui7.rpy:314
|
||||
old "PROJECT NAME"
|
||||
new "PROJEKTNAME"
|
||||
new "PROJEKT NAME"
|
||||
|
||||
# gui7.rpy:314
|
||||
old "Please enter the name of your project:"
|
||||
@@ -572,16 +570,16 @@
|
||||
new "[project_dir!q] existiert bereits. Bitte wählen Sie einen anderen Projektnamen."
|
||||
|
||||
# gui7.rpy:341
|
||||
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 "Welche Auflösung soll das Projekt benutzen? Ren'Py kann Fenster vergössern oder verkleinern, aber dies wäre die anfängliche Größe eines Fensters und die Größe, in der Grafiken am schärfsten aussehen.\n\nDie Standardgröße [default_size[0]]x[default_size[1]] ist ein guter Kompromiss."
|
||||
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 1280x720 is a reasonable compromise."
|
||||
new "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 1280x720 is a reasonable compromise."
|
||||
|
||||
# gui7.rpy:389
|
||||
old "Creating the new project..."
|
||||
new "Erstellt neues Projekt..."
|
||||
new "Creating the new project..."
|
||||
|
||||
# gui7.rpy:391
|
||||
old "Updating the project..."
|
||||
new "Aktualisiert das Projekt..."
|
||||
new "Updating the project..."
|
||||
|
||||
# interface.rpy:107
|
||||
old "Documentation"
|
||||
@@ -813,7 +811,7 @@
|
||||
|
||||
# navigation.rpy:200
|
||||
old "screens"
|
||||
new "Screens"
|
||||
new "Bildschirme"
|
||||
|
||||
# navigation.rpy:201
|
||||
old "callables"
|
||||
@@ -1069,7 +1067,7 @@
|
||||
|
||||
# translations.rpy:282
|
||||
old "Updating default interface translations..."
|
||||
new "Aktualisiert Übersetzungen der Benutzeroberfläche..."
|
||||
new "Updating default interface translations..."
|
||||
|
||||
# translations.rpy:306
|
||||
old "Extract Dialogue: [project.current.name!q]"
|
||||
@@ -1199,737 +1197,3 @@
|
||||
old "Proceed"
|
||||
new "Fortsetzen"
|
||||
|
||||
translate german strings:
|
||||
|
||||
# game/add_file.rpy:37
|
||||
old "The file name may not be empty."
|
||||
new "Der Dateiname darf nicht leer sein."
|
||||
|
||||
# game/android.rpy:35
|
||||
old "A 64-bit/x64 Java 8 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://adoptopenjdk.net/?variant=openjdk8&jvmVariant=hotspot}download and install the JDK{/a}, then restart the Ren'Py launcher."
|
||||
new "A 64-bit/x64 Java 8 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://adoptopenjdk.net/?variant=openjdk8&jvmVariant=hotspot}download and install the JDK{/a}, then restart the Ren'Py launcher."
|
||||
|
||||
# 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 has been installed, but a bundle key hasn't been configured. Please create a new key, or restore bundle.keystore."
|
||||
|
||||
# game/android.rpy:40
|
||||
old "Please select if you want a Play Bundle (for Google Play), or a Universal APK (for sideloading and other app stores)."
|
||||
new "Please select if you want a Play Bundle (for Google Play), or a Universal APK (for sideloading and other app stores)."
|
||||
|
||||
# game/android.rpy:55
|
||||
old "Lists the connected devices."
|
||||
new "Lists the connected devices."
|
||||
|
||||
# game/android.rpy:56
|
||||
old "Pairs with a device over Wi-Fi, on Android 11+."
|
||||
new "Pairs with a device over Wi-Fi, on Android 11+."
|
||||
|
||||
# game/android.rpy:57
|
||||
old "Connects to a device over Wi-Fi, on Android 11+."
|
||||
new "Connects to a device over Wi-Fi, on Android 11+."
|
||||
|
||||
# game/android.rpy:58
|
||||
old "Disconnects a device connected over Wi-Fi."
|
||||
new "Disconnects a device connected over Wi-Fi."
|
||||
|
||||
# game/android.rpy:60
|
||||
old "Removes Android temporary files."
|
||||
new "Removes Android temporary files."
|
||||
|
||||
# game/android.rpy:62
|
||||
old "Builds an Android App Bundle (ABB), intended to be uploaded to Google Play. This can include up to 2GB of data."
|
||||
new "Builds an Android App Bundle (ABB), intended to be uploaded to Google Play. This can include up to 2GB of data."
|
||||
|
||||
# game/android.rpy:63
|
||||
old "Builds a Universal APK package, intended for sideloading and stores other than Google Play. This can include up to 2GB of data."
|
||||
new "Builds a Universal APK package, intended for sideloading and stores other than Google Play. This can include up to 2GB of data."
|
||||
|
||||
# game/android.rpy:335
|
||||
old "Android: [project.current.display_name!q]"
|
||||
new "Android: [project.current.display_name!q]"
|
||||
|
||||
# game/android.rpy:401
|
||||
old "Play Bundle"
|
||||
new "Play Bundle"
|
||||
|
||||
# game/android.rpy:406
|
||||
old "Universal APK"
|
||||
new "Universal APK"
|
||||
|
||||
# game/android.rpy:456
|
||||
old "List Devices"
|
||||
new "List Devices"
|
||||
|
||||
# game/android.rpy:460
|
||||
old "Wi-Fi Debugging Pair"
|
||||
new "Wi-Fi Debugging Pair"
|
||||
|
||||
# game/android.rpy:464
|
||||
old "Wi-Fi Debugging Connect"
|
||||
new "Wi-Fi Debugging Connect"
|
||||
|
||||
# game/android.rpy:468
|
||||
old "Wi-Fi Debugging Disconnect"
|
||||
new "Wi-Fi Debugging Disconnect"
|
||||
|
||||
# game/android.rpy:472
|
||||
old "Clean"
|
||||
new "Clean"
|
||||
|
||||
# game/android.rpy:569
|
||||
old "Wi-Fi Pairing Code"
|
||||
new "Wi-Fi Pairing Code"
|
||||
|
||||
# game/android.rpy:569
|
||||
old "If supported, this can be found in 'Developer options', 'Wireless debugging', 'Pair device with pairing code'."
|
||||
new "If supported, this can be found in 'Developer options', 'Wireless debugging', 'Pair device with pairing code'."
|
||||
|
||||
# game/android.rpy:576
|
||||
old "Pairing Host & Port"
|
||||
new "Pairing Host & Port"
|
||||
|
||||
# game/android.rpy:592
|
||||
old "IP Address & Port"
|
||||
new "IP Address & Port"
|
||||
|
||||
# game/android.rpy:592
|
||||
old "If supported, this can be found in 'Developer options', 'Wireless debugging'."
|
||||
new "If supported, this can be found in 'Developer options', 'Wireless debugging'."
|
||||
|
||||
# game/android.rpy:608
|
||||
old "This can be found in 'List Devices'."
|
||||
new "This can be found in 'List Devices'."
|
||||
|
||||
# game/android.rpy:628
|
||||
old "Cleaning up Android project."
|
||||
new "Cleaning up Android project."
|
||||
|
||||
# game/androidstrings.rpy:7
|
||||
old "{} is not a directory."
|
||||
new "{} ist kein Verzeichnis."
|
||||
|
||||
# game/androidstrings.rpy:8
|
||||
old "{} does not contain a Ren'Py game."
|
||||
new "{} enthält kein Ren'Py Projekt."
|
||||
|
||||
# game/androidstrings.rpy:10
|
||||
old "Run configure before attempting to build the app."
|
||||
new "Run configure before attempting to build the app."
|
||||
|
||||
# game/androidstrings.rpy:11
|
||||
old "Updating project."
|
||||
new "Aktualisiert Projekt."
|
||||
|
||||
# game/androidstrings.rpy:12
|
||||
old "Creating assets directory."
|
||||
new "Erstellt Asset-Verzeichnis."
|
||||
|
||||
# game/androidstrings.rpy:13
|
||||
old "Packaging internal data."
|
||||
new "Verpackt interne Daten."
|
||||
|
||||
# game/androidstrings.rpy:14
|
||||
old "I'm using Gradle to build the package."
|
||||
new "Ich benutze Gradle, um das Paket zu generieren."
|
||||
|
||||
# game/androidstrings.rpy:15
|
||||
old "The build seems to have failed."
|
||||
new "Generierung ist fehlgeschlagen."
|
||||
|
||||
# game/androidstrings.rpy:16
|
||||
old "I'm installing the bundle."
|
||||
new "Ich installiere das Bundle."
|
||||
|
||||
# game/androidstrings.rpy:17
|
||||
old "Installing the bundle appears to have failed."
|
||||
new "Installation des Bundles ist fehlgeschlagen."
|
||||
|
||||
# game/androidstrings.rpy:18
|
||||
old "Launching app."
|
||||
new "Startet App."
|
||||
|
||||
# game/androidstrings.rpy:19
|
||||
old "Launching the app appears to have failed."
|
||||
new "Starten der App ist fehlgeschlagen."
|
||||
|
||||
# game/androidstrings.rpy:20
|
||||
old "The build seems to have succeeded."
|
||||
new "Paket-Generierung war erfolgreich."
|
||||
|
||||
# game/androidstrings.rpy:21
|
||||
old "What is the full name of your application? This name will appear in the list of installed applications."
|
||||
new "Was ist der vollständige Name Ihrer Applikation? Dieser Name wird in der Liste von installierten Anwendungen erscheinen."
|
||||
|
||||
# game/androidstrings.rpy:22
|
||||
old "What is the short name of your application? This name will be used in the launcher, and for application shortcuts."
|
||||
new "Was ist der Kurzname Ihrer Applikation? Dieser Name wird im Launcher und für Anwendungsverknüpfungen verwendet."
|
||||
|
||||
# game/androidstrings.rpy:23
|
||||
old "What is the name of the package?\n\nThis is usually of the form com.domain.program or com.domain.email.program. It may only contain ASCII letters and dots. It must contain at least one dot."
|
||||
new "What is the name of the package?\n\nThis is usually of the form com.domain.program or com.domain.email.program. It may only contain ASCII letters and dots. It must contain at least one dot."
|
||||
|
||||
# game/androidstrings.rpy:24
|
||||
old "The package name may not be empty."
|
||||
new "The package name may not be empty."
|
||||
|
||||
# game/androidstrings.rpy:25
|
||||
old "The package name may not contain spaces."
|
||||
new "The package name may not contain spaces."
|
||||
|
||||
# game/androidstrings.rpy:26
|
||||
old "The package name must contain at least one dot."
|
||||
new "The package name must contain at least one dot."
|
||||
|
||||
# game/androidstrings.rpy:27
|
||||
old "The package name may not contain two dots in a row, or begin or end with a dot."
|
||||
new "The package name may not contain two dots in a row, or begin or end with a dot."
|
||||
|
||||
# game/androidstrings.rpy:28
|
||||
old "Each part of the package name must start with a letter, and contain only letters, numbers, and underscores."
|
||||
new "Each part of the package name must start with a letter, and contain only letters, numbers, and underscores."
|
||||
|
||||
# game/androidstrings.rpy:29
|
||||
old "{} is a Java keyword, and can't be used as part of a package name."
|
||||
new "{} is a Java keyword, and can't be used as part of a package name."
|
||||
|
||||
# game/androidstrings.rpy:30
|
||||
old "What is the application's version?\n\nThis should be the human-readable version that you would present to a person. It must contain only numbers and dots."
|
||||
new "What is the application's version?\n\nThis should be the human-readable version that you would present to a person. It must contain only numbers and dots."
|
||||
|
||||
# game/androidstrings.rpy:31
|
||||
old "The version number must contain only numbers and dots."
|
||||
new "The version number must contain only numbers and dots."
|
||||
|
||||
# game/androidstrings.rpy:32
|
||||
old "How much RAM do you want to allocate to Gradle?\n\nThis must be a positive integer number."
|
||||
new "How much RAM do you want to allocate to Gradle?\n\nThis must be a positive integer number."
|
||||
|
||||
# game/androidstrings.rpy:33
|
||||
old "The RAM size must contain only numbers."
|
||||
new "The RAM size must contain only numbers."
|
||||
|
||||
# game/androidstrings.rpy:34
|
||||
old "How would you like your application to be displayed?"
|
||||
new "How would you like your application to be displayed?"
|
||||
|
||||
# game/androidstrings.rpy:35
|
||||
old "In landscape orientation."
|
||||
new "In landscape orientation."
|
||||
|
||||
# game/androidstrings.rpy:36
|
||||
old "In portrait orientation."
|
||||
new "In portrait orientation."
|
||||
|
||||
# game/androidstrings.rpy:37
|
||||
old "In the user's preferred orientation."
|
||||
new "In the user's preferred orientation."
|
||||
|
||||
# game/androidstrings.rpy:38
|
||||
old "Do you want to automatically update the Java source code?"
|
||||
new "Do you want to automatically update the Java source code?"
|
||||
|
||||
# game/androidstrings.rpy:39
|
||||
old "Yes. This is the best choice for most projects."
|
||||
new "Yes. This is the best choice for most projects."
|
||||
|
||||
# game/androidstrings.rpy:40
|
||||
old "No. This may require manual updates when Ren'Py or the project configuration changes."
|
||||
new "No. This may require manual updates when Ren'Py or the project configuration changes."
|
||||
|
||||
# game/androidstrings.rpy:41
|
||||
old "Unknown configuration variable: {}"
|
||||
new "Unknown configuration variable: {}"
|
||||
|
||||
# game/androidstrings.rpy:42
|
||||
old "I'm compiling a short test program, to see if you have a working JDK on your system."
|
||||
new "I'm compiling a short test program, to see if you have a working JDK on your system."
|
||||
|
||||
# game/androidstrings.rpy:43
|
||||
old "I was unable to use javac to compile a test file. If you haven't installed the Java Development Kit yet, please download it from:\n\n{a=https://adoptium.net/?variant=openjdk8}https://adoptium.net/?variant=openjdk8{/a}\n\nThe JDK is different from the JRE, so it's possible you have Java without having the JDK. Please make sure you installed the 'JavaSoft (Oracle) registry keys'.\n\nWithout a working JDK, I can't continue."
|
||||
new "I was unable to use javac to compile a test file. If you haven't installed the Java Development Kit yet, please download it from:\n\n{a=https://adoptium.net/?variant=openjdk8}https://adoptium.net/?variant=openjdk8{/a}\n\nThe JDK is different from the JRE, so it's possible you have Java without having the JDK. Please make sure you installed the 'JavaSoft (Oracle) registry keys'.\n\nWithout a working JDK, I can't continue."
|
||||
|
||||
# game/androidstrings.rpy:44
|
||||
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 "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."
|
||||
|
||||
# game/androidstrings.rpy:45
|
||||
old "The JDK is present and working. Good!"
|
||||
new "The JDK is present and working. Good!"
|
||||
|
||||
# game/androidstrings.rpy:46
|
||||
old "The Android SDK has already been unpacked."
|
||||
new "The Android SDK has already been unpacked."
|
||||
|
||||
# game/androidstrings.rpy:47
|
||||
old "Do you accept the Android SDK Terms and Conditions?"
|
||||
new "Do you accept the Android SDK Terms and Conditions?"
|
||||
|
||||
# game/androidstrings.rpy:48
|
||||
old "I'm downloading the Android SDK. This might take a while."
|
||||
new "I'm downloading the Android SDK. This might take a while."
|
||||
|
||||
# game/androidstrings.rpy:49
|
||||
old "I'm extracting the Android SDK."
|
||||
new "I'm extracting the Android SDK."
|
||||
|
||||
# game/androidstrings.rpy:50
|
||||
old "I've finished unpacking the Android SDK."
|
||||
new "I've finished unpacking the Android SDK."
|
||||
|
||||
# game/androidstrings.rpy:51
|
||||
old "I'm about to download and install the required Android packages. This might take a while."
|
||||
new "I'm about to download and install the required Android packages. This might take a while."
|
||||
|
||||
# game/androidstrings.rpy:52
|
||||
old "I was unable to accept the Android licenses."
|
||||
new "I was unable to accept the Android licenses."
|
||||
|
||||
# game/androidstrings.rpy:54
|
||||
old "I was unable to install the required Android packages."
|
||||
new "I was unable to install the required Android packages."
|
||||
|
||||
# game/androidstrings.rpy:55
|
||||
old "I've finished installing the required Android packages."
|
||||
new "I've finished installing the required Android packages."
|
||||
|
||||
# game/androidstrings.rpy:56
|
||||
old "Please enter your name or the name of your organization."
|
||||
new "Please enter your name or the name of your organization."
|
||||
|
||||
# game/androidstrings.rpy:57
|
||||
old "I can create an application signing key for you. This key is required to create Universal APK for sideloading and stores other than Google Play.\n\nDo you want to create a key?"
|
||||
new "I can create an application signing key for you. This key is required to create Universal APK for sideloading and stores other than Google Play.\n\nDo you want to create a key?"
|
||||
|
||||
# game/androidstrings.rpy:58
|
||||
old "I will create the key in the android.keystore file.\n\nYou need to back this file up. If you lose it, you will not be able to upgrade your application.\n\nYou also need to keep the key safe. If evil people get this file, they could make fake versions of your application, and potentially steal your users' data.\n\nWill you make a backup of android.keystore, and keep it in a safe place?"
|
||||
new "I will create the key in the android.keystore file.\n\nYou need to back this file up. If you lose it, you will not be able to upgrade your application.\n\nYou also need to keep the key safe. If evil people get this file, they could make fake versions of your application, and potentially steal your users' data.\n\nWill you make a backup of android.keystore, and keep it in a safe place?"
|
||||
|
||||
# game/androidstrings.rpy:59
|
||||
old "Could not create android.keystore. Is keytool in your path?"
|
||||
new "Could not create android.keystore. Is keytool in your path?"
|
||||
|
||||
# game/androidstrings.rpy:60
|
||||
old "I've finished creating android.keystore. Please back it up, and keep it in a safe place."
|
||||
new "I've finished creating android.keystore. Please back it up, and keep it in a safe place."
|
||||
|
||||
# game/androidstrings.rpy:61
|
||||
old "I can create a bundle signing key for you. This key is required to build an Android App Bundle (AAB) for upload to Google Play.\n\nDo you want to create a key?"
|
||||
new "I can create a bundle signing key for you. This key is required to build an Android App Bundle (AAB) for upload to Google Play.\n\nDo you want to create a key?"
|
||||
|
||||
# game/androidstrings.rpy:62
|
||||
old "I will create the key in the bundle.keystore file.\n\nYou need to back this file up. If you lose it, you will not be able to upgrade your application.\n\nYou also need to keep the key safe. If evil people get this file, they could make fake versions of your application, and potentially steal your users' data.\n\nWill you make a backup of bundle.keystore, and keep it in a safe place?"
|
||||
new "I will create the key in the bundle.keystore file.\n\nYou need to back this file up. If you lose it, you will not be able to upgrade your application.\n\nYou also need to keep the key safe. If evil people get this file, they could make fake versions of your application, and potentially steal your users' data.\n\nWill you make a backup of bundle.keystore, and keep it in a safe place?"
|
||||
|
||||
# game/androidstrings.rpy:63
|
||||
old "Could not create bundle.keystore. Is keytool in your path?"
|
||||
new "Could not create bundle.keystore. Is keytool in your path?"
|
||||
|
||||
# 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 "I've opened the directory containing android.keystore and bundle.keystore. Please back them up, and keep them in a safe place."
|
||||
|
||||
# game/androidstrings.rpy:65
|
||||
old "It looks like you're ready to start packaging games."
|
||||
new "It looks like you're ready to start packaging games."
|
||||
|
||||
# game/choose_directory.rpy:67
|
||||
old "Select Projects Directory"
|
||||
new "Select Projects Directory"
|
||||
|
||||
# game/choose_directory.rpy:79
|
||||
old "The selected projects directory is not writable."
|
||||
new "The selected projects directory is not writable."
|
||||
|
||||
# game/choose_theme.rpy:508
|
||||
old "changing the theme"
|
||||
new "changing the theme"
|
||||
|
||||
# game/distribute.rpy:1217
|
||||
old "Signing the Macintosh application...\n(This may take a long time.)"
|
||||
new "Signing the Macintosh application...\n(This may take a long time.)"
|
||||
|
||||
# game/distribute.rpy:1674
|
||||
old "Copying files..."
|
||||
new "Copying files..."
|
||||
|
||||
# game/distribute_gui.rpy:157
|
||||
old "Build Distributions: [project.current.display_name!q]"
|
||||
new "Applikation erstellen: [project.current.display_name!q]"
|
||||
|
||||
# game/distribute_gui.rpy:195
|
||||
old "Update old-game"
|
||||
new "Update old-game"
|
||||
|
||||
# game/dmgcheck.rpy:50
|
||||
old "Ren'Py is running from a read only folder. Some functionality will not work."
|
||||
new "Ren'Py is running from a read only folder. Some functionality will not work."
|
||||
|
||||
# game/dmgcheck.rpy:50
|
||||
old "This is probably because Ren'Py is running directly from a Macintosh drive image. To fix this, quit this launcher, copy the entire %s folder somewhere else on your computer, and run Ren'Py again."
|
||||
new "This is probably because Ren'Py is running directly from a Macintosh drive image. To fix this, quit this launcher, copy the entire %s folder somewhere else on your computer, and run Ren'Py again."
|
||||
|
||||
# game/editor.rpy:152
|
||||
old "A modern editor with many extensions including advanced Ren'Py integration."
|
||||
new "A modern editor with many extensions including advanced Ren'Py integration."
|
||||
|
||||
# game/editor.rpy:153
|
||||
old "A modern editor with many extensions including advanced Ren'Py integration.\n{a=jump:reinstall_vscode}Upgrade Visual Studio Code to the latest version.{/a}"
|
||||
new "Ein moderner Editor mit vielen Erweiterungen für fortgeschrittene Ren'Py-Integration.\n{a=jump:reinstall_vscode}Visual Studio Code auf die neueste Version aktualisieren.{/a}"
|
||||
|
||||
# game/editor.rpy:162
|
||||
old "Visual Studio Code"
|
||||
new "Visual Studio Code"
|
||||
|
||||
# game/editor.rpy:162
|
||||
old "Up to 110 MB download required."
|
||||
new "Erfordert herunterladen von bis zu 110 MB."
|
||||
|
||||
# game/editor.rpy:175
|
||||
old "A modern and approachable text editor."
|
||||
new "Ein moderner und zugänglicher Texteditor."
|
||||
|
||||
# game/editor.rpy:187
|
||||
old "Atom"
|
||||
new "Atom"
|
||||
|
||||
# game/editor.rpy:187
|
||||
old "Up to 150 MB download required."
|
||||
new "Erfordert herunterladen von bis zu 150 MB."
|
||||
|
||||
# game/editor.rpy:200
|
||||
old "jEdit"
|
||||
new "jEdit"
|
||||
|
||||
# game/editor.rpy:209
|
||||
old "Visual Studio Code (System)"
|
||||
new "Visual Studio Code (System)"
|
||||
|
||||
# game/editor.rpy:209
|
||||
old "Uses a copy of Visual Studio Code that you have installed outside of Ren'Py. It's recommended you install the language-renpy extension to add support for Ren'Py files."
|
||||
new "Benutzt eine Kopie von Visual Studio Code, welche Sie ausserhalb von Ren'Py installiert haben. Installation der language-renpy Extension für den Support von Ren'Py-Dateien ist empfohlen."
|
||||
|
||||
# game/editor.rpy:215
|
||||
old "System Editor"
|
||||
new "System-Editor"
|
||||
|
||||
# game/editor.rpy:234
|
||||
old "None"
|
||||
new "Keiner"
|
||||
|
||||
# game/editor.rpy:341
|
||||
old "Edit [text]."
|
||||
new "[text] bearbeiten."
|
||||
|
||||
# game/front_page.rpy:165
|
||||
old "audio"
|
||||
new "audio"
|
||||
|
||||
# game/front_page.rpy:182
|
||||
old "Open project"
|
||||
new "Projekt öffnen"
|
||||
|
||||
# game/front_page.rpy:219
|
||||
old "Web"
|
||||
new "Web"
|
||||
|
||||
# game/front_page.rpy:219
|
||||
old "(Beta)"
|
||||
new "(Beta)"
|
||||
|
||||
# game/gui7.rpy:302
|
||||
old "{size=-4}\n\nThis will not overwrite gui/main_menu.png, gui/game_menu.png, and gui/window_icon.png, but will create files that do not exist.{/size}"
|
||||
new "{size=-4}\n\nThis will not overwrite gui/main_menu.png, gui/game_menu.png, and gui/window_icon.png, but will create files that do not exist.{/size}"
|
||||
|
||||
# game/gui7.rpy:333
|
||||
old "Custom. The GUI is optimized for a 16:9 aspect ratio."
|
||||
new "Benutzerdefiniert. Die GUI ist für ein 16:9 Seitenverhältnis optimiert."
|
||||
|
||||
# game/gui7.rpy:350
|
||||
old "WIDTH"
|
||||
new "BREITE"
|
||||
|
||||
# game/gui7.rpy:350
|
||||
old "Please enter the width of your game, in pixels."
|
||||
new "Bitte tragen Sie die Breite des Spiels (in Pixel) ein."
|
||||
|
||||
# game/gui7.rpy:360
|
||||
old "The width must be a number."
|
||||
new "Die Breite muss eine Zahl sein."
|
||||
|
||||
# game/gui7.rpy:366
|
||||
old "HEIGHT"
|
||||
new "HÖHE"
|
||||
|
||||
# game/gui7.rpy:366
|
||||
old "Please enter the height of your game, in pixels."
|
||||
new "Bitte tragen Sie die Höhe des Spiels (in Pixel) ein."
|
||||
|
||||
# game/gui7.rpy:376
|
||||
old "The height must be a number."
|
||||
new "Die Höhe muss eine Zahl sein."
|
||||
|
||||
# game/gui7.rpy:424
|
||||
old "creating a new project"
|
||||
new "creating a new project"
|
||||
|
||||
# game/gui7.rpy:428
|
||||
old "activating the new project"
|
||||
new "activating the new project"
|
||||
|
||||
# game/install.rpy:33
|
||||
old "Could not install [name!t], as a file matching [zipglob] was not found in the Ren'Py SDK directory."
|
||||
new "Konnte [name!t] nicht installieren, weil keine Datei im Ren'Py SDK-Verzeichnis mit [zipglob] übereinstimmt."
|
||||
|
||||
# game/install.rpy:79
|
||||
old "Successfully installed [name!t]."
|
||||
new "[name!t] erfolgreich installiert."
|
||||
|
||||
# game/install.rpy:114
|
||||
old "This screen allows you to install libraries that can't be distributed with Ren'Py. Some of these libraries may require you to agree to a third-party license before being used or distributed."
|
||||
new "Dieses Menü ermöglicht die Installation von Libraries, welche mit Ren'Py verteilt werden können. Manche davon benötigen die Zustimmung zu Drittanbieter-Lizenzen, um benutzt oder verteilt werden zu können."
|
||||
|
||||
# game/install.rpy:120
|
||||
old "Install Steam Support"
|
||||
new "Steam-Support installieren"
|
||||
|
||||
# game/install.rpy:129
|
||||
old "Before installing Steam support, please make sure you are a {a=https://partner.steamgames.com/}Steam partner{/a}."
|
||||
new "Stellen Sie sicher, dass sie ein {a=https://partner.steamgames.com/}Steam Partner{/a} sind, bevor Sie Steam-Support installieren."
|
||||
|
||||
# game/install.rpy:141
|
||||
old "Steam support has already been installed."
|
||||
new "Steam-Support wurde bereits installiert."
|
||||
|
||||
# game/install.rpy:145
|
||||
old "Install Live2D Cubism SDK for Native"
|
||||
new "Live2D Cubism SDK for Native installieren"
|
||||
|
||||
# game/install.rpy:159
|
||||
old "Install Libraries"
|
||||
new "Libraries installieren"
|
||||
|
||||
# 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 "Die {a=https://www.live2d.com/en/download/cubism-sdk/download-native/}Cubism SDK for Native{/a} fügt Support für Live2D-Modelle hinzu. Platzieren Sie CubismSdkForNative-4-{i}version{/i}.zip in das Ren'Py SDK-Verzeichnis, und klicken Sie auf \"Install\". Ein game mit Live2D zu veröffentlichen erfordert das Akzeptieren einer Lizenz von 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."
|
||||
new "Live2D in Ren'Py unterstützt keine Web oder Android x86_64 (inklusive Emulatoren und Chrome OS) Projekte und muss manuell zu iOS Projekten hinzugefügt werden. Es muss nach einem Ren'Py-Update oder nach der Installation vom Android-Support reinstalliert werden."
|
||||
|
||||
# game/install.rpy:194
|
||||
old "Open Ren'Py SDK Directory"
|
||||
new "Ren'Py SDK-Verzeichnis öffnen"
|
||||
|
||||
# game/installer.rpy:10
|
||||
old "Downloading [extension.download_file]."
|
||||
new "[extension.download_file] wird heruntergeladen."
|
||||
|
||||
# game/installer.rpy:11
|
||||
old "Could not download [extension.download_file] from [extension.download_url]:\n{b}[extension.download_error]"
|
||||
new "Konnte [extension.download_file] nicht von [extension.download_url] herunterladen:\n{b}[extension.download_error]"
|
||||
|
||||
# game/installer.rpy:12
|
||||
old "The downloaded file [extension.download_file] from [extension.download_url] is not correct."
|
||||
new "Die heruntergeladene Datei [extension.download_file] von [extension.download_url] ist nicht korrekt."
|
||||
|
||||
# game/interface.rpy:124
|
||||
old "[interface.version]"
|
||||
new "[interface.version]"
|
||||
|
||||
# game/interface.rpy:141
|
||||
old "Ren'Py Sponsor Information"
|
||||
new "Ren'Py Sponsoren-Information"
|
||||
|
||||
# game/interface.rpy:377
|
||||
old "opening the log file"
|
||||
new "opening the log file"
|
||||
|
||||
# game/ios.rpy:269
|
||||
old "iOS: [project.current.display_name!q]"
|
||||
new "iOS: [project.current.display_name!q]"
|
||||
|
||||
# game/ios.rpy:379
|
||||
old "There are known issues with the iOS simulator on Apple Silicon. Please test on x86_64 or iOS devices."
|
||||
new "There are known issues with the iOS simulator on Apple Silicon. Please test on x86_64 or iOS devices."
|
||||
|
||||
# game/itch.rpy:43
|
||||
old "Downloading the itch.io butler."
|
||||
new "Lädt den Itch.io-Butler herunter."
|
||||
|
||||
# game/navigation.rpy:168
|
||||
old "Navigate: [project.current.display_name!q]"
|
||||
new "Navigieren: [project.current.display_name!q]"
|
||||
|
||||
# game/new_project.rpy:81
|
||||
old "You will be creating an [new_project_language]{#this substitution may be localized} language project. Change the launcher language in preferences to create a project in another language."
|
||||
new "Sie werden ein Projekt auf [new_project_language]{#this substitution may be localized} erstellen. Ändern Sie die Sprache des Launchers in den Einstellungen, um Projekte in einer anderen Sprache zu erstellen."
|
||||
|
||||
# game/preferences.rpy:106
|
||||
old "General"
|
||||
new "Generell"
|
||||
|
||||
# game/preferences.rpy:107
|
||||
old "Options"
|
||||
new "Optionen"
|
||||
|
||||
# game/preferences.rpy:227
|
||||
old "Daily check for update"
|
||||
new "Täglich nach Updates schauen"
|
||||
|
||||
# game/preferences.rpy:246
|
||||
old "Launcher Theme:"
|
||||
new "Launcher-Design:"
|
||||
|
||||
# game/preferences.rpy:250
|
||||
old "Default theme"
|
||||
new "Standard-Design"
|
||||
|
||||
# game/preferences.rpy:251
|
||||
old "Dark theme"
|
||||
new "Dunkles Design"
|
||||
|
||||
# game/preferences.rpy:252
|
||||
old "Custom theme"
|
||||
new "Benutzerdefiniertes Design"
|
||||
|
||||
# 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}."
|
||||
new "Informationen über benutzerdefinierte Designs können {a=https://www.renpy.org/doc/html/skins.html}in der Ren'Py-Dokumentation{/a} gefunden werden."
|
||||
|
||||
# game/preferences.rpy:273
|
||||
old "Install Libraries:"
|
||||
new "Libraries installieren:"
|
||||
|
||||
# game/preferences.rpy:300
|
||||
old "Reset window size"
|
||||
new "Fenstergröße zurücksetzen"
|
||||
|
||||
# game/preferences.rpy:301
|
||||
old "Clean temporary files"
|
||||
new "Temporäre Dateien säubern"
|
||||
|
||||
# game/preferences.rpy:308
|
||||
old "Cleaning temporary files..."
|
||||
new "Säubert Temporäre Dateien..."
|
||||
|
||||
# game/preferences.rpy:338
|
||||
old "{#in language font}Welcome! Please choose a language"
|
||||
new "{#in language font}Willkommen! Bitte wählen Sie eine Sprache"
|
||||
|
||||
# game/preferences.rpy:373
|
||||
old "{#in language font}Start using Ren'Py in [lang_name]"
|
||||
new "{#in language font}Beginnen, Ren'Py auf [lang_name] zu benutzen"
|
||||
|
||||
# game/project.rpy:280
|
||||
old "This may be because the project is not writeable."
|
||||
new "This may be because the project is not writeable."
|
||||
|
||||
# game/translations.rpy:91
|
||||
old "Translations: [project.current.display_name!q]"
|
||||
new "Übersetzungen: [project.current.display_name!q]"
|
||||
|
||||
# game/translations.rpy:342
|
||||
old "Extract Dialogue: [project.current.display_name!q]"
|
||||
new "Dialog extrahieren: [project.current.display_name!q]"
|
||||
|
||||
# game/translations.rpy:391
|
||||
old "Language (or None for the default language):"
|
||||
new "Sprache (oder None für die Standard-Sprache):"
|
||||
|
||||
# game/updater.rpy:64
|
||||
old "Release (Ren'Py 8, Python 3)"
|
||||
new "Release (Ren'Py 8, Python 3)"
|
||||
|
||||
# game/updater.rpy:65
|
||||
old "Release (Ren'Py 7, Python 2)"
|
||||
new "Release (Ren'Py 7, Python 2)"
|
||||
|
||||
# game/updater.rpy:69
|
||||
old "Prerelease (Ren'Py 8, Python 3)"
|
||||
new "Prerelease (Ren'Py 8, Python 3)"
|
||||
|
||||
# game/updater.rpy:70
|
||||
old "Prerelease (Ren'Py 7, Python 2)"
|
||||
new "Prerelease (Ren'Py 7, Python 2)"
|
||||
|
||||
# game/updater.rpy:77
|
||||
old "Nightly (Ren'Py 8, Python 3)"
|
||||
new "Nightly (Ren'Py 8, Python 3)"
|
||||
|
||||
# game/updater.rpy:78
|
||||
old "Nightly (Ren'Py 7, Python 2)"
|
||||
new "Nightly (Ren'Py 7, Python 2)"
|
||||
|
||||
# game/updater.rpy:107
|
||||
old "The update channel controls the version of Ren'Py the updater will download."
|
||||
new "The update channel controls the version of Ren'Py the updater will download."
|
||||
|
||||
# game/updater.rpy:115
|
||||
old "• {a=https://www.renpy.org/doc/html/changelog.html}View change log{/a}"
|
||||
new "• {a=https://www.renpy.org/doc/html/changelog.html}View change log{/a}"
|
||||
|
||||
# game/updater.rpy:117
|
||||
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}View change log{/a}"
|
||||
|
||||
# game/updater.rpy:123
|
||||
old "• This version is installed and up-to-date."
|
||||
new "• Diese Version ist installiert und aktuell."
|
||||
|
||||
# game/updater.rpy:135
|
||||
old "%B %d, %Y"
|
||||
new "%B %d, %Y"
|
||||
|
||||
# game/updater.rpy:214
|
||||
old "Fetching the list of update channels"
|
||||
new "Fetching the list of update channels"
|
||||
|
||||
# game/updater.rpy:219
|
||||
old "downloading the list of update channels"
|
||||
new "downloading the list of update channels"
|
||||
|
||||
# game/web.rpy:242
|
||||
old "Preparing progressive download"
|
||||
new "Preparing progressive download"
|
||||
|
||||
# game/web.rpy:277
|
||||
old "Web: [project.current.display_name!q]"
|
||||
new "Web: [project.current.display_name!q]"
|
||||
|
||||
# game/web.rpy:307
|
||||
old "Build Web Application"
|
||||
new "Web-Applikation erstellen"
|
||||
|
||||
# game/web.rpy:308
|
||||
old "Build and Open in Browser"
|
||||
new "Erstellen und in Browser öffnen"
|
||||
|
||||
# game/web.rpy:309
|
||||
old "Open in Browser"
|
||||
new "In Browser öffnen"
|
||||
|
||||
# game/web.rpy:310
|
||||
old "Open build directory"
|
||||
new "Applikations-Verzeichnis öffnen"
|
||||
|
||||
# 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."
|
||||
new "Images and music can be downloaded while playing. A 'progressive_download.txt' file will be created so you can configure this behavior."
|
||||
|
||||
# game/web.rpy:336
|
||||
old "Current limitations in the web platform mean that loading large images may cause audio or framerate glitches, and lower performance in general. Movies aren't supported."
|
||||
new "Current limitations in the web platform mean that loading large images may cause audio or framerate glitches, and lower performance in general. Movies aren't supported."
|
||||
|
||||
# game/web.rpy:344
|
||||
old "This feature is not supported in Ren'Py 8."
|
||||
new "Diese Funktion wird in Ren'Py 8 nicht unterstützt."
|
||||
|
||||
# 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 "Wir werden Support in einer zukünftigen Version von Ren'Py 8 wiederherstellen. Bitte benutzen Sie Ren'Py 7 für Web-Applikationen bis dann."
|
||||
|
||||
# game/web.rpy:348
|
||||
old "Before packaging web apps, you'll need to download RenPyWeb, Ren'Py's web support. Would you like to download RenPyWeb now?"
|
||||
new "Before packaging web apps, you'll need to download RenPyWeb, Ren'Py's web support. Would you like to download RenPyWeb now?"
|
||||
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
translate greek strings:
|
||||
# game/new_project.rpy:77
|
||||
old "{#language name and font}"
|
||||
new "{font=fonts/Roboto-Light.ttf}Ελληνικά{/font}"
|
||||
|
||||
translate greek strings:
|
||||
|
||||
# about.rpy:39
|
||||
old "[version!q]"
|
||||
@@ -564,8 +562,8 @@
|
||||
new "Ο φάκελος [project_name!q] υπάρχει ήδη. Παρακαλούμε επιλέξτε άλλο όνομα για το έργο σας."
|
||||
|
||||
# gui7.rpy:341
|
||||
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 "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."
|
||||
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 1280x720 is a reasonable compromise."
|
||||
new "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 1280x720 is a reasonable compromise."
|
||||
|
||||
# gui7.rpy:389
|
||||
old "Creating the new project..."
|
||||
@@ -1186,3 +1184,4 @@
|
||||
# updater.rpy:195
|
||||
old "Proceed"
|
||||
new "Συνέχισε"
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
|
||||
# 00gltest.rpy:164
|
||||
old "Update DirectX"
|
||||
new "Perbaharui DirectX"
|
||||
new "Update DirectX"
|
||||
|
||||
# 00gltest.rpy:170
|
||||
old "Continue, Show this warning again"
|
||||
@@ -70,7 +70,7 @@
|
||||
|
||||
# 00gltest.rpy:192
|
||||
old "Updating DirectX."
|
||||
new "Memperbaharui DirectX."
|
||||
new "Mengupdate DirectX."
|
||||
|
||||
# 00gltest.rpy:196
|
||||
old "DirectX web setup has been started. It may start minimized in the taskbar. Please follow the prompts to install DirectX."
|
||||
@@ -86,7 +86,7 @@
|
||||
|
||||
# 00gltest.rpy:206
|
||||
old "Restart"
|
||||
new "Muat Ulang"
|
||||
new "Restart"
|
||||
|
||||
# 00gamepad.rpy:32
|
||||
old "Select Gamepad to Calibrate"
|
||||
@@ -130,7 +130,7 @@
|
||||
|
||||
# _errorhandling.rpym:519
|
||||
old "An exception has occurred."
|
||||
new "Terjadi Kesalahan."
|
||||
new "Kesalahan telah terjadi."
|
||||
|
||||
# _errorhandling.rpym:538
|
||||
old "Rollback"
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
translate indonesian strings:
|
||||
# game/new_project.rpy:77
|
||||
old "{#language name and font}"
|
||||
new "Bahasa Indonesia"
|
||||
|
||||
translate indonesian strings:
|
||||
|
||||
# about.rpy:39
|
||||
old "[version!q]"
|
||||
@@ -564,8 +562,8 @@
|
||||
new "[project_dir!q] sudah tersedia, silahkan buat nama proyek yang berbeda."
|
||||
|
||||
# gui7.rpy:341
|
||||
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 "Resolusi apa yang harus di gunakan proyek? Ren'Py dapat mengubah ukuran jendela naik dan turun, ini adalah ukuran inisial dari jendela, ukuran yang menentukan aset manya yang harus di gambar, dan ukuran dimana aset akan menjadi lebih tajamm.\n\nSetelan default [default_size[0]]x[default_size[1]] adalah ukuran yang paling bisa di kompromi."
|
||||
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 1280x720 is a reasonable compromise."
|
||||
new "Resolusi apa yang harus di gunakan proyek? Ren'Py dapat mengubah ukuran jendela naik dan turun, ini adalah ukuran inisial dari jendela, ukuran yang menentukan aset manya yang harus di gambar, dan ukuran dimana aset akan menjadi lebih tajamm.\n\nSetelan default 1280x720 adalah ukuran yang paling bisa di kompromi."
|
||||
|
||||
# gui7.rpy:389
|
||||
old "Creating the new project..."
|
||||
|
||||
@@ -287,7 +287,7 @@ translate indonesian strings:
|
||||
|
||||
# screens.rpy:738
|
||||
old "Display"
|
||||
new "Tampilan"
|
||||
new "Tampilam"
|
||||
|
||||
# screens.rpy:739
|
||||
old "Window"
|
||||
@@ -351,7 +351,7 @@ translate indonesian strings:
|
||||
|
||||
# screens.rpy:795
|
||||
old "Voice Volume"
|
||||
new "Volume Vokal"
|
||||
new "Volume Suara"
|
||||
|
||||
# screens.rpy:806
|
||||
old "Mute All"
|
||||
@@ -359,7 +359,7 @@ translate indonesian strings:
|
||||
|
||||
# screens.rpy:882
|
||||
old "## History screen"
|
||||
new "## Layar Riwayat"
|
||||
new "## Layar History"
|
||||
|
||||
# screens.rpy:884
|
||||
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."
|
||||
@@ -398,7 +398,7 @@ translate indonesian strings:
|
||||
|
||||
# screens.rpy:987
|
||||
old "Mouse"
|
||||
new "Tetikus"
|
||||
new "Mouse"
|
||||
|
||||
# screens.rpy:990
|
||||
old "Gamepad"
|
||||
@@ -682,7 +682,7 @@ translate indonesian strings:
|
||||
|
||||
# screens.rpy:1233
|
||||
old "## We have to use a font that has the BLACK RIGHT-POINTING SMALL TRIANGLE glyph in it."
|
||||
new "## Kami harus menggunakan font yang mempunyai glyph BLACK RIGHT-POINTING SMALL TRIANGLE didalamnya."
|
||||
new "## Kami harus menggunakan font yang mempunyai glyph BLACK RIGHT-POINTING SMALL TRIANGLE di dalam nya."
|
||||
|
||||
|
||||
translate indonesian strings:
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
translate italian strings:
|
||||
# game/new_project.rpy:77
|
||||
old "{#language name and font}"
|
||||
new "Italiano"
|
||||
|
||||
translate italian strings:
|
||||
|
||||
# about.rpy:39
|
||||
old "[version!q]"
|
||||
@@ -564,8 +562,8 @@
|
||||
new "[project_dir!q] esiste già. Si prega di scegliere un altro nome."
|
||||
|
||||
# gui7.rpy:341
|
||||
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 "Quale risoluzione dovrebbe usare il progetto? Sebbene Ren'Py possa scalare la finestra, questa sarà la dimensione iniziale, la dimensione alla quale i materiali dovrebbero venire disegnati, e la dimensione alla quale avranno la migliore definizione.\n\nLo standard di [default_size[0]]x[default_size[1]] è un compromesso ragionevole."
|
||||
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 1280x720 is a reasonable compromise."
|
||||
new "Quale risoluzione dovrebbe usare il progetto? Sebbene Ren'Py possa scalare la finestra, questa sarà la dimensione iniziale, la dimensione alla quale i materiali dovrebbero venire disegnati, e la dimensione alla quale avranno la migliore definizione.\n\nLo standard di 1280x720 è un compromesso ragionevole."
|
||||
|
||||
# gui7.rpy:389
|
||||
old "Creating the new project..."
|
||||
@@ -1198,3 +1196,4 @@
|
||||
# front_page.rpy:91
|
||||
old "PROJECTS:"
|
||||
new "PROGETTI:"
|
||||
|
||||
|
||||
@@ -622,8 +622,8 @@ translate italian strings:
|
||||
new "## Mostra il dialogo in una vpgrid o in una vbox."
|
||||
|
||||
# screens.rpy:1314
|
||||
old "## Displays the menu, if given. The menu may be displayed incorrectly if config.narrator_menu is set to True."
|
||||
new "## Mostra il menu, se fornito. Il menu può apparire distorto se config.narrator_menu è impostato a True."
|
||||
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 "## Mostra il menu, se fornito. Il menu può apparire distorto se config.narrator_menu è impostato a True, come lo è sopra."
|
||||
|
||||
# screens.rpy:1344
|
||||
old "## This controls the maximum number of NVL-mode entries that can be displayed at once."
|
||||
@@ -676,3 +676,4 @@ translate italian strings:
|
||||
# screens.rpy:1079
|
||||
old "Left Trigger\nLeft Shoulder"
|
||||
new "Grilletto Sinistro\nLaterale Sinistro"
|
||||
|
||||
|
||||
@@ -333,6 +333,9 @@ translate japanese strings:
|
||||
old "return"
|
||||
new "戻る"
|
||||
|
||||
|
||||
translate japanese strings:
|
||||
|
||||
# 00director.rpy:689
|
||||
old "The interactive director is not enabled here."
|
||||
new "ここではインタラクティブディレクターは使えません"
|
||||
@@ -417,6 +420,9 @@ translate japanese strings:
|
||||
old "Interactive Director (D)"
|
||||
new "インタラクティブディレクター(D)"
|
||||
|
||||
|
||||
translate japanese strings:
|
||||
|
||||
# 00keymap.rpy:254
|
||||
old "Failed to save screenshot as %s."
|
||||
new "ファイル名 %s のスクリーンショットの保存に失敗しました。"
|
||||
@@ -433,6 +439,9 @@ translate japanese strings:
|
||||
old "{size_mb:,.1f} MB in {count} textures."
|
||||
new "{size_mb:,.1f} MB in {count} textures."
|
||||
|
||||
|
||||
translate japanese strings:
|
||||
|
||||
# 00action_file.rpy:344
|
||||
old "Save slot %s: [text]"
|
||||
new "スロット%s: [text]にセーブ"
|
||||
@@ -769,43 +778,14 @@ translate japanese strings:
|
||||
old "Show deleted"
|
||||
new "消去済みを表示する"
|
||||
|
||||
|
||||
translate japanese strings:
|
||||
|
||||
# renpy/common/00accessibility.rpy:193
|
||||
old "Self-Voicing Volume Drop"
|
||||
new "セルフボイシングボリューム低減"
|
||||
new "自己発話音量"
|
||||
|
||||
# renpy/common/00preferences.rpy:384
|
||||
old "self voicing volume drop"
|
||||
new "セルフボイシングボリュームを下げる"
|
||||
|
||||
# renpy/common/00accessibility.rpy:180
|
||||
old "High Contrast Text"
|
||||
new "ハイコントラストテキスト"
|
||||
|
||||
# renpy/common/00preferences.rpy:478
|
||||
old "system cursor"
|
||||
new "システムカーソル"
|
||||
|
||||
# renpy/common/00preferences.rpy:487
|
||||
old "renderer menu"
|
||||
new "レンダーメニュー"
|
||||
|
||||
# renpy/common/00preferences.rpy:490
|
||||
old "accessibility menu"
|
||||
new "アクセス性メニュー"
|
||||
|
||||
# renpy/common/00preferences.rpy:493
|
||||
old "high contrast text"
|
||||
new "ハイコントラストテキスト"
|
||||
|
||||
# renpy/common/00preferences.rpy:507
|
||||
old "audio when minimized"
|
||||
new "最小化時音声"
|
||||
|
||||
# renpy/common/00preferences.rpy:527
|
||||
old "main volume"
|
||||
new "メインの音量"
|
||||
|
||||
# renpy/common/00preferences.rpy:531
|
||||
old "mute main"
|
||||
new "メインをミュート"
|
||||
|
||||
|
||||
@@ -185,6 +185,9 @@ translate japanese strings:
|
||||
old "long: Print the full representation of objects on the console."
|
||||
new "long: コンソール上のオブジェクトを全て表現する"
|
||||
|
||||
|
||||
translate japanese strings:
|
||||
|
||||
# renpy/common/00console.rpy:814
|
||||
old "watch <expression>: watch a python expression\n watch short: makes the representation of traced expressions short (default)\n watch long: makes the representation of traced expressions as is"
|
||||
new "watch <expression>: python式をウォッチ\n watch short: makes the representation of traced expressions short (default)\n watch long: makes the representation of traced expressions as is"
|
||||
@@ -197,7 +200,3 @@ translate japanese strings:
|
||||
old "unescape: Disables escaping of unicode symbols in unicode strings and print it as is (default)."
|
||||
new "unescape: ユニコード文字列中でのユニコードシンボルのエスケープを無効化し (default) として表示"
|
||||
|
||||
# renpy/common/00console.rpy:784
|
||||
old "stack: print the return stack"
|
||||
new "stack: リターンスタックの出力"
|
||||
|
||||
|
||||
@@ -298,14 +298,3 @@ translate japanese strings:
|
||||
old "Change render options"
|
||||
new "レンダリング設定を変更"
|
||||
|
||||
# renpy/common/00gltest.rpy:136
|
||||
old "Enable (No Blocklist)"
|
||||
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} ファイルにある情報は何があなたのコンピュータで問題になっているか探る手助けになるでしょう"
|
||||
|
||||
# renpy/common/00gamepad.rpy:58
|
||||
old "Press or move the '[control!s]' [kind]."
|
||||
new "'[control!s]' [kind] を押すか動かしてください"
|
||||
|
||||
@@ -438,10 +438,16 @@ radio と check は環境設定の各項目のボタン(デフォルトでは
|
||||
old "## The position of the main menu text."
|
||||
new "## メインメニューのテキストの文字揃え。"
|
||||
|
||||
|
||||
translate japanese strings:
|
||||
|
||||
# gui.rpy:434
|
||||
old "## Change the size and spacing of various things."
|
||||
new "## 様々なサイズとスペーシングを変更。"
|
||||
|
||||
|
||||
translate japanese strings:
|
||||
|
||||
# gui.rpy:5
|
||||
old "## The init offset statement causes the initialization statements in this file to run before init statements in any other file."
|
||||
new "## このファイルは GUI をカスタマイズする基本的なオプションを記載しています。次の init offset ステートメントにより、このファイルの init 文は他のファイルの init 文よりも先に実行されます。"
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
translate japanese strings:
|
||||
# game/new_project.rpy:77
|
||||
old "{#language name and font}"
|
||||
new "{font=SourceHanSansLite.ttf}日本語{/font}"
|
||||
|
||||
translate japanese strings:
|
||||
|
||||
# about.rpy:39
|
||||
old "[version!q]"
|
||||
@@ -564,8 +562,8 @@
|
||||
new "[project_dir!q] は既に存在します。違う名前を選択してください。"
|
||||
|
||||
# gui7.rpy:341
|
||||
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 "どの解像度をこのプロジェクトに使用しますか? Ren'py はウィンドウを拡大縮小することができますが、この設定は最初のウィンドウサイズ、描画される各アセットのサイズ、アセットが最もシャープに見えるサイズを決定します。\n\nデフォルトの [default_size[0]]x[default_size[1]] が理にかなった推奨サイズです。"
|
||||
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 1280x720 is a reasonable compromise."
|
||||
new "どの解像度をこのプロジェクトに使用しますか? Ren'py はウィンドウを拡大縮小することができますが、この設定は最初のウィンドウサイズ、描画される各アセットのサイズ、アセットが最もシャープに見えるサイズを決定します。\n\nデフォルトの 1280x720 が理にかなった推奨サイズです。"
|
||||
|
||||
# gui7.rpy:389
|
||||
old "Creating the new project..."
|
||||
@@ -669,7 +667,7 @@
|
||||
|
||||
# ios.rpy:37
|
||||
old "Creates an Xcode project corresponding to the current Ren'Py project."
|
||||
new "現在の Ren'Py プロジェクトに対応する Xcode プロジェクトを作成します。"
|
||||
new "現在の Ren'PY プロジェクトに対応する Xcode プロジェクトを作成します。"
|
||||
|
||||
# ios.rpy:38
|
||||
old "Updates the Xcode project with the latest game files. This must be done each time the Ren'Py project changes."
|
||||
@@ -1029,7 +1027,7 @@
|
||||
|
||||
# translations.rpy:200
|
||||
old "The extract command allows you to extract string translations from an existing project into a temporary file.\n\nThe merge command merges extracted translations into another project."
|
||||
new "抽出コマンドは、このプロジェクトから文字列の翻訳(台詞以外の翻訳)を一時ファイルとして抽出します。\n\n統合コマンドは、抽出した翻訳を別のプロジェクトに統合します。"
|
||||
new "抽出コマンドは、このプロジェクトから文字列の翻訳(台詞以外の翻訳)を一時ファイルとして抽出します。\n\n統合コマンドは、抽出した翻訳をこのプロジェクトに統合します。"
|
||||
|
||||
# translations.rpy:224
|
||||
old "Ren'Py is generating translations...."
|
||||
@@ -1093,7 +1091,7 @@
|
||||
|
||||
# translations.rpy:378
|
||||
old "Ren'Py has finished extracting dialogue. The extracted dialogue can be found in dialogue.[persistent.dialogue_format] in the base directory."
|
||||
new "Ren'Py は台詞の抽出を終了しました。抽出した台詞は、ディレクトリーの base.[persistent.dialogue_format] にあります。"
|
||||
new "Ren'Py は台詞の抽出を終了しました。抽出した台詞は、base ディレクトリーの、[persistent.dialogue_format] にあります。"
|
||||
|
||||
# updater.rpy:75
|
||||
old "Select Update Channel"
|
||||
@@ -1199,6 +1197,9 @@
|
||||
old "PROJECTS:"
|
||||
new "プロジェクト:"
|
||||
|
||||
|
||||
translate japanese strings:
|
||||
|
||||
# android.rpy:304
|
||||
old "Android: [project.current.display_name!q]"
|
||||
new "Android: [project.current.display_name!q]"
|
||||
@@ -1243,6 +1244,9 @@
|
||||
old "Extract Dialogue: [project.current.display_name!q]"
|
||||
new "台詞の抽出: [project.current.display_name!q]"
|
||||
|
||||
|
||||
translate japanese strings:
|
||||
|
||||
# dmgcheck.rpy:50
|
||||
old "Ren'Py is running from a read only folder. Some functionality will not work."
|
||||
new "Ren'Py が読み取り専用フォルダーで起動しています。使えない機能があります。"
|
||||
@@ -1279,6 +1283,9 @@
|
||||
old "The height must be a number."
|
||||
new "画面の高さは数字でなければなりません。"
|
||||
|
||||
|
||||
translate japanese strings:
|
||||
|
||||
# editor.rpy:152
|
||||
old "(Recommended) A modern and approachable text editor."
|
||||
new "(推奨)モダンで親しみやすいテキストエディターです。"
|
||||
@@ -1315,6 +1322,9 @@
|
||||
old "Actions"
|
||||
new "アクション"
|
||||
|
||||
|
||||
translate japanese strings:
|
||||
|
||||
# game/add_file.rpy:37
|
||||
old "The file name may not be empty."
|
||||
new "ファイル名が与えられていません。"
|
||||
@@ -1691,6 +1701,9 @@
|
||||
old "Before packaging web apps, you'll need to download RenPyWeb, Ren'Py's web support. Would you like to download RenPyWeb now?"
|
||||
new "ウェブアプリをパッケージングするために、RenPyWeb (Ren'Py's web support) をダウンロードする必要があります。 RenPyWeb をダウンロードしますか?"
|
||||
|
||||
|
||||
translate japanese strings:
|
||||
|
||||
# game/androidstrings.rpy:47
|
||||
old "Do you want to automatically update the Java source code?"
|
||||
new "Javaのソースコードを自動的に更新したいですか?"
|
||||
@@ -1739,359 +1752,3 @@
|
||||
old "Images and musics can be downloaded while playing. A 'progressive_download.txt' file will be created so you can configure this behavior."
|
||||
new "画像と音声がプレイ中にダウンロード可能です。 'progressive_download.txt' ファイルが作成されるのでこれを編集して振舞を設定できます。"
|
||||
|
||||
# game/android.rpy:35
|
||||
old "A 64-bit/x64 Java 8 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://adoptopenjdk.net/?variant=openjdk8&jvmVariant=hotspot}download and install the JDK{/a}, then restart the Ren'Py launcher."
|
||||
new "WindowsでAndroidパッケージをビルドするには64-bit/x64 Java 8 Development Kitが必要です。JDKはJREとは異り、JDKなしでJavaを利用できます。\n\n{a=https://adoptopenjdk.net/?variant=openjdk8&jvmVariant=hotspot}JDKのダウンロードとインストール{/a}を行い、Ren'Pyランチャーを再起動してください。"
|
||||
|
||||
# game/android.rpy:403
|
||||
old "Universal APK"
|
||||
new "Universal APK"
|
||||
|
||||
# game/android.rpy:453
|
||||
old "List Devices"
|
||||
new "デバイスリスト"
|
||||
|
||||
# game/android.rpy:457
|
||||
old "Wi-Fi Debugging Pair"
|
||||
new "Wi-Fiデバッグペア"
|
||||
|
||||
# game/android.rpy:461
|
||||
old "Wi-Fi Debugging Connect"
|
||||
new "Wi-Fiデバッグ接続"
|
||||
|
||||
# game/android.rpy:465
|
||||
old "Wi-Fi Debugging Disconnect"
|
||||
new "Wi-Fiデバッグ切断"
|
||||
|
||||
# game/android.rpy:564
|
||||
old "Wi-Fi Pairing Code"
|
||||
new "Wi-Fiペアリングコード"
|
||||
|
||||
# game/android.rpy:564
|
||||
old "If supported, this can be found in 'Developer options', 'Wireless debugging', 'Pair device with pairing code'."
|
||||
new "サポートされていれば、Androidの'Developer options', 'Wireless debugging', 'Pair device with pairing code'にあるでしょう。"
|
||||
|
||||
# game/android.rpy:571
|
||||
old "Pairing Host & Port"
|
||||
new "ペアリングホスト&ポート"
|
||||
|
||||
# game/android.rpy:587
|
||||
old "IP Address & Port"
|
||||
new "IP アドレス&ポート"
|
||||
|
||||
# game/android.rpy:587
|
||||
old "If supported, this can be found in 'Developer options', 'Wireless debugging'."
|
||||
new "サポートされていれば、Androidの'Developer options', 'Wireless debugging'にあるでしょう。"
|
||||
|
||||
# game/android.rpy:603
|
||||
old "This can be found in 'List Devices'."
|
||||
new "これは'デバイスリスト'で見つけられます。"
|
||||
|
||||
# game/androidstrings.rpy:16
|
||||
old "I'm installing the bundle."
|
||||
new "バンドルをインストールしています。"
|
||||
|
||||
# game/androidstrings.rpy:17
|
||||
old "Installing the bundle appears to have failed."
|
||||
new "バンドルのインストールに失敗しました。"
|
||||
|
||||
# game/androidstrings.rpy:19
|
||||
old "Launching the app appears to have failed."
|
||||
new "Appの起動に失敗しました。"
|
||||
|
||||
# game/androidstrings.rpy:32
|
||||
old "How much RAM do you want to allocate to Gradle?\n\nThis must be a positive integer number."
|
||||
new "どれほどのRAMをGradleに使用許可しますか?\n\nこれは正の整数でなければいけません。"
|
||||
|
||||
# game/androidstrings.rpy:33
|
||||
old "The RAM size must contain only numbers."
|
||||
new "RAMサイズには数値のみを含めてください。"
|
||||
|
||||
# game/androidstrings.rpy:43
|
||||
old "I was unable to use javac to compile a test file. If you haven't installed the Java Development Kit yet, please download it from:\n\nhttps://adoptopenjdk.net/?variant=openjdk8&jvmVariant=hotspot\n\nThe JDK is different from the JRE, so it's possible you have Java without having the JDK. Without a working JDK, I can't continue."
|
||||
new "テストファイルのコンパイルにjavacを使用できませんでした。まだJava Development Kitをインストールしていないならば、\n\nhttps://adoptopenjdk.net/?variant=openjdk8&jvmVariant=hotspotからダウンロードしてください。\n\nJDKはJREとは異ります。JDKなしでJavaを利用できます。動作するJDKなしでは続行できません。"
|
||||
|
||||
# game/androidstrings.rpy:44
|
||||
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 "あなとのコンピュータのJavaのバーションはAndroid SDKで唯一サポートされるJDK 8ではないようです。JDK 8をインストールする必要があれば、こちらからダウンロードできます。\n\n{a=https://adoptium.net/?variant=openjdk8}https://adoptium.net/?variant=openjdk8{/a}\n\nJAVA_HOME環境変数を設定して異るバージョンのJavaも利用できます。"
|
||||
|
||||
# game/androidstrings.rpy:57
|
||||
old "I can create an application signing key for you. This key is required to create Universal APK for sideloading and stores other than Google Play.\n\nDo you want to create a key?"
|
||||
new "アプリケーション署名キーを作成できます。このキーはサイドローディングとGoogle Play以外のストアのためのUniversal APKの作成に必要とされます。\n\nキーを作成しますか?"
|
||||
|
||||
# game/androidstrings.rpy:61
|
||||
old "I can create a bundle signing key for you. This key is required to build an Android App Bundle (AAB) for upload to Google Play.\n\nDo you want to create a key?"
|
||||
new "bundle署名キーを作成できます。このキーはGoogle PlayにアップするAndroid App Bundle(AAB)のビルドに必要とされます。\n\nキーを作成しますか。"
|
||||
|
||||
# game/androidstrings.rpy:62
|
||||
old "I will create the key in the bundle.keystore file.\n\nYou need to back this file up. If you lose it, you will not be able to upgrade your application.\n\nYou also need to keep the key safe. If evil people get this file, they could make fake versions of your application, and potentially steal your users' data.\n\nWill you make a backup of bundle.keystore, and keep it in a safe place?"
|
||||
new "bundle.keystoreのキーを作成します。\n\nこのファイルはバックアップしてください。紛失すると、アプリケーションを更新できなくなります。\n\nキーは安全に管理してください。悪意ある物がキーを入手すると、あなたのアプリケーションの偽バージョンを作成して、ユーザーのデータを盗難する可能性があります。\n\nbundle.keystoreのバックアップを作成し、安全な場所に保存していますか?"
|
||||
|
||||
# game/androidstrings.rpy:63
|
||||
old "Could not create bundle.keystore. Is keytool in your path?"
|
||||
new "bundle.keystoreを作成できません。keytoolはパスにありますか?"
|
||||
|
||||
# game/gui7.rpy:311
|
||||
old "{size=-4}\n\nThis will not overwrite gui/main_menu.png, gui/game_menu.png, and gui/window_icon.png, but will create files that do not exist.{/size}"
|
||||
new "{size=-4}\n\nこれは gui/main_menu.png, gui/game_menu.png, and gui/window_icon.pngを上書きしませんが、ないファイルは作成します。{/size}"
|
||||
|
||||
# game/install.rpy:134
|
||||
old "Install Live2D Cubism SDK for Native"
|
||||
new "Live2D Cubism SDK for Native のインストール"
|
||||
|
||||
# game/install.rpy:147
|
||||
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."
|
||||
new "Ren'PyのLive2Dではweb, Androidのx86_64(エミュレーターおよびChrome OS含む)は未サポートであり、iOSプロジェクトでは手動で追加する必要があります。Live2DはRen'Pyの更新やAndroidサポートのインストール後に再インストールする必要があります。"
|
||||
|
||||
# game/install.rpy:154
|
||||
old "Install Steam Support"
|
||||
new "Steamサポートのインストール"
|
||||
|
||||
# game/install.rpy:163
|
||||
old "Before installing Steam support, please make sure you are a {a=https://partner.steamgames.com/}Steam partner{/a}."
|
||||
new "Steamサポートのインストール前に、あなたが{a=https://partner.steamgames.com/}Steamパートナー{/a}であることを確認してください。"
|
||||
|
||||
# game/install.rpy:175
|
||||
old "Steam support has already been installed."
|
||||
new "Steamサポートはインストール済みです。"
|
||||
|
||||
# game/ios.rpy:339
|
||||
old "There are known issues with the iOS simulator on Apple Silicon. Please test on x86_64 or iOS devices."
|
||||
new "Apple SiliconのiOSシミュレータには既知の問題があります。 x86_64またはiOSデバイスでテストしてください。"
|
||||
|
||||
# game/preferences.rpy:206
|
||||
old "Daily check for update"
|
||||
new "毎日更新をチェックする"
|
||||
|
||||
# game/preferences.rpy:210
|
||||
old "Default theme"
|
||||
new "デフォルトテーマ"
|
||||
|
||||
# game/preferences.rpy:212
|
||||
old "Dark theme"
|
||||
new "ダークテーマ"
|
||||
|
||||
# game/preferences.rpy:213
|
||||
old "Custom theme"
|
||||
new "カスタムテーマ"
|
||||
|
||||
# game/updater.rpy:109
|
||||
old "• {a=https://www.renpy.org/doc/html/changelog.html}View change log{/a}"
|
||||
new "• {a=https://ja.renpy.org/doc/html/changelog.html}更新履歴を閲覧する{/a}"
|
||||
|
||||
# game/updater.rpy:111
|
||||
old "• {a=https://www.renpy.org/dev-doc/html/changelog.html}View change log{/a}"
|
||||
new "• {a=https://ja.renpy.org/dev-doc/html/changelog.html}更新履歴を閲覧する{/a}"
|
||||
|
||||
# game/web.rpy:330
|
||||
old "Images and music can be downloaded while playing. A 'progressive_download.txt' file will be created so you can configure this behavior."
|
||||
new "画像と音楽はプレイ中にダウンロードできます。'progressive_download.txt' ファイルが作成されるので、これを編集して振舞を設定できます。"
|
||||
|
||||
# game/web.rpy:334
|
||||
old "Current limitations in the web platform mean that loading large images may cause audio or framerate glitches, and lower performance in general. Movies aren't supported."
|
||||
new "Webプラットフォームでの現在の制限により大きな画像のロードはオーディオやフレームレートのグリッチと一般的なパフォーマンス低下をもたらします。ムービーは未サポートです。"
|
||||
|
||||
# game/web.rpy:338
|
||||
old "There are known issues with Safari and other Webkit-based browsers that may prevent games from running."
|
||||
new "Safariとその他Webkitベースのブラウザにはゲームの実行を妨げる既知の問題があります。"
|
||||
|
||||
# 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:40
|
||||
old "Please select if you want a Play Bundle (for Google Play), or a Universal APK (for sideloading and other app stores)."
|
||||
new "(Google Play用の)Play Bundleと(サイドローディングと他のAPPストア用の)Universal APKを選択してください。"
|
||||
|
||||
# game/android.rpy:55
|
||||
old "Lists the connected devices."
|
||||
new "接続されたデバイスをリストします。"
|
||||
|
||||
# game/android.rpy:56
|
||||
old "Pairs with a device over Wi-Fi, on Android 11+."
|
||||
new "Wi-Fi越しにAndroid 11+のデバイスとペアリングします。"
|
||||
|
||||
# game/android.rpy:57
|
||||
old "Connects to a device over Wi-Fi, on Android 11+."
|
||||
new "Wi-Fi越しにAndroid 11+のデバイスと接続します。"
|
||||
|
||||
# game/android.rpy:58
|
||||
old "Disconnects a device connected over Wi-Fi."
|
||||
new "Wi-Fiで接続しているデバイスを切断します。"
|
||||
|
||||
# game/android.rpy:60
|
||||
old "Builds an Android App Bundle (ABB), intended to be uploaded to Google Play. This can include up to 2GB of data."
|
||||
new "Google Playへのアップロード用にAndroid App Bundle(ABB)パッケージをビルドします。これには2GBまでのデータを含めます。"
|
||||
|
||||
# game/android.rpy:61
|
||||
old "Builds a Universal APK package, intended for sideloading and stores other than Google Play. This can include up to 2GB of data."
|
||||
new "サイドローディングとGoogle Play以外のストア用にUniversal APKパッケージをビルドします。これには2GBまでのデータを含めます。"
|
||||
|
||||
# game/android.rpy:398
|
||||
old "Play Bundle"
|
||||
new "Play Bundle"
|
||||
|
||||
# game/gui7.rpy:340
|
||||
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 1280x720 is a reasonable compromise."
|
||||
new "プロジェクトはどの解像度を使用しますか? Ren'Py ではウィンドウの拡大縮小ができますが、これはウィンドウの初期サイズであり、もっともアセットがシャープに描画されるサイズです。\n\nデフォルトの1280x720が合理的な妥当な案です。"
|
||||
|
||||
# game/android.rpy:60
|
||||
old "Removes Android temporary files."
|
||||
new "Android 一次ファイル削除"
|
||||
|
||||
# game/android.rpy:472
|
||||
old "Clean"
|
||||
new "クリーン"
|
||||
|
||||
# game/android.rpy:628
|
||||
old "Cleaning up Android project."
|
||||
new "Androidプロジェクトのクリーンアップ"
|
||||
|
||||
# game/androidstrings.rpy:43
|
||||
old "I was unable to use javac to compile a test file. If you haven't installed the Java Development Kit yet, please download it from:\n\n{a=https://adoptium.net/?variant=openjdk8}https://adoptium.net/?variant=openjdk8{/a}\n\nThe JDK is different from the JRE, so it's possible you have Java without having the JDK. Please make sure you installed the 'JavaSoft (Oracle) registry keys'.\n\nWithout a working JDK, I can't continue."
|
||||
new "javac を使用してテストファイルをコンパイルできませんでした。Java Development Kitをまだインストールしていないならば:\n\n{a=https://adoptium.net/?variant=openjdk8}https://adoptium.net/?variant=openjdk8{/a}からダウンロードしてください。\n\nJDK は JRE とは異り、JDKなしでJavaを利用できます。 'JavaSoft (Oracle) registry keys'.\n\nをインストールしたか確認してくあさい。JDK, I can't continue."
|
||||
|
||||
# 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 を含むディレクトリーを開きました。それらをバックアップして、安全な場所に保管してください。"
|
||||
|
||||
# game/choose_directory.rpy:67
|
||||
old "Select Projects Directory"
|
||||
new "プロジェクトディレクトリーを選択してください"
|
||||
|
||||
# game/distribute.rpy:1690
|
||||
old "Copying files..."
|
||||
new "ファイルをコピーしています..."
|
||||
|
||||
# game/distribute_gui.rpy:195
|
||||
old "Update old-game"
|
||||
new "古いゲームの更新"
|
||||
|
||||
# game/editor.rpy:152
|
||||
old "A modern editor with many extensions including advanced Ren'Py integration."
|
||||
new "高度な Ren'Py 統合を含んだ拡張を伴うモダンなエディターです。"
|
||||
|
||||
# game/editor.rpy:153
|
||||
old "A modern editor with many extensions including advanced Ren'Py integration.\n{a=jump:reinstall_vscode}Upgrade Visual Studio Code to the latest version.{/a}"
|
||||
new "高度な Ren'Py 統合を含んだ拡張を伴うモダンなエディターです。\n{a=jump:reinstall_vscode}Visual Studio Codeを最新にアップグレードする。{/a}"
|
||||
|
||||
# game/editor.rpy:169
|
||||
old "Visual Studio Code"
|
||||
new "Visual Studio Code"
|
||||
|
||||
# game/editor.rpy:169
|
||||
old "Up to 110 MB download required."
|
||||
new "110 MBまでのダウンロードが必要です。"
|
||||
|
||||
# game/editor.rpy:182
|
||||
old "A modern and approachable text editor."
|
||||
new "モダンで親しみやすいテキストエディターです"
|
||||
|
||||
# game/editor.rpy:196
|
||||
old "Atom"
|
||||
new "Atom"
|
||||
|
||||
# game/editor.rpy:211
|
||||
old "jEdit"
|
||||
new "jEdit"
|
||||
|
||||
# game/editor.rpy:220
|
||||
old "Visual Studio Code (System)"
|
||||
new "Visual Studio Code (System)"
|
||||
|
||||
# game/editor.rpy:220
|
||||
old "Uses a copy of Visual Studio Code that you have installed outside of Ren'Py. It's recommended you install the language-renpy extension to add support for Ren'Py files."
|
||||
new "あなたがRen'Py外にインストールしたVisual Studio Codeのコピーを使用します。language-renpy拡張をインストールしてRen'Pyファイルのサポート追加を推奨します。"
|
||||
|
||||
# game/installer.rpy:10
|
||||
old "Downloading [extension.download_file]."
|
||||
new "[extension.download_file]をダウンロード中です"
|
||||
|
||||
# game/installer.rpy:11
|
||||
old "Could not download [extension.download_file] from [extension.download_url]:\n{b}[extension.download_error]"
|
||||
new "[extension.download_url]から[extension.download_file]をダウンロードできません。:\n{b}[extension.download_error]"
|
||||
|
||||
# game/installer.rpy:12
|
||||
old "The downloaded file [extension.download_file] from [extension.download_url] is not correct."
|
||||
new "[extension.download_url]からダウンロードされた[extension.download_file]が正しくありません。"
|
||||
|
||||
# game/interface.rpy:124
|
||||
old "[interface.version]"
|
||||
new "[interface.version]"
|
||||
|
||||
# game/preferences.rpy:106
|
||||
old "General"
|
||||
new "一般"
|
||||
|
||||
# game/preferences.rpy:107
|
||||
old "Options"
|
||||
new "設定"
|
||||
|
||||
# game/preferences.rpy:246
|
||||
old "Launcher Theme:"
|
||||
new "ランチャーテーマ:"
|
||||
|
||||
# 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}."
|
||||
new "カスタムテーマ作成情報は {a=https://www.renpy.org/doc/html/skins.html}Ren'Pyのドキュメント{/a}で読めます。"
|
||||
|
||||
# game/preferences.rpy:273
|
||||
old "Install Libraries:"
|
||||
new "ライブラリインストール:"
|
||||
|
||||
# game/preferences.rpy:301
|
||||
old "Clean temporary files"
|
||||
new "一時ファイル削除"
|
||||
|
||||
# game/preferences.rpy:308
|
||||
old "Cleaning temporary files..."
|
||||
new "一時ファイルを削除しています..."
|
||||
|
||||
# game/preferences.rpy:338
|
||||
old "{#in language font}Welcome! Please choose a language"
|
||||
new "{font=SourceHanSansLite.ttf}言語を選択してください{/font}"
|
||||
|
||||
# game/preferences.rpy:373
|
||||
old "{#in language font}Start using Ren'Py in [lang_name]"
|
||||
new "{font=SourceHanSansLite.ttf}[lang_name]でRen'Pyの使用を開始します{/font}"
|
||||
|
||||
# game/project.rpy:280
|
||||
old "This may be because the project is not writeable."
|
||||
new "これはおそらくプロジェクトが書き込みではないためです"
|
||||
|
||||
# game/translations.rpy:391
|
||||
old "Language (or None for the default language):"
|
||||
new "Language (デフォルト言語はNoneです)"
|
||||
|
||||
# game/updater.rpy:64
|
||||
old "Release (Ren'Py 8, Python 3)"
|
||||
new "Release (Ren'Py 8, Python 3)"
|
||||
|
||||
# game/updater.rpy:65
|
||||
old "Release (Ren'Py 7, Python 2)"
|
||||
new "Release (Ren'Py 7, Python 2)"
|
||||
|
||||
# game/updater.rpy:69
|
||||
old "Prerelease (Ren'Py 8, Python 3)"
|
||||
new "Prerelease (Ren'Py 8, Python 3)"
|
||||
|
||||
# game/updater.rpy:70
|
||||
old "Prerelease (Ren'Py 7, Python 2)"
|
||||
new "Prerelease (Ren'Py 7, Python 2)"
|
||||
|
||||
# game/updater.rpy:77
|
||||
old "Nightly (Ren'Py 8, Python 3)"
|
||||
new "Nightly (Ren'Py 8, Python 3)"
|
||||
|
||||
# game/updater.rpy:78
|
||||
old "Nightly (Ren'Py 7, Python 2)"
|
||||
new "Nightly (Ren'Py 7, Python 2)"
|
||||
|
||||
# game/web.rpy:344
|
||||
old "This feature is not supported in Ren'Py 8."
|
||||
new "この機能はRen'Py 8ではサポートされていません。"
|
||||
|
||||
# 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 "Ren'Py 8 の将来のリリースでサポートを復活させます。それまではRen'Py 7 をウェブプラットフォームに使用ください。"
|
||||
|
||||
|
||||
@@ -193,18 +193,25 @@ translate japanese strings:
|
||||
old "## The username and project name associated with an itch.io project, separated by a slash."
|
||||
new "## itch.io project に関連付けられたユーザー名とプロジェクト名。二つの名前はスラッシュで分けてください。"
|
||||
|
||||
|
||||
|
||||
translate japanese strings:
|
||||
|
||||
# options.rpy:196
|
||||
old "## Set this to a string containing your Apple Developer ID Application to enable codesigning on the Mac. Be sure to change it to your own Apple-issued ID."
|
||||
new "## Mac のコード署名を有効にするために Apple Developer ID アプリケーション を含む文字列を設定します。必ず Apple が発行したあなたの ID に変更してください。"
|
||||
|
||||
|
||||
translate japanese strings:
|
||||
|
||||
# options.rpy:81
|
||||
old "## Between screens of the game menu."
|
||||
new "## ゲームメニューのスクリーンを切り替える時のトランジション。"
|
||||
|
||||
|
||||
translate japanese strings:
|
||||
|
||||
# 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."
|
||||
new "## About(バージョン情報)スクリーンに表示されるテキスト。トリプルクオートの間にテキストを入力します。段落の間には空行を挿入して下さい。"
|
||||
|
||||
# gui/game/options.rpy:47
|
||||
old "## These three variables control, among other things, which mixers are shown to the player by default. Setting one of these to False will hide the appropriate mixer."
|
||||
new "## これらの3つの変数は、特に、どのミキサーがデフォルトでプレーヤーに表示されるかを制御します。これらのいずれかをFalseに設定すると、適切なミキサーが非表示になります。"
|
||||
|
||||
@@ -23,7 +23,7 @@ translate japanese strings:
|
||||
|
||||
# screens.rpy:102
|
||||
old "## https://www.renpy.org/doc/html/screen_special.html#say"
|
||||
new "## https://ja.renpy.org/doc/html/screen_special.html#say"
|
||||
new "## https://www.renpy.org/doc/html/screen_special.html#say"
|
||||
|
||||
# screens.rpy:119
|
||||
old "## If there's a side image, display it above the text. Do not display on the phone variant - there's no room."
|
||||
@@ -43,7 +43,7 @@ translate japanese strings:
|
||||
|
||||
# screens.rpy:177
|
||||
old "## http://www.renpy.org/doc/html/screen_special.html#input"
|
||||
new "## http://ja.renpy.org/doc/html/screen_special.html#input"
|
||||
new "## http://www.renpy.org/doc/html/screen_special.html#input"
|
||||
|
||||
# screens.rpy:205
|
||||
old "## Choice screen"
|
||||
@@ -55,7 +55,7 @@ translate japanese strings:
|
||||
|
||||
# screens.rpy:211
|
||||
old "## http://www.renpy.org/doc/html/screen_special.html#choice"
|
||||
new "## http://ja.renpy.org/doc/html/screen_special.html#choice"
|
||||
new "## http://www.renpy.org/doc/html/screen_special.html#choice"
|
||||
|
||||
# screens.rpy:221
|
||||
old "## When this is true, menu captions will be spoken by the narrator. When false, menu captions will be displayed as empty buttons."
|
||||
@@ -170,7 +170,7 @@ translate japanese strings:
|
||||
|
||||
# screens.rpy:354
|
||||
old "## http://www.renpy.org/doc/html/screen_special.html#main-menu"
|
||||
new "## http://ja.renpy.org/doc/html/screen_special.html#main-menu"
|
||||
new "## http://www.renpy.org/doc/html/screen_special.html#main-menu"
|
||||
|
||||
# screens.rpy:357
|
||||
old "## This ensures that any other menu screen is replaced."
|
||||
@@ -230,7 +230,7 @@ translate japanese strings:
|
||||
|
||||
# screens.rpy:567
|
||||
old "Made with {a=https://www.renpy.org/}Ren'Py{/a} [renpy.version_only].\n\n[renpy.license!t]"
|
||||
new "Made with {a=https://ja.renpy.org/}Ren'Py{/a} [renpy.version_only].\n\n[renpy.license!t]"
|
||||
new "Made with {a=https://www.renpy.org/}Ren'Py{/a} [renpy.version_only].\n\n[renpy.license!t]"
|
||||
|
||||
# screens.rpy:570
|
||||
old "## This is redefined in options.rpy to add text to the about screen."
|
||||
@@ -246,7 +246,7 @@ translate japanese strings:
|
||||
|
||||
# screens.rpy:588
|
||||
old "## https://www.renpy.org/doc/html/screen_special.html#save https://www.renpy.org/doc/html/screen_special.html#load"
|
||||
new "## https://ja.renpy.org/doc/html/screen_special.html#save https://ja.renpy.org/doc/html/screen_special.html#load"
|
||||
new "## https://www.renpy.org/doc/html/screen_special.html#save https://www.renpy.org/doc/html/screen_special.html#load"
|
||||
|
||||
# screens.rpy:607
|
||||
old "Page {}"
|
||||
@@ -314,7 +314,7 @@ translate japanese strings:
|
||||
|
||||
# screens.rpy:716
|
||||
old "## https://www.renpy.org/doc/html/screen_special.html#preferences"
|
||||
new "## https://ja.renpy.org/doc/html/screen_special.html#preferences"
|
||||
new "## https://www.renpy.org/doc/html/screen_special.html#preferences"
|
||||
|
||||
# screens.rpy:738
|
||||
old "Display"
|
||||
@@ -346,15 +346,15 @@ translate japanese strings:
|
||||
|
||||
# screens.rpy:752
|
||||
old "Unseen Text"
|
||||
new "未読テキストもスキップ"
|
||||
new "未読テキスト"
|
||||
|
||||
# screens.rpy:753
|
||||
old "After Choices"
|
||||
new "選択肢後もスキップ継続"
|
||||
new "選択肢の後"
|
||||
|
||||
# screens.rpy:754
|
||||
old "Transitions"
|
||||
new "トランジションをスキップ"
|
||||
new "トランジション"
|
||||
|
||||
# screens.rpy:756
|
||||
old "## Additional vboxes of type \"radio_pref\" or \"check_pref\" can be added here, to add additional creator-defined preferences."
|
||||
@@ -398,7 +398,7 @@ translate japanese strings:
|
||||
|
||||
# screens.rpy:888
|
||||
old "## https://www.renpy.org/doc/html/history.html"
|
||||
new "## https://ja.renpy.org/doc/html/history.html"
|
||||
new "## https://www.renpy.org/doc/html/history.html"
|
||||
|
||||
# screens.rpy:894
|
||||
old "## Avoid predicting this screen, as it can be very large."
|
||||
@@ -510,7 +510,7 @@ translate japanese strings:
|
||||
|
||||
# screens.rpy:1044
|
||||
old "Toggles assistive {a=https://www.renpy.org/l/voicing}self-voicing{/a}."
|
||||
new "{a=https://ja.renpy.org/l/voicing}セルフボイシング{/a}を有効化する。"
|
||||
new "{a=https://www.renpy.org/l/voicing}セルフボイシング{/a}を有効化する。"
|
||||
|
||||
# screens.rpy:1050
|
||||
old "Left Click"
|
||||
@@ -573,7 +573,7 @@ translate japanese strings:
|
||||
|
||||
# screens.rpy:1133
|
||||
old "## http://www.renpy.org/doc/html/screen_special.html#confirm"
|
||||
new "## http://ja.renpy.org/doc/html/screen_special.html#confirm"
|
||||
new "## http://www.renpy.org/doc/html/screen_special.html#confirm"
|
||||
|
||||
# screens.rpy:1137
|
||||
old "## Ensure other screens do not get input while this screen is displayed."
|
||||
@@ -601,7 +601,7 @@ translate japanese strings:
|
||||
|
||||
# screens.rpy:1196
|
||||
old "## https://www.renpy.org/doc/html/screen_special.html#skip-indicator"
|
||||
new "## https://ja.renpy.org/doc/html/screen_special.html#skip-indicator"
|
||||
new "## https://www.renpy.org/doc/html/screen_special.html#skip-indicator"
|
||||
|
||||
# screens.rpy:1208
|
||||
old "Skipping"
|
||||
@@ -621,7 +621,7 @@ translate japanese strings:
|
||||
|
||||
# screens.rpy:1252
|
||||
old "## https://www.renpy.org/doc/html/screen_special.html#notify-screen"
|
||||
new "## https://ja.renpy.org/doc/html/screen_special.html#notify-screen"
|
||||
new "## https://www.renpy.org/doc/html/screen_special.html#notify-screen"
|
||||
|
||||
# screens.rpy:1286
|
||||
old "## NVL screen"
|
||||
@@ -633,7 +633,7 @@ translate japanese strings:
|
||||
|
||||
# screens.rpy:1290
|
||||
old "## http://www.renpy.org/doc/html/screen_special.html#nvl"
|
||||
new "## http://ja.renpy.org/doc/html/screen_special.html#nvl"
|
||||
new "## http://www.renpy.org/doc/html/screen_special.html#nvl"
|
||||
|
||||
# screens.rpy:1301
|
||||
old "## Displays dialogue in either a vpgrid or the vbox."
|
||||
@@ -663,21 +663,24 @@ translate japanese strings:
|
||||
old "## We have to use a font that has the BLACK RIGHT-POINTING SMALL TRIANGLE glyph in it."
|
||||
new "## 小さな黒い矢印型のグリフが入ったフォントが必要になります。"
|
||||
|
||||
|
||||
translate japanese strings:
|
||||
|
||||
# screens.rpy:120
|
||||
old "## Make the namebox available for styling through the Character object."
|
||||
new "## namebox を Character オブジェクトから使えるスタイルの接頭辞として追加します。(例:namebox_background)"
|
||||
|
||||
# screens.rpy:172
|
||||
old "## https://www.renpy.org/doc/html/screen_special.html#input"
|
||||
new "## https://ja.renpy.org/doc/html/screen_special.html#input"
|
||||
new "## https://www.renpy.org/doc/html/screen_special.html#input"
|
||||
|
||||
# screens.rpy:205
|
||||
old "## https://www.renpy.org/doc/html/screen_special.html#choice"
|
||||
new "## https://ja.renpy.org/doc/html/screen_special.html#choice"
|
||||
new "## https://www.renpy.org/doc/html/screen_special.html#choice"
|
||||
|
||||
# screens.rpy:350
|
||||
old "## https://www.renpy.org/doc/html/screen_special.html#main-menu"
|
||||
new "## https://ja.renpy.org/doc/html/screen_special.html#main-menu"
|
||||
new "## https://www.renpy.org/doc/html/screen_special.html#main-menu"
|
||||
|
||||
# screens.rpy:916
|
||||
old "## This determines what tags are allowed to be displayed on the history screen."
|
||||
@@ -685,21 +688,13 @@ translate japanese strings:
|
||||
|
||||
# screens.rpy:1132
|
||||
old "## https://www.renpy.org/doc/html/screen_special.html#confirm"
|
||||
new "## https://ja.renpy.org/doc/html/screen_special.html#confirm"
|
||||
new "## https://www.renpy.org/doc/html/screen_special.html#confirm"
|
||||
|
||||
# screens.rpy:1289
|
||||
old "## https://www.renpy.org/doc/html/screen_special.html#nvl"
|
||||
new "## https://ja.renpy.org/doc/html/screen_special.html#nvl"
|
||||
new "## https://www.renpy.org/doc/html/screen_special.html#nvl"
|
||||
|
||||
# gui/game/screens.rpy:333
|
||||
old "## The quit button is banned on iOS and unnecessary on Android and Web."
|
||||
new "## 終了ボタンはiOSでは使用できません。また、AndroidやWebでは必要ありません。"
|
||||
|
||||
# gui/game/screens.rpy:1049
|
||||
old "Opens the accessibility menu."
|
||||
new "アクセス性メニューを開きます。"
|
||||
|
||||
# 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."
|
||||
new "## 指定されれば選択肢を表示します。config.narrator_menuがTrueだと、メニューは正常に表示されないでしょう。"
|
||||
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
translate korean strings:
|
||||
# game/new_project.rpy:77
|
||||
old "{#language name and font}"
|
||||
new "{font=SourceHanSansLite.ttf}한국어{/font}"
|
||||
|
||||
# game/about.rpy:39
|
||||
old "[version!q]"
|
||||
@@ -860,8 +857,8 @@
|
||||
new "[project_dir!q]는 이미 존재합니다. 다른 프로젝트 이름을 선택하세요."
|
||||
|
||||
# game/gui7.rpy:358
|
||||
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 "프로젝트에서 어떤 해상도를 사용하나요? 렌파이가 창을 위아래로 확장 할 수 있지만, 이것은 창의 초기 크기, 에셋이 그려지는 크기, 애셋이 가장 선명하게 될 크기입니다.\n\n[default_size[0]]x[default_size[1]]의 기본값은 적절한 절충안입니다."
|
||||
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 1280x720 is a reasonable compromise."
|
||||
new "프로젝트에서 어떤 해상도를 사용하나요? 렌파이가 창을 위아래로 확장 할 수 있지만, 이것은 창의 초기 크기, 에셋이 그려지는 크기, 애셋이 가장 선명하게 될 크기입니다.\n\n1280x720의 기본값은 적절한 절충안입니다."
|
||||
|
||||
# game/gui7.rpy:358
|
||||
old "Custom. The GUI is optimized for a 16:9 aspect ratio."
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
translate malay strings:
|
||||
# game/new_project.rpy:77
|
||||
old "{#language name and font}"
|
||||
new "Bahasa Melayu"
|
||||
|
||||
# about.rpy:39
|
||||
old "[version!q]"
|
||||
@@ -604,8 +601,8 @@
|
||||
new "[project_dir!q] sudah wujud. Sila pilih nama projek yang lain."
|
||||
|
||||
# gui7.rpy:358
|
||||
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 "Peleraian apakah yang projek ini patut guna? Walaupun Ren'Py boleh menyesuai naikkan dan menyesuai turunkan saiz tetingkap, ini ialah saiz awal tetingkap, saiz di mana aset perlu dilukis, dan saiz di mana aset menjadi paling tajam.\n\nNilai lalai [default_size[0]]x[default_size[1]] ialah kompromi yang munasabah."
|
||||
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 1280x720 is a reasonable compromise."
|
||||
new "Peleraian apakah yang projek ini patut guna? Walaupun Ren'Py boleh menyesuai naikkan dan menyesuai turunkan saiz tetingkap, ini ialah saiz awal tetingkap, saiz di mana aset perlu dilukis, dan saiz di mana aset menjadi paling tajam.\n\nNilai lalai 1280x720 ialah kompromi yang munasabah."
|
||||
|
||||
# gui7.rpy:358
|
||||
old "Custom. The GUI is optimized for a 16:9 aspect ratio."
|
||||
|
||||
@@ -85,10 +85,6 @@ translate piglatin strings:
|
||||
old "Enable"
|
||||
new "Nableeay"
|
||||
|
||||
# renpy/common/00accessibility.rpy:186
|
||||
old "Disable"
|
||||
new "Isableday"
|
||||
|
||||
# renpy/common/00accessibility.rpy:193
|
||||
old "Self-Voicing"
|
||||
new "Elfsay-Oicingvay"
|
||||
@@ -273,58 +269,54 @@ translate piglatin strings:
|
||||
old "%b %d, %H:%M"
|
||||
new "%bay %day, %Hay:%May"
|
||||
|
||||
# renpy/common/00action_file.rpy:364
|
||||
# renpy/common/00action_file.rpy:363
|
||||
old "Save slot %s: [text]"
|
||||
new "Avesay otslay %say: [text]"
|
||||
|
||||
# renpy/common/00action_file.rpy:445
|
||||
# renpy/common/00action_file.rpy:444
|
||||
old "Load slot %s: [text]"
|
||||
new "Oadlay otslay %say: [text]"
|
||||
|
||||
# renpy/common/00action_file.rpy:498
|
||||
# renpy/common/00action_file.rpy:497
|
||||
old "Delete slot [text]"
|
||||
new "Eleteday otslay [text]"
|
||||
|
||||
# renpy/common/00action_file.rpy:577
|
||||
# renpy/common/00action_file.rpy:576
|
||||
old "File page auto"
|
||||
new "Ilefay agepay autoay"
|
||||
|
||||
# renpy/common/00action_file.rpy:579
|
||||
# renpy/common/00action_file.rpy:578
|
||||
old "File page quick"
|
||||
new "Ilefay agepay uickqay"
|
||||
|
||||
# renpy/common/00action_file.rpy:581
|
||||
# renpy/common/00action_file.rpy:580
|
||||
old "File page [text]"
|
||||
new "Ilefay agepay [text]"
|
||||
|
||||
# renpy/common/00action_file.rpy:780
|
||||
# renpy/common/00action_file.rpy:779
|
||||
old "Next file page."
|
||||
new "Extnay ilefay agepay."
|
||||
|
||||
# renpy/common/00action_file.rpy:852
|
||||
# renpy/common/00action_file.rpy:851
|
||||
old "Previous file page."
|
||||
new "Reviouspay ilefay agepay."
|
||||
|
||||
# renpy/common/00action_file.rpy:913
|
||||
# renpy/common/00action_file.rpy:912
|
||||
old "Quick save complete."
|
||||
new "Uickqay avesay ompletecay."
|
||||
|
||||
# renpy/common/00action_file.rpy:931
|
||||
# renpy/common/00action_file.rpy:930
|
||||
old "Quick save."
|
||||
new "Uickqay avesay."
|
||||
|
||||
# renpy/common/00action_file.rpy:950
|
||||
# renpy/common/00action_file.rpy:949
|
||||
old "Quick load."
|
||||
new "Uickqay oadlay."
|
||||
|
||||
# renpy/common/00action_other.rpy:377
|
||||
# renpy/common/00action_other.rpy:375
|
||||
old "Language [text]"
|
||||
new "Anguagelay [text]"
|
||||
|
||||
# renpy/common/00action_other.rpy:664
|
||||
old "Open [text] directory."
|
||||
new "Penoay [text] irectoryday."
|
||||
|
||||
# renpy/common/00director.rpy:708
|
||||
old "The interactive director is not enabled here."
|
||||
new "Hetay interactiveay irectorday isay otnay enableday erehay."
|
||||
@@ -417,259 +409,247 @@ translate piglatin strings:
|
||||
old "Audio Filename:"
|
||||
new "Udioaay Ilenamefay:"
|
||||
|
||||
# renpy/common/00gui.rpy:435
|
||||
# renpy/common/00gui.rpy:384
|
||||
old "Are you sure?"
|
||||
new "Reaay ouyay uresay?"
|
||||
|
||||
# renpy/common/00gui.rpy:436
|
||||
# renpy/common/00gui.rpy:385
|
||||
old "Are you sure you want to delete this save?"
|
||||
new "Reaay ouyay uresay ouyay antway otay eleteday histay avesay?"
|
||||
|
||||
# renpy/common/00gui.rpy:437
|
||||
# renpy/common/00gui.rpy:386
|
||||
old "Are you sure you want to overwrite your save?"
|
||||
new "Reaay ouyay uresay ouyay antway otay overwriteay ouryay avesay?"
|
||||
|
||||
# renpy/common/00gui.rpy:438
|
||||
# renpy/common/00gui.rpy:387
|
||||
old "Loading will lose unsaved progress.\nAre you sure you want to do this?"
|
||||
new "Oadinglay illway oselay unsaveday rogresspay.\nReaay ouyay uresay ouyay antway otay oday histay?"
|
||||
|
||||
# renpy/common/00gui.rpy:439
|
||||
# renpy/common/00gui.rpy:388
|
||||
old "Are you sure you want to quit?"
|
||||
new "Reaay ouyay uresay ouyay antway otay uitqay?"
|
||||
|
||||
# renpy/common/00gui.rpy:440
|
||||
# renpy/common/00gui.rpy:389
|
||||
old "Are you sure you want to return to the main menu?\nThis will lose unsaved progress."
|
||||
new "Reaay ouyay uresay ouyay antway otay eturnray otay hetay ainmay enumay?\nHistay illway oselay unsaveday rogresspay."
|
||||
|
||||
# renpy/common/00gui.rpy:441
|
||||
# renpy/common/00gui.rpy:390
|
||||
old "Are you sure you want to end the replay?"
|
||||
new "Reaay ouyay uresay ouyay antway otay enday hetay eplayray?"
|
||||
|
||||
# renpy/common/00gui.rpy:442
|
||||
# renpy/common/00gui.rpy:391
|
||||
old "Are you sure you want to begin skipping?"
|
||||
new "Reaay ouyay uresay ouyay antway otay eginbay kippingsay?"
|
||||
|
||||
# renpy/common/00gui.rpy:443
|
||||
# renpy/common/00gui.rpy:392
|
||||
old "Are you sure you want to skip to the next choice?"
|
||||
new "Reaay ouyay uresay ouyay antway otay kipsay otay hetay extnay oicechay?"
|
||||
|
||||
# renpy/common/00gui.rpy:444
|
||||
# renpy/common/00gui.rpy:393
|
||||
old "Are you sure you want to skip unseen dialogue to the next choice?"
|
||||
new "Reaay ouyay uresay ouyay antway otay kipsay unseenay ialogueday otay hetay extnay oicechay?"
|
||||
|
||||
# renpy/common/00keymap.rpy:310
|
||||
# renpy/common/00keymap.rpy:306
|
||||
old "Failed to save screenshot as %s."
|
||||
new "Ailedfay otay avesay creenshotsay asay %say."
|
||||
|
||||
# renpy/common/00keymap.rpy:322
|
||||
# renpy/common/00keymap.rpy:318
|
||||
old "Saved screenshot as %s."
|
||||
new "Avedsay creenshotsay asay %say."
|
||||
|
||||
# renpy/common/00library.rpy:211
|
||||
# renpy/common/00library.rpy:195
|
||||
old "Skip Mode"
|
||||
new "Kipsay Odemay"
|
||||
|
||||
# renpy/common/00library.rpy:297
|
||||
# renpy/common/00library.rpy:281
|
||||
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}."
|
||||
|
||||
# renpy/common/00preferences.rpy:263
|
||||
# renpy/common/00preferences.rpy:254
|
||||
old "display"
|
||||
new "isplayday"
|
||||
|
||||
# renpy/common/00preferences.rpy:275
|
||||
# renpy/common/00preferences.rpy:266
|
||||
old "transitions"
|
||||
new "ansitionstray"
|
||||
|
||||
# renpy/common/00preferences.rpy:284
|
||||
# renpy/common/00preferences.rpy:275
|
||||
old "skip transitions"
|
||||
new "kipsay ansitionstray"
|
||||
|
||||
# renpy/common/00preferences.rpy:286
|
||||
# renpy/common/00preferences.rpy:277
|
||||
old "video sprites"
|
||||
new "ideovay pritessay"
|
||||
|
||||
# renpy/common/00preferences.rpy:295
|
||||
# renpy/common/00preferences.rpy:286
|
||||
old "show empty window"
|
||||
new "owshay emptyay indowway"
|
||||
|
||||
# renpy/common/00preferences.rpy:304
|
||||
# renpy/common/00preferences.rpy:295
|
||||
old "text speed"
|
||||
new "exttay peedsay"
|
||||
|
||||
# renpy/common/00preferences.rpy:312
|
||||
# renpy/common/00preferences.rpy:303
|
||||
old "joystick"
|
||||
new "oystickjay"
|
||||
|
||||
# renpy/common/00preferences.rpy:312
|
||||
# renpy/common/00preferences.rpy:303
|
||||
old "joystick..."
|
||||
new "oystickjay..."
|
||||
|
||||
# renpy/common/00preferences.rpy:319
|
||||
# renpy/common/00preferences.rpy:310
|
||||
old "skip"
|
||||
new "kipsay"
|
||||
|
||||
# renpy/common/00preferences.rpy:322
|
||||
# renpy/common/00preferences.rpy:313
|
||||
old "skip unseen [text]"
|
||||
new "kipsay unseenay [text]"
|
||||
|
||||
# renpy/common/00preferences.rpy:327
|
||||
# renpy/common/00preferences.rpy:318
|
||||
old "skip unseen text"
|
||||
new "kipsay unseenay exttay"
|
||||
|
||||
# renpy/common/00preferences.rpy:329
|
||||
# renpy/common/00preferences.rpy:320
|
||||
old "begin skipping"
|
||||
new "eginbay kippingsay"
|
||||
|
||||
# renpy/common/00preferences.rpy:333
|
||||
# renpy/common/00preferences.rpy:324
|
||||
old "after choices"
|
||||
new "afteray oiceschay"
|
||||
|
||||
# renpy/common/00preferences.rpy:340
|
||||
# renpy/common/00preferences.rpy:331
|
||||
old "skip after choices"
|
||||
new "kipsay afteray oiceschay"
|
||||
|
||||
# renpy/common/00preferences.rpy:342
|
||||
# renpy/common/00preferences.rpy:333
|
||||
old "auto-forward time"
|
||||
new "autoay-orwardfay imetay"
|
||||
|
||||
# renpy/common/00preferences.rpy:356
|
||||
# renpy/common/00preferences.rpy:347
|
||||
old "auto-forward"
|
||||
new "autoay-orwardfay"
|
||||
|
||||
# renpy/common/00preferences.rpy:363
|
||||
# renpy/common/00preferences.rpy:354
|
||||
old "Auto forward"
|
||||
new "Utoaay orwardfay"
|
||||
|
||||
# renpy/common/00preferences.rpy:366
|
||||
# renpy/common/00preferences.rpy:357
|
||||
old "auto-forward after click"
|
||||
new "autoay-orwardfay afteray ickclay"
|
||||
|
||||
# renpy/common/00preferences.rpy:375
|
||||
# renpy/common/00preferences.rpy:366
|
||||
old "automatic move"
|
||||
new "automaticay ovemay"
|
||||
|
||||
# renpy/common/00preferences.rpy:384
|
||||
# renpy/common/00preferences.rpy:375
|
||||
old "wait for voice"
|
||||
new "aitway orfay oicevay"
|
||||
|
||||
# renpy/common/00preferences.rpy:393
|
||||
# renpy/common/00preferences.rpy:384
|
||||
old "voice sustain"
|
||||
new "oicevay ustainsay"
|
||||
|
||||
# renpy/common/00preferences.rpy:402
|
||||
# renpy/common/00preferences.rpy:393
|
||||
old "self voicing"
|
||||
new "elfsay oicingvay"
|
||||
|
||||
# renpy/common/00preferences.rpy:411
|
||||
# renpy/common/00preferences.rpy:402
|
||||
old "self voicing volume drop"
|
||||
new "elfsay oicingvay olumevay ropday"
|
||||
|
||||
# renpy/common/00preferences.rpy:419
|
||||
# renpy/common/00preferences.rpy:410
|
||||
old "clipboard voicing"
|
||||
new "ipboardclay oicingvay"
|
||||
|
||||
# renpy/common/00preferences.rpy:428
|
||||
# renpy/common/00preferences.rpy:419
|
||||
old "debug voicing"
|
||||
new "ebugday oicingvay"
|
||||
|
||||
# renpy/common/00preferences.rpy:437
|
||||
# renpy/common/00preferences.rpy:428
|
||||
old "emphasize audio"
|
||||
new "emphasizeay audioay"
|
||||
|
||||
# renpy/common/00preferences.rpy:446
|
||||
# renpy/common/00preferences.rpy:437
|
||||
old "rollback side"
|
||||
new "ollbackray idesay"
|
||||
|
||||
# renpy/common/00preferences.rpy:456
|
||||
# renpy/common/00preferences.rpy:447
|
||||
old "gl powersave"
|
||||
new "glay owersavepay"
|
||||
|
||||
# renpy/common/00preferences.rpy:462
|
||||
# renpy/common/00preferences.rpy:453
|
||||
old "gl framerate"
|
||||
new "glay ameratefray"
|
||||
|
||||
# renpy/common/00preferences.rpy:465
|
||||
# renpy/common/00preferences.rpy:456
|
||||
old "gl tearing"
|
||||
new "glay earingtay"
|
||||
|
||||
# renpy/common/00preferences.rpy:468
|
||||
# renpy/common/00preferences.rpy:459
|
||||
old "font transform"
|
||||
new "ontfay ansformtray"
|
||||
|
||||
# renpy/common/00preferences.rpy:471
|
||||
# renpy/common/00preferences.rpy:462
|
||||
old "font size"
|
||||
new "ontfay izesay"
|
||||
|
||||
# renpy/common/00preferences.rpy:479
|
||||
# renpy/common/00preferences.rpy:470
|
||||
old "font line spacing"
|
||||
new "ontfay inelay pacingsay"
|
||||
|
||||
# renpy/common/00preferences.rpy:487
|
||||
# renpy/common/00preferences.rpy:478
|
||||
old "system cursor"
|
||||
new "ystemsay ursorcay"
|
||||
|
||||
# renpy/common/00preferences.rpy:496
|
||||
# renpy/common/00preferences.rpy:487
|
||||
old "renderer menu"
|
||||
new "endererray enumay"
|
||||
|
||||
# renpy/common/00preferences.rpy:499
|
||||
# renpy/common/00preferences.rpy:490
|
||||
old "accessibility menu"
|
||||
new "accessibilityay enumay"
|
||||
|
||||
# renpy/common/00preferences.rpy:502
|
||||
# renpy/common/00preferences.rpy:493
|
||||
old "high contrast text"
|
||||
new "ighhay ontrastcay exttay"
|
||||
|
||||
# renpy/common/00preferences.rpy:511
|
||||
old "audio when minimized"
|
||||
new "audioay henway inimizedmay"
|
||||
|
||||
# renpy/common/00preferences.rpy:531
|
||||
old "main volume"
|
||||
new "ainmay olumevay"
|
||||
|
||||
# renpy/common/00preferences.rpy:532
|
||||
# renpy/common/00preferences.rpy:512
|
||||
old "music volume"
|
||||
new "usicmay olumevay"
|
||||
|
||||
# renpy/common/00preferences.rpy:533
|
||||
# renpy/common/00preferences.rpy:513
|
||||
old "sound volume"
|
||||
new "oundsay olumevay"
|
||||
|
||||
# renpy/common/00preferences.rpy:534
|
||||
# renpy/common/00preferences.rpy:514
|
||||
old "voice volume"
|
||||
new "oicevay olumevay"
|
||||
|
||||
# renpy/common/00preferences.rpy:535
|
||||
old "mute main"
|
||||
new "utemay ainmay"
|
||||
|
||||
# renpy/common/00preferences.rpy:536
|
||||
# renpy/common/00preferences.rpy:515
|
||||
old "mute music"
|
||||
new "utemay usicmay"
|
||||
|
||||
# renpy/common/00preferences.rpy:537
|
||||
# renpy/common/00preferences.rpy:516
|
||||
old "mute sound"
|
||||
new "utemay oundsay"
|
||||
|
||||
# renpy/common/00preferences.rpy:538
|
||||
# renpy/common/00preferences.rpy:517
|
||||
old "mute voice"
|
||||
new "utemay oicevay"
|
||||
|
||||
# renpy/common/00preferences.rpy:539
|
||||
# renpy/common/00preferences.rpy:518
|
||||
old "mute all"
|
||||
new "utemay allay"
|
||||
|
||||
# renpy/common/00preferences.rpy:620
|
||||
# renpy/common/00preferences.rpy:599
|
||||
old "Clipboard voicing enabled. Press 'shift+C' to disable."
|
||||
new "Lipboardcay oicingvay enableday. Resspay 'iftshay+Cay' otay isableday."
|
||||
|
||||
# renpy/common/00preferences.rpy:622
|
||||
# renpy/common/00preferences.rpy:601
|
||||
old "Self-voicing would say \"[renpy.display.tts.last]\". Press 'alt+shift+V' to disable."
|
||||
new "Elfsay-oicingvay ouldway aysay \"[renpy.display.tts.last]\". Resspay 'altay+iftshay+Vay' otay isableday."
|
||||
|
||||
# renpy/common/00preferences.rpy:624
|
||||
# renpy/common/00preferences.rpy:603
|
||||
old "Self-voicing enabled. Press 'v' to disable."
|
||||
new "Elfsay-oicingvay enableday. Resspay 'vay' otay isableday."
|
||||
|
||||
@@ -677,95 +657,95 @@ translate piglatin strings:
|
||||
old "Contacting App Store\nPlease Wait..."
|
||||
new "Ontactingcay Ppaay Toresay\nLeasepay Aitway..."
|
||||
|
||||
# renpy/common/00updater.rpy:390
|
||||
# renpy/common/00updater.rpy:391
|
||||
old "The Ren'Py Updater is not supported on mobile devices."
|
||||
new "Hetay Enray'Ypay Pdateruay isay otnay upportedsay onay obilemay evicesday."
|
||||
|
||||
# renpy/common/00updater.rpy:519
|
||||
# renpy/common/00updater.rpy:520
|
||||
old "An error is being simulated."
|
||||
new "Naay erroray isay eingbay imulatedsay."
|
||||
|
||||
# renpy/common/00updater.rpy:703
|
||||
# renpy/common/00updater.rpy:704
|
||||
old "Either this project does not support updating, or the update status file was deleted."
|
||||
new "Ithereay histay rojectpay oesday otnay upportsay updatingay, oray hetay updateay atusstay ilefay asway eletedday."
|
||||
|
||||
# renpy/common/00updater.rpy:717
|
||||
# renpy/common/00updater.rpy:718
|
||||
old "This account does not have permission to perform an update."
|
||||
new "Histay accountay oesday otnay avehay ermissionpay otay erformpay anay updateay."
|
||||
|
||||
# renpy/common/00updater.rpy:720
|
||||
# renpy/common/00updater.rpy:721
|
||||
old "This account does not have permission to write the update log."
|
||||
new "Histay accountay oesday otnay avehay ermissionpay otay riteway hetay updateay oglay."
|
||||
|
||||
# renpy/common/00updater.rpy:748
|
||||
# renpy/common/00updater.rpy:746
|
||||
old "Could not verify update signature."
|
||||
new "Ouldcay otnay erifyvay updateay ignaturesay."
|
||||
|
||||
# renpy/common/00updater.rpy:1049
|
||||
# renpy/common/00updater.rpy:1013
|
||||
old "The update file was not downloaded."
|
||||
new "Hetay updateay ilefay asway otnay ownloadedday."
|
||||
|
||||
# renpy/common/00updater.rpy:1067
|
||||
# renpy/common/00updater.rpy:1031
|
||||
old "The update file does not have the correct digest - it may have been corrupted."
|
||||
new "Hetay updateay ilefay oesday otnay avehay hetay orrectcay igestday - itay aymay avehay eenbay orruptedcay."
|
||||
|
||||
# renpy/common/00updater.rpy:1217
|
||||
# renpy/common/00updater.rpy:1181
|
||||
old "While unpacking {}, unknown type {}."
|
||||
new "Hileway unpackingay {}, unknownay ypetay {}."
|
||||
|
||||
# renpy/common/00updater.rpy:1589
|
||||
# renpy/common/00updater.rpy:1553
|
||||
old "Updater"
|
||||
new "Pdateruay"
|
||||
|
||||
# renpy/common/00updater.rpy:1600
|
||||
# renpy/common/00updater.rpy:1564
|
||||
old "This program is up to date."
|
||||
new "Histay rogrampay isay upay otay ateday."
|
||||
|
||||
# renpy/common/00updater.rpy:1602
|
||||
# renpy/common/00updater.rpy:1566
|
||||
old "[u.version] is available. Do you want to install it?"
|
||||
new "[u.version] isay availableay. Oday ouyay antway otay installay itay?"
|
||||
|
||||
# renpy/common/00updater.rpy:1604
|
||||
# renpy/common/00updater.rpy:1568
|
||||
old "Preparing to download the updates."
|
||||
new "Reparingpay otay ownloadday hetay updatesay."
|
||||
|
||||
# renpy/common/00updater.rpy:1606
|
||||
# renpy/common/00updater.rpy:1570
|
||||
old "Downloading the updates."
|
||||
new "Ownloadingday hetay updatesay."
|
||||
|
||||
# renpy/common/00updater.rpy:1608
|
||||
# renpy/common/00updater.rpy:1572
|
||||
old "Unpacking the updates."
|
||||
new "Npackinguay hetay updatesay."
|
||||
|
||||
# renpy/common/00updater.rpy:1612
|
||||
# renpy/common/00updater.rpy:1576
|
||||
old "The updates have been installed. The program will restart."
|
||||
new "Hetay updatesay avehay eenbay installeday. Hetay rogrampay illway estartray."
|
||||
|
||||
# renpy/common/00updater.rpy:1614
|
||||
# renpy/common/00updater.rpy:1578
|
||||
old "The updates have been installed."
|
||||
new "Hetay updatesay avehay eenbay installeday."
|
||||
|
||||
# renpy/common/00updater.rpy:1616
|
||||
# renpy/common/00updater.rpy:1580
|
||||
old "The updates were cancelled."
|
||||
new "Hetay updatesay ereway ancelledcay."
|
||||
|
||||
# renpy/common/00gallery.rpy:627
|
||||
# renpy/common/00gallery.rpy:590
|
||||
old "Image [index] of [count] locked."
|
||||
new "Mageiay [index] ofay [count] ockedlay."
|
||||
|
||||
# renpy/common/00gallery.rpy:647
|
||||
# renpy/common/00gallery.rpy:610
|
||||
old "prev"
|
||||
new "revpay"
|
||||
|
||||
# renpy/common/00gallery.rpy:648
|
||||
# renpy/common/00gallery.rpy:611
|
||||
old "next"
|
||||
new "extnay"
|
||||
|
||||
# renpy/common/00gallery.rpy:649
|
||||
# renpy/common/00gallery.rpy:612
|
||||
old "slideshow"
|
||||
new "ideshowslay"
|
||||
|
||||
# renpy/common/00gallery.rpy:650
|
||||
# renpy/common/00gallery.rpy:613
|
||||
old "return"
|
||||
new "eturnray"
|
||||
|
||||
|
||||
@@ -182,50 +182,46 @@ translate piglatin strings:
|
||||
new "exitay: exitay hetay onsolecay"
|
||||
|
||||
# renpy/common/00console.rpy:784
|
||||
old "stack: print the return stack"
|
||||
new "ackstay: rintpay hetay eturnray ackstay"
|
||||
|
||||
# renpy/common/00console.rpy:806
|
||||
old "load <slot>: loads the game from slot"
|
||||
new "oadlay <otslay>: oadslay hetay amegay omfray otslay"
|
||||
|
||||
# renpy/common/00console.rpy:819
|
||||
# renpy/common/00console.rpy:797
|
||||
old "save <slot>: saves the game in slot"
|
||||
new "avesay <otslay>: avessay hetay amegay inay otslay"
|
||||
|
||||
# renpy/common/00console.rpy:830
|
||||
# renpy/common/00console.rpy:808
|
||||
old "reload: reloads the game, refreshing the scripts"
|
||||
new "eloadray: eloadsray hetay amegay, efreshingray hetay criptssay"
|
||||
|
||||
# renpy/common/00console.rpy:838
|
||||
# renpy/common/00console.rpy:816
|
||||
old "watch <expression>: watch a python expression\n watch short: makes the representation of traced expressions short (default)\n watch long: makes the representation of traced expressions as is"
|
||||
new "atchway <expressionay>: atchway aay ythonpay expressionay\n atchway ortshay: akesmay hetay epresentationray ofay acedtray expressionsay ortshay (efaultday)\n atchway onglay: akesmay hetay epresentationray ofay acedtray expressionsay asay isay"
|
||||
|
||||
# renpy/common/00console.rpy:875
|
||||
# renpy/common/00console.rpy:851
|
||||
old "unwatch <expression>: stop watching an expression"
|
||||
new "unwatchay <expressionay>: opstay atchingway anay expressionay"
|
||||
|
||||
# renpy/common/00console.rpy:918
|
||||
# renpy/common/00console.rpy:886
|
||||
old "unwatchall: stop watching all expressions"
|
||||
new "unwatchallay: opstay atchingway allay expressionsay"
|
||||
|
||||
# renpy/common/00console.rpy:939
|
||||
# renpy/common/00console.rpy:903
|
||||
old "jump <label>: jumps to label"
|
||||
new "umpjay <abellay>: umpsjay otay abellay"
|
||||
|
||||
# renpy/common/00console.rpy:955
|
||||
# renpy/common/00console.rpy:919
|
||||
old "short: Shorten the representation of objects on the console (default)."
|
||||
new "ortshay: Hortensay hetay epresentationray ofay objectsay onay hetay onsolecay (efaultday)."
|
||||
|
||||
# renpy/common/00console.rpy:959
|
||||
# renpy/common/00console.rpy:923
|
||||
old "long: Print the full representation of objects on the console."
|
||||
new "onglay: Rintpay hetay ullfay epresentationray ofay objectsay onay hetay onsolecay."
|
||||
|
||||
# renpy/common/00console.rpy:963
|
||||
# renpy/common/00console.rpy:927
|
||||
old "escape: Enables escaping of unicode symbols in unicode strings."
|
||||
new "escapeay: Nableseay escapingay ofay unicodeay ymbolssay inay unicodeay ringsstay."
|
||||
|
||||
# renpy/common/00console.rpy:967
|
||||
# renpy/common/00console.rpy:931
|
||||
old "unescape: Disables escaping of unicode symbols in unicode strings and print it as is (default)."
|
||||
new "unescapeay: Isablesday escapingay ofay unicodeay ymbolssay inay unicodeay ringsstay anday rintpay itay asay isay (efaultday)."
|
||||
|
||||
|
||||
@@ -409,27 +409,27 @@ translate piglatin strings:
|
||||
old "## This increases the size of the quick buttons to make them easier to touch on tablets and phones."
|
||||
new "## Histay increasesay hetay izesay ofay hetay uickqay uttonsbay otay akemay hemtay easieray otay ouchtay onay abletstay anday onesphay."
|
||||
|
||||
# gui/game/gui.rpy:424
|
||||
# gui/game/gui.rpy:423
|
||||
old "## This changes the size and spacing of various GUI elements to ensure they are easily visible on phones."
|
||||
new "## Histay angeschay hetay izesay anday pacingsay ofay ariousvay Uigay elementsay otay ensureay heytay areay easilyay isiblevay onay onesphay."
|
||||
|
||||
# gui/game/gui.rpy:429
|
||||
# gui/game/gui.rpy:427
|
||||
old "## Font sizes."
|
||||
new "## Ontfay izessay."
|
||||
|
||||
# gui/game/gui.rpy:437
|
||||
# gui/game/gui.rpy:435
|
||||
old "## Adjust the location of the textbox."
|
||||
new "## Djustaay hetay ocationlay ofay hetay extboxtay."
|
||||
|
||||
# gui/game/gui.rpy:443
|
||||
# gui/game/gui.rpy:441
|
||||
old "## Change the size and spacing of various things."
|
||||
new "## Hangecay hetay izesay anday pacingsay ofay ariousvay hingstay."
|
||||
|
||||
# gui/game/gui.rpy:457
|
||||
# gui/game/gui.rpy:455
|
||||
old "## File button layout."
|
||||
new "## Ilefay uttonbay ayoutlay."
|
||||
|
||||
# gui/game/gui.rpy:461
|
||||
# gui/game/gui.rpy:459
|
||||
old "## NVL-mode."
|
||||
new "## Vlnay-odemay."
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user