File: MessagesCa.php

package info (click to toggle)
mediawiki 1%3A1.27.7-1~deb9u3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 152,968 kB
  • sloc: php: 426,192; sql: 8,668; python: 3,658; xml: 2,231; pascal: 1,567; ruby: 1,017; perl: 789; sh: 612; makefile: 280
file content (168 lines) | stat: -rw-r--r-- 7,678 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<?php
/** Catalan (català)
 *
 * To improve a translation please visit https://translatewiki.net
 *
 * @ingroup Language
 * @file
 *
 */

$namespaceNames = [
	NS_MEDIA            => 'Media',
	NS_SPECIAL          => 'Especial',
	NS_TALK             => 'Discussió',
	NS_USER             => 'Usuari',
	NS_USER_TALK        => 'Usuari_Discussió',
	NS_PROJECT_TALK     => '$1_Discussió',
	NS_FILE             => 'Fitxer',
	NS_FILE_TALK        => 'Fitxer_Discussió',
	NS_MEDIAWIKI        => 'MediaWiki',
	NS_MEDIAWIKI_TALK   => 'MediaWiki_Discussió',
	NS_TEMPLATE         => 'Plantilla',
	NS_TEMPLATE_TALK    => 'Plantilla_Discussió',
	NS_HELP             => 'Ajuda',
	NS_HELP_TALK        => 'Ajuda_Discussió',
	NS_CATEGORY         => 'Categoria',
	NS_CATEGORY_TALK    => 'Categoria_Discussió',
];

$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 = [
	'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 = [
	'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 = [ ',' => '.', '.' => ',' ];

$dateFormats = [
	'mdy time' => 'H:i',
	'mdy date' => 'M j, Y',
	'mdy both' => 'H:i, M j, Y',

	'dmy time' => 'H:i',
	'dmy date' => 'j M Y',
	'dmy both' => 'H:i, j M Y',

	'ymd time' => 'H:i',
	'ymd date' => 'Y M j',
	'ymd both' => 'H:i, Y M j',
];

$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";