X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=languages%2FLanguage.php;h=54e8492b23e46a03e65847a0eb767e4e45f5f9ad;hb=73f5726d3beb7357fbb306bf4c6345867a92b144;hp=34ed49b43e325ac7b635e8c83cc79b0ed0d93a50;hpb=a2b29c7421281bba216443a279e17a5481283fae;p=lhc%2Fweb%2Fwiklou.git diff --git a/languages/Language.php b/languages/Language.php index 34ed49b43e..54e8492b23 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -1,5 +1,5 @@ 'Talk', NS_USER => 'User', NS_USER_TALK => 'User_talk', - NS_WIKIPEDIA => $wgMetaNamespace, - NS_WIKIPEDIA_TALK => $wgMetaNamespace . '_talk', + NS_PROJECT => $wgMetaNamespace, + NS_PROJECT_TALK => $wgMetaNamespace . '_talk', NS_IMAGE => 'Image', NS_IMAGE_TALK => 'Image_talk', NS_MEDIAWIKI => 'MediaWiki', @@ -46,6 +46,10 @@ if($wgMetaNamespace === FALSE) NS_CATEGORY_TALK => 'Category_talk' ); +if(isset($wgExtraNamespaces)) { + $wgNamespaceNamesEn=$wgNamespaceNamesEn+$wgExtraNamespaces; +} + /* private */ $wgDefaultUserOptionsEn = array( 'quickbar' => 1, 'underline' => 1, 'hover' => 1, 'cols' => 80, 'rows' => 25, 'searchlimit' => 20, @@ -54,7 +58,7 @@ if($wgMetaNamespace === FALSE) 'highlightbroken' => 1, 'stubthreshold' => 0, 'previewontop' => 1, 'editsection'=>1,'editsectiononrightclick'=>0, 'showtoc'=>1, 'showtoolbar' =>1, - 'date' => 0 + 'date' => 0, 'imagesize' => 2 ); /* private */ $wgQuickbarSettingsEn = array( @@ -72,21 +76,21 @@ if($wgMetaNamespace === FALSE) 'chick' => 'Chick' ); -define( "MW_MATH_PNG", 0 ); -define( "MW_MATH_SIMPLE", 1 ); -define( "MW_MATH_HTML", 2 ); -define( "MW_MATH_SOURCE", 3 ); -define( "MW_MATH_MODERN", 4 ); -define( "MW_MATH_MATHML", 5 ); +define( 'MW_MATH_PNG', 0 ); +define( 'MW_MATH_SIMPLE', 1 ); +define( 'MW_MATH_HTML', 2 ); +define( 'MW_MATH_SOURCE', 3 ); +define( 'MW_MATH_MODERN', 4 ); +define( 'MW_MATH_MATHML', 5 ); # Validation types $wgValidationTypesEn = array ( - "0" => "Style|Awful|Awesome|5", - "1" => "Legal|Illegal|Legal|5", - "2" => "Completeness|Stub|Extensive|5", - "3" => "Facts|Wild guesses|Solid as a rock|5", - "4" => "Suitable for 1.0 (paper)|No|Yes|2", - "5" => "Suitable for 1.0 (CD)|No|Yes|2" + '0' => "Style|Awful|Awesome|5", + '1' => "Legal|Illegal|Legal|5", + '2' => "Completeness|Stub|Extensive|5", + '3' => "Facts|Wild guesses|Solid as a rock|5", + '4' => "Suitable for 1.0 (paper)|No|Yes|2", + '5' => "Suitable for 1.0 (CD)|No|Yes|2" ); /* private */ $wgMathNamesEn = array( @@ -99,8 +103,8 @@ $wgValidationTypesEn = array ( ); # Whether to use user or default setting in Language::date() -define( "MW_DATE_DEFAULT", false ); -define( "MW_DATE_USER_FORMAT", true ); +define( 'MW_DATE_DEFAULT', false ); +define( 'MW_DATE_USER_FORMAT', true ); /* private */ $wgDateFormatsEn = array( 'No preference', @@ -128,19 +132,20 @@ define( "MW_DATE_USER_FORMAT", true ); 'watchdefault', 'minordefault', 'previewontop', + 'previewonfirst', 'nocache', ); /* private */ $wgBookstoreListEn = array( - "AddALL" => "http://www.addall.com/New/Partner.cgi?query=$1&type=ISBN", - "PriceSCAN" => "http://www.pricescan.com/books/bookDetail.asp?isbn=$1", - "Barnes & Noble" => "http://shop.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1", - "Amazon.com" => "http://www.amazon.com/exec/obidos/ISBN=$1" + 'AddALL' => 'http://www.addall.com/New/Partner.cgi?query=$1&type=ISBN', + 'PriceSCAN' => 'http://www.pricescan.com/books/bookDetail.asp?isbn=$1', + 'Barnes & Noble' => 'http://shop.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1', + 'Amazon.com' => 'http://www.amazon.com/exec/obidos/ISBN=$1' ); # Read language names global $wgLanguageNames; -require_once( "Names.php" ); +require_once( 'Names.php' ); $wgLanguageNamesEn =& $wgLanguageNames; @@ -206,7 +211,8 @@ $wgLanguageNamesEn =& $wgLanguageNames; MAG_NS => array( 0, 'NS:' ), MAG_LOCALURL => array( 0, 'LOCALURL:' ), MAG_LOCALURLE => array( 0, 'LOCALURLE:' ), - MAG_SERVER => array( 0, 'SERVER' ) + MAG_SERVER => array( 0, 'SERVER' ), + MAG_GRAMMAR => array( 0, 'GRAMMAR:' ) ); #------------------------------------------------------------------- @@ -226,6 +232,9 @@ $wgLanguageNamesEn =& $wgLanguageNames; # set "portal" => "" +# required for copyrightwarning +global $wgRightsText; + /* private */ $wgAllMessagesEn = array( 'special_version_prefix' => ' ', 'special_version_postfix' => ' ', @@ -247,6 +256,7 @@ $wgLanguageNamesEn =& $wgLanguageNames; 'tog-watchdefault' => 'Add pages you edit to your watchlist', 'tog-minordefault' => 'Mark all edits minor by default', 'tog-previewontop' => 'Show preview before edit box and not after it', +'tog-previewonfirst' => 'Show preview on first edit', 'tog-nocache' => 'Disable page caching', # dates @@ -297,7 +307,7 @@ and the [http://meta.wikipedia.org/wiki/MediaWiki_User%27s_Guide User's Guide] f 'portal' => 'Community portal', 'portal-url' => '{{ns:4}}:Community Portal', 'about' => 'About', -"aboutwikipedia" => "About {{SITENAME}}", +"aboutsite" => "About {{SITENAME}}", "aboutpage" => "{{ns:4}}:About", 'article' => 'Content page', 'help' => 'Help', @@ -329,7 +339,7 @@ and the [http://meta.wikipedia.org/wiki/MediaWiki_User%27s_Guide User's Guide] f "disclaimerpage" => "{{ns:4}}:General_disclaimer", "errorpagetitle" => "Error", "returnto" => "Return to $1.", -"fromwikipedia" => "From {{SITENAME}}", +"tagline" => "From {{SITENAME}}", 'whatlinkshere' => 'Pages that link here', 'help' => 'Help', 'search' => 'Search', @@ -362,10 +372,10 @@ and the [http://meta.wikipedia.org/wiki/MediaWiki_User%27s_Guide User's Guide] f 'imagepage' => 'View image page', 'viewtalkpage' => 'View discussion', 'otherlanguages' => 'Other languages', -'redirectedfrom' => "(Redirected from $1)", -'lastmodified' => "This page was last modified $1.", -'viewcount' => "This page has been accessed $1 times.", -'copyright' => "Content is available under $1.", +'redirectedfrom' => '(Redirected from $1)', +'lastmodified' => 'This page was last modified $1.', +'viewcount' => 'This page has been accessed $1 times.', +'copyright' => 'Content is available under $1.', 'poweredby' => "{{SITENAME}} is powered by [http://www.mediawiki.org/ MediaWiki], an open source wiki engine.", 'printsubtitle' => "(From {{SERVER}})", 'protectedpage' => 'Protected page', @@ -381,7 +391,7 @@ See $1.", 'bureaucrattitle' => 'Bureaucrat access required', "bureaucrattext" => "The action you have requested can only be performed by sysops with \"bureaucrat\" status.", -'nbytes' => "$1 bytes", +'nbytes' => '$1 bytes', 'go' => 'Go', 'ok' => 'OK', 'sitetitle' => "{{SITENAME}}", @@ -493,8 +503,9 @@ again as the same or as a different user. Note that some pages may continue to be displayed as if you were still logged in, until you clear your browser cache\n", -'welcomecreation' => "
Your account has been created.
-Don't forget to change your {{SITENAME}} preferences.",
+'welcomecreation' => "== Welcome, $1! ==
+
+Your account has been created. Don't forget to change your {{SITENAME}} preferences.",
'loginpagetitle' => 'User login',
'yourname' => 'Your user name',
@@ -517,6 +528,8 @@ Don't forget to change your {{SITENAME}} preferences.",
'userexists' => 'The user name you entered is already in use. Please choose a different name.',
'youremail' => 'Your email*',
'yourrealname' => 'Your real name*',
+'yourlanguage' => 'Interface language',
+'yourvariant' => 'Language variant',
'yournick' => 'Your nickname (for signatures)',
'emailforlost' => "Fields marked with a star (*) are optional. Storing an email address enables people to contact you through the website without you having to reveal your
email address to them, and it can be used to send you a new password if you forget it.
Your real name, if you choose to provide it, will be used for giving you attribution for your work.",
@@ -630,19 +643,23 @@ You will have to merge your changes into the existing text.
press \"Save page\".\n
",
'yourtext' => 'Your text',
'storedversion' => 'Stored version',
-'editingold' => 'WARNING: You are editing an out-of-date
+'editingold' => "WARNING: You are editing an out-of-date
revision of this page.
-If you save it, any changes made since this revision will be lost.\n',
+If you save it, any changes made since this revision will be lost.\n",
'yourdiff' => 'Differences',
-# FIXME: This is inappropriate for third-party use!
'copyrightwarning' => "Please note that all contributions to {{SITENAME}} are
-considered to be released under the GNU Free Documentation License
-(see $1 for details).
+considered to be released under the $2 (see $1 for details).
If you don't want your writing to be edited mercilessly and redistributed
at will, then don't submit it here.
You are also promising us that you wrote this yourself, or copied it from a
public domain or similar free resource.
DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!",
+'copyrightwarning2' => "Please note that all contributions to {{SITENAME}}
+may be edited, altered, or removed by other contributors.
+If you don't want your writing to be edited mercilessly, then don't submit it here.
+You are also promising us that you wrote this yourself, or copied it from a
+public domain or similar free resource (see $1 for details).
+DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!",
'longpagewarning' => "WARNING: This page is $1 kilobytes long; some
browsers may have problems editing pages approaching or longer than 32kb.
Please consider breaking the page into smaller sections.",
@@ -653,6 +670,7 @@ the text into a text file and save it for later.',
users with sysop privileges can edit it. Be sure you are following the
protected page
guidelines.",
+'templatesused' => 'Templates used on this page:',
# History pages
#
@@ -663,7 +681,9 @@ guidelines.",
Please check the URL you used to access this page.\n",
'loadhist' => 'Loading page history',
'currentrev' => 'Current revision',
-'revisionasof' => "Revision as of $1",
+'revisionasof' => 'Revision as of $1',
+'revisionasofwithlink' => '(Revision as of $1; $2)',
+'currentrevisionlink' => 'view current revision',
'cur' => 'cur',
'next' => 'next',
'last' => 'last',
@@ -705,7 +725,7 @@ and the text of $3 pages.",
'prevn' => "previous $1",
'nextn' => "next $1",
'viewprevnext' => "View ($1) ($2) ($3).",
-'showingresults' => "Showing below $1 results starting with #$2.",
+'showingresults' => "Showing below up to $1 results starting with #$2.",
'showingresultsnum' => "Showing below $3 results starting with #$2.",
'nonefound' => "'''Note''': unsuccessful searches are
often caused by searching for common words like \"have\" and \"from\",
@@ -814,6 +834,7 @@ from server time (UTC).',
'nchanges' => "$1 changes",
'minoreditletter' => 'm',
'newpageletter' => 'N',
+'sectionlink' => '→',
# Upload
#
@@ -861,11 +882,7 @@ you may be blocked from uploading if you abuse the system.",
'uploadlog' => 'upload log',
'uploadlogpage' => 'Upload_log',
-'uploadlogpagetext' => 'Below is a list of the most recent file uploads.
-All times shown are server time (UTC).
-