summaryrefslogtreecommitdiff
path: root/languages/LanguageNah.php
diff options
context:
space:
mode:
Diffstat (limited to 'languages/LanguageNah.php')
-rw-r--r--languages/LanguageNah.php52
1 files changed, 0 insertions, 52 deletions
diff --git a/languages/LanguageNah.php b/languages/LanguageNah.php
deleted file mode 100644
index d29a53e2..00000000
--- a/languages/LanguageNah.php
+++ /dev/null
@@ -1,52 +0,0 @@
-<?php
-/** Nahuatl
- *
- * @package MediaWiki
- * @subpackage Language
- *
- * @author Rob Church <robchur@gmail.com>
- *
- * @copyright Copyright © 2006, Rob Church
- * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
- */
-
-require_once( 'LanguageEs.php' );
-
-if (!$wgCachedMessageArrays) {
- require_once('MessagesNah.php');
-}
-
-# Per conversation with a user in IRC, we inherit from Spanish and work from there
-# Nahuatl was the language of the Aztecs, and a modern speaker is most likely to
-# understand Spanish if a Nah translation is not available
-
-class LanguageNah extends LanguageEs {
- private $mMessagesNah = null;
-
- function __construct() {
- parent::__construct();
-
- global $wgAllMessagesNah;
- $this->mMessagesNah =& $wgAllMessagesNah;
-
- }
-
- function getFallbackLanguage() {
- return 'es';
- }
-
- function getMessage( $key ) {
- if( isset( $this->mMessagesNah[$key] ) ) {
- return $this->mMessagesNah[$key];
- } else {
- return parent::getMessage( $key );
- }
- }
-
- function getAllMessages() {
- return $this->mMessagesNah;
- }
-
-}
-
-?> \ No newline at end of file