Skip to content

Commit

Permalink
Version 2.10.3.
Browse files Browse the repository at this point in the history
Added links.
  • Loading branch information
Vladya committed Feb 20, 2022
1 parent a72526b commit 2a5de9d
Show file tree
Hide file tree
Showing 10 changed files with 39 additions and 4 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

### Automatic translator of games made on Ren'Py engine.

<a href="https://www.patreon.com/bePatron?u=62209932"><img src="https://user-images.githubusercontent.com/19994753/154846762-2cd02dfb-a281-4d30-806a-45bd199001eb.png" height="57" alt="Support developer"/></a> <a href="https://discord.gg/Mrb23VQyCR"><img src="https://user-images.githubusercontent.com/19994753/154846983-4c1294dd-e000-4c87-94fa-ac4943f6bd2f.png" height="50" alt="Join a Discord Server"/></a>

[Instruction manual and compiled *.rpa* file for use in games.](https://github.com/NyashniyVladya/Translator3000/releases)

*Works in games made on Ren'Py 6.99.12.4 and newer.*
Expand Down Expand Up @@ -90,3 +92,5 @@


[Support me on Patreon.](https://www.patreon.com/bePatron?u=62209932)

[Join a Discord server.](https://discord.gg/Mrb23VQyCR)
1 change: 1 addition & 0 deletions game/000translate_trigger.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ python early hide:
_("{0} предварительное сканирование.")
_("Бросить трейсбек.")
_("Булевые параметры.")
_("Версия {0}.")
_("Версия {0}.{1}.{2}.")
_("Возникла ошибка в потоке сканирования.")
_("Возникла ошибка при попытке чтения настроек. Перепроверьте введённые данные (запятые, кавычки у текстовых значений, отстутствие закрывающих токенов - '}', ']' и т.д.")
Expand Down
27 changes: 25 additions & 2 deletions game/Translator3000Data/ingame_gui/screens.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,17 @@ init -38:

tag translator3000_screen
style_prefix "translator3000"

key "alt_K_BACKQUOTE" action ToggleField(translator3000._gui, "show")

if translator3000._translator_switcher:
$ state = "Приостановить перевод."
else:
$ state = "Возобновить перевод."

$ patreon_pic_zoom = .05
$ discord_pic_zoom = (((1080. - (71. * 2.)) / 470.) * patreon_pic_zoom)


use translator3000_base_vbox_in_window:
textbutton "Translator3000. {0}".format(
Expand All @@ -52,6 +56,25 @@ init -38:
text_hover_color "#888"
text_selected_outlines [(2, "#000", 0, 0), (1, "#050", 0, 0)]
action OpenURL("https://www.patreon.com/NyashniyVladya")

hbox:
xanchor .0
xpos .006
xfill False
spacing 10

imagebutton:
yalign .5
idle Transform("Translator3000OtherFiles/Digital-Patreon-Logo_FieryCoral.png", zoom=patreon_pic_zoom)
hover Transform("Translator3000OtherFiles/Digital-Patreon-Logo_Black.png", zoom=(patreon_pic_zoom * 1.2))
action OpenURL("https://www.patreon.com/bePatron?u=62209932")

imagebutton:
yalign .5
idle Transform("Translator3000OtherFiles/icon_clyde_blurple_RGB.png", zoom=discord_pic_zoom)
hover Transform("Translator3000OtherFiles/icon_clyde_black_RGB.png", zoom=(discord_pic_zoom * 1.2))
action OpenURL("https://discord.gg/Mrb23VQyCR")

textbutton translator3000._gui.translate(state):
action ToggleField(
translator3000,
Expand All @@ -74,7 +97,7 @@ init -38:

null height 10
textbutton translator3000._gui.translate("Поддержать разработчика."):
action OpenURL("https://www.patreon.com/NyashniyVladya")
action OpenURL("https://www.patreon.com/bePatron?u=62209932")

null height 10
use translator3000_github_update
Expand Down
2 changes: 1 addition & 1 deletion game/Translator3000Data/scripts/imports.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ init -10 python in _translator3000:
else:
from requests.packages import urllib3

VERSION = (2, 10, 1)
VERSION = (2, 10, 3)

DEBUG = False
parent_logger.setLevel((logging.DEBUG if DEBUG else logging.CRITICAL))
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion game/options.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ define gui.show_name = True

## Версия игры.

define config.version = "2.10.1"
define config.version = "2.10.3"


## Текст, помещённый в экран "Об игре". Поместите текст между тройными скобками.
Expand Down
7 changes: 7 additions & 0 deletions game/tl/english/000translate_trigger.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -312,3 +312,10 @@ translate english strings:
old "Для этого сервиса перевода частота фиксированная."
new "For this translation service, the frequency of requests is unchangeable."


translate english strings:

# game/000translate_trigger.rpy:12
old "Версия {0}."
new "Version {0}."

0 comments on commit 2a5de9d

Please sign in to comment.