7 require_once("LanguageUtf8.php");
9 /* private */ $wgNamespaceNamesRo = array(
11 NS_SPECIAL
=> 'Special',
13 NS_TALK
=> 'Discuţie',
14 NS_USER
=> 'Utilizator',
15 NS_USER_TALK
=> 'Discuţie_Utilizator',
16 NS_PROJECT
=> $wgMetaNamespace,
17 NS_PROJECT_TALK
=> 'Discuţie_'.$wgMetaNamespace,
18 NS_IMAGE
=> 'Imagine',
19 NS_IMAGE_TALK
=> 'Discuţie_Imagine',
20 NS_MEDIAWIKI
=> 'MediaWiki',
21 NS_MEDIAWIKI_TALK
=> 'Discuţie_MediaWiki',
22 NS_TEMPLATE
=> 'Format',
23 NS_TEMPLATE_TALK
=> 'Discuţie_Format',
25 NS_HELP_TALK
=> 'Discuţie_Ajutor',
26 NS_CATEGORY
=> 'Categorie',
27 NS_CATEGORY_TALK
=> 'Discuţie_Categorie'
29 ) +
$wgNamespaceNamesEn;
31 /* private */ $wgQuickbarSettingsRo = array(
32 "Fără", "Fixă, în stânga", "Fixă, în dreapta", "Liberă"
35 /* private */ $wgSkinNamesRo = array(
36 'standard' => "Normală",
37 'nostalgia' => "Nostalgie"
41 /* private */ $wgDateFormatsRo = array(
42 # "Nici o preferinţă",
45 /* private */ $wgMagicWordsRo = array(
47 MAG_REDIRECT
=> array( 0, "#redirect" ),
48 MAG_NOTOC
=> array( 0, "__NOTOC__", "__FARACUPRINS__" ),
49 MAG_NOEDITSECTION
=> array( 0, "__NOEDITSECTION__", "__FARAEDITSECTIUNE__" ),
50 MAG_START
=> array( 0, "__START__" ),
51 MAG_CURRENTMONTH
=> array( 1, "CURRENTMONTH", "{{NUMARLUNACURENTA}}" ),
52 MAG_CURRENTMONTHNAME
=> array( 1, "CURRENTMONTHNAME", "{{NUMELUNACURENTA}}" ),
53 MAG_CURRENTDAY
=> array( 1, "CURRENTDAY", "{{NUMARZIUACURENTA}}" ),
54 MAG_CURRENTDAYNAME
=> array( 1, "CURRENTDAYNAME", "{{NUMEZIUACURENTA}}" ),
55 MAG_CURRENTYEAR
=> array( 1, "CURRENTYEAR", "{{ANULCURENT}}" ),
56 MAG_CURRENTTIME
=> array( 1, "CURRENTTIME", "{{ORACURENTA}}" ),
57 MAG_NUMBEROFARTICLES
=> array( 1, "NUMBEROFARTICLES", "{{NUMARDEARTICOLE}}" ),
58 MAG_CURRENTMONTHNAMEGEN
=> array( 1, "CURRENTMONTHNAMEGEN", "{{NUMELUNACURENTAGEN}}" ),
59 MAG_SUBST
=> array( 0, "SUBST:" ),
60 MAG_MSGNW
=> array( 0, "MSGNW:", "MSJNOU:" ),
61 MAG_END
=> array( 0, "__END__", "__FINAL__" ),
62 MAG_IMG_THUMBNAIL
=> array( 1, "thumbnail", "thumb" ),
63 MAG_IMG_RIGHT
=> array( 1, "right" ),
64 MAG_IMG_LEFT
=> array( 1, "left" ),
65 MAG_IMG_NONE
=> array( 1, "none" ),
66 MAG_IMG_WIDTH
=> array( 1, "$1px" ),
67 MAG_IMG_CENTER
=> array( 1, "center", "centre" ),
68 MAG_INT
=> array( 0, "INT:" )
73 if (!$wgCachedMessageArrays) {
74 require_once('MessagesRo.php');
77 class LanguageRo
extends LanguageUtf8
{
79 function getNamespaces() {
80 global $wgNamespaceNamesRo;
81 return $wgNamespaceNamesRo;
84 function getQuickbarSettings() {
85 global $wgQuickbarSettingsRo;
86 return $wgQuickbarSettingsRo;
89 function getSkinNames() {
90 global $wgSkinNamesRo;
91 return $wgSkinNamesRo;
94 function getDateFormats() {
95 global $wgDateFormatsRo;
96 return $wgDateFormatsRo;
99 function timeanddate( $ts, $adj = false ) {
100 return $this->date( $ts, $adj ) . " " . $this->time( $ts, $adj );
103 function getMessage( $key ) {
104 global $wgAllMessagesRo;
105 if( isset( $wgAllMessagesRo[$key] ) )
106 return $wgAllMessagesRo[$key];
108 return parent
::getMessage( $key );
111 function fallback8bitEncoding() {
115 function getMagicWords() {
116 global $wgMagicWordsRo;
117 return $wgMagicWordsRo;