Fix trans
This commit is contained in:
parent
a8ca233712
commit
068112bccd
@ -480,7 +480,7 @@ if ($step == 2 && $datatoimport) {
|
|||||||
$filetoimport = '';
|
$filetoimport = '';
|
||||||
|
|
||||||
// Add format informations and link to download example
|
// Add format informations and link to download example
|
||||||
print '<tr class="liste_titre"><td colspan="6">';
|
print '<tr class="liste_titre"><td colspan="5">';
|
||||||
print $langs->trans("FileMustHaveOneOfFollowingFormat");
|
print $langs->trans("FileMustHaveOneOfFollowingFormat");
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
$list = $objmodelimport->liste_modeles($db);
|
$list = $objmodelimport->liste_modeles($db);
|
||||||
@ -490,9 +490,11 @@ if ($step == 2 && $datatoimport) {
|
|||||||
$text = $objmodelimport->getDriverDescForKey($key);
|
$text = $objmodelimport->getDriverDescForKey($key);
|
||||||
print '<td>'.$form->textwithpicto($objmodelimport->getDriverLabelForKey($key), $text).'</td>';
|
print '<td>'.$form->textwithpicto($objmodelimport->getDriverLabelForKey($key), $text).'</td>';
|
||||||
print '<td style="text-align:center">';
|
print '<td style="text-align:center">';
|
||||||
print img_picto('', 'download', 'class="paddingright opacitymedium"').'<a href="'.DOL_URL_ROOT.'/imports/emptyexample.php?format='.$key.$param.'" target="_blank" rel="noopener noreferrer">'.$langs->trans("DownloadEmptyExample");
|
print img_picto('', 'download', 'class="paddingright opacitymedium"');
|
||||||
|
print '<a href="'.DOL_URL_ROOT.'/imports/emptyexample.php?format='.$key.$param.'" target="_blank" rel="noopener noreferrer">';
|
||||||
|
print $langs->trans("DownloadEmptyExample");
|
||||||
print '</a>';
|
print '</a>';
|
||||||
print ' <span class="opacitymedium hideonsmartphone">('.$langs->trans("StarAreMandatory").')</span>';
|
print $form->textwithpicto('', $langs->trans("StarAreMandatory"));
|
||||||
print '</td>';
|
print '</td>';
|
||||||
// Action button
|
// Action button
|
||||||
print '<td style="text-align:right">';
|
print '<td style="text-align:right">';
|
||||||
@ -581,7 +583,7 @@ if ($step == 3 && $datatoimport) {
|
|||||||
print '</td><td style="text-align:right" class="nowrap">';
|
print '</td><td style="text-align:right" class="nowrap">';
|
||||||
print img_picto('', 'download', 'class="paddingright opacitymedium"').'<a href="'.DOL_URL_ROOT.'/imports/emptyexample.php?format='.$format.$param.'" target="_blank" rel="noopener noreferrer">'.$langs->trans("DownloadEmptyExample");
|
print img_picto('', 'download', 'class="paddingright opacitymedium"').'<a href="'.DOL_URL_ROOT.'/imports/emptyexample.php?format='.$format.$param.'" target="_blank" rel="noopener noreferrer">'.$langs->trans("DownloadEmptyExample");
|
||||||
print '</a>';
|
print '</a>';
|
||||||
print ' <span class="opacitymedium hideonsmartphone">('.$langs->trans("StarAreMandatory").')</span>';
|
print $form->textwithpicto('', $langs->trans("StarAreMandatory"));
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
print '</table>';
|
print '</table>';
|
||||||
|
|||||||
@ -53,8 +53,8 @@ TypeOfLineServiceOrProduct=Type of line (0=product, 1=service)
|
|||||||
FileWithDataToImport=File with data to import
|
FileWithDataToImport=File with data to import
|
||||||
FileToImport=Source file to import
|
FileToImport=Source file to import
|
||||||
FileMustHaveOneOfFollowingFormat=File to import must have one of following formats
|
FileMustHaveOneOfFollowingFormat=File to import must have one of following formats
|
||||||
DownloadEmptyExample=Download template file with field content information
|
DownloadEmptyExample=Download a template file with examples and information on fields you can import
|
||||||
StarAreMandatory=* are mandatory fields
|
StarAreMandatory=Into the template file, all fields with a * are mandatory fields
|
||||||
ChooseFormatOfFileToImport=Choose the file format to use as import file format by clicking on the %s icon to select it...
|
ChooseFormatOfFileToImport=Choose the file format to use as import file format by clicking on the %s icon to select it...
|
||||||
ChooseFileToImport=Upload file then click on the %s icon to select file as source import file...
|
ChooseFileToImport=Upload file then click on the %s icon to select file as source import file...
|
||||||
SourceFileFormat=Source file format
|
SourceFileFormat=Source file format
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user