diff --git a/gramps/gen/lib/date.py b/gramps/gen/lib/date.py index 5346883429f..8820dbb9d0f 100644 --- a/gramps/gen/lib/date.py +++ b/gramps/gen/lib/date.py @@ -457,7 +457,9 @@ def _format(self, diff_tuple, dlocale=glocale): ).format(number_of=diff_tuple[0]) detail += 1 if self.precision == detail: - if diff_tuple[1] >= 6 and config.get("preferences.age-rounded-year"): # round up years + if diff_tuple[1] >= 6 and config.get( + "preferences.age-rounded-year" + ): # round up years # Translators: leave all/any {...} untranslated retval = ngettext( "{number_of} year", "{number_of} years", diff_tuple[0] + 1