mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-16 03:48:24 +00:00
14 lines
No EOL
485 B
PHP
14 lines
No EOL
485 B
PHP
<?php
|
|
$count = 10;
|
|
$messages = 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']);
|
|
|
|
// Duplicated Message
|
|
__('Editing this Page'); |