2 /** Portuguese (Português)
3 * This translation was made by:
4 * - Yves Marques Junqueira
5 * - Rodrigo Calanca Nishino
8 * - Manuel Menezes de Sequeira
10 * from the Portuguese Wikipedia
13 * @subpackage Language
16 require_once( 'LanguageUtf8.php' );
19 # In general you should not make customizations in these language files
20 # directly, but should use the MediaWiki: special namespace to customize
21 # user interface messages through the wiki.
22 # See http://meta.wikimedia.org/wiki/MediaWiki_namespace
25 /* private */ $wgNamespaceNamesPt = array(
26 NS_MEDIA
=> 'Media', # -2
27 NS_SPECIAL
=> 'Especial', # -1
29 NS_TALK
=> 'Discussão', # 1
31 NS_USER_TALK
=> 'Usuário_Discussão',
33 Above entries are for PT_br. The following entries should
36 DO NOT USE THOSE ENTRIES WITHOUT MIGRATING STUFF ON
37 WIKIMEDIA WEB SERVERS FIRST !! You will just break a lot
40 NS_USER => 'Utilizador', # 2
41 NS_USER_TALK => 'Utilizador_Discussão', # 3
43 NS_PROJECT
=> $wgMetaNamespace, # 4
44 NS_PROJECT_TALK
=> $wgMetaNamespace.'_Discussão', # 5
45 NS_IMAGE
=> 'Imagem', # 6
46 NS_IMAGE_TALK
=> 'Imagem_Discussão', # 7
47 NS_MEDIAWIKI
=> 'MediaWiki', # 8
48 NS_MEDIAWIKI_TALK
=> 'MediaWiki_Discussão', # 9
49 NS_TEMPLATE
=> 'Predefinição', # 10
50 NS_TEMPLATE_TALK
=> 'Predefinição_Discussão', # 11
51 NS_HELP
=> 'Ajuda', # 12
52 NS_HELP_TALK
=> 'Ajuda_Discussão', # 13
53 NS_CATEGORY
=> 'Categoria', # 14
54 NS_CATEGORY_TALK
=> 'Categoria_Discussão' # 15
55 ) +
$wgNamespaceNamesEn;
57 /* private */ $wgQuickbarSettingsPt = array(
58 'Nenhuma', 'Fixo à esquerda', 'Fixo à direita', 'Flutuando à esquerda', 'Flutuando à direita'
61 /* private */ $wgSkinNamesPt = array(
62 'standard' => 'Clássico',
63 'nostalgia' => 'Nostalgia',
64 'cologneblue' => 'Azul colonial',
65 'davinci' => 'DaVinci',
67 'monobook' => 'MonoBook',
72 # Whether to use user or default setting in Language::date()
73 /* private */ $wgDateFormatsPt = array(
74 MW_DATE_DEFAULT
=> 'Sem preferência',
75 MW_DATE_DMY
=> '16:12, 15 Janeiro 2001',
76 MW_DATE_MDY
=> '16:12, Janeiro 15, 2001',
77 MW_DATE_YMD
=> '16:12, 2001 Janeiro 15',
78 MW_DATE_ISO
=> '2001-01-15 16:12:34'
82 # Note to translators:
83 # Please include the English words as synonyms. This allows people
84 # from other wikis to contribute more easily.
86 /* private */ $wgMagicWordsPt = array(
88 MAG_REDIRECT
=> array( 0, '#REDIRECT', '#redir' ),
89 MAG_NOTOC
=> array( 0, '__NOTOC__' ),
90 MAG_FORCETOC
=> array( 0, '__FORCETOC__' ),
91 MAG_TOC
=> array( 0, '__TOC__' ),
92 MAG_NOEDITSECTION
=> array( 0, '__NOEDITSECTION__' ),
93 MAG_START
=> array( 0, '__START__' ),
94 MAG_CURRENTMONTH
=> array( 1, 'CURRENTMONTH' ),
95 MAG_CURRENTMONTHNAME
=> array( 1, 'CURRENTMONTHNAME' ),
96 MAG_CURRENTMONTHNAMEGEN
=> array( 1, 'CURRENTMONTHNAMEGEN' ),
97 MAG_CURRENTMONTHABBREV
=> array( 1, 'CURRENTMONTHABBREV' ),
98 MAG_CURRENTDAY
=> array( 1, 'CURRENTDAY' ),
99 MAG_CURRENTDAYNAME
=> array( 1, 'CURRENTDAYNAME' ),
100 MAG_CURRENTYEAR
=> array( 1, 'CURRENTYEAR' ),
101 MAG_CURRENTTIME
=> array( 1, 'CURRENTTIME' ),
102 MAG_NUMBEROFARTICLES
=> array( 1, 'NUMBEROFARTICLES' ),
103 MAG_NUMBEROFFILES
=> array( 1, 'NUMBEROFFILES' ),
104 MAG_PAGENAME
=> array( 1, 'PAGENAME' ),
105 MAG_PAGENAMEE
=> array( 1, 'PAGENAMEE' ),
106 MAG_NAMESPACE
=> array( 1, 'NAMESPACE' ),
107 MAG_MSG
=> array( 0, 'MSG:' ),
108 MAG_SUBST
=> array( 0, 'SUBST:' ),
109 MAG_MSGNW
=> array( 0, 'MSGNW:' ),
110 MAG_END
=> array( 0, '__END__' ),
111 MAG_IMG_THUMBNAIL
=> array( 1, 'thumbnail', 'thumb' ),
112 MAG_IMG_MANUALTHUMB
=> array( 1, 'thumbnail=$1', 'thumb=$1'),
113 MAG_IMG_RIGHT
=> array( 1, 'right', 'direita' ),
114 MAG_IMG_LEFT
=> array( 1, 'left', 'esquerda' ),
115 MAG_IMG_NONE
=> array( 1, 'none', 'nenhum' ),
116 MAG_IMG_WIDTH
=> array( 1, '$1px' ),
117 MAG_IMG_CENTER
=> array( 1, 'center', 'centre' ),
118 MAG_IMG_FRAMED
=> array( 1, 'framed', 'enframed', 'frame' ),
119 MAG_INT
=> array( 0, 'INT:' ),
120 MAG_SITENAME
=> array( 1, 'SITENAME' ),
121 MAG_NS
=> array( 0, 'NS:' ),
122 MAG_LOCALURL
=> array( 0, 'LOCALURL:' ),
123 MAG_LOCALURLE
=> array( 0, 'LOCALURLE:' ),
124 MAG_SERVER
=> array( 0, 'SERVER' ),
125 MAG_SERVERNAME
=> array( 0, 'SERVERNAME' ),
126 MAG_SCRIPTPATH
=> array( 0, 'SCRIPTPATH' ),
127 MAG_GRAMMAR
=> array( 0, 'GRAMMAR:' ),
128 MAG_NOTITLECONVERT
=> array( 0, '__NOTITLECONVERT__', '__NOTC__'),
129 MAG_NOCONTENTCONVERT
=> array( 0, '__NOCONTENTCONVERT__', '__NOCC__'),
130 MAG_CURRENTWEEK
=> array( 1, 'CURRENTWEEK' ),
131 MAG_CURRENTDOW
=> array( 1, 'CURRENTDOW' ),
132 MAG_REVISIONID
=> array( 1, 'REVISIONID' ),
135 if (!$wgCachedMessageArrays) {
136 require_once('MessagesPt.php');
139 class LanguagePt
extends LanguageUtf8
{
142 * Portuguese numeric format is 123 456,78
144 function formatNum( $number, $year = false ) {
145 return $year ?
$number : strtr($this->commafy($number), '.,', ', ' );
149 * Exports $wgNamespaceNamesPt
152 function getNamespaces() {
153 global $wgNamespaceNamesPt;
154 return $wgNamespaceNamesPt;
158 * Exports $wgQuickbarSettingsPt
161 function getQuickbarSettings() {
162 global $wgQuickbarSettingsPt;
163 return $wgQuickbarSettingsPt;
167 * Exports $wgSkinNamesPt
170 function getSkinNames() {
171 global $wgSkinNamesPt;
172 return $wgSkinNamesPt;
176 * Exports $wgDateFormatsPt
179 function getDateFormats() {
180 global $wgDateFormatsPt;
181 return $wgDateFormatsPt;
184 function getMessage( $key ) {
185 global $wgAllMessagesPt;
186 if ( isset( $wgAllMessagesPt[$key] ) ) {
187 return $wgAllMessagesPt[$key];
189 return parent
::getMessage( $key );
194 * Exports $wgMagicWordsPt
197 function getMagicWords() {
198 global $wgMagicWordsPt;
199 return $wgMagicWordsPt;