mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
11 lines
436 B
Text
11 lines
436 B
Text
|
<?php
|
||
|
$count = 10;
|
||
|
$message = array('count' => 10);
|
||
|
|
||
|
// Plural
|
||
|
__n('You have %d new message.', 'You have %d new messages.', $count);
|
||
|
__n('You deleted %d message.', 'You deleted %d messages.', $messages['count']);
|
||
|
|
||
|
// Domain Plural
|
||
|
__dn('domain', 'You have %d new message (domain).', 'You have %d new messages (domain).', '10');
|
||
|
__dn('domain', 'You deleted %d message (domain).', 'You deleted %d messages (domain).', $messages['count']);
|