Don't translate _compile.php

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@46 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana 2007-07-05 13:32:01 +00:00
parent a842756b34
commit d7f707cd5a
2 changed files with 1 additions and 3 deletions

View file

@ -23,7 +23,7 @@ error_reporting(E_ALL & ~E_NOTICE);
if ($_SERVER["argc"] > 1) {
include "./lang.inc.php";
if ($_SERVER["argc"] != 2 || !in_array($_SERVER["argv"][1], lang())) {
echo lang('Usage: php _compile.php [lang]') . "\n" . lang('Purpose: Compile phpMinAdmin[-lang].php from index.php.') . "\n";
echo "Usage: php _compile.php [lang]\nPurpose: Compile phpMinAdmin[-lang].php from index.php.\n";
exit(1);
}
$_SESSION["lang"] = $_SERVER["argv"][1];

View file

@ -3,8 +3,6 @@ function lang($idf = null) {
static $translations = array(
'en' => array(),
'cs' => array(
'Usage: php _compile.php [lang]' => 'Použití: php _compile.php [jazyk]',
'Purpose: Compile phpMinAdmin[-lang].php from index.php.' => 'Účel: Zkompilovat phpMinAdmin[-jazyk].php z index.php.',
'Login' => 'Přihlásit se',
'phpMinAdmin' => 'phpMinAdmin',
'Logout successful.' => 'Odhlášení proběhlo v pořádku.',