aboutsummaryrefslogtreecommitdiff
path: root/src/locales/he
diff options
context:
space:
mode:
authorDivisionByZero <[email protected]>2024-04-15 00:27:11 +0200
committerGitHub <[email protected]>2024-04-15 00:27:11 +0200
commit453ea970a4c7ed19e9d41fd026923f42dbd4e768 (patch)
treeda1e48fa8fc1186b8b185a1f9e24c7d6e921c7cb /src/locales/he
parent734a7f3d55d1233d8182585bb79d2013f0ce289e (diff)
downloadfaker-453ea970a4c7ed19e9d41fd026923f42dbd4e768.tar.xz
faker-453ea970a4c7ed19e9d41fd026923f42dbd4e768.zip
refactor(locale)!: remove location data index-value-binding (#2476)
Diffstat (limited to 'src/locales/he')
-rw-r--r--src/locales/he/location/direction.ts16
-rw-r--r--src/locales/he/location/direction_abbr.ts1
-rw-r--r--src/locales/he/location/index.ts2
3 files changed, 6 insertions, 13 deletions
diff --git a/src/locales/he/location/direction.ts b/src/locales/he/location/direction.ts
index 3b610358..aae8c116 100644
--- a/src/locales/he/location/direction.ts
+++ b/src/locales/he/location/direction.ts
@@ -1,10 +1,6 @@
-export default [
- 'צפון',
- 'מזרח',
- 'דרום',
- 'מערב',
- 'צפון מזרח',
- 'צפון מערב',
- 'דרום מזרח',
- 'דרום מערב',
-];
+export default {
+ cardinal: ['צפון', 'מזרח', 'דרום', 'מערב'],
+ cardinal_abbr: ['צ', 'מז', 'ד', 'מע'],
+ ordinal: ['צפון מזרח', 'צפון מערב', 'דרום מזרח', 'דרום מערב'],
+ ordinal_abbr: ['צ-מז', 'צ-מע', 'ד-מז', 'ד-מע'],
+};
diff --git a/src/locales/he/location/direction_abbr.ts b/src/locales/he/location/direction_abbr.ts
deleted file mode 100644
index eb5b022b..00000000
--- a/src/locales/he/location/direction_abbr.ts
+++ /dev/null
@@ -1 +0,0 @@
-export default ['צ', 'מז', 'ד', 'מע', 'צ-מז', 'צ-מע', 'ד-מז', 'ד-מע'];
diff --git a/src/locales/he/location/index.ts b/src/locales/he/location/index.ts
index b41044b4..7cb8eab9 100644
--- a/src/locales/he/location/index.ts
+++ b/src/locales/he/location/index.ts
@@ -9,7 +9,6 @@ import city_pattern from './city_pattern';
import country from './country';
import county from './county';
import direction from './direction';
-import direction_abbr from './direction_abbr';
import postcode from './postcode';
import secondary_address from './secondary_address';
import state from './state';
@@ -26,7 +25,6 @@ const location: LocationDefinition = {
country,
county,
direction,
- direction_abbr,
postcode,
secondary_address,
state,