Improved pluralization by enabling each language to provide their own pluralization algorithm

This commit is contained in:
Wofsauge committed 2025-04-11 00:31:24 +02:00
1 parent 59e1ed454e
commit 6e5610cce1
29 files changed
+229 -136

No files matched your search

+2 -1
View File
@@ -653,7 +653,7 @@ EID.descriptions[languageCode].bookOfVirtuesWisps = {
---------- Abyss Locust description parts ----------
EID.descriptions[languageCode].AbyssTexts = {
-- values inside {} brackets will be replaced with text parts below
-- As the last step, {pluralize} will be replaced with the "Pluralize" value.
-- Abyss texts are affected by the PluralizeFunction (ab+ file)
-- The placeholder therefore can be used in all parts that make up the abyss locust descriptions
InfoText = "{amount} {size} locusta/e {speed} ({dmg})",
InfoTextPlural = "{amount} {size} locusta/e {speed} ({dmg})", -- Can be used by translators to provide a pluralized version of the InfoText
@@ -1315,6 +1315,7 @@ EID.descriptions[languageCode].birthright ={
EID.descriptions[languageCode].GlitchedItemText = {
-- Item Config info
-- These texts are affected by the PluralizeFunction (ab+ file)
AddBlackHearts = "{{BlackHeart}} {1} Cuore/i Nero/i",
AddBombs = "{{Bomb}} {1} Bomba/e",
AddCoins = "{{Coin}} {1} Moneta/e",