From 737134a427d56012e2616f2ca88bed8abe4c68e7 Mon Sep 17 00:00:00 2001 From: fariborzemami Date: Sat, 29 Aug 2020 01:05:14 +0430 Subject: [PATCH] improve translates to 'fa' and review --- lib/locales/fa/address/city_prefix.js | 7 ++- lib/locales/fa/address/city_suffix.js | 8 ++- lib/locales/fa/address/direction.js | 10 ++++ lib/locales/fa/address/street_suffix.js | 4 +- lib/locales/fa/company/suffix.js | 2 +- lib/locales/fa/name/female_first_name.js | 69 ++++++++++++++++++++++ lib/locales/fa/name/index.js | 2 + lib/locales/fa/name/male_first_name.js | 75 ++++++++++++++++++++++++ lib/locales/fa/name/name.js | 7 +++ 9 files changed, 180 insertions(+), 4 deletions(-) create mode 100644 lib/locales/fa/address/direction.js create mode 100644 lib/locales/fa/name/female_first_name.js create mode 100644 lib/locales/fa/name/male_first_name.js create mode 100644 lib/locales/fa/name/name.js diff --git a/lib/locales/fa/address/city_prefix.js b/lib/locales/fa/address/city_prefix.js index e53d0ae47..9fd06d643 100644 --- a/lib/locales/fa/address/city_prefix.js +++ b/lib/locales/fa/address/city_prefix.js @@ -1,3 +1,8 @@ module["exports"] = [ - "" + "شمال", + "شرق", + "غرب", + "جنوب", + "جدید", + "جزیره" ]; diff --git a/lib/locales/fa/address/city_suffix.js b/lib/locales/fa/address/city_suffix.js index e53d0ae47..c223bfb83 100644 --- a/lib/locales/fa/address/city_suffix.js +++ b/lib/locales/fa/address/city_suffix.js @@ -1,3 +1,9 @@ module["exports"] = [ - "" + "روستا", + "شهر", + "دهکده", + "بندر", + "دژ", + "بندرگاه", + "ناحیه" ]; diff --git a/lib/locales/fa/address/direction.js b/lib/locales/fa/address/direction.js new file mode 100644 index 000000000..f6b3f24e5 --- /dev/null +++ b/lib/locales/fa/address/direction.js @@ -0,0 +1,10 @@ +module["exports"] = [ + "شمال", + "شرق", + "جنوب", + "غرب", + "شمال شرق", + "شمال غرب", + "جنوب شرق", + "جنوب غرب" +]; diff --git a/lib/locales/fa/address/street_suffix.js b/lib/locales/fa/address/street_suffix.js index 599e50f96..e2d441a7a 100644 --- a/lib/locales/fa/address/street_suffix.js +++ b/lib/locales/fa/address/street_suffix.js @@ -28,5 +28,7 @@ module["exports"] = [ "توحید", "ستارخان", "کارون", -"استادمعین" +"استادمعین", +"رامین", +"اندرزگو" ]; diff --git a/lib/locales/fa/company/suffix.js b/lib/locales/fa/company/suffix.js index ee0fb64a5..5f2a98213 100644 --- a/lib/locales/fa/company/suffix.js +++ b/lib/locales/fa/company/suffix.js @@ -1,5 +1,5 @@ module["exports"] = [ - "شرکت", + "کارخانه", "و پسران", "شرکت با مسئولیت محدود", "گروه" diff --git a/lib/locales/fa/name/female_first_name.js b/lib/locales/fa/name/female_first_name.js new file mode 100644 index 000000000..708833fd8 --- /dev/null +++ b/lib/locales/fa/name/female_first_name.js @@ -0,0 +1,69 @@ +module["exports"] = [ + "مریم", + "نازنین", + "غزاله", + "محدثه", + "بهناز", + "زینب", + "کیمیا", + "سوسن", + "لاله", + "آنا", + "آناهیتا", + "آنیتا", + "آرمیتا", + "آتوسا", + "آیدا", + "بنفشه", + "بهار", + "بیتا", + "پارمیس", + "پریناز", + "پریسا", + "پرنیان", + "سارا", + "پگاه", + "ترانه", + "چکاوک", + "دریا", + "درسا", + "فرشته", + "ملیسا", + "ملیکا", + "رویا", + "زیبا", + "یاسمن", + "سپیده", + "سمیرا", + "سیما", + "شادی", + "هانیه", + "شهرزاد", + "شکوه", + "سمیه", + "شهلا", + "شیدا", + "شیوا", + "فرانک", + "فرزانه", + "فرناز", + "فریبا", + "فریماه", + "کتایون", + "گلاره", + "گیتی", + "گیسو", + "مروارید", + "مهرناز", + "مهسا", + "مینا", + "مینو", + "مهوش", + "میترا", + "نگین", + "نگار", + "نیلوفر", + "رز", + "هلیا", + "هستی" + ]; diff --git a/lib/locales/fa/name/index.js b/lib/locales/fa/name/index.js index fd1051db3..0c980df23 100644 --- a/lib/locales/fa/name/index.js +++ b/lib/locales/fa/name/index.js @@ -1,5 +1,7 @@ var name = {}; module['exports'] = name; +name.male_first_name = require("./male_first_name"); +name.female_first_name = require("./female_first_name"); name.first_name = require("./first_name"); name.last_name = require("./last_name"); name.prefix = require("./prefix"); diff --git a/lib/locales/fa/name/male_first_name.js b/lib/locales/fa/name/male_first_name.js new file mode 100644 index 000000000..8822ed2af --- /dev/null +++ b/lib/locales/fa/name/male_first_name.js @@ -0,0 +1,75 @@ +module["exports"] = [ + "علی", + "حسن", + "محمد", + "مهدی", + "مسعود", + "دانیال", + "سجاد", + "امیر", + "رضا", + "مازیار", + "مهیار", + "محمدرضا", + "فرهاد", + "افشین", + "مهرداد", + "مهراد", + "کیانوش", + "کیوان", + "کامران", + "مهران", + "سروش", + "سامان", + "هادی", + "همایون", + "ایمان", + "رامین", + "رامتین", + "امین", + "سپهر", + "سهیل", + "عرفان", + "جواد", + "نیما", + "پرهام", + "میلاد", + "شایان", + "شهاب", + "کاوه", + "بهمن", + "سیاوش", + "سعید", + "امید", + "حسین", + "سینا", + "مهدیار", + "صدرا", + "عباس", + "امیرسینا", + "نوید", + "پیمان", + "پژمان", + "مجید", + "حمید", + "وحید", + "علیرضا", + "آیدین", + "آرمان", + "امیرحسین", + "آرین", + "کسرا", + "جمشید", + "فریبرز", + "قاسم", + "صمد", + "حامد", + "فرزاد", + "فریدون", + "فربد", + "فرگام", + "یاسین", + "آرش", + "آرمین", + "شهروز" + ]; diff --git a/lib/locales/fa/name/name.js b/lib/locales/fa/name/name.js new file mode 100644 index 000000000..bcb665451 --- /dev/null +++ b/lib/locales/fa/name/name.js @@ -0,0 +1,7 @@ +module["exports"] = [ + "#{prefix} #{first_name} #{last_name}", + "#{first_name} #{last_name}", + "#{first_name} #{last_name}", + "#{male_first_name} #{last_name}", + "#{female_first_name} #{last_name}" +];