From 7f2bd919a121c507ec99a6f0e67b4be59739e757 Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Wed, 26 Feb 2014 10:20:11 -0800 Subject: [PATCH] 7276: translate some punctuation marks -- partial --- src/gen/lib/date.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gen/lib/date.py b/src/gen/lib/date.py index 70993d5ac..5686fd81a 100644 --- a/src/gen/lib/date.py +++ b/src/gen/lib/date.py @@ -501,14 +501,16 @@ class Span(object): return retval if diff_tuple[1] != 0: if retval != "": - retval += ", " + # translators: needed for Arabic, ignore otherwise + retval += _(", ") retval += ngettext("%d month", "%d months", diff_tuple[1]) % diff_tuple[1] detail += 1 if self.precision == detail: return retval if diff_tuple[2] != 0: if retval != "": - retval += ", " + # translators: needed for Arabic, ignore otherwise + retval += _(", ") retval += ngettext("%d day", "%d days", diff_tuple[2]) % diff_tuple[2] detail += 1 if self.precision == detail: