Skip to content

Commit b64f1eb

Browse files
authored
Scaling Health 翻译修复 (#5422)
* init * 1.19 backport * 使用packer policy * 完成README和通过packer policy的1.18、1.16 backport
1 parent f2aad71 commit b64f1eb

File tree

11 files changed

+167
-0
lines changed

11 files changed

+167
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
本命名空间下的内容不加载,见[1.20README](/projects/1.20/assets/scaling-health/scalinghealth/README.md)
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[
2+
{
3+
"type": "indirect",
4+
"source": "projects/1.19/assets/scaling-health/scalinghealth"
5+
}
6+
]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
本命名空间下的内容不加载,见[1.20README](/projects/1.20/assets/scaling-health/scalinghealth/README.md)
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[
2+
{
3+
"type": "indirect",
4+
"source": "projects/1.19/assets/scaling-health/scalinghealth"
5+
}
6+
]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[1.20README](/projects/1.20/assets/scaling-health/scalinghealth/README.md)
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"blight.scalinghealth": "Blight %s",
3+
"blight.scalinghealth.killedByPlayer": "Blight %s was killed by %s!",
4+
"block.scalinghealth.deepslate_heart_crystal_ore": "Deepslate Heart Crystal Ore",
5+
"block.scalinghealth.deepslate_power_crystal_ore": "Deepslate Power Crystal Ore",
6+
"block.scalinghealth.heart_crystal_ore": "Heart Crystal Ore",
7+
"block.scalinghealth.power_crystal_ore": "Power Crystal Ore",
8+
"command.scalinghealth.difficulty.area": "Area Difficulty: %s",
9+
"command.scalinghealth.difficulty.player": "Player Difficulty: %s",
10+
"command.scalinghealth.difficulty.server": "Server Difficulty: %s",
11+
"command.scalinghealth.health.actual": "Actual Health: %s",
12+
"command.scalinghealth.health.heartCrystals": "Heart Crystals: %s",
13+
"command.scalinghealth.health.heartCrystals.values": "%d (%s health)",
14+
"command.scalinghealth.outOfBounds": "Value must be between %s and %s",
15+
"command.scalinghealth.playerName": "Player: %s %s",
16+
"command.scalinghealth.playerName.inDimension": "(in dimension %s)",
17+
"command.scalinghealth.power.actual": "Actual Attack Damage: %s",
18+
"command.scalinghealth.power.powerCrystals": "Power Crystals: %s",
19+
"command.scalinghealth.power.powerCrystals.values": "%d (%s damage)",
20+
"command.scalinghealth.recalculate.finish": "Recalculate finished! Processed %d entities.",
21+
"command.scalinghealth.recalculate.start": "Recalculating difficulty for all entities! This may take some time...",
22+
"command.scalinghealth.valueOverMax": "%s / %s",
23+
"effect.scalinghealth.bandaged": "Bandaged",
24+
"item.scalinghealth.bandages": "Bandages",
25+
"item.scalinghealth.chance_heart": "Chance Heart",
26+
"item.scalinghealth.cursed_heart": "Cursed Heart",
27+
"item.scalinghealth.difficulty_changer.effectDesc": "Difficulty %s",
28+
"item.scalinghealth.enchanted_heart": "Enchanted Heart",
29+
"item.scalinghealth.healing_item.howToUse": "Use for %d seconds to apply.",
30+
"item.scalinghealth.healing_item.value": "Restores %d%% of your health over %d seconds.",
31+
"item.scalinghealth.heart_crystal": "Heart Crystal",
32+
"item.scalinghealth.heart_crystal.desc": "Increases maximum health",
33+
"item.scalinghealth.heart_crystal_shard": "Heart Crystal Shard",
34+
"item.scalinghealth.heart_dust": "Heart Dust",
35+
"item.scalinghealth.medkit": "Medkit",
36+
"item.scalinghealth.power_crystal": "Power Crystal",
37+
"item.scalinghealth.power_crystal.desc": "Increases base attack damage",
38+
"item.scalinghealth.power_crystal_shard": "Power Crystal Shard",
39+
"item.scalinghealth.stat_booster.notEnoughXP": "You need %d XP levels to use this.",
40+
"itemGroup.scalinghealth": "Scaling Health",
41+
"key.scalinghealth.difficultyMeter": "Difficulty Meter Toggle",
42+
"misc.scalinghealth.afkmessage": "You are now afk, you will gain less difficulty with time.",
43+
"misc.scalinghealth.difficultyMeterText": "DIFFICULTY",
44+
"misc.scalinghealth.sleepWarning": "[Scaling Health] Warning: Sleeping will change your difficulty.",
45+
"scalinghealth.modes.difficulty.average": "Average",
46+
"scalinghealth.modes.difficulty.distance": "Distance",
47+
"scalinghealth.modes.difficulty.distance_and_time": "Distance and Time",
48+
"scalinghealth.modes.difficulty.extrema": "Extrema",
49+
"scalinghealth.modes.difficulty.server_wide": "Server Wide",
50+
"scalinghealth.subtitle.cursed_heart_use": "Cursed Heart used",
51+
"scalinghealth.subtitle.enchanted_heart_use": "Enchanted Heart used",
52+
"scalinghealth.subtitle.heart_crystal_use": "Heart Crystal used",
53+
"scalinghealth.subtitle.player_died": "Somebody died (LOL)"
54+
}
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"blight.scalinghealth": "瘟疫%s",
3+
"blight.scalinghealth.killedByPlayer": "瘟疫%1$s被%2$s杀了!",
4+
"block.scalinghealth.deepslate_heart_crystal_ore": "深层心晶矿石",
5+
"block.scalinghealth.deepslate_power_crystal_ore": "深层力晶矿石",
6+
"block.scalinghealth.heart_crystal_ore": "心晶矿石",
7+
"block.scalinghealth.power_crystal_ore": "力晶矿石",
8+
"command.scalinghealth.difficulty.area": "区域难度:%s",
9+
"command.scalinghealth.difficulty.player": "玩家难度:%s",
10+
"command.scalinghealth.difficulty.server": "服务器难度: %s",
11+
"command.scalinghealth.health.actual": "实际生命值:%s",
12+
"command.scalinghealth.health.heartCrystals": "心晶:%s",
13+
"command.scalinghealth.health.heartCrystals.values": "%d(%s生命值)",
14+
"command.scalinghealth.outOfBounds": "该数值必须在%s与%s之间。",
15+
"command.scalinghealth.playerName": "玩家:%s %s",
16+
"command.scalinghealth.playerName.inDimension": "(在%s维度)",
17+
"command.scalinghealth.power.actual": "实际攻击伤害:%s",
18+
"command.scalinghealth.power.powerCrystals": "力晶:%s",
19+
"command.scalinghealth.power.powerCrystals.values": "%d(%s 伤害)",
20+
"command.scalinghealth.recalculate.finish": "重新计算完成!处理了%d个实体。",
21+
"command.scalinghealth.recalculate.start": "正在重新计算所有实体的难度!这会花一些时间……",
22+
"command.scalinghealth.valueOverMax": "%s / %s",
23+
"effect.scalinghealth.bandaged": "已包扎",
24+
"item.scalinghealth.bandages": "绷带",
25+
"item.scalinghealth.chance_heart": "运势之心",
26+
"item.scalinghealth.cursed_heart": "诅咒之心",
27+
"item.scalinghealth.difficulty_changer.effectDesc": "难度 %s",
28+
"item.scalinghealth.enchanted_heart": "蕴魔之心",
29+
"item.scalinghealth.healing_item.howToUse": "需要%d秒来使用。",
30+
"item.scalinghealth.healing_item.value": "恢复你%d%%生命值,作用时长%d秒。",
31+
"item.scalinghealth.heart_crystal": "心晶",
32+
"item.scalinghealth.heart_crystal.desc": "增加最大生命值",
33+
"item.scalinghealth.heart_crystal_shard": "心晶碎片",
34+
"item.scalinghealth.heart_dust": "心尘",
35+
"item.scalinghealth.medkit": "医疗包",
36+
"item.scalinghealth.power_crystal": "力晶",
37+
"item.scalinghealth.power_crystal.desc": "增加基础攻击伤害",
38+
"item.scalinghealth.power_crystal_shard": "力晶碎片",
39+
"item.scalinghealth.stat_booster.notEnoughXP": "你需要%d级来使用这个物品",
40+
"itemGroup.scalinghealth": "Scaling Health",
41+
"key.scalinghealth.difficultyMeter": "开关难度计",
42+
"misc.scalinghealth.afkmessage": "你当前处于AFK状态,随时间推移而增加的难度值将减少",
43+
"misc.scalinghealth.difficultyMeterText": "难度",
44+
"misc.scalinghealth.sleepWarning": "[Scaling Health] 警告:睡觉会改变你的难度!",
45+
"scalinghealth.modes.difficulty.average": "平均",
46+
"scalinghealth.modes.difficulty.distance": "距离",
47+
"scalinghealth.modes.difficulty.distance_and_time": "距离和时间",
48+
"scalinghealth.modes.difficulty.extrema": "极值",
49+
"scalinghealth.modes.difficulty.server_wide": "服务器统一",
50+
"scalinghealth.subtitle.cursed_heart_use": "已使用诅咒之心",
51+
"scalinghealth.subtitle.enchanted_heart_use": "已使用蕴魔之心",
52+
"scalinghealth.subtitle.heart_crystal_use": "已使用心晶",
53+
"scalinghealth.subtitle.player_died": "有人死掉了(哈哈)"
54+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# 引用结构
2+
3+
```mermaid
4+
flowchart LR
5+
1.19 -->|indirect| A[1.20 + direct]
6+
1.19 -->|indirect| 1.18
7+
1.19 -->|indirect| 1.16
8+
```
9+
10+
[1.19](/projects/1.19/assets/scaling-health/scalinghealth) 为基准。
11+
12+
1.20 修改了 `command.scalinghealth.playerName` 的占位符 `%s` 数量,以 direct 形式修复。
13+
14+
部分更新在 1.19 作出,由 indirect 反向更新到更低版本。出于保留历史记录的必要,未删除相应版本的 zh_cn.json。
15+
16+
# 已知问题
17+
18+
游戏中击杀 Blight 变种(有紫色火焰效果)的敌对生物使会给所有玩家发送消息,但该消息的生成[代码](https://github.com/SilentChaos512/ScalingHealth/blob/1.20/src/main/java/net/silentchaos512/scalinghealth/event/BlightHandler.java)存在问题,导致产生类似“%1$s被$%2$s杀死了 *玩家名*”(其中*玩家名*是击杀者)的消息。
19+
20+
该问题无法通过我们解决。
21+
22+
# 链接区域
23+
24+
[1.19](/projects/1.19/assets/scaling-health/scalinghealth)
25+
[1.18](/projects/1.18/assets/scaling-health/scalinghealth)
26+
[1.16](/projects/1.16/assets/scaling-health/scalinghealth)
27+
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"command.scalinghealth.playerName": "Player: %s",
3+
"scalinghealth.tab": "Scaling Health"
4+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"command.scalinghealth.playerName": "玩家:%s",
3+
"scalinghealth.tab": "Scaling Health"
4+
}

0 commit comments

Comments
 (0)