aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/locales/th/location/city.ts1
-rw-r--r--src/locales/th/location/city_name.ts12
-rw-r--r--src/locales/th/location/index.ts4
-rw-r--r--test/all_functional.spec.ts1
4 files changed, 17 insertions, 1 deletions
diff --git a/src/locales/th/location/city.ts b/src/locales/th/location/city.ts
new file mode 100644
index 00000000..ad43b68f
--- /dev/null
+++ b/src/locales/th/location/city.ts
@@ -0,0 +1 @@
+export default ['{{location.city_name}}'];
diff --git a/src/locales/th/location/city_name.ts b/src/locales/th/location/city_name.ts
new file mode 100644
index 00000000..77be912e
--- /dev/null
+++ b/src/locales/th/location/city_name.ts
@@ -0,0 +1,12 @@
+export default [
+ 'กรุงเทพมหานคร',
+ 'ปากเกร็ด',
+ 'เมืองสมุทรปราการ',
+ 'เมืองนนทบุรี',
+ 'อุดรธานี',
+ 'ชลบุรี',
+ 'นครศรีธรรมราช',
+ 'เชียงราย',
+ 'พิษณุโลก',
+ 'พัทยา',
+];
diff --git a/src/locales/th/location/index.ts b/src/locales/th/location/index.ts
index 59ec807e..55eb461e 100644
--- a/src/locales/th/location/index.ts
+++ b/src/locales/th/location/index.ts
@@ -4,6 +4,8 @@
*/
import type { LocationDefinitions } from '../../..';
import building_number from './building_number';
+import city from './city';
+import city_name from './city_name';
import city_prefix from './city_prefix';
import city_suffix from './city_suffix';
import country from './country';
@@ -15,6 +17,8 @@ import street_pattern from './street_pattern';
const location: LocationDefinitions = {
building_number,
+ city,
+ city_name,
city_prefix,
city_suffix,
country,
diff --git a/test/all_functional.spec.ts b/test/all_functional.spec.ts
index d6104c7c..b5501290 100644
--- a/test/all_functional.spec.ts
+++ b/test/all_functional.spec.ts
@@ -28,7 +28,6 @@ const BROKEN_LOCALE_METHODS = {
companySuffix: ['az'],
},
location: {
- city: ['th'],
state: ['az', 'nb_NO', 'sk'],
stateAbbr: ['sk'],
streetName: [