internationalization - CakePHP Getting Language Strings from Labels with Extract -


i getting language strings labels extract.

i have following code in view:

        <?php echo $this->form->input('observee', array('label' => __(observee), 'type' => 'select', 'options' => $resultstaff, 'class' => 'input-large select')); ?> 

when run cake i18n extract other language strings view expected not of ones being used in labels.

am missing here or bug?

careful

__(observee) 

is not valid php, ide should warn it

correct be:

__('observee') 

Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -