Skip to content

Commit

Permalink
"UR" locale init
Browse files Browse the repository at this point in the history
  • Loading branch information
UmairJibran committed Oct 3, 2021
1 parent 17d5648 commit 293a7fc
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/locales.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ exports['ru'] = require('./locales/ru');
exports['sk'] = require('./locales/sk');
exports['sv'] = require('./locales/sv');
exports['tr'] = require('./locales/tr');
exports['ur'] = require('./locales/ur');
exports['uk'] = require('./locales/uk');
exports['vi'] = require('./locales/vi');
exports['zh_CN'] = require('./locales/zh_CN');
Expand Down
21 changes: 21 additions & 0 deletions lib/locales/ur/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
var ur = {};
module["exports"] = ur;
ur.title = "Urdu";
ur.separator = " اور ";
ur.address = require("./address");
ur.animal = require("./animal");
ur.internet = require("./internet");
ur.database = require("./database");
ur.lorem = require("./lorem");
ur.name = require("./name");
ur.cell_phone = require("./cell_phone");
ur.business = require("./business");
ur.commerce = require("./commerce");
ur.team = require("./team");
ur.hacker = require("./hacker");
ur.app = require("./app");
ur.finance = require("./finance");
ur.date = require("./date");
ur.system = require("./system");
ur.vehicle = require("./vehicle");
ur.music = require("./music");
6 changes: 6 additions & 0 deletions locale/ur.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
var Faker = require('../lib');
var faker = new Faker({ locale: 'ur', localeFallback: 'en' });
faker.locales['ur'] = require('../lib/locales/ur');
faker.locales['en'] = require('../lib/locales/en');

module['exports'] = faker;

0 comments on commit 293a7fc

Please sign in to comment.