summaryrefslogtreecommitdiff
path: root/languages/LanguageNl.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2006-10-11 18:12:39 +0000
committerPierre Schmitz <pierre@archlinux.de>2006-10-11 18:12:39 +0000
commit183851b06bd6c52f3cae5375f433da720d410447 (patch)
treea477257decbf3360127f6739c2f9d0ec57a03d39 /languages/LanguageNl.php
MediaWiki 1.7.1 wiederhergestellt
Diffstat (limited to 'languages/LanguageNl.php')
-rw-r--r--languages/LanguageNl.php101
1 files changed, 101 insertions, 0 deletions
diff --git a/languages/LanguageNl.php b/languages/LanguageNl.php
new file mode 100644
index 00000000..a7d59c2d
--- /dev/null
+++ b/languages/LanguageNl.php
@@ -0,0 +1,101 @@
+<?php
+/** Dutch (Nederlands)
+ *
+ * @package MediaWiki
+ * @subpackage Language
+ */
+
+require_once( 'LanguageUtf8.php' );
+
+if (!$wgCachedMessageArrays) {
+ require_once('MessagesNl.php');
+}
+
+class LanguageNl extends LanguageUtf8 {
+ private $mMessagesNl, $mNamespaceNamesNl = null;
+
+ private $mQuickbarSettingsNl = array(
+ 'Uitgeschakeld', 'Links vast', 'Rechts vast', 'Links zwevend'
+ );
+
+ private $mSkinNamesNl = array(
+ 'standard' => 'Standaard',
+ 'nostalgia' => 'Nostalgie',
+ 'cologneblue' => 'Keuls blauw',
+ );
+
+ function __construct() {
+ parent::__construct();
+
+ global $wgAllMessagesNl;
+ $this->mMessagesNl =& $wgAllMessagesNl;
+
+ global $wgMetaNamespace;
+ $this->mNamespaceNamesNl = array(
+ NS_MEDIA => 'Media',
+ NS_SPECIAL => 'Speciaal',
+ NS_MAIN => '',
+ NS_TALK => 'Overleg',
+ NS_USER => 'Gebruiker',
+ NS_USER_TALK => 'Overleg_gebruiker',
+ NS_PROJECT => $wgMetaNamespace,
+ NS_PROJECT_TALK => 'Overleg_' . $wgMetaNamespace,
+ NS_IMAGE => 'Afbeelding',
+ NS_IMAGE_TALK => 'Overleg_afbeelding',
+ NS_MEDIAWIKI => 'MediaWiki',
+ NS_MEDIAWIKI_TALK => 'Overleg_MediaWiki',
+ NS_TEMPLATE => 'Sjabloon',
+ NS_TEMPLATE_TALK => 'Overleg_sjabloon',
+ NS_HELP => 'Help',
+ NS_HELP_TALK => 'Overleg_help',
+ NS_CATEGORY => 'Categorie',
+ NS_CATEGORY_TALK => 'Overleg_categorie'
+ );
+ }
+
+ function getNamespaces() {
+ return $this->mNamespaceNamesNl + parent::getNamespaces();
+ }
+
+ function getQuickbarSettings() {
+ return $this->mQuickbarSettingsNl;
+ }
+
+ function getSkinNames() {
+ return $this->mSkinNamesNl + parent::getSkinNames();
+ }
+
+ function getMessage( $key ) {
+ if( isset( $this->mMessagesNl[$key] ) ) {
+ return $this->mMessagesNl[$key];
+ } else {
+ return parent::getMessage( $key );
+ }
+ }
+
+ function getAllMessages() {
+ return $this->mMessagesNl;
+ }
+
+ function timeBeforeDate( ) {
+ return false;
+ }
+
+ function timeDateSeparator( $format ) {
+ return ' ';
+ }
+
+ function formatMonth( $month, $format ) {
+ return $this->getMonthAbbreviation( $month );
+ }
+
+ function separatorTransformTable() {
+ return array(',' => '.', '.' => ',' );
+ }
+
+ function linkTrail() {
+ return '/^([a-zäöüïëéèà]+)(.*)$/sDu';
+ }
+
+}
+?>