* (bug 5432) Fix inconsistencies in cookie names when using table prefixes
[mediawiki.git] / languages / LanguageOc.php
blobdec2e50640d9dd8c29159483d23552aa72343a7c
1 <?php
2 /**
3 * @package MediaWiki
4 * @subpackage Language
5 */
7 require_once( "LanguageUtf8.php" );
9 /* private */ $wgNamespaceNamesOc = array(
10 NS_SPECIAL => "Especial",
11 NS_MAIN => "",
12 NS_TALK => "Discutir",
13 NS_USER => "Utilisator",
14 NS_USER_TALK => "Discutida_Utilisator",
15 NS_PROJECT => $wgMetaNamespace,
16 NS_PROJECT_TALK => 'Discutida_'.$wgMetaNamespace,
17 NS_IMAGE => "Imatge",
18 NS_IMAGE_TALK => "Discutida_Imatge",
19 NS_MEDIAWIKI => "Mediaòiqui",
20 NS_MEDIAWIKI_TALK => "Discutida_Mediaòiqui",
21 NS_TEMPLATE => "Modèl",
22 NS_TEMPLATE_TALK => "Discutida_Modèl",
23 NS_HELP => 'Ajuda',
24 NS_HELP_TALK => 'Discutida_Ajuda',
25 NS_CATEGORY => 'Categoria',
26 NS_CATEGORY_TALK=> 'Discutida_Categoria',
27 ) + $wgNamespaceNamesEn;
29 /* private */ $wgQuickbarSettingsOc = array(
30 "Cap", "Esquèr", "Drech", "Flotejant a esquèr"
33 /* private */ $wgSkinNamesOc = array(
34 'standard' => "Normal",
35 'nostalgia' => "Nostalgia",
36 'cologneblue' => "Còlonha Blau",
37 ) + $wgSkinNamesEn;
40 /* private */ $wgBookstoreListOc = array(
41 "Amazon.fr" => "http://www.amazon.fr/exec/obidos/ISBN=$1"
44 if (!$wgCachedMessageArrays) {
45 require_once('MessagesOc.php');
48 class LanguageOc extends LanguageUtf8{
50 function getBookstoreList () {
51 global $wgBookstoreListOc ;
52 return $wgBookstoreListOc ;
55 function getNamespaces() {
56 global $wgNamespaceNamesOc;
57 return $wgNamespaceNamesOc;
60 function getQuickbarSettings() {
61 global $wgQuickbarSettingsOc;
62 return $wgQuickbarSettingsOc;
65 function getSkinNames() {
66 global $wgSkinNamesOc;
67 return $wgSkinNamesOc;
70 function formatMonth( $month, $format ) {
71 return $this->getMonthAbbreviation( $month );
74 function timeBeforeDate( $format ) {
75 return false;
78 function timeDateSeparator( $format ) {
79 return " à ";
82 function getMessage( $key ) {
83 global $wgAllMessagesOc;
84 if( isset( $wgAllMessagesOc[$key] ) ) {
85 return $wgAllMessagesOc[$key];
86 } else {
87 return parent::getMessage( $key );