Fix missing translation

This commit is contained in:
Laurent Destailleur 2016-03-30 23:33:19 +02:00
parent 2d9c53fc26
commit 519d7d63b6
3 changed files with 7 additions and 4 deletions

View File

@ -46,4 +46,5 @@ AgentContactType=Commercial agent contact type
AgentContactTypeDetails=Define what contact type (linked on invoices) will be used for margin report per sale representative
rateMustBeNumeric=Rate must be a numeric value
markRateShouldBeLesserThan100=Mark rate should be lower than 100
ShowMarginInfos=Show margin infos
ShowMarginInfos=Show margin infos
CheckMargins=Margins detail

View File

@ -109,7 +109,7 @@ $productstatic = new Product($db);
$form = new Form($db);
$title = $langs->trans("CheckMargins");
$title = $langs->trans("Margins");
llxHeader('', $title);
@ -118,7 +118,7 @@ llxHeader('', $title);
// Show tabs
$head = marges_prepare_head($user);
$picto = 'margin';
dol_fiche_head($head, 'checkMargins', $title, 0, $picto);
dol_fiche_head($head, $langs->trans('checkMargins'), $title, 0, $picto);
print '<form method="post" name="sel" action="' . $_SERVER['PHP_SELF'] . '">';
print '<table class="border" width="100%">';
@ -243,6 +243,8 @@ if ($result) {
dol_print_error($db);
}
dol_fiche_end();
print '<div class="tabsAction">' . "\n";
print '<div class="inline-block divButAction"><input type="submit" name="button_updatemagins" id="button_updatemagins" class="butAction" value="' . $langs->trans("Update") . '" /></div>';
print '</div>';

View File

@ -59,7 +59,7 @@ function marges_admin_prepare_head()
function marges_prepare_head()
{
global $langs, $conf, $user;
$langs->load("marges@marges");
$langs->load("margins");
$h = 0;
$head = array();