Allow masc and female in classes and races names
Summary
In portuguese, every word keep a gender, so cleric can be: "Clérigo" (for man) or "Clériga" (for female). This happen too with the races: dwarf (anão/anã), human (humano/humana), etc.
As the user insert the race/class value, would be expected that a female barbarian enter "Bárbara" in class. In this case, the import config and automatic stats don't work.
Technical Notes
The actual location method (toolkit13-de/toolkit13-de.js at main · mhilbrunner/toolkit13-de) change the maps in CONFIG.ARCHMAGE.raceList
and CONFIG.ARCHMAGE.classList
. Maybe this can be solved allow the two possibilities in the map translation:
Util.setAllIfExist(CONFIG.ARCHMAGE.classList, {
'barbarian': 'Bárbaro/Bárbara',
'bard': 'Bardo/Barda',
...
}
Another option is do the value as regex. So this can be much flexible: inclusive in a single word (as Cleric
) or multiples (as Clérig(o|a)
).
Acceptance Criteria
-
Regex in Races (!359 (merged)) -
Regex in Classes
Labels (do-not-change)
Edited by Manoel Mozzer