8 * @author Rob Church <robchur@gmail.com>
10 * @copyright Copyright © 2006, Rob Church
11 * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
14 require_once( 'LanguageEs.php' );
16 $wgAllMessagesNah = array(
19 'january' => 'Tlacenti',
20 'february' => 'Tlaonti',
22 'april' => 'Tlanauhtl',
23 'may' => 'Tlamacuilti',
24 'june' => 'Tlachicuazti',
25 'august' => 'Tlachiconti',
26 'september' => 'Tlachicnauhti',
27 'october' => 'Tlamatlacti',
28 'november' => 'Tlamactlihuanceti',
29 'december' => 'Tlamactlihuanonti',
32 'monday' => 'Metztlitonal',
33 'tuesday' => 'Huitzilopochtonal',
34 'wednesday' => 'Yacatlipotonal',
35 'thursday' => 'Tezcatlipotonal',
36 'friday' => 'Quetzalcoatonal',
37 'saturday' => 'Tlaloctitonal',
38 'sunday' => 'Tonatiutonal'
41 'userlogin' => 'Calaqui / Registrarse',
42 'yourlanguage' => 'Tlahtolli:',
43 'yourpassword' => 'Tlahtolichtacayo',
44 'yourpasswordagain' => 'Tlahtolichtacayo zapa',
48 class LanguageNah
extends LanguageEs
{
50 # Per conversation with a user in IRC, we inherit from Spanish and work from there
51 # Nahuatl was the language of the Aztecs, and a modern speaker is most likely to
52 # understand Spanish if a Nah translation is not available
54 function getMessage( $key ) {
55 global $wgAllMessagesNah;
56 return isset( $wgAllMessagesNah[$key] ) ?
$wgAllMessagesNah[$key] : parent
::getMessage( $key );