internationalization

This commit is contained in:
Philippe GRAND 2019-11-09 16:11:37 +01:00
parent 86c826bd87
commit 0690467b15

View File

@ -24,7 +24,7 @@
/** /**
* \file htdocs/adherents/subscription.php * \file htdocs/adherents/subscription.php
* \ingroup member * \ingroup member
* \brief Onglet d'ajout, edition, suppression des adhesions d'un adherent * \brief tab for Adding, editing, deleting a member's memberships
*/ */
require '../main.inc.php'; require '../main.inc.php';
@ -86,7 +86,7 @@ if ($rowid)
// Define variables to know what current user can do on properties of user linked to edited member // Define variables to know what current user can do on properties of user linked to edited member
if ($object->user_id) if ($object->user_id)
{ {
// $user est le user qui edite, $object->user_id est l'id de l'utilisateur lies au membre edite // $user is the user editing, $object->user_id is the user's id linked to the edited member
$caneditfielduser=( (($user->id == $object->user_id) && $user->rights->user->self->creer) $caneditfielduser=( (($user->id == $object->user_id) && $user->rights->user->self->creer)
|| (($user->id != $object->user_id) && $user->rights->user->user->creer) ); || (($user->id != $object->user_id) && $user->rights->user->user->creer) );
$caneditpassworduser=( (($user->id == $object->user_id) && $user->rights->user->self->password) $caneditpassworduser=( (($user->id == $object->user_id) && $user->rights->user->self->password)
@ -554,12 +554,12 @@ if ($rowid > 0)
if (! $adht->subscription) if (! $adht->subscription)
{ {
print $langs->trans("SubscriptionNotRecorded"); print $langs->trans("SubscriptionNotRecorded");
if ($object->statut > 0) print " ".img_warning($langs->trans("Late")); // Affiche picto retard uniquement si non brouillon et non resilie if ($object->statut > 0) print " ".img_warning($langs->trans("Late")); // Display a delay picto only if it is not a draft and is not canceled
} }
else else
{ {
print $langs->trans("SubscriptionNotReceived"); print $langs->trans("SubscriptionNotReceived");
if ($object->statut > 0) print " ".img_warning($langs->trans("Late")); // Affiche picto retard uniquement si non brouillon et non resilie if ($object->statut > 0) print " ".img_warning($langs->trans("Late")); // Display a delay picto only if it is not a draft and is not canceled
} }
} }
print '</td></tr>'; print '</td></tr>';