mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
Translation for placeholder labels
This commit is contained in:
parent
5740888427
commit
aab8157907
@ -63,6 +63,7 @@ abstract class bo_merge
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
translation::add_app('addressbook');
|
||||
$this->contacts = new addressbook_bo();
|
||||
|
||||
$this->datetime_format = $GLOBALS['egw_info']['user']['preferences']['common']['dateformat'].' '.
|
||||
|
@ -134,6 +134,7 @@ class infolog_merge extends bo_merge
|
||||
$n = 0;
|
||||
$tracking = new infolog_tracking($this->bo);
|
||||
$fields = array('info_id' => lang('Infolog ID'), 'pm_id' => lang('Project ID'), 'project' => lang('Project name')) + $tracking->field2label;
|
||||
translation::add_app('projectmanager');
|
||||
foreach($fields as $name => $label)
|
||||
{
|
||||
if (in_array($name,array('custom'))) continue; // dont show them
|
||||
@ -144,7 +145,7 @@ class infolog_merge extends bo_merge
|
||||
$n++;
|
||||
}
|
||||
if (!($n&1)) echo '<tr>';
|
||||
echo '<td>{{'.$name.'}}</td><td>'.$label.'</td>';
|
||||
echo '<td>{{'.$name.'}}</td><td>'.lang($label).'</td>';
|
||||
if ($n&1) echo "</tr>\n";
|
||||
$n++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user