From: <tim...@us...> - 2012-08-26 11:49:01
|
Revision: 5609 http://web-erp.svn.sourceforge.net/web-erp/?rev=5609&view=rev Author: tim_schofield Date: 2012-08-26 11:48:53 +0000 (Sun, 26 Aug 2012) Log Message: ----------- Thomas Timothy Lie: Fix errors in gettext strings Modified Paths: -------------- trunk/includes/ConnectDB_mysql.inc trunk/includes/ConnectDB_mysqli.inc Modified: trunk/includes/ConnectDB_mysql.inc =================================================================== --- trunk/includes/ConnectDB_mysql.inc 2012-08-25 19:35:32 UTC (rev 5608) +++ trunk/includes/ConnectDB_mysql.inc 2012-08-26 11:48:53 UTC (rev 5609) @@ -22,24 +22,23 @@ echo '<br />' . _('The configuration in the file config.php for the database user name and password do not provide the information required to connect to the database server'); session_unset(); session_destroy(); - echo '<p>' . _('Click') . '<a href="index.php">' . _('here') . '</a>' ._('to try logging in -again') . '</p>'; + echo '<p>' . _('Click') . ' ' . '<a href="index.php">' . _('here') . '</a>' , ' ' ._('to try logging in again') . '</p>'; exit; } /* Update to allow RecurringSalesOrdersProcess.php to run via cron */ if (isset($DatabaseName)) { - + if (! mysql_select_db($_SESSION['DatabaseName'],$db)) { - echo '<br />' . _('The company name entered does not correspond to a database on the database server specified in the config.php configuration file. Try logging in with a different company name'); + echo '<br />' . _('The company name entered does not correspond to a database on the database server specified in the config.php configuration file. Try logging in with a different company name'); echo '<br /><a href="index.php">' . _('Back to login page') . '</A>'; unset ($_SESSION['DatabaseName']); exit; } } else { if (! mysql_select_db($_SESSION['DatabaseName'],$db)) { - echo '<br />' . _('The company name entered does not correspond to a database on the database server specified in the config.php configuration file. Try logging in with a different company name'); + echo '<br />' . _('The company name entered does not correspond to a database on the database server specified in the config.php configuration file. Try logging in with a different company name'); echo '<br /><a href="index.php">' . _('Back to login page') . '</A>'; unset ($_SESSION['DatabaseName']); exit; @@ -59,7 +58,7 @@ global $debug; global $PathPrefix; - + $result=mysql_query($SQL,$Conn); $_SESSION['LastInsertId'] = mysql_insert_id($Conn); Modified: trunk/includes/ConnectDB_mysqli.inc =================================================================== --- trunk/includes/ConnectDB_mysqli.inc 2012-08-25 19:35:32 UTC (rev 5608) +++ trunk/includes/ConnectDB_mysqli.inc 2012-08-26 11:48:53 UTC (rev 5609) @@ -27,8 +27,7 @@ printf("Connect failed: %s\n", mysqli_connect_error()); session_unset(); session_destroy(); - echo '<p>' . _('Click') . '<a href="index.php">' . _('here') . '</a>' ._('to try logging in -again') . '</p>'; + echo '<p>' . _('Click') . ' ' . '<a href="index.php">' . _('here') . '</a>' , ' ' ._('to try logging in again') . '</p>'; exit(); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |