The following two lines hardcode the specific formatting of housenumber subhousenumber
|
val houseNumberEx = if (subHouseNumber != null) "$houseNumber $subHouseNumber" else houseNumber |
|
houseNumber != null && subHouseNumber != null -> "$houseNumber $subHouseNumber" |
However from the iD address_formats.json globally this formatting varies and is oftern times the other way around and using a slash like subhousenumber/housenumber. This should be localised according to the user's locale.
The following two lines hardcode the specific formatting of
housenumber subhousenumberStreetComplete/app/src/androidMain/kotlin/de/westnordost/streetcomplete/util/NameAndLocationLabel.kt
Line 184 in ddd637e
StreetComplete/app/src/androidMain/kotlin/de/westnordost/streetcomplete/util/NameAndLocationLabel.kt
Line 202 in ddd637e
However from the iD address_formats.json globally this formatting varies and is oftern times the other way around and using a slash like
subhousenumber/housenumber. This should be localised according to the user's locale.