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

feat(locale): add free email domains for zh_CN #1555

Merged
merged 2 commits into from
Nov 20, 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: 2 additions & 0 deletions src/locales/zh_CN/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@
* Run 'pnpm run generate:locales' to update.
*/
import type { LocaleDefinition } from '../..';
import internet from './internet';
import location from './location';
import person from './person';
import phone_number from './phone_number';

const zh_CN: LocaleDefinition = {
title: 'Chinese',
internet,
location,
person,
phone_number,
Expand Down
16 changes: 16 additions & 0 deletions src/locales/zh_CN/internet/free_email.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
export default [
'126.com',
'139.com',
'163.com',
'21cn.com',
'gmail.com',
'hotmail.com',
'qq.com',
'sina.com',
'sohu.com',
'tom.com',
'vip.qq.com',
'yahoo.cn',
'yahoo.com.cn',
'yeah.net',
];
12 changes: 12 additions & 0 deletions src/locales/zh_CN/internet/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/*
* This file is automatically generated.
* Run 'pnpm run generate:locales' to update.
*/
import type { InternetDefinitions } from '../../..';
import free_email from './free_email';

const internet: InternetDefinitions = {
free_email,
};

export default internet;