mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-02-19 04:23:36 +00:00
These error messages should be the same. Let's not confuse the translators!
This commit is contained in:
parent
6793ad7cbb
commit
91f5ea62e0
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user