From 91f5ea62e09a2565824b6ca1afa4bb0861eb9da2 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Sun, 11 Sep 2011 00:55:23 +1200 Subject: [PATCH] These error messages should be the same. Let's not confuse the translators! --- inc/caldav-BIND.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/caldav-BIND.php b/inc/caldav-BIND.php index 674451bd..ac7cc0fe 100644 --- a/inc/caldav-BIND.php +++ b/inc/caldav-BIND.php @@ -58,7 +58,7 @@ if ( preg_match ( '{^https?://[A-Za-z][^/]*/.+$}', $href ) ) { create_external ( '/.external/'. md5($href) ,true,false ); $qry->QDo('SELECT collection_id FROM collection WHERE dav_name = :dav_name ', array( ':dav_name' => '/.external/'. md5($href) )); if ( $qry->rows() != 1 || !($row = $qry->Fetch()) ) - $request->DoResponse(500,translate('Database Error1')); + $request->DoResponse(500,translate('Database Error')); $dav_id = $row->collection_id; } @@ -83,7 +83,7 @@ if ( preg_match ( '{^https?://[A-Za-z][^/]*/.+$}', $href ) ) { $request->DoResponse(201); } else { - $request->DoResponse(500,translate('Database Error2')); + $request->DoResponse(500,translate('Database Error')); } } else {