Translation of selection lists

thread: 4 messages  |  last: about 5 years ago  |  started: friday, august 25, 2006, 10:48 am pdt


#1  |  Andreas Rehm (Limeshain / DE)
Friday, August 25, 2006, 10:48 AM PDT

Hi!

codegen does not create a translated selection lists hint (- Select One -) in forms_generated. Could you please change the file includes/qcodo/codegen/subtemplates/control_create_reference.tpl (and control_create_type.tpl):

$this->lstSOMELISTObject->AddItem('- Select One -', null);

to

$this->lstSOMELISTObject->AddItem(QApplication::Translate('- Select One -'), null);


Regards,
Andreas

#2  |  Stockton (Buenos Aires, Argentina)
Monday, August 28, 2006, 9:16 AM PDT

also in control_create_unique_reversereference.tpl ;)

edit: also the message “an error ocurred during AJAX response parsing.....”

#3  |  Stockton (Buenos Aires, Argentina)
Monday, August 28, 2006, 12:26 PM PDT

another one:
when a QListBox is required, the warning still says “[Name] is required” instead of (in spanish) “[Name] es obligatorio”
the lines to change are 106 and 111 of QListBoxBase.inc

#4  |  Mike Ho (Sunnyvale, CA) United States of America Qcodo Administrator
Monday, August 28, 2006, 5:53 PM PDT

Thanks for the post... this should be fixed with 0.2.15.



Copyright © 2005 - 2012, Quasidea Development, LLC
This open-source framework for PHP is released under the terms of The MIT License.