mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-05 13:35:21 +02:00
Fix: No comma when locality is empty (small fix) (#2111)
* Fix: No comma when locality is empty * better cleanup on address string * fix test to one-liner * add more testing
This commit is contained in:
parent
298e150f43
commit
6a21f26d2d
3 changed files with 41 additions and 7 deletions
|
@ -8,8 +8,4 @@ en:
|
|||
locality: Locality
|
||||
postal_code: Postal Code
|
||||
region: Region
|
||||
format: |-
|
||||
%{line1}
|
||||
%{line2}
|
||||
%{locality}, %{region} %{postal_code}
|
||||
%{country}
|
||||
format: "%{line1} %{line2}, %{locality}, %{region} %{postal_code} %{country}"
|
Loading…
Add table
Add a link
Reference in a new issue