From 51491ab08f2be1c59439e049a20d7555ec0f918d Mon Sep 17 00:00:00 2001 From: rub Date: Wed, 14 May 2008 22:25:36 +0000 Subject: Change some PhpWebGallery to Piwigo. Not all PhpWebGallery has been translated! git-svn-id: http://piwigo.org/svn/trunk@2339 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/ws_checker.php | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'admin/ws_checker.php') diff --git a/admin/ws_checker.php b/admin/ws_checker.php index 00a2f68a4..7da8fac10 100644 --- a/admin/ws_checker.php +++ b/admin/ws_checker.php @@ -293,29 +293,29 @@ if ( $chk_partner !== '' ) $status_code = array(); preg_match('/\d\d\d/', $response, $status_code); switch( $status_code[0] ) { - case 200: + case 200: $ws_status = l10n('Web Services under control'); - break; - case 503: - $ws_status = 'PhpWebGallery Web Services failed and returned an ' + break; + case 503: + $ws_status = 'Piwigo Web Services failed and returned an ' . 'HTTP status of 503. Service is unavailable. An internal ' . 'problem prevented us from returning data to you.'; - break; - case 403: - $ws_status = 'PhpWebGallery Web Services failed and returned an ' + break; + case 403: + $ws_status = 'Piwigo Web Services failed and returned an ' . 'HTTP status of 403. Access is forbidden. You do not have ' . 'permission to access this resource, or are over ' . 'your rate limit.'; - break; - case 400: - // You may want to fall through here and read the specific XML error - $ws_status = 'PhpWebGallery Web Services failed and returned an ' + break; + case 400: + // You may want to fall through here and read the specific XML error + $ws_status = 'Piwigo Web Services failed and returned an ' . 'HTTP status of 400. Bad request. The parameters passed ' . 'to the service did not match as expected. The exact ' . 'error is returned in the XML response.'; - break; - default: - $ws_status = 'PhpWebGallery Web Services returned an unexpected HTTP ' + break; + default: + $ws_status = 'Piwigo Web Services returned an unexpected HTTP ' . 'status of:' . $status_code[0]; } } -- cgit v1.2.3