[dictionaries] Removing ambiguous abbreviations for flat

This commit is contained in:
Al
2016-04-19 17:01:53 -04:00
parent 38ec82a42b
commit 10320723b1
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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: