[dictionaries] Removing ambiguous abbreviations for flat
This commit is contained in:
@@ -20,7 +20,7 @@ duplex|dup|dupl
|
|||||||
extension|ext|extn
|
extension|ext|extn
|
||||||
factory|fcty|fty|fy
|
factory|fcty|fty|fy
|
||||||
farm|frm
|
farm|frm
|
||||||
flat|ft|fl|flt|f
|
flat|flt
|
||||||
garage|grge
|
garage|grge
|
||||||
hall
|
hall
|
||||||
hangar|hngr
|
hangar|hngr
|
||||||
|
|||||||
@@ -114,7 +114,7 @@ class Unit(NumberedComponent):
|
|||||||
@classmethod
|
@classmethod
|
||||||
def phrase(cls, unit, language, country=None, zone=None):
|
def phrase(cls, unit, language, country=None, zone=None):
|
||||||
if unit is not None:
|
if unit is not None:
|
||||||
key = 'units.alphanumeric' if zone is None else 'units.zone.{}'.format(zone)
|
key = 'units.alphanumeric' if zone is None else 'units.zones.{}'.format(zone)
|
||||||
|
|
||||||
add_direction = address_config.get_property('{}.add_direction'.format(key), language, country=country)
|
add_direction = address_config.get_property('{}.add_direction'.format(key), language, country=country)
|
||||||
if add_direction:
|
if add_direction:
|
||||||
|
|||||||
Reference in New Issue
Block a user