Skip to content
Snippets Groups Projects
Commit 27cf4940 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix bad translation

parent 2d9c53fc
No related branches found
No related tags found
No related merge requests found
......@@ -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
\ No newline at end of file
ShowMarginInfos=Show margin infos
CheckMargins=Margins detail
\ No newline at end of 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>';
......
......@@ -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>';
......
......@@ -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>";
......
......@@ -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();
......
......@@ -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>";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment