Fix labels

This commit is contained in:
Laurent Destailleur 2016-12-06 15:03:39 +01:00
parent db9af0118c
commit 2a8f23e8c5
3 changed files with 4 additions and 4 deletions

View File

@ -1629,7 +1629,7 @@ if ($action == 'create' && $user->rights->commande->creer)
} }
// Template to use by default // Template to use by default
print '<tr><td>' . $langs->trans('Model') . '</td>'; print '<tr><td>' . $langs->trans('DefaultModel') . '</td>';
print '<td colspan="2">'; print '<td colspan="2">';
include_once DOL_DOCUMENT_ROOT . '/core/modules/commande/modules_commande.php'; include_once DOL_DOCUMENT_ROOT . '/core/modules/commande/modules_commande.php';
$liste = ModelePDFCommandes::liste_modeles($db); $liste = ModelePDFCommandes::liste_modeles($db);

View File

@ -767,7 +767,7 @@ if ($action == 'create')
$liste = ModelePdfExpedition::liste_modeles($db); $liste = ModelePdfExpedition::liste_modeles($db);
if (count($liste) > 1) if (count($liste) > 1)
{ {
print "<tr><td>".$langs->trans("Model")."</td>"; print "<tr><td>".$langs->trans("DefaultModel")."</td>";
print '<td colspan="3">'; print '<td colspan="3">';
print $form->selectarray('model', $liste, $conf->global->EXPEDITION_ADDON_PDF); print $form->selectarray('model', $liste, $conf->global->EXPEDITION_ADDON_PDF);
print "</td></tr>\n"; print "</td></tr>\n";

View File

@ -205,8 +205,8 @@ Info=Log
Family=Family Family=Family
Description=Description Description=Description
Designation=Description Designation=Description
Model=Model Model=Doc template
DefaultModel=Default model DefaultModel=Default doc template
Action=Event Action=Event
About=About About=About
Number=Number Number=Number