diff options
-rw-r--r-- | apps/dashboard/l10n/fi.js | 4 | ||||
-rw-r--r-- | apps/dashboard/l10n/fi.json | 4 | ||||
-rw-r--r-- | apps/encryption/lib/Users/Setup.php | 31 | ||||
-rw-r--r-- | apps/encryption/tests/Users/SetupTest.php | 11 | ||||
-rw-r--r-- | apps/files/l10n/ru.js | 8 | ||||
-rw-r--r-- | apps/files/l10n/ru.json | 8 | ||||
-rw-r--r-- | apps/files_sharing/l10n/ru.js | 2 | ||||
-rw-r--r-- | apps/files_sharing/l10n/ru.json | 2 | ||||
-rw-r--r-- | apps/settings/l10n/fi.js | 2 | ||||
-rw-r--r-- | apps/settings/l10n/fi.json | 2 | ||||
-rw-r--r-- | apps/theming/l10n/ru.js | 2 | ||||
-rw-r--r-- | apps/theming/l10n/ru.json | 2 | ||||
-rw-r--r-- | apps/workflowengine/l10n/cs.js | 2 | ||||
-rw-r--r-- | apps/workflowengine/l10n/cs.json | 2 | ||||
-rw-r--r-- | build/psalm-baseline.xml | 7 |
15 files changed, 27 insertions, 62 deletions
diff --git a/apps/dashboard/l10n/fi.js b/apps/dashboard/l10n/fi.js index 17f7a36e845..b6d6e6bbf88 100644 --- a/apps/dashboard/l10n/fi.js +++ b/apps/dashboard/l10n/fi.js @@ -1,8 +1,8 @@ OC.L10N.register( "dashboard", { - "Dashboard" : "Kojetaulu", - "Dashboard app" : "Kojetaulusovellus", + "Dashboard" : "Konsoli", + "Dashboard app" : "Konsolisovellus", "Customize" : "Mukauta", "Change background image" : "Vaihda taustakuva", "Weather service" : "Sääpalvelu", diff --git a/apps/dashboard/l10n/fi.json b/apps/dashboard/l10n/fi.json index ef81a0f0cc2..4b28539af76 100644 --- a/apps/dashboard/l10n/fi.json +++ b/apps/dashboard/l10n/fi.json @@ -1,6 +1,6 @@ { "translations": { - "Dashboard" : "Kojetaulu", - "Dashboard app" : "Kojetaulusovellus", + "Dashboard" : "Konsoli", + "Dashboard app" : "Konsolisovellus", "Customize" : "Mukauta", "Change background image" : "Vaihda taustakuva", "Weather service" : "Sääpalvelu", diff --git a/apps/encryption/lib/Users/Setup.php b/apps/encryption/lib/Users/Setup.php index 2c4dd1fc63d..f68e06a3de0 100644 --- a/apps/encryption/lib/Users/Setup.php +++ b/apps/encryption/lib/Users/Setup.php @@ -29,40 +29,15 @@ namespace OCA\Encryption\Users; use OCA\Encryption\Crypto\Crypt; use OCA\Encryption\KeyManager; -use OCP\ILogger; -use OCP\IUserSession; class Setup { - /** - * @var Crypt - */ + /** @var Crypt */ private $crypt; - /** - * @var KeyManager - */ + /** @var KeyManager */ private $keyManager; - /** - * @var ILogger - */ - private $logger; - /** - * @var bool|string - */ - private $user; - - /** - * @param ILogger $logger - * @param IUserSession $userSession - * @param Crypt $crypt - * @param KeyManager $keyManager - */ - public function __construct(ILogger $logger, - IUserSession $userSession, - Crypt $crypt, + public function __construct(Crypt $crypt, KeyManager $keyManager) { - $this->logger = $logger; - $this->user = $userSession && $userSession->isLoggedIn() ? $userSession->getUser()->getUID() : false; $this->crypt = $crypt; $this->keyManager = $keyManager; } diff --git a/apps/encryption/tests/Users/SetupTest.php b/apps/encryption/tests/Users/SetupTest.php index dfc020d5e02..1ab2fde21c5 100644 --- a/apps/encryption/tests/Users/SetupTest.php +++ b/apps/encryption/tests/Users/SetupTest.php @@ -30,8 +30,6 @@ namespace OCA\Encryption\Tests\Users; use OCA\Encryption\Crypto\Crypt; use OCA\Encryption\KeyManager; use OCA\Encryption\Users\Setup; -use OCP\ILogger; -use OCP\IUserSession; use Test\TestCase; class SetupTest extends TestCase { @@ -50,10 +48,6 @@ class SetupTest extends TestCase { protected function setUp(): void { parent::setUp(); - $logMock = $this->createMock(ILogger::class); - $userSessionMock = $this->getMockBuilder(IUserSession::class) - ->disableOriginalConstructor() - ->getMock(); $this->cryptMock = $this->getMockBuilder(Crypt::class) ->disableOriginalConstructor() ->getMock(); @@ -62,10 +56,7 @@ class SetupTest extends TestCase { ->disableOriginalConstructor() ->getMock(); - /** @var \OCP\ILogger $logMock */ - /** @var \OCP\IUserSession $userSessionMock */ - $this->instance = new Setup($logMock, - $userSessionMock, + $this->instance = new Setup( $this->cryptMock, $this->keyManagerMock); } diff --git a/apps/files/l10n/ru.js b/apps/files/l10n/ru.js index f5308ccb9aa..b8a31a30cad 100644 --- a/apps/files/l10n/ru.js +++ b/apps/files/l10n/ru.js @@ -69,8 +69,8 @@ OC.L10N.register( "_%n file_::_%n files_" : ["%n файл","%n файла","%n файлов","%n файлов"], "{dirs} and {files}" : "{dirs} и {files}", "_including %n hidden_::_including %n hidden_" : ["включая %n скрытый","включая %n скрытых","включая %n скрытых","включая %n скрытых"], - "You don’t have permission to upload or create files here" : "У вас нет разрешений на создание или отправку файлов в эту папку.", - "_Uploading %n file_::_Uploading %n files_" : ["Выгружа%nется файл","Выгружаются %n файла","Выгружаются %n файлов","Отправляются %n файлов"], + "You don’t have permission to upload or create files here" : "У вас нет прав на создание или загрузку файлов в эту папку.", + "_Uploading %n file_::_Uploading %n files_" : ["Выгружа%nется файл","Выгружаются %n файла","Выгружаются %n файлов","Загружаются %n файлов"], "New" : "Новый", "Select file range" : "Выбор диапазона файлов", "{used} of {quota} used" : "использовано {used} из {quota}", @@ -93,7 +93,7 @@ OC.L10N.register( "Favorite" : "Добавить в избранное", "You can only favorite a single file or folder at a time" : "Одновременно можно выбрать только один файл или папку", "New folder" : "Новый каталог", - "Upload file" : "Отправить файл", + "Upload file" : "Загрузить файл", "Recent" : "Недавно изменённые", "Not favorited" : "Не избранное", "Remove from favorites" : "Удалить из избранных", @@ -135,7 +135,7 @@ OC.L10N.register( "A favorite file or folder has been <strong>changed</strong>" : "<strong>Изменён</strong> файл или папка отмеченные как избранное", "All files" : "Все файлы", "Unlimited" : "Неограничено", - "Upload (max. %s)" : "Отправка (максимум %s)", + "Upload (max. %s)" : "Загрузка (максимум %s)", "Accept" : "Принять", "Reject" : "Отклонить", "Incoming ownership transfer from {user}" : "Запрос передачи владения от пользователя {user}", diff --git a/apps/files/l10n/ru.json b/apps/files/l10n/ru.json index f1ec88756a0..0e2ff1667c2 100644 --- a/apps/files/l10n/ru.json +++ b/apps/files/l10n/ru.json @@ -67,8 +67,8 @@ "_%n file_::_%n files_" : ["%n файл","%n файла","%n файлов","%n файлов"], "{dirs} and {files}" : "{dirs} и {files}", "_including %n hidden_::_including %n hidden_" : ["включая %n скрытый","включая %n скрытых","включая %n скрытых","включая %n скрытых"], - "You don’t have permission to upload or create files here" : "У вас нет разрешений на создание или отправку файлов в эту папку.", - "_Uploading %n file_::_Uploading %n files_" : ["Выгружа%nется файл","Выгружаются %n файла","Выгружаются %n файлов","Отправляются %n файлов"], + "You don’t have permission to upload or create files here" : "У вас нет прав на создание или загрузку файлов в эту папку.", + "_Uploading %n file_::_Uploading %n files_" : ["Выгружа%nется файл","Выгружаются %n файла","Выгружаются %n файлов","Загружаются %n файлов"], "New" : "Новый", "Select file range" : "Выбор диапазона файлов", "{used} of {quota} used" : "использовано {used} из {quota}", @@ -91,7 +91,7 @@ "Favorite" : "Добавить в избранное", "You can only favorite a single file or folder at a time" : "Одновременно можно выбрать только один файл или папку", "New folder" : "Новый каталог", - "Upload file" : "Отправить файл", + "Upload file" : "Загрузить файл", "Recent" : "Недавно изменённые", "Not favorited" : "Не избранное", "Remove from favorites" : "Удалить из избранных", @@ -133,7 +133,7 @@ "A favorite file or folder has been <strong>changed</strong>" : "<strong>Изменён</strong> файл или папка отмеченные как избранное", "All files" : "Все файлы", "Unlimited" : "Неограничено", - "Upload (max. %s)" : "Отправка (максимум %s)", + "Upload (max. %s)" : "Загрузка (максимум %s)", "Accept" : "Принять", "Reject" : "Отклонить", "Incoming ownership transfer from {user}" : "Запрос передачи владения от пользователя {user}", diff --git a/apps/files_sharing/l10n/ru.js b/apps/files_sharing/l10n/ru.js index 8fa5e360c8c..f64509e8753 100644 --- a/apps/files_sharing/l10n/ru.js +++ b/apps/files_sharing/l10n/ru.js @@ -222,7 +222,7 @@ OC.L10N.register( "Share note" : "Комментарий к общему ресурсу", "Toggle grid view" : "Включить или отключить режим просмотра сеткой", "Download %s" : "Скачать %s", - "Upload files to %s" : "Отправка файлов в %s", + "Upload files to %s" : "Загрузка файлов в %s", "Note" : "Примечание", "Select or drop files" : "Выберите или перетащите файлы", "Uploading files" : "Загрузка файлов", diff --git a/apps/files_sharing/l10n/ru.json b/apps/files_sharing/l10n/ru.json index c92efca294c..dca02b75b59 100644 --- a/apps/files_sharing/l10n/ru.json +++ b/apps/files_sharing/l10n/ru.json @@ -220,7 +220,7 @@ "Share note" : "Комментарий к общему ресурсу", "Toggle grid view" : "Включить или отключить режим просмотра сеткой", "Download %s" : "Скачать %s", - "Upload files to %s" : "Отправка файлов в %s", + "Upload files to %s" : "Загрузка файлов в %s", "Note" : "Примечание", "Select or drop files" : "Выберите или перетащите файлы", "Uploading files" : "Загрузка файлов", diff --git a/apps/settings/l10n/fi.js b/apps/settings/l10n/fi.js index 8f8c8af9718..4d3bbea99d3 100644 --- a/apps/settings/l10n/fi.js +++ b/apps/settings/l10n/fi.js @@ -361,7 +361,7 @@ OC.L10N.register( "Restrict username autocompletion to users within the same groups" : "Rajoita käyttäjänimen automaattista täydentämistä samoihin ryhmiin kuuluviin käyttäjiin", "This text will be shown on the public link upload page when the file list is hidden." : "Tämä teksti näytetään julkisen linkin lähetyssivulla, kun tiedostolista on piilotettu.", "Default share permissions" : "Oletusjako-oikeudet", - "Reasons to use Nextcloud in your organization" : "Syitä Nextcloudin käyttöön organisaatiossasi", + "Reasons to use Nextcloud in your organization" : "Nextcloudin käytön edut organisaatiossasi", "Developed by the {communityopen}Nextcloud community{linkclose}, the {githubopen}source code{linkclose} is licensed under the {licenseopen}AGPL{linkclose}." : "Kehityksestä on vastannut {communityopen}Nextcloud-yhteisö{linkclose}, {githubopen}lähdekoodi{linkclose} on {licenseopen}AGPL-lisensoitu{linkclose}.", "Like our Facebook page" : "Tykkää Facebook-sivustamme", "Follow us on Twitter" : "Seuraa meitä Twitterissä", diff --git a/apps/settings/l10n/fi.json b/apps/settings/l10n/fi.json index fba11b25c58..2c85f34e8c1 100644 --- a/apps/settings/l10n/fi.json +++ b/apps/settings/l10n/fi.json @@ -359,7 +359,7 @@ "Restrict username autocompletion to users within the same groups" : "Rajoita käyttäjänimen automaattista täydentämistä samoihin ryhmiin kuuluviin käyttäjiin", "This text will be shown on the public link upload page when the file list is hidden." : "Tämä teksti näytetään julkisen linkin lähetyssivulla, kun tiedostolista on piilotettu.", "Default share permissions" : "Oletusjako-oikeudet", - "Reasons to use Nextcloud in your organization" : "Syitä Nextcloudin käyttöön organisaatiossasi", + "Reasons to use Nextcloud in your organization" : "Nextcloudin käytön edut organisaatiossasi", "Developed by the {communityopen}Nextcloud community{linkclose}, the {githubopen}source code{linkclose} is licensed under the {licenseopen}AGPL{linkclose}." : "Kehityksestä on vastannut {communityopen}Nextcloud-yhteisö{linkclose}, {githubopen}lähdekoodi{linkclose} on {licenseopen}AGPL-lisensoitu{linkclose}.", "Like our Facebook page" : "Tykkää Facebook-sivustamme", "Follow us on Twitter" : "Seuraa meitä Twitterissä", diff --git a/apps/theming/l10n/ru.js b/apps/theming/l10n/ru.js index 17086d08d6e..0ac068fcce6 100644 --- a/apps/theming/l10n/ru.js +++ b/apps/theming/l10n/ru.js @@ -23,7 +23,7 @@ OC.L10N.register( "Missing a temporary folder" : "Отсутствует временный каталог", "Could not write file to disk" : "Невозможно записать файл на диск", "A PHP extension stopped the file upload" : "Расширение PHP прервало загрузку файла", - "No file uploaded" : "Нет отправленных файлов", + "No file uploaded" : "Нет загруженных файлов", "You are already using a custom theme. Theming app settings might be overwritten by that." : "Вы уже используете настраиваемое оформление, которое может быть перезаписано этим приложением.", "Theming" : "Внешний вид", "Legal notice" : "Официальное уведомление", diff --git a/apps/theming/l10n/ru.json b/apps/theming/l10n/ru.json index 81cd1a9282b..4d828d975cb 100644 --- a/apps/theming/l10n/ru.json +++ b/apps/theming/l10n/ru.json @@ -21,7 +21,7 @@ "Missing a temporary folder" : "Отсутствует временный каталог", "Could not write file to disk" : "Невозможно записать файл на диск", "A PHP extension stopped the file upload" : "Расширение PHP прервало загрузку файла", - "No file uploaded" : "Нет отправленных файлов", + "No file uploaded" : "Нет загруженных файлов", "You are already using a custom theme. Theming app settings might be overwritten by that." : "Вы уже используете настраиваемое оформление, которое может быть перезаписано этим приложением.", "Theming" : "Внешний вид", "Legal notice" : "Официальное уведомление", diff --git a/apps/workflowengine/l10n/cs.js b/apps/workflowengine/l10n/cs.js index 50281d89f5c..10b008d3099 100644 --- a/apps/workflowengine/l10n/cs.js +++ b/apps/workflowengine/l10n/cs.js @@ -36,10 +36,12 @@ OC.L10N.register( "Operation %s does not exist" : "Operace %s neexistuje", "Operation %s is invalid" : "Operace %s není platná", "At least one check needs to be provided" : "Je třeba poskytnou alespoň jednu kontrolu", + "The provided operation data is too long" : "Data zadané operace jsou příliš objemná", "Invalid check provided" : "Zadána neplatná kontrola", "Check %s does not exist" : "Kontrola %s neexistuje", "Check %s is invalid" : "Kontrola %s je neplatná", "Check %s is not allowed with this entity" : "Zaškrtnutí %s není u této entity povoleno", + "The provided check value is too long" : "Zadaná hodnota kontroly je příliš dlouhá", "Check #%s does not exist" : "Kontrola č. %s neexistuje", "Check %s is invalid or does not exist" : "Kontrola %s není platná, nebo neexistuje", "Flow" : "Tok", diff --git a/apps/workflowengine/l10n/cs.json b/apps/workflowengine/l10n/cs.json index 81aa086c697..364a2564ccd 100644 --- a/apps/workflowengine/l10n/cs.json +++ b/apps/workflowengine/l10n/cs.json @@ -34,10 +34,12 @@ "Operation %s does not exist" : "Operace %s neexistuje", "Operation %s is invalid" : "Operace %s není platná", "At least one check needs to be provided" : "Je třeba poskytnou alespoň jednu kontrolu", + "The provided operation data is too long" : "Data zadané operace jsou příliš objemná", "Invalid check provided" : "Zadána neplatná kontrola", "Check %s does not exist" : "Kontrola %s neexistuje", "Check %s is invalid" : "Kontrola %s je neplatná", "Check %s is not allowed with this entity" : "Zaškrtnutí %s není u této entity povoleno", + "The provided check value is too long" : "Zadaná hodnota kontroly je příliš dlouhá", "Check #%s does not exist" : "Kontrola č. %s neexistuje", "Check %s is invalid or does not exist" : "Kontrola %s není platná, nebo neexistuje", "Flow" : "Tok", diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index cb979928fa7..4a06056de02 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<files psalm-version="4.2.0@ccf6e2805f4c38655110f425c10ca79511f0bb0e"> +<files psalm-version="4.2.1@ea9cb72143b77e7520c52fa37290bd8d8bc88fd9"> <file src="3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php"> <ImplementedReturnTypeMismatch occurrences="1"> <code>string|null</code> @@ -1086,11 +1086,6 @@ <code>new Exceptions\PrivateKeyMissingException('please try to log-out and log-in again', 0)</code> </TooManyArguments> </file> - <file src="apps/encryption/lib/Users/Setup.php"> - <RedundantCondition occurrences="1"> - <code>$userSession</code> - </RedundantCondition> - </file> <file src="apps/encryption/lib/Util.php"> <RedundantCondition occurrences="1"> <code>$userSession</code> |