From b015c7799a59557f8e34b642d6d56fc150c47c25 Mon Sep 17 00:00:00 2001 From: Grand Philippe Date: Thu, 23 Aug 2012 09:27:01 +0200 Subject: [PATCH] fix some language issues --- dev/examples/README | 2 +- dev/examples/create_invoice.php | 6 +++--- dev/examples/create_order.php | 6 +++--- dev/examples/create_product.php | 6 +++--- dev/examples/create_user.php | 4 ++-- dev/examples/get_contracts.php | 6 +++--- 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/dev/examples/README b/dev/examples/README index d817b6653d5..b7c31558de5 100755 --- a/dev/examples/README +++ b/dev/examples/README @@ -4,5 +4,5 @@ README (English) This directory contains samples of code to use Dolibarr business classes to build external interfaces that need to read/update data from/into Dolibarr. -You can also have a look at the Dolibarr doxygen doc that describe all files and classes: +You can also have a look at the Dolibarr doxygen doc that describes all files and classes: http://www.dolibarr.org/html_doxygen/index.html diff --git a/dev/examples/create_invoice.php b/dev/examples/create_invoice.php index 0f99a5775ff..60f7b8f42b1 100755 --- a/dev/examples/create_invoice.php +++ b/dev/examples/create_invoice.php @@ -17,9 +17,9 @@ */ /** - * \file dev/examples/manage_order.php + * \file dev/examples/create_invoice.php * \brief This file is an example for a command line script - * \author Put author name here + * \author Put author's name here * \remarks Put here some comments */ @@ -29,7 +29,7 @@ $path=dirname(__FILE__).'/'; // Test if batch mode if (substr($sapi_type, 0, 3) == 'cgi') { - echo "Error: You ar usingr PH for CGI. To execute ".$script_file." from command line, you must use PHP for CLI mode.\n"; + echo "Error: You are using PHP for CGI. To execute ".$script_file." from command line, you must use PHP for CLI mode.\n"; exit; } diff --git a/dev/examples/create_order.php b/dev/examples/create_order.php index 2c5861b6a6e..6e097a3bd89 100755 --- a/dev/examples/create_order.php +++ b/dev/examples/create_order.php @@ -17,9 +17,9 @@ */ /** - * \file dev/examples/manage_order.php + * \file dev/examples/create_order.php * \brief This file is an example for a command line script - * \author Put author name here + * \author Put author's name here * \remarks Put here some comments */ @@ -29,7 +29,7 @@ $path=dirname(__FILE__).'/'; // Test if batch mode if (substr($sapi_type, 0, 3) == 'cgi') { - echo "Error: You ar usingr PH for CGI. To execute ".$script_file." from command line, you must use PHP for CLI mode.\n"; + echo "Error: You are using PHP for CGI. To execute ".$script_file." from command line, you must use PHP for CLI mode.\n"; exit; } diff --git a/dev/examples/create_product.php b/dev/examples/create_product.php index 5e0d2b0ecac..0bfb3746479 100755 --- a/dev/examples/create_product.php +++ b/dev/examples/create_product.php @@ -19,7 +19,7 @@ /** * \file dev/examples/create_product.php * \brief This file is an example for a command line script - * \author Put author name here + * \author Put author's name here * \remarks Put here some comments */ @@ -29,7 +29,7 @@ $path=dirname(__FILE__).'/'; // Test if batch mode if (substr($sapi_type, 0, 3) == 'cgi') { - echo "Error: You ar usingr PH for CGI. To execute ".$script_file." from command line, you must use PHP for CLI mode.\n"; + echo "Error: You are using PHP for CGI. To execute ".$script_file." from command line, you must use PHP for CLI mode.\n"; exit; } @@ -64,7 +64,7 @@ require_once(DOL_DOCUMENT_ROOT."/product/class/product.class.php"); // Create instance of object $myproduct=new Product($db); -// Définition des propriétés de l'instance product +// Definition of product instance properties $myproduct->ref = '1234'; $myproduct->libelle = 'libelle'; $myproduct->price = '10'; diff --git a/dev/examples/create_user.php b/dev/examples/create_user.php index 2d77dade81a..4ca6056368f 100755 --- a/dev/examples/create_user.php +++ b/dev/examples/create_user.php @@ -19,7 +19,7 @@ /** * \file dev/examples/create_user.php * \brief This file is an example for a command line script - * \author Put author name here + * \author Put author's name here * \remarks Put here some comments */ @@ -29,7 +29,7 @@ $path=dirname(__FILE__).'/'; // Test if batch mode if (substr($sapi_type, 0, 3) == 'cgi') { - echo "Error: You ar usingr PH for CGI. To execute ".$script_file." from command line, you must use PHP for CLI mode.\n"; + echo "Error: You are using PHP for CGI. To execute ".$script_file." from command line, you must use PHP for CLI mode.\n"; exit; } diff --git a/dev/examples/get_contracts.php b/dev/examples/get_contracts.php index aad4e2c5415..f1efa42bc04 100755 --- a/dev/examples/get_contracts.php +++ b/dev/examples/get_contracts.php @@ -17,9 +17,9 @@ */ /** - * \file dev/examples/manage_order.php + * \file dev/examples/get_contracts.php * \brief This file is an example for a command line script - * \author Put author name here + * \author Put author's name here * \remarks Put here some comments */ @@ -29,7 +29,7 @@ $path=dirname(__FILE__).'/'; // Test if batch mode if (substr($sapi_type, 0, 3) == 'cgi') { - echo "Error: You ar usingr PH for CGI. To execute ".$script_file." from command line, you must use PHP for CLI mode.\n"; + echo "Error: You are using PHP for CGI. To execute ".$script_file." from command line, you must use PHP for CLI mode.\n"; exit; }