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 <william.mead@manchenumerique.fr>
This commit is contained in:
William Mead 2023-11-20 20:19:43 +01:00 committed by GitHub
parent 146c78a3de
commit 02eadb29fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View File

@ -9,6 +9,7 @@
* Copyright (C) 2015-2016 Abbes Bahfir <bafbes@gmail.com>
* Copyright (C) 2018-2022 Philippe Grand <philippe.grand@atoo-net.com>
* Copyright (C) 2020 Frédéric France <frederic.france@netlogic.fr>
* Copyright (C) 2023 William Mead <william.mead@manchenumerique.fr>
*
* 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 '<div class="inline-block divButAction"><a class="butAction" href="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'&action=reopen&token='.newToken().'">'.$langs->trans('Reopen').'</a></div>';
print '<div class="inline-block divButAction"><a class="butAction" href="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'&action=reopen&token='.newToken().'">'.$langs->trans('ReOpen').'</a></div>';
} else {
print '<div class="inline-block divButAction"><a class="butActionRefused classfortooltip" href="#">'.$langs->trans('Reopen').'</a></div>';
print '<div class="inline-block divButAction"><a class="butActionRefused classfortooltip" href="#">'.$langs->trans('ReOpen').'</a></div>';
}
}

View File

@ -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
DateOfPrinting=Date of printing

View File

@ -543,6 +543,7 @@ Reportings=Rapports
Draft=Brouillon
Drafts=Brouillons
StatusInterInvoiced=Facturé
Done=Réalisé
Validated=Validé
ValidatedToProduce=Validé (à produire)
Opened=Ouvert