-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Additional salutations and custom addition method #45
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @jamessampford . Thanks for this PR. I would like to merge the added salutations, but not the custom salutation methods. The reasoning is that the NameParser already allows the passing of several custom language extension classes. You should really use that mechanism instead. It is also much more flexible as those custom classes can e.g. source the definitions from configuration files, data stores etc. .
This picks up from theiconic#54 and theiconic#45 but only the additional prefixes & suffixes - not the logic
Added a few extra salutations as per #42 and also provided some additional methods to add custom salutations in that do not already exist
I was wondering if perhaps some salutations could be standardised - I've added a few examples into the list [Professor => Prof; Reverend => Rev; Pastor => Pr]
Additional ones could potentially pick up Doctor and transform it to Dr, Father to Fr, etc