aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatt Mayer <[email protected]>2023-04-03 23:34:11 +0700
committerGitHub <[email protected]>2023-04-03 16:34:11 +0000
commit1f763f89aad5d5b6fe42cfd01f9953e2de092cc5 (patch)
treea01f5bd33e6724af88ba387e4a8d7e95fa2a36d6 /src
parentcbbc0760c0121ce31997c0da1ce9d56189d42d31 (diff)
downloadfaker-1f763f89aad5d5b6fe42cfd01f9953e2de092cc5.tar.xz
faker-1f763f89aad5d5b6fe42cfd01f9953e2de092cc5.zip
refactor(locale): rename ge to ka_GE (#2010)
Diffstat (limited to 'src')
-rw-r--r--src/locale/ge.ts23
-rw-r--r--src/locale/index.ts6
-rw-r--r--src/locale/ka_GE.ts13
-rw-r--r--src/locales/index.ts2
-rw-r--r--src/locales/ka_GE/cell_phone/formats.ts (renamed from src/locales/ge/cell_phone/formats.ts)0
-rw-r--r--src/locales/ka_GE/cell_phone/index.ts (renamed from src/locales/ge/cell_phone/index.ts)0
-rw-r--r--src/locales/ka_GE/company/index.ts (renamed from src/locales/ge/company/index.ts)0
-rw-r--r--src/locales/ka_GE/company/name_patterns.ts (renamed from src/locales/ge/company/name_patterns.ts)0
-rw-r--r--src/locales/ka_GE/company/prefix.ts (renamed from src/locales/ge/company/prefix.ts)0
-rw-r--r--src/locales/ka_GE/company/suffix.ts (renamed from src/locales/ge/company/suffix.ts)0
-rw-r--r--src/locales/ka_GE/index.ts (renamed from src/locales/ge/index.ts)4
-rw-r--r--src/locales/ka_GE/internet/domain_suffix.ts (renamed from src/locales/ge/internet/domain_suffix.ts)0
-rw-r--r--src/locales/ka_GE/internet/free_email.ts (renamed from src/locales/ge/internet/free_email.ts)0
-rw-r--r--src/locales/ka_GE/internet/index.ts (renamed from src/locales/ge/internet/index.ts)0
-rw-r--r--src/locales/ka_GE/location/building_number.ts (renamed from src/locales/ge/location/building_number.ts)0
-rw-r--r--src/locales/ka_GE/location/city.ts (renamed from src/locales/ge/location/city.ts)0
-rw-r--r--src/locales/ka_GE/location/city_name.ts (renamed from src/locales/ge/location/city_name.ts)0
-rw-r--r--src/locales/ka_GE/location/city_prefix.ts (renamed from src/locales/ge/location/city_prefix.ts)0
-rw-r--r--src/locales/ka_GE/location/city_suffix.ts (renamed from src/locales/ge/location/city_suffix.ts)0
-rw-r--r--src/locales/ka_GE/location/country.ts (renamed from src/locales/ge/location/country.ts)0
-rw-r--r--src/locales/ka_GE/location/default_country.ts (renamed from src/locales/ge/location/default_country.ts)0
-rw-r--r--src/locales/ka_GE/location/index.ts (renamed from src/locales/ge/location/index.ts)0
-rw-r--r--src/locales/ka_GE/location/postcode.ts (renamed from src/locales/ge/location/postcode.ts)0
-rw-r--r--src/locales/ka_GE/location/secondary_address.ts (renamed from src/locales/ge/location/secondary_address.ts)0
-rw-r--r--src/locales/ka_GE/location/street.ts (renamed from src/locales/ge/location/street.ts)0
-rw-r--r--src/locales/ka_GE/location/street_address.ts (renamed from src/locales/ge/location/street_address.ts)0
-rw-r--r--src/locales/ka_GE/location/street_name.ts (renamed from src/locales/ge/location/street_name.ts)0
-rw-r--r--src/locales/ka_GE/location/street_suffix.ts (renamed from src/locales/ge/location/street_suffix.ts)0
-rw-r--r--src/locales/ka_GE/metadata.ts (renamed from src/locales/ge/metadata.ts)2
-rw-r--r--src/locales/ka_GE/person/female_prefix.ts (renamed from src/locales/ge/person/female_prefix.ts)0
-rw-r--r--src/locales/ka_GE/person/first_name.ts (renamed from src/locales/ge/person/first_name.ts)0
-rw-r--r--src/locales/ka_GE/person/index.ts (renamed from src/locales/ge/person/index.ts)0
-rw-r--r--src/locales/ka_GE/person/last_name.ts (renamed from src/locales/ge/person/last_name.ts)0
-rw-r--r--src/locales/ka_GE/person/last_name_patterns.ts (renamed from src/locales/ge/person/last_name_patterns.ts)0
-rw-r--r--src/locales/ka_GE/person/male_prefix.ts (renamed from src/locales/ge/person/male_prefix.ts)0
-rw-r--r--src/locales/ka_GE/person/name.ts (renamed from src/locales/ge/person/name.ts)0
-rw-r--r--src/locales/ka_GE/person/prefix.ts (renamed from src/locales/ge/person/prefix.ts)0
-rw-r--r--src/locales/ka_GE/person/title.ts (renamed from src/locales/ge/person/title.ts)0
-rw-r--r--src/locales/ka_GE/phone_number/formats.ts (renamed from src/locales/ge/phone_number/formats.ts)0
-rw-r--r--src/locales/ka_GE/phone_number/index.ts (renamed from src/locales/ge/phone_number/index.ts)0
40 files changed, 31 insertions, 19 deletions
diff --git a/src/locale/ge.ts b/src/locale/ge.ts
index b70b48c6..ea512b71 100644
--- a/src/locale/ge.ts
+++ b/src/locale/ge.ts
@@ -1,13 +1,12 @@
-/*
- * This file is automatically generated.
- * Run 'pnpm run generate:locales' to update.
- */
+import { deprecated } from '../internal/deprecated';
+import { faker as ka_GE } from './ka_GE';
-import { Faker } from '../faker';
-import base from '../locales/base';
-import en from '../locales/en';
-import ge from '../locales/ge';
-
-export const faker = new Faker({
- locale: [ge, en, base],
-});
+export const faker = (() => {
+ deprecated({
+ deprecated: "import { faker } from '@faker-js/faker/locale/ge'",
+ proposed: "import { faker } from '@faker-js/faker/locale/ka_GE'",
+ since: '8.0',
+ until: '9.0',
+ });
+ return ka_GE;
+})();
diff --git a/src/locale/index.ts b/src/locale/index.ts
index 2a236260..f5b7653f 100644
--- a/src/locale/index.ts
+++ b/src/locale/index.ts
@@ -34,7 +34,6 @@ import { faker as fakerFR_BE } from './fr_BE';
import { faker as fakerFR_CA } from './fr_CA';
import { faker as fakerFR_CH } from './fr_CH';
import { faker as fakerFR_LU } from './fr_LU';
-import { faker as fakerGE } from './ge';
import { faker as fakerHE } from './he';
import { faker as fakerHR } from './hr';
import { faker as fakerHU } from './hu';
@@ -42,6 +41,7 @@ import { faker as fakerHY } from './hy';
import { faker as fakerID_ID } from './id_ID';
import { faker as fakerIT } from './it';
import { faker as fakerJA } from './ja';
+import { faker as fakerKA_GE } from './ka_GE';
import { faker as fakerKO } from './ko';
import { faker as fakerLV } from './lv';
import { faker as fakerMK } from './mk';
@@ -98,7 +98,6 @@ export {
fakerFR_CA,
fakerFR_CH,
fakerFR_LU,
- fakerGE,
fakerHE,
fakerHR,
fakerHU,
@@ -106,6 +105,7 @@ export {
fakerID_ID,
fakerIT,
fakerJA,
+ fakerKA_GE,
fakerKO,
fakerLV,
fakerMK,
@@ -163,7 +163,6 @@ export const allFakers = {
fr_CA: fakerFR_CA,
fr_CH: fakerFR_CH,
fr_LU: fakerFR_LU,
- ge: fakerGE,
he: fakerHE,
hr: fakerHR,
hu: fakerHU,
@@ -171,6 +170,7 @@ export const allFakers = {
id_ID: fakerID_ID,
it: fakerIT,
ja: fakerJA,
+ ka_GE: fakerKA_GE,
ko: fakerKO,
lv: fakerLV,
mk: fakerMK,
diff --git a/src/locale/ka_GE.ts b/src/locale/ka_GE.ts
new file mode 100644
index 00000000..8f32405f
--- /dev/null
+++ b/src/locale/ka_GE.ts
@@ -0,0 +1,13 @@
+/*
+ * This file is automatically generated.
+ * Run 'pnpm run generate:locales' to update.
+ */
+
+import { Faker } from '../faker';
+import base from '../locales/base';
+import en from '../locales/en';
+import ka_GE from '../locales/ka_GE';
+
+export const faker = new Faker({
+ locale: [ka_GE, en, base],
+});
diff --git a/src/locales/index.ts b/src/locales/index.ts
index add168cd..fa5ea18a 100644
--- a/src/locales/index.ts
+++ b/src/locales/index.ts
@@ -34,7 +34,6 @@ export { default as fr_BE } from './fr_BE';
export { default as fr_CA } from './fr_CA';
export { default as fr_CH } from './fr_CH';
export { default as fr_LU } from './fr_LU';
-export { default as ge } from './ge';
export { default as he } from './he';
export { default as hr } from './hr';
export { default as hu } from './hu';
@@ -42,6 +41,7 @@ export { default as hy } from './hy';
export { default as id_ID } from './id_ID';
export { default as it } from './it';
export { default as ja } from './ja';
+export { default as ka_GE } from './ka_GE';
export { default as ko } from './ko';
export { default as lv } from './lv';
export { default as mk } from './mk';
diff --git a/src/locales/ge/cell_phone/formats.ts b/src/locales/ka_GE/cell_phone/formats.ts
index ae137003..ae137003 100644
--- a/src/locales/ge/cell_phone/formats.ts
+++ b/src/locales/ka_GE/cell_phone/formats.ts
diff --git a/src/locales/ge/cell_phone/index.ts b/src/locales/ka_GE/cell_phone/index.ts
index 337d77f0..337d77f0 100644
--- a/src/locales/ge/cell_phone/index.ts
+++ b/src/locales/ka_GE/cell_phone/index.ts
diff --git a/src/locales/ge/company/index.ts b/src/locales/ka_GE/company/index.ts
index 4e399166..4e399166 100644
--- a/src/locales/ge/company/index.ts
+++ b/src/locales/ka_GE/company/index.ts
diff --git a/src/locales/ge/company/name_patterns.ts b/src/locales/ka_GE/company/name_patterns.ts
index 51e9f464..51e9f464 100644
--- a/src/locales/ge/company/name_patterns.ts
+++ b/src/locales/ka_GE/company/name_patterns.ts
diff --git a/src/locales/ge/company/prefix.ts b/src/locales/ka_GE/company/prefix.ts
index fa00c0d5..fa00c0d5 100644
--- a/src/locales/ge/company/prefix.ts
+++ b/src/locales/ka_GE/company/prefix.ts
diff --git a/src/locales/ge/company/suffix.ts b/src/locales/ka_GE/company/suffix.ts
index eb74fff3..eb74fff3 100644
--- a/src/locales/ge/company/suffix.ts
+++ b/src/locales/ka_GE/company/suffix.ts
diff --git a/src/locales/ge/index.ts b/src/locales/ka_GE/index.ts
index 618247f6..ea959663 100644
--- a/src/locales/ge/index.ts
+++ b/src/locales/ka_GE/index.ts
@@ -11,7 +11,7 @@ import metadata from './metadata';
import person from './person';
import phone_number from './phone_number';
-const ge: LocaleDefinition = {
+const ka_GE: LocaleDefinition = {
cell_phone,
company,
internet,
@@ -21,4 +21,4 @@ const ge: LocaleDefinition = {
phone_number,
};
-export default ge;
+export default ka_GE;
diff --git a/src/locales/ge/internet/domain_suffix.ts b/src/locales/ka_GE/internet/domain_suffix.ts
index 0d18d04f..0d18d04f 100644
--- a/src/locales/ge/internet/domain_suffix.ts
+++ b/src/locales/ka_GE/internet/domain_suffix.ts
diff --git a/src/locales/ge/internet/free_email.ts b/src/locales/ka_GE/internet/free_email.ts
index f78c5313..f78c5313 100644
--- a/src/locales/ge/internet/free_email.ts
+++ b/src/locales/ka_GE/internet/free_email.ts
diff --git a/src/locales/ge/internet/index.ts b/src/locales/ka_GE/internet/index.ts
index 8b0ef73e..8b0ef73e 100644
--- a/src/locales/ge/internet/index.ts
+++ b/src/locales/ka_GE/internet/index.ts
diff --git a/src/locales/ge/location/building_number.ts b/src/locales/ka_GE/location/building_number.ts
index 20cefab6..20cefab6 100644
--- a/src/locales/ge/location/building_number.ts
+++ b/src/locales/ka_GE/location/building_number.ts
diff --git a/src/locales/ge/location/city.ts b/src/locales/ka_GE/location/city.ts
index d744d882..d744d882 100644
--- a/src/locales/ge/location/city.ts
+++ b/src/locales/ka_GE/location/city.ts
diff --git a/src/locales/ge/location/city_name.ts b/src/locales/ka_GE/location/city_name.ts
index aee6b123..aee6b123 100644
--- a/src/locales/ge/location/city_name.ts
+++ b/src/locales/ka_GE/location/city_name.ts
diff --git a/src/locales/ge/location/city_prefix.ts b/src/locales/ka_GE/location/city_prefix.ts
index a97330f3..a97330f3 100644
--- a/src/locales/ge/location/city_prefix.ts
+++ b/src/locales/ka_GE/location/city_prefix.ts
diff --git a/src/locales/ge/location/city_suffix.ts b/src/locales/ka_GE/location/city_suffix.ts
index d596353d..d596353d 100644
--- a/src/locales/ge/location/city_suffix.ts
+++ b/src/locales/ka_GE/location/city_suffix.ts
diff --git a/src/locales/ge/location/country.ts b/src/locales/ka_GE/location/country.ts
index 3461d6f2..3461d6f2 100644
--- a/src/locales/ge/location/country.ts
+++ b/src/locales/ka_GE/location/country.ts
diff --git a/src/locales/ge/location/default_country.ts b/src/locales/ka_GE/location/default_country.ts
index 9e5a8f57..9e5a8f57 100644
--- a/src/locales/ge/location/default_country.ts
+++ b/src/locales/ka_GE/location/default_country.ts
diff --git a/src/locales/ge/location/index.ts b/src/locales/ka_GE/location/index.ts
index 82632185..82632185 100644
--- a/src/locales/ge/location/index.ts
+++ b/src/locales/ka_GE/location/index.ts
diff --git a/src/locales/ge/location/postcode.ts b/src/locales/ka_GE/location/postcode.ts
index 695bc368..695bc368 100644
--- a/src/locales/ge/location/postcode.ts
+++ b/src/locales/ka_GE/location/postcode.ts
diff --git a/src/locales/ge/location/secondary_address.ts b/src/locales/ka_GE/location/secondary_address.ts
index 1371dcd0..1371dcd0 100644
--- a/src/locales/ge/location/secondary_address.ts
+++ b/src/locales/ka_GE/location/secondary_address.ts
diff --git a/src/locales/ge/location/street.ts b/src/locales/ka_GE/location/street.ts
index afbdb76e..afbdb76e 100644
--- a/src/locales/ge/location/street.ts
+++ b/src/locales/ka_GE/location/street.ts
diff --git a/src/locales/ge/location/street_address.ts b/src/locales/ka_GE/location/street_address.ts
index 437f20dd..437f20dd 100644
--- a/src/locales/ge/location/street_address.ts
+++ b/src/locales/ka_GE/location/street_address.ts
diff --git a/src/locales/ge/location/street_name.ts b/src/locales/ka_GE/location/street_name.ts
index 8f44d72c..8f44d72c 100644
--- a/src/locales/ge/location/street_name.ts
+++ b/src/locales/ka_GE/location/street_name.ts
diff --git a/src/locales/ge/location/street_suffix.ts b/src/locales/ka_GE/location/street_suffix.ts
index 0571a9f6..0571a9f6 100644
--- a/src/locales/ge/location/street_suffix.ts
+++ b/src/locales/ka_GE/location/street_suffix.ts
diff --git a/src/locales/ge/metadata.ts b/src/locales/ka_GE/metadata.ts
index b77524dc..5a049913 100644
--- a/src/locales/ge/metadata.ts
+++ b/src/locales/ka_GE/metadata.ts
@@ -1,7 +1,7 @@
import type { MetadataDefinitions } from '../..';
const metadata: MetadataDefinitions = {
- title: 'Georgian',
+ title: 'Georgian (Georgia)',
};
export default metadata;
diff --git a/src/locales/ge/person/female_prefix.ts b/src/locales/ka_GE/person/female_prefix.ts
index 512cc520..512cc520 100644
--- a/src/locales/ge/person/female_prefix.ts
+++ b/src/locales/ka_GE/person/female_prefix.ts
diff --git a/src/locales/ge/person/first_name.ts b/src/locales/ka_GE/person/first_name.ts
index c60d60df..c60d60df 100644
--- a/src/locales/ge/person/first_name.ts
+++ b/src/locales/ka_GE/person/first_name.ts
diff --git a/src/locales/ge/person/index.ts b/src/locales/ka_GE/person/index.ts
index 0a75e821..0a75e821 100644
--- a/src/locales/ge/person/index.ts
+++ b/src/locales/ka_GE/person/index.ts
diff --git a/src/locales/ge/person/last_name.ts b/src/locales/ka_GE/person/last_name.ts
index f6a9eeaa..f6a9eeaa 100644
--- a/src/locales/ge/person/last_name.ts
+++ b/src/locales/ka_GE/person/last_name.ts
diff --git a/src/locales/ge/person/last_name_patterns.ts b/src/locales/ka_GE/person/last_name_patterns.ts
index c66a770f..c66a770f 100644
--- a/src/locales/ge/person/last_name_patterns.ts
+++ b/src/locales/ka_GE/person/last_name_patterns.ts
diff --git a/src/locales/ge/person/male_prefix.ts b/src/locales/ka_GE/person/male_prefix.ts
index 9343ba0d..9343ba0d 100644
--- a/src/locales/ge/person/male_prefix.ts
+++ b/src/locales/ka_GE/person/male_prefix.ts
diff --git a/src/locales/ge/person/name.ts b/src/locales/ka_GE/person/name.ts
index 3e779a47..3e779a47 100644
--- a/src/locales/ge/person/name.ts
+++ b/src/locales/ka_GE/person/name.ts
diff --git a/src/locales/ge/person/prefix.ts b/src/locales/ka_GE/person/prefix.ts
index cb1d846e..cb1d846e 100644
--- a/src/locales/ge/person/prefix.ts
+++ b/src/locales/ka_GE/person/prefix.ts
diff --git a/src/locales/ge/person/title.ts b/src/locales/ka_GE/person/title.ts
index f6721ed6..f6721ed6 100644
--- a/src/locales/ge/person/title.ts
+++ b/src/locales/ka_GE/person/title.ts
diff --git a/src/locales/ge/phone_number/formats.ts b/src/locales/ka_GE/phone_number/formats.ts
index 8086db8d..8086db8d 100644
--- a/src/locales/ge/phone_number/formats.ts
+++ b/src/locales/ka_GE/phone_number/formats.ts
diff --git a/src/locales/ge/phone_number/index.ts b/src/locales/ka_GE/phone_number/index.ts
index bf48a8b5..bf48a8b5 100644
--- a/src/locales/ge/phone_number/index.ts
+++ b/src/locales/ka_GE/phone_number/index.ts