From 8c934d3ddebd03902405409b1ba5942060bdcfa9 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 30 Jan 2012 20:08:11 +0100 Subject: [PATCH] Rename custom code into customs code --- build/launchpad/README | 4 +++ htdocs/langs/el_GR/products.lang | 34 -------------------------- htdocs/langs/en_US/products.lang | 2 +- htdocs/product/class/product.class.php | 4 +-- htdocs/product/fiche.php | 6 ++--- 5 files changed, 10 insertions(+), 40 deletions(-) diff --git a/build/launchpad/README b/build/launchpad/README index 68794bf0b1ad0..a18e4389aef21 100644 --- a/build/launchpad/README +++ b/build/launchpad/README @@ -17,6 +17,7 @@ a package onto LaunchPad - Create Project - Link project to official SCM server - Upload SSH public key onto account +- Upload you GPG sign key - Run from command line: bzr launchpad-login yourlogin bzr whoami "Your Name " @@ -24,6 +25,9 @@ a package onto LaunchPad COMPONENTS="main universe multiverse restricted" - Create chroot ubuntu env sudo pbuilder create [--distribution sid|squeeze] +- Edit file ~/.bashrc ti add +DEBFULLNAME="" +DEBEMAIL="" # Init package tools for launchpad - Create a Bazaar directory diff --git a/htdocs/langs/el_GR/products.lang b/htdocs/langs/el_GR/products.lang index 05fd0b007278b..5e679ead1a957 100644 --- a/htdocs/langs/el_GR/products.lang +++ b/htdocs/langs/el_GR/products.lang @@ -73,15 +73,12 @@ ContractStatusClosed=Κλειστό ContractStatusRunning=Ενεργό ContractStatusExpired=Ληγμένο ContractStatusOnHold=Ανενεργό -ContractStatusToRun=A mettre en service ContractNotRunning=Το Συμβόλαιο είναι Ανενεργό ErrorProductAlreadyExists=Ένα προϊόν με κωδικό %s υπάρχει ήδη. -ErrorProductBadRefOrLabel=Wrong value for reference or label. Suppliers=Προμηθευτές SupplierRef=Κωδ. Προμηθευτή ShowProduct=Εμφάνιση προϊόντων ShowService=Εμφάνιση Υπηρεσίας -ProductsAndServicesArea=Product and Services area ProductsArea=Περιοχή Προϊόντων ServicesArea=Περιοχή Υπηρεσιών AddToMyProposals=Προσθήκη στις Προτάσεις μου @@ -95,19 +92,15 @@ NoPhotoYet=Δεν υπάρχει φωτογραφία BuiingPrice=Τιμή Αγοράς SupplierCard=Κάρτα προμηθευτή CommercialCard=Εμπορική Κάρτα -AllWays=Path to find your product in stock NoCat=Το προϊόν σας, δεν ανήκει σε κάποια κατηγορία PrimaryWay=Κύρια διαδρομή DeleteFromCat=Αφαίρεση από την κατηγορία PriceRemoved=Η τιμή αφαιρέθηκε -BarCode=Barcode BarcodeType=τύπος Barcode SetDefaultBarcodeType=Ορισμός τύπου barcode BarcodeValue=ΤΙμή Barcode -GenbarcodeLocation=Bar code generation command line tool (used by phpbarcode engine for some bar code types) NoteNotVisibleOnBill=Σημείωση (μη ορατή σε τιμολόγια, προτάσεις...) CreateCopy=Δημιουργία Αντιγράφου -ServiceLimitedDuration=If product is a service with limited duration: MultiPricesAbility=Ενεργοποίηση πολυ-τιμών MultiPricesNumPrices=Αριθμός τιμής MultiPriceLevelsName=Κατηγορίες τιμών @@ -122,48 +115,21 @@ ProductToAddSearch=Εύρεση προϊόντως προς προσθήκη AddDel=Προσθήκη/Διαγραφή Quantity=Ποσότητα NoMatchFound=Δεν βρέθηκε κατάλληλη εγγραφή -ProductAssociationList=List of related products/services: name of product/service (quantity affected) -ErrorAssociationIsFatherOfThis=One of selected product is parent with current product DeleteProduct=Διαγραφή προϊόντος/υπηρεσίας -ConfirmDeleteProduct=Are you sure you want to delete this product/service? -ProductDeleted=Product/Service "%s" deleted from database. DeletePicture=Διαγραφή εικόνας ConfirmDeletePicture=Είστε σίγουροι ότι θέλετε να διαγράψετε την εικόνα; ExportDataset_produit_1=Προϊόντα ExportDataset_service_1=Υπηρεσίες ImportDataset_produit_1=Προϊόντα ImportDataset_service_1=Υπηρεσίες -DeleteProductLine=Delete product line -ConfirmDeleteProductLine=Are you sure you want to delete this product line? -NoProductMatching=No product/service match your criteria -MatchingProducts=Matching products/services -NoStockForThisProduct=No stock for this product NoStock=Χωρίς απόθεμα -Restock=Restock -ProductSpecial=Special -QtyMin=Quantity minimum -PriceQty=Price for this quantity -PriceQtyMin=Price quantity min. -NoPriceDefinedForThisSupplier=No price/qty defined for this supplier/product -NoSupplierPriceDefinedForThisProduct=No supplier price/qty defined for this product -RecordedProducts=Products recorded -RecordedProductsAndServices=Products/services recorded GenerateThumb=Δημιουργία μικρογραφίας -ProductCanvasAbility=Use special "canvas" addons ServiceNb=Υπηρεσία #%s -ListProductServiceByPopularity=List of products/services by popularity -ListProductByPopularity=List of products by popularity -ListServiceByPopularity=List of services by popularity Finished=Κατασκευασμένο Προϊόν RowMaterial=Πρώτη ύλη CloneProduct=Κλώνοποίηση προϊόντος ή υπηρεσίας -ConfirmCloneProduct=Are you sure you want to clone product or service %s ? -CloneContentProduct=Clone all main informations of product/service -ClonePricesProduct=Clone main informations and prices ProductIsUsed=Μεταχειρισμένο NewRefForClone=Ref. of new product/service CustomerPrices=Τιμές πελατών SuppliersPrices=Τιμές προμηθευτών -CustomCode=Custom code CountryOrigin=Χώρα προέλευσης -HiddenIntoCombo=Hidden into select lists diff --git a/htdocs/langs/en_US/products.lang b/htdocs/langs/en_US/products.lang index f008150b5d3ce..0dfb6cb9eacf5 100644 --- a/htdocs/langs/en_US/products.lang +++ b/htdocs/langs/en_US/products.lang @@ -166,6 +166,6 @@ ProductIsUsed=This product is used NewRefForClone=Ref. of new product/service CustomerPrices=Customers prices SuppliersPrices=Suppliers prices -CustomCode=Custom code +CustomCode=Customs code CountryOrigin=Origin country HiddenIntoCombo=Hidden into select lists \ No newline at end of file diff --git a/htdocs/product/class/product.class.php b/htdocs/product/class/product.class.php index f072d5c709e8f..e8e2b9b6935ca 100644 --- a/htdocs/product/class/product.class.php +++ b/htdocs/product/class/product.class.php @@ -88,7 +88,7 @@ class Product extends CommonObject // Statut indique si le produit est un produit fini '1' ou une matiere premiere '0' var $finished; - var $customcode; // Custom code + var $customcode; // Customs code var $country_id; // Country origin id var $country_code; // Country origin code (US, FR, ...) @@ -479,7 +479,7 @@ function update($id, $user, $notrigger=false) return -2; } } - + if (! $notrigger) { // Appel des triggers diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index 690f6c8ea7ffb..79ec4d6f9ce56 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -771,7 +771,7 @@ print ''; } - // Custom code + // Customs code print ''.$langs->trans("CustomCode").''; // Origin country @@ -961,7 +961,7 @@ print ''; } - // Custom code + // Customs code print ''.$langs->trans("CustomCode").''; // Origin country @@ -1177,7 +1177,7 @@ print "\n"; } - // Custom code + // Customs code print ''.$langs->trans("CustomCode").''.$object->customcode.''; // Origin country code