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

Persian Language Added and some temp-mail services too #13

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Current support:
* IANA TLD validation
* Spelling suggestion for the most common TLDs and email domains
* Deny temporary email account domains such as mailinator.com
* English, Castilian and Persian Translation

E.g. validating '[email protected]' will result in a typo suggestion:

Expand Down Expand Up @@ -46,6 +47,7 @@ E.g. validating '[email protected]' will result in a typo suggestion:
Add yourself to the list!

* AlphaMail (amail.io)
* BlueTree (bluetree.ir)

### Like it?
Then maybe you'll like our amazing Transactional Email service.
Expand Down
29 changes: 27 additions & 2 deletions src/verimail.jquery.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,15 @@ Verimail.Language = {
domainBlocked: "Domänen <span class='domain'>%s</span> är inte tillåten",
invalidFormat: "Ogiltig e-postadress",
empty: "E-postadressen är tom"
},
fa: {
success: "ایمیل به نظر درست میاد.",
typo: "منظورتون <span class='suggestion'>%s</span> نیست؟",
invalidTld: "پسوند(TLD) <span class='tld'>%s</span> وجود خارجی ندارد.",
domainBlocked: "دامنه <span class='blocked'>%s</span> غیر قابل استفاده است.",
invalidFormat: "ایمیل ساختار درستی ندارد.",
empty: "ایمیل خالی"

}
};

Expand All @@ -123,7 +132,7 @@ Verimail.MostCommonEmailDomains = {
Verimail.MostCommonTlds = {
com:null, org:null, edu:null, gov:null, uk:null, net:null,
ca:null, de:null, jp:null, fr:null, au:null, us:null, ru:null,
ch:null, it:null, nl:null, se:null, dk:null, no:null, es:null, mil:null
ch:null, ir:null, nl:null, se:null, dk:null, no:null, es:null, mil:null
};

// Table of all TLDs registered by IANA
Expand Down Expand Up @@ -169,7 +178,9 @@ Verimail.TempEmailDomains = {
rtrtr: null,
sharklasers: null,
guerrillamailblock: null,
guerrillamail: null
guerrillamail: null,
temporaryinbox: null,
maileater: null
},
net: {
guerrillamail: null,
Expand All @@ -188,6 +199,20 @@ Verimail.TempEmailDomains = {
},
biz: {
guerrillamail: null
},
ir: {
emeil: null
},
'in': {
emeil: null
},
tk: {
emeil: null,
inbax: null,
mailfa: null
},
us: {
spambox: null
}
};

Expand Down
29 changes: 27 additions & 2 deletions src/verimail.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,15 @@ Verimail.Language = {
domainBlocked: "Domänen <span class='domain'>%s</span> är inte tillåten",
invalidFormat: "Ogiltig e-postadress",
empty: "E-postadressen är tom"
},
fa: {
success: "ایمیل به نظر درست میاد.",
typo: "منظورتون <span class='suggestion'>%s</span> نیست؟",
invalidTld: "پسوند(TLD) <span class='tld'>%s</span> وجود خارجی ندارد.",
domainBlocked: "دامنه <span class='blocked'>%s</span> غیر قابل استفاده است.",
invalidFormat: "ایمیل ساختار درستی ندارد.",
empty: "ایمیل خالی"

}
};

Expand All @@ -123,7 +132,7 @@ Verimail.MostCommonEmailDomains = {
Verimail.MostCommonTlds = {
com:null, org:null, edu:null, gov:null, uk:null, net:null,
ca:null, de:null, jp:null, fr:null, au:null, us:null, ru:null,
ch:null, it:null, nl:null, se:null, dk:null, no:null, es:null, mil:null
ch:null, ir:null, nl:null, se:null, dk:null, no:null, es:null, mil:null
};

// Table of all TLDs registered by IANA
Expand Down Expand Up @@ -169,7 +178,9 @@ Verimail.TempEmailDomains = {
rtrtr: null,
sharklasers: null,
guerrillamailblock: null,
guerrillamail: null
guerrillamail: null,
temporaryinbox: null,
maileater: null
},
net: {
guerrillamail: null,
Expand All @@ -188,6 +199,20 @@ Verimail.TempEmailDomains = {
},
biz: {
guerrillamail: null
},
ir: {
emeil: null
},
'in': {
emeil: null
},
tk: {
emeil: null,
inbax: null,
mailfa: null
},
us: {
spambox: null
}
};

Expand Down