Skip to content

Commit

Permalink
refactor(locale)!: change en_IND to en_IN (#1448)
Browse files Browse the repository at this point in the history
  • Loading branch information
wael-fadlallah authored Oct 14, 2022
1 parent b99ff71 commit a7cd422
Show file tree
Hide file tree
Showing 22 changed files with 9 additions and 9 deletions.
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,
},
});
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.
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.
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.
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

0 comments on commit a7cd422

Please sign in to comment.