Move some messages to places where they belong.
This is bascially just test that everything works as expected, much more messages should follow.
This commit is contained in:
@@ -104,7 +104,7 @@ function PMA_auth_fails()
|
|||||||
} else {
|
} else {
|
||||||
// Check whether user has configured something
|
// Check whether user has configured something
|
||||||
if ($GLOBALS['PMA_Config']->source_mtime == 0) {
|
if ($GLOBALS['PMA_Config']->source_mtime == 0) {
|
||||||
echo '<p>' . sprintf($GLOBALS['strAccessDeniedCreateConfig'], '<a href="setup/">', '</a>') . '</p>' . "\n";
|
echo '<p>' . sprintf(__('You probably did not create a configuration file. You might want to use the %1$ssetup script%2$s to create one.'), '<a href="setup/">', '</a>') . '</p>' . "\n";
|
||||||
} elseif (!isset($GLOBALS['errno']) || (isset($GLOBALS['errno']) && $GLOBALS['errno'] != 2002) && $GLOBALS['errno'] != 2003) {
|
} elseif (!isset($GLOBALS['errno']) || (isset($GLOBALS['errno']) && $GLOBALS['errno'] != 2002) && $GLOBALS['errno'] != 2003) {
|
||||||
// if we display the "Server not responding" error, do not confuse users
|
// if we display the "Server not responding" error, do not confuse users
|
||||||
// by telling them they have a settings problem
|
// by telling them they have a settings problem
|
||||||
@@ -113,7 +113,7 @@ function PMA_auth_fails()
|
|||||||
// rejected the connection, which is not really what happened)
|
// rejected the connection, which is not really what happened)
|
||||||
// 2002 is the error given by mysqli
|
// 2002 is the error given by mysqli
|
||||||
// 2003 is the error given by mysql
|
// 2003 is the error given by mysql
|
||||||
trigger_error($GLOBALS['strAccessDeniedExplanation'], E_USER_WARNING);
|
trigger_error(__('phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.'), E_USER_WARNING);
|
||||||
}
|
}
|
||||||
PMA_mysqlDie($conn_error, '', true, '', false);
|
PMA_mysqlDie($conn_error, '', true, '', false);
|
||||||
}
|
}
|
||||||
|
@@ -35,8 +35,6 @@ $timespanfmt = __('%s days, %s hours, %s minutes and %s seconds');
|
|||||||
|
|
||||||
$strAbortedClients = __('Aborted');
|
$strAbortedClients = __('Aborted');
|
||||||
$strAccessDenied = __('Access denied');
|
$strAccessDenied = __('Access denied');
|
||||||
$strAccessDeniedCreateConfig = __('You probably did not create a configuration file. You might want to use the %1$ssetup script%2$s to create one.');
|
|
||||||
$strAccessDeniedExplanation = __('phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.');
|
|
||||||
$strAction = __('Action');
|
$strAction = __('Action');
|
||||||
$strActions = __('Actions');
|
$strActions = __('Actions');
|
||||||
$strAddAutoIncrement = __('Add AUTO_INCREMENT value');
|
$strAddAutoIncrement = __('Add AUTO_INCREMENT value');
|
||||||
@@ -316,7 +314,6 @@ $strErrorRelationAdded = __('Error: Relation not added.');
|
|||||||
$strErrorRelationExists = __('Error: relation already exists.');
|
$strErrorRelationExists = __('Error: relation already exists.');
|
||||||
$strErrorRenamingTable = __('Error renaming table %1$s to %2$s');
|
$strErrorRenamingTable = __('Error renaming table %1$s to %2$s');
|
||||||
$strErrorSaveTable = __('Error saving coordinates for Designer.');
|
$strErrorSaveTable = __('Error saving coordinates for Designer.');
|
||||||
$strEscapeWildcards = __('Wildcards _ and % should be escaped with a \ to use them literally');
|
|
||||||
$strEsperanto = __('Esperanto');
|
$strEsperanto = __('Esperanto');
|
||||||
$strEstonian = __('Estonian');
|
$strEstonian = __('Estonian');
|
||||||
$strEvent = __('Event');
|
$strEvent = __('Event');
|
||||||
|
3178
po/be@latin.po
3178
po/be@latin.po
File diff suppressed because it is too large
Load Diff
3580
po/en_GB.po
3580
po/en_GB.po
File diff suppressed because it is too large
Load Diff
3162
po/phpmyadmin.pot
3162
po/phpmyadmin.pot
File diff suppressed because it is too large
Load Diff
3178
po/pt_BR.po
3178
po/pt_BR.po
File diff suppressed because it is too large
Load Diff
3174
po/sr@latin.po
3174
po/sr@latin.po
File diff suppressed because it is too large
Load Diff
3176
po/uz@latin.po
3176
po/uz@latin.po
File diff suppressed because it is too large
Load Diff
3168
po/zh_CN.po
3168
po/zh_CN.po
File diff suppressed because it is too large
Load Diff
3168
po/zh_TW.po
3168
po/zh_TW.po
File diff suppressed because it is too large
Load Diff
@@ -1901,7 +1901,7 @@ if (empty($_REQUEST['adduser']) && (! isset($checkprivs) || ! strlen($checkprivs
|
|||||||
echo ' </select>' . "\n";
|
echo ' </select>' . "\n";
|
||||||
}
|
}
|
||||||
echo ' <input type="text" id="text_dbname" name="dbname" />' . "\n"
|
echo ' <input type="text" id="text_dbname" name="dbname" />' . "\n"
|
||||||
. PMA_showHint($GLOBALS['strEscapeWildcards']);
|
. PMA_showHint(__('Wildcards _ and % should be escaped with a \ to use them literally'));
|
||||||
} else {
|
} else {
|
||||||
echo ' <input type="hidden" name="dbname" value="' . htmlspecialchars($dbname) . '"/>' . "\n"
|
echo ' <input type="hidden" name="dbname" value="' . htmlspecialchars($dbname) . '"/>' . "\n"
|
||||||
. ' <label for="text_tablename">' . $GLOBALS['strAddPrivilegesOnTbl'] . ':</label>' . "\n";
|
. ' <label for="text_tablename">' . $GLOBALS['strAddPrivilegesOnTbl'] . ':</label>' . "\n";
|
||||||
|
Reference in New Issue
Block a user