From 02eadb29fc4e1bc55b9796a3d2f80e9b372cbbe5 Mon Sep 17 00:00:00 2001 From: William Mead Date: Mon, 20 Nov 2023 20:19:43 +0100 Subject: [PATCH] FIX #25458 intervention localizations (backport v17) (#26757) * Fix reopen button localization. Added contributor details. * Added EN done localization * Added FR done localization --------- Co-authored-by: William Mead --- htdocs/fichinter/card.php | 5 +++-- htdocs/langs/en_US/main.lang | 3 ++- htdocs/langs/fr_FR/main.lang | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/htdocs/fichinter/card.php b/htdocs/fichinter/card.php index 484be30b5ce..349139e69ff 100644 --- a/htdocs/fichinter/card.php +++ b/htdocs/fichinter/card.php @@ -9,6 +9,7 @@ * Copyright (C) 2015-2016 Abbes Bahfir * Copyright (C) 2018-2022 Philippe Grand * Copyright (C) 2020 Frédéric France + * Copyright (C) 2023 William Mead * * 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 @@ -1623,9 +1624,9 @@ if ($action == 'create') { // Reopen if ($object->statut >= Fichinter::STATUS_CLOSED) { if ($user->rights->ficheinter->creer) { - print ''; + print ''; } else { - print ''; + print ''; } } diff --git a/htdocs/langs/en_US/main.lang b/htdocs/langs/en_US/main.lang index fb3aee34fc8..95d77fa471e 100644 --- a/htdocs/langs/en_US/main.lang +++ b/htdocs/langs/en_US/main.lang @@ -545,6 +545,7 @@ Reportings=Reporting Draft=Draft Drafts=Drafts StatusInterInvoiced=Invoiced +Done=Done Validated=Validated ValidatedToProduce=Validated (To produce) Opened=Open @@ -1219,4 +1220,4 @@ ExternalUser=External user NoSpecificContactAddress=No specific contact or address NoSpecificContactAddressBis=This tab is dedicated to force specific contacts or addresses for the current object. Use it only if you want to define one or several specific contacts or addresses for the object when the information on the thirdparty is not enough or not accurate. TreeView=Tree view -DateOfPrinting=Date of printing \ No newline at end of file +DateOfPrinting=Date of printing diff --git a/htdocs/langs/fr_FR/main.lang b/htdocs/langs/fr_FR/main.lang index 85768a68a70..2587fb3ffc4 100644 --- a/htdocs/langs/fr_FR/main.lang +++ b/htdocs/langs/fr_FR/main.lang @@ -543,6 +543,7 @@ Reportings=Rapports Draft=Brouillon Drafts=Brouillons StatusInterInvoiced=Facturé +Done=Réalisé Validated=Validé ValidatedToProduce=Validé (à produire) Opened=Ouvert