Index: /home/hendrik/workspace/WikiMedia/MessagesNl.php =================================================================== --- /home/hendrik/workspace/WikiMedia/MessagesNl.php (revision 21009) +++ /home/hendrik/workspace/WikiMedia/MessagesNl.php (working copy) @@ -2,9 +2,32 @@ /** Dutch (Nederlands) * This is the Dutch localisation file * + * @author Extended by Hendrik Maryns , March 2007. + * * @addtogroup Language */ +/** + * Transform table for decimal point '.' and thousands separator ',' + */ +$separatorTransformTable = array(',' => '.', '.' => ',' ); + +/** + * Namespace names. NS_PROJECT is always set to $wgMetaNamespace after the + * settings are loaded, it will be ignored even if you specify it here. + * + * NS_PROJECT_TALK will be set to $wgMetaNamespaceTalk if that variable is + * set, otherwise the string specified here will be used. The string may + * contain "$1", which will be replaced by the name of NS_PROJECT. It may + * also contain a grammatical transformation, e.g. + * + * NS_PROJECT_TALK => 'Keskustelu_{{grammar:elative|$1}}' + * + * Only one grammatical transform may be specified in the string. For + * performance reasons, this transformation is done locally by the language + * module rather than by the full wikitext parser. As a result, no other + * parser features are available. + */ $namespaceNames = array( NS_MEDIA => 'Media', NS_SPECIAL => 'Speciaal', @@ -26,12 +49,24 @@ NS_CATEGORY_TALK => 'Overleg_categorie' ); +/** + * Skin names. If any key is not specified, the English one will be used. + */ $skinNames = array( - 'standard' => 'Standaard', + 'standard' => 'Klassiek', 'nostalgia' => 'Nostalgie', 'cologneblue' => 'Keuls blauw', + 'myskin' => 'MijnSkin' ); +/** + * These are formats for dates generated by MediaWiki (as opposed to the wikitext + * DateFormatter). Documentation for the format string can be found in + * Language.php, search for sprintfDate. + * + * This array is automatically inherited by all subclasses. Individual keys can be + * overridden. + */ $dateFormats = array( 'mdy time' => 'H:i', 'mdy date' => 'M j, Y', @@ -46,6 +81,9 @@ 'ymd both' => 'Y M j H:i', ); +/** + * Default list of book sources + */ $bookstoreList = array( 'Koninklijke Bibliotheek' => 'http://opc4.kb.nl/DB=1/SET=5/TTL=1/CMD?ACT=SRCH&IKT=1007&SRT=RLV&TRM=$1' ); @@ -50,7 +88,219 @@ 'Koninklijke Bibliotheek' => 'http://opc4.kb.nl/DB=1/SET=5/TTL=1/CMD?ACT=SRCH&IKT=1007&SRT=RLV&TRM=$1' ); -$separatorTransformTable = array(',' => '.', '.' => ',' ); +/** + * Magic words + * Customisable syntax for wikitext and elsewhere + * + * Note to translators: + * Please include the English words as synonyms. This allows people + * from other wikis to contribute more easily. + * + * This array can be modified at runtime with the LanguageGetMagic hook + */ +$magicWords = array( +# ID CASE SYNONYMS + 'redirect' => array( 0, '#REDIRECT', '#DOORVERWIJZING' ), + 'notoc' => array( 0, '__NOTOC__', '__GEENINHOUD__' ), + 'nogallery' => array( 0, '__NOGALLERY__', '__GEEN_GALLERIJ__' ), + 'forcetoc' => array( 0, '__FORCETOC__', '__FORCEERINHOUD__' ), + 'toc' => array( 0, '__TOC__', '__INHOUD__' ), + 'noeditsection' => array( 0, '__NOEDITSECTION__', '__NIETBEWERKBARESECTIE__' ), + 'start' => array( 0, '__START__' ), + 'currentmonth' => array( 1, 'CURRENTMONTH', 'HUIDIGEMAAND' ), + 'currentmonthname' => array( 1, 'CURRENTMONTHNAME', 'HUIDIGEMAANDNAAM' ), + 'currentmonthnamegen' => array( 1, 'CURRENTMONTHNAMEGEN', 'HUIDIGEMAANDGEN' ), + 'currentmonthabbrev' => array( 1, 'CURRENTMONTHABBREV', 'HUIDIGEMAANDAFK' ), + 'currentday' => array( 1, 'CURRENTDAY', 'HUIDIGEDAG' ), + 'currentday2' => array( 1, 'CURRENTDAY2', 'HUIDIGEDAG2' ), + 'currentdayname' => array( 1, 'CURRENTDAYNAME', 'HUIDIGEDAGNAAM' ), + 'currentyear' => array( 1, 'CURRENTYEAR', 'HUIDIGJAAR' ), + 'currenttime' => array( 1, 'CURRENTTIME', 'HUIDIGETIJD' ), + 'currenthour' => array( 1, 'CURRENTHOUR', 'HUIDIGUUR' ), + 'localmonth' => array( 1, 'LOCALMONTH', 'LOKALEMAAND' ), + 'localmonthname' => array( 1, 'LOCALMONTHNAME', 'LOKALEMAANDNAAM' ), + 'localmonthnamegen' => array( 1, 'LOCALMONTHNAMEGEN', 'LOKALEMAANDNAAMGEN' ), + 'localmonthabbrev' => array( 1, 'LOCALMONTHABBREV', 'LOKALEMAANDAFK' ), + 'localday' => array( 1, 'LOCALDAY', 'LOKALEDAG' ), + 'localday2' => array( 1, 'LOCALDAY2', 'LOKALEDAG2' ), + 'localdayname' => array( 1, 'LOCALDAYNAME', 'LOKALEDAGNAAM' ), + 'localyear' => array( 1, 'LOCALYEAR', 'LOKAALJAAR' ), + 'localtime' => array( 1, 'LOCALTIME', 'LOKALETIJD' ), + 'localhour' => array( 1, 'LOCALHOUR', 'LOKAALUUR' ), + 'numberofpages' => array( 1, 'NUMBEROFPAGES', 'AANTALPAGINAS', 'AANTALPAGINA\'S', 'AANTALPAGINA’S' ), + 'numberofarticles' => array( 1, 'NUMBEROFARTICLES', 'AANTALARTIKELEN' ), + 'numberoffiles' => array( 1, 'NUMBEROFFILES', 'AANTALBESTANDEN' ), + 'numberofusers' => array( 1, 'NUMBEROFUSERS', 'AANTALGEBRUIKERS' ), + 'pagename' => array( 1, 'PAGENAME', 'PAGINANAAM' ), + 'pagenamee' => array( 1, 'PAGENAMEE', 'PAGINANAAME' ), + 'namespace' => array( 1, 'NAMESPACE', 'NAAMRUIMTE' ), + 'namespacee' => array( 1, 'NAMESPACEE', 'NAAMRUIMTEE' ), + 'talkspace' => array( 1, 'TALKSPACE', 'OVERLEGRUIMTE' ), + 'talkspacee' => array( 1, 'TALKSPACEE', 'OVERLEGRUIMTEE' ), + 'subjectspace' => array( 1, 'SUBJECTSPACE', 'ARTICLESPACE', 'ONDERWERPRUIMTE', 'ARTIKELRUIMTE' ), + 'subjectspacee' => array( 1, 'SUBJECTSPACEE', 'ARTICLESPACEE', 'ONDERWERPRUIMTEE', 'ARTIKELRUIMTEE' ), + 'fullpagename' => array( 1, 'FULLPAGENAME', 'VOLLEDIGEPAGINANAAM' ), + 'fullpagenamee' => array( 1, 'FULLPAGENAMEE', 'VOLLEDIGEPAGINANAAME' ), + 'subpagename' => array( 1, 'SUBPAGENAME', 'DEELPAGINANAAM' ), + 'subpagenamee' => array( 1, 'SUBPAGENAMEE', 'DEELPAGINANAAME' ), + 'basepagename' => array( 1, 'BASEPAGENAME', 'BASISPAGINANAAM' ), + 'basepagenamee' => array( 1, 'BASEPAGENAMEE', 'BASISPAGINANAAME' ), + 'talkpagename' => array( 1, 'TALKPAGENAME', 'OVERLEGPAGINANAAM' ), + 'talkpagenamee' => array( 1, 'TALKPAGENAMEE', 'OVERLEGPAGINANAAME' ), + 'subjectpagename' => array( 1, 'SUBJECTPAGENAME', 'ARTICLEPAGENAME', 'ONDERWERPPAGINANAAM', 'ARTIKELPAGINANAAM' ), + 'subjectpagenamee' => array( 1, 'SUBJECTPAGENAMEE', 'ARTICLEPAGENAMEE', 'ONDERWERPPAGINANAAME', 'ARTIKELPAGINANAAME' ), + 'msg' => array( 0, 'MSG:', 'BERICHT:' ), + 'subst' => array( 0, 'SUBST:' ), + 'msgnw' => array( 0, 'MSGNW:', 'BERICHTNW' ), + 'img_thumbnail' => array( 1, 'thumbnail', 'thumb' ), + 'img_manualthumb' => array( 1, 'thumbnail=$1', 'thumb=$1'), + 'img_right' => array( 1, 'right', 'rechts' ), + 'img_left' => array( 1, 'left', 'links' ), + 'img_none' => array( 1, 'none', 'geen' ), + 'img_width' => array( 1, '$1px' ), + 'img_center' => array( 1, 'center', 'centre', 'gecentreerd' ), + 'img_framed' => array( 1, 'framed', 'enframed', 'frame', 'omkaderd' ), + 'img_page' => array( 1, 'page=$1', 'page $1', 'pagina=$1', 'pagina $1' ), + 'img_baseline' => array( 1, 'baseline', 'grondlijn' ), + 'img_sub' => array( 1, 'sub' ), + 'img_super' => array( 1, 'super', 'sup' ), + 'img_top' => array( 1, 'top', 'boven' ), + 'img_text-top' => array( 1, 'text-top', 'tekst-boven' ), + 'img_middle' => array( 1, 'middle', 'midden' ), + 'img_bottom' => array( 1, 'bottom', 'beneden' ), + 'img_text-bottom' => array( 1, 'text-bottom', 'tekst-beneden' ), + 'int' => array( 0, 'INT:' ), + 'sitename' => array( 1, 'SITENAME', 'SITENAAM' ), + 'ns' => array( 0, 'NS:', 'NR:' ), + 'localurl' => array( 0, 'LOCALURL:', 'LOKALEURL' ), + 'localurle' => array( 0, 'LOCALURLE:', 'LOKALEURLE' ), + 'server' => array( 0, 'SERVER' ), + 'servername' => array( 0, 'SERVERNAME', 'SERVERNAAM' ), + 'scriptpath' => array( 0, 'SCRIPTPATH', 'SCRIPTPAD' ), + 'grammar' => array( 0, 'GRAMMAR:', 'GRAMMATICA:' ), + 'notitleconvert' => array( 0, '__NOTITLECONVERT__', '__NOTC__', '__GEENTITELCONVERSIE__', '__GEENTC__' ), + 'nocontentconvert' => array( 0, '__NOCONTENTCONVERT__', '__NOCC__', '__GEENINHOUDCONVERSIE__', '__GEENIC__' ), + 'currentweek' => array( 1, 'CURRENTWEEK', 'HUIDIGEWEEK' ), + 'currentdow' => array( 1, 'CURRENTDOW', 'HUIDIGEDVDW' ), + 'localweek' => array( 1, 'LOCALWEEK', 'LOKALEWEEK' ), + 'localdow' => array( 1, 'LOCALDOW', 'LOKALEDVDW' ), + 'revisionid' => array( 1, 'REVISIONID', 'REVISIEID', 'REVISIE-ID' ), + 'revisionday' => array( 1, 'REVISIONDAY', 'REVISIEDAG' ), + 'revisionday2' => array( 1, 'REVISIONDAY2', 'REVISIEDAG2' ), + 'revisionmonth' => array( 1, 'REVISIONMONTH', 'REVISIEMAAND' ), + 'revisionyear' => array( 1, 'REVISIONYEAR', 'REVISIEJAAR' ), + 'revisiontimestamp' => array( 1, 'REVISIONTIMESTAMP', 'REVISIETIJDSTEMPEL' ), + 'plural' => array( 0, 'PLURAL:', 'MEERVOUD:' ), + 'fullurl' => array( 0, 'FULLURL:', 'VOLLEDIGEURL' ), + 'fullurle' => array( 0, 'FULLURLE:', 'VOLLEDIGEURLE' ), + 'lcfirst' => array( 0, 'LCFIRST:', 'HLEERSTE:' ), + 'ucfirst' => array( 0, 'UCFIRST:', 'KLEERSTE:' ), + 'lc' => array( 0, 'LC:', 'KL:' ), + 'uc' => array( 0, 'UC:', 'HL:' ), + 'raw' => array( 0, 'RAW:', 'RAUW:' ), + 'displaytitle' => array( 1, 'DISPLAYTITLE', 'GETOONDETITEL' ), + 'rawsuffix' => array( 1, 'R' ), + 'newsectionlink' => array( 1, '__NEWSECTIONLINK__', '__NIEUWESECTIELINK__', '__NIEUWESECTIEKOPPELING__' ), + 'currentversion' => array( 1, 'CURRENTVERSION', 'HUIDIGEVERSIE' ), + 'urlencode' => array( 0, 'URLENCODE:', 'CODEERURL' ), + 'anchorencode' => array( 0, 'ANCHORENCODE', 'CODEERANKER' ), + 'currenttimestamp' => array( 1, 'CURRENTTIMESTAMP', 'HUIDIGETIJDSTEMPEL' ), + 'localtimestamp' => array( 1, 'LOCALTIMESTAMP', 'LOKALETIJDSTEMPEL' ), + 'directionmark' => array( 1, 'DIRECTIONMARK', 'DIRMARK', 'RICHTINGMARKERING', 'RICHTINGSMARKERING' ), + 'language' => array( 0, '#LANGUAGE:', '#TAAL:' ), + 'contentlanguage' => array( 1, 'CONTENTLANGUAGE', 'CONTENTLANG', 'INHOUDSTAAL', 'INHOUDTAAL' ), + 'pagesinnamespace' => array( 1, 'PAGESINNAMESPACE:', 'PAGESINNS:', 'PAGINASINNAAMRUIMTE', 'PAGINA’SINNAAMRUIMTE', 'PAGINA\'SINNAAMRUIMTE' ), + 'numberofadmins' => array( 1, 'NUMBEROFADMINS', 'AANTALADMINS' ), + 'formatnum' => array( 0, 'FORMATNUM', 'FORMATTEERNUM' ), + 'padleft' => array( 0, 'PADLEFT', 'LINKSOPVULLEN' ), + 'padright' => array( 0, 'PADRIGHT', 'RECHTSOPVULLEN' ), + 'special' => array( 0, 'special', 'speciaal' ), + 'defaultsort' => array( 1, 'DEFAULTSORT:', 'STANDAARDSORTERING:' ) +); + +/** + * Alternate names of special pages. All names are case-insensitive. The first + * listed alias will be used as the default. Aliases from the fallback + * localisation (usually English) will be included by default. + * + * This array may be altered at runtime using the LangugeGetSpecialPageAliases + * hook. + */ +$specialPageAliases = array( + 'DoubleRedirects' => array( 'DubbeleDoorverwijzingen' ), + 'BrokenRedirects' => array( 'GebrokenDoorverwijzingen' ), + 'Disambiguations' => array( 'Disambigueringen' ), + 'Userlogin' => array( 'InloggenGebruiker' ), + 'Userlogout' => array( 'UitloggenGebruiker' ), + 'Preferences' => array( 'Voorkeuren' ), + 'Watchlist' => array( 'Volglijst' ), + 'Recentchanges' => array( 'RecenteWijzigingen' ), + 'Upload' => array( 'Upload' ), + 'Imagelist' => array( 'Afbeeldingenlijst' ), + 'Newimages' => array( 'NieuweAfbeeldingen' ), + 'Listusers' => array( 'Gebruikerlijst' ), + 'Statistics' => array( 'Statistieken' ), + 'Randompage' => array( 'Willekeurig', 'WillekeurigePagina' ), + 'Lonelypages' => array( 'WeesPaginas' ), + 'Uncategorizedpages' => array( 'NietGecategoriseerdePaginas', 'Niet-GecategoriseerdePagina’s', 'Niet-GecategoriseerdePagina\'s' ), + 'Uncategorizedcategories' => array( 'NietGecategoriseerdeCategorieën', 'Niet-GecategoriseerdeCategorieën' ), + 'Uncategorizedimages' => array( 'NietGecategoriseerdeAfbeeldingen', 'Niet-GecategoriseerdeAfbeeldingen' ), + 'Unusedcategories' => array( 'OngebruikteCategorieën' ), + 'Unusedimages' => array( 'OngebruikteAfbeeldingen' ), + 'Wantedpages' => array( 'GevraagdePaginas', 'GevraagdePagina\'s', 'GevraagdePagina’s' ), + 'Wantedcategories' => array( 'GevraagdeCategorieën' ), + 'Mostlinked' => array( 'MeestVerwezen' ), + 'Mostlinkedcategories' => array( 'MeestVerwezenCategorieën' ), + 'Mostcategories' => array( 'MeesteCategorieën' ), + 'Mostimages' => array( 'MeesteAfbeeldingen' ), + 'Mostrevisions' => array( 'MeesteRevisies' ), + 'Shortpages' => array( 'KortePaginas', 'KortePagina’s', 'KortePagina\'s' ), + 'Longpages' => array( 'LangePaginas', 'LangePagina’s', 'LangePagina\'s' ), + 'Newpages' => array( 'NieuwePaginas', 'NieuwePagina’s', 'NieuwePagina\'s' ), + 'Ancientpages' => array( 'OudstePaginas', 'OudstePagina’s', 'OudstePagina\'s' ), + 'Deadendpages' => array( 'VerwijslozePaginas', 'VerwijslozePagina’s', 'VerwijslozePagina\'s' ), + 'Protectedpages' => array( 'BeschermdePaginas', 'BeschermdePagina’s', 'BeschermdePagina\'s' ), + 'Allpages' => array( 'AllePaginas', 'AllePagina’s', 'AllePagina\'s' ), + 'Prefixindex' => array( 'Prefixindex' ), + 'Ipblocklist' => array( 'IpBlokkeerlijst' ), + 'Specialpages' => array( 'SpecialePaginas', 'SpecialePagina’s', 'SpecialePagina\'s' ), + 'Contributions' => array( 'Bijdragen' ), + 'Emailuser' => array( 'E-mailGebruiker' ), + 'Whatlinkshere' => array( 'VerwijzingenNaarHier', 'Verwijzingen' ), + 'Recentchangeslinked' => array( 'Recentchangeslinked' ), + 'Movepage' => array( 'VerplaatsPagina' ), + 'Blockme' => array( 'BlokkeerMij' ), + 'Booksources' => array( 'BoekBronnen' ), + 'Categories' => array( 'Categorieën' ), + 'Export' => array( 'Exporteren' ), + 'Version' => array( 'Versie' ), + 'Allmessages' => array( 'AlleBerichten' ), + 'Log' => array( 'Log', 'Logs' ), + 'Blockip' => array( 'BlokkeerIp' ), + 'Undelete' => array( 'VerwijderenOngedaanMaken', 'Herstellen' ), + 'Import' => array( 'Importeren' ), + 'Lockdb' => array( 'DbBlokkeren', 'BlokkeerDB' ), + 'Unlockdb' => array( 'DbVrijgeven', 'GeefDbVrij' ), + 'Userrights' => array( 'Gebruikerrechten' ), + 'MIMEsearch' => array( 'MIMEzoeken' ), + 'Unwatchedpages' => array( 'NietGevolgdePaginas', 'Niet-GevolgdePagina’s', 'Niet-GevolgdePagina\'s' ), + 'Listredirects' => array( 'Doorverwijzinglijst' ), + 'Revisiondelete' => array( 'VerwijderRevisie' ), + 'Unusedtemplates' => array( 'OngebruikteSjablonen' ), + 'Randomredirect' => array( 'WillekeurigeDoorverwijzing' ), + 'Mypage' => array( 'MijnPagina' ), + 'Mytalk' => array( 'MijnOverleg' ), + 'Mycontributions' => array( 'MijnBijdragen' ), + 'Listadmins' => array( 'Administratorlijst' ), + 'Popularpages' => array( 'PopulairePaginas', 'PopulairePagina’s', 'PopulairePagina\'s' ), + 'Search' => array( 'Zoeken' ), + 'Resetpass' => array( 'WachtwoordHerinitialiseren' ), + ); + +/** + * Regular expression matching the "link trail", e.g. "ed" in [[Toast]]ed, as + * the first group, and the remainder of the string as the second group. + */ $linkTrail = '/^([a-zäöüïëéèà]+)(.*)$/sDu'; $messages = array(