Skip to content

Commit 9a1a3b4

Browse files
authored
Merge pull request #32881 from nextcloud/Valdnet-patch-2
l10n: Spelling unification
2 parents c19ec67 + 814d9ac commit 9a1a3b4

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

apps/dav/lib/CalDAV/Activity/Filter/Todo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function getIdentifier() {
5252
* @since 11.0.0
5353
*/
5454
public function getName() {
55-
return $this->l->t('Todos');
55+
return $this->l->t('To-dos');
5656
}
5757

5858
/**

apps/dav/lib/CalDAV/Activity/Provider/Todo.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -50,29 +50,29 @@ public function parse($language, IEvent $event, IEvent $previousEvent = null) {
5050
}
5151

5252
if ($event->getSubject() === self::SUBJECT_OBJECT_ADD . '_todo') {
53-
$subject = $this->l->t('{actor} created todo {todo} in list {calendar}');
53+
$subject = $this->l->t('{actor} created to-do {todo} in list {calendar}');
5454
} elseif ($event->getSubject() === self::SUBJECT_OBJECT_ADD . '_todo_self') {
55-
$subject = $this->l->t('You created todo {todo} in list {calendar}');
55+
$subject = $this->l->t('You created to-do {todo} in list {calendar}');
5656
} elseif ($event->getSubject() === self::SUBJECT_OBJECT_DELETE . '_todo') {
57-
$subject = $this->l->t('{actor} deleted todo {todo} from list {calendar}');
57+
$subject = $this->l->t('{actor} deleted to-do {todo} from list {calendar}');
5858
} elseif ($event->getSubject() === self::SUBJECT_OBJECT_DELETE . '_todo_self') {
59-
$subject = $this->l->t('You deleted todo {todo} from list {calendar}');
59+
$subject = $this->l->t('You deleted to-do {todo} from list {calendar}');
6060
} elseif ($event->getSubject() === self::SUBJECT_OBJECT_UPDATE . '_todo') {
61-
$subject = $this->l->t('{actor} updated todo {todo} in list {calendar}');
61+
$subject = $this->l->t('{actor} updated to-do {todo} in list {calendar}');
6262
} elseif ($event->getSubject() === self::SUBJECT_OBJECT_UPDATE . '_todo_self') {
63-
$subject = $this->l->t('You updated todo {todo} in list {calendar}');
63+
$subject = $this->l->t('You updated to-do {todo} in list {calendar}');
6464
} elseif ($event->getSubject() === self::SUBJECT_OBJECT_UPDATE . '_todo_completed') {
65-
$subject = $this->l->t('{actor} solved todo {todo} in list {calendar}');
65+
$subject = $this->l->t('{actor} solved to-do {todo} in list {calendar}');
6666
} elseif ($event->getSubject() === self::SUBJECT_OBJECT_UPDATE . '_todo_completed_self') {
67-
$subject = $this->l->t('You solved todo {todo} in list {calendar}');
67+
$subject = $this->l->t('You solved to-do {todo} in list {calendar}');
6868
} elseif ($event->getSubject() === self::SUBJECT_OBJECT_UPDATE . '_todo_needs_action') {
69-
$subject = $this->l->t('{actor} reopened todo {todo} in list {calendar}');
69+
$subject = $this->l->t('{actor} reopened to-do {todo} in list {calendar}');
7070
} elseif ($event->getSubject() === self::SUBJECT_OBJECT_UPDATE . '_todo_needs_action_self') {
71-
$subject = $this->l->t('You reopened todo {todo} in list {calendar}');
71+
$subject = $this->l->t('You reopened to-do {todo} in list {calendar}');
7272
} elseif ($event->getSubject() === self::SUBJECT_OBJECT_MOVE . '_todo') {
73-
$subject = $this->l->t('{actor} moved todo {todo} from list {sourceCalendar} to list {targetCalendar}');
73+
$subject = $this->l->t('{actor} moved to-do {todo} from list {sourceCalendar} to list {targetCalendar}');
7474
} elseif ($event->getSubject() === self::SUBJECT_OBJECT_MOVE . '_todo_self') {
75-
$subject = $this->l->t('You moved todo {todo} from list {sourceCalendar} to list {targetCalendar}');
75+
$subject = $this->l->t('You moved to-do {todo} from list {sourceCalendar} to list {targetCalendar}');
7676
} else {
7777
throw new \InvalidArgumentException();
7878
}

apps/dav/lib/CalDAV/Activity/Setting/Todo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function getIdentifier() {
3838
* @since 11.0.0
3939
*/
4040
public function getName() {
41-
return $this->l->t('A calendar <strong>todo</strong> was modified');
41+
return $this->l->t('A calendar <strong>to-do</strong> was modified');
4242
}
4343

4444
/**

0 commit comments

Comments
 (0)