Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > ddfeee3bedf84e44f20049fdcc070a8a > files > 37

kdepimlibs4-4.14.10-2.2.mga5.src.rpm

From c3b14a1c4f63c523800e60a6439ddce97fd686da Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20Vr=C3=A1til?= <daniel.vratil@kdab.com>
Date: Fri, 11 Mar 2016 14:05:59 +0100
Subject: [PATCH 36/47] Improve comments representation in participants list

---
 kcalutils/incidenceformatter.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kcalutils/incidenceformatter.cpp b/kcalutils/incidenceformatter.cpp
index 6518af125..e233a9f5f 100644
--- a/kcalutils/incidenceformatter.cpp
+++ b/kcalutils/incidenceformatter.cpp
@@ -2427,7 +2427,7 @@ static QString invitationAttendeeList(const Incidence::Ptr &incidence)
                 if (!a->delegate().isEmpty()) {
                     comments << i18n("delegated to %1", a->delegate());
                 }
-                tmpStr += invitationPerson(a->email(), a->name(), QString(), comments.join(QLatin1String(",")));
+                tmpStr += invitationPerson(a->email(), a->name(), QString(), comments.join(i18nc("Comment list separator", ", ")));
                 tmpStr += QLatin1String("<br>\n");
             }
         }
@@ -2486,7 +2486,7 @@ static QString invitationRsvpList(const Incidence::Ptr &incidence, const Attende
                 if (!a->delegate().isEmpty()) {
                     comments << i18n("delegated to %1", a->delegate());
                 }
-                tmpStr += invitationPerson(a->email(), a->name(), QString(), comments.join(QLatin1String(",")));
+                tmpStr += invitationPerson(a->email(), a->name(), QString(), comments.join(i18nc("Comment list separator", ", ")));
                 tmpStr += QLatin1String(" ") + statusStr + QLatin1String("<br>\n");
             }
         }
-- 
2.14.1