summaryrefslogtreecommitdiff
path: root/languages/LanguageBn.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2008-12-15 18:02:47 +0100
committerPierre Schmitz <pierre@archlinux.de>2008-12-15 18:02:47 +0100
commit396b28f3d881f5debd888ba9bb9b47c2d478a76f (patch)
tree10d6e1a721ee4ef69def34a57f02d7eb3fc9e31e /languages/LanguageBn.php
parent0be4d3ccf6c4fe98a72704f9463ecdea2ee5e615 (diff)
update to Mediawiki 1.13.3; some cleanups
Diffstat (limited to 'languages/LanguageBn.php')
-rw-r--r--languages/LanguageBn.php75
1 files changed, 0 insertions, 75 deletions
diff --git a/languages/LanguageBn.php b/languages/LanguageBn.php
deleted file mode 100644
index d61c995e..00000000
--- a/languages/LanguageBn.php
+++ /dev/null
@@ -1,75 +0,0 @@
-<?php
-/** Bengali (বাংলা)
- *
- * @package MediaWiki
- * @subpackage Language
- */
-
-require_once( 'LanguageUtf8.php' );
-
-if (!$wgCachedMessageArrays) {
- require_once('MessagesBn.php');
-}
-
-class LanguageBn extends LanguageUtf8 {
- private $mMessagesBn, $mNamespaceNamesBn = null;
-
- function __construct() {
- parent::__construct();
-
- global $wgAllMessagesBn;
- $this->mMessagesBn =& $wgAllMessagesBn;
-
- global $wgMetaNamespace;
- $this->mNamespaceNamesBn = array(
- NS_SPECIAL => 'বিশেষ',
- NS_MAIN => '',
- NS_TALK => 'আলাপ',
- NS_USER => 'ব্যবহারকারী',
- NS_USER_TALK => 'ব্যবহারকারী_আলাপ',
- NS_PROJECT => $wgMetaNamespace,
- NS_PROJECT_TALK => $wgMetaNamespace . '_আলাপ',
- NS_IMAGE => 'চিত্র',
- NS_IMAGE_TALK => 'চিত্র_আলাপ',
- NS_MEDIAWIKI_TALK => 'MediaWiki_আলাপ'
- );
- }
-
- function getNamespaces() {
- return $this->mNamespaceNamesBn + parent::getNamespaces();
- }
-
- function getDateFormats() {
- return false;
- }
-
- function getMessage( $key ) {
- if( isset( $this->mMessagesBn[$key] ) ) {
- return $this->mMessagesBn[$key];
- } else {
- return parent::getMessage( $key );
- }
- }
-
- function getAllMessages() {
- return $this->mMessagesBn;
- }
-
- function digitTransformTable() {
- return array(
- '0' => '০',
- '1' => '১',
- '2' => '২',
- '3' => '৩',
- '4' => '৪',
- '5' => '৫',
- '6' => '৬',
- '7' => '৭',
- '8' => '৮',
- '9' => '৯'
- );
- }
-
-}
-
-?>