nextcloud/server

Plural missing on CalDAV Activity when creating multiple Calendar events

Open

#5 528 ouverte le 24 juin 2017

Voir sur GitHub
 (4 commentaires) (0 réactions) (0 assignés)PHP (4 865 forks)batch import
1. to develop32-feedbackbugfeature: activity and notificationfeature: caldavfeature: language/translations (l10n/i18n)good first issuepapercut

Métriques du dépôt

Stars
 (34 953 stars)
Métriques de merge PR
 (Merge moyen 20j) (627 PRs mergées en 30 j)

Description

Steps to reproduce

  1. Create multiple events around the same time on Nextcloud Calendar
  2. Look at your Activities
  3. An activity stating "You created event Event 1, Event 2..."

Expected behaviour

If multiple events are created, activity should read as "You created events Event 1, Event 2..."

Actual behaviour

The word "event" is not plural.

Server configuration

Nextcloud 12

Operating system: N/A

Web server: N/A

Database: N/A

PHP version: N/A

Nextcloud version: 12

Updated from an older Nextcloud/ownCloud or fresh install: N/A

Where did you install Nextcloud from: git source

Client configuration

Browser: Noticed on Nextcloud-dev Android client, but client agnostic

Relevant code seems to be here: https://github.com/nextcloud/server/blob/master/apps/dav/lib/CalDAV/Activity/Provider/Event.php#L89

Guide contributeur