diff --git a/db_details_importdocsql.php3 b/db_details_importdocsql.php3 index 1180d1e8a..733c60f85 100644 --- a/db_details_importdocsql.php3 +++ b/db_details_importdocsql.php3 @@ -15,6 +15,10 @@ require('./libraries/grab_globals.lib.php3'); require('./header.inc.php3'); +//require common added for string importing - Robbat2, 15 January 2003 9.34PM +//all hardcoded strings converted by Robbat2, 15 January 2003 9.34PM +require('./libraries/common.lib.php3'); + /** * Executes import if required @@ -52,9 +56,9 @@ if (isset($do) && $do == 'import') { . '\'' . PMA_sqlAddslashes(trim($inf[0])) . '\',' . '\'' . PMA_sqlAddslashes(trim($inf[1])) . '\')'; if (PMA_query_as_cu($qry)) { - echo '
Added comment for column ' . htmlspecialchars($tab) . '.' . htmlspecialchars($inf[0]) . '
'; + echo '' . $strAddedColumnComment . ' ' . htmlspecialchars($tab) . '.' . htmlspecialchars($inf[0]) . '
'; } else { - echo 'Writing of comment not possible
'; + echo '' . $strWritingCommentNotPossible . '
'; } echo "\n"; } // end inf[1] exists @@ -70,23 +74,23 @@ if (isset($do) && $do == 'import') { . '\'' . PMA_sqlAddslashes(trim($for[0])) . '\',' . '\'' . PMA_sqlAddslashes(trim($for[1])) . '\')'; if (PMA_query_as_cu($qry)) { - echo 'Added relation for column ' . htmlspecialchars($tab) . '.' . htmlspecialchars($inf[0]) . ' to ' . htmlspecialchars($for) . '
'; + echo '' . $strAddedColumnRelation . ' ' . htmlspecialchars($tab) . '.' . htmlspecialchars($inf[0]) . ' to ' . htmlspecialchars($for) . '
'; } else { - echo "writing of Relation not possible
"; + echo '' . $strWritingRelationNotPossible . '
'; } echo "\n"; } // end inf[2] exists } - echo 'Import finished
' . "\n"; + echo '' . $strImportFinished . '
' . "\n"; } else { - echo 'File could not be read
' . "\n"; + echo '' . $strFileCouldNotBeRead . '
' . "\n"; } } else { - echo 'Ignoring file ' . $file . '
' . "\n"; + echo '' . sprintf($strIgnoringFile, ' ' . $file) . '
' . "\n"; } // end working on table } // end while } else { - echo 'This was not a Directory' . "\n"; + echo $strThisNotDirectory . "\n"; } } @@ -126,10 +130,10 @@ if (empty($DOCUMENT_ROOT)) { - Please enter absolute path on webserver to docSQL Directory: + :