Merge pull request #342 from grandoc/develop

fix some language issues
This commit is contained in:
Regis Houssin 2012-08-23 08:08:20 -07:00
commit 86763bc20f
6 changed files with 15 additions and 15 deletions

View File

@ -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

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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';

View File

@ -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;
}

View File

@ -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;
}