Skip to content

Commit

Permalink
Merge pull request #391 from Aleyasen/master
Browse files Browse the repository at this point in the history
Add address for fa locale
  • Loading branch information
Marak authored Oct 12, 2017
2 parents 33731a7 + 44dc379 commit 29de77a
Show file tree
Hide file tree
Showing 15 changed files with 165 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/locales/fa/address/building_number.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module["exports"] = [
"##",
"#"
];
3 changes: 3 additions & 0 deletions lib/locales/fa/address/city.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module["exports"] = [
"#{city_name}"
];
52 changes: 52 additions & 0 deletions lib/locales/fa/address/city_name.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
module["exports"] = [
"تهران",
"مشهد",
"اصفهان",
"کرج",
"تبریز",
"شیراز",
"اهواز",
"قم",
"کرمانشاه",
"ارومیه",
"رشت",
"زاهدان",
"کرمان",
"اراک",
"همدان",
"یزد",
"اردبیل",
"بندرعباس",
"اسلام‌شهر",
"زنجان",
"قزوین",
"سنندج",
"خرم‌آباد",
"گرگان",
"ساری",
"ملارد",
"قدس",
"کاشان",
"گلستان",
"شهریار",
"دزفول",
"خمینی‌شهر",
"بروجرد",
"نیشابور",
"سبزوار",
"نجف‌آباد",
"آمل",
"بابل",
"ورامین",
"آبادان",
"پاکدشت",
"خوی",
"ساوه",
"بجنورد",
"قائم‌شهر",
"بوشهر",
"قرچک",
"سیرجان",
"بیرجند",
"ایلام"
];
3 changes: 3 additions & 0 deletions lib/locales/fa/address/city_prefix.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module["exports"] = [
""
];
3 changes: 3 additions & 0 deletions lib/locales/fa/address/city_suffix.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module["exports"] = [
""
];
3 changes: 3 additions & 0 deletions lib/locales/fa/address/default_country.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module["exports"] = [
"ÇíÑÇä"
];
15 changes: 15 additions & 0 deletions lib/locales/fa/address/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
var address = {};
module['exports'] = address;
address.building_number = require("./building_number");
address.street_prefix = require("./street_prefix");
address.secondary_address = require("./secondary_address");
address.postcode = require("./postcode");
address.state = require("./state");
address.city_name = require("./city_name");
address.city = require("./city");
address.street_suffix = require("./street_suffix");
address.street_name = require("./street_name");
address.street_address = require("./street_address");
address.default_country = require("./default_country");
address.city_prefix = require("./city_prefix");
address.city_suffix = require("./city_suffix");
3 changes: 3 additions & 0 deletions lib/locales/fa/address/postcode.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module["exports"] = [
"#####-#####"
];
4 changes: 4 additions & 0 deletions lib/locales/fa/address/secondary_address.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module["exports"] = [
"واحد #",
"# طبقه"
];
33 changes: 33 additions & 0 deletions lib/locales/fa/address/state.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
module["exports"] = [
"آذربایجان شرقی",
"آذربایجان غربی",
"اردبیل",
"اصفهان",
"البرز",
"ایلام",
"بوشهر",
"تهران",
"چهارمحال و بختیاری",
"خراسان جنوبی",
"خراسان رضوی",
"خراسان شمالی",
"خوزستان",
"زنجان",
"سمنان",
"سیستان و بلوچستان",
"فارس",
"قزوین",
"قم",
"کردستان",
"کرمان",
"کرمانشاه",
"کهگیلویه و بویراحمد",
"گلستان",
"گیلان",
"لرستان",
"مازندران",
"مرکزی",
"هرمزگان",
"همدان",
"یزد"
];
4 changes: 4 additions & 0 deletions lib/locales/fa/address/street_address.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module["exports"] = [
"#{street_name}, پلاک #{building_number}",
"#{street_name}, #{street_name}, پلاک #{building_number}"
];
3 changes: 3 additions & 0 deletions lib/locales/fa/address/street_name.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module["exports"] = [
"#{street_prefix} #{street_suffix}"
];
6 changes: 6 additions & 0 deletions lib/locales/fa/address/street_prefix.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module["exports"] = [
"خیابان",
"کوچه",
"بن بست",
"بلوار"
];
28 changes: 28 additions & 0 deletions lib/locales/fa/address/street_suffix.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
module["exports"] = [
"آزادی",
"آفریقا",
"آذربایجان",
"حقانی",
"امیرکبیر",
"اجاره دار",
"اقبال لاهوری",
"ابوذر",
"قدس",
"سباری",
"فاطمی",
"مالک اشتر",
"راستوان",
"دیباجی",
"واعظی",
"دستغیب",
"موحد دانش",
"کارگر شمالی",
"استاد قریب",
"یادگار امام",
"دکتر چمران",
"رسالت",
"سمیه",
"شهید مطهری",
"هویزه",
"دماوند",
];
1 change: 1 addition & 0 deletions lib/locales/fa/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ var fa = {};
module['exports'] = fa;
fa.title = "Farsi";
fa.name = require("./name");
fa.address = require("./address");

0 comments on commit 29de77a

Please sign in to comment.