diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/l10n/fr.js | 21 | ||||
-rw-r--r-- | lib/l10n/fr.json | 21 | ||||
-rw-r--r-- | lib/l10n/ko.js | 7 | ||||
-rw-r--r-- | lib/l10n/ko.json | 7 | ||||
-rw-r--r-- | lib/l10n/uk.js | 21 | ||||
-rw-r--r-- | lib/l10n/uk.json | 21 | ||||
-rw-r--r-- | lib/private/Files/Storage/Common.php | 6 | ||||
-rw-r--r-- | lib/private/FilesMetadata/Model/FilesMetadata.php | 2 | ||||
-rw-r--r-- | lib/private/Group/Manager.php | 3 | ||||
-rw-r--r-- | lib/private/Mail/Mailer.php | 2 | ||||
-rw-r--r-- | lib/private/legacy/OC_User.php | 22 |
11 files changed, 119 insertions, 14 deletions
diff --git a/lib/l10n/fr.js b/lib/l10n/fr.js index 7cab9086553..11cac1289af 100644 --- a/lib/l10n/fr.js +++ b/lib/l10n/fr.js @@ -36,6 +36,9 @@ OC.L10N.register( "The following platforms are supported: %s" : "Les plateformes suivantes sont prises en charge : %s", "Server version %s or higher is required." : "Un serveur de version %s ou supérieure est requis.", "Server version %s or lower is required." : "Un serveur de version %s ou inférieure est requis.", + "Logged in account must be an admin, a sub admin or gotten special right to access this setting" : "Le compte connecté doit être un administrateur, un sous-administrateur ou se voir accorder des droits spéciaux pour accéder à ce réglage", + "Logged in account must be an admin or sub admin" : "Le compte connecté doit être administrateur ou sous-administrateur", + "Logged in account must be an admin" : "Le compte connecté doit être un administrateur", "Wiping of device %s has started" : "L'effaçage de l'appareil %s a démarré", "Wiping of device »%s« has started" : "L'effaçage de l'appareil « %s » a démarré", "»%s« started remote wipe" : "« %s » a démarré l'effaçage distant", @@ -114,15 +117,22 @@ OC.L10N.register( "Headline" : "Titre", "Organisation" : "Organisme", "Role" : "Fonction", + "Unknown account" : "Compte inconnu", "Additional settings" : "Paramètres supplémentaires", + "Enter the database Login and name for %s" : "Saisissez l'identifiant et le nom de la base de données pour %s", + "Enter the database Login for %s" : "Saisissez l'identifiant de la base de données pour %s", "Enter the database name for %s" : "Entrez le nom de la base de données pour %s", "You cannot use dots in the database name %s" : "Vous ne pouvez pas utiliser de points dans le nom de la base de données %s", + "MySQL Login and/or password not valid" : "Identifiant et/ou mot de passe MySQL invalide", "You need to enter details of an existing account." : "Vous devez indiquer les détails d'un compte existant.", "Oracle connection could not be established" : "La connexion Oracle ne peut être établie", + "Oracle Login and/or password not valid" : "Identifiant et/ou mot de passe Oracle invalide", + "PostgreSQL Login and/or password not valid" : "Identifiant et/ou mot de passe PostgreSQL invalide", "Mac OS X is not supported and %s will not work properly on this platform. Use it at your own risk! " : "Mac OS X n'est pas pris en charge et %s ne fonctionnera pas correctement sur cette plate-forme. Son utilisation est à vos risques et périls !", "For the best results, please consider using a GNU/Linux server instead." : "Pour obtenir les meilleurs résultats, vous devriez utiliser un serveur GNU/Linux.", "It seems that this %s instance is running on a 32-bit PHP environment and the open_basedir has been configured in php.ini. This will lead to problems with files over 4 GB and is highly discouraged." : "Il semble que cette instance %s fonctionne sur un environnement PHP 32 bits et open_basedir a été configuré dans php.ini. Cela engendre des problèmes avec les fichiers de taille supérieure à 4 Go et est donc fortement déconseillé.", "Please remove the open_basedir setting within your php.ini or switch to 64-bit PHP." : "Veuillez retirer la configuration open_basedir de votre php.ini ou utiliser une version PHP 64-bit.", + "Set an admin Login." : "Définissez un identifiant administrateur.", "Set an admin password." : "Spécifiez un mot de passe pour l'administrateur.", "Cannot create or write into the data directory %s" : "Impossible de créer ou d'écrire dans le répertoire des données %s", "Sharing backend %s must implement the interface OCP\\Share_Backend" : "Le service de partage %s doit implémenter l'interface OCP\\Share_Backend", @@ -140,6 +150,7 @@ OC.L10N.register( "Expiration date is in the past" : "La date d'expiration est dans le passé", "_Cannot set expiration date more than %n day in the future_::_Cannot set expiration date more than %n days in the future_" : ["Impossible de définir la date d'expiration à dans plus de %n jour","Impossible de définir la date d'expiration à dans plus de %n jours","Impossible de définir la date d'expiration à dans plus de %n jours"], "Sharing is only allowed with group members" : "Le partage n'est que possible qu'avec les membres du groupe", + "Sharing %s failed, because this item is already shared with the account %s" : "Impossible de partager %s car il est déjà partagé avec le compte %s", "%1$s shared »%2$s« with you" : "%1$s a partagé « %2$s » avec vous", "%1$s shared »%2$s« with you." : "%1$s a partagé « %2$s » avec vous.", "Click the button below to open it." : "Cliquez sur le bouton ci-dessous pour l'ouvrir", @@ -193,6 +204,14 @@ OC.L10N.register( "Nov." : "Nov.", "Dec." : "Déc.", "A valid password must be provided" : "Un mot de passe valide doit être saisi", + "The Login is already being used" : "L'identifiant est déjà utilisé", + "Could not create account" : "Impossible de créer le compte", + "Only the following characters are allowed in an Login: \"a-z\", \"A-Z\", \"0-9\", spaces and \"_.@-'\"" : "Seuls les caractères suivants sont autorisés dans un identifiant : \"a-z\", \"A-Z\", \"0-9\", espaces et \"_.@-'\"", + "A valid Login must be provided" : "Un identifiant valide doit être saisi", + "Login contains whitespace at the beginning or at the end" : "L'identifiant contient des espaces au début ou à la fin", + "Login must not consist of dots only" : "L'identifiant ne doit pas être composé uniquement de points", + "Login is invalid because files already exist for this user" : "L’identifiant n'est pas valide car des fichiers existent déjà pour cet utilisateur", + "Account disabled" : "Compte désactivé", "Login canceled by app" : "L'authentification a été annulée par l'application", "App \"%1$s\" cannot be installed because the following dependencies are not fulfilled: %2$s" : "L'application « %1$s » ne peut pas être installée à cause des dépendances suivantes non satisfaites : %2$s", "a safe home for all your data" : "un lieu sûr pour toutes vos données", @@ -225,6 +244,8 @@ OC.L10N.register( "Please ask your server administrator to restart the web server." : "Veuillez demander à votre administrateur serveur de redémarrer le serveur web.", "The required %s config variable is not configured in the config.php file." : "La valeur de configuration requise %s n'est pas configurée dans votre fichier config.php.", "Please ask your server administrator to check the Nextcloud configuration." : "Veuillez demander à votre administrateur serveur de vérifier la configuration de Nextcloud.", + "Your data directory is readable by other people." : "Votre répertoire de données est lisible par d'autres personnes.", + "Please change the permissions to 0770 so that the directory cannot be listed by other people." : "Veuillez changer les permissions du répertoire en mode 0770 afin que son contenu ne puisse pas être listé par les autres personnes.", "Your data directory must be an absolute path." : "Le chemin de votre répertoire doit être un chemin absolu.", "Check the value of \"datadirectory\" in your configuration." : "Verifiez la valeur de \"datadirectory\" dans votre configuration.", "Your data directory is invalid." : "Votre répertoire des données n'est pas valide.", diff --git a/lib/l10n/fr.json b/lib/l10n/fr.json index 6686741e60d..512f87baf42 100644 --- a/lib/l10n/fr.json +++ b/lib/l10n/fr.json @@ -34,6 +34,9 @@ "The following platforms are supported: %s" : "Les plateformes suivantes sont prises en charge : %s", "Server version %s or higher is required." : "Un serveur de version %s ou supérieure est requis.", "Server version %s or lower is required." : "Un serveur de version %s ou inférieure est requis.", + "Logged in account must be an admin, a sub admin or gotten special right to access this setting" : "Le compte connecté doit être un administrateur, un sous-administrateur ou se voir accorder des droits spéciaux pour accéder à ce réglage", + "Logged in account must be an admin or sub admin" : "Le compte connecté doit être administrateur ou sous-administrateur", + "Logged in account must be an admin" : "Le compte connecté doit être un administrateur", "Wiping of device %s has started" : "L'effaçage de l'appareil %s a démarré", "Wiping of device »%s« has started" : "L'effaçage de l'appareil « %s » a démarré", "»%s« started remote wipe" : "« %s » a démarré l'effaçage distant", @@ -112,15 +115,22 @@ "Headline" : "Titre", "Organisation" : "Organisme", "Role" : "Fonction", + "Unknown account" : "Compte inconnu", "Additional settings" : "Paramètres supplémentaires", + "Enter the database Login and name for %s" : "Saisissez l'identifiant et le nom de la base de données pour %s", + "Enter the database Login for %s" : "Saisissez l'identifiant de la base de données pour %s", "Enter the database name for %s" : "Entrez le nom de la base de données pour %s", "You cannot use dots in the database name %s" : "Vous ne pouvez pas utiliser de points dans le nom de la base de données %s", + "MySQL Login and/or password not valid" : "Identifiant et/ou mot de passe MySQL invalide", "You need to enter details of an existing account." : "Vous devez indiquer les détails d'un compte existant.", "Oracle connection could not be established" : "La connexion Oracle ne peut être établie", + "Oracle Login and/or password not valid" : "Identifiant et/ou mot de passe Oracle invalide", + "PostgreSQL Login and/or password not valid" : "Identifiant et/ou mot de passe PostgreSQL invalide", "Mac OS X is not supported and %s will not work properly on this platform. Use it at your own risk! " : "Mac OS X n'est pas pris en charge et %s ne fonctionnera pas correctement sur cette plate-forme. Son utilisation est à vos risques et périls !", "For the best results, please consider using a GNU/Linux server instead." : "Pour obtenir les meilleurs résultats, vous devriez utiliser un serveur GNU/Linux.", "It seems that this %s instance is running on a 32-bit PHP environment and the open_basedir has been configured in php.ini. This will lead to problems with files over 4 GB and is highly discouraged." : "Il semble que cette instance %s fonctionne sur un environnement PHP 32 bits et open_basedir a été configuré dans php.ini. Cela engendre des problèmes avec les fichiers de taille supérieure à 4 Go et est donc fortement déconseillé.", "Please remove the open_basedir setting within your php.ini or switch to 64-bit PHP." : "Veuillez retirer la configuration open_basedir de votre php.ini ou utiliser une version PHP 64-bit.", + "Set an admin Login." : "Définissez un identifiant administrateur.", "Set an admin password." : "Spécifiez un mot de passe pour l'administrateur.", "Cannot create or write into the data directory %s" : "Impossible de créer ou d'écrire dans le répertoire des données %s", "Sharing backend %s must implement the interface OCP\\Share_Backend" : "Le service de partage %s doit implémenter l'interface OCP\\Share_Backend", @@ -138,6 +148,7 @@ "Expiration date is in the past" : "La date d'expiration est dans le passé", "_Cannot set expiration date more than %n day in the future_::_Cannot set expiration date more than %n days in the future_" : ["Impossible de définir la date d'expiration à dans plus de %n jour","Impossible de définir la date d'expiration à dans plus de %n jours","Impossible de définir la date d'expiration à dans plus de %n jours"], "Sharing is only allowed with group members" : "Le partage n'est que possible qu'avec les membres du groupe", + "Sharing %s failed, because this item is already shared with the account %s" : "Impossible de partager %s car il est déjà partagé avec le compte %s", "%1$s shared »%2$s« with you" : "%1$s a partagé « %2$s » avec vous", "%1$s shared »%2$s« with you." : "%1$s a partagé « %2$s » avec vous.", "Click the button below to open it." : "Cliquez sur le bouton ci-dessous pour l'ouvrir", @@ -191,6 +202,14 @@ "Nov." : "Nov.", "Dec." : "Déc.", "A valid password must be provided" : "Un mot de passe valide doit être saisi", + "The Login is already being used" : "L'identifiant est déjà utilisé", + "Could not create account" : "Impossible de créer le compte", + "Only the following characters are allowed in an Login: \"a-z\", \"A-Z\", \"0-9\", spaces and \"_.@-'\"" : "Seuls les caractères suivants sont autorisés dans un identifiant : \"a-z\", \"A-Z\", \"0-9\", espaces et \"_.@-'\"", + "A valid Login must be provided" : "Un identifiant valide doit être saisi", + "Login contains whitespace at the beginning or at the end" : "L'identifiant contient des espaces au début ou à la fin", + "Login must not consist of dots only" : "L'identifiant ne doit pas être composé uniquement de points", + "Login is invalid because files already exist for this user" : "L’identifiant n'est pas valide car des fichiers existent déjà pour cet utilisateur", + "Account disabled" : "Compte désactivé", "Login canceled by app" : "L'authentification a été annulée par l'application", "App \"%1$s\" cannot be installed because the following dependencies are not fulfilled: %2$s" : "L'application « %1$s » ne peut pas être installée à cause des dépendances suivantes non satisfaites : %2$s", "a safe home for all your data" : "un lieu sûr pour toutes vos données", @@ -223,6 +242,8 @@ "Please ask your server administrator to restart the web server." : "Veuillez demander à votre administrateur serveur de redémarrer le serveur web.", "The required %s config variable is not configured in the config.php file." : "La valeur de configuration requise %s n'est pas configurée dans votre fichier config.php.", "Please ask your server administrator to check the Nextcloud configuration." : "Veuillez demander à votre administrateur serveur de vérifier la configuration de Nextcloud.", + "Your data directory is readable by other people." : "Votre répertoire de données est lisible par d'autres personnes.", + "Please change the permissions to 0770 so that the directory cannot be listed by other people." : "Veuillez changer les permissions du répertoire en mode 0770 afin que son contenu ne puisse pas être listé par les autres personnes.", "Your data directory must be an absolute path." : "Le chemin de votre répertoire doit être un chemin absolu.", "Check the value of \"datadirectory\" in your configuration." : "Verifiez la valeur de \"datadirectory\" dans votre configuration.", "Your data directory is invalid." : "Votre répertoire des données n'est pas valide.", diff --git a/lib/l10n/ko.js b/lib/l10n/ko.js index 7c693915396..f34bea1fb3c 100644 --- a/lib/l10n/ko.js +++ b/lib/l10n/ko.js @@ -35,6 +35,9 @@ OC.L10N.register( "The following platforms are supported: %s" : "다음 플랫폼을 지원합니다: %s", "Server version %s or higher is required." : "서버 버전 %s 이상이 필요합니다.", "Server version %s or lower is required." : "서버 버전 %s 미만이 필요합니다.", + "Logged in account must be an admin, a sub admin or gotten special right to access this setting" : "로그인된 계정이 관리자, 부 관리자, 또는 이 설정에 접근할 수 있는 권한을 부여받은 계정이어야 합니다", + "Logged in account must be an admin or sub admin" : "로그인된 계정이 관리자 또는 부 관리자여야 합니다", + "Logged in account must be an admin" : "로그인된 계정이 관리자여야 합니다", "Wiping of device %s has started" : "디바이스 %s의 완전 삭제가 시작되었습니다.", "Wiping of device »%s« has started" : "디바이스 »%s«의 완전 삭제가 시작되었습니다.", "»%s« started remote wipe" : "»%s«에서 원격 제거를 시작했습니다", @@ -113,6 +116,7 @@ OC.L10N.register( "Headline" : "표제", "Organisation" : "조직", "Role" : "직책", + "Unknown account" : "알 수 없는 계정", "Additional settings" : "고급 설정", "Enter the database name for %s" : "%s에 대한 데이터베이스 이름을 입력하십시오", "You cannot use dots in the database name %s" : "데이터베이스 이름에 점(.)을 사용할 수 없습니다 %s", @@ -139,6 +143,7 @@ OC.L10N.register( "Expiration date is in the past" : "만료 날짜가 과거입니다", "_Cannot set expiration date more than %n day in the future_::_Cannot set expiration date more than %n days in the future_" : ["만료 날짜는 최대 %s일까지 설정할 수 있습니다"], "Sharing is only allowed with group members" : "같은 그룹 사용자에게만 공유할 수 있습니다", + "Sharing %s failed, because this item is already shared with the account %s" : "%s을(를) 공유할 수 없습니다. 이 항목을 이미 %s 계정과 공유하고 있습니다", "%1$s shared »%2$s« with you" : "%1$s 님이 »%2$s« 항목을 공유했습니다", "%1$s shared »%2$s« with you." : "%1$s 님이 »%2$s« 항목을 공유했습니다", "Click the button below to open it." : "아래 단추를 눌러서 열 수 있습니다.", @@ -192,6 +197,8 @@ OC.L10N.register( "Nov." : "11월", "Dec." : "12월", "A valid password must be provided" : "올바른 암호를 입력해야 합니다", + "Could not create account" : "계정을 만들 수 없음", + "Account disabled" : "계정이 비활성화됨", "Login canceled by app" : "앱에서 로그인 취소함", "App \"%1$s\" cannot be installed because the following dependencies are not fulfilled: %2$s" : "앱 \"%1$s\"이(가) 다음 의존성을 만족하지 않아 설치될 수 없습니다: %2$s", "a safe home for all your data" : "내 모든 데이터의 안전한 저장소", diff --git a/lib/l10n/ko.json b/lib/l10n/ko.json index d98b947b690..1d39df18a8a 100644 --- a/lib/l10n/ko.json +++ b/lib/l10n/ko.json @@ -33,6 +33,9 @@ "The following platforms are supported: %s" : "다음 플랫폼을 지원합니다: %s", "Server version %s or higher is required." : "서버 버전 %s 이상이 필요합니다.", "Server version %s or lower is required." : "서버 버전 %s 미만이 필요합니다.", + "Logged in account must be an admin, a sub admin or gotten special right to access this setting" : "로그인된 계정이 관리자, 부 관리자, 또는 이 설정에 접근할 수 있는 권한을 부여받은 계정이어야 합니다", + "Logged in account must be an admin or sub admin" : "로그인된 계정이 관리자 또는 부 관리자여야 합니다", + "Logged in account must be an admin" : "로그인된 계정이 관리자여야 합니다", "Wiping of device %s has started" : "디바이스 %s의 완전 삭제가 시작되었습니다.", "Wiping of device »%s« has started" : "디바이스 »%s«의 완전 삭제가 시작되었습니다.", "»%s« started remote wipe" : "»%s«에서 원격 제거를 시작했습니다", @@ -111,6 +114,7 @@ "Headline" : "표제", "Organisation" : "조직", "Role" : "직책", + "Unknown account" : "알 수 없는 계정", "Additional settings" : "고급 설정", "Enter the database name for %s" : "%s에 대한 데이터베이스 이름을 입력하십시오", "You cannot use dots in the database name %s" : "데이터베이스 이름에 점(.)을 사용할 수 없습니다 %s", @@ -137,6 +141,7 @@ "Expiration date is in the past" : "만료 날짜가 과거입니다", "_Cannot set expiration date more than %n day in the future_::_Cannot set expiration date more than %n days in the future_" : ["만료 날짜는 최대 %s일까지 설정할 수 있습니다"], "Sharing is only allowed with group members" : "같은 그룹 사용자에게만 공유할 수 있습니다", + "Sharing %s failed, because this item is already shared with the account %s" : "%s을(를) 공유할 수 없습니다. 이 항목을 이미 %s 계정과 공유하고 있습니다", "%1$s shared »%2$s« with you" : "%1$s 님이 »%2$s« 항목을 공유했습니다", "%1$s shared »%2$s« with you." : "%1$s 님이 »%2$s« 항목을 공유했습니다", "Click the button below to open it." : "아래 단추를 눌러서 열 수 있습니다.", @@ -190,6 +195,8 @@ "Nov." : "11월", "Dec." : "12월", "A valid password must be provided" : "올바른 암호를 입력해야 합니다", + "Could not create account" : "계정을 만들 수 없음", + "Account disabled" : "계정이 비활성화됨", "Login canceled by app" : "앱에서 로그인 취소함", "App \"%1$s\" cannot be installed because the following dependencies are not fulfilled: %2$s" : "앱 \"%1$s\"이(가) 다음 의존성을 만족하지 않아 설치될 수 없습니다: %2$s", "a safe home for all your data" : "내 모든 데이터의 안전한 저장소", diff --git a/lib/l10n/uk.js b/lib/l10n/uk.js index 845d7e9344e..d72a4a09a8d 100644 --- a/lib/l10n/uk.js +++ b/lib/l10n/uk.js @@ -36,6 +36,9 @@ OC.L10N.register( "The following platforms are supported: %s" : "Підтримуються такі платформи: %s", "Server version %s or higher is required." : "Потрібна версія сервера %s або вище.", "Server version %s or lower is required." : "Потрібна версія сервера %s або нижча.", + "Logged in account must be an admin, a sub admin or gotten special right to access this setting" : "Обліковий запис для входу має бути адміністратором, заступником адміністратора або мати спеціальні права доступу до цих налаштувань.", + "Logged in account must be an admin or sub admin" : "Обліковий запис для входу має бути адміністратором, заступником адміністратора", + "Logged in account must be an admin" : "Обліковий запис для входу має бути адміністратором", "Wiping of device %s has started" : "Розпочато очищення пристрою %s", "Wiping of device »%s« has started" : "Розпочато стирання даних на пристрої \"%s\".", "»%s« started remote wipe" : "\"%s\" розпочато віддалене стирання даних", @@ -114,15 +117,22 @@ OC.L10N.register( "Headline" : "Заголовок", "Organisation" : "Організація", "Role" : "Роль", + "Unknown account" : "Невідомий обліковий запис", "Additional settings" : "Додатково", + "Enter the database Login and name for %s" : "Введіть ім’я користувача та назву бази даних для %s", + "Enter the database Login for %s" : "Введіть ім'я користувача бази даних для %s", "Enter the database name for %s" : "Введіть назву бази даних для %s", "You cannot use dots in the database name %s" : "Не можна використовувати крапки в назві бази даних %s", + "MySQL Login and/or password not valid" : "Ім'я користувача та/або пароль MySQL недійсні", "You need to enter details of an existing account." : "Потрібно ввести дані наявного облікового запису.", "Oracle connection could not be established" : "Не можемо з'єднатися з Oracle ", + "Oracle Login and/or password not valid" : "Ім'я користувача та/або пароль Oracle не дійсні", + "PostgreSQL Login and/or password not valid" : "Ім'я користувача та/або пароль PostgreSQL не дійсні", "Mac OS X is not supported and %s will not work properly on this platform. Use it at your own risk! " : "Mac OS X не підтримується і %s не буде коректно працювати на цій платформі. Випробовуєте на свій риск!", "For the best results, please consider using a GNU/Linux server instead." : "Для кращих результатів розгляньте можливість використання GNU/Linux серверу", "It seems that this %s instance is running on a 32-bit PHP environment and the open_basedir has been configured in php.ini. This will lead to problems with files over 4 GB and is highly discouraged." : "Ймовірно, що сервер %s працює в 32-бітному PHP середовищі і open_basedir повинен бути налаштований в php.ini. Це призведе до проблем з файлами більше 4 ГБ і це дуже не рекомендується.", "Please remove the open_basedir setting within your php.ini or switch to 64-bit PHP." : "Будь ласка, вилучіть параметр open_basedir у вашому php.ini або перейдіть на 64-бітний PHP.", + "Set an admin Login." : "Встановіть ім'я облікового запису адміністратора.", "Set an admin password." : "Встановіть пароль адміністратора.", "Cannot create or write into the data directory %s" : "Неможливо створити або записати в каталог даних %s", "Sharing backend %s must implement the interface OCP\\Share_Backend" : "Бекенд спільного доступу %s повинен реалізовувати інтерфейс OCP\\Share_Backend", @@ -140,6 +150,7 @@ OC.L10N.register( "Expiration date is in the past" : "Дата закінчення в минулому", "_Cannot set expiration date more than %n day in the future_::_Cannot set expiration date more than %n days in the future_" : ["Неможливо встановити дату закінчення більше ніж %n день у майбутньому","Неможливо встановити дату закінчення більше ніж %n днів у майбутньому","Неможливо встановити дату закінчення більше ніж %n днів у майбутньому","Неможливо встановити дату закінчення більше ніж %n днів у майбутньому"], "Sharing is only allowed with group members" : "Спільний доступ дозволений лише для учасників групи", + "Sharing %s failed, because this item is already shared with the account %s" : "Не вдалося надати у спільний доступ%s, оскільки цей ресурс вже у спільному доступі з обліковим записом %s", "%1$s shared »%2$s« with you" : "%1$s надав(-ла) доступ до \"%2$s\"", "%1$s shared »%2$s« with you." : "%1$s надав(-ла) доступ до \"%2$s\".", "Click the button below to open it." : "Щоб відкрити файл, натисніть кнопку нижче.", @@ -193,6 +204,14 @@ OC.L10N.register( "Nov." : "Лис.", "Dec." : "Гру.", "A valid password must be provided" : "Потрібно задати вірний пароль", + "The Login is already being used" : "Це ім'я облікового запису вже використовується", + "Could not create account" : "Не вдалося створити обліковий запис", + "Only the following characters are allowed in an Login: \"a-z\", \"A-Z\", \"0-9\", spaces and \"_.@-'\"" : "Лише такі символи дозволено у імені облікового запису: \"a-z\", \"A-Z\", \"0-9\", пробіл та \"_.@-'\"", + "A valid Login must be provided" : "Зазначте дійсне ім'я користувача", + "Login contains whitespace at the beginning or at the end" : "Ім'я користувача містить символ пробілу на початку або наприкінці", + "Login must not consist of dots only" : "Ім'я користувача не може складатися лише з крапок", + "Login is invalid because files already exist for this user" : "Недійсне ім'я облікового запису, оскільки файли для цього користувача вже присутні", + "Account disabled" : "Обліковий запис вимкнено", "Login canceled by app" : "Вхід скасовано застосунком", "App \"%1$s\" cannot be installed because the following dependencies are not fulfilled: %2$s" : "Застосунок \"%1$s\" неможливо встановити, оскільки не виконано такі залежності: %2$s", "a safe home for all your data" : "безпечний дім для ваших даних", @@ -225,6 +244,8 @@ OC.L10N.register( "Please ask your server administrator to restart the web server." : "Будь ласка, зверніться до адміністратора, щоб перезавантажити сервер.", "The required %s config variable is not configured in the config.php file." : "Необхідна змінна конфігурації %s не налаштована у файлі config.php.", "Please ask your server administrator to check the Nextcloud configuration." : "Будь ласка, попросіть свого адміністратора сервера перевірити конфігурацію Nextcloud.", + "Your data directory is readable by other people." : "Ваш каталог даних доступний для читання для інших користувачів.", + "Please change the permissions to 0770 so that the directory cannot be listed by other people." : "Змініть права доступу на 0770, щоб інші користувачі не могли отримати список файлів цього каталогу.", "Your data directory must be an absolute path." : "Ваш каталог даних має бути абсолютним шляхом.", "Check the value of \"datadirectory\" in your configuration." : "Перевірте значення «каталогу даних» у вашій конфігурації.", "Your data directory is invalid." : "Ваш каталог даних недійсний.", diff --git a/lib/l10n/uk.json b/lib/l10n/uk.json index 48154068d48..c290f60e5ec 100644 --- a/lib/l10n/uk.json +++ b/lib/l10n/uk.json @@ -34,6 +34,9 @@ "The following platforms are supported: %s" : "Підтримуються такі платформи: %s", "Server version %s or higher is required." : "Потрібна версія сервера %s або вище.", "Server version %s or lower is required." : "Потрібна версія сервера %s або нижча.", + "Logged in account must be an admin, a sub admin or gotten special right to access this setting" : "Обліковий запис для входу має бути адміністратором, заступником адміністратора або мати спеціальні права доступу до цих налаштувань.", + "Logged in account must be an admin or sub admin" : "Обліковий запис для входу має бути адміністратором, заступником адміністратора", + "Logged in account must be an admin" : "Обліковий запис для входу має бути адміністратором", "Wiping of device %s has started" : "Розпочато очищення пристрою %s", "Wiping of device »%s« has started" : "Розпочато стирання даних на пристрої \"%s\".", "»%s« started remote wipe" : "\"%s\" розпочато віддалене стирання даних", @@ -112,15 +115,22 @@ "Headline" : "Заголовок", "Organisation" : "Організація", "Role" : "Роль", + "Unknown account" : "Невідомий обліковий запис", "Additional settings" : "Додатково", + "Enter the database Login and name for %s" : "Введіть ім’я користувача та назву бази даних для %s", + "Enter the database Login for %s" : "Введіть ім'я користувача бази даних для %s", "Enter the database name for %s" : "Введіть назву бази даних для %s", "You cannot use dots in the database name %s" : "Не можна використовувати крапки в назві бази даних %s", + "MySQL Login and/or password not valid" : "Ім'я користувача та/або пароль MySQL недійсні", "You need to enter details of an existing account." : "Потрібно ввести дані наявного облікового запису.", "Oracle connection could not be established" : "Не можемо з'єднатися з Oracle ", + "Oracle Login and/or password not valid" : "Ім'я користувача та/або пароль Oracle не дійсні", + "PostgreSQL Login and/or password not valid" : "Ім'я користувача та/або пароль PostgreSQL не дійсні", "Mac OS X is not supported and %s will not work properly on this platform. Use it at your own risk! " : "Mac OS X не підтримується і %s не буде коректно працювати на цій платформі. Випробовуєте на свій риск!", "For the best results, please consider using a GNU/Linux server instead." : "Для кращих результатів розгляньте можливість використання GNU/Linux серверу", "It seems that this %s instance is running on a 32-bit PHP environment and the open_basedir has been configured in php.ini. This will lead to problems with files over 4 GB and is highly discouraged." : "Ймовірно, що сервер %s працює в 32-бітному PHP середовищі і open_basedir повинен бути налаштований в php.ini. Це призведе до проблем з файлами більше 4 ГБ і це дуже не рекомендується.", "Please remove the open_basedir setting within your php.ini or switch to 64-bit PHP." : "Будь ласка, вилучіть параметр open_basedir у вашому php.ini або перейдіть на 64-бітний PHP.", + "Set an admin Login." : "Встановіть ім'я облікового запису адміністратора.", "Set an admin password." : "Встановіть пароль адміністратора.", "Cannot create or write into the data directory %s" : "Неможливо створити або записати в каталог даних %s", "Sharing backend %s must implement the interface OCP\\Share_Backend" : "Бекенд спільного доступу %s повинен реалізовувати інтерфейс OCP\\Share_Backend", @@ -138,6 +148,7 @@ "Expiration date is in the past" : "Дата закінчення в минулому", "_Cannot set expiration date more than %n day in the future_::_Cannot set expiration date more than %n days in the future_" : ["Неможливо встановити дату закінчення більше ніж %n день у майбутньому","Неможливо встановити дату закінчення більше ніж %n днів у майбутньому","Неможливо встановити дату закінчення більше ніж %n днів у майбутньому","Неможливо встановити дату закінчення більше ніж %n днів у майбутньому"], "Sharing is only allowed with group members" : "Спільний доступ дозволений лише для учасників групи", + "Sharing %s failed, because this item is already shared with the account %s" : "Не вдалося надати у спільний доступ%s, оскільки цей ресурс вже у спільному доступі з обліковим записом %s", "%1$s shared »%2$s« with you" : "%1$s надав(-ла) доступ до \"%2$s\"", "%1$s shared »%2$s« with you." : "%1$s надав(-ла) доступ до \"%2$s\".", "Click the button below to open it." : "Щоб відкрити файл, натисніть кнопку нижче.", @@ -191,6 +202,14 @@ "Nov." : "Лис.", "Dec." : "Гру.", "A valid password must be provided" : "Потрібно задати вірний пароль", + "The Login is already being used" : "Це ім'я облікового запису вже використовується", + "Could not create account" : "Не вдалося створити обліковий запис", + "Only the following characters are allowed in an Login: \"a-z\", \"A-Z\", \"0-9\", spaces and \"_.@-'\"" : "Лише такі символи дозволено у імені облікового запису: \"a-z\", \"A-Z\", \"0-9\", пробіл та \"_.@-'\"", + "A valid Login must be provided" : "Зазначте дійсне ім'я користувача", + "Login contains whitespace at the beginning or at the end" : "Ім'я користувача містить символ пробілу на початку або наприкінці", + "Login must not consist of dots only" : "Ім'я користувача не може складатися лише з крапок", + "Login is invalid because files already exist for this user" : "Недійсне ім'я облікового запису, оскільки файли для цього користувача вже присутні", + "Account disabled" : "Обліковий запис вимкнено", "Login canceled by app" : "Вхід скасовано застосунком", "App \"%1$s\" cannot be installed because the following dependencies are not fulfilled: %2$s" : "Застосунок \"%1$s\" неможливо встановити, оскільки не виконано такі залежності: %2$s", "a safe home for all your data" : "безпечний дім для ваших даних", @@ -223,6 +242,8 @@ "Please ask your server administrator to restart the web server." : "Будь ласка, зверніться до адміністратора, щоб перезавантажити сервер.", "The required %s config variable is not configured in the config.php file." : "Необхідна змінна конфігурації %s не налаштована у файлі config.php.", "Please ask your server administrator to check the Nextcloud configuration." : "Будь ласка, попросіть свого адміністратора сервера перевірити конфігурацію Nextcloud.", + "Your data directory is readable by other people." : "Ваш каталог даних доступний для читання для інших користувачів.", + "Please change the permissions to 0770 so that the directory cannot be listed by other people." : "Змініть права доступу на 0770, щоб інші користувачі не могли отримати список файлів цього каталогу.", "Your data directory must be an absolute path." : "Ваш каталог даних має бути абсолютним шляхом.", "Check the value of \"datadirectory\" in your configuration." : "Перевірте значення «каталогу даних» у вашій конфігурації.", "Your data directory is invalid." : "Ваш каталог даних недійсний.", diff --git a/lib/private/Files/Storage/Common.php b/lib/private/Files/Storage/Common.php index 3d5a2f098b2..fe88fb3150f 100644 --- a/lib/private/Files/Storage/Common.php +++ b/lib/private/Files/Storage/Common.php @@ -61,6 +61,7 @@ use OCP\Files\ReservedWordException; use OCP\Files\Storage\ILockingStorage; use OCP\Files\Storage\IStorage; use OCP\Files\Storage\IWriteStreamStorage; +use OCP\Files\StorageNotAvailableException; use OCP\Lock\ILockingProvider; use OCP\Lock\LockedException; use Psr\Log\LoggerInterface; @@ -894,6 +895,11 @@ abstract class Common implements Storage, ILockingStorage, IWriteStreamStorage { public function getDirectoryContent($directory): \Traversable { $dh = $this->opendir($directory); + + if ($dh === false) { + throw new StorageNotAvailableException('Directory listing failed'); + } + if (is_resource($dh)) { $basePath = rtrim($directory, '/'); while (($file = readdir($dh)) !== false) { diff --git a/lib/private/FilesMetadata/Model/FilesMetadata.php b/lib/private/FilesMetadata/Model/FilesMetadata.php index 629b537dabe..84cb177bc37 100644 --- a/lib/private/FilesMetadata/Model/FilesMetadata.php +++ b/lib/private/FilesMetadata/Model/FilesMetadata.php @@ -480,7 +480,7 @@ class FilesMetadata implements IFilesMetadata { // if value does not exist, or type has changed, we keep on the writing } - $valueWrapper = new MetadataValueWrapper(IMetadataValueWrapper::TYPE_STRING_LIST); + $valueWrapper = new MetadataValueWrapper(IMetadataValueWrapper::TYPE_INT_LIST); $this->metadata[$key] = $valueWrapper->setValueIntList($value)->setIndexed($index); $this->updated = true; diff --git a/lib/private/Group/Manager.php b/lib/private/Group/Manager.php index eb9daebb222..dafbe4295a4 100644 --- a/lib/private/Group/Manager.php +++ b/lib/private/Group/Manager.php @@ -52,6 +52,7 @@ use OCP\IGroup; use OCP\IGroupManager; use OCP\IUser; use Psr\Log\LoggerInterface; +use function is_string; /** * Class Manager @@ -356,7 +357,7 @@ class Manager extends PublicEmitter implements IGroupManager { */ public function isAdmin($userId) { foreach ($this->backends as $backend) { - if ($backend->implementsActions(Backend::IS_ADMIN) && $backend->isAdmin($userId)) { + if (is_string($userId) && $backend->implementsActions(Backend::IS_ADMIN) && $backend->isAdmin($userId)) { return true; } } diff --git a/lib/private/Mail/Mailer.php b/lib/private/Mail/Mailer.php index 9b7b3cf117b..61dc6f9214b 100644 --- a/lib/private/Mail/Mailer.php +++ b/lib/private/Mail/Mailer.php @@ -331,7 +331,7 @@ class Mailer implements IMailer { } $binaryParam = match ($this->config->getSystemValueString('mail_sendmailmode', 'smtp')) { - 'pipe' => ' -t', + 'pipe' => ' -t -i', default => ' -bs', }; diff --git a/lib/private/legacy/OC_User.php b/lib/private/legacy/OC_User.php index d2dc2a2389f..dc172ba4144 100644 --- a/lib/private/legacy/OC_User.php +++ b/lib/private/legacy/OC_User.php @@ -38,7 +38,10 @@ use OC\User\LoginException; use OCP\EventDispatcher\IEventDispatcher; +use OCP\IGroupManager; +use OCP\IUser; use OCP\IUserManager; +use OCP\Server; use OCP\User\Events\BeforeUserLoggedInEvent; use OCP\User\Events\UserLoggedInEvent; use Psr\Log\LoggerInterface; @@ -93,7 +96,7 @@ class OC_User { case 'database': case 'mysql': case 'sqlite': - \OCP\Server::get(LoggerInterface::class)->debug('Adding user backend ' . $backend . '.', ['app' => 'core']); + Server::get(LoggerInterface::class)->debug('Adding user backend ' . $backend . '.', ['app' => 'core']); self::$_usedBackends[$backend] = new \OC\User\Database(); \OC::$server->getUserManager()->registerBackend(self::$_usedBackends[$backend]); break; @@ -102,7 +105,7 @@ class OC_User { \OC::$server->getUserManager()->registerBackend(self::$_usedBackends[$backend]); break; default: - \OCP\Server::get(LoggerInterface::class)->debug('Adding default user backend ' . $backend . '.', ['app' => 'core']); + Server::get(LoggerInterface::class)->debug('Adding default user backend ' . $backend . '.', ['app' => 'core']); $className = 'OC_USER_' . strtoupper($backend); self::$_usedBackends[$backend] = new $className(); \OC::$server->getUserManager()->registerBackend(self::$_usedBackends[$backend]); @@ -147,10 +150,10 @@ class OC_User { self::useBackend($backend); self::$_setupedBackends[] = $i; } else { - \OCP\Server::get(LoggerInterface::class)->debug('User backend ' . $class . ' already initialized.', ['app' => 'core']); + Server::get(LoggerInterface::class)->debug('User backend ' . $class . ' already initialized.', ['app' => 'core']); } } else { - \OCP\Server::get(LoggerInterface::class)->error('User backend ' . $class . ' not found.', ['app' => 'core']); + Server::get(LoggerInterface::class)->error('User backend ' . $class . ' not found.', ['app' => 'core']); } } } @@ -303,7 +306,7 @@ class OC_User { } $user = \OC::$server->getUserSession()->getUser(); - if ($user instanceof \OCP\IUser) { + if ($user instanceof IUser) { $backend = $user->getBackend(); if ($backend instanceof \OCP\User\Backend\ICustomLogout) { return $backend->getLogoutUrl(); @@ -323,12 +326,9 @@ class OC_User { * @return bool */ public static function isAdminUser($uid) { - $group = \OC::$server->getGroupManager()->get('admin'); - $user = \OC::$server->getUserManager()->get($uid); - if ($group && $user && $group->inGroup($user) && self::$incognitoMode === false) { - return true; - } - return false; + $user = Server::get(IUserManager::class)->get($uid); + $isAdmin = $user && Server::get(IGroupManager::class)->isAdmin($user->getUID()); + return $isAdmin && self::$incognitoMode === false; } |