From 75e4892b7d5c0d074ba141bd11b622cb9a328eb7 Mon Sep 17 00:00:00 2001 From: Matt Mayer <152770+matthewmayer@users.noreply.github.com> Date: Sat, 29 Apr 2023 23:34:25 +0700 Subject: [PATCH] fix(locale): fix en_HK city_pattern (#2105) --- src/locales/en_HK/location/{city.ts => city_name.ts} | 0 src/locales/en_HK/location/city_pattern.ts | 1 + src/locales/en_HK/location/index.ts | 6 ++++-- 3 files changed, 5 insertions(+), 2 deletions(-) rename src/locales/en_HK/location/{city.ts => city_name.ts} (100%) create mode 100644 src/locales/en_HK/location/city_pattern.ts diff --git a/src/locales/en_HK/location/city.ts b/src/locales/en_HK/location/city_name.ts similarity index 100% rename from src/locales/en_HK/location/city.ts rename to src/locales/en_HK/location/city_name.ts diff --git a/src/locales/en_HK/location/city_pattern.ts b/src/locales/en_HK/location/city_pattern.ts new file mode 100644 index 00000000000..ad43b68fc5c --- /dev/null +++ b/src/locales/en_HK/location/city_pattern.ts @@ -0,0 +1 @@ +export default ['{{location.city_name}}']; diff --git a/src/locales/en_HK/location/index.ts b/src/locales/en_HK/location/index.ts index b7eb3b3157e..1f06fba1129 100644 --- a/src/locales/en_HK/location/index.ts +++ b/src/locales/en_HK/location/index.ts @@ -4,7 +4,8 @@ */ import type { LocationDefinitions } from '../../..'; import building_number from './building_number'; -import city from './city'; +import city_name from './city_name'; +import city_pattern from './city_pattern'; import default_country from './default_country'; import postcode from './postcode'; import postcode_by_state from './postcode_by_state'; @@ -18,7 +19,8 @@ import street_suffix from './street_suffix'; const location: LocationDefinitions = { building_number, - city, + city_name, + city_pattern, default_country, postcode, postcode_by_state,