line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Locales::DB::LocaleDisplayPattern::Tiny; |
2
|
|
|
|
|
|
|
|
3
|
211
|
|
|
211
|
|
1409
|
use strict; |
|
211
|
|
|
|
|
395
|
|
|
211
|
|
|
|
|
10455
|
|
4
|
211
|
|
|
211
|
|
923
|
use warnings; |
|
211
|
|
|
|
|
310
|
|
|
211
|
|
|
|
|
8218
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
# Auto generated from CLDR |
7
|
211
|
|
|
211
|
|
863
|
use if $Locales::_UNICODE_STRINGS, 'utf8'; |
|
211
|
|
|
|
|
306
|
|
|
211
|
|
|
|
|
1174
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
$Locales::DB::LocaleDisplayPattern::Tiny::VERSION = '0.09'; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
$Locales::DB::LocaleDisplayPattern::Tiny::cldr_version = '2.0'; |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
my %locale_display_lookup = ( |
14
|
|
|
|
|
|
|
'ksh' => '{0} en {1}', |
15
|
|
|
|
|
|
|
'ja' => '{0}({1})', |
16
|
|
|
|
|
|
|
'zh' => '{0}({1})', |
17
|
|
|
|
|
|
|
'ko' => '{0}({1})', |
18
|
|
|
|
|
|
|
); |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
sub get_locale_display_pattern { |
21
|
115721
|
100
|
|
115721
|
0
|
225366
|
if ( exists $locale_display_lookup{ $_[0] } ) { |
22
|
840
|
|
|
|
|
5223
|
return $locale_display_lookup{ $_[0] }; |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
else { |
25
|
114881
|
|
|
|
|
513219
|
require Locales; |
26
|
114881
|
|
|
|
|
225694
|
my ($l) = Locales::split_tag( $_[0] ); |
27
|
114881
|
100
|
|
|
|
234557
|
if ( $l ne $_[0] ) { |
28
|
2735
|
50
|
|
|
|
6775
|
return $locale_display_lookup{$l} if exists $locale_display_lookup{$l}; |
29
|
|
|
|
|
|
|
} |
30
|
114881
|
|
|
|
|
478416
|
return "\{0\}\ \(\{1\}\)"; |
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
1; |