Compare commits

..
2 Commits
Author SHA1 Message Date
lorenz.stechauner 015ec5f2d4 [WIP] Bio Update
Test / Run tests (push) Successful in 2m39s
2026-09-29 14:27:43 +02:00
lorenz.stechauner c293fa0ac7 Helpers: Add Normalizer to normalize street names in addresses 2026-09-29 14:27:36 +02:00
+1 -1
View File
@@ -205,7 +205,7 @@ namespace Elwig.Helpers {
.Replace("|Nr|", "|Nr.|").Replace("|Und|", "|und|"); .Replace("|Nr|", "|Nr.|").Replace("|Und|", "|und|");
words = [.. temp.Trim('|').Split('|')]; words = [.. temp.Trim('|').Split('|')];
if (words.Count > 1 && words[0] == "Groß" || words[0] == "Klein" && !StreetTypes.Contains(words[1])) { if (words.Count > 1 && (words[0] == "Groß" || words[0] == "Klein") && !StreetTypes.Contains(words[1])) {
var w = words[0] + words[1].ToLowerInvariant(); var w = words[0] + words[1].ToLowerInvariant();
words.RemoveRange(0, 2); words.RemoveRange(0, 2);
words.Insert(0, w); words.Insert(0, w);