Fix bad translation

This commit is contained in:
Laurent Destailleur 2016-03-30 23:33:19 +02:00
parent 2d9c53fc26
commit 27cf494009
6 changed files with 11 additions and 8 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

@ -108,7 +108,7 @@ print '<td width="20%">';
$form->select_date($enddate,'enddate','','',1,"sel",1,1);
print '</td>';
print '<td style="text-align: center;">';
print '<input type="submit" class="button" value="'.dol_escape_htmltag($langs->trans('Launch')).'" />';
print '<input type="submit" class="button" value="'.dol_escape_htmltag($langs->trans('Refresh')).'" />';
print '</td></tr>';
print "</table>";
print '</form>';

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%">';
@ -133,7 +133,7 @@ print '<td width="20%">';
$form->select_date($enddate, 'enddate', '', '', 1, "sel", 1, 1);
print '</td>';
print '<td style="text-align: center;">';
print '<input type="submit" class="button" value="' . dol_escape_htmltag($langs->trans('Launch')) . '" name="button_search" />';
print '<input type="submit" class="button" value="' . dol_escape_htmltag($langs->trans('Refresh')) . '" name="button_search" />';
print '</td></tr>';
print "</table>";
@ -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

@ -129,7 +129,7 @@ print '<td width="20%">';
$form->select_date($enddate,'enddate','','',1,"sel",1,1);
print '</td>';
print '<td style="text-align: center;">';
print '<input type="submit" class="button" value="'.dol_escape_htmltag($langs->trans('Launch')).'" />';
print '<input type="submit" class="button" value="'.dol_escape_htmltag($langs->trans('Refresh')).'" />';
print '</td></tr>';
print "</table>";

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();

View File

@ -131,7 +131,7 @@ print '<td width="20%">';
$form->select_date($enddate,'enddate','','',1,"sel",1,1);
print '</td>';
print '<td style="text-align: center;">';
print '<input type="submit" class="button" value="'.dol_escape_htmltag($langs->trans('Launch')).'" />';
print '<input type="submit" class="button" value="'.dol_escape_htmltag($langs->trans('Refresh')).'" />';
print '</td></tr>';
print "</table>";