mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-15 10:57:58 +00:00
Locales and localization refactor with Locales as a localizer object.
Removed auto-localization from search/search_address APIs (now explicit), simplified AddressLines to subclass List[AddressLine], made display_name a computed property in Results instead of field and removed result-localization circular dependencies
This commit is contained in:
@@ -119,7 +119,7 @@ def test_search_details_full():
|
||||
country_code='ll',
|
||||
indexed_date=import_date
|
||||
)
|
||||
search.localize(napi.Locales())
|
||||
napi.Locales().localize_results([search])
|
||||
|
||||
result = v1_format.format_result(search, 'json', {})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user