diff --git a/htdocs/comm/card.php b/htdocs/comm/card.php
index 15f6b6204ce..9d684db1d0f 100644
--- a/htdocs/comm/card.php
+++ b/htdocs/comm/card.php
@@ -1647,7 +1647,7 @@ if ($object->id > 0) {
}
if (isModEnabled('intervention') && $user->hasRight('ficheinter', 'creer') && $object->status == 1) {
- $langs->load("fichinter");
+ $langs->load("interventions");
print '
';
}
diff --git a/htdocs/contrat/class/contrat.class.php b/htdocs/contrat/class/contrat.class.php
index 05764ef546e..31a5b980b19 100644
--- a/htdocs/contrat/class/contrat.class.php
+++ b/htdocs/contrat/class/contrat.class.php
@@ -599,7 +599,7 @@ class Contrat extends CommonObject
}
}
- // Set new ref and define current statut
+ // Set new ref and define current status
if (!$error) {
$this->ref = $num;
$this->status = self::STATUS_VALIDATED;
diff --git a/htdocs/core/lib/fichinter.lib.php b/htdocs/core/lib/fichinter.lib.php
index 43b6d112d45..7d2ad3a69a2 100644
--- a/htdocs/core/lib/fichinter.lib.php
+++ b/htdocs/core/lib/fichinter.lib.php
@@ -1,11 +1,11 @@
- * Copyright (C) 2007 Rodolphe Quiedeville
- * Copyright (C) 2012 Regis Houssin
- * Copyright (C) 2016 Gilles Poirier
- * Copyright (C) 2018-2024 Charlene Benke
- * Copyright (C) 2024 MDW
-
+ * Copyright (C) 2007 Rodolphe Quiedeville
+ * Copyright (C) 2012 Regis Houssin
+ * Copyright (C) 2016 Gilles Poirier
+ * Copyright (C) 2018-2024 Charlene Benke
+ * Copyright (C) 2024 MDW
+ * Copyright (C) 2024 Frédéric France
*
* 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
@@ -37,7 +37,7 @@
function fichinter_prepare_head($object)
{
global $db, $langs, $conf, $user;
- $langs->load("fichinter");
+ $langs->load("interventions");
$h = 0;
$head = array();
diff --git a/htdocs/fichinter/class/fichinter.class.php b/htdocs/fichinter/class/fichinter.class.php
index 5cdc7ca08d5..781fdb0539b 100644
--- a/htdocs/fichinter/class/fichinter.class.php
+++ b/htdocs/fichinter/class/fichinter.class.php
@@ -709,7 +709,7 @@ class Fichinter extends CommonObject
}
}
- // Set new ref and define current statut
+ // Set new ref and define current status
if (!$error) {
$this->ref = $num;
$this->status = self::STATUS_VALIDATED;
@@ -860,7 +860,7 @@ class Fichinter extends CommonObject
// Init/load array of translation of status
if (empty($this->labelStatus) || empty($this->labelStatusShort)) {
global $langs;
- $langs->load("fichinter");
+ $langs->load("interventions");
$this->labelStatus[self::STATUS_DRAFT] = $langs->transnoentitiesnoconv('Draft');
$this->labelStatus[self::STATUS_VALIDATED] = $langs->transnoentitiesnoconv('Validated');
@@ -890,7 +890,7 @@ class Fichinter extends CommonObject
{
global $conf, $langs;
- $langs->load('fichinter');
+ $langs->load('interventions');
$datas = [];
$datas['picto'] = img_picto('', $this->picto).' '.$langs->trans("Intervention").'';
diff --git a/htdocs/fichinter/index.php b/htdocs/fichinter/index.php
index 6d8376bb54b..ed3be373df1 100644
--- a/htdocs/fichinter/index.php
+++ b/htdocs/fichinter/index.php
@@ -4,6 +4,7 @@
* Copyright (C) 2005-2012 Regis Houssin
* Copyright (C) 2015 Charlene Benke
* Copyright (C) 2019 Nicolas ZABOURI
+ * Copyright (C) 2024 Frédéric France
*
* 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
@@ -195,7 +196,7 @@ if (isModEnabled('intervention')) {
print '';
print '';
print '| '.$langs->trans("DraftFichinter").' |
';
- $langs->load("fichinter");
+ $langs->load("interventions");
$num = $db->num_rows($resql);
if ($num) {
$i = 0;
diff --git a/htdocs/fourn/class/fournisseur.facture.class.php b/htdocs/fourn/class/fournisseur.facture.class.php
index b0bddc92183..5bf5b0d930f 100644
--- a/htdocs/fourn/class/fournisseur.facture.class.php
+++ b/htdocs/fourn/class/fournisseur.facture.class.php
@@ -1948,7 +1948,7 @@ class FactureFournisseur extends CommonInvoice
}
}
- // Set new ref and define current statut
+ // Set new ref and define current status
if (!$error) {
$this->ref = $this->newref;
$this->statut = self::STATUS_VALIDATED;
diff --git a/htdocs/public/onlinesign/newonlinesign.php b/htdocs/public/onlinesign/newonlinesign.php
index fb3890a478b..e9728001582 100644
--- a/htdocs/public/onlinesign/newonlinesign.php
+++ b/htdocs/public/onlinesign/newonlinesign.php
@@ -497,7 +497,7 @@ if ($source == 'proposal') {
} elseif ($source == 'fichinter') {
// Signature on fichinter
$found = true;
- $langs->load("fichinter");
+ $langs->load("interventions");
$result = $object->fetch_thirdparty($object->socid);
@@ -602,7 +602,7 @@ if ($source == 'proposal') {
} elseif ($source == 'expedition') {
// Signature on expedition
$found = true;
- $langs->load("fichinter");
+ $langs->load("interventions");
$result = $object->fetch_thirdparty($object->socid);