Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(locale)!: change en_IND to en_IN #1448

Merged
merged 4 commits into from
Oct 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/guide/localization.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ All locales together are around 5 MB in size.
| en_GB | English (Great Britain) |
| en_GH | English (Ghana) |
| en_IE | English (Ireland) |
| en_IND | English (India) |
| en_IN | English (India) |
| en_NG | Nigeria (English) |
| en_US | English (United States) |
| en_ZA | English (South Africa) |
Expand Down
6 changes: 3 additions & 3 deletions src/locale/en_IND.ts → src/locale/en_IN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@

import { Faker } from '../faker';
import en from '../locales/en';
import en_IND from '../locales/en_IND';
import en_IN from '../locales/en_IN';

export const faker = new Faker({
locale: 'en_IND',
locale: 'en_IN',
localeFallback: 'en',
locales: {
en_IND,
en_IN,
en,
},
});
4 changes: 2 additions & 2 deletions src/locales/en_IND/index.ts → src/locales/en_IN/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import internet from './internet';
import name_ from './name';
import phone_number from './phone_number';

const en_IND: LocaleDefinition = {
const en_IN: LocaleDefinition = {
title: 'English (India)',
address,
company,
Expand All @@ -18,4 +18,4 @@ const en_IND: LocaleDefinition = {
phone_number,
};

export default en_IND;
export default en_IN;
File renamed without changes.
6 changes: 3 additions & 3 deletions src/locales/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import en_CA from './en_CA';
import en_GB from './en_GB';
import en_GH from './en_GH';
import en_IE from './en_IE';
import en_IND from './en_IND';
import en_IN from './en_IN';
import en_NG from './en_NG';
import en_US from './en_US';
import en_ZA from './en_ZA';
Expand Down Expand Up @@ -79,7 +79,7 @@ export type KnownLocale =
| 'en_GB'
| 'en_GH'
| 'en_IE'
| 'en_IND'
| 'en_IN'
| 'en_NG'
| 'en_US'
| 'en_ZA'
Expand Down Expand Up @@ -140,7 +140,7 @@ const locales: KnownLocales = {
en_GB,
en_GH,
en_IE,
en_IND,
en_IN,
en_NG,
en_US,
en_ZA,
Expand Down