diff options
| author | Robin van der Vliet <[email protected]> | 2023-08-26 14:35:01 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-08-26 12:35:01 +0000 |
| commit | d91057ddfd36b15af783ab6bcb1d679cf5202347 (patch) | |
| tree | a37de4501c5350680cc0110f8d6ead4cf9955459 /src/locale | |
| parent | b103c63e72738c0437e60519d735a4ee1936954d (diff) | |
| download | faker-d91057ddfd36b15af783ab6bcb1d679cf5202347.tar.xz faker-d91057ddfd36b15af783ab6bcb1d679cf5202347.zip | |
feat(locale): add Esperanto (#2230)
Diffstat (limited to 'src/locale')
| -rw-r--r-- | src/locale/eo.ts | 13 | ||||
| -rw-r--r-- | src/locale/index.ts | 3 |
2 files changed, 16 insertions, 0 deletions
diff --git a/src/locale/eo.ts b/src/locale/eo.ts new file mode 100644 index 00000000..c2344b4c --- /dev/null +++ b/src/locale/eo.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 eo from '../locales/eo'; + +export const faker = new Faker({ + locale: [eo, en, base], +}); diff --git a/src/locale/index.ts b/src/locale/index.ts index 54eb96d1..c39d89d7 100644 --- a/src/locale/index.ts +++ b/src/locale/index.ts @@ -27,6 +27,7 @@ import { faker as fakerEN_IN } from './en_IN'; import { faker as fakerEN_NG } from './en_NG'; import { faker as fakerEN_US } from './en_US'; import { faker as fakerEN_ZA } from './en_ZA'; +import { faker as fakerEO } from './eo'; import { faker as fakerES } from './es'; import { faker as fakerES_MX } from './es_MX'; import { faker as fakerFA } from './fa'; @@ -94,6 +95,7 @@ export { fakerEN_NG, fakerEN_US, fakerEN_ZA, + fakerEO, fakerES, fakerES_MX, fakerFA, @@ -162,6 +164,7 @@ export const allFakers = { en_NG: fakerEN_NG, en_US: fakerEN_US, en_ZA: fakerEN_ZA, + eo: fakerEO, es: fakerES, es_MX: fakerES_MX, fa: fakerFA, |
