Little bugs affecting translations

classic Classic list List threaded Threaded
1 message Options
MicheleT-2 MicheleT-2
Reply | Threaded
Open this post in threaded view
|

Little bugs affecting translations

Hi Nathan,
    I've found some missing calls to lang() function and some incorrect NoTranslation in pERP templates.

=== start missing lang() calss ===
source line change to / insert before
================================================================
perp_api/inc/class.ui_perp_api.inc.php 225 $filters = array(array('field' => 'app', 'label' => lang('Application')));
perp_ledger/inc/class.hook_perp_ledger.inc.php 170 $selects['filter'] = array('' => lang('Any'));
perp_ledger/inc/class.hook_perp_ledger.inc.php 174 'label' =>      lang('Sequence')),
perp_ledger/inc/class.hook_perp_ledger.inc.php 195 $selects['filter'] = array('' => lang('Any'));
perp_ledger/inc/class.hook_perp_ledger.inc.php 199 'label' =>      lang('Sections')),
perp_ledger/inc/class.hook_perp_ledger.inc.php 217 $selects['filter'] = array('' => lang('Any')) + $selects['group_section'];
perp_ledger/inc/class.hook_perp_ledger.inc.php 218 $selects['filter2'] = array('' => lang('Any')) + $selects['account_group'];
perp_ledger/inc/class.hook_perp_ledger.inc.php 221 'label' =>      lang('Section')),
perp_ledger/inc/class.hook_perp_ledger.inc.php 223 'label' =>      lang('Groups')),
perp_inventory/inc/forecast/Manual.inc.php 71 'filter2_label'         =>      lang('Status'),
perp_inventory/inc/forecast/Manual.inc.php 114 'label' =>      lang('Manual Forecast Usage Per'),
perp_ledger/inc/report/class.general_ledger_chart_of_accounts.inc.php 38 'account_id' => lang('Account Number'),
perp_ledger/inc/report/class.general_ledger_chart_of_accounts.inc.php 39 'account_name' => lang('Account Name'),
perp_ledger/inc/report/class.general_ledger_chart_of_accounts.inc.php 40 'group_name' => lang('Group Name'),
perp_ledger/inc/report/class.general_ledger_chart_of_accounts.inc.php 59 $this->filename = lang('general_ledger_chart_of_accounts');
perp_ledger/inc/report/class.general_ledger_listing.inc.php 154 $this->filename = lang('general_ledger_listing');
perp_ledger/inc/report/class.income_statement.inc.php 139 $this->filename = lang('income_statement');
perp_ledger/inc/report/class.trial_balance.inc.php 91 $this->filename = lang('trial_balance');
=== end missing lang() calss ===

=== start NoTranslation to remove ===
template field
=========================================
perp_api.admin_config exchange_rate_datasource
perp_api.admin.acl.row ${row}[location]
perp_api.report_list.row ${row}[report_name]
=== end NoTranslation to remove ===