7 require_once( "LanguageUtf8.php" );
9 /* private */ $wgNamespaceNamesOc = array(
10 NS_SPECIAL
=> "Especial",
12 NS_TALK
=> "Discutir",
13 NS_USER
=> "Utilisator",
14 NS_USER_TALK
=> "Discutida_Utilisator",
15 NS_PROJECT
=> $wgMetaNamespace,
16 NS_PROJECT_TALK
=> 'Discutida_'.$wgMetaNamespace,
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",
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",
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 ) {
78 function timeDateSeparator( $format ) {
82 function getMessage( $key ) {
83 global $wgAllMessagesOc;
84 if( isset( $wgAllMessagesOc[$key] ) ) {
85 return $wgAllMessagesOc[$key];
87 return parent
::getMessage( $key );