diff options
| author | DivisionByZero <[email protected]> | 2024-04-15 00:27:11 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-04-15 00:27:11 +0200 |
| commit | 453ea970a4c7ed19e9d41fd026923f42dbd4e768 (patch) | |
| tree | da1e48fa8fc1186b8b185a1f9e24c7d6e921c7cb /src/locales/da | |
| parent | 734a7f3d55d1233d8182585bb79d2013f0ce289e (diff) | |
| download | faker-453ea970a4c7ed19e9d41fd026923f42dbd4e768.tar.xz faker-453ea970a4c7ed19e9d41fd026923f42dbd4e768.zip | |
refactor(locale)!: remove location data index-value-binding (#2476)
Diffstat (limited to 'src/locales/da')
| -rw-r--r-- | src/locales/da/location/direction.ts | 16 | ||||
| -rw-r--r-- | src/locales/da/location/direction_abbr.ts | 1 | ||||
| -rw-r--r-- | src/locales/da/location/index.ts | 2 |
3 files changed, 6 insertions, 13 deletions
diff --git a/src/locales/da/location/direction.ts b/src/locales/da/location/direction.ts index bee4196e..eed01ac2 100644 --- a/src/locales/da/location/direction.ts +++ b/src/locales/da/location/direction.ts @@ -1,10 +1,6 @@ -export default [ - 'Nord', - 'Øst', - 'Syd', - 'Vest', - 'Nordøst', - 'Nordvest', - 'Sydøst', - 'Sydvest', -]; +export default { + cardinal: ['Nord', 'Øst', 'Syd', 'Vest'], + cardinal_abbr: ['N', 'Ø', 'S', 'V'], + ordinal: ['Nordøst', 'Nordvest', 'Sydøst', 'Sydvest'], + ordinal_abbr: ['NØ', 'NV', 'SØ', 'SV'], +}; diff --git a/src/locales/da/location/direction_abbr.ts b/src/locales/da/location/direction_abbr.ts deleted file mode 100644 index bdf4fa96..00000000 --- a/src/locales/da/location/direction_abbr.ts +++ /dev/null @@ -1 +0,0 @@ -export default ['N', 'Ø', 'S', 'V', 'NØ', 'NV', 'SØ', 'SV']; diff --git a/src/locales/da/location/index.ts b/src/locales/da/location/index.ts index 7f846e46..d0fe278c 100644 --- a/src/locales/da/location/index.ts +++ b/src/locales/da/location/index.ts @@ -8,7 +8,6 @@ import city_name from './city_name'; import city_pattern from './city_pattern'; import country from './country'; import direction from './direction'; -import direction_abbr from './direction_abbr'; import postcode from './postcode'; import secondary_address from './secondary_address'; import street_address from './street_address'; @@ -21,7 +20,6 @@ const location: LocationDefinition = { city_pattern, country, direction, - direction_abbr, postcode, secondary_address, street_address, |
