浏览代码

Clean language files

Laurent Destailleur 9 年之前
父节点
当前提交
4382f2a437
共有 36 个文件被更改,包括 43 次插入74 次删除
  1. 9 7
      dev/translation/sanity_check_en_langfiles.php
  2. 1 1
      htdocs/compta/bank/search.php
  3. 2 2
      htdocs/core/lib/pdf.lib.php
  4. 2 2
      htdocs/core/modules/mailings/thirdparties_services_expired.modules.php
  5. 1 1
      htdocs/core/modules/modExpedition.class.php
  6. 0 2
      htdocs/langs/en_US/accountancy.lang
  7. 0 2
      htdocs/langs/en_US/banks.lang
  8. 1 3
      htdocs/langs/en_US/bills.lang
  9. 0 3
      htdocs/langs/en_US/categories.lang
  10. 0 2
      htdocs/langs/en_US/companies.lang
  11. 1 0
      htdocs/langs/en_US/errors.lang
  12. 0 4
      htdocs/langs/en_US/exports.lang
  13. 0 1
      htdocs/langs/en_US/help.lang
  14. 1 1
      htdocs/langs/en_US/loan.lang
  15. 7 2
      htdocs/langs/en_US/main.lang
  16. 0 2
      htdocs/langs/en_US/margins.lang
  17. 0 3
      htdocs/langs/en_US/multicurrency.lang
  18. 0 1
      htdocs/langs/en_US/orders.lang
  19. 0 1
      htdocs/langs/en_US/other.lang
  20. 0 3
      htdocs/langs/en_US/products.lang
  21. 0 2
      htdocs/langs/en_US/projects.lang
  22. 0 1
      htdocs/langs/en_US/propal.lang
  23. 0 3
      htdocs/langs/en_US/sendings.lang
  24. 0 3
      htdocs/langs/en_US/sms.lang
  25. 0 3
      htdocs/langs/en_US/suppliers.lang
  26. 0 1
      htdocs/langs/en_US/website.lang
  27. 1 1
      htdocs/loan/calc.php
  28. 4 4
      htdocs/loan/card.php
  29. 1 1
      htdocs/loan/document.php
  30. 1 1
      htdocs/loan/index.php
  31. 1 1
      htdocs/loan/payment/card.php
  32. 2 2
      htdocs/loan/payment/payment.php
  33. 2 2
      htdocs/margin/agentMargins.php
  34. 2 2
      htdocs/margin/checkMargins.php
  35. 2 2
      htdocs/margin/customerMargins.php
  36. 2 2
      htdocs/margin/productMargins.php

+ 9 - 7
dev/translation/sanity_check_en_langfiles.php

@@ -96,10 +96,11 @@ if ($web) print "<br>";
 
 
 // directory containing the php and lang files
-$htdocs 	= $path."/../../htdocs/";
+$htdocs = $path."../../htdocs/";
+$scripts = $path."../../scripts/";
 
 // directory containing the english lang files
-$workdir 	= $htdocs."langs/en_US/";
+$workdir = $htdocs."langs/en_US/";
 
 
 $files = scandir($workdir);
@@ -241,17 +242,18 @@ if ($web)
 
 // STEP 2 - Search key not used
 
-
-if (! empty($_REQUEST['unused']) && $_REQUEST['unused'] == 'true')
+if ((! empty($_REQUEST['unused']) && $_REQUEST['unused'] == 'true') || (isset($argv[1]) && $argv[1]=='unused=true'))
 {
 	foreach ($langstrings_dist AS $value)
 	{
-		$search = '\'trans("'.$value.'")\'';
-		$string =  'grep -R -m 1 -F --exclude=includes/* --include=*.php '.$search.' '.$htdocs.'*';
+		//$search = '\'trans("'.$value.'")\'';
+	    $search = '-e "\''.$value.'\'" -e \'"'.$value.'"\'';
+		$string =  'grep -R -m 1 -F --exclude=includes/* --include=*.php '.$search.' '.$htdocs.'* '.$scripts.'*';
+		//print $string."<br>\n";
 		exec($string,$output);
 		if (empty($output)) {
 			$unused[$value] = true;
-			echo $value.'<br>';
+			echo $value."<br>\n";
 		}
 	}
 

+ 1 - 1
htdocs/compta/bank/search.php

@@ -190,7 +190,7 @@ if ($resql)
 	
 	$moreforfilter = '';
 	$moreforfilter.='<div class="divsearchfield">';
-	$moreforfilter .= $langs->trans('Period') . ' ('.$langs->trans('DateOperationShort').') : ' . $langs->trans('StartDate') . ' ';
+	$moreforfilter .= $langs->trans('Period') . ' ('.$langs->trans('DateOperationShort').') : ' . $langs->trans('DateStart') . ' ';
 	$moreforfilter .= $form->select_date($search_dt_start, 'search_start_dt', 0, 0, 1, "search_form", 1, 0, 1);
 	$moreforfilter .= ' - ';
 	$moreforfilter .= $langs->trans('EndDate') . ' ' . $form->select_date($search_dt_end, 'search_end_dt', 0, 0, 1, "search_form", 1, 0, 1);

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

@@ -1948,7 +1948,7 @@ function pdf_getLinkedObjects($object,$outputlangs)
 			        $linkedobjects[$objecttype]['ref_title'] = $outputlangs->transnoentities("RefSending");
 			        if (! empty($linkedobjects[$objecttype]['ref_value'])) $linkedobjects[$objecttype]['ref_value'].=' / ';
 			        $linkedobjects[$objecttype]['ref_value'].= $outputlangs->transnoentities($elementobject->ref);
-			        //$linkedobjects[$objecttype]['date_title'] = $outputlangs->transnoentities("DateSending");
+			        //$linkedobjects[$objecttype]['date_title'] = $outputlangs->transnoentities("DateShipment");
 			        //if (! empty($linkedobjects[$objecttype]['date_value'])) $linkedobjects[$objecttype]['date_value'].=' / '; 
 			        //$linkedobjects[$objecttype]['date_value'].= dol_print_date($elementobject->date_delivery,'day','',$outputlangs);
 			    }
@@ -1957,7 +1957,7 @@ function pdf_getLinkedObjects($object,$outputlangs)
 			        $linkedobjects[$objecttype]['ref_title'] = $outputlangs->transnoentities("RefOrder") . ' / ' . $outputlangs->transnoentities("RefSending");
 			        if (empty($linkedobjects[$objecttype]['ref_value'])) $linkedobjects[$objecttype]['ref_value'] = $outputlangs->convToOutputCharset($order->ref) . ($order->ref_client ? ' ('.$order->ref_client.')' : '');
 			        $linkedobjects[$objecttype]['ref_value'].= ' / ' . $outputlangs->transnoentities($elementobject->ref);
-			        //$linkedobjects[$objecttype]['date_title'] = $outputlangs->transnoentities("OrderDate") . ($elementobject->date_delivery ? ' / ' . $outputlangs->transnoentities("DateSending") : '');
+			        //$linkedobjects[$objecttype]['date_title'] = $outputlangs->transnoentities("OrderDate") . ($elementobject->date_delivery ? ' / ' . $outputlangs->transnoentities("DateShipment") : '');
 			        //if (empty($linkedobjects[$objecttype]['date_value'])) $linkedobjects[$objecttype]['date_value'] = dol_print_date($order->date,'day','',$outputlangs);
 			        //$linkedobjects[$objecttype]['date_value'].= ($elementobject->date_delivery ? ' / ' . dol_print_date($elementobject->date_delivery,'day','',$outputlangs) : '');
 			    }

+ 2 - 2
htdocs/core/modules/mailings/thirdparties_services_expired.modules.php

@@ -128,8 +128,8 @@ class mailing_thirdparties_services_expired extends MailingTargets
 					'lastname' => $obj->name,	// For thirdparties, lastname must be name
                     'firstname' => '',			// For thirdparties, firstname is ''
 					'other' =>
-                    ('StartDate='.dol_print_date($this->db->jdate($obj->date_ouverture),'day')).';'.
-                    ('EndDate='.dol_print_date($this->db->jdate($obj->date_fin_validite),'day')).';'.
+                    ('DateStart='.dol_print_date($this->db->jdate($obj->date_ouverture),'day')).';'.
+                    ('DateEnd='.dol_print_date($this->db->jdate($obj->date_fin_validite),'day')).';'.
                     ('Contract='.$obj->fk_contrat).';'.
                     ('ContactLine='.$obj->cdid),
 					'source_url' => $this->url($obj->id),

+ 1 - 1
htdocs/core/modules/modExpedition.class.php

@@ -236,7 +236,7 @@ class modExpedition extends DolibarrModules
 		$this->export_code[$r]=$this->rights_class.'_'.$r;
 		$this->export_label[$r]='Shipments';	// Translation key (used only if key ExportDataset_xxx_z not found)
 		$this->export_permission[$r]=array(array("expedition","shipment","export"));
-		$this->export_fields_array[$r]=array('s.rowid'=>"IdCompany",'s.nom'=>'ThirdParty','s.address'=>'Address','s.zip'=>'Zip','s.town'=>'Town','d.nom'=>'State','co.label'=>'Country','co.code'=>'CountryCode','s.phone'=>'Phone','s.siren'=>'ProfId1','s.siret'=>'ProfId2','s.ape'=>'ProfId3','s.idprof4'=>'ProfId4','s.idprof5'=>'ProfId5','s.idprof6'=>'ProfId6','c.rowid'=>"Id",'c.ref'=>"Ref",'c.ref_customer'=>"RefCustomer",'c.fk_soc'=>"IdCompany",'c.date_creation'=>"DateCreation",'c.date_delivery'=>"DateSending",'c.tracking_number'=>"TrackingNumber",'c.height'=>"Height",'c.width'=>"Width",'c.size'=>"Depth",'c.size_units'=>'SizeUnits','c.weight'=>"Weight",'c.weight_units'=>"WeightUnits",'c.fk_statut'=>'Status','c.note_public'=>"NotePublic",'ed.rowid'=>'LineId','cd.description'=>'Description','ed.qty'=>"Qty",'p.rowid'=>'ProductId','p.ref'=>'ProductRef','p.label'=>'ProductLabel','p.weight'=>'ProductWeight','p.weight_units'=>'WeightUnits','p.volume'=>'ProductVolume','p.volume_units'=>'VolumeUnits');
+		$this->export_fields_array[$r]=array('s.rowid'=>"IdCompany",'s.nom'=>'ThirdParty','s.address'=>'Address','s.zip'=>'Zip','s.town'=>'Town','d.nom'=>'State','co.label'=>'Country','co.code'=>'CountryCode','s.phone'=>'Phone','s.siren'=>'ProfId1','s.siret'=>'ProfId2','s.ape'=>'ProfId3','s.idprof4'=>'ProfId4','s.idprof5'=>'ProfId5','s.idprof6'=>'ProfId6','c.rowid'=>"Id",'c.ref'=>"Ref",'c.ref_customer'=>"RefCustomer",'c.fk_soc'=>"IdCompany",'c.date_creation'=>"DateCreation",'c.date_delivery'=>"DateDeliveryPlanned",'c.tracking_number'=>"TrackingNumber",'c.height'=>"Height",'c.width'=>"Width",'c.size'=>"Depth",'c.size_units'=>'SizeUnits','c.weight'=>"Weight",'c.weight_units'=>"WeightUnits",'c.fk_statut'=>'Status','c.note_public'=>"NotePublic",'ed.rowid'=>'LineId','cd.description'=>'Description','ed.qty'=>"Qty",'p.rowid'=>'ProductId','p.ref'=>'ProductRef','p.label'=>'ProductLabel','p.weight'=>'ProductWeight','p.weight_units'=>'WeightUnits','p.volume'=>'ProductVolume','p.volume_units'=>'VolumeUnits');
 		if ($idcontacts && ! empty($conf->global->SHIPMENT_ADD_CONTACTS_IN_EXPORT)) $this->export_fields_array[$r]+=array('sp.rowid'=>'IdContact','sp.lastname'=>'Lastname','sp.firstname'=>'Firstname','sp.note_public'=>'NotePublic');
 		//$this->export_TypeFields_array[$r]=array('s.rowid'=>"List:societe:nom",'s.nom'=>'Text','s.address'=>'Text','s.zip'=>'Text','s.town'=>'Text','co.label'=>'List:c_country:label:label','co.code'=>'Text','s.phone'=>'Text','s.siren'=>'Text','s.siret'=>'Text','s.ape'=>'Text','s.idprof4'=>'Text','c.ref'=>"Text",'c.ref_client'=>"Text",'c.date_creation'=>"Date",'c.date_commande'=>"Date",'c.amount_ht'=>"Numeric",'c.remise_percent'=>"Numeric",'c.total_ht'=>"Numeric",'c.total_ttc'=>"Numeric",'c.facture'=>"Boolean",'c.fk_statut'=>'Status','c.note_public'=>"Text",'c.date_livraison'=>'Date','ed.qty'=>"Text");
 		$this->export_TypeFields_array[$r]=array('s.nom'=>'Text','s.address'=>'Text','s.zip'=>'Text','s.town'=>'Text','co.label'=>'List:c_country:label:label','co.code'=>'Text','s.phone'=>'Text','s.siren'=>'Text','s.siret'=>'Text','s.ape'=>'Text','s.idprof4'=>'Text','c.ref'=>"Text",'c.ref_customer'=>"Text",'c.date_creation'=>"Date",'c.date_delivery'=>"Date",'c.tracking_number'=>"Numeric",'c.height'=>"Numeric",'c.width'=>"Numeric",'c.weight'=>"Numeric",'c.fk_statut'=>'Status','c.note_public'=>"Text",'ed.qty'=>"Numeric",'d.nom'=>'Text');

+ 0 - 2
htdocs/langs/en_US/accountancy.lang

@@ -148,7 +148,6 @@ MvtNotCorrectlyBalanced=Mouvement not correctly balanced. Credit = %s. Debit = %
 FicheVentilation=Breakdown card
 GeneralLedgerIsWritten=Operations are written in the general ledger
 
-MvtNotCorrectlyBalanced=Mouvement not correctly balanced. Credit = %s. Debit = %s
 ## Admin
 ApplyMassCategories=Apply mass categories
 
@@ -177,7 +176,6 @@ OptionModeProductBuyDesc=Show all products with no accounting account defined fo
 
 ## Dictionary
 Range=Range of accounting account
-Sens=Sens
 Calculated=Calculated
 Formula=Formula
 

+ 0 - 2
htdocs/langs/en_US/banks.lang

@@ -163,8 +163,6 @@ LabelRIB=BAN Label
 NoBANRecord=No BAN record
 DeleteARib=Delete BAN record
 ConfirmDeleteRib=Are you sure you want to delete this BAN record ?
-StartDate=Start date
-EndDate=End date
 RejectCheck=Check returned
 ConfirmRejectCheck=Are you sure you want to mark this check as rejected ?
 RejectCheckDate=Date the check was returned

+ 1 - 3
htdocs/langs/en_US/bills.lang

@@ -435,7 +435,7 @@ RevenueStamp=Revenue stamp
 YouMustCreateInvoiceFromThird=This option is only available when creating invoice from tab "customer" of thirdparty
 YouMustCreateStandardInvoiceFirstDesc=You have to create a standard invoice first and convert it to "template" to create a new template invoice
 PDFCrabeDescription=Invoice PDF template Crabe. A complete invoice template (recommended Template)
-PDFCrevetteDescription=Invoice PDF template Crevette. A complete invoice template for invoice situation
+PDFCrevetteDescription=Invoice PDF template Crevette. A complete invoice template for situation invoices
 TerreNumRefModelDesc1=Return number with format %syymm-nnnn for standard invoices and %syymm-nnnn for credit notes where yy is year, mm is month and nnnn is a sequence with no break and no return to 0
 MarsNumRefModelDesc1=Return number with format %syymm-nnnn for standard invoices, %syymm-nnnn for replacement invoices, %syymm-nnnn for deposit invoices and %syymm-nnnn for credit notes where yy is year, mm is month and nnnn is a sequence with no break and no return to 0
 TerreNumRefModelError=A bill starting with $syymm already exists and is not compatible with this model of sequence. Remove it or rename it to activate this module.
@@ -456,7 +456,6 @@ InvoiceSituationAsk=Invoice following the situation
 InvoiceSituationDesc=Create a new situation following an already existing one
 SituationAmount=Situation invoice amount(net)
 SituationDeduction=Situation subtraction
-Progress=Progress
 ModifyAllLines=Modify all lines
 CreateNextSituationInvoice=Create next situation
 NotLastInCycle=This invoice is not the latest in cycle and must not be modified.
@@ -468,7 +467,6 @@ InvoiceSituationLast=Final and general invoice
 PDFCrevetteSituationNumber=Situation N°%s
 PDFCrevetteSituationInvoiceLineDecompte=Situation invoice - COUNT
 PDFCrevetteSituationInvoiceTitle=Situation invoice
-PDFCrevetteDescription=Invoice PDF template Crevette. A invoice template if you use situation invoice
 PDFCrevetteSituationInvoiceLine=Situation N°%s : Inv. N°%s on %s
 TotalSituationInvoice=Total situation
 invoiceLineProgressError=Invoice line progress can't be greater than or equal to the next invoice line

+ 0 - 3
htdocs/langs/en_US/categories.lang

@@ -55,7 +55,6 @@ SupplierHasNoCategory=This supplier is not in any tags/categories
 CompanyHasNoCategory=This thirdparty is not in any tags/categories
 MemberHasNoCategory=This member is not in any tags/categories
 ContactHasNoCategory=This contact is not in any tags/categories
-ContactHasNoCategory=This contact is not in any tags/categories
 AccountHasNoCategory=This account is not in any tags/categories
 ClassifyInCategory=Add to tag/category
 NoneCategory=None
@@ -106,8 +105,6 @@ CatCusLinks=Links between customers/prospects and tags/categories
 CatProdLinks=Links between products/services and tags/categories
 CatMemberLinks=Links between members and tags/categories
 DeleteFromCat=Remove from tags/category
-DeletePicture=Picture delete
-ConfirmDeletePicture=Confirm picture deletion?
 ExtraFieldsCategories=Complementary attributes
 CategoriesSetup=Tags/categories setup
 CategorieRecursiv=Link with parent tag/category automatically

+ 0 - 2
htdocs/langs/en_US/companies.lang

@@ -380,8 +380,6 @@ ChangeContactInProcess=Change status to 'Contact in process'
 ChangeContactDone=Change status to 'Contact done'
 ProspectsByStatus=Prospects by status
 BillingContact=Billing contact
-NbOfAttachedFiles=Number of attached files
-AttachANewFile=Attach a new file
 NoRIB=No BAN defined
 NoParentCompany=None
 ExportImport=Import-Export

+ 1 - 0
htdocs/langs/en_US/errors.lang

@@ -175,6 +175,7 @@ ErrorBadDefinitionOfMenuArrayInModuleDescriptor=Bad Definition Of Menu Array In
 ErrorSavingChanges=An error has ocurred when saving the changes
 ErrorWarehouseRequiredIntoShipmentLine=Warehouse is required on the line to ship
 ErrorFileMustHaveFormat=File must have format %s
+ErrorSupplierCountryIsNotDefined=Country for this supplier is not defined. Correct this first.
 
 # Warnings
 WarningPasswordSetWithNoAccount=A password was set for this member. However, no user account was created. So this password is stored but can't be used to login to Dolibarr. It may be used by an external module/interface but if you don't need to define any login nor password for a member, you can disable option "Manage a login for each member" from Member module setup. If you need to manage a login but don't need any password, you can keep this field empty to avoid this warning. Note: Email can also be used as a login if the member is linked to a user.  

+ 0 - 4
htdocs/langs/en_US/exports.lang

@@ -120,10 +120,6 @@ CsvOptions=Csv Options
 Separator=Separator
 Enclosure=Enclosure
 SuppliersProducts=Suppliers Products
-BankCode=Bank code
-DeskCode=Desk code
-BankAccountNumber=Account number
-BankAccountNumberKey=Key
 SpecialCode=Special code
 ExportStringFilter=%% allows replacing one or more characters in the text
 ExportDateFilter=YYYY, YYYYMM, YYYYMMDD : filters by one year/month/day<br>YYYY+YYYY, YYYYMM+YYYYMM, YYYYMMDD+YYYYMMDD : filters over a range of years/months/days<br> > YYYY, > YYYYMM, > YYYYMMDD : filters on all following years/months/days<br> < YYYY, < YYYYMM, < YYYYMMDD : filters on all previous years/months/days

+ 0 - 1
htdocs/langs/en_US/help.lang

@@ -4,7 +4,6 @@ EMailSupport=Emails support
 RemoteControlSupport=Online real time / remote support
 OtherSupport=Other support
 ToSeeListOfAvailableRessources=To contact/see available resources:
-ClickHere=Click here
 HelpCenter=Help center
 DolibarrHelpCenter=Dolibarr help and support center
 ToGoBackToDolibarr=Otherwise, click <a href="%s">here to use Dolibarr</a>

+ 1 - 1
htdocs/langs/en_US/loan.lang

@@ -5,7 +5,7 @@ NewLoan=New Loan
 ShowLoan=Show Loan
 PaymentLoan=Loan payment
 ShowLoanPayment=Show Loan Payment
-Capital=Capital
+LoanCapital=Capital
 Insurance=Insurance
 Interest=Interest
 Nbterms=Number of terms

+ 7 - 2
htdocs/langs/en_US/main.lang

@@ -236,8 +236,8 @@ Date=Date
 DateAndHour=Date and hour
 DateToday=Today's date
 DateReference=Reference date
-DateStart=Date start
-DateEnd=Date end
+DateStart=Start date
+DateEnd=End date
 DateCreation=Creation date
 DateCreationShort=Creat. date
 DateModification=Modification date
@@ -471,6 +471,8 @@ LateDesc=Delay to define if a record is late or not depends on your setup. Ask y
 Photo=Picture
 Photos=Pictures
 AddPhoto=Add picture
+DeletePicture=Picture delete
+ConfirmDeletePicture=Confirm picture deletion?
 Login=Login
 CurrentLogin=Current login
 January=January
@@ -751,6 +753,9 @@ MassFilesArea=Area for files built by mass actions
 HideTempMassFilesArea=Hide area of files built by mass actions
 ShowTempMassFilesArea=Show area of files built by mass actions
 RelatedObjects=Related Objects
+ClassifyBilled=Classify billed
+Progress=Progress
+ClickHere=Click here
 # Week day
 Monday=Monday
 Tuesday=Tuesday

+ 0 - 2
htdocs/langs/en_US/margins.lang

@@ -20,8 +20,6 @@ UserMargins=User margins
 ProductService=Product or Service
 AllProducts=All products and services
 ChooseProduct/Service=Choose product or service
-StartDate=Start date
-EndDate=End date
 Launch=Start
 ForceBuyingPriceIfNull=Force buying/cost price to selling price if not defined
 ForceBuyingPriceIfNullDetails=If buying/cost price not defined, and this option "ON", margin will be zero on line (buying/cost price = selling price), otherwise ("OFF"), marge will be equal to suggested default.

+ 0 - 3
htdocs/langs/en_US/multicurrency.lang

@@ -1,6 +1,4 @@
 # ADMIN
-RecordSaved=Currency rate added
-RecordDeleted=Currency rate deleted
 ErrorAddRateFail=Error in added rate
 ErrorAddCurrencyFail=Error in added currency
 ErrorDeleteCurrencyFail=Error delete fail
@@ -13,5 +11,4 @@ multicurrency_appCurrencySource=Currency source
 multicurrency_alternateCurrencySource= Alternate currency souce
 CurrenciesUsed=Currencies used
 CurrenciesUsed_help_to_add=Add the differents currencies and rates you need to use on you <b>proposals</b>, <b>orders</b>, etc.
-Rate=Rate
 rate=rate

+ 0 - 1
htdocs/langs/en_US/orders.lang

@@ -109,7 +109,6 @@ ConfirmCancelOrder=Are you sure you want to cancel this order ?
 ConfirmMakeOrder=Are you sure you want to confirm you made this order on <b>%s</b> ?
 GenerateBill=Generate invoice
 ClassifyShipped=Classify delivered
-ClassifyBilled=Classify billed
 ComptaCard=Accountancy card
 DraftOrders=Draft orders
 DraftSuppliersOrders=Draft suppliers orders

+ 0 - 1
htdocs/langs/en_US/other.lang

@@ -191,7 +191,6 @@ ImageEditor=Image editor
 YouReceiveMailBecauseOfNotification=You receive this message because your email has been added to list of targets to be informed of particular events into %s software of %s.
 YouReceiveMailBecauseOfNotification2=This event is the following:
 ThisIsListOfModules=This is a list of modules preselected by this demo profile (only most common modules are visible in this demo). Edit this to have a more personalized demo and click on "Start".
-ClickHere=Click here
 UseAdvancedPerms=Use the advanced permissions of some modules
 FileFormat=File format
 SelectAColor=Choose a color

+ 0 - 3
htdocs/langs/en_US/products.lang

@@ -107,7 +107,6 @@ BuyingPrice=Buying price
 PriceForEachProduct=Products with specific prices
 NoPriceSpecificToCustomer=This customer has no specific prices. All standard prices for products/services will be used.
 SupplierCard=Supplier card
-CommercialCard=Commercial card
 AllWays=Path to find your product in stock
 NoCat=Your product is not in any category
 PrimaryWay=Primary path
@@ -142,8 +141,6 @@ ErrorAssociationIsFatherOfThis=One of selected product is parent with current pr
 DeleteProduct=Delete a product/service
 ConfirmDeleteProduct=Are you sure you want to delete this product/service?
 ProductDeleted=Product/Service "%s" deleted from database.
-DeletePicture=Delete a picture
-ConfirmDeletePicture=Are you sure you want to delete this picture ?
 ExportDataset_produit_1=Products
 ExportDataset_service_1=Services
 ImportDataset_produit_1=Products

+ 0 - 2
htdocs/langs/en_US/projects.lang

@@ -20,7 +20,6 @@ TasksPublicDesc=This view presents all projects and tasks you are allowed to rea
 TasksDesc=This view presents all projects and tasks (your user permissions grant you permission to view everything).
 AllTaskVisibleButEditIfYouAreAssigned=All tasks for such project are visible, but you can enter time only for task you are assigned on. Assign task to you if you want to enter time on it.
 OnlyYourTaskAreVisible=Only tasks you are assigned on are visible. Assign task to you if you want to enter time on it.
-ProjectsArea=Projects area
 NewProject=New project
 AddProject=Create project
 DeleteAProject=Delete a project
@@ -70,7 +69,6 @@ MyActivities=My tasks/activities
 MyProjects=My projects
 MyProjectsArea=My projects Area
 DurationEffective=Effective duration
-Progress=Progress
 ProgressDeclared=Declared progress
 ProgressCalculated=Calculated progress
 Time=Time

+ 0 - 1
htdocs/langs/en_US/propal.lang

@@ -65,7 +65,6 @@ DateEndPropalShort=Date end
 ValidityDuration=Validity duration
 CloseAs=Set status to
 SetAcceptedRefused=Set accepted/refused
-ClassifyBilled=Classify billed
 BuildBill=Build invoice
 ErrorPropalNotFound=Propal %s not found
 Estimate=Estimate :

+ 0 - 3
htdocs/langs/en_US/sendings.lang

@@ -20,14 +20,11 @@ SendingCard=Shipment card
 NewSending=New shipment
 CreateASending=Create a shipment
 CreateSending=Create shipment
-QtyOrdered=Qty ordered
 QtyShipped=Qty shipped
 QtyToShip=Qty to ship
 QtyReceived=Qty received
 KeepToShip=Remain to ship
 OtherSendingsForSameOrder=Other shipments for this order
-DateSending=Shipping date
-DateSendingShort=Shipping date
 SendingsForSameOrder=Shipments for this order
 SendingsAndReceivingForSameOrder=Shipments and receivings for this order
 SendingsToValidate=Shipments to validate

+ 0 - 3
htdocs/langs/en_US/sms.lang

@@ -39,9 +39,6 @@ SmsSuccessfulySent=Sms correctly sent (from %s to %s)
 ErrorSmsRecipientIsEmpty=Number of target is empty
 WarningNoSmsAdded=No new phone number to add to target list
 ConfirmValidSms=Do you confirm validation of this campain ?
-ConfirmResetMailing=Warning, if you make a reinit of Sms campain <b>%s</b>, you will allow to make a mass sending of it a second time. Is it really what you wan to do ?
-ConfirmDeleteMailing=Do you confirm removing of campain ?
-NbOfRecipients=Number of targets
 NbOfUniqueSms=Nb dof unique phone numbers
 NbOfSms=Nbre of phon numbers
 ThisIsATestMessage=This is a test message

+ 0 - 3
htdocs/langs/en_US/suppliers.lang

@@ -9,7 +9,6 @@ History=History
 ListOfSuppliers=List of suppliers
 ShowSupplier=Show supplier
 OrderDate=Order date
-BuyingPrice=Buying price
 BuyingPriceMin=Minimum purchase price
 BuyingPriceMinShort=Min purchase price
 SellingPriceMinShort=Min sell price
@@ -19,8 +18,6 @@ TotalSellingPriceMinShort=Total of subproducts sell prices
 SomeSubProductHaveNoPrices=Some sub-products have no price defined
 AddSupplierPrice=Add supplier price
 ChangeSupplierPrice=Change supplier price
-ErrorQtyTooLowForThisSupplier=Quantity too low for this supplier or no price defined on this product for this supplier
-ErrorSupplierCountryIsNotDefined=Country for this supplier is not defined. Correct this first.
 ProductHasAlreadyReferenceInThisSupplier=This product has already a reference in this supplier
 ReferenceSupplierIsAlreadyAssociatedWithAProduct=This reference supplier is already associated with a reference: %s
 NoRecordedSuppliers=No suppliers recorded

+ 0 - 1
htdocs/langs/en_US/website.lang

@@ -14,7 +14,6 @@ EditPageMeta=Edit Meta
 EditPageContent=Edit Content
 Website=Web site
 AddPage=Add page
-Page=Page
 PreviewOfSiteNotYetAvailable=Preview of your website <strong>%s</strong> not yet available. You must first add a page.
 RequestedPageHasNoContentYet=Requested page with id %s has not content yet or cache file .tpl.php was removed. Edit content of page to solve this.
 PageDeleted=Page '%s' of website %s deleted

+ 1 - 1
htdocs/loan/calc.php

@@ -327,7 +327,7 @@ if ($form_complete && $show_progress) {
 	$legend = '<tr class="liste_titre">';
 	$legend.= '<td class="liste_titre" align="center">' . $langs->trans("Month") . '</td>';
 	$legend.= '<td class="liste_titre" align="center">' . $langs->trans("Interest") . '</td>';
-	$legend.= '<td class="liste_titre" align="center">' . $langs->trans("Capital") . '</td>';
+	$legend.= '<td class="liste_titre" align="center">' . $langs->trans("LoanCapital") . '</td>';
 	$legend.= '<td class="liste_titre" align="center">' . $langs->trans("Position") . '</td>';
 	$legend.= '</tr>';
 

+ 4 - 4
htdocs/loan/card.php

@@ -101,7 +101,7 @@ if ($action == 'add' && $user->rights->loan->write)
 		}
 		elseif (! $_POST["capital"])
 		{
-			setEventMessages($langs->trans("ErrorFieldRequired", $langs->transnoentities("Capital")), null, 'errors');
+			setEventMessages($langs->trans("ErrorFieldRequired", $langs->transnoentities("LoanCapital")), null, 'errors');
 			$action = 'create';
 		}
 		else
@@ -220,7 +220,7 @@ if ($action == 'create')
 	}
 
     // Capital
-    print '<tr><td class="fieldrequired">'.$langs->trans("Capital").'</td><td><input name="capital" size="10" value="' . GETPOST("capital") . '"></td></tr>';
+    print '<tr><td class="fieldrequired">'.$langs->trans("LoanCapital").'</td><td><input name="capital" size="10" value="' . GETPOST("capital") . '"></td></tr>';
 
 	// Date Start
 	print "<tr>";
@@ -365,7 +365,7 @@ if ($id > 0)
 		}
 
 		// Capital
-		print '<tr><td>'.$langs->trans("Capital").'</td><td>'.price($object->capital,0,$outputlangs,1,-1,-1,$conf->currency).'</td></tr>';
+		print '<tr><td>'.$langs->trans("LoanCapital").'</td><td>'.price($object->capital,0,$outputlangs,1,-1,-1,$conf->currency).'</td></tr>';
 
     	// Date start
 		print "<tr><td>".$langs->trans("DateStart")."</td>";
@@ -490,7 +490,7 @@ if ($id > 0)
 			print '<td>'.$langs->trans("Type").'</td>';
 			print '<td align="center">'.$langs->trans("Insurance").'</td>';
 			print '<td align="center">'.$langs->trans("Interest").'</td>';
-      		print '<td align="center">'.$langs->trans("Capital").'</td>';
+      		print '<td align="center">'.$langs->trans("LoanCapital").'</td>';
       		print '<td>&nbsp;</td>';
       		print '</tr>';
 

+ 1 - 1
htdocs/loan/document.php

@@ -116,7 +116,7 @@ if ($object->id)
     }
 
     // Amount
-    print '<tr><td>'.$langs->trans("Capital").'</td><td>'.price($object->capital,0,$outputlangs,1,-1,-1,$conf->currency).'</td></tr>';
+    print '<tr><td>'.$langs->trans("LoanCapital").'</td><td>'.price($object->capital,0,$outputlangs,1,-1,-1,$conf->currency).'</td></tr>';
 
 	// Date start
     print "<tr><td>".$langs->trans("DateStart")."</td>";

+ 1 - 1
htdocs/loan/index.php

@@ -125,7 +125,7 @@ if ($resql)
 	print '<tr class="liste_titre">';
 	print_liste_field_titre($langs->trans("Ref"),$_SERVER["PHP_SELF"],"l.rowid","",$param,"",$sortfield,$sortorder);
 	print_liste_field_titre($langs->trans("Label"),$_SERVER["PHP_SELF"],"l.label","",$param,'align="left"',$sortfield,$sortorder);
-	print_liste_field_titre($langs->trans("Capital"),$_SERVER["PHP_SELF"],"l.capital","",$param,'align="right"',$sortfield,$sortorder);
+	print_liste_field_titre($langs->trans("LoanCapital"),$_SERVER["PHP_SELF"],"l.capital","",$param,'align="right"',$sortfield,$sortorder);
 	print_liste_field_titre($langs->trans("DateStart"),$_SERVER["PHP_SELF"],"l.datestart","",$param,'align="center"',$sortfield,$sortorder);
 	print_liste_field_titre($langs->trans("Status"),$_SERVER["PHP_SELF"],"l.paid","",$param,'align="right"',$sortfield,$sortorder);
 	print_liste_field_titre('');

+ 1 - 1
htdocs/loan/payment/card.php

@@ -163,7 +163,7 @@ print '<tr><td valign="top">'.$langs->trans('Mode').'</td><td colspan="3">'.$lan
 print '<tr><td valign="top">'.$langs->trans('Number').'</td><td colspan="3">'.$payment->num_payment.'</td></tr>';
 
 // Amount
-print '<tr><td valign="top">'.$langs->trans('Capital').'</td><td colspan="3">'.price($payment->amount_capital, 0, $outputlangs, 1, -1, -1, $conf->currency).'</td></tr>';
+print '<tr><td valign="top">'.$langs->trans('LoanCapital').'</td><td colspan="3">'.price($payment->amount_capital, 0, $outputlangs, 1, -1, -1, $conf->currency).'</td></tr>';
 print '<tr><td valign="top">'.$langs->trans('Insurance').'</td><td colspan="3">'.price($payment->amount_insurance, 0, $outputlangs, 1, -1, -1, $conf->currency).'</td></tr>';
 print '<tr><td valign="top">'.$langs->trans('Interest').'</td><td colspan="3">'.price($payment->amount_interest, 0, $outputlangs, 1, -1, -1, $conf->currency).'</td></tr>';
 

+ 2 - 2
htdocs/loan/payment/payment.php

@@ -239,7 +239,7 @@ if ($action == 'create')
 	print '<table class="noborder" width="100%">';
 	print '<tr class="liste_titre">';
 	print '<td align="left">'.$langs->trans("DateDue").'</td>';
-	print '<td align="right">'.$langs->trans("Capital").'</td>';
+	print '<td align="right">'.$langs->trans("LoanCapital").'</td>';
 	print '<td align="right">'.$langs->trans("AlreadyPaid").'</td>';
 	print '<td align="right">'.$langs->trans("RemainderToPay").'</td>';
 	print '<td align="right">'.$langs->trans("Amount").'</td>';
@@ -268,7 +268,7 @@ if ($action == 'create')
 	print '<td align="right">';
 	if ($sumpaid < $loan->capital)
 	{
-		print $langs->trans("Capital") .': <input type="text" size="8" name="amount_capital">';
+		print $langs->trans("LoanCapital") .': <input type="text" size="8" name="amount_capital">';
 	}
 	else
 	{

+ 2 - 2
htdocs/margin/agentMargins.php

@@ -99,11 +99,11 @@ if ($user->rights->margins->read->all) {
 }
 
 // Start date
-print '<td>'.$langs->trans('StartDate').' ('.$langs->trans("DateValidation").')</td>';
+print '<td>'.$langs->trans('DateStart').' ('.$langs->trans("DateValidation").')</td>';
 print '<td width="20%">';
 $form->select_date($startdate,'startdate','','',1,"sel",1,1);
 print '</td>';
-print '<td width="20%">'.$langs->trans('EndDate').' ('.$langs->trans("DateValidation").')</td>';
+print '<td width="20%">'.$langs->trans('DateEnd').' ('.$langs->trans("DateValidation").')</td>';
 print '<td width="20%">';
 $form->select_date($enddate,'enddate','','',1,"sel",1,1);
 print '</td>';

+ 2 - 2
htdocs/margin/checkMargins.php

@@ -124,11 +124,11 @@ print '<form method="post" name="sel" action="' . $_SERVER['PHP_SELF'] . '">';
 print '<table class="border" width="100%">';
 
 // Start date
-print '<td>' . $langs->trans('StartDate') . ' (' . $langs->trans("DateValidation") . ')</td>';
+print '<td>' . $langs->trans('DateStrt') . ' (' . $langs->trans("DateValidation") . ')</td>';
 print '<td width="20%">';
 $form->select_date($startdate, 'startdate', '', '', 1, "sel", 1, 1);
 print '</td>';
-print '<td width="20%">' . $langs->trans('EndDate') . ' (' . $langs->trans("DateValidation") . ')</td>';
+print '<td width="20%">' . $langs->trans('DateEnd') . ' (' . $langs->trans("DateValidation") . ')</td>';
 print '<td width="20%">';
 $form->select_date($enddate, 'enddate', '', '', 1, "sel", 1, 1);
 print '</td>';

+ 2 - 2
htdocs/margin/customerMargins.php

@@ -120,11 +120,11 @@ if (! $sortfield)
 }
 
 // Start date
-print '<td>'.$langs->trans('StartDate').' ('.$langs->trans("DateValidation").')</td>';
+print '<td>'.$langs->trans('DateStart').' ('.$langs->trans("DateValidation").')</td>';
 print '<td width="20%">';
 $form->select_date($startdate,'startdate','','',1,"sel",1,1);
 print '</td>';
-print '<td width="20%">'.$langs->trans('EndDate').' ('.$langs->trans("DateValidation").')</td>';
+print '<td width="20%">'.$langs->trans('DateEnd').' ('.$langs->trans("DateValidation").')</td>';
 print '<td width="20%">';
 $form->select_date($enddate,'enddate','','',1,"sel",1,1);
 print '</td>';

+ 2 - 2
htdocs/margin/productMargins.php

@@ -122,11 +122,11 @@ else {
 }
 
 // Start date
-print '<td>'.$langs->trans('StartDate').' ('.$langs->trans("DateValidation").')</td>';
+print '<td>'.$langs->trans('DateStart').' ('.$langs->trans("DateValidation").')</td>';
 print '<td width="20%">';
 $form->select_date($startdate,'startdate','','',1,"sel",1,1);
 print '</td>';
-print '<td width="20%">'.$langs->trans('EndDate').' ('.$langs->trans("DateValidation").')</td>';
+print '<td width="20%">'.$langs->trans('DateEnd').' ('.$langs->trans("DateValidation").')</td>';
 print '<td width="20%">';
 $form->select_date($enddate,'enddate','','',1,"sel",1,1);
 print '</td>';