| 1 | =encoding utf8 | ||||||||||
| 2 | |||||||||||
| 3 | =head1 NAME | ||||||||||
| 4 | |||||||||||
| 5 | Locale::CLDR::Locales::Dv - Package for language Divehi | ||||||||||
| 6 | |||||||||||
| 7 | =cut | ||||||||||
| 8 | |||||||||||
| 9 | package Locale::CLDR::Locales::Dv; | ||||||||||
| 10 | # This file auto generated from Data\common\main\dv.xml | ||||||||||
| 11 | # on Fri 17 Jan 12:03:31 pm GMT | ||||||||||
| 12 | |||||||||||
| 13 | 1 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 14 | 1 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 15 | 1 | ▶ | use version; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 16 | |||||||||||
| 17 | 1 | our $VERSION = version->declare('v0.46.0'); | |||||||||
| 18 | |||||||||||
| 19 | 1 | ▶ | use v5.12.0; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 20 | 1 | ▶ | use mro 'c3'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 21 | 1 | ▶ | use utf8; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 22 | 1 | ▶ | use feature 'unicode_strings'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 23 | 1 | ▶ | use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef ); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 24 | 1 | ▶ | use Moo; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 25 | |||||||||||
| 26 | 1 | extends('Locale::CLDR::Locales::Root'); | |||||||||
| 27 | has 'display_name_language' => ( | ||||||||||
| 28 | is => 'ro', | ||||||||||
| 29 | isa => CodeRef, | ||||||||||
| 30 | init_arg => undef, | ||||||||||
| 31 | 0 | ▶ | default => sub { | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 32 | 0 | ▶ | sub { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
| |||||||||||
| 33 | 0 | my %languages = ( | |||||||||
| 34 | 'dv' => 'ދިވެހިބަސް', | ||||||||||
| 35 | |||||||||||
| 36 | ); | ||||||||||
| 37 | 0 | ▶ | if (@_) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 38 | 0 | return $languages{$_[0]}; | |||||||||
| 39 | } | ||||||||||
| 40 | 0 | return \%languages; | |||||||||
| 41 | } | ||||||||||
| 42 | 0 | }, | |||||||||
| 43 | 1 | ); | |||||||||
| 44 | |||||||||||
| 45 | has 'display_name_region' => ( | ||||||||||
| 46 | is => 'ro', | ||||||||||
| 47 | isa => HashRef[Str], | ||||||||||
| 48 | init_arg => undef, | ||||||||||
| 49 | 0 | ▶ | default => sub { | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 50 | { | ||||||||||
| 51 | 0 | 'MV' => 'ދިވެހި ރާއްޖެ', | |||||||||
| 52 | |||||||||||
| 53 | } | ||||||||||
| 54 | }, | ||||||||||
| 55 | 1 | ); | |||||||||
| 56 | |||||||||||
| 57 | has 'text_orientation' => ( | ||||||||||
| 58 | is => 'ro', | ||||||||||
| 59 | isa => HashRef[Str], | ||||||||||
| 60 | init_arg => undef, | ||||||||||
| 61 | 0 | ▶ | default => sub { return { | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 62 | 0 | lines => '', | |||||||||
| 63 | characters => 'right-to-left', | ||||||||||
| 64 | }} | ||||||||||
| 65 | 1 | ); | |||||||||
| 66 | |||||||||||
| 67 | has 'characters' => ( | ||||||||||
| 68 | is => 'ro', | ||||||||||
| 69 | isa => HashRef, | ||||||||||
| 70 | init_arg => undef, | ||||||||||
| 71 | default => $^V ge v5.18.0 | ||||||||||
| 72 | ? eval <<'EOT' | ||||||||||
| 73 | sub { | ||||||||||
| 74 | no warnings 'experimental::regex_sets'; | ||||||||||
| 75 | return { | ||||||||||
| 76 | auxiliary => qr{[ ޙ ޚ ޜ ޢ ޣ ޥ ޛ ޘ ޠ ޡ ޤ ޝ ޞ ޟ ޱ]}, | ||||||||||
| 77 | index => ['ހ', 'ށ', 'ނ', 'ރ', 'ބ', 'ޅ', 'ކ', 'އ', 'ވ', 'މ', 'ފ', 'ދ', 'ތ', 'ލ', 'ގ', 'ޏ', 'ސ', 'ޑ', 'ޒ', 'ޓ', 'ޔ', 'ޕ', 'ޖ', 'ޗ'], | ||||||||||
| 78 | main => qr{[ހ ށ ނ ރ ބ ޅ ކ އ ވ މ ފ ދ ތ ލ ގ ޏ ސ ޑ ޒ ޓ ޔ ޕ ޖ ޗ ަ ާ ި ީ ު ޫ ެ ޭ ޮ ޯ ް]}, | ||||||||||
| 79 | }; | ||||||||||
| 80 | }, | ||||||||||
| 81 | EOT | ||||||||||
| 82 | 0 | ▶ | : sub { | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 83 | 0 | return { index => ['ހ', 'ށ', 'ނ', 'ރ', 'ބ', 'ޅ', 'ކ', 'އ', 'ވ', 'މ', 'ފ', 'ދ', 'ތ', 'ލ', 'ގ', 'ޏ', 'ސ', 'ޑ', 'ޒ', 'ޓ', 'ޔ', 'ޕ', 'ޖ', 'ޗ'], }; | |||||||||
| 84 | }, | ||||||||||
| 85 | 1 | ▶ | ); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
Branch: 1 branch
| |||||||||||
| 86 | |||||||||||
| 87 | |||||||||||
| 88 | 1 | has native_numbering_system => ( | |||||||||
| 89 | is => 'ro', | ||||||||||
| 90 | isa => Str, | ||||||||||
| 91 | init_arg => undef, | ||||||||||
| 92 | default => 'arab', | ||||||||||
| 93 | ); | ||||||||||
| 94 | |||||||||||
| 95 | has 'number_symbols' => ( | ||||||||||
| 96 | is => 'ro', | ||||||||||
| 97 | isa => HashRef, | ||||||||||
| 98 | init_arg => undef, | ||||||||||
| 99 | 0 | ▶ | default => sub { { | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 100 | 0 | 'arab' => { | |||||||||
| 101 | 'list' => q(،), | ||||||||||
| 102 | }, | ||||||||||
| 103 | 'latn' => { | ||||||||||
| 104 | 'list' => q(,), | ||||||||||
| 105 | }, | ||||||||||
| 106 | } } | ||||||||||
| 107 | 1 | ); | |||||||||
| 108 | |||||||||||
| 109 | has 'number_formats' => ( | ||||||||||
| 110 | is => 'ro', | ||||||||||
| 111 | isa => HashRef, | ||||||||||
| 112 | init_arg => undef, | ||||||||||
| 113 | 0 | ▶ | default => sub { { | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 114 | 0 | decimalFormat => { | |||||||||
| 115 | 'default' => { | ||||||||||
| 116 | 'standard' => { | ||||||||||
| 117 | 'default' => '#,##,##0.###', | ||||||||||
| 118 | }, | ||||||||||
| 119 | }, | ||||||||||
| 120 | }, | ||||||||||
| 121 | percentFormat => { | ||||||||||
| 122 | 'default' => { | ||||||||||
| 123 | 'standard' => { | ||||||||||
| 124 | 'default' => '#,##,##0%', | ||||||||||
| 125 | }, | ||||||||||
| 126 | }, | ||||||||||
| 127 | }, | ||||||||||
| 128 | } }, | ||||||||||
| 129 | 1 | ); | |||||||||
| 130 | |||||||||||
| 131 | has 'currencies' => ( | ||||||||||
| 132 | is => 'ro', | ||||||||||
| 133 | isa => HashRef, | ||||||||||
| 134 | init_arg => undef, | ||||||||||
| 135 | 0 | ▶ | default => sub { { | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 136 | 0 | 'MVR' => { | |||||||||
| 137 | symbol => 'ރ.', | ||||||||||
| 138 | }, | ||||||||||
| 139 | } }, | ||||||||||
| 140 | 1 | ); | |||||||||
| 141 | |||||||||||
| 142 | |||||||||||
| 143 | has 'eras' => ( | ||||||||||
| 144 | is => 'ro', | ||||||||||
| 145 | isa => HashRef, | ||||||||||
| 146 | init_arg => undef, | ||||||||||
| 147 | 0 | ▶ | default => sub { { | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 148 | 0 | 'generic' => { | |||||||||
| 149 | }, | ||||||||||
| 150 | 'gregorian' => { | ||||||||||
| 151 | }, | ||||||||||
| 152 | } }, | ||||||||||
| 153 | 1 | ); | |||||||||
| 154 | |||||||||||
| 155 | has 'date_formats' => ( | ||||||||||
| 156 | is => 'ro', | ||||||||||
| 157 | isa => HashRef, | ||||||||||
| 158 | init_arg => undef, | ||||||||||
| 159 | 0 | ▶ | default => sub { { | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 160 | 0 | 'generic' => { | |||||||||
| 161 | 'full' => q{EEEE d MMMM y G}, | ||||||||||
| 162 | 'long' => q{d MMMM y G}, | ||||||||||
| 163 | 'medium' => q{dd-MM-y G}, | ||||||||||
| 164 | 'short' => q{d-M-yy GGGGG}, | ||||||||||
| 165 | }, | ||||||||||
| 166 | 'gregorian' => { | ||||||||||
| 167 | 'full' => q{EEEE d MMMM y}, | ||||||||||
| 168 | 'long' => q{d MMMM y}, | ||||||||||
| 169 | 'medium' => q{dd-MM-y}, | ||||||||||
| 170 | 'short' => q{d-M-yy}, | ||||||||||
| 171 | }, | ||||||||||
| 172 | } }, | ||||||||||
| 173 | 1 | ); | |||||||||
| 174 | |||||||||||
| 175 | has 'time_formats' => ( | ||||||||||
| 176 | is => 'ro', | ||||||||||
| 177 | isa => HashRef, | ||||||||||
| 178 | init_arg => undef, | ||||||||||
| 179 | 0 | ▶ | default => sub { { | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 180 | 0 | 'generic' => { | |||||||||
| 181 | }, | ||||||||||
| 182 | 'gregorian' => { | ||||||||||
| 183 | 'full' => q{HH:mm:ss zzzz}, | ||||||||||
| 184 | 'long' => q{HH:mm:ss z}, | ||||||||||
| 185 | 'medium' => q{HH:mm:ss}, | ||||||||||
| 186 | 'short' => q{HH:mm}, | ||||||||||
| 187 | }, | ||||||||||
| 188 | } }, | ||||||||||
| 189 | 1 | ); | |||||||||
| 190 | |||||||||||
| 191 | has 'datetime_formats' => ( | ||||||||||
| 192 | is => 'ro', | ||||||||||
| 193 | isa => HashRef, | ||||||||||
| 194 | init_arg => undef, | ||||||||||
| 195 | 0 | ▶ | default => sub { { | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 196 | 0 | 'generic' => { | |||||||||
| 197 | }, | ||||||||||
| 198 | 'gregorian' => { | ||||||||||
| 199 | }, | ||||||||||
| 200 | } }, | ||||||||||
| 201 | 1 | ); | |||||||||
| 202 | |||||||||||
| 203 | has 'datetime_formats_available_formats' => ( | ||||||||||
| 204 | is => 'ro', | ||||||||||
| 205 | isa => HashRef, | ||||||||||
| 206 | init_arg => undef, | ||||||||||
| 207 | 0 | ▶ | default => sub { { | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 208 | 0 | } }, | |||||||||
| 209 | 1 | ); | |||||||||
| 210 | |||||||||||
| 211 | has 'datetime_formats_append_item' => ( | ||||||||||
| 212 | is => 'ro', | ||||||||||
| 213 | isa => HashRef, | ||||||||||
| 214 | init_arg => undef, | ||||||||||
| 215 | 0 | ▶ | default => sub { { | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 216 | 0 | } }, | |||||||||
| 217 | 1 | ); | |||||||||
| 218 | |||||||||||
| 219 | has 'datetime_formats_interval' => ( | ||||||||||
| 220 | is => 'ro', | ||||||||||
| 221 | isa => HashRef, | ||||||||||
| 222 | init_arg => undef, | ||||||||||
| 223 | 0 | ▶ | default => sub { { | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 224 | 0 | } }, | |||||||||
| 225 | 1 | ); | |||||||||
| 226 | |||||||||||
| 227 | 1 | ▶ | no Moo; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 228 | |||||||||||
| 229 | 1 | 1; | |||||||||
| 230 | |||||||||||
| 231 | # vim: tabstop=4 | ||||||||||