File Coverage

blib/lib/Locale/CLDR/Locales/Ur/Any/In.pm
Criterion Covered Total %
statement 23 23 100.0
branch n/a
condition n/a
subroutine 8 8 100.0
pod n/a
total 31 31 100.0


line stmt bran cond sub pod time code
1             =head1
2              
3             Locale::CLDR::Locales::Ur::Any::In - Package for language Urdu
4              
5             =cut
6              
7             package Locale::CLDR::Locales::Ur::Any::In;
8             # This file auto generated from Data\common\main\ur_IN.xml
9             # on Sun 24 Apr 8:56:10 am GMT
10              
11 1     1   1451 use version;
  1         1  
  1         9  
12              
13             our $VERSION = version->declare('v0.29.0');
14              
15 1     1   98 use v5.10.1;
  1         2  
16 1     1   4 use mro 'c3';
  1         2  
  1         8  
17 1     1   32 use utf8;
  1         2  
  1         8  
18 1     1   32 use if $^V ge v5.12.0, feature => 'unicode_strings';
  1         2  
  1         17  
19              
20 1     1   137 use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
  1         1  
  1         16  
21 1     1   789 use Moo;
  1         2  
  1         6  
22              
23             extends('Locale::CLDR::Locales::Ur::Any');
24             has 'display_name_language' => (
25             is => 'ro',
26             isa => CodeRef,
27             init_arg => undef,
28             default => sub {
29             sub {
30             my %languages = (
31             'af' => 'افریقی',
32             'ar_001' => 'جدید معیاری عربی',
33             'co' => 'کارسیکائی',
34             'dje' => 'زرمہ',
35             'en_GB@alt=short' => 'برطانوی انگریزی',
36             'en_US@alt=short' => 'امریکی انگریزی',
37             'kn' => 'Ú©Ù†Ú‘',
38             'ku' => 'کرد',
39             'lv' => 'لٹويای',
40             'zgh' => 'معیاری مراقشی تمازیقی',
41             'zh_Hans' => 'آسان چینی',
42              
43             );
44             if (@_) {
45             return $languages{$_[0]};
46             }
47             return \%languages;
48             }
49             },
50             );
51              
52             has 'display_name_region' => (
53             is => 'ro',
54             isa => HashRef[Str],
55             init_arg => undef,
56             default => sub {
57             {
58             'AC' => 'جزیرہ اسینشن',
59             'AX' => 'جزائر آلینڈ',
60             'BV' => 'جزیرہ بوویت',
61             'CC' => 'جزائر (کیلنگ) کوکوس',
62             'CI' => 'کوت داوواغ',
63             'CK' => 'جزائر Ú©Ú©',
64             'CP' => 'جزیرہ کلپرٹن',
65             'DG' => 'ڈیگو گارشیا',
66             'FK' => 'جزائر فاکلینڈ',
67             'FK@alt=variant' => 'جزائر فاکلینڈ (اسلاس مالویناس)',
68             'FO' => 'جزائر فیرو',
69             'GF' => 'فرانسیسی گیانا',
70             'HM' => 'جزائر ہرڈ Ùˆ مکڈونلڈ',
71             'IC' => 'جزائر کناری',
72             'IO' => 'برطانوی بحرہند خطہ',
73             'MH' => 'جزائر مارشل',
74             'MP' => 'جزائر شمالی ماریانا',
75             'NF' => 'جزیرہ نارفوک',
76             'PN' => 'جزائر پٹکیرن',
77             'SB' => 'جزائر سلیمان',
78             'TA' => 'ترسٹان دا کونیا',
79             'TC' => 'جزائر کیکس Ùˆ ترکیہ',
80             'UM' => 'امریکی بیرونی جزائر',
81             'VG' => 'برطانوی جزائر ورجن',
82             'VI' => 'امریکی جزائر ورجن',
83              
84             }
85             },
86             );
87              
88             has 'display_name_type' => (
89             is => 'ro',
90             isa => HashRef[HashRef[Str]],
91             init_arg => undef,
92             default => sub {
93             {
94             'numbers' => {
95             'armnlow' => q{آرمینیائی لوئر کیس اعداد},
96             'greklow' => q{یونانی لوئر کیس اعداد},
97             'tibt' => q{تبتی ہندسے},
98             },
99              
100             }
101             },
102             );
103              
104             has 'units' => (
105             is => 'ro',
106             isa => HashRef[HashRef[HashRef[Str]]],
107             init_arg => undef,
108             default => sub { {
109             'long' => {
110             'astronomical-unit' => {
111             'name' => q(فلکیاتی اکائیاں),
112             'one' => q({0} فلکیاتی اکائی),
113             'other' => q({0} فلکیاتی اکائیاں),
114             },
115             },
116             } }
117             );
118              
119             has 'yesstr' => (
120             is => 'ro',
121             isa => RegexpRef,
122             init_arg => undef,
123             default => sub { qr'^(?i:|yes|y)$' }
124             );
125              
126             has 'nostr' => (
127             is => 'ro',
128             isa => RegexpRef,
129             init_arg => undef,
130             default => sub { qr'^(?i:نہیں|نہ|no|n)$' }
131             );
132              
133             has 'listPatterns' => (
134             is => 'ro',
135             isa => HashRef,
136             init_arg => undef,
137             default => sub { {
138             start => q({1} {0}),
139             middle => q({1} {0}),
140             end => q({1}ØŒ {0}),
141             2 => q({1}ØŒ {0}),
142             } }
143             );
144              
145             has 'default_numbering_system' => (
146             is => 'ro',
147             isa => Str,
148             init_arg => undef,
149             default => 'arabext',
150             );
151              
152             has 'currencies' => (
153             is => 'ro',
154             isa => HashRef,
155             init_arg => undef,
156             default => sub { {
157             'CRC' => {
158             display_name => {
159             'currency' => q(کوسٹا ریکا کولون),
160             'one' => q(کوسٹا ریکا کولون),
161             'other' => q(کوسٹا ریکا کولون),
162             },
163             },
164             'CUC' => {
165             display_name => {
166             'currency' => q(قابل منتقلی کیوبائی پیسو),
167             'one' => q(قابل منتقلی کیوبائی پیسو),
168             'other' => q(قابل منتقلی کیوبائی پیسو),
169             },
170             },
171             'CUP' => {
172             display_name => {
173             'currency' => q(کیوبائی پیسو),
174             'one' => q(کیوبائی پیسو),
175             'other' => q(کیوبائی پیسو),
176             },
177             },
178             'CVE' => {
179             display_name => {
180             'currency' => q(کیپ ورڈی اسکیوڈو),
181             'one' => q(کیپ ورڈی اسکیوڈو),
182             'other' => q(کیپ ورڈی اسکیوڈو),
183             },
184             },
185             'ERN' => {
186             display_name => {
187             'currency' => q(اریٹیریائی ناکفا),
188             'one' => q(اریٹیریائی ناکفا),
189             'other' => q(اریٹیریائی ناکفا),
190             },
191             },
192             'GBP' => {
193             display_name => {
194             'currency' => q(برطانوی پاونڈ سٹرلنگ),
195             'one' => q(برطانوی پاونڈ سٹرلنگ),
196             'other' => q(برطانوی پاونڈ سٹرلنگ),
197             },
198             },
199             'GHS' => {
200             display_name => {
201             'currency' => q(گھانی سیڈی),
202             'one' => q(گھانی سیڈی),
203             'other' => q(گھانی سیڈی),
204             },
205             },
206             'PKR' => {
207             symbol => 'PKR',
208             display_name => {
209             'one' => q(پاکستانی روپیہ),
210             'other' => q(پاکستانی روپے),
211             },
212             },
213             'WST' => {
214             display_name => {
215             'currency' => q(ساموآئی ٹالا),
216             'one' => q(ساموآئی ٹالا),
217             'other' => q(ساموآئی ٹالا),
218             },
219             },
220             } },
221             );
222              
223              
224             has 'day_period_data' => (
225             is => 'ro',
226             isa => CodeRef,
227             init_arg => undef,
228             default => sub { sub {
229             # Time in hhmm format
230             my ($self, $type, $time, $day_period_type) = @_;
231             $day_period_type //= 'default';
232             SWITCH:
233             for ($type) {
234             if ($_ eq 'generic') {
235             if($day_period_type eq 'selection') {
236             return 'night1' if $time >= 2000;
237             return 'night1' if $time < 400;
238             return 'afternoon1' if $time >= 1200
239             && $time < 1600;
240             return 'afternoon2' if $time >= 1600
241             && $time < 1800;
242             return 'morning1' if $time >= 400
243             && $time < 1200;
244             return 'evening1' if $time >= 1800
245             && $time < 2000;
246             }
247             if($day_period_type eq 'default') {
248             return 'midnight' if $time == 0;
249             return 'evening1' if $time >= 1800
250             && $time < 2000;
251             return 'night1' if $time >= 2000;
252             return 'night1' if $time < 400;
253             return 'morning1' if $time >= 400
254             && $time < 1200;
255             return 'afternoon2' if $time >= 1600
256             && $time < 1800;
257             return 'afternoon1' if $time >= 1200
258             && $time < 1600;
259             }
260             last SWITCH;
261             }
262             }
263             } },
264             );
265              
266             around day_period_data => sub {
267             my ($orig, $self) = @_;
268             return $self->$orig;
269             };
270              
271             has 'eras' => (
272             is => 'ro',
273             isa => HashRef,
274             init_arg => undef,
275             default => sub { {
276             'generic' => {
277             },
278             } },
279             );
280              
281             has 'date_formats' => (
282             is => 'ro',
283             isa => HashRef,
284             init_arg => undef,
285             default => sub { {
286             'generic' => {
287             'short' => q{d/M/yy GGGGG},
288             },
289             } },
290             );
291              
292             has 'time_formats' => (
293             is => 'ro',
294             isa => HashRef,
295             init_arg => undef,
296             default => sub { {
297             'generic' => {
298             },
299             } },
300             );
301              
302             has 'datetime_formats' => (
303             is => 'ro',
304             isa => HashRef,
305             init_arg => undef,
306             default => sub { {
307             'generic' => {
308             },
309             } },
310             );
311              
312             has 'datetime_formats_available_formats' => (
313             is => 'ro',
314             isa => HashRef,
315             init_arg => undef,
316             default => sub { {
317             } },
318             );
319              
320             has 'datetime_formats_append_item' => (
321             is => 'ro',
322             isa => HashRef,
323             init_arg => undef,
324             default => sub { {
325             } },
326             );
327              
328             has 'datetime_formats_interval' => (
329             is => 'ro',
330             isa => HashRef,
331             init_arg => undef,
332             default => sub { {
333             } },
334             );
335              
336             has 'time_zone_names' => (
337             is => 'ro',
338             isa => HashRef,
339             init_arg => undef,
340             default => sub { {
341             gmtFormat => q(GMT{0}),
342             regionFormat => q({0} دن کا وقت),
343             regionFormat => q({0} معیاری وقت),
344             'Afghanistan' => {
345             long => {
346             'standard' => q(افغانستان ٹائم),
347             },
348             },
349             'Africa/Accra' => {
350             exemplarCity => q#اکرا#,
351             },
352             'Amazon' => {
353             long => {
354             'daylight' => q(ایمیزون سمر ٹائم),
355             'generic' => q(ایمیزون ٹائم),
356             'standard' => q(ایمیزون سٹینڈرڈ ٹائم),
357             },
358             },
359             'America/Cambridge_Bay' => {
360             exemplarCity => q#کیمبرج بے#,
361             },
362             'America/Glace_Bay' => {
363             exemplarCity => q#گلیس بے#,
364             },
365             'America/Goose_Bay' => {
366             exemplarCity => q#گوس بے#,
367             },
368             'America/Grand_Turk' => {
369             exemplarCity => q#گرینڈ ترک#,
370             },
371             'America/Scoresbysund' => {
372             exemplarCity => q#اتتوققورتورمیت#,
373             },
374             'America/Thule' => {
375             exemplarCity => q#تھولے#,
376             },
377             'Arabian' => {
378             long => {
379             'daylight' => q(عرب ÚˆÛ’ لائٹ ٹائم),
380             'generic' => q(عرب ٹائم),
381             'standard' => q(عرب سٹینڈرڈ ٹائم),
382             },
383             },
384             'Argentina_Western' => {
385             long => {
386             'daylight' => q(مغربی ارجنٹینا سمر ٹائم),
387             'generic' => q(مغربی ارجنٹینا ٹائم),
388             'standard' => q(مغربی ارجنٹینا سٹینڈرڈ ٹائم),
389             },
390             },
391             'Armenia' => {
392             long => {
393             'daylight' => q(آرمینیا سمر ٹائم),
394             'generic' => q(آرمینیا ٹائم),
395             'standard' => q(آرمینیا سٹینڈرڈ ٹائم),
396             },
397             },
398             'Asia/Dubai' => {
399             exemplarCity => q#دبئی#,
400             },
401             'Azerbaijan' => {
402             long => {
403             'daylight' => q(آذربائیجان سمر ٹائم),
404             'generic' => q(آذربائیجان ٹائم),
405             'standard' => q(آذربائیجان سٹینڈرڈ ٹائم),
406             },
407             },
408             'Bangladesh' => {
409             long => {
410             'daylight' => q(بنگلہ دیش سمر ٹائم),
411             'generic' => q(بنگلہ دیش ٹائم),
412             'standard' => q(بنگلہ دیش سٹینڈرڈ ٹائم),
413             },
414             },
415             'Bhutan' => {
416             long => {
417             'standard' => q(بھوٹان ٹائم),
418             },
419             },
420             'Bolivia' => {
421             long => {
422             'standard' => q(بولیویا ٹائم),
423             },
424             },
425             'Brasilia' => {
426             long => {
427             'daylight' => q(برازیلیا سمر ٹائم),
428             'generic' => q(برازیلیا ٹائم),
429             'standard' => q(برازیلیا سٹینڈرڈ ٹائم),
430             },
431             },
432             'Chile' => {
433             long => {
434             'daylight' => q(Ú†Ù„ÛŒ سمر ٹائم),
435             'generic' => q(Ú†Ù„ÛŒ ٹائم),
436             'standard' => q(Ú†Ù„ÛŒ سٹینڈرڈ ٹائم),
437             },
438             },
439             'Colombia' => {
440             long => {
441             'daylight' => q(کولمبیا سمر ٹائم),
442             'generic' => q(کولمبیا ٹائم),
443             'standard' => q(کولمبیا سٹینڈرڈ ٹائم),
444             },
445             },
446             'Easter' => {
447             long => {
448             'daylight' => q(ایسٹر آئلینڈ سمر ٹائم),
449             'generic' => q(ایسٹر آئلینڈ ٹائم),
450             'standard' => q(ایسٹر آئلینڈ سٹینڈرڈ ٹائم),
451             },
452             },
453             'Ecuador' => {
454             long => {
455             'standard' => q(ایکواڈور ٹائم),
456             },
457             },
458             'Europe/Budapest' => {
459             exemplarCity => q#بوڈاپیسٹ#,
460             },
461             'Europe_Central' => {
462             long => {
463             'daylight' => q(وسطی یورپ کا موسم گرما کا وقت),
464             'generic' => q(وسطی یورپ کا وقت),
465             'standard' => q(وسطی یورپ کا معیاری وقت),
466             },
467             },
468             'Falkland' => {
469             long => {
470             'daylight' => q(فاک لینڈ آئلینڈز سمر ٹائم),
471             'generic' => q(فاک لینڈ آئلینڈز ٹائم),
472             'standard' => q(فاک لینڈ آئلینڈز سٹینڈرڈ ٹائم),
473             },
474             },
475             'French_Guiana' => {
476             long => {
477             'standard' => q(فرینچ گیانا ٹائم),
478             },
479             },
480             'GMT' => {
481             long => {
482             'standard' => q(گرین ÙˆÚ† مین ٹائم),
483             },
484             },
485             'Galapagos' => {
486             long => {
487             'standard' => q(گالاپاگوز ٹائم),
488             },
489             },
490             'Georgia' => {
491             long => {
492             'daylight' => q(جارجیا سمر ٹائم),
493             'generic' => q(جارجیا ٹائم),
494             'standard' => q(جارجیا سٹینڈرڈ ٹائم),
495             },
496             },
497             'Gulf' => {
498             long => {
499             'standard' => q(خلیج سٹینڈرڈ ٹائم),
500             },
501             },
502             'Guyana' => {
503             long => {
504             'standard' => q(گیانا ٹائم),
505             },
506             },
507             'India' => {
508             long => {
509             'standard' => q(انڈیا سٹینڈرڈ ٹائم),
510             },
511             },
512             'Iran' => {
513             long => {
514             'daylight' => q(ایران ÚˆÛ’ لائٹ ٹائم),
515             'generic' => q(ایران ٹائم),
516             'standard' => q(ایران سٹینڈرڈ ٹائم),
517             },
518             },
519             'Israel' => {
520             long => {
521             'daylight' => q(اسرائیل ÚˆÛ’ لائٹ ٹائم),
522             'generic' => q(اسرائیل ٹائم),
523             'standard' => q(اسرائیل سٹینڈرڈ ٹائم),
524             },
525             },
526             'Kazakhstan_Eastern' => {
527             long => {
528             'standard' => q(مشرقی قزاخستان ٹائم),
529             },
530             },
531             'Kazakhstan_Western' => {
532             long => {
533             'standard' => q(مغربی قزاخستان ٹائم),
534             },
535             },
536             'Kyrgystan' => {
537             long => {
538             'standard' => q(کرغستان ٹائم),
539             },
540             },
541             'Macquarie' => {
542             long => {
543             'standard' => q(مکوآری آئلینڈ ٹائم),
544             },
545             },
546             'Maldives' => {
547             long => {
548             'standard' => q(مالدیپ ٹائم),
549             },
550             },
551             'Nepal' => {
552             long => {
553             'standard' => q(نیپال ٹائم),
554             },
555             },
556             'New_Zealand' => {
557             long => {
558             'daylight' => q(نیوزی لینڈ ÚˆÛ’ لائٹ ٹائم),
559             'generic' => q(نیوزی لینڈ ٹائم),
560             'standard' => q(نیوزی لینڈ سٹینڈرڈ ٹائم),
561             },
562             },
563             'Noronha' => {
564             long => {
565             'daylight' => q(فرنانڈو ÚˆÛŒ نورونہا سمر ٹائم),
566             'generic' => q(فرنانڈو ÚˆÛŒ نورنہا ٹائم),
567             'standard' => q(فرنانڈو ÚˆÛŒ نورنہا سٹینڈرڈ ٹائم),
568             },
569             },
570             'Pakistan' => {
571             long => {
572             'daylight' => q(پاکستان سمر ٹائم),
573             'generic' => q(پاکستان ٹائم),
574             'standard' => q(پاکستان سٹینڈرڈ ٹائم),
575             },
576             },
577             'Paraguay' => {
578             long => {
579             'daylight' => q(پیراگوئے سمر ٹائم),
580             'generic' => q(پیراگوئے ٹائم),
581             'standard' => q(پیراگوئے سٹینڈرڈ ٹائم),
582             },
583             },
584             'Peru' => {
585             long => {
586             'daylight' => q(پیرو سمر ٹائم),
587             'generic' => q(پیرو ٹائم),
588             'standard' => q(پیرو سٹینڈرڈ ٹائم),
589             },
590             },
591             'Rothera' => {
592             long => {
593             'standard' => q(روتھیرا ٹائم),
594             },
595             },
596             'Suriname' => {
597             long => {
598             'standard' => q(سورینام ٹائم),
599             },
600             },
601             'Tajikistan' => {
602             long => {
603             'standard' => q(تاجکستان ٹائم),
604             },
605             },
606             'Turkmenistan' => {
607             long => {
608             'daylight' => q(ترکمانستان سمر ٹائم),
609             'generic' => q(ترکمانستان ٹائم),
610             'standard' => q(ترکمانستان سٹینڈرڈ ٹائم),
611             },
612             },
613             'Uruguay' => {
614             long => {
615             'daylight' => q(یوروگوئے سمر ٹائم),
616             'generic' => q(یوروگوئے ٹائم),
617             'standard' => q(یوروگوئے سٹینڈرڈ ٹائم),
618             },
619             },
620             'Uzbekistan' => {
621             long => {
622             'daylight' => q(ازبکستان سمر ٹائم),
623             'generic' => q(ازبکستان ٹائم),
624             'standard' => q(ازبکستان سٹینڈرڈ ٹائم),
625             },
626             },
627             'Venezuela' => {
628             long => {
629             'standard' => q(وینزوئیلا ٹائم),
630             },
631             },
632             'Vostok' => {
633             long => {
634             'standard' => q(ووسٹاک ٹائم),
635             },
636             },
637             } }
638             );
639 1     1   3276 no Moo;
  1         1  
  1         7  
640              
641             1;
642              
643             # vim: tabstop=4