Replaced all name matching checks that used only Latin a-zA-z regex with StringUtils isAlphanumeric, which works for all languages. Also reworked some placeholders.
Change Details
Instances of String matching for name validation now use StringUtils isAlphanumeric.
All of the town listing placeholders were changed to instead return the number of towns.
towns_lord -> num_town_lord
towns_knight -> num_town_knight
towns_resident -> num_town_resident
towns_all -> num_town_all
Checklist
[x] I have merged the latest develop commit into this branch and resolved any conflicts.
[x] I have tested this branch and it is working as intended.
[x] This Pull Request is ready for review and merging.
Konquest Pull Request
Closes #187
Summary
Replaced all name matching checks that used only Latin a-zA-z regex with StringUtils isAlphanumeric, which works for all languages. Also reworked some placeholders.
Change Details
Checklist
develop
commit into this branch and resolved any conflicts.