Skip to content

Commit

Permalink
add more hebrew examples
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenReuven committed Aug 26, 2024
1 parent 8976b49 commit 24e8d32
Show file tree
Hide file tree
Showing 21 changed files with 364 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/falso/src/lib/i18n/he/clothing-size.i18n.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"data": ["קטן מאוד מאוד", "קטן מאוד", "קטן", "בינוני", "גדול", "גדול מאוד", "גדול מאוד מאוד"]
}
22 changes: 22 additions & 0 deletions packages/falso/src/lib/i18n/he/clothing-size.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { FakeOptions, fake } from '../../core/core';
import { data } from './clothing-size.i18n.json';

/**
* Generate a random clothing size.
*
* @category fashion
*
* @example
*
* randClothingSize()
*
* @example
*
* randClothingSize({ length: 10 })
*
*/
export function randClothingSize<Options extends FakeOptions = never>(
options?: Options
) {
return fake(data, options);
}
24 changes: 24 additions & 0 deletions packages/falso/src/lib/i18n/he/first-name.i18n.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"data": [
"אברהם",
"יצחק",
"יעקב",
"שרה",
"רבקה",
"רחל",
"משה",
"דוד",
"שלמה",
"רות",
"אסתר",
"דניאל",
"יוסף",
"מרים",
"חנה",
"נעמי",
"יהושע",
"שמואל",
"עמוס",
"תמר"
]
}
22 changes: 22 additions & 0 deletions packages/falso/src/lib/i18n/he/first-name.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { FakeOptions, fake } from '../../core/core';
import { data } from './first-name.i18n.json';

/**
* Generate a random first name.
*
* @category person
*
* @example
*
* randFirstName()
*
* @example
*
* randFirstName({ length: 10 })
*
*/
export function randFirstName<Options extends FakeOptions = never>(
options?: Options
) {
return fake(data, options);
}
24 changes: 24 additions & 0 deletions packages/falso/src/lib/i18n/he/food.i18n.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"data": [
"פלאפל",
"חומוס",
"שקשוקה",
"מצות",
"גפילטע פיש",
"קוגל",
"חלה",
"בורקס",
"סביח",
"מלאווח",
"ג'חנון",
"קובה",
"פסטל",
"שניצל",
"פיתה",
"לאפה",
"טחינה",
"חציל",
"סלט ירקות",
"קוסקוס"
]
}
22 changes: 22 additions & 0 deletions packages/falso/src/lib/i18n/he/food.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { FakeOptions, fake } from '../../core/core';
import { data } from './food.i18n.json';

/**
* Generate a random food item.
*
* @category food
*
* @example
*
* randFood()
*
* @example
*
* randFood({ length: 10 })
*
*/
export function randFood<Options extends FakeOptions = never>(
options?: Options
) {
return fake(data, options);
}
14 changes: 14 additions & 0 deletions packages/falso/src/lib/i18n/he/gender.i18n.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"data": [
"זכר",
"נקבה",
"לא בינארי",
"ג'נדרקוויר",
"טרנסג'נדר",
"סיסג'נדר",
"אגנדר",
"ביג'נדר",
"ג'נדרפלואיד",
"אינטרסקס"
]
}
22 changes: 22 additions & 0 deletions packages/falso/src/lib/i18n/he/gender.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { FakeOptions, fake } from '../../core/core';
import { data } from './gender.i18n.json';

/**
* Generate a random gender.
*
* @category person
*
* @example
*
* randGender()
*
* @example
*
* randGender({ length: 10 })
*
*/
export function randGender<Options extends FakeOptions = never>(
options?: Options
) {
return fake(data, options);
}
14 changes: 14 additions & 0 deletions packages/falso/src/lib/i18n/he/horse.i18n.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"data": [
"סוס ערבי",
"סוס פוני",
"סוס אפלוסה",
"סוס פריזי",
"סוס מוסטנג",
"סוס קלידסדייל",
"סוס שייר",
"סוס אנדלוסי",
"סוס טרוטר אמריקאי",
"סוס קוורטר"
]
}
22 changes: 22 additions & 0 deletions packages/falso/src/lib/i18n/he/horse.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { FakeOptions, fake } from '../../core/core';
import { data } from './horse.i18n.json';

/**
* Generate a random horse breed.
*
* @category animal
*
* @example
*
* randHorse()
*
* @example
*
* randHorse({ length: 10 })
*
*/
export function randHorse<Options extends FakeOptions = never>(
options?: Options
) {
return fake(data, options);
}
10 changes: 10 additions & 0 deletions packages/falso/src/lib/i18n/he/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,13 @@ export { randBear } from './bear';
export { randBook } from './book';
export { randBrand } from './brand';
export { randCardinalDirection } from './cardinal-direction';
export { randClothingSize } from './clothing-size';
export { randFirstName } from './first-name';
export { randFood } from './food';
export { randGender } from './gender';
export { randHorse } from './horse';
export { randLanguage } from './language';
export { randLastName } from './last-name';
export { randPersonTitle } from './person-title';
export { randPronoun } from './pronoun';
export { randWeekday } from './weekday';
14 changes: 14 additions & 0 deletions packages/falso/src/lib/i18n/he/language.i18n.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"data": [
"עברית",
"אנגלית",
"ערבית",
"רוסית",
"צרפתית",
"ספרדית",
"גרמנית",
"איטלקית",
"יידיש",
"אמהרית"
]
}
22 changes: 22 additions & 0 deletions packages/falso/src/lib/i18n/he/language.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { FakeOptions, fake } from '../../core/core';
import { data } from './language.i18n.json';

/**
* Generate a random language.
*
* @category address
*
* @example
*
* randLanguage()
*
* @example
*
* randLanguage({ length: 10 })
*
*/
export function randLanguage<Options extends FakeOptions = never>(
options?: Options
) {
return fake(data, options);
}
24 changes: 24 additions & 0 deletions packages/falso/src/lib/i18n/he/last-name.i18n.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"data": [
"כהן",
"לוי",
"מזרחי",
"פרץ",
"ביטון",
"אברהם",
"פרידמן",
"אגבאריה",
"מלכה",
"אזולאי",
"דהן",
"אוחיון",
"חדד",
"עמר",
"אלון",
"לביא",
"שלום",
"גבאי",
"יוסף",
"שמעון"
]
}
22 changes: 22 additions & 0 deletions packages/falso/src/lib/i18n/he/last-name.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { FakeOptions, fake } from '../../core/core';
import { data } from './last-name.i18n.json';

/**
* Generate a random last name.
*
* @category person
*
* @example
*
* randLastName()
*
* @example
*
* randLastName({ length: 10 })
*
*/
export function randLastName<Options extends FakeOptions = never>(
options?: Options
) {
return fake(data, options);
}
3 changes: 3 additions & 0 deletions packages/falso/src/lib/i18n/he/person-title.i18n.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"data": ["מר", "גב'", "ד\"ר", "פרופ'", "עו\"ד", "רו\"ח", "הרב", "אדון", "גברת", "אינג'"]
}
22 changes: 22 additions & 0 deletions packages/falso/src/lib/i18n/he/person-title.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { FakeOptions, fake } from '../../core/core';
import { data } from './person-title.i18n.json';

/**
* Generate a random person title.
*
* @category person
*
* @example
*
* randPersonTitle()
*
* @example
*
* randPersonTitle({ length: 10 })
*
*/
export function randPersonTitle<Options extends FakeOptions = never>(
options?: Options
) {
return fake(data, options);
}
3 changes: 3 additions & 0 deletions packages/falso/src/lib/i18n/he/pronoun.i18n.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"data": ["הוא/שלו", "היא/שלה", "הם/שלהם", "הן/שלהן", "זה/שלו", "זו/שלה"]
}
22 changes: 22 additions & 0 deletions packages/falso/src/lib/i18n/he/pronoun.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { FakeOptions, fake } from '../../core/core';
import { data } from './pronoun.i18n.json';

/**
* Generate a random pronoun.
*
* @category person
*
* @example
*
* randPronoun()
*
* @example
*
* randPronoun({ length: 10 })
*
*/
export function randPronoun<Options extends FakeOptions = never>(
options?: Options
) {
return fake(data, options);
}
11 changes: 11 additions & 0 deletions packages/falso/src/lib/i18n/he/weekday.i18n.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"data": [
"ראשון",
"שני",
"שלישי",
"רביעי",
"חמישי",
"שישי",
"שבת"
]
}
22 changes: 22 additions & 0 deletions packages/falso/src/lib/i18n/he/weekday.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { FakeOptions, fake } from '../../core/core';
import { data } from './weekday.i18n.json';

/**
* Generate a random weekday.
*
* @category date
*
* @example
*
* randWeekday()
*
* @example
*
* randWeekday({ length: 10 })
*
*/
export function randWeekday<Options extends FakeOptions = never>(
options?: Options
) {
return fake(data, options);
}

0 comments on commit 24e8d32

Please sign in to comment.