Browse Source

Missing translation

Laurent Destailleur 9 years ago
parent
commit
5fd64c81a6
3 changed files with 8 additions and 3 deletions
  1. 1 1
      htdocs/admin/pdf.php
  2. 1 1
      htdocs/core/lib/pdf.lib.php
  3. 6 1
      htdocs/langs/en_US/admin.lang

+ 1 - 1
htdocs/admin/pdf.php

@@ -263,7 +263,7 @@ if ($action == 'edit')	// Edit
     print '</td></tr>';
 	
 	$var=!$var;
-    print '<tr '.$bc[$var].'><td>'.$langs->trans("ShowDetailsInPDFPageFoot").'</td><td colspan="2">';
+    print '<tr '.$bc[$var].'><td>'.$langs->trans("ShowDetailsInPDFPageFoot").'</td><td>';
 	print $form->selectarray('MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS', $arraydetailsforpdffoot, $conf->global->MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS);
 	print '</td></tr>';
 

+ 1 - 1
htdocs/core/lib/pdf.lib.php

@@ -807,7 +807,7 @@ function pdf_bank(&$pdf,$outputlangs,$curx,$cury,$account,$onlynumber=0,$default
  * 	@param	int			$marge_gauche	Margin left (no more used)
  * 	@param	int			$page_hauteur	Page height (no more used)
  * 	@param	Object		$object			Object shown in PDF
- * 	@param	int			$showdetails	Show company details into footer. This param seems to not be used by standard version. (1=Show address, 2=Show managers, 3=Both)
+ * 	@param	int			$showdetails	Show company adress details into footer (0=Nothing, 1=Show address, 2=Show managers, 3=Both)
  *  @param	int			$hidefreetext	1=Hide free text, 0=Show free text
  * 	@return	int							Return height of bottom margin including footer text
  */

+ 6 - 1
htdocs/langs/en_US/admin.lang

@@ -423,7 +423,12 @@ AllBarcodeReset=All barcode values have been removed
 NoBarcodeNumberingTemplateDefined=No numbering barcode template enabled into barcode module setup.
 NoRecordWithoutBarcodeDefined=No record with no barcode value defined.
 EnableFileCache=Enable file cache
-
+ShowDetailsInPDFPageFoot=Add more details into footer of PDF files, like your company address, or manager names (to complete professional ids, capital and VAT number).
+NoDetails=No more details in footer
+DisplayCompanyInfo=Display company address
+DisplayCompanyManager=Display manager names
+DisplayCompanyInfoAndManagers=Display company and manager names 
+  
 # Modules
 Module0Name=Users & groups
 Module0Desc=Users and groups management