Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CityDoctor
CityDoctor2
Commits
0305b2bc
Commit
0305b2bc
authored
Nov 11, 2025
by
Luna Riegel
Browse files
Style: Add Localization to CityGMLWriterUtils
parent
1d1436bc
Changes
3
Hide whitespace changes
Inline
Side-by-side
CityDoctorParent/CityDoctorModel/src/main/java/de/hft/stuttgart/citydoctor2/writer/CityGMLWriterUtils.java
View file @
0305b2bc
...
...
@@ -135,7 +135,7 @@ public class CityGMLWriterUtils {
de
.
hft
.
stuttgart
.
quality
.
model
.
enums
.
ErrorId
adeId
=
QualityADEUtils
.
mapErrorIdToAdeId
(
e
.
getKey
());
if
(
adeId
==
null
)
{
// error that is not part of the ade standard
logger
.
warn
(
"Found error {} that cannot be converted to ADE error. It will not be written"
,
e
.
getKey
());
logger
.
warn
(
Localization
.
getText
(
"CityGmlWriterUtils.unknownADEError"
)
,
e
.
getKey
());
continue
;
}
stats
.
setName
(
adeId
);
...
...
CityDoctorParent/CityDoctorModel/src/main/resources/CityDoctorLocalization.properties
View file @
0305b2bc
...
...
@@ -67,6 +67,7 @@ CityGmlParser.missingEPSGCode=No EPSG code found, assuming metric system
CityGmlParser.noConversionNeeded
=
Coordinate system is in meters, no conversion done
CityGmlParser.notValidGmlFile
=
This is not a valid GML-File
\n
CityGmlParser.parsedObjects
=
Parsed model with {} objects
CityGmlWriterUtils.unknownADEError
=
Found error {} that cannot be converted to ADE error. It will not be written
CityGmlZipArchive.generalException
=
Encountered an unexpected error while reading the ZIP archive
CityGmlZipArchive.ioError
=
Accessing the ZIP archive failed
CityGmlZipArchive.malformedZipFile
=
Parsing of ZIP archive aborted, ZIP file is malformed!
...
...
CityDoctorParent/CityDoctorModel/src/main/resources/CityDoctorLocalization_de.properties
View file @
0305b2bc
...
...
@@ -67,6 +67,7 @@ CityGmlParser.missingEPSGCode=Kein EPSG Code gefunden, nehme metrisches System a
CityGmlParser.noConversionNeeded
=
Koordinatensystem in Metern, keine Konvertierung notwendig
CityGmlParser.notValidGmlFile
=
Dies ist keine korrekte CityGML Datei
\n
CityGmlParser.parsedObjects
=
Modell mit {} Objekten gelesen
CityGmlWriterUtils.unknownADEError
=
Fehler {} kann nicht zu einem ADE Fehler konvertiert werden. Fehler wird nicht ausgegeben
CityGmlZipArchive.generalException
=
Unerwarteter Fehler beim Einlesen des ZIP-Archivs
CityGmlZipArchive.ioError
=
Zugriff auf ZIP-Datei fehlgeschlagen
CityGmlZipArchive.malformedZipFile
=
Einlesen des ZIP-Archivs abgebrochen, ZIP-Datei ist fehlerhaft!
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment