/usr/share/perl5/Locales/DB/LocaleDisplayPattern/Tiny.pm is in liblocales-perl 0.34+ds-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | package Locales::DB::LocaleDisplayPattern::Tiny;
use strict;
use warnings;
# Auto generated from CLDR
use if $Locales::_UNICODE_STRINGS, 'utf8';
$Locales::DB::LocaleDisplayPattern::Tiny::VERSION = '0.09';
$Locales::DB::LocaleDisplayPattern::Tiny::cldr_version = '2.0';
my %locale_display_lookup = (
'ksh' => '{0} en {1}',
'ja' => '{0}({1})',
'zh' => '{0}({1})',
'ko' => '{0}({1})',
);
sub get_locale_display_pattern {
if ( exists $locale_display_lookup{ $_[0] } ) {
return $locale_display_lookup{ $_[0] };
}
else {
require Locales;
my ($l) = Locales::split_tag( $_[0] );
if ( $l ne $_[0] ) {
return $locale_display_lookup{$l} if exists $locale_display_lookup{$l};
}
return "\{0\}\ \(\{1\}\)";
}
}
1;
|