2
0
forked from Wavyzz/dolibarr

Merge branch '3.5' of github.com:Dolibarr/dolibarr into develop

This commit is contained in:
Maxime Kohlhaas
2013-11-29 12:05:10 +01:00

View File

@@ -3,6 +3,7 @@
* Copyright (C) 2006-2009 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2006-2009 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2007-2012 Regis Houssin <regis.houssin@capnetworks.com> * Copyright (C) 2007-2012 Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2011 Juanjo Menent <jmenent@2byte.es> * Copyright (C) 2011 Juanjo Menent <jmenent@2byte.es>
* Copyright (C) 2013 Philippe Grand <philippe.grand@atoo-net.com>
* *
* This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License as published by
@@ -131,6 +132,16 @@ class mod_codeclient_elephant extends ModeleThirdPartyCode
$langs->load("errors"); $langs->load("errors");
$examplecust=$langs->trans($examplecust); $examplecust=$langs->trans($examplecust);
} }
if($examplecust=="ErrorCantUseRazIfNoYearInMask")
{
$langs->load("errors");
$examplecust=$langs->trans($examplecust);
}
if($examplecust=="ErrorCantUseRazInStartedYearIfNoYearMonthInMask")
{
$langs->load("errors");
$examplecust=$langs->trans($examplecust);
}
} }
if ($type == 1 || $type == -1) if ($type == 1 || $type == -1)
{ {
@@ -144,6 +155,16 @@ class mod_codeclient_elephant extends ModeleThirdPartyCode
$langs->load("errors"); $langs->load("errors");
$examplesup=$langs->trans($examplesup); $examplesup=$langs->trans($examplesup);
} }
if($examplesup=="ErrorCantUseRazIfNoYearInMask")
{
$langs->load("errors");
$examplesup=$langs->trans($examplesup);
}
if($examplesup=="ErrorCantUseRazInStartedYearIfNoYearMonthInMask")
{
$langs->load("errors");
$examplesup=$langs->trans($examplesup);
}
} }
if ($type == 0) return $examplecust; if ($type == 0) return $examplecust;