Skip to content

Commit d91057d

Browse files
feat(locale): add Esperanto (#2230)
1 parent b103c63 commit d91057d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+2103
-0
lines changed

docs/guide/localization.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ In this example there are 5 locales. Each of these is checked in order, and the
9898
| `en_NG` | English (Nigeria) | `fakerEN_NG` |
9999
| `en_US` | English (United States) | `fakerEN_US` |
100100
| `en_ZA` | English (South Africa) | `fakerEN_ZA` |
101+
| `eo` | Esperanto | `fakerEO` |
101102
| `es` | Spanish | `fakerES` |
102103
| `es_MX` | Spanish (Mexico) | `fakerES_MX` |
103104
| `fa` | Farsi/Persian | `fakerFA` |

src/locale/eo.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* This file is automatically generated.
3+
* Run 'pnpm run generate:locales' to update.
4+
*/
5+
6+
import { Faker } from '../faker';
7+
import base from '../locales/base';
8+
import en from '../locales/en';
9+
import eo from '../locales/eo';
10+
11+
export const faker = new Faker({
12+
locale: [eo, en, base],
13+
});

src/locale/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import { faker as fakerEN_IN } from './en_IN';
2727
import { faker as fakerEN_NG } from './en_NG';
2828
import { faker as fakerEN_US } from './en_US';
2929
import { faker as fakerEN_ZA } from './en_ZA';
30+
import { faker as fakerEO } from './eo';
3031
import { faker as fakerES } from './es';
3132
import { faker as fakerES_MX } from './es_MX';
3233
import { faker as fakerFA } from './fa';
@@ -94,6 +95,7 @@ export {
9495
fakerEN_NG,
9596
fakerEN_US,
9697
fakerEN_ZA,
98+
fakerEO,
9799
fakerES,
98100
fakerES_MX,
99101
fakerFA,
@@ -162,6 +164,7 @@ export const allFakers = {
162164
en_NG: fakerEN_NG,
163165
en_US: fakerEN_US,
164166
en_ZA: fakerEN_ZA,
167+
eo: fakerEO,
165168
es: fakerES,
166169
es_MX: fakerES_MX,
167170
fa: fakerFA,

src/locales/eo/animal/bear.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
export default [
2+
'amerika nigra urso',
3+
'azia nigra urso',
4+
'blanka urso',
5+
'bruna urso',
6+
'granda pando',
7+
'longlipa urso',
8+
'malaja urso',
9+
'okulvitra urso',
10+
];

src/locales/eo/animal/crocodilia.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
export default [
2+
'amerika krokodilo',
3+
'aŭstralia krokodilo',
4+
'ĉina aligatoro',
5+
'filipina krokodilo',
6+
'gavialo',
7+
'kuba krokodilo',
8+
'mara krokodilo',
9+
'marĉa krokodilo',
10+
'meksika krokodilo',
11+
'misisipa aligatoro',
12+
'nana krokodilo',
13+
'nigra kajmano',
14+
'nila krokodilo',
15+
'okcidentafrika krokodilo',
16+
'orinoka krokodilo',
17+
'siama krokodilo',
18+
];

src/locales/eo/animal/index.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/*
2+
* This file is automatically generated.
3+
* Run 'pnpm run generate:locales' to update.
4+
*/
5+
import type { AnimalDefinition } from '../../..';
6+
import bear from './bear';
7+
import crocodilia from './crocodilia';
8+
import lion from './lion';
9+
import type_ from './type';
10+
11+
const animal: AnimalDefinition = {
12+
bear,
13+
crocodilia,
14+
lion,
15+
type: type_,
16+
};
17+
18+
export default animal;

src/locales/eo/animal/lion.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
export default [
2+
'azia leono',
3+
'berbera leono',
4+
'kaba leono',
5+
'masaja leono',
6+
'okcidentafrika leono',
7+
'senegala leono',
8+
'transvala leono',
9+
];

src/locales/eo/animal/type.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
export default [
2+
'birdo',
3+
'bovo',
4+
'cetaco',
5+
'ĉevalo',
6+
'fiŝo',
7+
'hundo',
8+
'insekto',
9+
'kato',
10+
'krokodilulo',
11+
'kuniklo',
12+
'leono',
13+
'serpento',
14+
'urso',
15+
];

src/locales/eo/color/human.ts

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
export default [
2+
'arĝenta',
3+
'blanka',
4+
'blua',
5+
'bruna',
6+
'cejana',
7+
'ebura',
8+
'flava',
9+
'griza',
10+
'indiga',
11+
'kakia',
12+
'lavenda',
13+
'lazura',
14+
'malva',
15+
'maĝenta',
16+
'nigra',
17+
'okra',
18+
'ora',
19+
'oranĝa',
20+
'purpura',
21+
'roza',
22+
'ruĝa',
23+
'sukcena',
24+
'turkisa',
25+
'verda',
26+
'viola',
27+
];

src/locales/eo/color/index.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/*
2+
* This file is automatically generated.
3+
* Run 'pnpm run generate:locales' to update.
4+
*/
5+
import type { ColorDefinition } from '../../..';
6+
import human from './human';
7+
8+
const color: ColorDefinition = {
9+
human,
10+
};
11+
12+
export default color;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy