Skip to content

Commit

Permalink
Add Romanian dates and phone numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
LoLFactor committed Jan 7, 2016
1 parent 4e54cba commit 1240689
Show file tree
Hide file tree
Showing 8 changed files with 262 additions and 0 deletions.
61 changes: 61 additions & 0 deletions lib/locales/ro/cell_phone/formats.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
module["exports"] = [
"0726######",
"0723######",
"0722######",
"0721######",
"0720######",
"0728######",
"0729######",
"0730######",
"0739######",
"0738######",
"0737######",
"0736######",
"0735######",
"0734######",
"0733######",
"0732######",
"0731######",
"0780######",
"0788######",
"0753######",
"0754######",
"0755######",
"0756######",
"0757######",
"0758######",
"0759######",
"0748######",
"0747######",
"0746######",
"0740######",
"0741######",
"0742######",
"0743######",
"0744######",
"0745######",
"0711######",
"0727######",
"0725######",
"0724######",
"0786######",
"0760######",
"0761######",
"0762######",
"0763######",
"0764######",
"0765######",
"0766######",
"0767######",
"0785######",
"0768######",
"0769######",
"0784######",
"0770######",
"0772######",
"0771######",
"0749######",
"0750######",
"0751######",
"0752######"
];
3 changes: 3 additions & 0 deletions lib/locales/ro/cell_phone/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
var cell_phone = {};
module['exports'] = cell_phone;
cell_phone.formats = require("./formats");
4 changes: 4 additions & 0 deletions lib/locales/ro/date/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
var date = {};
module["exports"] = date;
date.month = require("./month");
date.weekday = require("./weekday");
62 changes: 62 additions & 0 deletions lib/locales/ro/date/month.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
module["exports"] = {
wide: [
"Ianuarie",
"Februarie",
"Martie",
"Aprilie",
"Mai",
"Iunie",
"Iulie",
"August",
"Septembrie",
"Octombrie",
"Noiembrie",
"Decembrie"
],
// Property "wide_context" is optional, if not set then "wide" will be used instead
// It is used to specify a word in context, which may differ from a stand-alone word
wide_context: [
"Ianuarie",
"Februarie",
"Martie",
"Aprilie",
"Mai",
"Iunie",
"Iulie",
"August",
"Septembrie",
"Octombrie",
"Noiembrie",
"Decembrie"
],
abbr: [
"Ian",
"Feb",
"Mar",
"Apr",
"Mai",
"Iun",
"Iul",
"Aug",
"Sep",
"Oct",
"Noi",
"Dec"
],
// Property "abbr_context" is optional, if not set then "abbr" will be used instead
// It is used to specify a word in context, which may differ from a stand-alone word
abbr_context: [
"Ian",
"Feb",
"Mar",
"Apr",
"Mai",
"Iun",
"Iul",
"Aug",
"Sep",
"Oct",
"Noi",
"Dec"
]
};
42 changes: 42 additions & 0 deletions lib/locales/ro/date/weekday.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
module["exports"] = {
wide: [
"Luni",
"Marți",
"Miercuri",
"Joi",
"Vineri",
"Sâmbătă",
"Duminică"
],
// Property "wide_context" is optional, if not set then "wide" will be used instead
// It is used to specify a word in context, which may differ from a stand-alone word
wide_context: [
"Luni",
"Marți",
"Miercuri",
"Joi",
"Vineri",
"Sâmbătă",
"Duminică"
],
abbr: [
"Luni",
"Marți",
"Miercuri",
"Joi",
"Vineri",
"Sâmbătă",
"Duminică"
],
// Property "abbr_context" is optional, if not set then "abbr" will be used instead
// It is used to specify a word in context, which may differ from a stand-alone word
abbr_context: [
"Luni",
"Marți",
"Miercuri",
"Joi",
"Vineri",
"Sâmbătă",
"Duminică"
]
};
3 changes: 3 additions & 0 deletions lib/locales/ro/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@ var ro = {};
module['exports'] = ro;
ro.title = "Romanian";
ro.address = require("./address");
ro.cell_phone = require("./cell_phone");
ro.date = require("./date");
ro.internet = require("./internet");
ro.name = require("./name");
ro.phone_number = require("./phone_number");
84 changes: 84 additions & 0 deletions lib/locales/ro/phone_number/formats.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
module["exports"] = [
"021######",
"031######",
"0258######",
"0358######",
"0257######",
"0357######",
"0248######",
"0348######",
"0234######",
"0334######",
"0259######",
"0359######",
"0263######",
"0363######",
"0231######",
"0331######",
"0239######",
"0339######",
"0268######",
"0368######",
"0238######",
"0338######",
"0242######",
"0342######",
"0255######",
"0355######",
"0264######",
"0364######",
"0241######",
"0341######",
"0267######",
"0367######",
"0245######",
"0345######",
"0251######",
"0351######",
"0236######",
"0336######",
"0246######",
"0346######",
"0253######",
"0353######",
"0266######",
"0366######",
"0254######",
"0354######",
"0243######",
"0343######",
"0232######",
"0332######",
"0262######",
"0362######",
"0252######",
"0352######",
"0265######",
"0365######",
"0233######",
"0333######",
"0249######",
"0349######",
"0244######",
"0344######",
"0260######",
"0360######",
"0261######",
"0361######",
"0269######",
"0369######",
"0230######",
"0330######",
"0247######",
"0347######",
"0256######",
"0356######",
"0240######",
"0340######",
"0250######",
"0350######",
"0235######",
"0335######",
"0237######",
"0337######"
];
3 changes: 3 additions & 0 deletions lib/locales/ro/phone_number/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
var phone_number = {};
module['exports'] = phone_number;
phone_number.formats = require("./formats");

0 comments on commit 1240689

Please sign in to comment.