X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fdberroraction.php;h=8f628fba172724377c966ccad180f76c74f27b76;hb=15ab9ff9e3303255ff14166ee86ffdf3bc4f52ce;hp=893797b70e6dc54f63642409aa7353a237edc77f;hpb=aa0d9a86152d2485de6de5ec572ae87085ebe780;p=quix0rs-gnu-social.git diff --git a/lib/dberroraction.php b/lib/dberroraction.php index 893797b70e..8f628fba17 100644 --- a/lib/dberroraction.php +++ b/lib/dberroraction.php @@ -39,7 +39,7 @@ require_once INSTALLDIR.'/lib/servererroraction.php'; * * This only occurs if there's been a DB_DataObject_Error that's * reported through PEAR, so we try to avoid doing anything that connects - * to the DB, so we do not trigger it again. + * to the DB, so we don't trigger it again. * * @category Action * @package StatusNet @@ -47,7 +47,6 @@ require_once INSTALLDIR.'/lib/servererroraction.php'; * @license http://www.fsf.org/licensing/licenses/agpl.html AGPLv3 * @link http://status.net/ */ - class DBErrorAction extends ServerErrorAction { function __construct($message='Error', $code=500) @@ -57,17 +56,18 @@ class DBErrorAction extends ServerErrorAction function title() { + // TRANS: Page title for when a database error occurs. return _('Database error'); } function getLanguage() { - // Do not try to figure out user's language; just show the page + // Don't try to figure out user's language; just show the page return common_config('site', 'language'); } function showPrimaryNav() { - // do not show primary nav + // don't show primary nav } }