oops! the messages are old ones that need deletion (eg deprecated)
[lhc/web/wiklou.git] / languages / LanguageVec.php
1 <?php
2 /** Venitian ( Vèneto )
3 *
4 * @package MediaWiki
5 * @subpackage Language
6 */
7
8 require_once( 'LanguageIt.php' );
9
10 /* private */ $wgNamespaceNamesVec = array(
11 NS_MEDIA => 'Media',
12 NS_SPECIAL => 'Speciale',
13 NS_MAIN => '',
14 NS_TALK => 'Discussion',
15 NS_USER => 'Utente',
16 NS_USER_TALK => 'Discussion_utente',
17 NS_PROJECT => $wgMetaNamespace,
18 NS_PROJECT_TALK => 'Discussion_'.$wgMetaNamespace,
19 NS_IMAGE => 'Imagine',
20 NS_IMAGE_TALK => 'Discussion_imagine',
21 NS_MEDIAWIKI => 'MediaWiki',
22 NS_MEDIAWIKI_TALK => 'Discussion_MediaWiki',
23 NS_TEMPLATE => 'Template',
24 NS_TEMPLATE_TALK => 'Discussion_template',
25 NS_HELP => 'Aiuto',
26 NS_HELP_TALK => 'Discussion_aiuto',
27 NS_CATEGORY => 'Categoria',
28 NS_CATEGORY_TALK => 'Discussion_categoria'
29 );
30
31 /* private */ $wgQuickbarSettingsIt = array(
32 'Nessun', 'Fisso a sinistra', 'Fisso a destra', 'Fluttuante a sinistra'
33 );
34
35 if (!$wgCachedMessageArrays) {
36 require_once('MessagesVec.php');
37 }
38
39 class LanguageVec extends LanguageIt {
40 #FIXME: inherit almost everything for now
41
42 function getNamespaces() {
43 global $wgNamespaceNamesVec;
44 return $wgNamespaceNamesVec;
45 }
46
47 function getQuickbarSettings() {
48 global $wgQuickbarSettingsVec;
49 return $wgQuickbarSettingsVec;
50 }
51
52 function getMessage( $key ) {
53 global $wgAllMessagesVec;
54 if(array_key_exists($key, $wgAllMessagesVec))
55 return $wgAllMessagesVec[$key];
56 else
57 return parent::getMessage($key);
58 }
59 }
60 ?>