Skip to content

Commit b9a587b

Browse files
authored
Merge pull request #4524 from LmeSzinc/dev
Bug fix
2 parents ce5812d + 5494a65 commit b9a587b

8 files changed

Lines changed: 25 additions & 15 deletions

File tree

module/config/argument/args.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8004,7 +8004,8 @@
80048004
"value": 2,
80058005
"option": [
80068006
2,
8007-
3
8007+
3,
8008+
4
80088009
]
80098010
},
80108011
"ShipIndex": {
@@ -8038,7 +8039,8 @@
80388039
1,
80398040
2,
80408041
3,
8041-
4
8042+
4,
8043+
5
80428044
]
80438045
},
80448046
"ShipIndex": {

module/config/argument/argument.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ CoreShop:
537537
ShipyardDr:
538538
ResearchSeries:
539539
value: 2
540-
option: [ 2, 3 ]
540+
option: [ 2, 3, 4 ]
541541
ShipIndex:
542542
value: 0
543543
option: [ 0, 1, 2, 3, 4, 5, 6 ]
@@ -546,7 +546,7 @@ ShipyardDr:
546546
Shipyard:
547547
ResearchSeries:
548548
value: 1
549-
option: [ 1, 2, 3, 4 ]
549+
option: [ 1, 2, 3, 4, 5 ]
550550
ShipIndex:
551551
value: 0
552552
option: [ 0, 1, 2, 3, 4, 5, 6 ]

module/config/config_generated.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,13 +294,13 @@ class GeneratedConfig:
294294
CoreShop_Filter = 'Array'
295295

296296
# Group `ShipyardDr`
297-
ShipyardDr_ResearchSeries = 2 # 2, 3
297+
ShipyardDr_ResearchSeries = 2 # 2, 3, 4
298298
ShipyardDr_ShipIndex = 0 # 0, 1, 2, 3, 4, 5, 6
299299
ShipyardDr_BuyAmount = 2
300300
ShipyardDr_LastRun = datetime.datetime(2020, 1, 1, 0, 0)
301301

302302
# Group `Shipyard`
303-
Shipyard_ResearchSeries = 1 # 1, 2, 3, 4
303+
Shipyard_ResearchSeries = 1 # 1, 2, 3, 4, 5
304304
Shipyard_ShipIndex = 0 # 0, 1, 2, 3, 4, 5, 6
305305
Shipyard_BuyAmount = 2
306306
Shipyard_LastRun = datetime.datetime(2020, 1, 1, 0, 0)

module/config/i18n/en-US.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1841,7 +1841,8 @@
18411841
"name": "Research Series",
18421842
"help": "",
18431843
"2": "DR2",
1844-
"3": "DR3"
1844+
"3": "DR3",
1845+
"4": "DR4"
18451846
},
18461847
"ShipIndex": {
18471848
"name": "Ship Index",
@@ -1874,7 +1875,8 @@
18741875
"1": "PR1",
18751876
"2": "PR2",
18761877
"3": "PR3",
1877-
"4": "PR4"
1878+
"4": "PR4",
1879+
"5": "PR5"
18781880
},
18791881
"ShipIndex": {
18801882
"name": "Ship Index",

module/config/i18n/ja-JP.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1841,7 +1841,8 @@
18411841
"name": "ShipyardDr.ResearchSeries.name",
18421842
"help": "ShipyardDr.ResearchSeries.help",
18431843
"2": "2",
1844-
"3": "3"
1844+
"3": "3",
1845+
"4": "4"
18451846
},
18461847
"ShipIndex": {
18471848
"name": "ShipyardDr.ShipIndex.name",
@@ -1874,7 +1875,8 @@
18741875
"1": "1",
18751876
"2": "2",
18761877
"3": "3",
1877-
"4": "4"
1878+
"4": "4",
1879+
"5": "5"
18781880
},
18791881
"ShipIndex": {
18801882
"name": "Shipyard.ShipIndex.name",

module/config/i18n/zh-CN.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1841,7 +1841,8 @@
18411841
"name": "科研期数",
18421842
"help": "",
18431843
"2": "二期科研",
1844-
"3": "三期科研"
1844+
"3": "三期科研",
1845+
"4": "四期科研"
18451846
},
18461847
"ShipIndex": {
18471848
"name": "舰船序号",
@@ -1874,7 +1875,8 @@
18741875
"1": "一期科研",
18751876
"2": "二期科研",
18761877
"3": "三期科研",
1877-
"4": "四期科研"
1878+
"4": "四期科研",
1879+
"5": "五期科研"
18781880
},
18791881
"ShipIndex": {
18801882
"name": "舰船序号",

module/config/i18n/zh-TW.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1841,7 +1841,8 @@
18411841
"name": "科研期數",
18421842
"help": "",
18431843
"2": "二期科研",
1844-
"3": "三期科研"
1844+
"3": "三期科研",
1845+
"4": "四期科研"
18451846
},
18461847
"ShipIndex": {
18471848
"name": "艦船序號",
@@ -1874,7 +1875,8 @@
18741875
"1": "一期科研",
18751876
"2": "二期科研",
18761877
"3": "三期科研",
1877-
"4": "四期科研"
1878+
"4": "四期科研",
1879+
"5": "五期科研"
18781880
},
18791881
"ShipIndex": {
18801882
"name": "艦船序號",

module/ocr/rpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def debug(self, img_list):
171171

172172
class ModelProxyFactory:
173173
def __getattribute__(self, __name: str) -> ModelProxy:
174-
if __name in ["azur_lane", "cnocr", "jp", "tw"]:
174+
if __name in ["azur_lane", "cnocr", "jp", "tw", "azur_lane_jp"]:
175175
if ModelProxy.client is None:
176176
ModelProxy.init(address=State.deploy_config.OcrClientAddress)
177177
return ModelProxy(lang=__name)

0 commit comments

Comments
 (0)