Skip to content

Commit ed19bef

Browse files
authored
feat(locale): add city names for th (#2075)
1 parent 16d611f commit ed19bef

File tree

4 files changed

+17
-1
lines changed

4 files changed

+17
-1
lines changed

src/locales/th/location/city.ts

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default ['{{location.city_name}}'];

src/locales/th/location/city_name.ts

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
export default [
2+
'กรุงเทพมหานคร',
3+
'ปากเกร็ด',
4+
'เมืองสมุทรปราการ',
5+
'เมืองนนทบุรี',
6+
'อุดรธานี',
7+
'ชลบุรี',
8+
'นครศรีธรรมราช',
9+
'เชียงราย',
10+
'พิษณุโลก',
11+
'พัทยา',
12+
];

src/locales/th/location/index.ts

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
*/
55
import type { LocationDefinitions } from '../../..';
66
import building_number from './building_number';
7+
import city from './city';
8+
import city_name from './city_name';
79
import city_prefix from './city_prefix';
810
import city_suffix from './city_suffix';
911
import country from './country';
@@ -15,6 +17,8 @@ import street_pattern from './street_pattern';
1517

1618
const location: LocationDefinitions = {
1719
building_number,
20+
city,
21+
city_name,
1822
city_prefix,
1923
city_suffix,
2024
country,

test/all_functional.spec.ts

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ const BROKEN_LOCALE_METHODS = {
2828
companySuffix: ['az'],
2929
},
3030
location: {
31-
city: ['th'],
3231
state: ['az', 'nb_NO', 'sk'],
3332
stateAbbr: ['sk'],
3433
streetName: [

0 commit comments

Comments
 (0)