New updateSpecialPages.php script, to update the QueryPage cache. Disabled recache...
[lhc/web/wiklou.git] / languages / LanguageSk.php
index a48fcc9..280b0f1 100644 (file)
@@ -1,6 +1,10 @@
 <?php
+/**
+  * @package MediaWiki
+  * @subpackage Language
+  */
 
-include_once("LanguageUtf8.php");
+require_once("LanguageUtf8.php");
 
 # Tu môžete meniť názvy "namespaces" (no proste, rôznych častí encyklopédie),
 # ale čísla nechajte tak, ako sú! Program to tak vyžaduje...
@@ -17,58 +21,31 @@ include_once("LanguageUtf8.php");
        6       => "Obrázok",
        7       => "Komentár_k_obrázku",
        8       => "MediaWiki",
-       9       => "Komentár_k_MediaWiki"
-);
+       9       => "Komentár_k_MediaWiki",
+       10  => "Template",
+       11  => "Template_talk"
+
+) + $wgNamespaceNamesEn;
 
 /* private */ $wgQuickbarSettingsSk = array(
        "None", "Fixed left", "Fixed right", "Floating left"
 );
 
 /* private */ $wgSkinNamesSk = array(
-       "Standard", "Nostalgia", "Cologne Blue"
-);
-
-/* private */ $wgMathNamesSk = array(
-       "Vždy vytvor PNG",
-       "Na jednoduché použi HTML, inak PNG",
-       "Ak sa dá, použi HTML, inak PNG",
-       "Ponechaj TeX (pre textové prehliadače)",
      "Odporúčame pre moderné prehliadače"
+       'standard' => "Standard",
+       'nostalgia' => "Nostalgia",
+       'cologneblue' => "Cologne Blue",
+       'smarty' => "Paddington",
+       'montparnasse' => "Montparnasse",
+       'davinci' => "DaVinci",
+       'mono' => "Mono",
+       'monobook' => "MonoBook",
"myskin" => "MySkin"
 );
 
-/* private */ $wgUserTogglesSk = array(
-       "hover"         => "Zobrazuj text nad linkami do wiki",
-       "underline" => "Podčiarkuj linky",
-       "highlightbroken" => "Neexistujúce linky zobrazuj červenou.",
-       "justify"       => "Zarovnávaj odstavce",
-       "hideminor" => "V posledných úpravách neukazuj drobné úpravy",
-       "usenewrc" => "Špeciálne zobrazenie posledných úprav (vyžaduje JavaScript)",
-       "numberheadings" => "Automaticky čísluj odstavce",
-       "showtoolbar" => "Show edit toolbar",
-       "rememberpassword" => "Pamätaj si heslo aj nabudúce",
-       "editwidth" => "Maximálna šírka editovacieho okna",
-       "editondblclick" => "Edituj stránky po dvojkliku (JavaScript)",
-       "watchdefault" => "Upozorňuj na nové a novu upravené stránky",
-       "minordefault" => "Označ všetky zmeny ako drobné",
-       "previewontop" => "Zobrazuj ukážku pred editovacím oknom, a nie až za ním"
-       
-);
 
-/* private */ $wgWeekdayNamesSk = array(
-       "Nedeľa", "Pondelok", "Utorok", "Streda", "Štvrtok",
-       "Piatok", "Sobota"
-);
 
-/* private */ $wgMonthNamesSk = array(
-       "Január", "Február", "Marec", "Apríl", "Máj", "Jún",
-       "Júl", "August", "September", "Október", "November",
-       "December"
-);
 
-/* private */ $wgMonthAbbreviationsSk = array(
-       "Jan", "Feb", "Mar", "Apr", "Máj", "Jún", "Júl", "Aug",
-       "Sep", "Okt", "Nov", "Dec"
-);
 
 # All special pages have to be listed here: a description of ""
 # will make them not show up on the "Special Pages" page, which
@@ -122,13 +99,66 @@ include_once("LanguageUtf8.php");
 );
 
 /* private */ $wgAllMessagesSk = array(
+'special_version_prefix' => '',
+'special_version_postfix' => '',
+
+# User Toggles
+
+"tog-underline" => "Podčiarkuj linky",
+"tog-highlightbroken" => "Neexistujúce linky zobrazuj červenou.",
+"tog-justify"  => "Zarovnávaj odstavce",
+"tog-hideminor" => "V posledných úpravách neukazuj drobné úpravy",
+"tog-usenewrc" => "Špeciálne zobrazenie posledných úprav (vyžaduje JavaScript)",
+"tog-numberheadings" => "Automaticky čísluj odstavce",
+"tog-showtoolbar" => "Show edit toolbar",
+"tog-rememberpassword" => "Pamätaj si heslo aj nabudúce",
+"tog-editwidth" => "Maximálna šírka editovacieho okna",
+"tog-editondblclick" => "Edituj stránky po dvojkliku (JavaScript)",
+"tog-watchdefault" => "Upozorňuj na nové a novu upravené stránky",
+"tog-minordefault" => "Označ všetky zmeny ako drobné",
+"tog-previewontop" => "Zobrazuj ukážku pred editovacím oknom, a nie až za ním",
+
+# Dates
+#
+
+'sunday' => 'Nedeľa',
+'monday' => 'Pondelok',
+'tuesday' => 'Utorok',
+'wednesday' => 'Streda',
+'thursday' => "Štvrtok",
+'friday' => 'Piatok',
+'saturday' => 'Sobota',
+'january' => 'Január',
+'february' => 'Február',
+'march' => 'Marec',
+'april' => 'Apríl',
+'may_long' => 'Máj',
+'june' => 'Jún',
+'july' => 'Júl',
+'august' => 'August',
+'september' => 'September',
+'october' => 'Október',
+'november' => 'November',
+'december' => 'December',
+'jan' => 'Jan',
+'feb' => 'Feb',
+'mar' => 'Mar',
+'apr' => 'Apr',
+'may' => 'Máj',
+'jun' => 'Jún',
+'jul' => 'Júl',
+'aug' => 'Aug',
+'sep' => 'Sep',
+'oct' => 'Okt',
+'nov' => 'Nov',
+'dec' => 'Dec',
 
 # Bits of text used by many pages:
 #
 "linktrail"            => "/^([a-z]+)(.*)\$/sD",
 "mainpage"             => "Hlavná stránka",
 "about"                        => "Úvod",
-"aboutwikipedia" => "O Wikipédii",
+"aboutsite"      => "O Wikipédii",
 "aboutpage"            => "Wikipédia:Úvod",
 "help"                 => "Pomoc",
 "helppage"             => "Wikipédia:Pomoc",
@@ -151,7 +181,7 @@ include_once("LanguageUtf8.php");
 "currentevents" => "Aktuality",
 "errorpagetitle" => "Chyba",
 "returnto"             => "Späť na $1.",
-"fromwikipedia"        => "Z Wikipédie, slobodnej encyklopédie.",
+"tagline"              => "Z Wikipédie, slobodnej encyklopédie.",
 "whatlinkshere"        => "Sem ukazujú stránky",
 "help"                 => "Pomoc",
 "search"               => "Hľadaj",
@@ -206,8 +236,6 @@ Viď $1.",
 "error"                        => "Chyba",
 "databaseerror" => "Chyba v databáze",
 "dberrortext"  => "Nastala syntaktická chyba v dotaze do databázy.
-Znamená to chybnú dotaz (viď $5),
-alebo chybu v softvéri.
 Posledný pokus o dotaz bol:
 <blockquote><tt>$1</tt></blockquote>
 z funkcie \"<tt>$2</tt>\".
@@ -228,7 +256,7 @@ Prosím ohláste túto chybu správcovi, uveďte aj linku (URL).",
 "filedeleteerror" => "Neviem vymazať súbor \"$1\".",
 "filenotfound" => "Neviem nájsť súbor \"$1\".",
 "unexpected"   => "Nečakaná hodnota: \"$1\"=\"$2\".",
-"formerror"            => "Chyba: neviem odoslať formulár",  
+"formerror"            => "Chyba: neviem odoslať formulár",
 "badarticleerror" => "Na tejto stránke túto akciu vykonať nemožno.",
 "cannotdelete" => "Neviem vymazať danú stránku alebo obrázok. (Možno to už vymazal niekto iný.)",
 "badtitle"             => "Zlý nadpis",
@@ -251,8 +279,8 @@ Nezabudnite si nastaviť užívateľské nastavenia.",
 "yourpasswordagain" => "Zopakujte heslo",
 "newusersonly" => " (iba noví užívatelia)",
 "remembermypassword" => "Pamätať si heslo aj po vypnutí počítača.",
-"loginproblem" => "<b>Nastal problém pri prihlasovaní.</b><br>Skúste znova!",
-"alreadyloggedin" => "<font color=red><b>Užívateľ $1, vy už ste prihlásený!</b></font><br>\n",
+"loginproblem" => "<b>Nastal problém pri prihlasovaní.</b><br />Skúste znova!",
+"alreadyloggedin" => "<font color=red><b>Užívateľ $1, vy už ste prihlásený!</b></font><br />\n",
 
 "login"                        => "Log in",
 "userlogin"            => "Log in",
@@ -292,12 +320,12 @@ Please log in again after you receive it.",
 "showpreview"  => "Show preview",
 "blockedtitle" => "User is blocked",
 "blockedtext"  => "Your user name or IP address has been blocked by $1.
-The reason given is this:<br>''$2''<p>You may contact $1 or one of the other
+The reason given is this:<br />''$2''<p>You may contact $1 or one of the other
 [[Wikipedia:administrators|administrators]] to discuss the block.",
 "newarticle"   => "(New)",
 "newarticletext" =>
 "You've followed a link to a page that doesn't exist yet.
-To create the page, start typing in the box below 
+To create the page, start typing in the box below
 (see the [[Wikipedia:Help|help page]] for more info).
 If you are here by mistake, just click your browser's '''back''' button.",
 "anontalkpagetext" => "---- ''This is the discussion page for an anonymous user who has not created an account yet or who does not use it. We therefore have to use the numerical [[IP address]] to identify him/her. Such an IP address can be shared by several users. If you are an anonymous user and feel that irrelevant comments have been directed at you, please [[Special:Userlogin|create an account or log in]] to avoid future confusion with other anonymous users.'' ",
@@ -326,7 +354,7 @@ If you save it, any changes made since this revision will be lost.</strong>\n",
 considered to be released under the GNU Free Documentation License
 (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.<br>
+at will, then don't submit it here.<br />
 You are also promising us that you wrote this yourself, or copied it from a
 public domain or similar free resource.
 <strong>DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!</strong>",
@@ -361,9 +389,7 @@ Please check the URL you used to access this page.\n",
 # Search results
 #
 "searchresults" => "Search results",
-"searchhelppage" => "Wikipedia:Searching",
-"searchingwikipedia" => "Searching Wikipedia",
-"searchresulttext" => "For more information about searching Wikipedia, see $1.",
+"searchresulttext" => "For more information about searching {{SITENAME}}, see [[Project:Searching|Searching {{SITENAME}}]].",
 "searchquery"  => "For query \"$1\"",
 "badquery"             => "Badly formed search query",
 "badquerytext" => "We could not process your query.
@@ -389,8 +415,8 @@ which are not indexed, or by specifying more than one search term (only pages
 containing all of the search terms will appear in the result).",
 "powersearch" => "Search",
 "powersearchtext" => "
-Search in namespaces :<br>
-$1<br>
+Search in namespaces :<br />
+$1<br />
 $2 List redirects &nbsp; Search for $3 $9",
 
 
@@ -398,13 +424,12 @@ $2 List redirects &nbsp; Search for $3 $9",
 #
 "preferences"  => "Preferences",
 "prefsnologin" => "Not logged in",
-"prefsnologintext"     => "You must be <a href=\"" .
-  wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
+"prefsnologintext"     => "You must be [[Special:Userlogin|logged in]]
 to set user preferences.",
 "prefslogintext" => "You are logged in as \"$1\".
 Your internal ID number is $2.",
 "prefsreset"   => "Preferences have been reset from storage.",
-"qbsettings"   => "Quickbar settings", 
+"qbsettings"   => "Quickbar settings",
 "changepassword" => "Change password",
 "skin"                 => "Skin",
 "math"                 => "Rendering math",
@@ -418,7 +443,7 @@ Your internal ID number is $2.",
 "oldpassword"  => "Old password",
 "newpassword"  => "New password",
 "retypenew"            => "Retype new password",
-"textboxsize"  => "Textbox dimensions",
+"textboxsize"  => "Editing",
 "rows"                 => "Rows",
 "columns"              => "Columns",
 "searchresultshead" => "Search result settings",
@@ -475,38 +500,10 @@ See also the [http://meta.wikipedia.org/wiki/Special:Recentchanges recent meta d
 "reupload"             => "Re-upload",
 "reuploaddesc" => "Return to the upload form.",
 "uploadnologin" => "Not logged in",
-"uploadnologintext"    => "You must be <a href=\"" .
-  wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
+"uploadnologintext"    => "You must be [[Special:Userlogin|logged in]]
 to upload files.",
 "uploadfile"   => "Upload file",
 "uploaderror"  => "Upload error",
-"uploadtext"   => "<strong>STOP!</strong> Before you upload here,
-make sure to read and follow Wikipedia's <a href=\"" .
-wfLocalUrlE( "Wikipedia:Image_use_policy" ) . "\">image use policy</a>.
-<p>To view or search previously uploaded images,
-go to the <a href=\"" . wfLocalUrlE( "Special:Imagelist" ) .
-"\">list of uploaded images</a>.
-Uploads and deletions are logged on the <a href=\"" .
-wfLocalUrlE( "Wikipedia:Upload_log" ) . "\">upload log</a>.
-<p>Use the form below to upload new image files for use in
-illustrating your articles.
-On most browsers, you will see a \"Browse...\" button, which will
-bring up your operating system's standard file open dialog.
-Choosing a file will fill the name of that file into the text
-field next to the button.
-You must also check the box affirming that you are not
-violating any copyrights by uploading the file.
-Press the \"Upload\" button to finish the upload.
-This may take some time if you have a slow internet connection.
-<p>The preferred formats are JPEG for photographic images, PNG
-for drawings and other iconic images, and OGG for sounds.
-Please name your files descriptively to avoid confusion.
-To include the image in an article, use a link in the form
-<b>[[image:file.jpg]]</b> or <b>[[image:file.png|alt text]]</b>
-or <b>[[media:file.ogg]]</b> for sounds.
-<p>Please note that as with Wikipedia pages, others may edit or
-delete your uploads if they think it serves the encyclopedia, and
-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.
@@ -535,7 +532,7 @@ in information about the file, such as where it came from, when it was
 created and by whom, and anything else you may know about it.",
 "uploadwarning" => "Upload warning",
 "savefile"             => "Save file",
-"uploadedimage" => "uploaded \"$1\"",
+"uploadedimage" => "uploaded \"[[$1]]\"",
 
 # Image list
 #
@@ -545,7 +542,6 @@ created and by whom, and anything else you may know about it.",
 "ilshowmatch"  => "Show all images with names matching",
 "ilsubmit"             => "Search",
 "showlast"             => "Show last $1 images sorted $2.",
-"all"                  => "all",
 "byname"               => "by name",
 "bydate"               => "by date",
 "bysize"               => "by size",
@@ -555,9 +551,10 @@ created and by whom, and anything else you may know about it.",
 "imghistory"   => "Image history",
 "revertimg"            => "rev",
 "deleteimg"            => "del",
+"deleteimgcompletely"          => "del",
 "imghistlegend" => "Legend: (cur) = this is the current image, (del) = delete
 this old version, (rev) = revert to this old version.
-<br><i>Click on date to see image uploaded on that date</i>.",
+<br /><i>Click on date to see image uploaded on that date</i>.",
 "imagelinks"   => "Image links",
 "linkstoimage" => "The following pages link to this image:",
 "nolinkstoimage" => "There are no pages that link to this image.",
@@ -585,9 +582,9 @@ That comes to <b>$5</b> average edits per page, and <b>$6</b> views per edit.",
 "maintenancebacklink"  => "Back to Maintenance Page",
 "disambiguations"      => "Disambiguation pages",
 "disambiguationspage"  => "Wikipedia:Links_to_disambiguating_pages",
-"disambiguationstext"  => "The following articles link to a <i>disambiguation page</i>. They should link to the appropriate topic instead.<br>A page is treated as dismbiguation if it is linked from $1.<br>Links from other namespaces are <i>not</i> listed here.",
+"disambiguationstext"  => "The following articles link to a <i>disambiguation page</i>. They should link to the appropriate topic instead.<br />A page is treated as dismbiguation if it is linked from $1.<br />Links from other namespaces are <i>not</i> listed here.",
 "doubleredirects"      => "Double Redirects",
-"doubleredirectstext"  => "<b>Attention:</b> This list may contain false positives. That usually means there is additional text with links below the first #REDIRECT.<br>\nEach row contains links to the first and second redirect, as well as the first line of the second redirect text, usually giving the \"real\" taget article, which the first redirect should point to.",
+"doubleredirectstext"  => "<b>Attention:</b> This list may contain false positives. That usually means there is additional text with links below the first #REDIRECT.<br />\nEach row contains links to the first and second redirect, as well as the first line of the second redirect text, usually giving the \"real\" taget article, which the first redirect should point to.",
 "brokenredirects"      => "Broken Redirects",
 "brokenredirectstext"  => "The following redirects link to a non-existing article.",
 "selflinks"            => "Pages with Self Links",
@@ -638,10 +635,8 @@ this list should not be construed as an endorsement.",
 # Email this user
 #
 "mailnologin"  => "No send address",
-"mailnologintext" => "You must be <a href=\"" .
-  wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
-and have a valid e-mail address in your <a href=\"" .
-  wfLocalUrl( "Special:Preferences" ) . "\">preferences</a>
+"mailnologintext" => "You must be [[Special:Userlogin|logged in]]
+and have a valid e-mail address in your [[Special:Preferences|preferences]]
 to send e-mail to other users.",
 "emailuser"            => "E-mail this user",
 "emailpage"            => "E-mail user",
@@ -667,15 +662,14 @@ or has chosen not to receive e-mail from other users.",
 "watchlistsub" => "(for user \"$1\")",
 "nowatchlist"  => "You have no items on your watchlist.",
 "watchnologin" => "Not logged in",
-"watchnologintext"     => "You must be <a href=\"" .
-  wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
+"watchnologintext"     => "You must be [[Special:Userlogin|logged in]]
 to modify your watchlist.",
 "addedwatch"   => "Added to watchlist",
 "addedwatchtext" => "The page \"$1\" has been added to your <a href=\"" .
-  wfLocalUrl( "Special:Watchlist" ) . "\">watchlist</a>.
+  "{{localurle:Special:Watchlist}}\">watchlist</a>.
 Future changes to this page and its associated Talk page will be listed there,
 and the page will appear <b>bolded</b> in the <a href=\"" .
-  wfLocalUrl( "Special:Recentchanges" ) . "\">list of recent changes</a> to
+  "{{localurle:Special:Recentchanges}}\">list of recent changes</a> to
 make it easier to pick out.</p>
 
 <p>If you want to remove the page from your watchlist later, click \"Stop watching\" in the sidebar.",
@@ -696,7 +690,6 @@ or image along with all of its history from the database.
 Please confirm that you intend to do this, that you understand the
 consequences, and that you are doing this in accordance with
 [[Wikipedia:Policy]].",
-"confirmcheck" => "Yes, I really want to delete this.",
 "actioncomplete" => "Action complete",
 "deletedtext"  => "\"$1\" has been deleted.
 See $2 for a record of recent deletions.",
@@ -770,7 +763,7 @@ pages that were vandalized).",
 "noblockreason" => "You must supply a reason for the block.",
 "blockipsuccesssub" => "Block succeeded",
 "blockipsuccesstext" => "The IP address \"$1\" has been blocked.
-<br>See [[Special:Ipblocklist|IP block list]] to review blocks.",
+<br />See [[Special:Ipblocklist|IP block list]] to review blocks.",
 "unblockip"            => "Unblock IP address",
 "unblockiptext"        => "Use the form below to restore write access
 to a previously blocked IP address.",
@@ -803,7 +796,7 @@ Please confirm that this is what you intend to do.",
 "lockdbsuccesssub" => "Database lock succeeded",
 "unlockdbsuccesssub" => "Database lock removed",
 "lockdbsuccesstext" => "The Wikipedia database has been locked.
-<br>Remember to remove the lock after your maintenance is complete.",
+<br />Remember to remove the lock after your maintenance is complete.",
 "unlockdbsuccesstext" => "The Wikipedia database has been unlocked.",
 
 # SQL query
@@ -849,8 +842,7 @@ proceeding.",
 In those cases, you will have to move or merge the page manually if desired.",
 "movearticle"  => "Move page",
 "movenologin"  => "Not logged in",
-"movenologintext" => "You must be a registered user and <a href=\"" .
-  wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
+"movenologintext" => "You must be a registered user and [[Special:Userlogin|logged in]]
 to move a page.",
 "newtitle"             => "To new title",
 "movepagebtn"  => "Move page",
@@ -866,6 +858,13 @@ title. Please merge them manually.",
 "movetalk"             => "Move \"talk\" page as well, if applicable.",
 "talkpagemoved" => "The corresponding talk page was also moved.",
 "talkpagenotmoved" => "The corresponding talk page was <strong>not</strong> moved.",
+# Math
+       'mw_math_png' => "Vždy vytvor PNG",
+       'mw_math_simple' => "Na jednoduché použi HTML, inak PNG",
+       'mw_math_html' => "Ak sa dá, použi HTML, inak PNG",
+       'mw_math_source' => "Ponechaj TeX (pre textové prehliadače)",
+       'mw_math_modern' => "Odporúčame pre moderné prehliadače",
+       'mw_math_mathml' => 'MathML',
 
 );
 
@@ -902,34 +901,6 @@ class LanguageSk extends LanguageUtf8 {
                return $wgSkinNamesSk;
        }
 
-       function getMathNames() {
-               global $wgMathNamesSk;
-               return $wgMathNamesSk;
-       }
-
-       function getUserToggles() {
-               global $wgUserTogglesSk;
-               return $wgUserTogglesSk;
-       }
-
-       function getMonthName( $key )
-       {
-               global $wgMonthNamesSk;
-               return $wgMonthNamesSk[$key-1];
-       }
-
-       function getMonthAbbreviation( $key )
-       {
-               global $wgMonthAbbreviationsSk;
-               return $wgMonthAbbreviationsSk[$key-1];
-       }
-
-       function getWeekdayName( $key )
-       {
-               global $wgWeekdayNamesSk;
-               return $wgWeekdayNamesSk[$key-1];
-       }
-
        function getValidSpecialPages()
        {
                global $wgValidSpecialPagesSk;
@@ -955,7 +926,7 @@ class LanguageSk extends LanguageUtf8 {
                        return $wgAllMessagesSk[$key];
                return Language::getMessage( $key );
        }
-       
+
        function fallback8bitEncoding() {
                return "iso-8859-2"; #?
        }