Add Russian Translation Files & Group by Language

Group translators by Language rather than Role
Rename Patch8 to Patch9 accordingly (Incremental number system for only this game)
Replace the Russian Flag straight from wikipedia instead

Notable Changes (that is kept in) from the cold north:
    FallingSky.otf has Cyrillic characters, unknown where they are from
    One of the insults uses a different font compared to the one from
    the modified FallingSky.otf
This commit is contained in:
2023-12-27 11:06:59 +11:00
parent e473ddc1db
commit da3b9a2467
94 changed files with 90670 additions and 10 deletions

View File

@ -76,6 +76,7 @@ init 999 python:
]
}
# The difference between adding in the special thanks and not I have found is about 480px, just to note down.
# group translators by language, not by role
list_translator_credits = {
_('Translators (Spanish):'): [
@ -88,6 +89,16 @@ init 999 python:
],
_('Asset help (Spanish):'): [
'Arkiangelo Anon'
],
_('Translators (Russian):'): [
'2ch.hk_fur Anon',
'rutracker Anon'
],
_('Proofreaders (Russian):'): [
'rutracker Anon'
],
_('Asset help (Russian):'): [
'rutracker Anon'
]
}
@ -98,8 +109,8 @@ init 999 python:
#sizes in px
SIZE_SNOT_GAMES = 68*3+10
SIZE_TITLE = 32*3+10
SIZE_ENTRY = 26*3+10
SIZE_TL = 26*2+10
SIZE_ENTRY = 22*3+10
SIZE_TL = 22*2+10
SIZE_ENDER = 52*3+10
#there is line_spacing but don't usei t
@ -186,12 +197,13 @@ label test_credits:
# Credits definitions moved here so everything that needs to be changed is is one place.
# Anytime the credits changes to include more translators, you're just going to have to guess what the correct
# value to offset everything is again. Mainly concerning values that control the panning destination of credits text,
# value to offset everything is again. Mainly concerning values that control the panning destination of credits text,
# and the height of the credits text itself
# My recommendation is to imagine a square on top of the "T" in "THE END"
# The square is as long as one of those characters, and the top of the square should touch the top of the screen
# when the credits stop scrolling
# Someone please come up with an exact formula pls
#too much lore above; make it look good within reason
# Remember, ending sketch is always +550 of when the Pan stops
@ -244,7 +256,7 @@ label lending:
subpixel True
show credits_coverup at Pan((0, 0),(0, 12155), 65):
subpixel True
pause 50
queue music 'audio/OST/amberlight brillance live end.ogg'
queue music "<silence 1.0>" loop

View File

@ -34,10 +34,11 @@ init python:
from math import ceil
notice = _("NOTICE: Please keep in mind this is a fan translation, and as such it may not be completely accurate to the original intent of any written lines.")
languages = [
{'image': 'gui/flag/USofA.png', 'name': 'English', 'value': None },
{'image': 'gui/flag/Mexico.png', 'name': 'Español', 'value': 'es'}
{'image': 'gui/flag/Mexico.png', 'name': 'Español', 'value': 'es'},
{'image': 'gui/flag/Rus.png', 'name': 'Русский', 'value': 'ru'}
]
#This was done so it would work with whatever amount of languages you wanted, I tried it with up to 200 and it worked nicely.
@ -103,7 +104,7 @@ screen lang_sel():
imagebutton:
idle darkie(languages[i]["image"])
hover glowie(languages[i]["image"])
action If(languages[i]["value"] in persistent.seenWarning or languages[i]["value"] == None,
action If(languages[i]["value"] in persistent.seenWarning or languages[i]["value"] == None,
true = [Language(languages[i]["value"]), MainMenu(False,False)],
# Important to change the language before calling notice. Otherwise it will be in english.
false = [Language(languages[i]["value"]), AddToSet(set=persistent.seenWarning, value=languages[i]["value"]), Show(screen="OkPrompt", message=notice, go_menu=True)]
@ -119,11 +120,11 @@ screen lang_button(lang):
spacing 15
textbutton lang["name"]:
activate_sound "audio/ui/uiRollover.wav"
action If(lang["value"] in persistent.seenWarning or lang["value"] == None,
action If(lang["value"] in persistent.seenWarning or lang["value"] == None,
true = [Language(lang["value"])],
false = [Language(lang["value"]), AddToSet(set=persistent.seenWarning, value=lang["value"]), Show(screen="OkPrompt", message=notice, go_menu=False)]
)
if _preferences.language == lang["value"]:
add glowie(lang["image"]) at icon
else:
add darkie(lang["image"]) at icon
add darkie(lang["image"]) at icon