summaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav')
-rw-r--r--apps/dav/l10n/en_GB.js50
-rw-r--r--apps/dav/l10n/en_GB.json48
-rw-r--r--apps/dav/l10n/hu.js1
-rw-r--r--apps/dav/l10n/hu.json1
-rw-r--r--apps/dav/l10n/it.js1
-rw-r--r--apps/dav/l10n/it.json1
-rw-r--r--apps/dav/l10n/sv.js1
-rw-r--r--apps/dav/l10n/sv.json1
-rw-r--r--apps/dav/lib/CalDAV/CalDavBackend.php2
-rw-r--r--apps/dav/tests/unit/CalDAV/CalDavBackendTest.php2
10 files changed, 106 insertions, 2 deletions
diff --git a/apps/dav/l10n/en_GB.js b/apps/dav/l10n/en_GB.js
new file mode 100644
index 00000000000..5d754ffe653
--- /dev/null
+++ b/apps/dav/l10n/en_GB.js
@@ -0,0 +1,50 @@
+OC.L10N.register(
+ "dav",
+ {
+ "Calendar" : "Calendar",
+ "Todos" : "Todos",
+ "{actor} created calendar {calendar}" : "{actor} created calendar {calendar}",
+ "You created calendar {calendar}" : "You created calendar {calendar}",
+ "{actor} deleted calendar {calendar}" : "{actor} deleted calendar {calendar}",
+ "You deleted calendar {calendar}" : "You deleted calendar {calendar}",
+ "{actor} updated calendar {calendar}" : "{actor} updated calendar {calendar}",
+ "You updated calendar {calendar}" : "You updated calendar {calendar}",
+ "{actor} shared calendar {calendar} with you" : "{actor} shared calendar {calendar} with you",
+ "You shared calendar {calendar} with {user}" : "You shared calendar {calendar} with {user}",
+ "{actor} shared calendar {calendar} with {user}" : "{actor} shared calendar {calendar} with {user}",
+ "{actor} unshared calendar {calendar} from you" : "{actor} unshared calendar {calendar} from you",
+ "You unshared calendar {calendar} from {user}" : "You unshared calendar {calendar} from {user}",
+ "{actor} unshared calendar {calendar} from {user}" : "{actor} unshared calendar {calendar} from {user}",
+ "{actor} unshared calendar {calendar} from themselves" : "{actor} unshared calendar {calendar} from themselves",
+ "You shared calendar {calendar} with group {group}" : "You shared calendar {calendar} with group {group}",
+ "{actor} shared calendar {calendar} with group {group}" : "{actor} shared calendar {calendar} with group {group}",
+ "You unshared calendar {calendar} from group {group}" : "You unshared calendar {calendar} from group {group}",
+ "{actor} unshared calendar {calendar} from group {group}" : "{actor} unshared calendar {calendar} from group {group}",
+ "{actor} created event {event} in calendar {calendar}" : "{actor} created event {event} in calendar {calendar}",
+ "You created event {event} in calendar {calendar}" : "You created event {event} in calendar {calendar}",
+ "{actor} deleted event {event} from calendar {calendar}" : "{actor} deleted event {event} from calendar {calendar}",
+ "You deleted event {event} from calendar {calendar}" : "You deleted event {event} from calendar {calendar}",
+ "{actor} updated event {event} in calendar {calendar}" : "{actor} updated event {event} in calendar {calendar}",
+ "You updated event {event} in calendar {calendar}" : "You updated event {event} in calendar {calendar}",
+ "{actor} created todo {todo} in list {calendar}" : "{actor} created todo {todo} in list {calendar}",
+ "You created todo {todo} in list {calendar}" : "You created todo {todo} in list {calendar}",
+ "{actor} deleted todo {todo} from list {calendar}" : "{actor} deleted todo {todo} from list {calendar}",
+ "You deleted todo {todo} from list {calendar}" : "You deleted todo {todo} from list {calendar}",
+ "{actor} updated todo {todo} in list {calendar}" : "{actor} updated todo {todo} in list {calendar}",
+ "You updated todo {todo} in list {calendar}" : "You updated todo {todo} in list {calendar}",
+ "{actor} solved todo {todo} in list {calendar}" : "{actor} solved todo {todo} in list {calendar}",
+ "You solved todo {todo} in list {calendar}" : "You solved todo {todo} in list {calendar}",
+ "{actor} reopened todo {todo} in list {calendar}" : "{actor} reopened todo {todo} in list {calendar}",
+ "You reopened todo {todo} in list {calendar}" : "You reopened todo {todo} in list {calendar}",
+ "A <strong>calendar</strong> was modified" : "A <strong>calendar</strong> was modified",
+ "A calendar <strong>event</strong> was modified" : "A calendar <strong>event</strong> was modified",
+ "A calendar <strong>todo</strong> was modified" : "A calendar <strong>todo</strong> was modified",
+ "Contact birthdays" : "Contact birthdays",
+ "Personal" : "Personal",
+ "Contacts" : "Contacts",
+ "WebDAV" : "WebDAV",
+ "Technical details" : "Technical details",
+ "Remote Address: %s" : "Remote Address: %s",
+ "Request ID: %s" : "Request ID: %s"
+},
+"nplurals=2; plural=(n != 1);");
diff --git a/apps/dav/l10n/en_GB.json b/apps/dav/l10n/en_GB.json
new file mode 100644
index 00000000000..88317a81a2e
--- /dev/null
+++ b/apps/dav/l10n/en_GB.json
@@ -0,0 +1,48 @@
+{ "translations": {
+ "Calendar" : "Calendar",
+ "Todos" : "Todos",
+ "{actor} created calendar {calendar}" : "{actor} created calendar {calendar}",
+ "You created calendar {calendar}" : "You created calendar {calendar}",
+ "{actor} deleted calendar {calendar}" : "{actor} deleted calendar {calendar}",
+ "You deleted calendar {calendar}" : "You deleted calendar {calendar}",
+ "{actor} updated calendar {calendar}" : "{actor} updated calendar {calendar}",
+ "You updated calendar {calendar}" : "You updated calendar {calendar}",
+ "{actor} shared calendar {calendar} with you" : "{actor} shared calendar {calendar} with you",
+ "You shared calendar {calendar} with {user}" : "You shared calendar {calendar} with {user}",
+ "{actor} shared calendar {calendar} with {user}" : "{actor} shared calendar {calendar} with {user}",
+ "{actor} unshared calendar {calendar} from you" : "{actor} unshared calendar {calendar} from you",
+ "You unshared calendar {calendar} from {user}" : "You unshared calendar {calendar} from {user}",
+ "{actor} unshared calendar {calendar} from {user}" : "{actor} unshared calendar {calendar} from {user}",
+ "{actor} unshared calendar {calendar} from themselves" : "{actor} unshared calendar {calendar} from themselves",
+ "You shared calendar {calendar} with group {group}" : "You shared calendar {calendar} with group {group}",
+ "{actor} shared calendar {calendar} with group {group}" : "{actor} shared calendar {calendar} with group {group}",
+ "You unshared calendar {calendar} from group {group}" : "You unshared calendar {calendar} from group {group}",
+ "{actor} unshared calendar {calendar} from group {group}" : "{actor} unshared calendar {calendar} from group {group}",
+ "{actor} created event {event} in calendar {calendar}" : "{actor} created event {event} in calendar {calendar}",
+ "You created event {event} in calendar {calendar}" : "You created event {event} in calendar {calendar}",
+ "{actor} deleted event {event} from calendar {calendar}" : "{actor} deleted event {event} from calendar {calendar}",
+ "You deleted event {event} from calendar {calendar}" : "You deleted event {event} from calendar {calendar}",
+ "{actor} updated event {event} in calendar {calendar}" : "{actor} updated event {event} in calendar {calendar}",
+ "You updated event {event} in calendar {calendar}" : "You updated event {event} in calendar {calendar}",
+ "{actor} created todo {todo} in list {calendar}" : "{actor} created todo {todo} in list {calendar}",
+ "You created todo {todo} in list {calendar}" : "You created todo {todo} in list {calendar}",
+ "{actor} deleted todo {todo} from list {calendar}" : "{actor} deleted todo {todo} from list {calendar}",
+ "You deleted todo {todo} from list {calendar}" : "You deleted todo {todo} from list {calendar}",
+ "{actor} updated todo {todo} in list {calendar}" : "{actor} updated todo {todo} in list {calendar}",
+ "You updated todo {todo} in list {calendar}" : "You updated todo {todo} in list {calendar}",
+ "{actor} solved todo {todo} in list {calendar}" : "{actor} solved todo {todo} in list {calendar}",
+ "You solved todo {todo} in list {calendar}" : "You solved todo {todo} in list {calendar}",
+ "{actor} reopened todo {todo} in list {calendar}" : "{actor} reopened todo {todo} in list {calendar}",
+ "You reopened todo {todo} in list {calendar}" : "You reopened todo {todo} in list {calendar}",
+ "A <strong>calendar</strong> was modified" : "A <strong>calendar</strong> was modified",
+ "A calendar <strong>event</strong> was modified" : "A calendar <strong>event</strong> was modified",
+ "A calendar <strong>todo</strong> was modified" : "A calendar <strong>todo</strong> was modified",
+ "Contact birthdays" : "Contact birthdays",
+ "Personal" : "Personal",
+ "Contacts" : "Contacts",
+ "WebDAV" : "WebDAV",
+ "Technical details" : "Technical details",
+ "Remote Address: %s" : "Remote Address: %s",
+ "Request ID: %s" : "Request ID: %s"
+},"pluralForm" :"nplurals=2; plural=(n != 1);"
+} \ No newline at end of file
diff --git a/apps/dav/l10n/hu.js b/apps/dav/l10n/hu.js
index 85c3bc641ff..944b9a8eb8d 100644
--- a/apps/dav/l10n/hu.js
+++ b/apps/dav/l10n/hu.js
@@ -42,6 +42,7 @@ OC.L10N.register(
"Contact birthdays" : "Születésnapok",
"Personal" : "Személyes",
"Contacts" : "Névjegyek",
+ "WebDAV" : "WebDAV",
"Technical details" : "Technikai adatok",
"Remote Address: %s" : "Távoli cím: %s",
"Request ID: %s" : "Kérelem azonosító: %s"
diff --git a/apps/dav/l10n/hu.json b/apps/dav/l10n/hu.json
index f84e4c4fce3..7a6f6299a79 100644
--- a/apps/dav/l10n/hu.json
+++ b/apps/dav/l10n/hu.json
@@ -40,6 +40,7 @@
"Contact birthdays" : "Születésnapok",
"Personal" : "Személyes",
"Contacts" : "Névjegyek",
+ "WebDAV" : "WebDAV",
"Technical details" : "Technikai adatok",
"Remote Address: %s" : "Távoli cím: %s",
"Request ID: %s" : "Kérelem azonosító: %s"
diff --git a/apps/dav/l10n/it.js b/apps/dav/l10n/it.js
index e58d3bd107f..a296541f594 100644
--- a/apps/dav/l10n/it.js
+++ b/apps/dav/l10n/it.js
@@ -42,6 +42,7 @@ OC.L10N.register(
"Contact birthdays" : "Date di nascita dei contatti",
"Personal" : "Personale",
"Contacts" : "Contatti",
+ "WebDAV" : "WebDAV",
"Technical details" : "Dettagli tecnici",
"Remote Address: %s" : "Indirizzo remoto: %s",
"Request ID: %s" : "ID richiesta: %s"
diff --git a/apps/dav/l10n/it.json b/apps/dav/l10n/it.json
index 1f71eed7aff..075ec8fd28a 100644
--- a/apps/dav/l10n/it.json
+++ b/apps/dav/l10n/it.json
@@ -40,6 +40,7 @@
"Contact birthdays" : "Date di nascita dei contatti",
"Personal" : "Personale",
"Contacts" : "Contatti",
+ "WebDAV" : "WebDAV",
"Technical details" : "Dettagli tecnici",
"Remote Address: %s" : "Indirizzo remoto: %s",
"Request ID: %s" : "ID richiesta: %s"
diff --git a/apps/dav/l10n/sv.js b/apps/dav/l10n/sv.js
index 25cd0d797c8..5d9a2b6c9f5 100644
--- a/apps/dav/l10n/sv.js
+++ b/apps/dav/l10n/sv.js
@@ -42,6 +42,7 @@ OC.L10N.register(
"Contact birthdays" : "Födelsedagar",
"Personal" : "Privat",
"Contacts" : "Kontakter",
+ "WebDAV" : "WebDAV",
"Technical details" : "Tekniska detaljer",
"Remote Address: %s" : "Extern adress: %s",
"Request ID: %s" : "Begär ID: %s"
diff --git a/apps/dav/l10n/sv.json b/apps/dav/l10n/sv.json
index ba76ca55329..3a536dd915b 100644
--- a/apps/dav/l10n/sv.json
+++ b/apps/dav/l10n/sv.json
@@ -40,6 +40,7 @@
"Contact birthdays" : "Födelsedagar",
"Personal" : "Privat",
"Contacts" : "Kontakter",
+ "WebDAV" : "WebDAV",
"Technical details" : "Tekniska detaljer",
"Remote Address: %s" : "Extern adress: %s",
"Request ID: %s" : "Begär ID: %s"
diff --git a/apps/dav/lib/CalDAV/CalDavBackend.php b/apps/dav/lib/CalDAV/CalDavBackend.php
index fcf73cb0f31..ef3df8de83e 100644
--- a/apps/dav/lib/CalDAV/CalDavBackend.php
+++ b/apps/dav/lib/CalDAV/CalDavBackend.php
@@ -2009,7 +2009,7 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription
if (in_array($property->name, self::$indexProperties)) {
$value = $property->getValue();
// is this a shitty db?
- if ($this->db->supports4ByteText()) {
+ if (!$this->db->supports4ByteText()) {
$value = preg_replace('/[\x{10000}-\x{10FFFF}]/u', "\xEF\xBF\xBD", $value);
}
$value = substr($value, 0, 254);
diff --git a/apps/dav/tests/unit/CalDAV/CalDavBackendTest.php b/apps/dav/tests/unit/CalDAV/CalDavBackendTest.php
index dc531b5a64a..fa298282d7e 100644
--- a/apps/dav/tests/unit/CalDAV/CalDavBackendTest.php
+++ b/apps/dav/tests/unit/CalDAV/CalDavBackendTest.php
@@ -539,7 +539,7 @@ CREATED;VALUE=DATE-TIME:20130910T125139Z
UID:47d15e3ec8
LAST-MODIFIED;VALUE=DATE-TIME:20130910T125139Z
DTSTAMP;VALUE=DATE-TIME:20130910T125139Z
-SUMMARY:123 Event
+SUMMARY:123 Event 🙈
DTSTART;VALUE=DATE-TIME:20130912T130000Z
DTEND;VALUE=DATE-TIME:20130912T140000Z
ATTENDEE;CN=test:mailto:foo@bar.com