Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix labels and translations #1140

Merged
merged 1 commit into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion frontend/messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -922,5 +922,8 @@
"ebiosWs5_5": "Establish risk monitoring framework",
"activity": "Activity",
"bringTheEvidences": "Bring the evidences",
"bringTheEvidencesHelpText": "If disabled, the object will be duplicated without its evidences"
"bringTheEvidencesHelpText": "If disabled, the object will be duplicated without its evidences",
"existingControlsHelper": "What do you currently have to manage this risk",
"extraControlsHelper": "What will you do to mitigate this risk",
"existingContextHelper": "Description of the existing mitigations (this field will be deprecated soon)"
}
5 changes: 4 additions & 1 deletion frontend/messages/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -898,5 +898,8 @@
"ebiosWs5_5": "Mettre en place le cadre de suivi des risques",
"activity": "Activité",
"bringTheEvidences": "Apportez les preuves",
"bringTheEvidencesHelpText": "Si désactivé, l'objet sera dupliqué sans ses preuves"
"bringTheEvidencesHelpText": "Si désactivé, l'objet sera dupliqué sans ses preuves",
"existingControlsHelper": "Que disposez-vous actuellement pour gérer ce risque",
"extraControlsHelper": "Que ferez-vous pour atténuer ce risque",
"existingContextHelper": "Description des mesures existantes (ce champ sera bientôt obsolète)"
}
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
<div class="flex flex-row space-x-4 card px-4 py-2 bg-white shadow-lg justify-between">
<div class="flex flex-col w-1/2">
<h4 class="h4 font-semibold">{m.residualRisk()}</h4>
<p class="text-sm font-semibold text-gray-400">{m.appliedControls()}</p>
<p class="text-sm font-semibold text-gray-400">{m.extraAppliedControls()}</p>
<ModelTable
source={data.tables['risk_scenarios']}
hideFilters={true}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@
extra_fields: [['folder', 'str']]
})}
field="existing_applied_controls"
label="Existing controls"
helpText="Current measures to manage this risk"
label={m.existingControls()}
helpText={m.existingControlsHelper()}
/>
</div>
<div class="flex items-center justify-center">
Expand All @@ -254,7 +254,7 @@
{form}
field="existing_controls"
label="context"
helpText="Description of the existing mitigations ( ℹ️ this field will be deprecated soon)"
helpText={m.existingContextHelper()}
regionContainer="w-1/2"
rows={3}
/>
Expand Down Expand Up @@ -311,8 +311,8 @@
extra_fields: [['folder', 'str']]
})}
field="applied_controls"
label="Additional controls"
helpText="Extra measures needed to mitigate this risk"
label={m.extraAppliedControls()}
helpText={m.extraControlsHelper()}
/>
</div>
<div class="flex items-center justify-center">
Expand Down
Loading