From 869f59de9628994e435191232ffd3988fc49610e Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Sat, 9 Feb 2019 10:56:59 +0100 Subject: [PATCH 1/2] language internationalization --- .../modules/fichinter/modules_fichinter.php | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/htdocs/core/modules/fichinter/modules_fichinter.php b/htdocs/core/modules/fichinter/modules_fichinter.php index 3ac4e213855..12c8e4b91d1 100644 --- a/htdocs/core/modules/fichinter/modules_fichinter.php +++ b/htdocs/core/modules/fichinter/modules_fichinter.php @@ -2,7 +2,7 @@ /* Copyright (C) 2003 Rodolphe Quiedeville * Copyright (C) 2004-2011 Laurent Destailleur * Copyright (C) 2005-2012 Regis Houssin - * Copyright (C) 2011-2012 Philippe Grand + * Copyright (C) 2011-2019 Philippe Grand * * 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 @@ -22,8 +22,8 @@ /** * \file htdocs/core/modules/fichinter/modules_fichinter.php * \ingroup ficheinter - * \brief Fichier contenant la classe mere de generation des fiches interventions en PDF - * et la classe mere de numerotation des fiches interventions + * \brief File that contains parent class for PDF interventions models + * and parent class for interventions numbering models */ require_once DOL_DOCUMENT_ROOT.'/core/class/commondocgenerator.class.php'; @@ -54,18 +54,18 @@ abstract class ModelePDFFicheinter extends CommonDocGenerator global $conf; $type='ficheinter'; - $liste=array(); + $list=array(); 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 { @@ -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() { @@ -97,7 +97,7 @@ abstract class ModeleNumRefFicheinter } /** - * Renvoi un exemple de numerotation + * Return a numbering 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 - * de conflits qui empechera cette numerotation de fonctionner. + * Tests if the numbers already in force in the database do not cause conflicts + * that would prevent this numbering from working. * * @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() { @@ -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() { From 92ec149fb61ec58f6e68f6c997f38316c11322b2 Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Sat, 9 Feb 2019 11:05:52 +0100 Subject: [PATCH 2/2] Update modules_fichinter.php --- htdocs/core/modules/fichinter/modules_fichinter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/modules/fichinter/modules_fichinter.php b/htdocs/core/modules/fichinter/modules_fichinter.php index 12c8e4b91d1..3903d6154e5 100644 --- a/htdocs/core/modules/fichinter/modules_fichinter.php +++ b/htdocs/core/modules/fichinter/modules_fichinter.php @@ -65,7 +65,7 @@ abstract class ModelePDFFicheinter extends CommonDocGenerator /** - * Mother class numbering models of intervention sheet references + * Parent class numbering models of intervention sheet references */ abstract class ModeleNumRefFicheinter {