X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=languages%2FLanguageCa.php;h=5d388f9fe80f138399334e080a503c62d48e9cba;hb=fd34e637d2479306770af640dbb648e6cd39027e;hp=ada1e57919835dd4a226b9f6a39d896159e287fc;hpb=352151a2cee370332f802713bd04514495fa20c2;p=lhc%2Fweb%2Fwiklou.git diff --git a/languages/LanguageCa.php b/languages/LanguageCa.php index ada1e57919..5d388f9fe8 100644 --- a/languages/LanguageCa.php +++ b/languages/LanguageCa.php @@ -1,23 +1,29 @@ - "Media", - -1 => "Especial", - 0 => "", - 1 => "Discussió", - 2 => "Usuari", - 3 => "Usuari_Discussió", - 4 => "Viquipèdia", - 5 => "Viquipèdia_Discussió", - 6 => "Imatge", - 7 => "Imatge_Discussió", - 8 => "MediaWiki", - 9 => "MediaWiki_Dicussió" -); + NS_MEDIA => 'Media', + NS_SPECIAL => 'Especial', + NS_MAIN => '', + NS_TALK => 'Discussió', + NS_USER => 'Usuari', + NS_USER_TALK => 'Usuari_Discussió', + NS_WIKIPEDIA => 'Viquipèdia', + NS_WIKIPEDIA_TALK => 'Viquipèdia_Discussió', + NS_IMAGE => 'Imatge', + NS_IMAGE_TALK => 'Imatge_Discussió', + NS_MEDIAWIKI => 'MediaWiki', + NS_MEDIAWIKI_TALK => 'MediaWiki_Discussió', + NS_TEMPLATE => 'Template', + NS_TEMPLATE_TALK => 'Template_Discussió', + NS_HELP => 'Ajuda', + NS_HELP_TALK => 'Ajuda_Discussió', + NS_CATEGORY => 'Categoria', + NS_CATEGORY_TALK => 'Categoria_Discussió' +) + $wgNamespaceNamesEn; /* Note that some default options can be customized -- see '$wgDefaultUserOptionsEn' in Language.php */ @@ -27,14 +33,15 @@ ); /* private */ $wgSkinNamesCa = array( - "Estàndard", "Nostàlgia", "Colònia blava" -); - -/* private */ $wgMathNamesCa = array( - "Produeix sempre PNG", - "HTML si és molt simple, si no PNG", - "HTML si és possible, si no PNG", - "Deixa com a TeX (per a navegadors de text)" + 'standard' => "Estàndard", + 'nostalgia' => "Nostàlgia", + 'cologneblue' => "Colònia blava", + 'smarty' => "Paddington", + 'montparnasse' => "Montparnasse", + 'davinci' => "DaVinci", + 'mono' => "Mono", + 'monobook' => "MonoBook", + "myskin" => "MySkin" ); /* private */ $wgDateFormatsCa = array( @@ -45,26 +52,6 @@ "2001-01-15" ); -/* private */ $wgUserTogglesCa = array( - "hover" => "Mostra caixa surant sobre els enllaços wiki", - "underline" => "Subratlla enllaços", - "highlightbroken" => "Destaca enllaços a temes buits", - "justify" => "Ajusta paràgrafs", - "hideminor" => "Amaga edicions menors en canvis recents", - "usenewrc" => "Canvis recents remarcats (no per tots els navegadors)", - "numberheadings" => "Autoenumera encapçalaments", - "showtoolbar" => "Show edit toolbar", - "rememberpassword" => "Recorda la contrasenya entre sessions", - "editwidth" => "La caixa d'edició té l'ample màxim", - "editondblclick" => "Edita pàgines amb un doble clic (JavaScript)", - "editsection"=>"Enable section editing via [edit] links", - "editsectiononrightclick"=>"Enable section editing by right clicking
on section titles (JavaScript)", - "showtoc"=>"Show table of contents
(for articles with more than 3 headings)", - "watchdefault" => "Vigila articles nous i modificats", - "minordefault" => "Marca totes les edicions com menors per defecte", - "previewontop" => "Show preview before edit box and not after it", - "nocache" => "Disable page caching" -); /* Please customize this with some Catalan-language bookshops and/or reference sites that can look up by ISBN number */ @@ -75,21 +62,6 @@ "Amazon.com" => "http://www.amazon.com/exec/obidos/ISBN=$1" ); -/* private */ $wgWeekdayNamesCa = array( - "Diumenge", "Dilluns", "Dimarts", "Dimecres", "Dijous", - "Divendres", "Dissabte" -); - -/* private */ $wgMonthNamesCa = array( - "gener", "febrer", "març", "abril", "maig", "juny", - "juliol", "agost", "setembre", "octubre", "novembre", - "desembre" -); - -/* private */ $wgMonthAbbreviationsCa = array( - "gen", "feb", "mar", "abr", "mai", "jun", "jul", "ago", - "set", "oct", "nov", "des" -); # All special pages have to be listed here: a description of "" # will make them not show up on the "Special Pages" page, which @@ -126,6 +98,7 @@ "Movepage" => "", "Booksources" => "Fonts externes de llibres", "Export" => "XML export", + "Version" => "Version", ); /* private */ $wgSysopSpecialPagesCa = array( @@ -137,10 +110,63 @@ /* private */ $wgDeveloperSpecialPagesCa = array( "Lockdb" => "Tanca l'accés d'escriptura a la base de dades", "Unlockdb" => "Restaura accés d'escriptura a la base de dades", - "Debug" => "Informació d'errors" ); /* private */ $wgAllMessagesCa = array( +# User Toggles + +"tog-hover" => "Mostra caixa surant sobre els enllaços wiki", +"tog-underline" => "Subratlla enllaços", +"tog-highlightbroken" => "Destaca enllaços a temes buits", +"tog-justify" => "Ajusta paràgrafs", +"tog-hideminor" => "Amaga edicions menors en canvis recents", +"tog-usenewrc" => "Canvis recents remarcats (no per tots els navegadors)", +"tog-numberheadings" => "Autoenumera encapçalaments", +"tog-showtoolbar" => "Show edit toolbar", +"tog-rememberpassword" => "Recorda la contrasenya entre sessions", +"tog-editwidth" => "La caixa d'edició té l'ample màxim", +"tog-editondblclick" => "Edita pàgines amb un doble clic (JavaScript)", +"tog-editsection"=>"Enable section editing via [edit] links", +"tog-editsectiononrightclick"=>"Enable section editing by right clicking
on section titles (JavaScript)", +"tog-showtoc"=>"Show table of contents
(for articles with more than 3 headings)", +"tog-watchdefault" => "Vigila articles nous i modificats", +"tog-minordefault" => "Marca totes les edicions com menors per defecte", +"tog-previewontop" => "Show preview before edit box and not after it", +"tog-nocache" => "Disable page caching", +#Dates + +'sunday' => 'Diumenge', +'monday' => 'Dilluns', +'tuesday' => 'Dimarts', +'wednesday' => 'Dimecres', +'thursday' => 'Dijous', +'friday' => 'Divendres', +'saturday' => 'Dissabte', +'january' => 'gener', +'february' => 'febrer', +'march' => 'març', +'april' => 'abril', +'may_long' => 'maig', +'june' => 'juny', +'july' => 'juliol', +'august' => 'agost', +'september' => 'setembre', +'october' => 'octubre', +'november' => 'novembre', +'december' => 'desembre', +'jan' => 'gen', +'feb' => 'feb', +'mar' => 'mar', +'apr' => 'abr', +'may' => 'mai', +'jun' => 'jun', +'jul' => 'jul', +'aug' => 'ago', +'sep' => 'set', +'oct' => 'oct', +'nov' => 'nov', +'dec' => 'des', + # Bits of text used by many pages: # @@ -190,7 +216,7 @@ "redirectedfrom" => "(Redirigit des de $1)", "lastmodified" => "Aquesta pàgina ha estat modificada per última vegada el $1.", "viewcount" => "Aquesta pàgina ha estat visitada $1 vegades.", -"gnunote" => "Aquesta pàgina es fa disponible sota la GNU FDL.", +"gnunote" => "Aquesta pàgina es fa disponible sota la GNU FDL.", "printsubtitle" => "(De http://ca.wikipedia.org)", "protectedpage" => "Pàgina protegida", "administrators" => "Viquipèdia:Administradors", @@ -876,10 +902,15 @@ Incorporeu-les manualment, si us plau.", "movetalk" => "Reanomena també la pàgina de discussió si és aplicable.", "talkpagemoved" => "També ha estat reanomenada la pàgina de discussió corresponent.", "talkpagenotmoved" => "La pàgina de discussió corresponent no ha estat reanomenada.", +#Math + 'mw_math_png' => "Produeix sempre PNG", + 'mw_math_simple' =>"HTML si és molt simple, si no PNG", + 'mw_math_html' => "HTML si és possible, si no PNG", + 'mw_math_source' => "Deixa com a TeX (per a navegadors de text)", ); -include_once( "LanguageUtf8.php" ); +require_once( "LanguageUtf8.php" ); class LanguageCa extends LanguageUtf8 { # Inherent default user options unless customization is desired @@ -918,35 +949,6 @@ class LanguageCa extends LanguageUtf8 { return $wgSkinNamesCa; } - function getMathNames() { - global $wgMathNamesCa; - return $wgMathNamesCa; - } - - - function getUserToggles() { - global $wgUserTogglesCa; - return $wgUserTogglesCa; - } - - function getMonthName( $key ) - { - global $wgMonthNamesCa; - return $wgMonthNamesCa[$key-1]; - } - - function getMonthAbbreviation( $key ) - { - global $wgMonthAbbreviationsCa; - return $wgMonthAbbreviationsCa[$key-1]; - } - - function getWeekdayName( $key ) - { - global $wgWeekdayNamesCa; - return $wgWeekdayNamesCa[$key-1]; - } - # Inherit userAdjust() function shortdate( $ts, $adj = false )