Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-09-20 15:09:08 +0300
committerJoas Schilling <coding@schilljs.com>2016-10-06 15:19:58 +0300
commita4f82f13f396fc063643ab4a9dfcf17b52019332 (patch)
tree486f57f4ab89a0299abd37af98e38a66da20b889 /apps/dav/lib/CalDAV/Calendar.php
parentff3e8c21397c79ac1231c4f16a8372908d79b067 (diff)
Translate the personal calendar
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/dav/lib/CalDAV/Calendar.php')
-rw-r--r--apps/dav/lib/CalDAV/Calendar.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/dav/lib/CalDAV/Calendar.php b/apps/dav/lib/CalDAV/Calendar.php
index 3fbcd87acc0..fc08c9ac87a 100644
--- a/apps/dav/lib/CalDAV/Calendar.php
+++ b/apps/dav/lib/CalDAV/Calendar.php
@@ -38,6 +38,10 @@ class Calendar extends \Sabre\CalDAV\Calendar implements IShareable {
if ($this->getName() === BirthdayService::BIRTHDAY_CALENDAR_URI) {
$this->calendarInfo['{DAV:}displayname'] = $l10n->t('Contact birthdays');
}
+ if ($this->getName() === CalDavBackend::PERSONAL_CALENDAR_URI &&
+ $this->calendarInfo['{DAV:}displayname'] === CalDavBackend::PERSONAL_CALENDAR_NAME) {
+ $this->calendarInfo['{DAV:}displayname'] = $l10n->t('Personal');
+ }
}
/**