view cake/tests/test_app/views/pages/extract.ctp @ 0:261e66bd5a0c

hg init
author Shoshi TAMAKI <>
date Sun, 24 Jul 2011 21:08:31 +0900
line wrap: on
line source

$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');