From 34ed86981bb9c92fbfa81d7c9f9b0224e7b03cb1 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Mon, 4 Apr 2011 01:01:42 +0200 Subject: [PATCH] Fixes for an xgettext peculiarity. --- index.php | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/index.php b/index.php index 8617780be7..3265f0c0e9 100644 --- a/index.php +++ b/index.php @@ -107,20 +107,18 @@ function handleError($error) $msg = sprintf( // TRANS: Database error message. - _( - 'The database for %1$s is not responding correctly, '. - 'so the site will not work properly. '. - 'The site admins probably know about the problem, '. - 'but you can contact them at %2$s to make sure. '. - 'Otherwise, wait a few minutes and try again.' + _('The database for %1$s is not responding correctly, '. + 'so the site will not work properly. '. + 'The site admins probably know about the problem, '. + 'but you can contact them at %2$s to make sure. '. + 'Otherwise, wait a few minutes and try again.' ), common_config('site', 'name'), common_config('site', 'email') ); } else { // TRANS: Error message. - $msg = _( - 'An important error occured, probably related to email setup. '. + $msg = _('An important error occured, probably related to email setup. '. 'Check logfiles for more info.' ); } @@ -254,9 +252,8 @@ function main() if (!_have_config()) { $msg = sprintf( // TRANS: Error message displayed when there is no StatusNet configuration file. - _( - "No configuration file found. Try running ". - "the installation program first." + _("No configuration file found. Try running ". + "the installation program first." ) ); $sac = new ServerErrorAction($msg); -- 2.39.5