aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatt Mayer <[email protected]>2023-04-22 18:12:27 +0700
committerGitHub <[email protected]>2023-04-22 13:12:27 +0200
commited19befb04dbb7a8c5b59b1c015c6ccbce109869 (patch)
tree6320b88e18ef2f57a83f0f9a8c8ab773ac90391a /src
parent16d611f7ec1669480014d42549e2fabc6f8716a0 (diff)
downloadfaker-ed19befb04dbb7a8c5b59b1c015c6ccbce109869.tar.xz
faker-ed19befb04dbb7a8c5b59b1c015c6ccbce109869.zip
feat(locale): add city names for th (#2075)
Diffstat (limited to 'src')
-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
3 files changed, 17 insertions, 0 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,