]> git.joonet.de Git - adminer.git/commitdiff
Suggest using adminer.sql
authorJakub Vrana <jakub@vrana.cz>
Mon, 24 Jun 2013 13:12:13 +0000 (06:12 -0700)
committerJakub Vrana <jakub@vrana.cz>
Mon, 24 Jun 2013 13:12:13 +0000 (06:12 -0700)
adminer/include/auth.inc.php
adminer/lang/cs.inc.php
adminer/lang/xx.inc.php

index aaa01a0b5bc59edda7b432ea09e7fbd896b1a835..b713da1f2d550b0dec7cc821fc9ab36ba86fe06b 100644 (file)
@@ -144,4 +144,7 @@ if ($_POST) {
 } elseif ($_SERVER["REQUEST_METHOD"] == "POST") {
        // posted form with no data means that post_max_size exceeded because Adminer always sends token at least
        $error = lang('Too big POST data. Reduce the data or increase the %s configuration directive.', "'post_max_size'");
+       if (isset($_GET["sql"])) {
+               $error .= ' ' . lang('You can upload a big SQL file via FTP and import it from server.');
+       }
 }
index 6e679187e35e79681c7b7556dcb6a8e037d5d801..699b669370cb69c868bfc8a9426888fb81c0641b 100644 (file)
@@ -65,6 +65,7 @@ $translations = array(
        'Unable to upload a file.' => 'Nepodařilo se nahrát soubor.',
        'Maximum allowed file size is %sB.' => 'Maximální povolená velikost souboru je %sB.',
        'Too big POST data. Reduce the data or increase the %s configuration directive.' => 'Příliš velká POST data. Zmenšete data nebo zvyšte hodnotu konfigurační direktivy %s.',
+       'You can upload a big SQL file via FTP and import it from server.' => 'Velký SQL soubor můžete nahrát pomocí FTP a importovat ho ze serveru.',
        
        'Export' => 'Export',
        'Dump' => 'Export',
index d7712ee19ddf616a05e08da39e4f4bcf5ae8705d..88f5db0213d302e874cb290d94ea4488783c8b57 100644 (file)
@@ -65,6 +65,7 @@ $translations = array(
        'Unable to upload a file.' => 'xx',
        'Maximum allowed file size is %sB.' => 'xx',
        'Too big POST data. Reduce the data or increase the %s configuration directive.' => 'xx',
+       'You can upload a big SQL file via FTP and import it from server.' => 'xx',
        
        'Export' => 'xx',
        'Dump' => 'xx',