Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rus localization, thanks to leshless #591

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@

### Wanderer Updates

* Added Russian localization (thanks leshless)

## [v1.9.2] - 2020-12-02

### Bug fixes
Expand Down
1 change: 1 addition & 0 deletions docs/credits.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@

* ChDaVinci (Spanish)
* GDami (French) ([GitHub](https://github.com/GDami))
* leshless (Russian) ([GitHub](https://github.com/leshless))
* yanang007 (Chinese (Simplified)) ([GitHub](https://github.com/yanang007))

### Trailer Videographer
Expand Down
1 change: 1 addition & 0 deletions src/main/java/stsjorbsmod/JorbsMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ public static String makeLocalizedStringsPath(Settings.GameLanguage language, St
// Settings.language == Settings.GameLanguage.FRA ? "fra" :
language == Settings.GameLanguage.SPA ? "spa" :
language == Settings.GameLanguage.ZHS ? "zhs" :
language == Settings.GameLanguage.RUS ? "rus" :
/* default: */ "eng";

return MOD_ID + "Resources/localization/" + languageFolder + "/" + resourcePath;
Expand Down
19 changes: 10 additions & 9 deletions src/main/java/stsjorbsmod/cards/wanderer/ColorSpray.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,16 @@ public ColorSpray() {
}

private AbstractPower generateRandomDebuff(AbstractPlayer p, AbstractMonster m) {
switch(AbstractDungeon.cardRandomRng.random(0, 4)) {
case 0: return new WeakPower(m, 2, false);
case 1: return new VulnerablePower(m, 2, false);
case 2: return new BurningPower(m, p, 4);
case 3: return new StrengthPower(m, -2);
case 4: return new BanishedPower(m, p, 1);

default: throw new RuntimeException("random debuff type out of range");
}
return new BanishedPower(m, p, 1);
// switch(AbstractDungeon.cardRandomRng.random(0, 4)) {
// case 0: return new WeakPower(m, 2, false);
// case 1: return new VulnerablePower(m, 2, false);
// case 2: return new BurningPower(m, p, 4);
// case 3: return new StrengthPower(m, -2);
// case 4: return new BanishedPower(m, p, 1);
//
// default: throw new RuntimeException("random debuff type out of range");
// }
}

@Override
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"stsjorbsmod:CullCharacter": {
"NAMES": [
"Отброс",
"Отброс"
],
"TEXT": [
"A malevolent spirit sent to feast NL upon the inhabitants of the spire.",
"NL You BITE the heart.",
"Пробираюсь по тёмной улице, вы застаёте несколько таинственных фигур в процессе какого-то тёмного ритуала. Вы подходите ближе, и все они одновременно поворачиваются к вам. Самый высокий из них оголяет клыки и протягивает к вам длинную бледную руку. NL NL ~\"копай~ КОПАЙ ~копай~ КОПАЙ ~КОПАЙ~ ~КОПАЙ\"~"
]
},
"stsjorbsmod:WandererCharacter": {
"NAMES": [
"Странник",
"Странник"
],
"TEXT": [
"Искусный маг с частыми потерями памяти. NL Корень его недуга лежит в сути постоянных обнулений Шпиля.",
"NL Вы прикасаетесь к сердцу.",
"Пробираясь по тёмной улице, вы застаёте несколько таинственных фигур в процессе какого-то тёмного ритуала. Вы подходите ближе, и все они одновременно поворачиваются к вам. Самый высокий из них оголяет клыки и протягивает к вам длинную бледную руку. NL NL ~\"копай~ КОПАЙ ~копай~ КОПАЙ ~КОПАЙ~ ~КОПАЙ\"~"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
{
"stsjorbsmod:cull:voiceover:3_Sentries": {
"TEXT": [
"Three for the price of one."
]
},
"stsjorbsmod:cull:voiceover:Automaton": {
"TEXT": [
"I wish you were more edible."
]
},
"stsjorbsmod:cull:voiceover:Awakened_One": {
"TEXT": [
"Ah, let me help you with that dagger."
]
},
"stsjorbsmod:cull:voiceover:Book_of_Stabbing": {
"TEXT": [
"A book after my own heart."
]
},
"stsjorbsmod:cull:voiceover:Champ": {
"TEXT": [
"Make your noise, tin can."
]
},
"stsjorbsmod:cull:voiceover:Collector": {
"TEXT": [
"It's MY mantel where you belong."
]
},
"stsjorbsmod:cull:voiceover:death": {
"TEXT": [
"They live. For now."
]
},
"stsjorbsmod:cull:voiceover:death_victory": {
"TEXT": [
"Do I feel satisfied?"
]
},
"stsjorbsmod:cull:voiceover:Donu_and_Deca": {
"TEXT": [
"The one on the right looks good."
]
},
"stsjorbsmod:cull:voiceover:Giant_Head": {
"TEXT": [
"A pity it's made of stone."
]
},
"stsjorbsmod:cull:voiceover:Gremlin_Leader": {
"TEXT": [
"Appetizers and... yes, the main course."
]
},
"stsjorbsmod:cull:voiceover:Gremlin_Nob": {
"TEXT": [
"Blood for blood."
]
},
"stsjorbsmod:cull:voiceover:Hexaghost": {
"TEXT": [
"Around and around it goes. Until it doesn't."
]
},
"stsjorbsmod:cull:voiceover:Lagavulin": {
"TEXT": [
"Crack the shell, I'll eat well."
]
},
"stsjorbsmod:cull:voiceover:Nemesis": {
"TEXT": [
"Stand still, ethereal coward."
]
},
"stsjorbsmod:cull:voiceover:new_run": {
"TEXT": [
"The cull begins."
]
},
"stsjorbsmod:cull:voiceover:Reptomancer": {
"TEXT": [
"So many barbs for such a slender meal."
]
},
"stsjorbsmod:cull:voiceover:Shield_and_Spear": {
"TEXT": [
"Let's butcher these quickly."
]
},
"stsjorbsmod:cull:voiceover:Slavers": {
"TEXT": [
"They think they're in control."
]
},
"stsjorbsmod:cull:voiceover:Slime_Boss": {
"TEXT": [
"Just don't besmirch my blade, slime."
]
},
"stsjorbsmod:cull:voiceover:The_Guardian": {
"TEXT": [
"Bleed, glorified hedgehog."
]
},
"stsjorbsmod:cull:voiceover:The_Heart": {
"TEXT": [
"The ~purest~ ~delicacy.~"
]
},
"stsjorbsmod:cull:voiceover:Time_Eater": {
"TEXT": [
"Our appointment has arrived."
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"stsjorbsmod:DeckOfManyThingsEvent": {
"NAME": "Deck of Many Things",
"DESCRIPTIONS": [
"As you move through ~The~ ~City~ you come across a #pPurple #pMirror. NL You look at it, but you see no reflection.",
"You see no one but #g~You~ #g~wish~ #g~to~ #g~become~ #g~someone.~",
"#r@YOU@ #r@EXIST@ #r@AND@ #r@ARE@ #r@VALID!@",
"#yYou #yare #yat #ypeace #ywith #yyour #ypresence.",
"You have no hands."
],
"OPTIONS": [
"[Inspiration] #gGain #ga #gRandom #gStarting #gRelic.",
"[Denial] #rLose #r",
" #rMax #rHP. #gRemove #ga #gCard #gfrom #gyour #gdeck.",
"[Acceptance] #gGain #gApotheosis.",
"[TOUCH THE MIRROR] TOUCH TOUCH TO#C# TOUCH TO UCH TOUCH #rTOUCH TOUCH",
"[Leave]",
"Select card to remove."
]
},
"stsjorbsmod:SensoryStone": {
"DESCRIPTIONS": [
"#g~ШАГИ.~ NL NL Резкий #yраскат чьих-то шагов взрывается эхом от каменных стен. Вы оборачиваетесь, что бы осмотреться, но никого не находите взглядом. Всё больше и больше звуков присоединяются к общему гулу, сливаясь из #p~крещендо~ в #b@какофонию.@ NL NL Ваша голова ~тяжелеет~ и вы теряете сознание. NL NL Просыпаясь, вы обнаруживаете, что гул шагов пропал.",
"#b~ВСПОМНИ.~ NL NL Вам снится лицо. Оно похоже на ваше, но его ~очертания~ и ~контуры~ кажутся рызмытыми. NL NL Оно шепчет вам вам: #b~не~ #b~забывай.~ Оно кричит вам: #b~вспомни~ #bвспомни #p~вспомни~ #p@-помни@ #r~-мни~ #r@-мни.@ NL NL Вы вырезаете слово на коже своей руки, пока видение ещё не покинуло вас: #yВспомни. #yВСПОМНИ! NL NL Покидая пещеру, вы ощущаете глухую боль в предплечье, так, как будто бы его кто-то поцарапал...",
"#r~ПОГЛОЩАЕТ.~ NL NL Пещера... #rпоглощает вас. На мнгновение, вы останавливаетесь, чувствуя, что давление достаточно утихло, что бы вы могли идти вперёд. Ваш #r~голод~ отступает. Вы думаете о том, что могли бы вздремнуть тут... NL NL Но на это нет времени. NL NL Нужно двигаться дальше."
]
}
}
Loading