Skip to content

Commit

Permalink
Additional prefixes & suffixes
Browse files Browse the repository at this point in the history
This picks up from
theiconic#54
and theiconic#45
but only the additional prefixes & suffixes - not the logic
  • Loading branch information
eileenmcnaughton committed Mar 2, 2024
1 parent ccd39e7 commit 7f591cf
Showing 1 changed file with 33 additions and 1 deletion.
34 changes: 33 additions & 1 deletion src/Language/English.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,44 +12,76 @@ class English implements LanguageInterface
'3rd' => '3rd',
'4th' => '4th',
'5th' => '5th',
'6th' => '6th',
'7th' => '7th',
'8th' => '8th',
'9th' => '9th',
'10th' => '10th',
'i' => 'I',
'ii' => 'II',
'iii' => 'III',
'iv' => 'IV',
'v' => 'V',
'vi' => 'VI',
'vii' => 'VII',
'viii' => 'VIII',
'ix' => 'IX',
'x' => 'X',
'apr' => 'APR',
'cme' => 'CME',
'dc' => 'DC',
'dds' => 'DDS',
'dmd' => 'DMD',
'do' => 'DO',
'dsw' => 'DSW',
'dvm' => 'DVM',
'emba' => 'EMBA',
'esq' => 'Esq',
'esquire' => 'Esq',
'jr' => 'Jr',
'junior' => 'Junior',
'lcsw' => 'LCSW',
'ma' => 'MA',
'mba' => 'MBA',
'md' => 'MD',
'ms' => 'MS',
'msw' => 'MSW',
'pe' => 'PE',
'phd' => 'PhD',
'psyd' => 'PsyD',
'rph' => 'RPh',
'senior' => 'Senior',
'sr' => 'Sr',
];

const SALUTATIONS = [
'dame' => 'Dame',
'dr' => 'Dr.',
'fr' => 'Fr.',
'hon' => 'Hon.',
'honorable' => 'Hon.',
'the honorable' => 'Hon.',
'lady' => 'Lady',
'lord' => 'Lord',
'madam' => 'Madam',
'master' => 'Mr.',
'miss' => 'Miss',
'missus' => 'Mrs.',
'mister' => 'Mr.',
'mr' => 'Mr.',
'mrs' => 'Mrs.',
'ms' => 'Ms.',
'mx' => 'Mx.',
'pastor' => 'Pr.',
'pr' => 'Pr.',
'rev' => 'Rev.',
'reverend' => 'Rev.',
'rt hon' => 'Rt Hon',
'sir' => 'Sir',
'prof' => 'Prof.',
'professor' => 'Prof.',
'his honour' => 'His Honour',
'her honour' => 'Her Honour'
'her honour' => 'Her Honour',
];

const LASTNAME_PREFIXES = [
Expand Down

0 comments on commit 7f591cf

Please sign in to comment.