From cc6cba38fe22d198c41692c307da0bec541f329d Mon Sep 17 00:00:00 2001 From: fariborzemami Date: Fri, 31 Jan 2020 21:54:41 +0330 Subject: feat: add phone number and cell phone format --- lib/locales/fa/cell_phone/formats.js | 19 +++++++++++++++++++ lib/locales/fa/cell_phone/index.js | 3 +++ lib/locales/fa/phone_number/formats.js | 32 ++++++++++++++++++++++++++++++++ lib/locales/fa/phone_number/index.js | 3 +++ 4 files changed, 57 insertions(+) create mode 100644 lib/locales/fa/cell_phone/formats.js create mode 100644 lib/locales/fa/cell_phone/index.js create mode 100644 lib/locales/fa/phone_number/formats.js create mode 100644 lib/locales/fa/phone_number/index.js (limited to 'lib') diff --git a/lib/locales/fa/cell_phone/formats.js b/lib/locales/fa/cell_phone/formats.js new file mode 100644 index 00000000..58381f12 --- /dev/null +++ b/lib/locales/fa/cell_phone/formats.js @@ -0,0 +1,19 @@ +module["exports"] = [ + "0912 ### ####", + "0911 ### ####", + "0919 ### ####", + "0917 ### ####", + "0920 ### ####", + "0921 ### ####", + "0936 ### ####", + "0937 ### ####", + "0938 ### ####", + "0939 ### ####", + "0935 ### ####", + "0933 ### ####", + "0901 ### ####", + "0902 ### ####", + "0903 ### ####", + "0904 ### ####", + "0905 ### ####" +]; diff --git a/lib/locales/fa/cell_phone/index.js b/lib/locales/fa/cell_phone/index.js new file mode 100644 index 00000000..8de997ba --- /dev/null +++ b/lib/locales/fa/cell_phone/index.js @@ -0,0 +1,3 @@ +var cell_phone = {}; +module['exports'] = cell_phone; +cell_phone.formats = require("./formats"); diff --git a/lib/locales/fa/phone_number/formats.js b/lib/locales/fa/phone_number/formats.js new file mode 100644 index 00000000..b52d46c9 --- /dev/null +++ b/lib/locales/fa/phone_number/formats.js @@ -0,0 +1,32 @@ +module["exports"] = [ + "+98 21 ### #####" + "021 ### #####", + "031 ### #####", + "041 ### #####", + "045 ### #####", + "061 ### #####", + "051 ### #####", + "058 ### #####", + "028 ### #####", + "026 ### #####", + "044 ### #####", + "024 ### #####", + "023 ### #####", + "076 ### #####", +]; + + + + + + + + + + + + + + + + diff --git a/lib/locales/fa/phone_number/index.js b/lib/locales/fa/phone_number/index.js new file mode 100644 index 00000000..8d35e011 --- /dev/null +++ b/lib/locales/fa/phone_number/index.js @@ -0,0 +1,3 @@ +var phone_number = {}; +module['exports'] = phone_number; +phone_number.formats = require("./formats"); -- cgit v1.2.3