Skip to content

Commit b945071

Browse files
authored
Merge pull request #9 from danics7/beta-updated
베타 대응 및 한글화 정보가 없는 경우에도 에러생기지 않도록 수정
2 parents f27f1eb + ef67fa8 commit b945071

File tree

4 files changed

+52
-21
lines changed

4 files changed

+52
-21
lines changed

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ ttf 파일은 폰트(글꼴)파일이고, 설치 해도 안해도 패치엔 지
2222

2323
코드는 이렇게 작성하고 py2exe 통해서 빌드했습니다
2424

25-
2625
만약 패치가 안되었다면 무결성검사 후 한번
2726

2827
자꾸 바이러스로 잡아대서 안잡히는 방법 확인중
@@ -32,6 +31,10 @@ ttf 파일은 폰트(글꼴)파일이고, 설치 해도 안해도 패치엔 지
3231
버전은 Vampire Survivors 버전에 맞추고 한글패치 릴리즈별로 패치넘버만 올릴예정
3332

3433

34+
### v0.2.10.2 (2022-02-03)
35+
36+
1. 베타 대응패치
37+
2. 이제 한글패치가 불가능한 경우에도 에러가 발생하지 않음.
3538

3639
### v0.2.10.1 (2022-02-03)
3740

lang.py

+44-16
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,22 @@
22
def read_translation_file() -> dict:
33
return {
44
"translations": [
5+
{
6+
"original": "Revives once with 50% health.",
7+
"korean": "단 한번 50% 체력으로 부활합니다."
8+
},
9+
{
10+
"original": "Defeat a total of 100000 enemies.",
11+
"korean": "총 100,000마리의 적을 처치하십시오."
12+
},
13+
{
14+
"original": "Survive 20 minutes with Krochi",
15+
"korean": "Krochi로 20분 생존하십시오"
16+
},
17+
{
18+
"original": "Starts with 1 Revival. Gains 1 more Revival at level 33.",
19+
"korean": "Cross. 추가 목숨을 가지고 시작합니다. 33레벨에 목숨을 추가 획득합니다."
20+
},
521
{
622
"original": "PHOTOSENSITIVITY WARNING",
723
"korean": "광과민성요소 포함주의"
@@ -44,7 +60,7 @@ def read_translation_file() -> dict:
4460
},
4561
{
4662
"original": "Permanent +40% duration and speed, -40% move speed.",
47-
"korean": "King Bible. 지속시간 및 공격속도 40% 증가 및 이동속도 -40%."
63+
"korean": "King Bible. 지속시간 및 투사체 속도 40% 증가 및 이동속도 -40%."
4864
},
4965
{
5066
"original": "Permanent +30% greed. Starts with temporarily increased speed.",
@@ -106,6 +122,18 @@ def read_translation_file() -> dict:
106122
"original": "60% chance to not erase items.",
107123
"korean": "60% 확률로 아이템은 지우지 않습니다."
108124
},
125+
{
126+
"original": "25% chance to not erase items.",
127+
"korean": "25% 확률로 아이템은 지우지 않습니다."
128+
},
129+
{
130+
"original": "45% chance to not erase items.",
131+
"korean": "45% 확률로 아이템은 지우지 않습니다."
132+
},
133+
{
134+
"original": "65% chance to not erase items.",
135+
"korean": "65% 확률로 아이템은 지우지 않습니다."
136+
},
109137
{
110138
"original": "Unlock Hyper mode for 2 stages.",
111139
"korean": "두 스테이지에서 모두 하이퍼모드를 해금하십시오."
@@ -255,7 +283,7 @@ def read_translation_file() -> dict:
255283
"weaponLevelUp_damage": "공격력 %0 증가\n ",
256284
"weaponLevelUp_all": "[전체] ",
257285
"weaponLevelUp_area": "범위 %0% 증가\n",
258-
"weaponLevelUp_speed": "공격속도 %0% 증가\n",
286+
"weaponLevelUp_speed": "투사체 속도 %0% 증가\n",
259287
"weaponLevelUp_projectile": "투사체 %0개 증가\n",
260288
"weaponLevelUp_projectiles": "투사체 %0개 증가\n",
261289
"weaponLevelUp_enemy": "관통력 %0 증가\n",
@@ -292,7 +320,7 @@ def read_translation_file() -> dict:
292320

293321
"weaponCollectionPanel_name": "이름",
294322
"weaponCollectionPanel_description": "설명",
295-
"weaponCollectionPanel_ignores": "범위,속도,쿨타임 미적용",
323+
"weaponCollectionPanel_ignores": "무시: 범위, 속도, 쿨타임",
296324
"weaponCollectionPanel_notFound": "미발견",
297325

298326
"achievements_header": "달성: %0 of %1",
@@ -455,7 +483,7 @@ def read_translation_file() -> dict:
455483
},
456484
"SHIELD": {
457485
"name": "Shield",
458-
"description": "Prevents damage for one attack. Stacks with Laurel."
486+
"description": "공격을 한번 방어합니다. Laurel의 충전횟수와 합산"
459487
},
460488
"REVIVAL": {
461489
"name": "Revival",
@@ -516,7 +544,7 @@ def read_translation_file() -> dict:
516544
"WHIP": {
517545
"name": "Whip",
518546
"description": "적을 관통합니다.",
519-
"tips": "파워업 무시: 공격속도, 지속시간"
547+
"tips": "파워업 무시: 투사체 속도, 지속시간"
520548
},
521549
"VAMPIRICA": {
522550
"name": "Bloody Tear",
@@ -556,15 +584,15 @@ def read_translation_file() -> dict:
556584
"HOLYWATER": {
557585
"name": "Santa Water",
558586
"description": "화염지대를 만드는 폭탄을 던집니다.",
559-
"tips": "파워업 무시: 공격속도"
587+
"tips": "파워업 무시: 투사체 속도"
560588
},
561589
"HYDROSTORM": {
562590

563591
},
564592
"DIAMOND": {
565593
"name": "Runetracer",
566594
"description": "적을 관통하고 튕기는 화살을 발사합니다.",
567-
"tips": "추천: 공격속도, 지속시간"
595+
"tips": "추천: 투사체 속도, 지속시간"
568596
},
569597
"FIREBALL": {
570598
"name": "Fire Wand",
@@ -579,7 +607,7 @@ def read_translation_file() -> dict:
579607
"HOLYBOOK": {
580608
"name": "King Bible",
581609
"description": "주위를 맴도는 책을 생성합니다. 짧은 딜레이가 있습니다.",
582-
"tips": "추천: 공격속도, 범위, 지속시간"
610+
"tips": "추천: 투사체 속도, 범위, 지속시간"
583611
},
584612
"VESPERS": {
585613
"name": "Unholy Vespers",
@@ -599,7 +627,7 @@ def read_translation_file() -> dict:
599627
"GARLIC": {
600628
"name": "Garlic",
601629
"description": "주위의 적에게 데미지를 주고 넉백저항과 빙결저항을 감소시킵니다.",
602-
"tips": "파워업 무시: 투사체 수, 지속시간, 공격속도"
630+
"tips": "파워업 무시: 투사체 수, 지속시간, 투사체 속도"
603631
},
604632
"LAUREL": {
605633
"name": "Laurel",
@@ -612,7 +640,7 @@ def read_translation_file() -> dict:
612640
"LIGHTNING": {
613641
"name": "Lightning Ring",
614642
"description": "무작위 적을 공격합니다.",
615-
"tips": "파워업 무시: 공격속도, 지속시간"
643+
"tips": "파워업 무시: 투사체 속도, 지속시간"
616644
},
617645
"PENTAGRAM": {
618646
"name": "Pentagram",
@@ -638,12 +666,12 @@ def read_translation_file() -> dict:
638666
"BONE": {
639667
"name": "Bone",
640668
"description": "타격시 튕겨집니다.",
641-
"tips": "추천: 공격속도, 지속시간"
669+
"tips": "추천: 투사체 속도, 지속시간"
642670
},
643671
"LANCET": {
644672
"name": "Clock Lancet",
645673
"description": "적을 얼립니다.",
646-
"tips": "파워업 무시: 데미지, 공격속도, 투사체 수, 공격범위"
674+
"tips": "파워업 무시: 데미지, 투사체 속도, 투사체 수, 공격범위"
647675
},
648676

649677
"POWER": {
@@ -781,20 +809,20 @@ def read_translation_file() -> dict:
781809
"description": "Rosary 발견."
782810
},
783811
"Defeat5000Enemies": {
784-
"description": "5000마리 처치."
812+
"description": "5,000마리 처치."
785813
},
786814
"Defeat3000Skeletons": {
787-
"description": "3000마리 스켈레톤 처치."
815+
"description": "3,000마리 스켈레톤 처치."
788816
},
789817
"DefeatBossMadForest": {
790-
"description": "Mad Forest에 있는 거대 푸른 베누스 처치."
818+
"description": "Mad Forest에서 거대한 Blue Venus 처치."
791819
},
792820

793821
"ReachLV20InMadForest": {
794822
"description": "Mad Forest에서 20레벨 달성."
795823
},
796824
"DefeatBossLibrary": {
797-
"description": "Inlaid Library에 있는 노이페트 처치."
825+
"description": "Inlaid Library에 있는 Nesuferit 처치."
798826
},
799827
"Survive5MinutesWithKnife": {
800828
"description": "Gennaro Belpaese로 5분 동안 생존."

main.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ def close():
6161
translationLang = row['translations']
6262
f.close()
6363
for key, val in langFile['en']['translations'].items():
64-
langFile['en']['translations'][key] = translationLang[key]
64+
langFile['en']['translations'][key] = translationLang[key] if key in translationLang else langFile['en']['translations'][key]
6565
data = json.dumps(langFile, ensure_ascii=False)
6666
f = open(langNewPath, 'w', encoding='UTF-8-sig')
6767
f.write(data)
6868
f.close()
6969
shutil.move(langNewPath, langOriginalPath)
7070

7171
print("main.bundle.js, vendor.bundle.js(폰트수정) 변경.\r\n%d개 lang파일 변경.\r\n패치가 안되었다면 무결성검사 후 다시 실행해주세요~\r\n" % len(lang['lang']))
72-
print("폰트는 메이플스토리체로 변경되었으며, 같이 압축된 Maplestory Light.ttf 파일을 실행해서 설치해주세요.")
72+
print("폰트는 넥슨의 메이플스토리체로 변경되었으며, 같이 압축된 Maplestory Light.ttf 파일을 실행해서 설치해주세요.")
7373
close()

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
"icon_resources": [(1, "0.ico")],
1414
"dest_base": "Vampire Survivors 한글패치",
1515
"name": "Vampire Survivors 한글패치",
16-
"version": "0.2.10.1"
16+
"version": "0.2.10.2"
1717
}],
18-
version='0.2.10.1',
18+
version='0.2.10.2',
1919
name='Vampire Survivors 한글패치',
2020
description='Vampire Survivors 한글패치',
2121
author='danics'

0 commit comments

Comments
 (0)