Fix: No comma when locality is empty (small fix) #2111

Merged
LEstradioto merged 4 commits from no-locality-comma-fix into main 2025-04-17 09:26:45 +08:00
LEstradioto commented 2025-04-15 02:17:54 +08:00 (Migrated from github.com)

Currently when Properties have empty address it shows a single comma on subtitle
image

This PR pushes a fix for that, when no Locality is saved, there is no comma

And, perhaps, another fix could be added here.

It seems i18n format should supposed be shown like right side of image? If so, I could just update that too.

image

Currently when Properties have empty address it shows a single comma on subtitle ![image](https://github.com/user-attachments/assets/8ddc224e-8c98-4230-ad82-f8323d0b1076) This PR pushes a fix for that, when no Locality is saved, there is no comma And, perhaps, another fix could be added here. It seems i18n format should supposed be shown like right side of image? If so, I could just update that too. ![image](https://github.com/user-attachments/assets/a916ef21-f961-4643-acb9-55cf87bba9f7)
Shpigford commented 2025-04-16 23:40:32 +08:00 (Migrated from github.com)

@LEstradioto So "proper" for a one-liner would actually be a comma after the street name as well.

123 Main St, San Francisco, CA 94105 US

@LEstradioto So "proper" for a one-liner would actually be a comma after the street name as well. `123 Main St, San Francisco, CA 94105 US`
LEstradioto commented 2025-04-17 01:27:39 +08:00 (Migrated from github.com)

Great, thanks. Address string will now follow the I18n formatting and as a one-liner

Great, thanks. Address string will now follow the I18n formatting and as a one-liner
Shpigford commented 2025-04-17 09:26:56 +08:00 (Migrated from github.com)

Merged. Thanks so much, @LEstradioto!

Merged. Thanks so much, @LEstradioto!
Sign in to join this conversation.