diff options
| author | Umair Jibran <[email protected]> | 2024-12-14 16:00:59 +0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-12-14 11:00:59 +0000 |
| commit | ff6dda94ddd312ebcff816cbb63e74df9857d091 (patch) | |
| tree | 6c4e9541d330dabdf739d4c1e6d3757a2dc42f78 /test/scripts | |
| parent | 3c7abb55e68fcbcf41560539a15845e7c8882765 (diff) | |
| download | faker-ff6dda94ddd312ebcff816cbb63e74df9857d091.tar.xz faker-ff6dda94ddd312ebcff816cbb63e74df9857d091.zip | |
feat(location): add list of spoken languages (#3333)
* add list of spoken languages
* remove dupes
* add language definition
* add language module
* add test case for `language()`
* autogenerated supporting code
* add languages for urdu
* add test to make sure the values are truthy
* update seed to match new format
* update language list
slim them down to a few languages as the long list was not easy to build up
* update documentation
* update returns
* language: convert alpha2 to lowercase
* update seed flies
* covert alpha3 to lowercase
* update seeders
* update example
* update version
* use interface for language
* Update index.ts
* Revert "Update index.ts"
This reverts commit 72a18e99cfee1f4c09d151b27bda1f2c8d1137d8.
* Update src/modules/location/index.ts
Co-authored-by: ST-DDT <[email protected]>
* Update src/modules/location/index.ts
Co-authored-by: ST-DDT <[email protected]>
* Update src/definitions/location.ts
Co-authored-by: ST-DDT <[email protected]>
* language semantic
Co-authored-by: ST-DDT <[email protected]>
* add additional test cases
* add examples for each property
* add languages for the supported locales
* update seeds
* use example of german instead of english
* Update src/definitions/location.ts
Co-authored-by: ST-DDT <[email protected]>
---------
Co-authored-by: ST-DDT <[email protected]>
Diffstat (limited to 'test/scripts')
| -rw-r--r-- | test/scripts/apidocs/__snapshots__/verify-jsdoc-tags.spec.ts.snap | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/scripts/apidocs/__snapshots__/verify-jsdoc-tags.spec.ts.snap b/test/scripts/apidocs/__snapshots__/verify-jsdoc-tags.spec.ts.snap index bc3ee0a0..c13b2811 100644 --- a/test/scripts/apidocs/__snapshots__/verify-jsdoc-tags.spec.ts.snap +++ b/test/scripts/apidocs/__snapshots__/verify-jsdoc-tags.spec.ts.snap @@ -288,6 +288,7 @@ exports[`check docs completeness > all modules and methods are present 1`] = ` "countryCode", "county", "direction", + "language", "latitude", "longitude", "nearbyGPSCoordinate", |
