From abd5b21fb3abaff79835d37832c4bfaee3d6e033 Mon Sep 17 00:00:00 2001 From: "mathias.chouet" <mathias.chouet@irstea.fr> Date: Fri, 4 Oct 2019 11:13:16 +0200 Subject: [PATCH] Bief: update translation --- src/app/formulaire/definition/concrete/form-bief.ts | 1 - src/locale/messages.en.json | 2 ++ src/locale/messages.fr.json | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app/formulaire/definition/concrete/form-bief.ts b/src/app/formulaire/definition/concrete/form-bief.ts index 7aa4a6950..90edbe135 100644 --- a/src/app/formulaire/definition/concrete/form-bief.ts +++ b/src/app/formulaire/definition/concrete/form-bief.ts @@ -60,7 +60,6 @@ export class FormulaireBief extends FormulaireBase { break; case "fs_water_line": - console.log("reset water line"); this.reset(); // Either Z1 or Z2 is calculable, depending on Regime this.getFieldsetById("fs_condlim").updateFields(); diff --git a/src/locale/messages.en.json b/src/locale/messages.en.json index 4e2f733da..1a3c9fa66 100644 --- a/src/locale/messages.en.json +++ b/src/locale/messages.en.json @@ -5,6 +5,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", "ERROR_ABSTRACT": "%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", "ERROR_DICHO_FUNCTION_VARIATION": "unable to determinate function direction of variation", "ERROR_DICHO_INIT_DOMAIN": "Dichotomy: target %targetSymbol%=%targetValue% does not exist for variable %variableSymbol% valued in interval %variableInterval%", diff --git a/src/locale/messages.fr.json b/src/locale/messages.fr.json index 39603c386..60eb2c965 100644 --- a/src/locale/messages.fr.json +++ b/src/locale/messages.fr.json @@ -5,6 +5,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", "ERROR_ABSTRACT": "%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", "ERROR_DICHO_FUNCTION_VARIATION": "Dichotomie : impossible de determiner le sens de variation de la fonction", "ERROR_DICHO_INIT_DOMAIN": "Dichotomie : la valeur cible %targetSymbol%=%targetValue% n'existe pas pour la variable %variableSymbol% prise dans l'intervalle %variableInterval%", -- GitLab