-
-
Notifications
You must be signed in to change notification settings - Fork 929
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(locale): rename cz to cs_CZ (#2013)
- Loading branch information
1 parent
ea62046
commit a95fc51
Showing
52 changed files
with
34 additions
and
20 deletions.
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
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,13 @@ | ||
/* | ||
* This file is automatically generated. | ||
* Run 'pnpm run generate:locales' to update. | ||
*/ | ||
|
||
import { Faker } from '../faker'; | ||
import base from '../locales/base'; | ||
import cs_CZ from '../locales/cs_CZ'; | ||
import en from '../locales/en'; | ||
|
||
export const faker = new Faker({ | ||
locale: [cs_CZ, en, base], | ||
}); |
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 |
---|---|---|
@@ -1,13 +1,12 @@ | ||
/* | ||
* This file is automatically generated. | ||
* Run 'pnpm run generate:locales' to update. | ||
*/ | ||
import { deprecated } from '../internal/deprecated'; | ||
import { faker as cs_CZ } from './cs_CZ'; | ||
|
||
import { Faker } from '../faker'; | ||
import base from '../locales/base'; | ||
import cz from '../locales/cz'; | ||
import en from '../locales/en'; | ||
|
||
export const faker = new Faker({ | ||
locale: [cz, en, base], | ||
}); | ||
export const faker = (() => { | ||
deprecated({ | ||
deprecated: "import { faker } from '@faker-js/faker/locale/cz'", | ||
proposed: "import { faker } from '@faker-js/faker/locale/cs_CZ'", | ||
since: '8.0', | ||
until: '9.0', | ||
}); | ||
return cs_CZ; | ||
})(); |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import type { MetadataDefinitions } from '../..'; | ||
|
||
const metadata: MetadataDefinitions = { | ||
title: 'Czech', | ||
title: 'Czech (Czechia)', | ||
}; | ||
|
||
export default metadata; |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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