]> git.joonet.de Git - adminer.git/commitdiff
Better translation
authorJakub Vrana <jakub@vrana.cz>
Tue, 22 Mar 2011 13:10:25 +0000 (14:10 +0100)
committerJakub Vrana <jakub@vrana.cz>
Tue, 22 Mar 2011 13:10:25 +0000 (14:10 +0100)
adminer/include/design.inc.php
adminer/lang/cs.inc.php
adminer/sql.inc.php

index b96177cafb14c16e428ee14414de95c1f9b7964e..245efa888f0966dea6bede9c31a14ac548d6177d 100644 (file)
@@ -30,7 +30,7 @@ function page_header($title, $error = "", $breadcrumb = array(), $title2 = "") {
 
 <body class="<?php echo lang('ltr'); ?> nojs" onclick="return bodyClick(event, '<?php echo js_escape(DB); ?>', '<?php echo js_escape($_GET["ns"]); ?>');" onkeydown="bodyKeydown(event);" onload="bodyLoad('<?php echo (is_object($connection) ? substr($connection->server_info, 0, 3) : ""); ?>');<?php echo (isset($_COOKIE["adminer_version"]) ? "" : " verifyVersion('$protocol');"); ?>">
 <script type="text/javascript">
-var areYouSure = '<?php echo lang('Are you sure?'); ?>';
+var areYouSure = '<?php echo lang('Resend POST data?'); ?>';
 </script>
 <script type="text/javascript" src="../adminer/static/functions.js"></script>
 <script type="text/javascript" src="static/editing.js"></script>
index 62ecfb5902bf7940e968ffcb4f18479d2e46cf44..ae33238dc902e793460e62b78a5528eef00f1d57 100644 (file)
@@ -20,7 +20,7 @@ $translations = array(
        '%s version: %s through PHP extension %s' => 'Verze %s: %s přes PHP extenzi %s',
        'Refresh' => 'Obnovit',
        
-       // text direction
+       // text direction - 'ltr' or 'rtl'
        'ltr' => 'ltr',
        
        'Privileges' => 'Oprávnění',
@@ -53,6 +53,7 @@ $translations = array(
        '%.3f s' => '%.3f s',
        'History' => 'Historie',
        'Clear' => 'Vyčistit',
+       'Edit all' => 'Upravit vše',
        
        'File upload' => 'Nahrání souboru',
        'From server' => 'Ze serveru',
@@ -276,6 +277,9 @@ $translations = array(
        'Geometry' => 'Geometrie',
        'Relations' => 'Vztahy',
        
+       // reload confirmation in AJAX
+       'Resend POST data?' => 'Znovu odeslat POST data?',
+       
        'Editor' => 'Editor',
        // date format in Editor: $1 yyyy, $2 yy, $3 mm, $4 m, $5 dd, $6 d
        '$1-$3-$5' => '$6.$4.$1',
index 20055b903ae238283802539c19a9ed58e647129b..820a349aec4f4ff1211a82c1e13f16d3d7ce4513 100644 (file)
@@ -202,7 +202,7 @@ if ($history) {
                echo '<a href="' . h(ME . "sql=&history=$key") . '">' . lang('Edit') . "</a> <code class='jush-$jush'>" . shorten_utf8(ltrim(str_replace("\n", " ", str_replace("\r", "", preg_replace('~^(#|-- ).*~m', '', $val)))), 80, "</code>") . "<br>\n";
        }
        echo "<input type='submit' name='clear' value='" . lang('Clear') . "'>\n";
-       echo "<a href='" . h(ME . "sql=&history=all") . "'>" . lang('Edit') . "</a>\n";
+       echo "<a href='" . h(ME . "sql=&history=all") . "'>" . lang('Edit all') . "</a>\n";
        echo "</div></fieldset>\n";
 }
 ?>