45 if ( isset( $wgGrammarForms[
'la'][$case][$word] ) ) {
46 return $wgGrammarForms[
'la'][$case][$word];
53 '/u[ms]$/', # 2nd declension singular
54 '/ommunia$/', # 3rd declension neuter plural (partly)
55 '/a$/', # 1st declension singular
56 '/libri$/',
'/nuntii$/', # 2nd declension plural (partly)
57 '/tio$/',
'/ns$/',
'/as$/', # 3rd declension singular (partly)
58 '/es$/' # 5th declension singular
64 'librorum',
'nuntiorum',
65 'tionis',
'ntis',
'atis',
68 return preg_replace(
$in,
$out, $word );
72 '/u[ms]$/', # 2nd declension singular
73 '/a$/', # 1st declension singular
74 '/ommuniam$/', # 3rd declension neuter plural (partly)
75 '/libri$/',
'/nuntii$/', # 2nd declension plural (partly)
76 '/tio$/',
'/ns$/',
'/as$/', # 3rd declension singular (partly)
77 '/es$/' # 5th declension singular
84 'tionem',
'ntem',
'atem',
87 return preg_replace(
$in,
$out, $word );
91 '/u[ms]$/', # 2nd declension singular
92 '/ommunia$/', # 3rd declension neuter plural (partly)
93 '/a$/', # 1st declension singular
94 '/libri$/',
'/nuntii$/', # 2nd declension plural (partly)
95 '/tio$/',
'/ns$/',
'/as$/', # 3rd declension singular (partly)
96 '/es$/' # 5th declension singular
103 'tione',
'nte',
'ate',
106 return preg_replace(
$in,
$out, $word );