diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/l10n/eu.js | 1 | ||||
-rw-r--r-- | lib/l10n/eu.json | 1 | ||||
-rw-r--r-- | lib/private/Files/Storage/Wrapper/Encoding.php | 4 |
3 files changed, 5 insertions, 1 deletions
diff --git a/lib/l10n/eu.js b/lib/l10n/eu.js index 2a91b6eb45f..d883a8efc92 100644 --- a/lib/l10n/eu.js +++ b/lib/l10n/eu.js @@ -123,6 +123,7 @@ OC.L10N.register( "Headline" : "Izenburua", "Organisation" : "Erakundea", "Role" : "Zeregina", + "Pronouns" : "Izenordainak", "Unknown account" : "Kontu ezezaguna", "Additional settings" : "Ezarpen gehiago", "Enter the database Login and name for %s" : "Sartu datu-basearen saioa eta izena %s(r)entzako", diff --git a/lib/l10n/eu.json b/lib/l10n/eu.json index b9f4f3bd736..59fc51924c0 100644 --- a/lib/l10n/eu.json +++ b/lib/l10n/eu.json @@ -121,6 +121,7 @@ "Headline" : "Izenburua", "Organisation" : "Erakundea", "Role" : "Zeregina", + "Pronouns" : "Izenordainak", "Unknown account" : "Kontu ezezaguna", "Additional settings" : "Ezarpen gehiago", "Enter the database Login and name for %s" : "Sartu datu-basearen saioa eta izena %s(r)entzako", diff --git a/lib/private/Files/Storage/Wrapper/Encoding.php b/lib/private/Files/Storage/Wrapper/Encoding.php index d5afbad9592..92e20cfb3df 100644 --- a/lib/private/Files/Storage/Wrapper/Encoding.php +++ b/lib/private/Files/Storage/Wrapper/Encoding.php @@ -280,7 +280,9 @@ class Encoding extends Wrapper { public function getMetaData(string $path): ?array { $entry = $this->storage->getMetaData($this->findPathToUse($path)); - $entry['name'] = trim(Filesystem::normalizePath($entry['name']), '/'); + if ($entry !== null) { + $entry['name'] = trim(Filesystem::normalizePath($entry['name']), '/'); + } return $entry; } |