@@ -85,10 +85,10 @@ async function getCurrentObjectData(object, objectType, mask) {
8585 }
8686 } ) ;
8787 const result = await response . json ( ) ;
88- if ( ! result . length ) throwErrorToFrontend ( 'Retrieving current object data failed' , JSON . stringify ( err ) ) ;
88+ if ( ! result . length ) throwErrorToFrontend ( 'Beim Abruf der aktuellen Objektversion ist ein Fehler aufgetreten.' ) ;
8989 return result [ 0 ] [ objectType ] ;
9090 } catch ( err ) {
91- throwErrorToFrontend ( 'Retrieving current object data failed ' , JSON . stringify ( err ) ) ;
91+ throwErrorToFrontend ( 'Beim Abruf der aktuellen Objektversion ist ein Fehler aufgetreten. ' , JSON . stringify ( err ) ) ;
9292 }
9393}
9494
@@ -146,7 +146,7 @@ async function hasUsedGeometryIds(configuration, geometryIds, uuid) {
146146 return result . objects . length > 1
147147 || ( result . objects . length === 1 && ( ! uuid || result . objects [ 0 ] . _uuid !== uuid ) ) ;
148148 } catch ( err ) {
149- throwErrorToFrontend ( 'Search request failed ' , JSON . stringify ( err ) ) ;
149+ throwErrorToFrontend ( 'Bei der Prüfung auf mehrfach verknüpfte Geometrien ist ein Fehler aufgetreten. ' , JSON . stringify ( err ) ) ;
150150 }
151151}
152152
@@ -306,10 +306,10 @@ async function performTransaction(geometryIds, requestXml, wfsUrl, authorization
306306 } ) ;
307307 const xmlResult = await response . text ( ) ;
308308 if ( ! new RegExp ( '<wfs:totalUpdated>' + geometryIds . length + '<\/wfs:totalUpdated>' ) . test ( xmlResult ) ) {
309- throwErrorToFrontend ( 'Failed to update PostGIS database: ' + xmlResult ) ;
309+ throwErrorToFrontend ( 'Bei der Aktualisierung von Geometrie-Datensätzen ist ein Fehler aufgetreten.' , xmlResult ) ;
310310 }
311311 } catch ( err ) {
312- throwErrorToFrontend ( err ) ;
312+ throwErrorToFrontend ( 'Bei der Aktualisierung von Geometrie-Datensätzen ist ein Fehler aufgetreten.' , err ) ;
313313 }
314314}
315315
0 commit comments