From 80cdbfc4555bfb00e1b9e9e06bbe788d1e411605 Mon Sep 17 00:00:00 2001 From: wptharindu <74440485+wptharindu@users.noreply.github.com> Date: Wed, 22 May 2024 10:40:16 +1000 Subject: [PATCH] prev wrapper --- nutrition/results.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nutrition/results.py b/nutrition/results.py index 096c54b8..0c0bfa84 100644 --- a/nutrition/results.py +++ b/nutrition/results.py @@ -232,9 +232,9 @@ def write_results(results, reduced_results={}, projname=None, filename=None, fol for o, outcome in enumerate(rows): name = [res.name] if o == 0 else [""] thisout = out[o] - if "prev" in outcome.lower(): + if _("prev") in outcome.lower(): cumul = _("N/A") - elif "mortality" in outcome.lower(): + elif _("mortality") in outcome.lower(): cumul = _("N/A") elif _("Number of SAM children") in outcome or _("Number of MAM children") in outcome: cumul = "N/A"