Commit 228c3855 authored by Bertrand Gauthier's avatar Bertrand Gauthier Committed by Thomas Hamel
Browse files

Corrections pour traduction de HDR en anglais

parent 8cbb6fc8
Loading
Loading
Loading
Loading
+1 −1
Changes for module/Soutenance/src/Soutenance/Form/Avis/AvisForm.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ class AvisForm extends Form {
            'type' => File::class,
            'name' => 'rapport',
            'options' => [
                'label' => 'Déposez le rapport de soutenance / Upload the PhD report',
                'label' => 'Déposez le rapport de soutenance / Upload the report',
            ],
        ]);

+5 −2
Changes for module/Soutenance/view/soutenance/avis/index.phtml: 5 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -16,7 +16,10 @@ use Soutenance\Provider\Privilege\AvisSoutenancePrivileges;

$denominationDoctorant = $object->getApprenant()->getIndividu()->__toString();
$denominationRapporteur = $rapporteur->__toString();
$titrePage = "Avis sur la soutenance de la thèse de ".$denominationDoctorant . " / Notification on the PhD defense ";

$soutenanceObjetFr = $object instanceof These ? "la thèse" : "l'HDR";
$soutenanceObjetEn = $object instanceof These ? "the PhD's" : "the Accreditation for PhD supervision's";
$titrePage = "Avis sur la soutenance de $soutenanceObjetFr de " . $denominationDoctorant . " / Notification on $soutenanceObjetEn defense";
$this->headTitle($titrePage);

$canEdit = $this->isAllowed($rapporteur, AvisSoutenancePrivileges::AVIS_MODIFIER);
@@ -39,7 +42,7 @@ $canEdit = $this->isAllowed($rapporteur, AvisSoutenancePrivileges::AVIS_MODIFIER
    <div class="card">
        <div class="card-header bg-dark text-white">
            <h2> Avis sur la soutenance et dépôt du pré-rapport de soutenance /
                Notification on the PhD defense and uploading of the PhD report </h2>
                Notification on the defense and uploading of the report </h2>
        </div>
        <div class="card-body">

+6 −6
Changes for module/Soutenance/view/soutenance/engagement-impartialite/engagement-impartialite.phtml: 6 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -35,11 +35,11 @@ use UnicaenRenderer\Entity\Db\Rendu;
$canSign = $this->isAllowed($object, EngagementImpartialitePrivileges::ENGAGEMENT_IMPARTIALITE_SIGNER);
$canAnnuler = $this->isAllowed($object, EngagementImpartialitePrivileges::ENGAGEMENT_IMPARTIALITE_ANNULER);

$libelleEntite = $typeProposition === Proposition::ROUTE_PARAM_PROPOSITION_THESE ? "thèse" : "HDR";
$englishlibelleEntite = $typeProposition === Proposition::ROUTE_PARAM_PROPOSITION_THESE ? "thesis" : "HDR";
$libelleEntite = $typeProposition === Proposition::ROUTE_PARAM_PROPOSITION_THESE ? "la thèse" : "l'HDR";
$englishlibelleEntite = $typeProposition === Proposition::ROUTE_PARAM_PROPOSITION_THESE ? "the thesis" : "the Accreditation for PhD supervision";
$doctorantNom = $object->getApprenant()->getIndividu();

$this->headTitle("Engagement d'impartialité portant sur la $libelleEntite de ".$doctorantNom);
$this->headTitle("Engagement d'impartialité portant sur $libelleEntite de ".$doctorantNom);
?>

<h1 class="page-header">
@@ -47,13 +47,13 @@ $this->headTitle("Engagement d'impartialité portant sur la $libelleEntite de ".
</h1>

<p>
    Engagement d'impartialité en rapport à la <?= $libelleEntite ?> suivante :
    Engagement d'impartialité en rapport à <?= $libelleEntite ?> suivante :
</p>

<div>
    <div class="box card">
        <div class="card-header bg-dark text-white">
            <h2 class="first"> Information sur la <?= $libelleEntite ?> / Information about the PhD <?= $englishlibelleEntite ?> </h2>
            <h2 class="first"> Information sur <?= $libelleEntite ?> / Information about <?= $englishlibelleEntite ?> </h2>
        </div>
        <div class="card-body">
            <dl class="row">
@@ -75,7 +75,7 @@ $this->headTitle("Engagement d'impartialité portant sur la $libelleEntite de ".
                    <dt class="col-md-5"> Discipline </dt>
                    <dd class="col-md-5"> <?php echo $object->getDiscipline(); ?> </dd>
                <?php else: ?>
                    <dt class="col-md-5"> Candidat / PhD Student</dt>
                    <dt class="col-md-5"> Candidat / Candidate</dt>
                    <dd class="col-md-5"> <?php echo $object->getCandidat(); ?> </dd>
                    <dt class="col-md-5"> Garant(s) / Guarantor(s) </dt>
                    <dd class="col-md-5">
+3 −3
Changes for module/Soutenance/view/soutenance/index/hdr/index-rapporteur.phtml: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@ $canAnnuler = ($membre)?$this->isAllowed($acteurMembre, AvisSoutenancePrivileges
<?php /** Plusieurs HDR ont été trouvées, le rapporteurs doit alors sélectionner celle sur laquelle il veut travailler */ ?>
<?php if (isset($objects)) : ?>
    <h1 class="page-header">
        Tableau de bord des soutenances / Dashboard of the PhD defense
        Tableau de bord des soutenances / Dashboard of the defenses
    </h1>

    <p class="lead">
@@ -75,7 +75,7 @@ $canAnnuler = ($membre)?$this->isAllowed($acteurMembre, AvisSoutenancePrivileges


<h1 class="page-header">
    Tableau de bord de la soutenance / Dashboard of the PhD defense
    Tableau de bord de la soutenance / Dashboard of the defense
    <small><?php echo $this->partial('hdr/hdr/partial/titre') ?></small>
</h1>

@@ -156,7 +156,7 @@ $canAnnuler = ($membre)?$this->isAllowed($acteurMembre, AvisSoutenancePrivileges

<div class="box card">
    <div class="card-header <?php echo ($engagement !== null  && $avis !== null)?"bg-success":"bg-warning"; ?>">
        <h2> Avis de soutenance / Notification on the PhD defense </h2>
        <h2> Avis de soutenance / Notification on the defense </h2>
    </div>
    <div class="card-body">
    <?php if ($engagement !== null) : ?>
+3 −3
Changes for module/Soutenance/view/soutenance/index/these/index-rapporteur.phtml: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ $libelleEntite = $typeProposition === Proposition::ROUTE_PARAM_PROPOSITION_THESE
<?php /** Plusieurs thèses ont été trouvées, le rapporteurs doit alors sélectionner celle sur laquelle il veut travailler */ ?>
<?php if (isset($theses)) : ?>
    <h1 class="page-header">
        Tableau de bord des soutenances / Dashboard of the PhD defense
        Tableau de bord des soutenances / Dashboard of the defenses
    </h1>

    <p class="lead">
@@ -80,7 +80,7 @@ $libelleEntite = $typeProposition === Proposition::ROUTE_PARAM_PROPOSITION_THESE


<h1 class="page-header">
    Tableau de bord de la soutenance / Dashboard of the PhD defense
    Tableau de bord de la soutenance / Dashboard of the defense
    <small><?php echo $this->partial('these/these/partial/titre') ?></small>
</h1>

@@ -188,7 +188,7 @@ $libelleEntite = $typeProposition === Proposition::ROUTE_PARAM_PROPOSITION_THESE

<div class="box card">
    <div class="card-header <?php echo ($engagement !== null && $avis !== null)?"bg-success":"bg-warning"; ?>">
        <h2> Avis de soutenance / Notification on the PhD defense </h2>
        <h2> Avis de soutenance / Notification on the defense </h2>
    </div>
    <div class="card-body">
    <?php if ($engagement !== null) : ?>