language internationalization

This commit is contained in:
Philippe GRAND 2019-02-09 10:56:59 +01:00
parent 5483856543
commit 869f59de96

View File

@ -2,7 +2,7 @@
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org> /* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2011 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2004-2011 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@inodbox.com> * Copyright (C) 2005-2012 Regis Houssin <regis.houssin@inodbox.com>
* Copyright (C) 2011-2012 Philippe Grand <philippe.grand@atoo-net.com> * Copyright (C) 2011-2019 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
@ -22,8 +22,8 @@
/** /**
* \file htdocs/core/modules/fichinter/modules_fichinter.php * \file htdocs/core/modules/fichinter/modules_fichinter.php
* \ingroup ficheinter * \ingroup ficheinter
* \brief Fichier contenant la classe mere de generation des fiches interventions en PDF * \brief File that contains parent class for PDF interventions models
* et la classe mere de numerotation des fiches interventions * and parent class for interventions numbering models
*/ */
require_once DOL_DOCUMENT_ROOT.'/core/class/commondocgenerator.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/commondocgenerator.class.php';
@ -54,18 +54,18 @@ abstract class ModelePDFFicheinter extends CommonDocGenerator
global $conf; global $conf;
$type='ficheinter'; $type='ficheinter';
$liste=array(); $list=array();
include_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php'; include_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
$liste=getListOfModels($db, $type, $maxfilenamelength); $list=getListOfModels($db, $type, $maxfilenamelength);
return $liste; return $list;
} }
} }
/** /**
* Classe mere des modeles de numerotation des references de fiches d'intervention * Mother class numbering models of intervention sheet references
*/ */
abstract class ModeleNumRefFicheinter abstract class ModeleNumRefFicheinter
{ {
@ -85,9 +85,9 @@ abstract class ModeleNumRefFicheinter
} }
/** /**
* Renvoi la description par defaut du modele de numerotation * Returns the default description of the numbering template
* *
* @return string Texte descripif * @return string Descriptive text
*/ */
function info() function info()
{ {
@ -97,7 +97,7 @@ abstract class ModeleNumRefFicheinter
} }
/** /**
* Renvoi un exemple de numerotation * Return a numbering example
* *
* @return string Example * @return string Example
*/ */
@ -109,8 +109,8 @@ abstract class ModeleNumRefFicheinter
} }
/** /**
* Test si les numeros deja en vigueur dans la base ne provoquent pas de * Tests if the numbers already in force in the database do not cause conflicts
* de conflits qui empechera cette numerotation de fonctionner. * that would prevent this numbering from working.
* *
* @return boolean false si conflit, true si ok * @return boolean false si conflit, true si ok
*/ */
@ -120,9 +120,9 @@ abstract class ModeleNumRefFicheinter
} }
/** /**
* Renvoi prochaine valeur attribuee * Return the next assigned value
* *
* @return string Valeur * @return string Value
*/ */
function getNextValue() function getNextValue()
{ {
@ -131,9 +131,9 @@ abstract class ModeleNumRefFicheinter
} }
/** /**
* Renvoi version du module numerotation * Return the version of the numbering module
* *
* @return string Valeur * @return string Value
*/ */
function getVersion() function getVersion()
{ {