* Polish language file for WebDB.
* @maintainer Rafal Slubowski [rafal@gem.pl]
*
- * $Id: polish.php,v 1.2 2002/12/24 02:44:21 chriskl Exp $
+ * $Id: polish.php,v 1.3 2003/01/02 02:27:47 chriskl Exp $
*/
$appLang = 'Polish';
- $appCharset = 'ISO-8859-1';
+ $appCharset = 'ISO-8859-2';
$strNoFrames = 'Aby u¿ywaæ tej aplikacji potrzebujesz przegl±darki obs³uguj±cej ramki.';
$strLogin = '- Zaloguj';
+ $strLoginFailed = 'Próba zalogowania nie powiod³a siê';
$strNoTables = 'Nie znaleziono tablic.';
$strNoTable = 'Nie znaleziono tablicy.';
$strNoViews = 'Nie znaleziono widoków.';
$strView = 'Widok';
$strViews = 'Widoki';
$strDefinition = 'Definicja';
+ $strTriggers = 'Wiêzy integralno¶ci';
$strRules = 'Regu³y';
$strSequence = 'Sekwencja';
$strSequences = 'Sekwencje';
$strFunctions = 'Funkcje';
$strOperators = 'Operatory';
$strTypes = 'Typy';
- $strAggregates = 'Aggregates';
+ $strAggregates = 'Funkcje agreguj±ce';
$strIndicies = 'Indeksy';
$strProperties = 'W³a¶ciwo¶ci';
$strBrowse = 'Przegl±daj';
$strNotLoaded = 'Nie wkompilowa³e¶ do PHP obs³ugi tej bazy danych.';
$strCreate = 'Utwórz';
$strComment = 'Skomentuj';
+ $strNext = 'Nastêpny';
$strLength = 'D³ugo¶æ';
$strDefault = 'Domy¶lny';
$strAlter = 'Zmieñ';
+ $strCancel = 'Anuluj';
+ $strSave = 'Zapisz';
$strPrivileges = 'Uprawnienia';
$strInsert = 'Wstaw';
$strSelect = 'Wybierz';
$strRule = 'Regu³a';
$strReferences = 'Odno¶niki';
$strTrigger = 'Trigger';
+ $strYes = 'Tak';
+ $strNo = 'Nie';
+ $strEdit = 'Edycja';
+ $strInvalidScriptParam = 'B³êdny parametr skryptu.';
+ $strRows = 'wiersz(y)';
+ $strExample = 'np.';
-
-
+ // Error handling
+ $strSQLError = 'B³±d SQL:';
+ $strInStatement = 'W poleceniu:';
+
// Users
$strUser = 'U¿ytkownik';
$strGroup = 'Grupa';
$strColumnName = 'Nazwa Kolumny';
$strUniqueKey = 'Klucz Unikatowy';
$strPrimaryKey = 'Klucz G³ówny';
+ $strShowAllIndicies = 'Poka¿ wszystkie indeksy';
+ $strCreateIndex = 'Utwórz indeks';
+ $strIndexNeedsName = 'Musisz nazwaæ indeks.';
+ $strIndexNeedsCols = 'W sk³ad indeksu musi wchodziæ przynajmniej jedna kolumna.';
+ $strIndexCreated = 'Indeks utworzony';
+ $strIndexCreatedBad = 'Próba utworzenia indeksu siê nie powiod³a.';
+ $strConfDropIndex = 'Czy na pewno chcesz usun±æ indeks "%s"?';
+ $strIndexDropped = 'Indeks usuniêty.';
+ $strIndexDroppedBad = 'Próba usuniêcia indeksu siê nie powiod³a.';
// Tables
$strField = 'Pole';
+ $strFields = 'Pola';
$strType = 'Typ';
$strValue = 'Warto¶æ';
$strShowAllTables = 'Poka¿ wszystkie tablice';
$strTableNeedsName = 'Musisz nazwaæ tabelê.';
$strTableNeedsCols = 'Musisz podaæ prawid³ow± liczbê kolumn.';
$strExport = 'Eksport';
-
+ $strConstraints = 'Wiêzy integralno¶ci';
+ $strColumns = 'Kolumny';
+
// Functions
$strReturns = 'Zwraca';
$strArguments = 'Parametry';
$strTriggers = 'Triggery';
$strNoTriggers = 'Nie znaleziono triggerów.';
$strCreateTrigger = 'Utwórz Trigger';
-
- $strColumns = 'Kolumny';
- $strConstraints = 'Wiêzy integralno¶ci';
+
+ // Types
+ $strType = 'Typ';
+ $strTypes = 'Typy';
+ $strNoTypes = 'Nie znaleziono typów.';
+ $strCreateType = 'Utwórz Typ';
+ $strConfDropType = 'Czy na pewno chcesz usun±æ typ "%s"?';
+ $strTypeDropped = 'Typ usuniêty.';
+ $strTypeDroppedBad = 'Próba usuniêcia typu siê nie powiod³a.';
+ $strTypeCreated = 'Typ utworzony';
+ $strTypeCreatedBad = 'Próba utworzenia typu siê nie powiod³a.';
+ $strShowAllTypes = 'Poka¿ wszystkie typy';
+ $strInputFn = 'Funkcja wej¶ciowa';
+ $strOutputFn = 'Funkcja wyj¶ciowa';
+ $strPassByVal = 'Przekazywany przez warto¶æ?';
+ $strAlignment = 'Wyrównanie bajtowe';
+ $strElement = 'Typ elementów';
+ $strDelimiter = 'Znak oddzielaj±cy elementy tablicy';
+ $strStorage = 'Technika przechowywania';
+ $strTypeNeedsName = 'Musisz nazwaæ typ.';
+ $strTypeNeedsLen = 'Musisz podaæ d³ugo¶æ typu.';
+
?>
/**
* List tables in a database
*
- * $Id: tblproperties.php,v 1.14 2002/12/24 07:35:26 chriskl Exp $
+ * $Id: tblproperties.php,v 1.15 2003/01/02 02:27:47 chriskl Exp $
*/
// Include application functions
*/
function doCreateIndex($msg = '') {
global $data, $localData, $misc;
- global $PHP_SELF, $strName, $strDefinition;
+ global $PHP_SELF, $strName, $strDefinition, $strCreateIndex, $strIndicies, $strShowAllIndicies, $strColumns, $strSave, $strReset, $strExample;
if (!isset($_POST['formIndex'])) $_POST['formIndex'] = '';
if (!isset($_POST['formCols'])) $_POST['formCols'] = '';
- echo "<h2>", htmlspecialchars($_REQUEST['database']), ": Indexes: Create Index</h2>\n";
+ echo "<h2>", htmlspecialchars($_REQUEST['database']), ": {$strIndicies} : {$strCreateIndex} </h2>\n";
$misc->printMsg($msg);
echo "<form action=\"$PHP_SELF\" method=post>\n";
echo "<tr><th class=data>{$strName}</th></tr>\n";
echo "<tr><td class=data1><input name=formIndex size={$data->_maxNameLen} maxlength={$data->_maxNameLen} value=\"",
htmlspecialchars($_POST['formIndex']), "\"></td></tr>\n";
- echo "<tr><th class=data>Columns</th></tr>\n";
+ echo "<tr><th class=data>{$strColumns}</th></tr>\n";
echo "<tr><td class=data1><input name=formCols size={$data->_maxNameLen} value=\"",
- htmlspecialchars($_POST['formCols']), "\"> (eg. col1, col2)</td></tr>\n";
+ htmlspecialchars($_POST['formCols']), "\"> ({$strExample} col1, col2)</td></tr>\n";
echo "</table>\n";
echo "<p><input type=hidden name=action value=save_create_index>\n";
echo "<input type=hidden name=database value=\"", htmlspecialchars($_REQUEST['database']), "\">\n";
echo "<input type=hidden name=table value=\"", htmlspecialchars($_REQUEST['table']), "\">\n";
- echo "<input type=submit value=Save> <input type=reset></p>\n";
+ echo "<input type=submit value=\"{$strSave}\"> <input type=reset value=\"{$strReset}\"></p>\n";
echo "</form>\n";
echo "<p><a class=navlink href=\"$PHP_SELF?database=", urlencode($_REQUEST['database']),
- "&table=", urlencode($_REQUEST['table']), "&action=indicies\">Show All Indexes</a></p>\n";
+ "&table=", urlencode($_REQUEST['table']), "&action=indicies\">{$strShowAllIndicies}</a></p>\n";
}
/**
*/
function doSaveCreateIndex() {
global $localData;
-
+ global $strIndexNeedsName, $strIndexNeedsCols, $strIndexCreated, $strIndexCreatedBad;
+
// Check that they've given a name and at least one column
- if ($_POST['formIndex'] == '') doCreateIndex("Index needs a name.");
- elseif ($_POST['formCols'] == '') doCreate("Index needs at least one column.");
+ if ($_POST['formIndex'] == '') doCreateIndex("{$strIndexNeedsName}");
+ elseif ($_POST['formCols'] == '') doCreate("{$strIndexNeedsCols}");
else {
$status = $localData->createIndex($_POST['formIndex'], $_POST['table'], explode(',', $_POST['formCols']));
if ($status == 0)
- doIndicies('Index created.');
+ doIndicies("{$strIndexCreated}");
else
- doCreateIndex('Index creation failed.');
+ doCreateIndex("{$strIndexCreatedBad}");
}
}
*/
function doDropIndex($confirm) {
global $localData, $database;
- global $PHP_SELF;
+ global $PHP_SELF, $strConfDropIndex, $strIndexDropped, $strIndexDroppedBad, $strYes, $strNo;
if ($confirm) {
echo "<h2>", htmlspecialchars($_REQUEST['database']), ": Tables: ",
htmlspecialchars($_REQUEST['table']), ": " , htmlspecialchars($_REQUEST['index']), ": Drop</h2>\n";
- echo "<p>Are you sure you want to drop the index \"", htmlspecialchars($_REQUEST['index']),
+ echo "<p>{$strConfDropIndex} \"", htmlspecialchars($_REQUEST['index']),
"\" from table \"", htmlspecialchars($_REQUEST['table']), "\"?</p>\n";
echo "<form action=\"$PHP_SELF\" method=\"post\">\n";
echo "<input type=hidden name=table value=\"", htmlspecialchars($_REQUEST['table']), "\">\n";
echo "<input type=hidden name=index value=\"", htmlspecialchars($_REQUEST['index']), "\">\n";
echo "<input type=hidden name=database value=\"", htmlspecialchars($_REQUEST['database']), "\">\n";
- echo "<input type=submit name=choice value=\"Yes\"> <input type=submit name=choice value=\"No\">\n";
+ echo "<input type=submit name=choice value=\"{$strYes}\"> <input type=submit name=choice value=\"{$strNo}\">\n";
echo "</form>\n";
}
else {
$status = $localData->dropIndex($_POST['index'], 'RESTRICT');
if ($status == 0)
- doIndicies('Index dropped.');
+ doIndicies("{$strIndexDropped}");
else
- doIndicies('Index drop failed.');
+ doIndicies("{$strIndexDroppedBad}");
}
}
function doIndicies($msg = '') {
global $data, $localData, $misc;
global $PHP_SELF;
- global $strNoIndicies, $strIndicies, $strActions, $strName, $strDefinition ;
+ global $strNoIndicies, $strIndicies, $strActions, $strName, $strDefinition, $strCreateIndex, $strDrop, $strPrivileges;
doNav();
echo "<h2>", htmlspecialchars($_REQUEST['database']), ": ", htmlspecialchars($_REQUEST['table']), ": {$strIndicies}</h2>\n";
echo "<td class=\"data{$id}\">", htmlspecialchars( $indexes->f[$data->ixFields['idxdef']]), "</td>";
echo "<td class=\"data{$id}\">";
echo "<a href=\"$PHP_SELF?action=confirm_drop_index&database=", htmlspecialchars($_REQUEST['database']), "&index=", htmlspecialchars( $indexes->f[$data->ixFields['idxname']]),
- "&table=", htmlspecialchars($_REQUEST['table']), "\">Drop</td>\n";
+ "&table=", htmlspecialchars($_REQUEST['table']), "\">{$strDrop}</td>\n";
echo "<td class=\"data{$id}\">";
- echo "<a href=\"$PHP_SELF?action=priviledges_index&database=", htmlspecialchars($_REQUEST['database']), "&index=", htmlspecialchars( $indexes->f[$data->ixFields['idxname']]), "\">Privileges</td></tr>\n";
+ echo "<a href=\"$PHP_SELF?action=priviledges_index&database=", htmlspecialchars($_REQUEST['database']), "&index=", htmlspecialchars( $indexes->f[$data->ixFields['idxname']]), "\">{$strPrivileges}</td></tr>\n";
$indexes->movenext();
$i++;
echo "<p>{$strNoIndicies}</p>\n";
echo "<p><a class=\"navlink\" href=\"$PHP_SELF?action=create_index&database=",
- urlencode( $_REQUEST['database'] ), "&table=", htmlspecialchars($_REQUEST['table']), "\">Create Index</a></p>\n";
+ urlencode( $_REQUEST['database'] ), "&table=", htmlspecialchars($_REQUEST['table']), "\">{$strCreateIndex}</a></p>\n";
}
function doExport($msg = '') {
echo "<p><input type=hidden name=action value=export>\n";
echo "<input type=hidden name=database value=\"", htmlspecialchars($_REQUEST['database']), "\">\n";
echo "<input type=hidden name=table value=\"", htmlspecialchars($_REQUEST['table']), "\">\n";
- echo "<input type=submit value=\"{$strExport}\"> <input type=reset></p>\n";
+ echo "<input type=submit value=\"{$strExport}\"> <input type=reset value=\"{$strReset}\"></p>\n";
echo "</form>\n";
}