-
-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(i18n): add Hebrew translations for bird names (#380)
* Add Hebrew bird example * feat: Add accesory list for hebrew * fixes
- Loading branch information
1 parent
9159c6e
commit 4aeb71e
Showing
6 changed files
with
113 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"data": [ | ||
"אביזר אופנה", | ||
"סרט זרוע", | ||
"מנשא תינוקות", | ||
"כובע בייסבול", | ||
"כובע צמר", | ||
"תכשיט", | ||
"חולצונת", | ||
"נרתיק סיגריות", | ||
"מחזיק סיגריות", | ||
"ארנק מטבעות", | ||
"סיכת צווארון", | ||
"קומפקט", | ||
"אבנט", | ||
"כובע בובה", | ||
"וו שמלה", | ||
"כתפייה", | ||
"כפפת ערב", | ||
"אבזם מתקפל", | ||
"ביריות", | ||
"תליון שיער", | ||
"מקל שיער", | ||
"כובע", | ||
"מניפת יד", | ||
"ממחטה", | ||
"טלפון נייד", | ||
"מחמם ידיים", | ||
"גומיית שיער", | ||
"משקפת שמש", | ||
"ארנק", | ||
"שעון", | ||
"גרביים", | ||
"עניבה", | ||
"כפפות", | ||
"גרבי ניילון", | ||
"כובע צמר", | ||
"כובע מצחייה", | ||
"ברט", | ||
"כובע קש", | ||
"כובע דרבי" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { FakeOptions, fake } from '../../core/core'; | ||
import { data } from './accessory.i18n.json'; | ||
|
||
/** | ||
* Generate a random accessory. | ||
* | ||
* @category Commerce | ||
* | ||
* @example | ||
* | ||
* randAccessory() | ||
* | ||
* @example | ||
* | ||
* randAccessory({ length: 10 }) | ||
* | ||
*/ | ||
export function randAccessory<Options extends FakeOptions = never>( | ||
options?: Options | ||
) { | ||
return fake(data, options); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"data": [ | ||
"פלרופוס צוואר-אדום", | ||
"סנונית מצוקים", | ||
"טירן ראש-גדול", | ||
"קיכלי אצטקית", | ||
"סבכי מצויץ", | ||
"צולל מצוי", | ||
"אוריול סקוט", | ||
"אלבטרוס גבה-שחור", | ||
"תוכי נזירי", | ||
"קוליברי מפואר", | ||
"חופמי מקור-רחב", | ||
"ירגזי שיחים", | ||
"עורבני מקסיקני", | ||
"מרגון מצויץ", | ||
"חסידה יערנית", | ||
"שחף רוס", | ||
"ביצנית ירוקת-רגל", | ||
"עגור צווח" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { FakeOptions, fake } from '../../core/core'; | ||
import { data } from './bird.i18n.json'; | ||
|
||
/** | ||
* Generate a random bird. | ||
* | ||
* @category animals | ||
* | ||
* @example | ||
* | ||
* randBird() | ||
* | ||
* @example | ||
* | ||
* randBird({ length: 10 }) | ||
* | ||
*/ | ||
export function randBird<Options extends FakeOptions = never>( | ||
options?: Options | ||
) { | ||
return fake(data, options); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export { randBird } from './bird'; | ||
export { randAccessory } from './accessory'; |