Translation:add gettext function, improve extract_text

Add everywhere the missing gettext function and improve
the script for extracting string
This commit is contained in:
Dany De Bontridder 2014-02-14 23:42:28 +01:00
parent b87f987c73
commit 38311bd212
97 changed files with 13993 additions and 15415 deletions

View file

@ -24,7 +24,7 @@ require_once ('class_anc_plan.php');
<?php
$date=new IDate('p_date');
$date->value=format_date($obj->det->jr_date);
echo td('Date').td($date->input());
echo td(_('Date')).td($date->input());
?>
</td>
@ -41,7 +41,7 @@ require_once ('class_anc_plan.php');
?>
</td></tr>
<tr><td>
<?php echo td('montant').td(nbm($obj->det->jr_montant),' class="inum"');?>
<?php echo td(_('Montant')).td(nbm($obj->det->jr_montant),' class="inum"');?>
</td></tr>
<tr><td>
<?php