i18n table level multiactions
authorxzilla <xzilla>
Sat, 21 Apr 2007 15:39:54 +0000 (15:39 +0000)
committerxzilla <xzilla>
Sat, 21 Apr 2007 15:39:54 +0000 (15:39 +0000)
lang/english.php
lang/recoded/english.php
tables.php

index ce2647889b95399891a53559a7f6327c14798cb8..ac4df44a9d9eba2657dd5f92d6edbe7824915a03 100755 (executable)
@@ -4,7 +4,7 @@
         * English language file for phpPgAdmin.  Use this as a basis
         * for new translations.
         *
-        * $Id: english.php,v 1.204 2007/04/21 04:13:26 xzilla Exp $
+        * $Id: english.php,v 1.205 2007/04/21 15:39:54 xzilla Exp $
         */
 
        // Language and character set
        $lang['strconfvacuumtable'] = 'Are you sure you want to vacuum "%s"?';
        $lang['strconfanalyzetable'] = 'Are you sure you want to analyze "%s"?';
        $lang['strestimatedrowcount'] = 'Estimated row count';
+       $lang['strspecifytabletoanalyze'] = 'You must specify at least one table to analyze';
+       $lang['strspecifytabletoempty'] = 'You must specify at least one table to empty';
+       $lang['strspecifytabletodrop'] = 'You must specify at least one table to drop';
+       $lang['strspecifytabletovacuum'] = 'You must specify at least one table to vacuum';
 
        // Columns
        $lang['strcolprop'] = 'Column properties';
index 92262b9c9c5774117ea24009d25f2923c69b21be..8ca9f7d90330c3a366c77c3a5a9405769df912c5 100644 (file)
@@ -4,7 +4,7 @@
         * English language file for phpPgAdmin.  Use this as a basis
         * for new translations.
         *
-        * $Id: english.php,v 1.156 2007/04/21 04:13:26 xzilla Exp $
+        * $Id: english.php,v 1.157 2007/04/21 15:39:54 xzilla Exp $
         */
 
        // Language and character set
        $lang['strconfvacuumtable'] = 'Are you sure you want to vacuum &quot;%s&quot;?';
        $lang['strconfanalyzetable'] = 'Are you sure you want to analyze &quot;%s&quot;?';
        $lang['strestimatedrowcount'] = 'Estimated row count';
+       $lang['strspecifytabletoanalyze'] = 'You must specify at least one table to analyze';
+       $lang['strspecifytabletoempty'] = 'You must specify at least one table to empty';
+       $lang['strspecifytabletodrop'] = 'You must specify at least one table to drop';
+       $lang['strspecifytabletovacuum'] = 'You must specify at least one table to vacuum';
 
        // Columns
        $lang['strcolprop'] = 'Column properties';
index ceaa0f81a2b06a3d14f05e2d90101206b23b44f8..2ffa380981618e597eefaa0636482342331f73ca 100644 (file)
@@ -3,7 +3,7 @@
        /**
         * List tables in a database
         *
-        * $Id: tables.php,v 1.89 2007/04/16 16:59:46 soranzo Exp $
+        * $Id: tables.php,v 1.90 2007/04/21 15:40:08 xzilla Exp $
         */
 
        // Include application functions
                global $PHP_SELF;
 
                if (empty($_REQUEST['table']) && empty($_REQUEST['ma'])) {
-                       doDefault('No table(s) given to empty...'); //TODO i18n
+                       doDefault($lang['strspecifytabletoempty']); 
                        exit();
                }
                
                global $PHP_SELF;
                
                if (empty($_REQUEST['table']) && empty($_REQUEST['ma'])) {
-                       doDefault('No table(s) given to drop...'); // TODO i18n
+                       doDefault($lang['strspecifytabletodrop']); 
                        exit();
                }
                
                global $PHP_SELF;
 
                if (empty($_REQUEST['table']) && empty($_REQUEST['ma'])) {
-                       doDefault('No table(s) given to vacuum...'); //TODO i18n
+                       doDefault($lang['strspecifytabletovacuum']); 
                        exit();
                }
                if ($confirm) {
                global $PHP_SELF;
 
                if (empty($_REQUEST['table']) && empty($_REQUEST['ma'])) {
-                       doDefault('No table(s) given to analyze...'); //TODO i18n
+                       doDefault($lang['strspecifytabletoanalyze']); 
                        exit();
                }
                if ($confirm) {