[dictionaries] Removing ambiguous abbreviations for flat

This commit is contained in:
Al
2016-04-19 17:01:53 -04:00
parent c47762b91c
commit 7f3667caf8
2 changed files with 2 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ duplex|dup|dupl
extension|ext|extn
factory|fcty|fty|fy
farm|frm
flat|ft|fl|flt|f
flat|flt
garage|grge
hall
hangar|hngr

View File

@@ -114,7 +114,7 @@ class Unit(NumberedComponent):
@classmethod
def phrase(cls, unit, language, country=None, zone=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)
if add_direction: