Improved pluralization by enabling each language to provide their own pluralization algorithm
This commit is contained in:
1 parent
59e1ed454e
commit
6e5610cce1
29 files changed
+229
-136
No files matched your search
@@ -968,8 +968,12 @@ EID.descriptions[languageCode].transformations={
|
||||
}
|
||||
|
||||
---------- Misc ----------
|
||||
-- This string will be appended to certain words (like pickup names in glitched item descriptions) to pluralize them, make it "" to not pluralize
|
||||
EID.descriptions[languageCode].Pluralize = ""
|
||||
-- a function that will get applied onto specific descriptions (glitched items, Abyss locusts,...) to pluralize them
|
||||
-- Each language can do their own algorithm to modify the given text to their needs
|
||||
EID.descriptions[languageCode].PluralizeFunction = function(text, amount)
|
||||
-- TODO: Not Implemented right now...
|
||||
return text
|
||||
end
|
||||
|
||||
EID.descriptions[languageCode].VoidText = "흡수 시 이하 능력치 증가:"
|
||||
EID.descriptions[languageCode].VoidNames = {"이동속도 {1}", "연사 {1}", "공격력 {1}", "사거리 {1}", "탄속 {1}", "행운 {1}"}
|
||||
@@ -992,7 +996,8 @@ EID.descriptions[languageCode].MCM={
|
||||
DemoObjectText = "이 설명은 한국어로 작성되었습니다.#!!! 간단 설정 방법:#{{Collectible182}} 폰트: Visuals→Font Type#{{Freezing}} 텍스트박스 너비: General→Textbox Width#\1 {{Damage}}테스트 공격력 +1#{{AngelDevilChance}} 악마와 천사, 당신의 선택은?#{{DeliriumSmall}} 모두가 싫어하는 델리리움",
|
||||
}
|
||||
-- Find/replace pairs for changing "+1 Health" to "+1 Soul Heart" for soul health characters, or nothing at all for The Lost
|
||||
-- {1} = number of hearts, {2} = plural character
|
||||
-- {1} = number of hearts, {pluralize} = plural character
|
||||
-- These texts are affected by the PluralizeFunction (ab+ file)
|
||||
-- If having a simple plural character doesn't work for your language, you could just include an extra string pair to catch plural lines
|
||||
EID.descriptions[languageCode].RedToX = {
|
||||
-- These change "+1 Health" to just "+1 Soul Heart" and etc.
|
||||
|
||||
Reference in new issue
Block a user