Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93073249
PhutilCzechLocale.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Nov 26, 00:18
Size
534 B
Mime Type
text/x-php
Expires
Thu, Nov 28, 00:18 (2 d)
Engine
blob
Format
Raw Data
Handle
22570175
Attached To
rPHU libphutil
PhutilCzechLocale.php
View Options
<?php
/**
* Locale for "Czech (Czech Republic)".
*/
final
class
PhutilCzechLocale
extends
PhutilLocale
{
public
function
getLocaleCode
()
{
return
'cs_CZ'
;
}
public
function
getLocaleName
()
{
return
pht
(
'Czech (Czech Republic)'
);
}
public
function
selectPluralVariant
(
$variant
,
array
$translations
)
{
list
(
$singular
,
$paucal
,
$plural
)
=
$translations
;
if
(
$variant
==
1
)
{
return
$singular
;
}
if
(
$variant
>=
2
&&
$variant
<=
4
)
{
return
$paucal
;
}
return
$plural
;
}
}
Event Timeline
Log In to Comment