ab+/ja_jp small fixes (#889)

This commit is contained in:
prefab authored and GitHub committed 2025-07-08 16:43:08 +02:00
1 parent 1af5930fc5
commit 338c68914b
1 file changed
+6 -7
+6 -7
View File
@@ -1,7 +1,7 @@
--------------------------------------- ---------------------------------------
----- Basic Japanese descriptions ---- ----- Basic Japanese descriptions ----
--------------------------------------- ---------------------------------------
-- Last Update: 2024-11-18 -- Last Update: 2025-07-01
-- FORMAT: Item ID | Name | Description -- FORMAT: Item ID | Name | Description
-- Special character markup: -- Special character markup:
@@ -1094,11 +1094,12 @@ EID.descriptions[languageCode].transformations={
---------- MISC ---------- ---------- MISC ----------
-- a function that will get applied onto specific descriptions (glitched items, Abyss locusts,...) to pluralize them -- a function that will get applied onto specific descriptions (glitched items, Abyss locusts,...) to pluralize them, make it nil to not pluralize
-- Each language can do their own algorithm to modify the given text to their needs -- Each language can do their own algorithm to modify the given text to their needs
EID.descriptions[languageCode].PluralizeFunction = function(text, amount) EID.descriptions[languageCode].PluralizeFunction = function(text, amount)
-- TODO: Not Implemented right now... -- English plural is very easy. Simply put an "s" at the end of specific words, if amount > 1
return text -- replace {pluralize} placeholders inside the text with an "s"
return EID:ReplaceVariableStr(text, "pluralize", amount > 1 and "s" or "")
end end
EID.descriptions[languageCode].VoidText = "吸収した時:" EID.descriptions[languageCode].VoidText = "吸収した時:"
@@ -1300,6 +1301,7 @@ EID.descriptions[languageCode].ConditionalDescs = {
["5.100.81"] = "赤ハートを持てないキャラは 青/黒ハートを1個にする", -- Dead Cat ["5.100.81"] = "赤ハートを持てないキャラは 青/黒ハートを1個にする", -- Dead Cat
-- ["5.100.316"] = "{1}removes the teleportation effect", -- Cursed Eye -- ["5.100.316"] = "{1}removes the teleportation effect", -- Cursed Eye
-- ["5.100.260"] = "Removes the teleportation effect of {1}", -- Black Candle -- ["5.100.260"] = "Removes the teleportation effect of {1}", -- Black Candle
["Void Single Use"] = "使い切りアイテムは 一度だけ発動できる", -- Single Use Actives + Void
["? Card Single Use"] = "使い切りアイテムは ?カードを使うと消失する", -- Single Use Actives + ? Card ["? Card Single Use"] = "使い切りアイテムは ?カードを使うと消失する", -- Single Use Actives + ? Card
["5.300.48"] = "I AM ERRORにテレポート#白紙のカードと?カード 両方が消失する", -- Blank Card + ? Card ["5.300.48"] = "I AM ERRORにテレポート#白紙のカードと?カード 両方が消失する", -- Blank Card + ? Card
["? + Blank Pedestal"] = "白紙のカードで?カードを 使うと、I _AM_ERRORに テレポートし、両カード共 消失する", -- Looking at Blank Card with ? Card ["? + Blank Pedestal"] = "白紙のカードで?カードを 使うと、I _AM_ERRORに テレポートし、両カード共 消失する", -- Looking at Blank Card with ? Card
@@ -1343,6 +1345,3 @@ EID.descriptions[languageCode].ConditionalDescs = {
["5.300.10"] = "お店が無い場合、ランダムな 部屋にテレポートする", -- IX - The Hermit (Womb and below) ["5.300.10"] = "お店が無い場合、ランダムな 部屋にテレポートする", -- IX - The Hermit (Womb and below)
} }