Skip to content

Commit

Permalink
Merge pull request #9569 from grandoc/new_branch_19_09_2018
Browse files Browse the repository at this point in the history
Missing translation
  • Loading branch information
eldy committed Sep 21, 2018
2 parents 21f9597 + 52533a0 commit 8cfe5d7
Show file tree
Hide file tree
Showing 19 changed files with 147 additions and 24 deletions.
Expand Up @@ -38,9 +38,18 @@
*/
class doc_generic_order_odt extends ModelePDFCommandes
{
public $emetteur; // Objet societe qui emet
/**
* Issuer
* @var Societe
*/
public $emetteur;

public $phpmin = array(5,4,0); // Minimum version of PHP required by module

/**
* Dolibarr version of the loaded document
* @public string
*/
public $version = 'dolibarr';


Expand Down
6 changes: 3 additions & 3 deletions htdocs/core/modules/commande/doc/pdf_einstein.modules.php
Expand Up @@ -115,9 +115,9 @@ class pdf_einstein extends ModelePDFCommandes
public $marge_basse;

/**
* Issuer
* @var Societe
*/
* Issuer
* @var Societe
*/
public $emetteur; // Objet societe qui emet


Expand Down
Expand Up @@ -37,9 +37,18 @@
*/
class doc_generic_contract_odt extends ModelePDFContract
{
public $emetteur; // Objet societe qui emet
/**
* Issuer
* @var Societe
*/
public $emetteur;

public $phpmin = array(5,4,0); // Minimum version of PHP required by module

/**
* Dolibarr version of the loaded document
* @public string
*/
public $version = 'dolibarr';


Expand Down
Expand Up @@ -39,9 +39,18 @@
*/
class doc_generic_shipment_odt extends ModelePdfExpedition
{
public $emetteur; // Objet societe qui emet
/**
* Issuer
* @var Societe
*/
public $emetteur;

public $phpmin = array(5,4,0); // Minimum version of PHP required by module

/**
* Dolibarr version of the loaded document
* @public string
*/
public $version = 'dolibarr';


Expand Down
Expand Up @@ -38,9 +38,18 @@
*/
class doc_generic_invoice_odt extends ModelePDFFactures
{
/**
* Issuer
* @var Societe
*/
public $emetteur; // Objet societe qui emet

public $phpmin = array(5,4,0); // Minimum version of PHP required by module

/**
* Dolibarr version of the loaded document
* @public string
*/
public $version = 'dolibarr';


Expand Down
Expand Up @@ -36,9 +36,18 @@
*/
class doc_generic_product_odt extends ModelePDFProduct
{
public $emetteur; // Objet societe qui emet
/**
* Issuer
* @var Societe
*/
public $emetteur;

public $phpmin = array(5,4,0); // Minimum version of PHP required by module

/**
* Dolibarr version of the loaded document
* @public string
*/
public $version = 'dolibarr';


Expand Down
10 changes: 7 additions & 3 deletions htdocs/core/modules/product/doc/pdf_standard.modules.php
Expand Up @@ -58,9 +58,9 @@ class pdf_standard extends ModelePDFProduct

/**
* @var array() Minimum version of PHP required by module.
* e.g.: PHP ≥ 5.3 = array(5, 3)
* e.g.: PHP ≥ 5.4 = array(5, 4)
*/
public $phpmin = array(5, 2);
public $phpmin = array(5, 4);

/**
* Dolibarr version of the loaded document
Expand All @@ -76,7 +76,11 @@ class pdf_standard extends ModelePDFProduct
public $marge_haute;
public $marge_basse;

public $emetteur; // Objet societe qui emet
/**
* Issuer
* @var Societe
*/
public $emetteur;


/**
Expand Down
Expand Up @@ -54,9 +54,18 @@
*/
class doc_generic_task_odt extends ModelePDFTask
{
/**
* Issuer
* @var Societe
*/
public $emetteur; // Objet societe qui emet

public $phpmin = array(5,4,0); // Minimum version of PHP required by module

/**
* Dolibarr version of the loaded document
* @public string
*/
public $version = 'dolibarr';


Expand Down
Expand Up @@ -37,9 +37,18 @@
*/
class doc_generic_proposal_odt extends ModelePDFPropales
{
/**
* Issuer
* @var Societe
*/
public $emetteur; // Objet societe qui emet

public $phpmin = array(5,4,0); // Minimum version of PHP required by module

/**
* Dolibarr version of the loaded document
* @public string
*/
public $version = 'dolibarr';


Expand Down
11 changes: 10 additions & 1 deletion htdocs/core/modules/stock/doc/doc_generic_stock_odt.modules.php
Expand Up @@ -36,9 +36,18 @@
*/
class doc_generic_stock_odt extends ModelePDFStock
{
public $emetteur; // Objet societe qui emet
/**
* Issuer
* @var Societe
*/
public $emetteur;

public $phpmin = array(5,4,0); // Minimum version of PHP required by module

/**
* Dolibarr version of the loaded document
* @public string
*/
public $version = 'dolibarr';


Expand Down
10 changes: 7 additions & 3 deletions htdocs/core/modules/stock/doc/pdf_standard.modules.php
Expand Up @@ -58,9 +58,9 @@ class pdf_standard extends ModelePDFStock

/**
* @var array() Minimum version of PHP required by module.
* e.g.: PHP ≥ 5.3 = array(5, 3)
* e.g.: PHP ≥ 5.4 = array(5, 4)
*/
public $phpmin = array(5, 2);
public $phpmin = array(5, 4);

/**
* Dolibarr version of the loaded document
Expand All @@ -76,7 +76,11 @@ class pdf_standard extends ModelePDFStock
public $marge_haute;
public $marge_basse;

public $emetteur; // Objet societe qui emet
/**
* Issuer
* @var Societe
*/
public $emetteur;


/**
Expand Down
10 changes: 7 additions & 3 deletions htdocs/core/modules/stock/doc/pdf_stdmovement.modules.php
Expand Up @@ -59,9 +59,9 @@ class pdf_stdmovement extends ModelePDFMovement

/**
* @var array() Minimum version of PHP required by module.
* e.g.: PHP ≥ 5.3 = array(5, 3)
* e.g.: PHP ≥ 5.4 = array(5, 4)
*/
public $phpmin = array(5, 2);
public $phpmin = array(5, 4);

/**
* Dolibarr version of the loaded document
Expand All @@ -77,7 +77,11 @@ class pdf_stdmovement extends ModelePDFMovement
public $marge_haute;
public $marge_basse;

public $emetteur; // Objet societe qui emet
/**
* Issuer
* @var Societe
*/
public $emetteur;


/**
Expand Down
Expand Up @@ -37,9 +37,18 @@
*/
class doc_generic_supplier_proposal_odt extends ModelePDFSupplierProposal
{
public $emetteur; // Objet societe qui emet
/**
* Issuer
* @var Societe
*/
public $emetteur;

public $phpmin = array(5,4,0); // Minimum version of PHP required by module

/**
* Dolibarr version of the loaded document
* @public string
*/
public $version = 'dolibarr';


Expand Down
7 changes: 6 additions & 1 deletion htdocs/core/modules/ticket/mod_ticket_simple.php
Expand Up @@ -30,7 +30,12 @@
*/
class mod_ticket_simple extends ModeleNumRefTicket
{
public $version = 'dolibarr'; // 'development', 'experimental', 'dolibarr'
/**
* Dolibarr version of the loaded document
* @public string
*/
public $version = 'dolibarr'; // 'development', 'experimental', 'dolibarr'

public $prefix = 'TS';
public $error = '';
public $nom = "Simple";
Expand Down
7 changes: 6 additions & 1 deletion htdocs/core/modules/ticket/mod_ticket_universal.php
Expand Up @@ -29,7 +29,12 @@
*/
class mod_ticket_universal extends ModeleNumRefTicket
{
public $version = 'dolibarr'; // 'development', 'experimental', 'dolibarr'
/**
* Dolibarr version of the loaded document
* @public string
*/
public $version = 'dolibarr'; // 'development', 'experimental', 'dolibarr'

public $error = '';
public $nom = 'Universal';
public $name = 'Universal';
Expand Down
11 changes: 10 additions & 1 deletion htdocs/core/modules/user/doc/doc_generic_user_odt.modules.php
Expand Up @@ -35,9 +35,18 @@
*/
class doc_generic_user_odt extends ModelePDFUser
{
public $emetteur; // Objet societe qui emet
/**
* Issuer
* @var Societe
*/
public $emetteur;

public $phpmin = array(5,4,0); // Minimum version of PHP required by module

/**
* Dolibarr version of the loaded document
* @public string
*/
public $version = 'dolibarr';


Expand Down
Expand Up @@ -37,9 +37,18 @@
*/
class doc_generic_usergroup_odt extends ModelePDFUserGroup
{
public $emetteur; // Objet societe qui emet
/**
* Issuer
* @var Societe
*/
public $emetteur;

public $phpmin = array(5,4,0); // Minimum version of PHP required by module

/**
* Dolibarr version of the loaded document
* @public string
*/
public $version = 'dolibarr';


Expand Down
5 changes: 3 additions & 2 deletions htdocs/expedition/shipment.php
Expand Up @@ -4,6 +4,7 @@
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2012-2015 Juanjo Menent <jmenent@2byte.es>
* Copyright (C) 2018 Frédéric France <frederic.france@netlogic.fr>
* Copyright (C) 2018 Philippe Grand <philippe.grand@atoo-net.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -921,8 +922,8 @@
}
else
{
/* Commande non trouvee */
print "Commande inexistante";
/* Order not found */
setEventMessages($langs->trans("NonExistentOrder"), null, 'errors');
}
}

Expand Down
1 change: 1 addition & 0 deletions htdocs/langs/en_US/deliveries.lang
Expand Up @@ -28,3 +28,4 @@ ErrorStockIsNotEnough=There's not enough stock
Shippable=Shippable
NonShippable=Not Shippable
ShowReceiving=Show delivery receipt
NonExistentOrder=Non-existent order

0 comments on commit 8cfe5d7

Please sign in to comment.