Update references of MO translation string

This commit is contained in:
Alfredo Altamirano 2020-10-26 15:44:26 -06:00
parent 43fd659d2a
commit 214cd2c99b
10 changed files with 11 additions and 11 deletions

View File

@ -364,7 +364,7 @@ function show_stats_for_company($product, $socid)
if ($ret < 0) dol_print_error($db);
$langs->load("orders");
print '<tr><td>';
print '<a href="mo.php?id='.$product->id.'">'.img_object('', 'mrp').' '.$langs->trans("MO").'</a>';
print '<a href="mo.php?id=' . $product->id . '">' . img_object('', 'mrp') . ' ' . $langs->trans("ManufacturingOrder") . '</a>';
print '</td><td class="right">';
print $product->stats_mo['suppliers'];
print '</td><td class="right">';

View File

@ -1000,7 +1000,7 @@ class Mo extends CommonObject
$result = '';
$label = '<u>'.$langs->trans("MO").'</u>';
$label = '<u>' . $langs->trans("ManufacturingOrder") . '</u>';
$label .= '<br>';
$label .= '<b>'.$langs->trans('Ref').':</b> '.$this->ref;
if (isset($this->status)) {

View File

@ -96,7 +96,7 @@ if ($conf->use_javascript_ajax)
print '<div class="div-table-responsive-no-min">';
print '<table class="noborder nohover centpercent">';
print '<tr class="liste_titre"><th colspan="2">'.$langs->trans("Statistics").' - '.$langs->trans("MO").'</th></tr>'."\n";
print '<tr class="liste_titre"><th colspan="2">' . $langs->trans("Statistics") . ' - ' . $langs->trans("ManufacturingOrder") . '</th></tr>' . "\n";
$listofstatus = array(0, 1, 2, 3, 9);
foreach ($listofstatus as $status)
{

View File

@ -37,7 +37,7 @@ function moPrepareHead($object)
$head = array();
$head[$h][0] = DOL_URL_ROOT.'/mrp/mo_card.php?id='.$object->id;
$head[$h][1] = $langs->trans("MO");
$head[$h][1] = $langs->trans("ManufacturingOrder");
$head[$h][2] = 'card';
$h++;

View File

@ -133,7 +133,7 @@ if ($object->id > 0)
$head = moPrepareHead($object);
dol_fiche_head($head, 'agenda', $langs->trans("MO"), -1, $object->picto);
dol_fiche_head($head, 'agenda', $langs->trans("ManufacturingOrder"), -1, $object->picto);
// Object card
// ------------------------------------------------------------

View File

@ -336,7 +336,7 @@ if ($action == 'create')
// Part to edit record
if (($id || $ref) && $action == 'edit')
{
print load_fiche_titre($langs->trans("MO"), '', 'mrp');
print load_fiche_titre($langs->trans("ManufacturingOrder"), '', 'mrp');
print '<form method="POST" action="'.$_SERVER["PHP_SELF"].'">';
print '<input type="hidden" name="token" value="'.newToken().'">';
@ -375,7 +375,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
$res = $object->fetch_optionals();
$head = moPrepareHead($object);
dol_fiche_head($head, 'card', $langs->trans("MO"), -1, $object->picto);
dol_fiche_head($head, 'card', $langs->trans("ManufacturingOrder"), -1, $object->picto);
$formconfirm = '';

View File

@ -103,7 +103,7 @@ if ($object->id)
*/
$head = moPrepareHead($object);
dol_fiche_head($head, 'document', $langs->trans("MO"), -1, $object->picto);
dol_fiche_head($head, 'document', $langs->trans("ManufacturingOrder"), -1, $object->picto);
// Build file list

View File

@ -256,7 +256,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
$res = $object->fetch_optionals();
$head = moPrepareHead($object);
dol_fiche_head($head, 'stockmovement', $langs->trans("MO"), -1, $object->picto);
dol_fiche_head($head, 'stockmovement', $langs->trans("ManufacturingOrder"), -1, $object->picto);
$formconfirm = '';

View File

@ -87,7 +87,7 @@ if ($id > 0 || !empty($ref))
$head = moPrepareHead($object);
dol_fiche_head($head, 'note', $langs->trans("MO"), -1, $object->picto);
dol_fiche_head($head, 'note', $langs->trans("ManufacturingOrder"), -1, $object->picto);
// Object card
// ------------------------------------------------------------

View File

@ -436,7 +436,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
$res = $object->fetch_optionals();
$head = moPrepareHead($object);
dol_fiche_head($head, 'production', $langs->trans("MO"), -1, $object->picto);
dol_fiche_head($head, 'production', $langs->trans("ManufacturingOrder"), -1, $object->picto);
$formconfirm = '';