Reciprocal fallback between ca (Catalan) and oc (Occitan)
[lhc/web/wiklou.git] / languages / messages / MessagesCa.php
index 9169f97..cb26337 100644 (file)
@@ -8,7 +8,9 @@
  *
  */
 
-$namespaceNames = array(
+$fallback = 'oc';
+
+$namespaceNames = [
        NS_MEDIA            => 'Media',
        NS_SPECIAL          => 'Especial',
        NS_TALK             => 'Discussió',
@@ -25,121 +27,126 @@ $namespaceNames = array(
        NS_HELP_TALK        => 'Ajuda_Discussió',
        NS_CATEGORY         => 'Categoria',
        NS_CATEGORY_TALK    => 'Categoria_Discussió',
-);
+];
 
-$namespaceAliases = array(
+$namespaceAliases = [
        'Imatge' => NS_FILE,
        'Imatge_Discussió' => NS_FILE_TALK,
-);
+];
+
+$namespaceGenderAliases = [
+       NS_USER => [ 'male' => 'Usuari', 'female' => 'Usuària' ],
+       NS_USER_TALK => [ 'male' => 'Usuari_Discussió', 'female' => 'Usuària_Discussió' ],
+]; // T113616
 
-$specialPageAliases = array(
-       'Activeusers'               => array( 'Usuaris_actius' ),
-       'Allmessages'               => array( 'Missatges', 'MediaWiki' ),
-       'Allpages'                  => array( 'Llista_de_pàgines' ),
-       'Ancientpages'              => array( 'Pàgines_velles' ),
-       'Badtitle'                  => array( 'Títol_incorrecte' ),
-       'Blankpage'                 => array( 'Pàgina_en_blanc', 'Blanc' ),
-       'Block'                     => array( 'Bloca' ),
-       'Booksources'               => array( 'Fonts_bibliogràfiques' ),
-       'BrokenRedirects'           => array( 'Redireccions_rompudes' ),
-       'ChangeEmail'               => array( 'Canvia_adreça_electrònica' ),
-       'ChangePassword'            => array( 'Reinicia_contrasenya' ),
-       'Confirmemail'              => array( 'Confirma_adreça' ),
-       'Contributions'             => array( 'Contribucions' ),
-       'CreateAccount'             => array( 'Crea_compte' ),
-       'Deadendpages'              => array( 'Atzucacs' ),
-       'DeletedContributions'      => array( 'Contribucions_esborrades' ),
-       'DoubleRedirects'           => array( 'Redireccions_dobles' ),
-       'Emailuser'                 => array( 'Envia_missatge' ),
-       'ExpandTemplates'           => array( 'Expansió_de_plantilles' ),
-       'Export'                    => array( 'Exporta' ),
-       'Fewestrevisions'           => array( 'Pàgines_menys_editades' ),
-       'FileDuplicateSearch'       => array( 'Cerca_fitxers_duplicats' ),
-       'Import'                    => array( 'Importa' ),
-       'BlockList'                 => array( 'Usuaris_blocats' ),
-       'LinkSearch'                => array( 'Enllaços_web', 'Busca_enllaços', 'Recerca_d\'enllaços_web' ),
-       'Listadmins'                => array( 'Administradors' ),
-       'Listbots'                  => array( 'Bots' ),
-       'Listfiles'                 => array( 'Imatges', 'Fitxers' ),
-       'Listgrouprights'           => array( 'Drets_dels_grups_d\'usuaris' ),
-       'Listredirects'             => array( 'Redireccions' ),
-       'Listusers'                 => array( 'Usuaris' ),
-       'Lockdb'                    => array( 'Bloca_bd' ),
-       'Log'                       => array( 'Registre' ),
-       'Lonelypages'               => array( 'Pàgines_òrfenes' ),
-       'Longpages'                 => array( 'Pàgines_llargues' ),
-       'MergeHistory'              => array( 'Fusiona_historial' ),
-       'MIMEsearch'                => array( 'Cerca_MIME' ),
-       'Mostcategories'            => array( 'Pàgines_amb_més_categories' ),
-       'Mostimages'                => array( 'Imatges_més_útils' ),
-       'Mostlinked'                => array( 'Pàgines_més_enllaçades' ),
-       'Mostlinkedcategories'      => array( 'Categories_més_útils' ),
-       'Mostlinkedtemplates'       => array( 'Plantilles_més_útils' ),
-       'Mostrevisions'             => array( 'Pàgines_més_editades' ),
-       'Movepage'                  => array( 'Reanomena' ),
-       'Mycontributions'           => array( 'Contribucions_pròpies' ),
-       'Mypage'                    => array( 'Pàgina_personal' ),
-       'Mytalk'                    => array( 'Discussió_personal' ),
-       'Newimages'                 => array( 'Imatges_noves', 'Fitxers_nous' ),
-       'Newpages'                  => array( 'Pàgines_noves' ),
-       'Preferences'               => array( 'Preferències' ),
-       'Prefixindex'               => array( 'Cerca_per_prefix' ),
-       'Protectedpages'            => array( 'Pàgines_protegides' ),
-       'Protectedtitles'           => array( 'Títols_protegits' ),
-       'Randompage'                => array( 'Article_aleatori', 'Atzar', 'Aleatori' ),
-       'Randomredirect'            => array( 'Redirecció_aleatòria' ),
-       'Recentchanges'             => array( 'Canvis_recents' ),
-       'Recentchangeslinked'       => array( 'Seguiment' ),
-       'Revisiondelete'            => array( 'Esborra_versió' ),
-       'Search'                    => array( 'Cerca' ),
-       'Shortpages'                => array( 'Pàgines_curtes' ),
-       'Specialpages'              => array( 'Pàgines_especials' ),
-       'Statistics'                => array( 'Estadístiques' ),
-       'Unblock'                   => array( 'Desbloca', 'Desbloqueja' ),
-       'Uncategorizedcategories'   => array( 'Categories_sense_categoria' ),
-       'Uncategorizedimages'       => array( 'Imatges_sense_categoria' ),
-       'Uncategorizedpages'        => array( 'Pàgines_sense_categoria' ),
-       'Uncategorizedtemplates'    => array( 'Plantilles_sense_categoria' ),
-       'Undelete'                  => array( 'Restaura' ),
-       'Unlockdb'                  => array( 'Desbloca_bd' ),
-       'Unusedcategories'          => array( 'Categories_no_usades' ),
-       'Unusedimages'              => array( 'Imatges_no_usades' ),
-       'Unusedtemplates'           => array( 'Plantilles_no_usades' ),
-       'Unwatchedpages'            => array( 'Pàgines_desateses' ),
-       'Upload'                    => array( 'Carrega' ),
-       'Userlogin'                 => array( 'Registre_i_entrada' ),
-       'Userlogout'                => array( 'Finalitza_sessió' ),
-       'Userrights'                => array( 'Drets' ),
-       'Version'                   => array( 'Versió' ),
-       'Wantedcategories'          => array( 'Categories_demanades' ),
-       'Wantedfiles'               => array( 'Arxius_demanats' ),
-       'Wantedpages'               => array( 'Pàgines_demanades' ),
-       'Wantedtemplates'           => array( 'Plantilles_demanades' ),
-       'Watchlist'                 => array( 'Llista_de_seguiment' ),
-       'Whatlinkshere'             => array( 'Enllaços' ),
-       'Withoutinterwiki'          => array( 'Sense_interwiki' ),
-);
+$specialPageAliases = [
+       'Activeusers'               => [ 'Usuaris_actius' ],
+       'Allmessages'               => [ 'Missatges', 'MediaWiki' ],
+       'Allpages'                  => [ 'Llista_de_pàgines' ],
+       'Ancientpages'              => [ 'Pàgines_velles' ],
+       'Badtitle'                  => [ 'Títol_incorrecte' ],
+       'Blankpage'                 => [ 'Pàgina_en_blanc', 'Blanc' ],
+       'Block'                     => [ 'Bloca' ],
+       'Booksources'               => [ 'Fonts_bibliogràfiques' ],
+       'BrokenRedirects'           => [ 'Redireccions_rompudes' ],
+       'ChangeEmail'               => [ 'Canvia_adreça_electrònica' ],
+       'ChangePassword'            => [ 'Reinicia_contrasenya' ],
+       'Confirmemail'              => [ 'Confirma_adreça' ],
+       'Contributions'             => [ 'Contribucions' ],
+       'CreateAccount'             => [ 'Crea_compte' ],
+       'Deadendpages'              => [ 'Atzucacs' ],
+       'DeletedContributions'      => [ 'Contribucions_esborrades' ],
+       'DoubleRedirects'           => [ 'Redireccions_dobles' ],
+       'Emailuser'                 => [ 'Envia_missatge' ],
+       'ExpandTemplates'           => [ 'Expansió_de_plantilles' ],
+       'Export'                    => [ 'Exporta' ],
+       'Fewestrevisions'           => [ 'Pàgines_menys_editades' ],
+       'FileDuplicateSearch'       => [ 'Cerca_fitxers_duplicats' ],
+       'Import'                    => [ 'Importa' ],
+       'BlockList'                 => [ 'Usuaris_blocats' ],
+       'LinkSearch'                => [ 'Enllaços_web', 'Busca_enllaços', 'Recerca_d\'enllaços_web' ],
+       'Listadmins'                => [ 'Administradors' ],
+       'Listbots'                  => [ 'Bots' ],
+       'Listfiles'                 => [ 'Imatges', 'Fitxers' ],
+       'Listgrouprights'           => [ 'Drets_dels_grups_d\'usuaris' ],
+       'Listredirects'             => [ 'Redireccions' ],
+       'Listusers'                 => [ 'Usuaris' ],
+       'Lockdb'                    => [ 'Bloca_bd' ],
+       'Log'                       => [ 'Registre' ],
+       'Lonelypages'               => [ 'Pàgines_òrfenes' ],
+       'Longpages'                 => [ 'Pàgines_llargues' ],
+       'MergeHistory'              => [ 'Fusiona_historial' ],
+       'MIMEsearch'                => [ 'Cerca_MIME' ],
+       'Mostcategories'            => [ 'Pàgines_amb_més_categories' ],
+       'Mostimages'                => [ 'Imatges_més_útils' ],
+       'Mostlinked'                => [ 'Pàgines_més_enllaçades' ],
+       'Mostlinkedcategories'      => [ 'Categories_més_útils' ],
+       'Mostlinkedtemplates'       => [ 'Plantilles_més_útils' ],
+       'Mostrevisions'             => [ 'Pàgines_més_editades' ],
+       'Movepage'                  => [ 'Reanomena' ],
+       'Mycontributions'           => [ 'Contribucions_pròpies' ],
+       'Mypage'                    => [ 'Pàgina_personal' ],
+       'Mytalk'                    => [ 'Discussió_personal' ],
+       'Newimages'                 => [ 'Imatges_noves', 'Fitxers_nous' ],
+       'Newpages'                  => [ 'Pàgines_noves' ],
+       'Preferences'               => [ 'Preferències' ],
+       'Prefixindex'               => [ 'Cerca_per_prefix' ],
+       'Protectedpages'            => [ 'Pàgines_protegides' ],
+       'Protectedtitles'           => [ 'Títols_protegits' ],
+       'Randompage'                => [ 'Article_aleatori', 'Atzar', 'Aleatori' ],
+       'Randomredirect'            => [ 'Redirecció_aleatòria' ],
+       'Recentchanges'             => [ 'Canvis_recents' ],
+       'Recentchangeslinked'       => [ 'Seguiment' ],
+       'Revisiondelete'            => [ 'Esborra_versió' ],
+       'Search'                    => [ 'Cerca' ],
+       'Shortpages'                => [ 'Pàgines_curtes' ],
+       'Specialpages'              => [ 'Pàgines_especials' ],
+       'Statistics'                => [ 'Estadístiques' ],
+       'Unblock'                   => [ 'Desbloca', 'Desbloqueja' ],
+       'Uncategorizedcategories'   => [ 'Categories_sense_categoria' ],
+       'Uncategorizedimages'       => [ 'Imatges_sense_categoria' ],
+       'Uncategorizedpages'        => [ 'Pàgines_sense_categoria' ],
+       'Uncategorizedtemplates'    => [ 'Plantilles_sense_categoria' ],
+       'Undelete'                  => [ 'Restaura' ],
+       'Unlockdb'                  => [ 'Desbloca_bd' ],
+       'Unusedcategories'          => [ 'Categories_no_usades' ],
+       'Unusedimages'              => [ 'Imatges_no_usades' ],
+       'Unusedtemplates'           => [ 'Plantilles_no_usades' ],
+       'Unwatchedpages'            => [ 'Pàgines_desateses' ],
+       'Upload'                    => [ 'Carrega' ],
+       'Userlogin'                 => [ 'Registre_i_entrada' ],
+       'Userlogout'                => [ 'Finalitza_sessió' ],
+       'Userrights'                => [ 'Drets' ],
+       'Version'                   => [ 'Versió' ],
+       'Wantedcategories'          => [ 'Categories_demanades' ],
+       'Wantedfiles'               => [ 'Arxius_demanats' ],
+       'Wantedpages'               => [ 'Pàgines_demanades' ],
+       'Wantedtemplates'           => [ 'Plantilles_demanades' ],
+       'Watchlist'                 => [ 'Llista_de_seguiment' ],
+       'Whatlinkshere'             => [ 'Enllaços' ],
+       'Withoutinterwiki'          => [ 'Sense_interwiki' ],
+];
 
-$magicWords = array(
-       'numberofarticles'          => array( '1', 'NOMBRED\'ARTICLES', 'NUMBEROFARTICLES' ),
-       'numberoffiles'             => array( '1', 'NOMBRED\'ARXIUS', 'NUMBEROFFILES' ),
-       'numberofusers'             => array( '1', 'NOMBRED\'USUARIS', 'NUMBEROFUSERS' ),
-       'numberofedits'             => array( '1', 'NOMBRED\'EDICIONS', 'NUMBEROFEDITS' ),
-       'pagename'                  => array( '1', 'NOMDELAPLANA', 'PAGENAME' ),
-       'img_right'                 => array( '1', 'dreta', 'right' ),
-       'img_left'                  => array( '1', 'esquerra', 'left' ),
-       'img_border'                => array( '1', 'vora', 'border' ),
-       'img_link'                  => array( '1', 'enllaç=$1', 'link=$1' ),
-       'displaytitle'              => array( '1', 'TÍTOL', 'DISPLAYTITLE' ),
-       'language'                  => array( '0', '#IDIOMA:', '#LANGUAGE:' ),
-       'special'                   => array( '0', 'especial', 'special' ),
-       'defaultsort'               => array( '1', 'ORDENA:', 'DEFAULTSORT:', 'DEFAULTSORTKEY:', 'DEFAULTCATEGORYSORT:' ),
-       'pagesize'                  => array( '1', 'MIDADELAPLANA', 'PAGESIZE' ),
-);
+$magicWords = [
+       'numberofarticles'          => [ '1', 'NOMBRED\'ARTICLES', 'NUMBEROFARTICLES' ],
+       'numberoffiles'             => [ '1', 'NOMBRED\'ARXIUS', 'NUMBEROFFILES' ],
+       'numberofusers'             => [ '1', 'NOMBRED\'USUARIS', 'NUMBEROFUSERS' ],
+       'numberofedits'             => [ '1', 'NOMBRED\'EDICIONS', 'NUMBEROFEDITS' ],
+       'pagename'                  => [ '1', 'NOMDELAPLANA', 'PAGENAME' ],
+       'img_right'                 => [ '1', 'dreta', 'right' ],
+       'img_left'                  => [ '1', 'esquerra', 'left' ],
+       'img_border'                => [ '1', 'vora', 'border' ],
+       'img_link'                  => [ '1', 'enllaç=$1', 'link=$1' ],
+       'displaytitle'              => [ '1', 'TÍTOL', 'DISPLAYTITLE' ],
+       'language'                  => [ '0', '#IDIOMA:', '#LANGUAGE:' ],
+       'special'                   => [ '0', 'especial', 'special' ],
+       'defaultsort'               => [ '1', 'ORDENA:', 'DEFAULTSORT:', 'DEFAULTSORTKEY:', 'DEFAULTCATEGORYSORT:' ],
+       'pagesize'                  => [ '1', 'MIDADELAPLANA', 'PAGESIZE' ],
+];
 
-$separatorTransformTable = array( ',' => '.', '.' => ',' );
+$separatorTransformTable = [ ',' => '.', '.' => ',' ];
 
-$dateFormats = array(
+$dateFormats = [
        'mdy time' => 'H:i',
        'mdy date' => 'M j, Y',
        'mdy both' => 'H:i, M j, Y',
@@ -151,13 +158,20 @@ $dateFormats = array(
        'ymd time' => 'H:i',
        'ymd date' => 'Y M j',
        'ymd both' => 'H:i, Y M j',
-);
+];
 
-$bookstoreList = array(
+$datePreferences = [
+       'default',
+       'dmy',
+       'ymd',
+       'ISO 8601',
+];
+$defaultDateFormat = 'dmy';
+
+$bookstoreList = [
        'Catàleg Col·lectiu de les Universitats de Catalunya' => 'http://ccuc.cbuc.es/cgi-bin/vtls.web.gateway?searchtype=control+numcard&searcharg=$1',
        'Totselsllibres.com' => 'http://www.totselsllibres.com/tel/publi/busquedaAvanzadaLibros.do?ISBN=$1',
        'inherit' => true,
-);
+];
 
 $linkTrail = "/^((?:[a-zàèéíòóúç·ïü]|'(?!'))+)(.*)$/sDu";
-