From 42e1def4bf8135490d3acda838adcaed16907688 Mon Sep 17 00:00:00 2001 From: "mathias.chouet" <mathias.chouet@irstea.fr> Date: Tue, 8 Sep 2020 12:06:02 +0200 Subject: [PATCH] Update translations for singular/plural --- src/locale/messages.en.json | 3 ++- src/locale/messages.fr.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/locale/messages.en.json b/src/locale/messages.en.json index 18ba6a504..f5856562e 100644 --- a/src/locale/messages.en.json +++ b/src/locale/messages.en.json @@ -7,7 +7,8 @@ "WARNING_NOTCH_SUBMERSION_GREATER_THAN_07": "Notch formula is discouraged when submersion is greater than 0.7", "WARNING_SLOT_SUBMERSION_NOT_BETWEEN_07_AND_09": "Slot formula is discouraged when submersion is lower than 0.7 or greater than 0.9", "WARNING_WEIR_SUBMERSION_LOWER_THAN_08": "Submerged weir formula is discouraged when submersion is lower than 08", - "WARNING_ERRORS_ABSTRACT": "%nb% errors occurred during calculation", + "WARNING_ERRORS_ABSTRACT": "%nb% error occurred during calculation", + "WARNING_ERRORS_ABSTRACT_PLUR": "%nb% errors occurred during calculation", "ERROR_BIEF_Z1_CALC_FAILED": "Unable to calculate upstream elevation (calculation interrupted before upstream)", "ERROR_BIEF_Z2_CALC_FAILED": "Unable to calculate downstream elevation (calculation interrupted before downstream)", "ERROR_DICHO_CONVERGE": "Dichotomy could not converge. Last approximation: %lastApproximation%", diff --git a/src/locale/messages.fr.json b/src/locale/messages.fr.json index 0e4d4d036..dd7f76cb3 100644 --- a/src/locale/messages.fr.json +++ b/src/locale/messages.fr.json @@ -7,7 +7,8 @@ "WARNING_NOTCH_SUBMERSION_GREATER_THAN_07": "La formule de l'échancrure n'est pas conseillée pour un ennoiement supérieur à 0.7", "WARNING_SLOT_SUBMERSION_NOT_BETWEEN_07_AND_09": "La formule de la fente n'est pas conseillée pour un ennoiement inférieur à 0.7 et supérieur à 0.9", "WARNING_WEIR_SUBMERSION_LOWER_THAN_08": "La formule du seuil noyé n'est pas conseillé pour un ennoiement inférieur à 0.8", - "WARNING_ERRORS_ABSTRACT": "%nb% erreurs rencontrées lors du calcul", + "WARNING_ERRORS_ABSTRACT": "%nb% erreur rencontrée lors du calcul", + "WARNING_ERRORS_ABSTRACT_PLUR": "%nb% erreurs rencontrées lors du calcul", "ERROR_BIEF_Z1_CALC_FAILED": "Impossible de calculer la cote amont (calcul interrompu avant l'amont)", "ERROR_BIEF_Z2_CALC_FAILED": "Impossible de calculer la cote aval (calcul interrompu avant l'aval)", "ERROR_DICHO_CONVERGE": "La dichotomie n'a pas pu converger. Dernière approximation : %lastApproximation%", -- GitLab