510d5a16ce934afd5a7beb35b46418444f3f40c4
[lhc/web/wiklou.git] / languages / LanguageNah.php
1 <?php
2
3 /** Nahuatl
4 *
5 * @package MediaWiki
6 * @subpackage Language
7 *
8 * @author Rob Church <robchur@gmail.com>
9 *
10 * @copyright Copyright © 2006, Rob Church
11 * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
12 */
13
14 require_once( 'LanguageEs.php' );
15
16 $wgAllMessagesNah = array(
17
18 # Month names
19 'january' => 'Tlacenti',
20 'february' => 'Tlaonti',
21 'march' => 'Tlayeti',
22 'april' => 'Tlanauhtl',
23 'may' => 'Tlamacuilti',
24 'june' => 'Tlachicuazti',
25 'august' => 'Tlachiconti',
26 'september' => 'Tlachicnauhti',
27 'october' => 'Tlamatlacti',
28 'november' => 'Tlamactlihuanceti',
29 'december' => 'Tlamactlihuanonti',
30
31 # Days of the week
32 'monday' => 'Metztlitonal',
33 'tuesday' => 'Huitzilopochtonal',
34 'wednesday' => 'Yacatlipotonal',
35 'thursday' => 'Tezcatlipotonal',
36 'friday' => 'Quetzalcoatonal',
37 'saturday' => 'Tlaloctitonal',
38 'sunday' => 'Tonatiutonal',
39
40 # Preferences etc.
41 'userlogin' => 'Calaqui / Registrarse',
42 'yourlanguage' => 'Tlahtolli:',
43 'yourpassword' => 'Tlahtolichtacayo',
44 'yourpasswordagain' => 'Tlahtolichtacayo zapa'
45
46 );
47
48 class LanguageNah extends LanguageEs {
49
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
53
54 function getMessage( $key ) {
55 global $wgAllMessagesNah;
56 return isset( $wgAllMessagesNah[$key] ) ? $wgAllMessagesNah[$key] : parent::getMessage( $key );
57 }
58
59 }
60
61 ?>