-
-
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.
feat(locale): add Senegal locale (#2525)
- Loading branch information
1 parent
b40ad45
commit 6df70bc
Showing
10 changed files
with
65 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* | ||
* This file is automatically generated. | ||
* Run 'pnpm run generate:locales' to update. | ||
*/ | ||
|
||
import { Faker } from '../faker'; | ||
import base from '../locales/base'; | ||
import en from '../locales/en'; | ||
import fr from '../locales/fr'; | ||
import fr_SN from '../locales/fr_SN'; | ||
|
||
export const faker = new Faker({ | ||
locale: [fr_SN, fr, 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
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,14 @@ | ||
/* | ||
* This file is automatically generated. | ||
* Run 'pnpm run generate:locales' to update. | ||
*/ | ||
import type { LocaleDefinition } from '../..'; | ||
import internet from './internet'; | ||
import metadata from './metadata'; | ||
|
||
const fr_SN: LocaleDefinition = { | ||
internet, | ||
metadata, | ||
}; | ||
|
||
export default fr_SN; |
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 @@ | ||
export default ['sn', 'com', 'net', 'org']; |
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 @@ | ||
export default ['gmail.com', 'yahoo.com', 'hotmail.com']; |
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,14 @@ | ||
/* | ||
* This file is automatically generated. | ||
* Run 'pnpm run generate:locales' to update. | ||
*/ | ||
import type { InternetDefinition } from '../../..'; | ||
import domain_suffix from './domain_suffix'; | ||
import free_email from './free_email'; | ||
|
||
const internet: InternetDefinition = { | ||
domain_suffix, | ||
free_email, | ||
}; | ||
|
||
export default internet; |
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 @@ | ||
import type { PreBuiltMetadataDefinitionForCountry } from '../../definitions/metadata'; | ||
|
||
const metadata: PreBuiltMetadataDefinitionForCountry = { | ||
title: 'French (Senegal)', | ||
code: 'fr_SN', | ||
country: 'SN', | ||
language: 'fr', | ||
endonym: 'Français (Sénégal)', | ||
dir: 'ltr', | ||
script: 'Latn', | ||
}; | ||
|
||
export default metadata; |
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