| version 1.7, 2002/11/27 22:20:38 |
version 1.8, 2003/01/11 13:50:08 |
|
|
| |
# |
| |
# CVSweb multilanguage support |
| |
# Developed by Lubomir Host <rajo@platon.sk> |
| |
# and Ondrej Jombik <nepto@platon.sk> |
| |
# Copyright (c) 2002-2003 Platon SDG, http://www.platon.sk/ |
| |
# |
| |
|
| # $Platon: scripts/cgi/cvsweb/lang/sk.pm,v 1.6 2002/11/22 20:04:15 rajo Exp $ |
# $Platon |
| |
|
| package lang::sk; |
package lang::sk; |
| use strict; |
use strict; |
| |
|
| my %table = ( |
my %table = ( |
| '' => '', |
'' => '', |
| 'File' => 'Súbor', |
' and ' => ' a ', |
| 'Rev.' => 'Rev.', |
'File' => 'Súbor', |
| 'Age' => 'Vek', |
'Rev.' => 'Rev.', |
| 'Author' => 'Autor', |
'Age' => 'Vek', |
| |
'Author' => 'Autor', |
| 'Current directory' => 'Aktuálny adresár', |
'Current directory' => 'Aktuálny adresár', |
| 'Current tag: ' => 'Aktuálny tag: ', |
'Current tag: ' => 'Aktuálny tag: ', |
| 'Last log entry' => 'Posledný popis', |
'Last log entry' => 'Posledný popis', |
| '[Hide]' => '[Skryť]', |
'[Hide]' => '[Skryť]', |
| 'even' => 'párne', |
'even' => 'párne', |
| 'odd' => 'nepárne', |
'odd' => 'nepárne', |
| 'Parent Directory' => 'Rodičovský adresár', |
'Parent Directory' => 'Rodičovský adresár', |
| '[Don\'t hide]' => 'Neskryť', |
'[Don\'t hide]' => 'Neskryť', |
| 'NOTE' => 'Poznámka', |
'NOTE' => 'Poznámka', |
| 'Go' => 'Hľadaj', |
'Go' => 'Hľadaj', |
| 'tarball' => 'tarball', |
'tarball' => 'tarball', |
| 'zip archive' => 'zip archív', |
'zip archive' => 'zip archív', |
| 'Preferences' => 'Možnosti', |
'Preferences' => 'Možnosti', |
| 'Sort files by' => 'Usporiadať súbory podľa', |
'Sort files by' => 'Usporiadať súbory podľa', |
| 'Revision' => 'Revízia', |
'Revision' => 'Revízia', |
| 'Log message' => 'Popis', |
'revision' => 'revízia', |
| 'Sort log by' => 'Utriediť popisy podľa', |
'Log message' => 'Popis', |
| 'Diff format' => 'Formát rozdielov', |
'Sort log by' => 'Utriediť popisy podľa', |
| 'Show Attic files' => 'Zobraziť zmazané súbory', |
'Diff format' => 'Formát rozdielov', |
| 'Change Options' => 'Zmeniť nastavenie', |
'Show Attic files' => 'Zobraziť zmazané súbory', |
| |
'Change Options' => 'Zmeniť nastavenie', |
| |
'CVS Root' => 'CVS archív', |
| |
'very little time' => 'veľmi malý čas', |
| |
'Show' => 'Zobraz', |
| |
'version' => 'verzia', |
| |
'Tag' => 'Značka', |
| |
'Line' => 'Riadok', |
| |
'Removed from v.' => 'Odstranené z verzie', |
| |
'changed lines' => 'zmenené riadky', |
| |
'Added in v.' => 'Pridané vo verzii', |
| |
'Up to ' => 'Vyššie na', |
| |
'download' => 'stiahnutie', |
| |
'as text' => 'ako text', |
| |
'Version' => 'Verzia', |
| |
'Default branch' => 'Základná vetva', |
| |
'No default branch' => 'žiadna základná vetva', |
| |
'Current tag' => 'Aktuálna značka', |
| |
'Diffs between' => 'Rozdiely medzi', |
| |
'Use Text Field' => 'Použitie textového poľa', |
| |
' Get Diffs ' => 'Zobraz rozdiely', |
| |
'View only Branch' => 'Zobrazenie iba jednej vetvy', |
| |
'Show all branches' => 'Zobrazenie všetkých vetiev', |
| |
'Sort log by' => 'Log utriedený podľa', |
| |
'view' => 'zobraz', |
| |
'annotate' => 'annotate', # WTF?! |
| |
'Annotation of ' => 'Annotation of ', |
| |
'selected' => 'vybrané', |
| |
'vendor branch' => 'vývojová vetva', # ? |
| |
'Branch' => 'Vetva', |
| |
'CVS Tags' => 'CVS značky', |
| |
'Branch point for' => '?? Branch point for', # ? |
| |
'Changes since' => 'Zmeny od', |
| |
'FILE REMOVED' => 'SÚBOR ODSTRÁNENÝ', |
| |
'CVS log for' => 'CVS log pre', |
| |
|
| |
'No viewable change' => 'žiadna zobraziteľná zmena', |
| |
'Revision graph of %s' => 'Graf revízií pre %s', |
| |
'Preferred Diff type' => 'Preferovaný typ rozdielov', |
| 'Show only files with tag' => 'Ukázať iba súbory s tagom', |
'Show only files with tag' => 'Ukázať iba súbory s tagom', |
| |
'This CVSweb is mirrored in' => 'Tento CVSweb je mirorovaný v', |
| 'All tags / default branch' => 'Všetky tagy / Základná vetva', |
'All tags / default branch' => 'Všetky tagy / Základná vetva', |
| 'Module path or alias' => 'Cesta k modulu alebo alias', |
'Module path or alias' => 'Cesta k modulu alebo alias', |
| 'Download this directory in ' => 'Stiahnuť tento adresár v ', |
'Download this directory in ' => 'Stiahnuť tento adresár v ', |
| 'Malformed query (%s=%s)' => 'Nesprávny dotaz (%s=%s)', |
'Malformed query (%s=%s)' => 'Nesprávny dotaz (%s=%s)', |
| ' (in the Attic) ' => ' (v odstránených súboroch) ', |
'Return to %s CVS log' => 'Návrat na %s CVS log', |
| |
'select for diffs' => 'vyber pre rozdiely', |
| |
' (in the Attic) ' => ' (v odstránených súboroch) ', |
| |
|
| |
'Request diff between arbitrary revisions' |
| |
=> 'Zobrazenie rozdielov medzi ľubovoľnými revíziami', |
| |
'Display revisions graphically' |
| |
=> 'Zobrazenie revízií graficky', |
| |
'Diff for %s between version %s and %s"' |
| |
=> 'Rozdiely pre %s medzi verziami %s a %s', |
| |
'Access forbidden. This file is mentioned in @ForbiddenFiles' |
| |
=> 'Prístup zakázaný. Tento súbor je zapísaný vo @ForbiddenFiles', |
| |
'You cannot download the top level directory.' |
| |
=> 'Nie je možné sťahovať z adresára najvyššej úrovne.', |
| |
|
| |
'Click on a directory to enter that directory. Click on a file to display' |
| |
. ' its revision history and to get a chance to display diffs between revisions.' |
| |
=> |
| |
'Kliknutie na meno adresára vykoná vstup do adresára. Kliknutie na meno' |
| |
. ' súboru zobrazí históriu revízií spolu s možnosťou zobrazenia rozdielov' |
| |
. ' medzi jednotlivými revíziami.', |
| |
|
| |
"This form allows you to request diff's between any two\n" . |
| |
"revisions of a file. You may select a symbolic revision\n" . |
| |
"name using the selection box or you may type in a numeric\n" . |
| |
"name using the type-in text box.\n" |
| |
=> |
| |
"Tento formulár umožňuje zobrazenie rozdielov medzii\n" . |
| |
"ľubovoľnými dvomi revíziami jedného súboru. Môžete vybrať\n" . |
| |
"symbolické meno revízie alebo priamo zadať číslo revízie\n" . |
| |
"do vstupného textového poľa.", |
| |
|
| |
# |
| |
# This is purpously untranslated, due to bad handling |
| |
# of plural forms. |
| |
# |
| |
|
| |
'second' => 'second', |
| |
'minute' => 'minute', |
| |
'hour' => 'hour', |
| |
'day' => 'day', |
| |
'week' => 'week', |
| |
'month' => 'month', |
| |
'year' => 'year', |
| |
'ago' => 'ago', |
| ); |
); |
| |
|
| sub _($) |
sub _($) |
|
|
| =cut |
=cut |
| |
|
| |
|
| |
|
| |
|
| |
|
| # messages for multilanguage support |
# messages for multilanguage support |
| %msg = ( |
%msg = ( |
| fatal("500 Internal Error", _("Unsupported content-type")) |
fatal("500 Internal Error", _("Unsupported content-type")) |
|
|
| _('$CVSROOT not found!<p>The server on which the CVS tree lives is probably down. Please try again in a few minutes.')); |
_('$CVSROOT not found!<p>The server on which the CVS tree lives is probably down. Please try again in a few minutes.')); |
| fatal("403 Forbidden", _('Access to %s forbidden.'), $where); |
fatal("403 Forbidden", _('Access to %s forbidden.'), $where); |
| fatal('403 Forbidden', _('Downloading tarballs is prohibited.')) |
fatal('403 Forbidden', _('Downloading tarballs is prohibited.')) |
| _('You cannot download the top level directory.')); |
|
| fatal('500 Internal Error', _('Unable to make temporary directory: %s'), $!); |
fatal('500 Internal Error', _('Unable to make temporary directory: %s'), $!); |
| @fatal = ('500 Internal Error', _('cvs co failure: %s: %s'), $!, $module); |
@fatal = ('500 Internal Error', _('cvs co failure: %s: %s'), $!, $module); |
| ('500 Internal Error', _('tar zc failure: %s: %s'), $!, $basedir); |
('500 Internal Error', _('tar zc failure: %s: %s'), $!, $basedir); |
|
|
| fatal("404 Not Found", _('Malformed query "%s"'), $ENV{QUERY_STRING}); |
fatal("404 Not Found", _('Malformed query "%s"'), $ENV{QUERY_STRING}); |
| _('Fatal Error - unable to open cvs for annotation')); |
_('Fatal Error - unable to open cvs for annotation')); |
| close($writer) or die _("cannot close"), ": $!"; |
close($writer) or die _("cannot close"), ": $!"; |
| print '<h3 style="text-align: center">', _('Annotation of '), |
|
| htmlquote("$pathname$filename"), ", ", _("revision"), " $rev</h3>\n"; |
|
| _('Error occured during annotate: <b>%s</b>'), $_); |
_('Error occured during annotate: <b>%s</b>'), $_); |
| close($reader) or warn _("cannot close"), ": $!"; |
close($reader) or warn _("cannot close"), ": $!"; |
| fatal("404 Not Found", _('Malformed query "%s"'), $ENV{QUERY_STRING}); |
fatal("404 Not Found", _('Malformed query "%s"'), $ENV{QUERY_STRING}); |
| fatal("404 Not Found", _('%s is not (any longer) pertinent'), $where); |
fatal("404 Not Found", _('%s is not (any longer) pertinent'), $where); |
| _('Unexpected output from cvs co: %s'), $cvsheader); |
_('Unexpected output from cvs co: %s'), $cvsheader); |
| print _("File"), ": ", &clickablePath($where, 1); |
|
| &download_link($fileurl, $revision, _("download")); |
|
| &download_link($fileurl, $revision, _("as text"), "text/plain"); |
|
| print _("Version"), ": <b>$revision</b><br>\n"; |
|
| print _("Tag"), ": <b>", $input{only_with_tag}, "</b><br>\n" |
|
| _('Access forbidden. This file is mentioned in @ForbiddenFiles')); |
|
| fatal("404 Not Found", _('Malformed query "%s"'), $ENV{QUERY_STRING}); |
fatal("404 Not Found", _('Malformed query "%s"'), $ENV{QUERY_STRING}); |
| fatal("400 Bad arguments", _('Diff format %s not understood'), $f); |
fatal("400 Bad arguments", _('Diff format %s not understood'), $f); |
| _('Failed to spawn GNU rlog on <em>"%s"</em>. <p>Did you set the <b>$command_path</b> in your configuration file correctly ? (Currently "%s"'), |
_('Failed to spawn GNU rlog on <em>"%s"</em>. <p>Did you set the <b>$command_path</b> in your configuration file correctly ? (Currently "%s"'), |
| fatal("500 Internal Error", _('Error parsing RCS output: %s'), $_); |
fatal("500 Internal Error", _('Error parsing RCS output: %s'), $_); |
| fatal("404 Tag not found", _('Tag %s not defined'), |
fatal("404 Tag not found", _('Tag %s not defined'), |
| &download_link($fileurl, $_, _("download"), $mimetype); |
|
| &download_link($fileurl, $_, _("as text"), "text/plain"); |
|
| &download_link($fileurl, $_, _("view"), "text/x-cvsweb-markup"); |
|
| print &link(_('annotate'), |
|
| print '<b>[', _('selected'), ']</b>'; |
|
| print &link('[', _('select for diffs'), ']', |
|
| print _("Revision"), " <b>$_</b>"; |
|
| print " <i>(", _("vendor branch"), ")</i>"; |
|
| print readableTime(time() - $date{$_}, 1), ' ', _('ago'), ')'; |
|
| printf "<br>", _("Branch"), ": <b>%s</b>\n", |
|
| printf "<br>", _("CVS Tags"), ": <b>%s</b>\n", |
|
| printf "<br>", _("Branch point for"), ": <b>%s</b>\n", |
|
| print "<br>", _("Changes since"), " <b>$prev: $difflines{$_} ", _("lines"), "</b>"; |
|
| print "<br><b><i>", _("FILE REMOVED"), "</i></b>\n"; |
|
| my $title = sprintf _('Revision graph of %s'), htmlquote($pathname . $filename); |
|
| html_header(_("CVS log for") . " $where"); |
|
| print &link(_('Request diff between arbitrary revisions'), '#diff'); |
|
| print ' / ', &graph_link('', 1, _('Display revisions graphically')); |
|
| print _("Default branch"), ": ", ($revsym{$curbranch} || $curbranch); |
|
| print _("No default branch"); |
|
| print _("Current tag"), ": $input{only_with_tag}<br>\n"; |
|
| |
|
| print _("This form allows you to request diff's between any two\n" . |
|
| "revisions of a file. You may select a symbolic revision\n" . |
|
| "name using the selection box or you may type in a numeric\n" . |
|
| "name using the type-in text box.\n"); |
|
| |
|
| print "<label for=\"r1\" accesskey=\"1\">", _("Diffs between"), " </label>\n"; |
|
| print "<option value=\"text\" selected>", _("Use Text Field"), "</option>\n"; |
|
| print "<option value=\"text\" selected>", _("Use Text Field"), "</option>\n"; |
|
| "<td><input type=\"submit\" value=\"", _(" Get Diffs "), "\" accesskey=\"G\"></td>\n"; |
|
| print "<label for=\"f\" accesskey=\"D\">", _("Preferred Diff type"), ":"; |
|
| print _("View only Branch"), ":</label></td>\n"; |
|
| print ">", _("Show all branches"), "</option>\n"; |
|
| print "<label for=\"logsort\" accesskey=\"L\">", _("Sort log by"), ":"; |
|
| |
|
| print "<h3 style=\"text-align: center\">", |
|
| _("Diff for %s between version %s and %s"), $where_nd, $rev1, $rev2, "</h3>\n", |
|
| "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\">\n", |
|
| "<tr style=\"background-color: #ffffff\">\n", |
|
| "<th style=\"text-align: center; vertical-align: top\" width=\"50%\">", |
|
| _("version"), " $rev1"; |
|
| |
|
| print "<br>", _("Tag"), ": $sym1\n" if ($sym1); |
|
| |
|
| |
|
| _("version"), " $rev2"; |
|
| print "<br>", _("Tag"), ": $sym2\n" if ($sym1); |
|
| _("Line"), " $oldline</b>"; |
|
| _("No viewable change"), " -</b></td>\n</tr>\n"; |
|
| _("Removed from v."), "$rev1</td>\n<td class=\"diff-empty\"> </td>\n</tr>\n"; |
|
| _("changed lines"), "</td>\n</tr>\n"; |
|
| _("Added in v."), ".$rev2</td>\n</tr>\n"; |
|
| print "<input type=\"submit\" value=\"", _("Show"), "\">\n"; |
|
| printf '<b>', _('Return to %s CVS log'), |
|
| print "<td align=\"right\">$diricon <b>", _("Up to "), &clickablePath($path, 1), |
|
| return _("very little time"); |
|
| |
|
| |
|
| my %desc = ( |
|
| 1 => _('second'), |
|
| 60 => _('minute'), |
|
| 3600 => _('hour'), |
|
| 86400 => _('day'), |
|
| 604800 => _('week'), |
|
| 2628000 => _('month'), |
|
| 31536000 => _('year') |
|
| ); |
|
| |
|
| |
|
| "<td><label for=\"cvsroot\" accesskey=\"C\">", _("CVS Root"), ":</label></td>\n"; |
|
| print _("CVS Root"), ": <b>[$cvstree]</b>"; |
|
| print "<label for=\"mpath\" accesskey=\"M\">", _("Module path or alias"), ":</label>\n"; |
|
| print "<input type=\"submit\" value=\"", _("Go"), "\" accesskey=\"O\">"; |
|
| print "\n<p>\n", _("This CVSweb is mirrored in"), "\n"; |
|
| print join (', ', @tmp), _(' and '); |
|
| |
|
| print "<span style=\"font-size: smaller\">",\ |
print "<span style=\"font-size: smaller\">",\ |
| _("Unable to find gzip binary in the <b>\$command_path</b> (%s) to compress output", |
_("Unable to find gzip binary in the <b>\$command_path</b> (%s) to compress output", |
| $command_path, "</span><br>"; |
$command_path, "</span><br>"; |
| |
|
| |
|