homepage_widget: fix translation for emergency badge

This commit is contained in:
Mathieu Jaumotte 2022-02-11 12:56:15 +01:00
parent 9aa51406fa
commit 9ba0cb0c2a
2 changed files with 7 additions and 3 deletions

View File

@ -32,7 +32,7 @@
</span> </span>
</td> </td>
<td> <td>
<span v-if="c.emergency" class="badge rounded-pill bg-danger">{{ $t('emergency') }}</span> <span v-if="c.emergency" class="badge rounded-pill bg-danger me-1">{{ $t('emergency') }}</span>
<span v-if="c.confidential" class="badge rounded-pill bg-danger">{{ $t('confidential') }}</span> <span v-if="c.confidential" class="badge rounded-pill bg-danger">{{ $t('confidential') }}</span>
</td> </td>
<td> <td>
@ -80,5 +80,7 @@ export default {
</script> </script>
<style scoped> <style scoped>
span.badge.rounded-pill.bg-danger {
text-transform: uppercase;
}
</style> </style>

View File

@ -50,7 +50,9 @@ const appMessages = {
assignated_evaluations: "{n} évaluation assignée | {n} évaluations assignées", assignated_evaluations: "{n} évaluation assignée | {n} évaluations assignées",
alert_tasks: "{n} tâche en rappel | {n} tâches en rappel", alert_tasks: "{n} tâche en rappel | {n} tâches en rappel",
warning_tasks: "{n} tâche à échéance | {n} tâches à échéance", warning_tasks: "{n} tâche à échéance | {n} tâches à échéance",
} },
emergency: "Urgent",
confidential: "Confidentiel",
} }
}; };