Skip to content

Commit 0852d85

Browse files
authored
HexCasting 翻译排除 (#5598)
1 parent 9a71e57 commit 0852d85

File tree

6 files changed

+98
-59
lines changed

6 files changed

+98
-59
lines changed

config/packer/1.20-fabric.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
"zh_cn"
66
],
77
"exclusionMods": [],
8-
"exclusionNamespaces": []
8+
"exclusionNamespaces": [
9+
"hexcasting"
10+
]
911
},
1012
"floating": {
1113
"inclusionDomains": [

config/packer/1.20.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"exclusionNamespaces": [
99
"cataclysm",
1010
"alexscaves",
11+
"hexcasting",
1112
"biomancy"
1213
]
1314
},

projects/1.20-fabric/assets/hexcasting/hexcasting/lang/en_us.flatten.json5

Lines changed: 26 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@
103103

104104
uuid_colorizer: "Soulglimmer Pigment",
105105
default_colorizer: "Vacant Pigment",
106+
ancient_colorizer: "Ancient Pigment",
106107

107108
creative_unlocker: {
108109
"": "The Media Cube",
@@ -381,6 +382,14 @@
381382
"": "Greater Teleport Splats Items",
382383
"@Tooltip": "Whether items should fly out of the player's inventory when using Greater Teleport"
383384
},
385+
doesTrueNameHaveAmbit: {
386+
"": "Does True Name Have Ambit",
387+
"@Tooltip": "Whether True Names (ie entity references to a player) should allow targeting the referenced player even outside of normal ambit",
388+
},
389+
tpDimDenylist: {
390+
"": "Teleport Dimension Deny List",
391+
"@Tooltip": "Resource locations of dimensions where teleportation is not allowed",
392+
},
384393
villagersOffendedByMindMurder: {
385394
"": "Villagers Offended By Mind Murder",
386395
"@Tooltip": "Whether villagers should be angry at the player when other villagers are mindflayed",
@@ -802,7 +811,7 @@
802811
arcsin: "Inverse Sine Purification",
803812
arccos: "Inverse Cosine Purification",
804813
arctan: "Inverse Tangent Purification",
805-
arctan2: "Inverse Tangent Purification II",
814+
arctan2: "Inverse Tangent Distillation",
806815
random: "Entropy Reflection",
807816
logarithm: "Logarithmic Distillation",
808817
coerce_axial: "Axial Purification",
@@ -933,7 +942,7 @@
933942
arcsin: "Inverse Sine Prfn.",
934943
arccos: "Inverse Cosine Prfn.",
935944
arctan: "Inverse Tangent Prfn.",
936-
arctan2: "Inverse Tan. Prfn. II",
945+
arctan2: "Inverse Tangent Dstl.",
937946

938947
"const/vec/": {
939948
x: "Vector Rfln. +X/-X",
@@ -1037,9 +1046,9 @@
10371046

10381047
entity: {
10391048
"": "an entity",
1049+
mob: "a mob",
10401050
item: "an item entity",
10411051
player: "a player",
1042-
villager: "a villager",
10431052
living: "a living entity",
10441053
},
10451054

@@ -1181,16 +1190,12 @@
11811190
It's probably just the ramblings of extinct traditionalists, though -- a pattern's a pattern.$(br2)\
11821191
What could possibly go wrong?",
11831192
},
1184-
creative_unlocker: {
1185-
"": "The Media Cube",
1186-
desc: "I have found a source of near limitless power, The Media Cube.",
1187-
}
11881193
},
11891194
// ^ categories
11901195

11911196
entry: {
11921197
media: "Media",
1193-
media_cube: "The Media Cube",
1198+
creative_items: "Creative-Only Items",
11941199
geodes: "Geodes",
11951200
couldnt_cast: "A Frustration",
11961201
start_to_see: "WHAT DID I SEE",
@@ -1290,12 +1295,18 @@
12901295
// ^ entries
12911296

12921297
page: {
1293-
creative_unlocker: {
1294-
"1": "The $(#74b3f2)Media Cube/$ is a near-limitless source of power, acting as an infinite source of _media for whatever _Hexes I wish to cast. It also looks quite tasty. Eating it might perhaps reveal more about the world, possibly delving into spoiler territory...",
1298+
creative_items: {
1299+
"1": "I have invented some fanciful items that can only be acquired through $(italic)creative/$ means.",
1300+
creative_unlocker: "The $(#74b3f2)Media Cube/$ is a near-limitless source of power, acting as an infinite source of _media for whatever _Hexes I wish to cast. It also looks quite tasty. Eating it might perhaps reveal more about the world, possibly delving into spoiler territory...",
12951301
"2": "Additionally, it seems that by renaming a $(#74b3f2)Media Cube/$ at an Anvil, I should be able to utilize it to test and understand more about my _Hexes. If I have somehow acquired Creative power over the world, I might wish to turn that off before attempting any of the following.",
1296-
"3": "By renaming the $(#74b3f2)Media Cube/$ to 'debug media', I will be given feedback in the chat window about the amount of media consumed.",
1302+
debug_media: {
1303+
// do not localize 'debug media' in the title or description, the item must be named exactly that
1304+
// TODO: we can remove the title if hexdoc-dev/hexdoc#85 is implemented, since the title in Patchouli already defaults to the item name
1305+
title: "debug media",
1306+
desc: "By renaming the $(#74b3f2)Media Cube/$ to 'debug media', I will be given feedback in the chat window about the amount of media consumed.",
1307+
},
12971308
// NOTE: The following feature documented is broken in the current implementation. It should be uncommented and the page in patchouli should be updated when the feature is fixed.
1298-
//"4": "By renaming the $(#74b3f2)Media Cube/$ to 'debug patterns', I will be given feedback in the chat window about the order patterns are ran."
1309+
//debug_patterns: "By renaming the $(#74b3f2)Media Cube/$ to 'debug patterns', I will be given feedback in the chat window about the order patterns are ran."
12991310
},
13001311
media: {
13011312
"1": "_Media is a form of mental energy external to a mind. All living creatures generate trace amounts of _media when thinking about anything; after the thought is finished, the media is released into the environment.$(br2)The art of casting _Hexes is all about manipulating _media to do your bidding.",
@@ -1563,7 +1574,8 @@
15631574

15641575
ancient_cyphers: {
15651576
"1": "While adventuring, I've come across what appear to be $(l:items/hexcasting)$(item)Cyphers/$ created by the Hexcasters of the ancient past. These $(item)Ancient Cyphers/$ work just like the ones I can craft: they can't be recharged, and will break when their reserve of _Media runs out. However, unlike my own $(l:items/hexcasting)$(item)Cyphers/$, their decayed structure allows me to glimpse the _Hex stored within.",
1566-
"2": "These may be useful for learning new techniques - who better to teach me than ancient masters of the art?$(br2)Alternatively, I could erase the contents of one and store my own _Hex inside, creating a casting item that clearly displays its own function."
1577+
"2": "These may be useful for learning new techniques - who better to teach me than ancient masters of the art?$(br2)Alternatively, I could erase the contents of one and store my own _Hex inside, creating a casting item that clearly displays its own function.",
1578+
"3": "The $(l:items/pigments)$(item)Pigment/$ baked into these relics is a unique blend of purple and orange, matching their copper-and-amethyst appearance. I can replicate it using the above recipe.",
15671579
},
15681580

15691581
phials: {
@@ -1586,7 +1598,7 @@
15861598
"colored.crafting.header": "Chromatic Pigments",
15871599
"colored.crafting.desc": "Pigments in all the colors of the rainbow.",
15881600

1589-
special: "And finally, a pair of special pigments. $(item)Soulglimmer Pigment/$ shines with colors wholly unique to me, and $(item)Vacant Pigment/$ restores my original purplish-orange spread.$(br2)$(italic)And all the colors I am inside have not been invented yet./$",
1601+
special: "And finally, a pair of special pigments. $(item)Soulglimmer Pigment/$ shines with colors wholly unique to me, and $(item)Vacant Pigment/$ restores my original amethyst hue.$(br2)$(italic)And all the colors I am inside have not been invented yet./$",
15901602
},
15911603

15921604
edified: {

projects/1.20/assets/hexcasting/hexcasting/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ flowchart LR
1313
### 链接区域
1414

1515
- [1.20.1](/projects/1.20/assets/hexcasting/hexcasting)
16-
- [1.20.1](/projects/1.20/assets/hexcasting/hexcasting)
16+
- [1.20.1-fabric](/projects/1.20-fabric/assets/hexcasting/hexcasting)

projects/1.20/assets/hexcasting/hexcasting/lang/en_us.flatten.json5

Lines changed: 26 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@
103103

104104
uuid_colorizer: "Soulglimmer Pigment",
105105
default_colorizer: "Vacant Pigment",
106+
ancient_colorizer: "Ancient Pigment",
106107

107108
creative_unlocker: {
108109
"": "The Media Cube",
@@ -381,6 +382,14 @@
381382
"": "Greater Teleport Splats Items",
382383
"@Tooltip": "Whether items should fly out of the player's inventory when using Greater Teleport"
383384
},
385+
doesTrueNameHaveAmbit: {
386+
"": "Does True Name Have Ambit",
387+
"@Tooltip": "Whether True Names (ie entity references to a player) should allow targeting the referenced player even outside of normal ambit",
388+
},
389+
tpDimDenylist: {
390+
"": "Teleport Dimension Deny List",
391+
"@Tooltip": "Resource locations of dimensions where teleportation is not allowed",
392+
},
384393
villagersOffendedByMindMurder: {
385394
"": "Villagers Offended By Mind Murder",
386395
"@Tooltip": "Whether villagers should be angry at the player when other villagers are mindflayed",
@@ -802,7 +811,7 @@
802811
arcsin: "Inverse Sine Purification",
803812
arccos: "Inverse Cosine Purification",
804813
arctan: "Inverse Tangent Purification",
805-
arctan2: "Inverse Tangent Purification II",
814+
arctan2: "Inverse Tangent Distillation",
806815
random: "Entropy Reflection",
807816
logarithm: "Logarithmic Distillation",
808817
coerce_axial: "Axial Purification",
@@ -933,7 +942,7 @@
933942
arcsin: "Inverse Sine Prfn.",
934943
arccos: "Inverse Cosine Prfn.",
935944
arctan: "Inverse Tangent Prfn.",
936-
arctan2: "Inverse Tan. Prfn. II",
945+
arctan2: "Inverse Tangent Dstl.",
937946

938947
"const/vec/": {
939948
x: "Vector Rfln. +X/-X",
@@ -1037,9 +1046,9 @@
10371046

10381047
entity: {
10391048
"": "an entity",
1049+
mob: "a mob",
10401050
item: "an item entity",
10411051
player: "a player",
1042-
villager: "a villager",
10431052
living: "a living entity",
10441053
},
10451054

@@ -1181,16 +1190,12 @@
11811190
It's probably just the ramblings of extinct traditionalists, though -- a pattern's a pattern.$(br2)\
11821191
What could possibly go wrong?",
11831192
},
1184-
creative_unlocker: {
1185-
"": "The Media Cube",
1186-
desc: "I have found a source of near limitless power, The Media Cube.",
1187-
}
11881193
},
11891194
// ^ categories
11901195

11911196
entry: {
11921197
media: "Media",
1193-
media_cube: "The Media Cube",
1198+
creative_items: "Creative-Only Items",
11941199
geodes: "Geodes",
11951200
couldnt_cast: "A Frustration",
11961201
start_to_see: "WHAT DID I SEE",
@@ -1290,12 +1295,18 @@
12901295
// ^ entries
12911296

12921297
page: {
1293-
creative_unlocker: {
1294-
"1": "The $(#74b3f2)Media Cube/$ is a near-limitless source of power, acting as an infinite source of _media for whatever _Hexes I wish to cast. It also looks quite tasty. Eating it might perhaps reveal more about the world, possibly delving into spoiler territory...",
1298+
creative_items: {
1299+
"1": "I have invented some fanciful items that can only be acquired through $(italic)creative/$ means.",
1300+
creative_unlocker: "The $(#74b3f2)Media Cube/$ is a near-limitless source of power, acting as an infinite source of _media for whatever _Hexes I wish to cast. It also looks quite tasty. Eating it might perhaps reveal more about the world, possibly delving into spoiler territory...",
12951301
"2": "Additionally, it seems that by renaming a $(#74b3f2)Media Cube/$ at an Anvil, I should be able to utilize it to test and understand more about my _Hexes. If I have somehow acquired Creative power over the world, I might wish to turn that off before attempting any of the following.",
1296-
"3": "By renaming the $(#74b3f2)Media Cube/$ to 'debug media', I will be given feedback in the chat window about the amount of media consumed.",
1302+
debug_media: {
1303+
// do not localize 'debug media' in the title or description, the item must be named exactly that
1304+
// TODO: we can remove the title if hexdoc-dev/hexdoc#85 is implemented, since the title in Patchouli already defaults to the item name
1305+
title: "debug media",
1306+
desc: "By renaming the $(#74b3f2)Media Cube/$ to 'debug media', I will be given feedback in the chat window about the amount of media consumed.",
1307+
},
12971308
// NOTE: The following feature documented is broken in the current implementation. It should be uncommented and the page in patchouli should be updated when the feature is fixed.
1298-
//"4": "By renaming the $(#74b3f2)Media Cube/$ to 'debug patterns', I will be given feedback in the chat window about the order patterns are ran."
1309+
//debug_patterns: "By renaming the $(#74b3f2)Media Cube/$ to 'debug patterns', I will be given feedback in the chat window about the order patterns are ran."
12991310
},
13001311
media: {
13011312
"1": "_Media is a form of mental energy external to a mind. All living creatures generate trace amounts of _media when thinking about anything; after the thought is finished, the media is released into the environment.$(br2)The art of casting _Hexes is all about manipulating _media to do your bidding.",
@@ -1563,7 +1574,8 @@
15631574

15641575
ancient_cyphers: {
15651576
"1": "While adventuring, I've come across what appear to be $(l:items/hexcasting)$(item)Cyphers/$ created by the Hexcasters of the ancient past. These $(item)Ancient Cyphers/$ work just like the ones I can craft: they can't be recharged, and will break when their reserve of _Media runs out. However, unlike my own $(l:items/hexcasting)$(item)Cyphers/$, their decayed structure allows me to glimpse the _Hex stored within.",
1566-
"2": "These may be useful for learning new techniques - who better to teach me than ancient masters of the art?$(br2)Alternatively, I could erase the contents of one and store my own _Hex inside, creating a casting item that clearly displays its own function."
1577+
"2": "These may be useful for learning new techniques - who better to teach me than ancient masters of the art?$(br2)Alternatively, I could erase the contents of one and store my own _Hex inside, creating a casting item that clearly displays its own function.",
1578+
"3": "The $(l:items/pigments)$(item)Pigment/$ baked into these relics is a unique blend of purple and orange, matching their copper-and-amethyst appearance. I can replicate it using the above recipe.",
15671579
},
15681580

15691581
phials: {
@@ -1586,7 +1598,7 @@
15861598
"colored.crafting.header": "Chromatic Pigments",
15871599
"colored.crafting.desc": "Pigments in all the colors of the rainbow.",
15881600

1589-
special: "And finally, a pair of special pigments. $(item)Soulglimmer Pigment/$ shines with colors wholly unique to me, and $(item)Vacant Pigment/$ restores my original purplish-orange spread.$(br2)$(italic)And all the colors I am inside have not been invented yet./$",
1601+
special: "And finally, a pair of special pigments. $(item)Soulglimmer Pigment/$ shines with colors wholly unique to me, and $(item)Vacant Pigment/$ restores my original amethyst hue.$(br2)$(italic)And all the colors I am inside have not been invented yet./$",
15901602
},
15911603

15921604
edified: {

0 commit comments

Comments
 (0)