diff options
| author | Saurabh kumar <[email protected]> | 2024-06-13 15:44:46 +0530 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-06-13 10:14:46 +0000 |
| commit | a5ffca1c7863531d459f67cbab7bd9ba34d16904 (patch) | |
| tree | 14c8100e1e51042319720634b5badb8bd655df85 /docs | |
| parent | 2a2a13200acd858a2ee45e43072f55888511fb8d (diff) | |
| download | faker-a5ffca1c7863531d459f67cbab7bd9ba34d16904.tar.xz faker-a5ffca1c7863531d459f67cbab7bd9ba34d16904.zip | |
refactor(locale)!: use singular locale definition keys (#2932)
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/guide/upgrading.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/guide/upgrading.md b/docs/guide/upgrading.md index 81a48ad8..b562cdb0 100644 --- a/docs/guide/upgrading.md +++ b/docs/guide/upgrading.md @@ -495,13 +495,14 @@ Renamed deprecated locale aliases `cz`, `en_IND`, `ge` and removed `global`. ### Renamed Locale Definitions -The following locale definitions have been renamed +The following locale definitions have been adjusted to align with Faker's locale definition naming standard: | old | replacement | | ------------------------------------------- | -------------------------------------------- | | `faker.definitions.science.chemicalElement` | `faker.definitions.science.chemical_element` | -| `faker.definitions.system.directoryPaths` | `faker.definitions.system.directory_paths` | -| `faker.definitions.system.mimeTypes` | `faker.definitions.system.mime_types` | +| `faker.definitions.system.directoryPaths` | `faker.definitions.system.directory_path` | +| `faker.definitions.system.mimeTypes` | `faker.definitions.system.mime_type` | +| `faker.definitions.lorem.words` | `faker.definitions.lorem.word` | With that now all our locale data use the following naming scheme: |
