File Coverage

blib/lib/Locale/CLDR/Locales/Ltg.pm
Criterion Covered Total %
statement 32 32 100.0
branch n/a
condition n/a
subroutine 11 11 100.0
pod n/a
total 43 43 100.0


line stmt bran cond sub pod time code
1             =encoding utf8
2              
3             =head1 NAME
4              
5             Locale::CLDR::Locales::Ltg - Package for language Latgalian
6              
7             =cut
8              
9             package Locale::CLDR::Locales::Ltg;
10             # This file auto generated from Data\common\main\ltg.xml
11             # on Fri 17 Jan 12:03:31 pm GMT
12              
13 1     1   1777975 use strict;
  1         2  
  1         48  
14 1     1   7 use warnings;
  1         2  
  1         66  
15 1     1   13 use version;
  1         3  
  1         9  
16              
17             our $VERSION = version->declare('v0.46.0');
18              
19 1     1   143 use v5.12.0;
  1         6  
20 1     1   7 use mro 'c3';
  1         2  
  1         8  
21 1     1   59 use utf8;
  1         3  
  1         9  
22 1     1   53 use feature 'unicode_strings';
  1         3  
  1         170  
23 1     1   8 use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
  1         1  
  1         28  
24 1     1   3100 use Moo;
  1         3  
  1         33  
25              
26             extends('Locale::CLDR::Locales::Root');
27             has 'display_name_language' => (
28             is => 'ro',
29             isa => CodeRef,
30             init_arg => undef,
31             default => sub {
32             sub {
33             my %languages = (
34             'en' => 'angļu',
35             'ltg' => 'latgalīšu',
36             'lv' => 'latvīšu',
37              
38             );
39             if (@_) {
40             return $languages{$_[0]};
41             }
42             return \%languages;
43             }
44             },
45             );
46              
47             has 'display_name_region' => (
48             is => 'ro',
49             isa => HashRef[Str],
50             init_arg => undef,
51             default => sub {
52             {
53             'LV' => 'Latveja',
54              
55             }
56             },
57             );
58              
59             has 'display_name_code_patterns' => (
60             is => 'ro',
61             isa => HashRef[Str],
62             init_arg => undef,
63             default => sub {
64             {
65             'language' => 'Volūda: {0}',
66             'script' => 'Raksteiba: {0}',
67             'region' => 'Regions: {0}',
68              
69             }
70             },
71             );
72              
73             has 'characters' => (
74             is => 'ro',
75             isa => HashRef,
76             init_arg => undef,
77             default => $^V ge v5.18.0
78             ? eval <<'EOT'
79             sub {
80             no warnings 'experimental::regex_sets';
81             return {
82             auxiliary => qr{[q ŗ w x]},
83             main => qr{[aā b cč d eē f gģ h iī j kķ lļ m nņ oō p r sš t uū v y zž]},
84             numbers => qr{[\- ‑ , % ‰ + − 0 1 2 3 4 5 6 7 8 9]},
85             punctuation => qr{[\- ‐‑ – — , ; \: ! ? . … '‘’‚ "“”„ ( ) \[ \] § @ * / \& # † ‡ ′ ″]},
86             };
87             },
88             EOT
89             : sub {
90             return {};
91             },
92 1     1   223 );
  1         3  
  1         339  
93              
94              
95             has 'number_symbols' => (
96             is => 'ro',
97             isa => HashRef,
98             init_arg => undef,
99             default => sub { {
100             'latn' => {
101             'decimal' => q(,),
102             'group' => q( ),
103             },
104             } }
105             );
106              
107             has 'currencies' => (
108             is => 'ro',
109             isa => HashRef,
110             init_arg => undef,
111             default => sub { {
112             'EUR' => {
113             display_name => {
114             'currency' => q(eiro),
115             'other' => q(eiro),
116             },
117             },
118             'LVL' => {
119             display_name => {
120             'currency' => q(Latvejis lats),
121             'other' => q(Latvejis lati),
122             },
123             },
124             'LVR' => {
125             display_name => {
126             'currency' => q(Latvejis rublis),
127             },
128             },
129             } },
130             );
131              
132              
133             has 'calendar_months' => (
134             is => 'ro',
135             isa => HashRef,
136             init_arg => undef,
137             default => sub { {
138             'gregorian' => {
139             'format' => {
140             wide => {
141             nonleap => [
142             'janvars',
143             'februars',
144             'marts',
145             'apreļs',
146             'majs',
147             'juņs',
148             'juļs',
149             'augusts',
150             'septembris',
151             'oktobris',
152             'novembris',
153             'decembris'
154             ],
155             leap => [
156            
157             ],
158             },
159             },
160             'stand-alone' => {
161             wide => {
162             nonleap => [
163             'janvars',
164             'februars',
165             'marts',
166             'apreļs',
167             'majs',
168             'juņs',
169             'juļs',
170             'augusts',
171             'septembris',
172             'oktobris',
173             'novembris',
174             'decembris'
175             ],
176             leap => [
177            
178             ],
179             },
180             },
181             },
182             } },
183             );
184              
185             has 'calendar_days' => (
186             is => 'ro',
187             isa => HashRef,
188             init_arg => undef,
189             default => sub { {
190             'gregorian' => {
191             'format' => {
192             wide => {
193             mon => 'pyrmūdīne',
194             tue => 'ūtardīne',
195             wed => 'trešdīne',
196             thu => 'catūrtdīne',
197             fri => 'pīktdīne',
198             sat => 'sastdīne',
199             sun => 'svātdīne'
200             },
201             },
202             },
203             } },
204             );
205              
206             has 'calendar_quarters' => (
207             is => 'ro',
208             isa => HashRef,
209             init_arg => undef,
210             default => sub { {
211             'gregorian' => {
212             'format' => {
213             wide => {0 => '1. catūrksnis',
214             1 => '2. catūrksnis',
215             2 => '3. catūrksnis',
216             3 => '4. catūrksnis'
217             },
218             },
219             'stand-alone' => {
220             narrow => {0 => '1.',
221             1 => '2.',
222             2 => '3.',
223             3 => '4.'
224             },
225             },
226             },
227             } },
228             );
229              
230             has 'day_periods' => (
231             is => 'ro',
232             isa => HashRef,
233             init_arg => undef,
234             default => sub { {
235             'gregorian' => {
236             'format' => {
237             'wide' => {
238             'am' => q{prīškpušdīnē},
239             'pm' => q{piecpušdīnē},
240             },
241             },
242             },
243             } },
244             );
245              
246             has 'eras' => (
247             is => 'ro',
248             isa => HashRef,
249             init_arg => undef,
250             default => sub { {
251             'gregorian' => {
252             abbreviated => {
253             '0' => 'p.m.e.',
254             '1' => 'm.e.'
255             },
256             wide => {
257             '0' => 'pyrma myusu erys',
258             '1' => 'myusu erā'
259             },
260             },
261             } },
262             );
263              
264             has 'date_formats' => (
265             is => 'ro',
266             isa => HashRef,
267             init_arg => undef,
268             default => sub { {
269             'gregorian' => {
270             },
271             } },
272             );
273              
274             has 'time_formats' => (
275             is => 'ro',
276             isa => HashRef,
277             init_arg => undef,
278             default => sub { {
279             'gregorian' => {
280             },
281             } },
282             );
283              
284             has 'datetime_formats' => (
285             is => 'ro',
286             isa => HashRef,
287             init_arg => undef,
288             default => sub { {
289             'gregorian' => {
290             },
291             } },
292             );
293              
294             has 'datetime_formats_available_formats' => (
295             is => 'ro',
296             isa => HashRef,
297             init_arg => undef,
298             default => sub { {
299             'gregorian' => {
300             hm => q{h:mm a},
301             hms => q{h:mm:ss a},
302             hmsv => q{h:mm:ss a v},
303             yMMMd => q{y. 'g'. d. MMM},
304             yMd => q{d.MM.y.},
305             },
306             } },
307             );
308              
309             has 'datetime_formats_append_item' => (
310             is => 'ro',
311             isa => HashRef,
312             init_arg => undef,
313             default => sub { {
314             } },
315             );
316              
317             has 'datetime_formats_interval' => (
318             is => 'ro',
319             isa => HashRef,
320             init_arg => undef,
321             default => sub { {
322             } },
323             );
324              
325             has 'time_zone_names' => (
326             is => 'ro',
327             isa => HashRef,
328             init_arg => undef,
329             default => sub { {
330             regionFormat => q(Laika jūsla: {0}),
331             regionFormat => q({0}: vosorys laiks),
332             regionFormat => q({0}: standarta laiks),
333             'GMT' => {
334             long => {
335             'standard' => q#Griničys laiks#,
336             },
337             },
338             } }
339             );
340 1     1   2222 no Moo;
  1         2  
  1         8  
341              
342             1;
343              
344             # vim: tabstop=4