From 88d86df66f3eca1e0cd67c052aa1a99116d4d557 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Mon, 29 Dec 2025 23:08:18 +0000 Subject: [PATCH 1/5] ZIP Exports: Added limit to ZIP file size before extraction Checks files within the ZIP again the app upload file limit before using/streaming/extracting, to help ensure that they do no exceed what might be expected on that instance, and to prevent disk exhaustion via things like super high compression ratio files. Thanks to Jeong Woo Lee (eclipse07077-ljw) for reporting. --- app/Exports/ZipExports/ZipExportReader.php | 21 ++++++++ .../ZipExports/ZipFileReferenceRule.php | 8 ++- app/Exports/ZipExports/ZipImportRunner.php | 6 +++ lang/en/errors.php | 1 + lang/en/validation.php | 1 + tests/Exports/ZipImportRunnerTest.php | 53 +++++++++++++++++++ 6 files changed, 89 insertions(+), 1 deletion(-) diff --git a/app/Exports/ZipExports/ZipExportReader.php b/app/Exports/ZipExports/ZipExportReader.php index c3d5c23cf..28b830167 100644 --- a/app/Exports/ZipExports/ZipExportReader.php +++ b/app/Exports/ZipExports/ZipExportReader.php @@ -58,6 +58,16 @@ class ZipExportReader { $this->open(); + $info = $this->zip->statName('data.json'); + if ($info === false) { + throw new ZipExportException(trans('errors.import_zip_cant_decode_data')); + } + + $maxSize = max(intval(config()->get('app.upload_limit')), 1) * 1000000; + if ($info['size'] > $maxSize) { + throw new ZipExportException(trans('errors.import_zip_data_too_large')); + } + // Validate json data exists, including metadata $jsonData = $this->zip->getFromName('data.json') ?: ''; $importData = json_decode($jsonData, true); @@ -73,6 +83,17 @@ class ZipExportReader return $this->zip->statName("files/{$fileName}") !== false; } + public function fileWithinSizeLimit(string $fileName): bool + { + $fileInfo = $this->zip->statName("files/{$fileName}"); + if ($fileInfo === false) { + return false; + } + + $maxSize = max(intval(config()->get('app.upload_limit')), 1) * 1000000; + return $fileInfo['size'] <= $maxSize; + } + /** * @return false|resource */ diff --git a/app/Exports/ZipExports/ZipFileReferenceRule.php b/app/Exports/ZipExports/ZipFileReferenceRule.php index 90e78c060..01d703a1d 100644 --- a/app/Exports/ZipExports/ZipFileReferenceRule.php +++ b/app/Exports/ZipExports/ZipFileReferenceRule.php @@ -13,7 +13,6 @@ class ZipFileReferenceRule implements ValidationRule ) { } - /** * @inheritDoc */ @@ -23,6 +22,13 @@ class ZipFileReferenceRule implements ValidationRule $fail('validation.zip_file')->translate(); } + if (!$this->context->zipReader->fileWithinSizeLimit($value)) { + $fail('validation.zip_file_size')->translate([ + 'attribute' => $value, + 'size' => config('app.upload_limit'), + ]); + } + if (!empty($this->acceptedMimes)) { $fileMime = $this->context->zipReader->sniffFileMime($value); if (!in_array($fileMime, $this->acceptedMimes)) { diff --git a/app/Exports/ZipExports/ZipImportRunner.php b/app/Exports/ZipExports/ZipImportRunner.php index 748acf43f..382e4073e 100644 --- a/app/Exports/ZipExports/ZipImportRunner.php +++ b/app/Exports/ZipExports/ZipImportRunner.php @@ -265,6 +265,12 @@ class ZipImportRunner protected function zipFileToUploadedFile(string $fileName, ZipExportReader $reader): UploadedFile { + if (!$reader->fileWithinSizeLimit($fileName)) { + throw new ZipImportException([ + "File $fileName exceeds app upload limit." + ]); + } + $tempPath = tempnam(sys_get_temp_dir(), 'bszipextract'); $fileStream = $reader->streamFile($fileName); $tempStream = fopen($tempPath, 'wb'); diff --git a/lang/en/errors.php b/lang/en/errors.php index 9d7383796..77d7ee69e 100644 --- a/lang/en/errors.php +++ b/lang/en/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'Could not read ZIP file.', 'import_zip_cant_decode_data' => 'Could not find and decode ZIP data.json content.', 'import_zip_no_data' => 'ZIP file data has no expected book, chapter or page content.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'Import ZIP failed to validate with errors:', 'import_zip_failed_notification' => 'Failed to import ZIP file.', 'import_perms_books' => 'You are lacking the required permissions to create books.', diff --git a/lang/en/validation.php b/lang/en/validation.php index d9b982d1e..ff028525d 100644 --- a/lang/en/validation.php +++ b/lang/en/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'The file could not be uploaded. The server may not accept files of this size.', 'zip_file' => 'The :attribute needs to reference a file within the ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'The :attribute needs to reference a file of type :validTypes, found :foundType.', 'zip_model_expected' => 'Data object expected but ":type" found.', 'zip_unique' => 'The :attribute must be unique for the object type within the ZIP.', diff --git a/tests/Exports/ZipImportRunnerTest.php b/tests/Exports/ZipImportRunnerTest.php index 2255e16c3..67c1a90e5 100644 --- a/tests/Exports/ZipImportRunnerTest.php +++ b/tests/Exports/ZipImportRunnerTest.php @@ -5,6 +5,7 @@ namespace Tests\Exports; use BookStack\Entities\Models\Book; use BookStack\Entities\Models\Chapter; use BookStack\Entities\Models\Page; +use BookStack\Exceptions\ZipImportException; use BookStack\Exports\ZipExports\ZipImportRunner; use BookStack\Uploads\Image; use Tests\TestCase; @@ -431,4 +432,56 @@ class ZipImportRunnerTest extends TestCase ZipTestHelper::deleteZipForImport($import); } + + public function test_error_thrown_if_zip_item_exceeds_app_file_upload_limit() + { + $tempFile = tempnam(sys_get_temp_dir(), 'bs-zip-test'); + file_put_contents($tempFile, str_repeat('a', 2500000)); + $parent = $this->entities->chapter(); + config()->set('app.upload_limit', 1); + + $import = ZipTestHelper::importFromData([], [ + 'page' => [ + 'name' => 'Page A', + 'html' => '

Hello

', + 'attachments' => [ + [ + 'name' => 'Text attachment', + 'file' => 'file_attachment' + ] + ], + ], + ], [ + 'file_attachment' => $tempFile, + ]); + + $this->asAdmin(); + + $this->expectException(ZipImportException::class); + $this->expectExceptionMessage('The file file_attachment must not exceed 1 MB.'); + + $this->runner->run($import, $parent); + ZipTestHelper::deleteZipForImport($import); + } + + public function test_error_thrown_if_zip_data_exceeds_app_file_upload_limit() + { + $parent = $this->entities->chapter(); + config()->set('app.upload_limit', 1); + + $import = ZipTestHelper::importFromData([], [ + 'page' => [ + 'name' => 'Page A', + 'html' => '

' . str_repeat('a', 2500000) . '

', + ], + ]); + + $this->asAdmin(); + + $this->expectException(ZipImportException::class); + $this->expectExceptionMessage('ZIP data.json content exceeds the configured application maximum upload size.'); + + $this->runner->run($import, $parent); + ZipTestHelper::deleteZipForImport($import); + } } From b08d1b36de36d96fae55fff65bcb5908a43e63b5 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Tue, 30 Dec 2025 13:29:04 +0000 Subject: [PATCH 2/5] Search: Set limits on the amount of search terms Sets some reasonable limits, which are higher when logged in since that infers a little extra trust. Helps prevent against large resource consuption attacks via super heavy search queries. Thanks to Gabriel Rodrigues AKA TEXUGO for reporting. --- app/Search/SearchController.php | 5 +-- app/Search/SearchOptionSet.php | 8 +++++ app/Search/SearchOptions.php | 22 ++++++++++++++ tests/Search/SearchOptionsTest.php | 49 ++++++++++++++++++++++++++++++ 4 files changed, 82 insertions(+), 2 deletions(-) diff --git a/app/Search/SearchController.php b/app/Search/SearchController.php index 8a6a5bbde..348d44a42 100644 --- a/app/Search/SearchController.php +++ b/app/Search/SearchController.php @@ -78,8 +78,9 @@ class SearchController extends Controller // Search for entities otherwise show most popular if ($searchTerm !== false) { - $searchTerm .= ' {type:' . implode('|', $entityTypes) . '}'; - $entities = $this->searchRunner->searchEntities(SearchOptions::fromString($searchTerm), 'all', 1, 20)['results']; + $options = SearchOptions::fromString($searchTerm); + $options->setFilter('type', implode('|', $entityTypes)); + $entities = $this->searchRunner->searchEntities($options, 'all', 1, 20)['results']; } else { $entities = $queryPopular->run(20, 0, $entityTypes); } diff --git a/app/Search/SearchOptionSet.php b/app/Search/SearchOptionSet.php index 844d145e6..19f1c5509 100644 --- a/app/Search/SearchOptionSet.php +++ b/app/Search/SearchOptionSet.php @@ -82,4 +82,12 @@ class SearchOptionSet $values = array_values(array_filter($this->options, fn (SearchOption $option) => !$option->negated)); return new self($values); } + + /** + * @return self + */ + public function limit(int $limit): self + { + return new self(array_slice(array_values($this->options), 0, $limit)); + } } diff --git a/app/Search/SearchOptions.php b/app/Search/SearchOptions.php index bf527d9c3..83af2d043 100644 --- a/app/Search/SearchOptions.php +++ b/app/Search/SearchOptions.php @@ -35,6 +35,7 @@ class SearchOptions { $instance = new self(); $instance->addOptionsFromString($search); + $instance->limitOptions(); return $instance; } @@ -87,6 +88,8 @@ class SearchOptions $instance->filters = $instance->filters->merge($extras->filters); } + $instance->limitOptions(); + return $instance; } @@ -147,6 +150,25 @@ class SearchOptions $this->filters = $this->filters->merge(new SearchOptionSet($terms['filters'])); } + /** + * Limit the amount of search options to reasonable levels. + * Provides higher limits to logged-in users since that signals a slightly + * higher level of trust. + */ + protected function limitOptions(): void + { + $userLoggedIn = !user()->isGuest(); + $searchLimit = $userLoggedIn ? 10 : 5; + $exactLimit = $userLoggedIn ? 4 : 2; + $tagLimit = $userLoggedIn ? 8 : 4; + $filterLimit = $userLoggedIn ? 10 : 5; + + $this->searches = $this->searches->limit($searchLimit); + $this->exacts = $this->exacts->limit($exactLimit); + $this->tags = $this->tags->limit($tagLimit); + $this->filters = $this->filters->limit($filterLimit); + } + /** * Decode backslash escaping within the input string. */ diff --git a/tests/Search/SearchOptionsTest.php b/tests/Search/SearchOptionsTest.php index 2ebf273dd..4b0fa0f3a 100644 --- a/tests/Search/SearchOptionsTest.php +++ b/tests/Search/SearchOptionsTest.php @@ -142,4 +142,53 @@ class SearchOptionsTest extends TestCase $this->assertEquals('dino', $options->exacts->all()[0]->value); $this->assertTrue($options->exacts->all()[0]->negated); } + + public function test_from_string_results_are_count_limited_and_larger_for_logged_in_users() + { + $terms = [ + ...array_fill(0, 40, 'cat'), + ...array_fill(0, 50, '"bees"'), + ...array_fill(0, 50, '{is_template}'), + ...array_fill(0, 50, '[a=b]'), + ]; + + $options = SearchOptions::fromString(implode(' ', $terms)); + + $this->assertCount(5, $options->searches->all()); + $this->assertCount(2, $options->exacts->all()); + $this->assertCount(4, $options->tags->all()); + $this->assertCount(5, $options->filters->all()); + + $this->asEditor(); + $options = SearchOptions::fromString(implode(' ', $terms)); + + $this->assertCount(10, $options->searches->all()); + $this->assertCount(4, $options->exacts->all()); + $this->assertCount(8, $options->tags->all()); + $this->assertCount(10, $options->filters->all()); + } + + public function test_from_request_results_are_count_limited_and_larger_for_logged_in_users() + { + $request = new Request([ + 'search' => str_repeat('hello ', 20), + 'tags' => array_fill(0, 20, 'a=b'), + 'extras' => str_repeat('-[b=c] -{viewed_by_me} -"dino"', 20), + ]); + + $options = SearchOptions::fromRequest($request); + + $this->assertCount(5, $options->searches->all()); + $this->assertCount(2, $options->exacts->all()); + $this->assertCount(4, $options->tags->all()); + $this->assertCount(5, $options->filters->all()); + + $this->asEditor(); + $options = SearchOptions::fromRequest($request); + + $this->assertCount(10, $options->searches->all()); + $this->assertCount(4, $options->exacts->all()); + $this->assertCount(8, $options->tags->all()); + $this->assertCount(10, $options->filters->all()); + } } From 082befb2fc89ec64fddc3476446b231f6fc133fc Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Tue, 30 Dec 2025 16:16:39 +0000 Subject: [PATCH 3/5] Updated PHP packages and translators pre v25.12.1 --- .github/translators.txt | 2 ++ composer.lock | 64 ++++++++++++++++++++--------------------- 2 files changed, 34 insertions(+), 32 deletions(-) diff --git a/.github/translators.txt b/.github/translators.txt index 61a6697fc..b69770939 100644 --- a/.github/translators.txt +++ b/.github/translators.txt @@ -519,3 +519,5 @@ Tahsin Ahmed (tahsinahmed2012) :: Bengali bojan_che :: Serbian (Cyrillic) setiawan setiawan (culture.setiawan) :: Indonesian Donald Mac Kenzie (kiuman) :: Norwegian Bokmal +Gabriel Silver (GabrielBSilver) :: Hebrew +Tomas Darius Davainis (Tomasdd) :: Lithuanian diff --git a/composer.lock b/composer.lock index 93bf172c6..06ef01bdd 100644 --- a/composer.lock +++ b/composer.lock @@ -62,16 +62,16 @@ }, { "name": "aws/aws-sdk-php", - "version": "3.369.2", + "version": "3.369.4", "source": { "type": "git", "url": "https://github.com/aws/aws-sdk-php.git", - "reference": "5e3f541e344d71f3b9591fe1d94d9576530fa795" + "reference": "2aa1ef195e90140d733382e4341732ce113024f5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/5e3f541e344d71f3b9591fe1d94d9576530fa795", - "reference": "5e3f541e344d71f3b9591fe1d94d9576530fa795", + "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/2aa1ef195e90140d733382e4341732ce113024f5", + "reference": "2aa1ef195e90140d733382e4341732ce113024f5", "shasum": "" }, "require": { @@ -85,7 +85,7 @@ "mtdowling/jmespath.php": "^2.8.0", "php": ">=8.1", "psr/http-message": "^1.0 || ^2.0", - "symfony/filesystem": "^v6.4.3 || ^v7.1.0 || ^v8.0.0" + "symfony/filesystem": "^v5.4.45 || ^v6.4.3 || ^v7.1.0 || ^v8.0.0" }, "require-dev": { "andrewsville/php-token-reflection": "^1.4", @@ -153,9 +153,9 @@ "support": { "forum": "https://github.com/aws/aws-sdk-php/discussions", "issues": "https://github.com/aws/aws-sdk-php/issues", - "source": "https://github.com/aws/aws-sdk-php/tree/3.369.2" + "source": "https://github.com/aws/aws-sdk-php/tree/3.369.4" }, - "time": "2025-12-23T19:21:43+00:00" + "time": "2025-12-29T19:07:47+00:00" }, { "name": "bacon/bacon-qr-code", @@ -1055,24 +1055,24 @@ }, { "name": "graham-campbell/result-type", - "version": "v1.1.3", + "version": "v1.1.4", "source": { "type": "git", "url": "https://github.com/GrahamCampbell/Result-Type.git", - "reference": "3ba905c11371512af9d9bdd27d99b782216b6945" + "reference": "e01f4a821471308ba86aa202fed6698b6b695e3b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/3ba905c11371512af9d9bdd27d99b782216b6945", - "reference": "3ba905c11371512af9d9bdd27d99b782216b6945", + "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/e01f4a821471308ba86aa202fed6698b6b695e3b", + "reference": "e01f4a821471308ba86aa202fed6698b6b695e3b", "shasum": "" }, "require": { "php": "^7.2.5 || ^8.0", - "phpoption/phpoption": "^1.9.3" + "phpoption/phpoption": "^1.9.5" }, "require-dev": { - "phpunit/phpunit": "^8.5.39 || ^9.6.20 || ^10.5.28" + "phpunit/phpunit": "^8.5.41 || ^9.6.22 || ^10.5.45 || ^11.5.7" }, "type": "library", "autoload": { @@ -1101,7 +1101,7 @@ ], "support": { "issues": "https://github.com/GrahamCampbell/Result-Type/issues", - "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.1.3" + "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.1.4" }, "funding": [ { @@ -1113,7 +1113,7 @@ "type": "tidelift" } ], - "time": "2024-07-20T21:45:45+00:00" + "time": "2025-12-27T19:43:20+00:00" }, { "name": "guzzlehttp/guzzle", @@ -3886,16 +3886,16 @@ }, { "name": "phpoption/phpoption", - "version": "1.9.4", + "version": "1.9.5", "source": { "type": "git", "url": "https://github.com/schmittjoh/php-option.git", - "reference": "638a154f8d4ee6a5cfa96d6a34dfbe0cffa9566d" + "reference": "75365b91986c2405cf5e1e012c5595cd487a98be" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/638a154f8d4ee6a5cfa96d6a34dfbe0cffa9566d", - "reference": "638a154f8d4ee6a5cfa96d6a34dfbe0cffa9566d", + "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/75365b91986c2405cf5e1e012c5595cd487a98be", + "reference": "75365b91986c2405cf5e1e012c5595cd487a98be", "shasum": "" }, "require": { @@ -3945,7 +3945,7 @@ ], "support": { "issues": "https://github.com/schmittjoh/php-option/issues", - "source": "https://github.com/schmittjoh/php-option/tree/1.9.4" + "source": "https://github.com/schmittjoh/php-option/tree/1.9.5" }, "funding": [ { @@ -3957,7 +3957,7 @@ "type": "tidelift" } ], - "time": "2025-08-21T11:53:16+00:00" + "time": "2025-12-27T19:41:33+00:00" }, { "name": "phpseclib/phpseclib", @@ -7977,26 +7977,26 @@ }, { "name": "vlucas/phpdotenv", - "version": "v5.6.2", + "version": "v5.6.3", "source": { "type": "git", "url": "https://github.com/vlucas/phpdotenv.git", - "reference": "24ac4c74f91ee2c193fa1aaa5c249cb0822809af" + "reference": "955e7815d677a3eaa7075231212f2110983adecc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/24ac4c74f91ee2c193fa1aaa5c249cb0822809af", - "reference": "24ac4c74f91ee2c193fa1aaa5c249cb0822809af", + "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/955e7815d677a3eaa7075231212f2110983adecc", + "reference": "955e7815d677a3eaa7075231212f2110983adecc", "shasum": "" }, "require": { "ext-pcre": "*", - "graham-campbell/result-type": "^1.1.3", + "graham-campbell/result-type": "^1.1.4", "php": "^7.2.5 || ^8.0", - "phpoption/phpoption": "^1.9.3", - "symfony/polyfill-ctype": "^1.24", - "symfony/polyfill-mbstring": "^1.24", - "symfony/polyfill-php80": "^1.24" + "phpoption/phpoption": "^1.9.5", + "symfony/polyfill-ctype": "^1.26", + "symfony/polyfill-mbstring": "^1.26", + "symfony/polyfill-php80": "^1.26" }, "require-dev": { "bamarni/composer-bin-plugin": "^1.8.2", @@ -8045,7 +8045,7 @@ ], "support": { "issues": "https://github.com/vlucas/phpdotenv/issues", - "source": "https://github.com/vlucas/phpdotenv/tree/v5.6.2" + "source": "https://github.com/vlucas/phpdotenv/tree/v5.6.3" }, "funding": [ { @@ -8057,7 +8057,7 @@ "type": "tidelift" } ], - "time": "2025-04-30T23:37:27+00:00" + "time": "2025-12-27T19:49:13+00:00" }, { "name": "voku/portable-ascii", From ab436ed5c3d2fb615d87d648c5dd6d779dbe26e2 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Tue, 30 Dec 2025 16:32:21 +0000 Subject: [PATCH 4/5] Updated translations with latest Crowdin changes (#5962) --- lang/ar/errors.php | 1 + lang/ar/validation.php | 1 + lang/bg/errors.php | 1 + lang/bg/validation.php | 1 + lang/bn/errors.php | 1 + lang/bn/validation.php | 1 + lang/bs/errors.php | 1 + lang/bs/validation.php | 1 + lang/ca/errors.php | 1 + lang/ca/validation.php | 1 + lang/cs/entities.php | 8 ++++---- lang/cs/errors.php | 1 + lang/cs/notifications.php | 4 ++-- lang/cs/preferences.php | 2 +- lang/cs/settings.php | 12 ++++++------ lang/cs/validation.php | 1 + lang/cy/errors.php | 1 + lang/cy/validation.php | 1 + lang/da/errors.php | 1 + lang/da/validation.php | 1 + lang/de/errors.php | 1 + lang/de/validation.php | 1 + lang/de_informal/errors.php | 1 + lang/de_informal/validation.php | 1 + lang/el/errors.php | 1 + lang/el/validation.php | 1 + lang/es/errors.php | 1 + lang/es/validation.php | 1 + lang/es_AR/errors.php | 1 + lang/es_AR/validation.php | 1 + lang/et/errors.php | 1 + lang/et/validation.php | 1 + lang/eu/errors.php | 1 + lang/eu/validation.php | 1 + lang/fa/errors.php | 1 + lang/fa/validation.php | 1 + lang/fi/errors.php | 1 + lang/fi/validation.php | 1 + lang/fr/errors.php | 1 + lang/fr/validation.php | 1 + lang/he/activities.php | 12 ++++++------ lang/he/auth.php | 5 +++-- lang/he/common.php | 4 ++-- lang/he/entities.php | 4 ++-- lang/he/errors.php | 1 + lang/he/validation.php | 1 + lang/hr/errors.php | 1 + lang/hr/validation.php | 1 + lang/hu/errors.php | 1 + lang/hu/validation.php | 1 + lang/id/components.php | 4 ++-- lang/id/errors.php | 1 + lang/id/validation.php | 1 + lang/is/errors.php | 1 + lang/is/validation.php | 1 + lang/it/errors.php | 1 + lang/it/validation.php | 1 + lang/ja/errors.php | 1 + lang/ja/notifications.php | 4 ++-- lang/ja/preferences.php | 2 +- lang/ja/settings.php | 12 ++++++------ lang/ja/validation.php | 1 + lang/ka/errors.php | 1 + lang/ka/validation.php | 1 + lang/ko/errors.php | 1 + lang/ko/validation.php | 1 + lang/ku/errors.php | 1 + lang/ku/validation.php | 1 + lang/lt/editor.php | 18 +++++++++--------- lang/lt/entities.php | 4 ++-- lang/lt/errors.php | 5 +++-- lang/lt/notifications.php | 12 ++++++------ lang/lt/passwords.php | 4 ++-- lang/lt/preferences.php | 2 +- lang/lt/settings.php | 4 ++-- lang/lt/validation.php | 1 + lang/lv/errors.php | 1 + lang/lv/validation.php | 1 + lang/nb/errors.php | 1 + lang/nb/validation.php | 1 + lang/ne/errors.php | 1 + lang/ne/validation.php | 1 + lang/nl/errors.php | 1 + lang/nl/validation.php | 1 + lang/nn/errors.php | 1 + lang/nn/validation.php | 1 + lang/pl/errors.php | 1 + lang/pl/validation.php | 1 + lang/pt/errors.php | 1 + lang/pt/validation.php | 1 + lang/pt_BR/errors.php | 1 + lang/pt_BR/validation.php | 1 + lang/ro/errors.php | 1 + lang/ro/validation.php | 1 + lang/ru/errors.php | 1 + lang/ru/validation.php | 1 + lang/sk/errors.php | 1 + lang/sk/validation.php | 1 + lang/sl/errors.php | 1 + lang/sl/validation.php | 1 + lang/sq/errors.php | 1 + lang/sq/validation.php | 1 + lang/sr/errors.php | 1 + lang/sr/validation.php | 1 + lang/sv/errors.php | 1 + lang/sv/validation.php | 1 + lang/tk/errors.php | 1 + lang/tk/validation.php | 1 + lang/tr/errors.php | 1 + lang/tr/validation.php | 1 + lang/uk/errors.php | 1 + lang/uk/validation.php | 1 + lang/uz/errors.php | 1 + lang/uz/validation.php | 1 + lang/vi/errors.php | 1 + lang/vi/validation.php | 1 + lang/zh_CN/errors.php | 1 + lang/zh_CN/validation.php | 1 + lang/zh_TW/errors.php | 1 + lang/zh_TW/validation.php | 1 + 120 files changed, 163 insertions(+), 60 deletions(-) diff --git a/lang/ar/errors.php b/lang/ar/errors.php index 4c6325cb3..491f04c07 100644 --- a/lang/ar/errors.php +++ b/lang/ar/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'لم أتمكن من قراءة المِلَفّ المضغوط -ZIP-.', 'import_zip_cant_decode_data' => 'لم نتمكن من العثور على محتوى المِلَفّ المضغوط data.json وفك تشفيره.', 'import_zip_no_data' => 'لا تتضمن بيانات المِلَفّ المضغوط أي محتوى متوقع للكتاب أو الفصل أو الصفحة.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'فشل التحقق من صحة استيراد المِلَفّ المضغوط بسبب الأخطاء التالية:', 'import_zip_failed_notification' => 'فشل استيراد المِلَفّ المضغوط.', 'import_perms_books' => 'أنت تفتقر إلى الصلاحيات المطلوبة لإنشاء الكتب.', diff --git a/lang/ar/validation.php b/lang/ar/validation.php index c27770fe3..813f622a3 100644 --- a/lang/ar/validation.php +++ b/lang/ar/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'تعذر تحميل الملف. قد لا يقبل الخادم ملفات بهذا الحجم.', 'zip_file' => ':attribute بحاجة إلى الرجوع إلى مِلَفّ داخل المِلَفّ المضغوط.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => ':attribute بحاجة إلى الإشارة إلى مِلَفّ من نوع :validTypes، وجدت :foundType.', 'zip_model_expected' => 'عنصر البيانات المتوقع ولكن ":type" تم العثور عليه.', 'zip_unique' => 'يجب أن يكون :attribute فريداً لنوع الكائن داخل المِلَفّ المضغوط.', diff --git a/lang/bg/errors.php b/lang/bg/errors.php index dd0245180..d8dbd4e11 100644 --- a/lang/bg/errors.php +++ b/lang/bg/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'Could not read ZIP file.', 'import_zip_cant_decode_data' => 'Could not find and decode ZIP data.json content.', 'import_zip_no_data' => 'ZIP file data has no expected book, chapter or page content.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'Import ZIP failed to validate with errors:', 'import_zip_failed_notification' => 'Failed to import ZIP file.', 'import_perms_books' => 'You are lacking the required permissions to create books.', diff --git a/lang/bg/validation.php b/lang/bg/validation.php index e08eb55de..e2f9bdaa9 100644 --- a/lang/bg/validation.php +++ b/lang/bg/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'Файлът не можа да бъде качен. Сървърът може да не приема файлове с такъв размер.', 'zip_file' => 'The :attribute needs to reference a file within the ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'The :attribute needs to reference a file of type :validTypes, found :foundType.', 'zip_model_expected' => 'Data object expected but ":type" found.', 'zip_unique' => 'The :attribute must be unique for the object type within the ZIP.', diff --git a/lang/bn/errors.php b/lang/bn/errors.php index ee2fbfa21..32dac63e2 100644 --- a/lang/bn/errors.php +++ b/lang/bn/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'Could not read ZIP file.', 'import_zip_cant_decode_data' => 'Could not find and decode ZIP data.json content.', 'import_zip_no_data' => 'ZIP file data has no expected book, chapter or page content.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'Import ZIP failed to validate with errors:', 'import_zip_failed_notification' => 'Failed to import ZIP file.', 'import_perms_books' => 'You are lacking the required permissions to create books.', diff --git a/lang/bn/validation.php b/lang/bn/validation.php index d9b982d1e..ff028525d 100644 --- a/lang/bn/validation.php +++ b/lang/bn/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'The file could not be uploaded. The server may not accept files of this size.', 'zip_file' => 'The :attribute needs to reference a file within the ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'The :attribute needs to reference a file of type :validTypes, found :foundType.', 'zip_model_expected' => 'Data object expected but ":type" found.', 'zip_unique' => 'The :attribute must be unique for the object type within the ZIP.', diff --git a/lang/bs/errors.php b/lang/bs/errors.php index f60f92f07..fc1744805 100644 --- a/lang/bs/errors.php +++ b/lang/bs/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'Could not read ZIP file.', 'import_zip_cant_decode_data' => 'Could not find and decode ZIP data.json content.', 'import_zip_no_data' => 'ZIP file data has no expected book, chapter or page content.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'Import ZIP failed to validate with errors:', 'import_zip_failed_notification' => 'Failed to import ZIP file.', 'import_perms_books' => 'You are lacking the required permissions to create books.', diff --git a/lang/bs/validation.php b/lang/bs/validation.php index 4b026afd2..e7e62f2ab 100644 --- a/lang/bs/validation.php +++ b/lang/bs/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'Fajl nije učitan. Server ne prihvata fajlove ove veličine.', 'zip_file' => 'The :attribute needs to reference a file within the ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'The :attribute needs to reference a file of type :validTypes, found :foundType.', 'zip_model_expected' => 'Data object expected but ":type" found.', 'zip_unique' => 'The :attribute must be unique for the object type within the ZIP.', diff --git a/lang/ca/errors.php b/lang/ca/errors.php index 6f3784c2c..945d6fd0f 100644 --- a/lang/ca/errors.php +++ b/lang/ca/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'No es pot llegir el fitxer ZIP.', 'import_zip_cant_decode_data' => 'No s\'ha pogut trobar i descodificar el fitxer data.json en el fitxer ZIP.', 'import_zip_no_data' => 'Les dades del fitxer ZIP no contenen cap llibre, capítol o contingut de pàgina.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'Error en validar la importació del ZIP amb els errors:', 'import_zip_failed_notification' => 'Error en importar l\'arxiu ZIP.', 'import_perms_books' => 'Li falten els permisos necessaris per crear llibres.', diff --git a/lang/ca/validation.php b/lang/ca/validation.php index bc821749a..1debc5eb2 100644 --- a/lang/ca/validation.php +++ b/lang/ca/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'No s’ha pogut pujar el fitxer. És possible que el servidor no admeti fitxers d’aquesta mida.', 'zip_file' => 'El :attribute necessita fer referència a un arxiu dins del ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'El :attribute necessita fer referència a un arxiu de tipus :validTyes, trobat :foundType.', 'zip_model_expected' => 'S\'esperava un objecte de dades, però s\'ha trobat ":type".', 'zip_unique' => 'El :attribute ha de ser únic pel tipus d\'objecte dins del ZIP.', diff --git a/lang/cs/entities.php b/lang/cs/entities.php index cda6b6c82..d65d85ccb 100644 --- a/lang/cs/entities.php +++ b/lang/cs/entities.php @@ -63,10 +63,10 @@ return [ 'import_delete_desc' => 'Potvrzením odstraníte nahraný ZIP soubor. Tento krok nelze vrátit zpět.', 'import_errors' => 'Chyby importu', 'import_errors_desc' => 'Při pokusu o import došlo k následujícím chybám:', - 'breadcrumb_siblings_for_page' => 'Navigate siblings for page', - 'breadcrumb_siblings_for_chapter' => 'Navigate siblings for chapter', - 'breadcrumb_siblings_for_book' => 'Navigate siblings for book', - 'breadcrumb_siblings_for_bookshelf' => 'Navigate siblings for shelf', + 'breadcrumb_siblings_for_page' => 'Přejít na jinou stránku', + 'breadcrumb_siblings_for_chapter' => 'Přejít na jinou kapitolu', + 'breadcrumb_siblings_for_book' => 'Přejít na jinou knihu', + 'breadcrumb_siblings_for_bookshelf' => 'Přejít na jinou polici', // Permissions and restrictions 'permissions' => 'Oprávnění', diff --git a/lang/cs/errors.php b/lang/cs/errors.php index b1eeb54e0..2077bd4c4 100644 --- a/lang/cs/errors.php +++ b/lang/cs/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'Nelze načíst ZIP soubor.', 'import_zip_cant_decode_data' => 'Nelze najít a dekódovat data.json v archivu ZIP.', 'import_zip_no_data' => 'ZIP archiv neobsahuje knihy, kapitoly nebo stránky.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'Importování ZIP selhalo s chybami:', 'import_zip_failed_notification' => 'Nepodařilo se naimportovat ZIP soubor.', 'import_perms_books' => 'Chybí vám požadovaná oprávnění k vytvoření knih.', diff --git a/lang/cs/notifications.php b/lang/cs/notifications.php index a6c9e88b5..7e20f654f 100644 --- a/lang/cs/notifications.php +++ b/lang/cs/notifications.php @@ -11,8 +11,8 @@ return [ 'updated_page_subject' => 'Aktualizovaná stránka: :pageName', 'updated_page_intro' => 'V :appName byla aktualizována stránka:', 'updated_page_debounce' => 'Po nějakou dobu neobdržíte další oznámení o aktualizaci této stránky stejným editorem, aby se omezil počet stejných zpráv.', - 'comment_mention_subject' => 'You have been mentioned in a comment on page: :pageName', - 'comment_mention_intro' => 'You were mentioned in a comment on :appName:', + 'comment_mention_subject' => 'Byli jste zmíněni v komentáři na stránce: :pageName', + 'comment_mention_intro' => 'Byli jste zmíněni v komentáři na webu :appName:', 'detail_page_name' => 'Název stránky:', 'detail_page_path' => 'Umístění:', diff --git a/lang/cs/preferences.php b/lang/cs/preferences.php index 4a9bf3ad7..be0f972f9 100644 --- a/lang/cs/preferences.php +++ b/lang/cs/preferences.php @@ -23,7 +23,7 @@ return [ 'notifications_desc' => 'Nastavte si e-mailová oznámení, která dostanete při provedení určitých akcí v systému.', 'notifications_opt_own_page_changes' => 'Upozornit na změny stránek u kterých jsem vlastníkem', 'notifications_opt_own_page_comments' => 'Upozornit na komentáře na stránkách, které vlastním', - 'notifications_opt_comment_mentions' => 'Notify when I\'m mentioned in a comment', + 'notifications_opt_comment_mentions' => 'Upozornit, když mě někdo zmíní v komentáři', 'notifications_opt_comment_replies' => 'Upozornit na odpovědi na mé komentáře', 'notifications_save' => 'Uložit nastavení', 'notifications_update_success' => 'Nastavení oznámení byla aktualizována!', diff --git a/lang/cs/settings.php b/lang/cs/settings.php index f856b64cf..73ba6bfb0 100644 --- a/lang/cs/settings.php +++ b/lang/cs/settings.php @@ -75,8 +75,8 @@ return [ 'reg_confirm_restrict_domain_placeholder' => 'Žádná omezení nebyla nastavena', // Sorting Settings - 'sorting' => 'Lists & Sorting', - 'sorting_book_default' => 'Default Book Sort Rule', + 'sorting' => 'Seznamy a řazení', + 'sorting_book_default' => 'Výchozí řazení knih', 'sorting_book_default_desc' => 'Vybere výchozí pravidlo řazení pro nové knihy. Řazení neovlivní existující knihy a může být upraveno u konkrétní knihy.', 'sorting_rules' => 'Pravidla řazení', 'sorting_rules_desc' => 'Toto jsou předem definovaná pravidla řazení, která mohou být použita na webu.', @@ -103,8 +103,8 @@ return [ 'sort_rule_op_updated_date' => 'Datum aktualizace', 'sort_rule_op_chapters_first' => 'Kapitoly jako první', 'sort_rule_op_chapters_last' => 'Kapitoly jako poslední', - 'sorting_page_limits' => 'Per-Page Display Limits', - 'sorting_page_limits_desc' => 'Set how many items to show per-page in various lists within the system. Typically a lower amount will be more performant, while a higher amount avoids the need to click through multiple pages. Using an even multiple of 3 (18, 24, 30, etc...) is recommended.', + 'sorting_page_limits' => 'Počet zobrazených položek na stránce', + 'sorting_page_limits_desc' => 'Nastavte, kolik položek se má zobrazit na stránce v různých seznamech na webu. Obvykle bude nižší počet výkonnější, zatímco vyšší počet eliminuje nutnost proklikávat se několika stránkami. Doporučuje se použít sudý násobek čísla 3 (18, 24, 30 atd.).', // Maintenance settings 'maint' => 'Údržba', @@ -197,13 +197,13 @@ return [ 'role_import_content' => 'Importovat obsah', 'role_editor_change' => 'Změnit editor stránek', 'role_notifications' => 'Přijímat a spravovat oznámení', - 'role_permission_note_users_and_roles' => 'These permissions will technically also provide visibility & searching of users & roles in the system.', + 'role_permission_note_users_and_roles' => 'Tato oprávnění zároveň umožní zobrazit a vyhledat uživatele a role na webu.', 'role_asset' => 'Obsahová oprávnění', 'roles_system_warning' => 'Berte na vědomí, že přístup k některému ze tří výše uvedených oprávnění může uživateli umožnit změnit svá vlastní oprávnění nebo oprávnění ostatních uživatelů v systému. Přiřazujte role s těmito oprávněními pouze důvěryhodným uživatelům.', 'role_asset_desc' => 'Tato oprávnění řídí přístup k obsahu napříč systémem. Specifická oprávnění na knihách, kapitolách a stránkách převáží tato nastavení.', 'role_asset_admins' => 'Administrátoři automaticky dostávají přístup k veškerému obsahu, ale tyto volby mohou ukázat nebo skrýt volby v uživatelském rozhraní.', 'role_asset_image_view_note' => 'To se týká viditelnosti ve správci obrázků. Skutečný přístup k nahraným souborům obrázků bude záviset na možnosti uložení systémových obrázků.', - 'role_asset_users_note' => 'These permissions will technically also provide visibility & searching of users in the system.', + 'role_asset_users_note' => 'Tato oprávnění zároveň umožní zobrazit a vyhledat uživatele v systému.', 'role_all' => 'Vše', 'role_own' => 'Vlastní', 'role_controlled_by_asset' => 'Řídí se obsahem, do kterého jsou nahrávány', diff --git a/lang/cs/validation.php b/lang/cs/validation.php index b05d94625..219f95a87 100644 --- a/lang/cs/validation.php +++ b/lang/cs/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'Nahrávání :attribute se nezdařilo.', 'zip_file' => ':attribute musí odkazovat na soubor v archivu ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => ':attribute musí odkazovat na soubor typu :validTypes, nalezen :foundType.', 'zip_model_expected' => 'Očekáván datový objekt, ale nalezen „:type“.', 'zip_unique' => ':attribute musí být jedinečný pro typ objektu v archivu ZIP.', diff --git a/lang/cy/errors.php b/lang/cy/errors.php index db3a468b6..f6123c928 100644 --- a/lang/cy/errors.php +++ b/lang/cy/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'Wedi methu darllen ffeil ZIP.', 'import_zip_cant_decode_data' => 'Wedi methu ffeindio a dadgodio cynnwys ZIP data.json.', 'import_zip_no_data' => 'Nid oes cynnwys llyfr, pennod neu dudalen disgwyliedig yn nata ffeil ZIP.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'ZIP mewnforyn wedi\'i methu dilysu gyda gwallau:', 'import_zip_failed_notification' => 'Wedi methu mewnforio ffeil ZIP.', 'import_perms_books' => 'Dych chi\'n methu\'r caniatâd gofynnol i greu llyfrau.', diff --git a/lang/cy/validation.php b/lang/cy/validation.php index 5259f6472..63a19bf23 100644 --- a/lang/cy/validation.php +++ b/lang/cy/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'Nid oedd modd uwchlwytho’r ffeil. Efallai na fydd y gweinydd yn derbyn ffeiliau o\'r maint hwn.', 'zip_file' => 'Mae\'r :attribute angen cyfeirio at ffeil yn y ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'Mae\'r :attribute angen cyfeirio at ffeil o fath :valid Types, sydd wedi\'i ffeindio :foundType.', 'zip_model_expected' => 'Dyswgyl am wrthrych data ond wedi ffeindio ":type".', 'zip_unique' => 'Mae rhaid y :attribute fod yn unigol i\'r fath o wrthrych yn y ZIP.', diff --git a/lang/da/errors.php b/lang/da/errors.php index 864dec270..6f9d1d53c 100644 --- a/lang/da/errors.php +++ b/lang/da/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'Kunne ikke læse ZIP-filen.', 'import_zip_cant_decode_data' => 'Kunne ikke finde og afkode ZIP data.json-indhold.', 'import_zip_no_data' => 'ZIP-filens data har ikke noget forventet bog-, kapitel- eller sideindhold.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'Import ZIP kunne ikke valideres med fejl:', 'import_zip_failed_notification' => 'Kunne ikke importere ZIP-fil.', 'import_perms_books' => 'Du mangler de nødvendige tilladelser til at oprette bøger.', diff --git a/lang/da/validation.php b/lang/da/validation.php index 3caf1417a..36b9b49fb 100644 --- a/lang/da/validation.php +++ b/lang/da/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'Filen kunne ikke oploades. Serveren accepterer muligvis ikke filer af denne størrelse.', 'zip_file' => 'Attributten skal henvise til en fil i ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'Attributten skal henvise til en fil af typen: validTypes, fundet:foundType.', 'zip_model_expected' => 'Data objekt forventet men ":type" fundet.', 'zip_unique' => 'Attributten skal være unik for objekttypen i ZIP.', diff --git a/lang/de/errors.php b/lang/de/errors.php index c1f65d940..56dc6d59e 100644 --- a/lang/de/errors.php +++ b/lang/de/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'ZIP-Datei konnte nicht gelesen werden.', 'import_zip_cant_decode_data' => 'ZIP data.json konnte nicht gefunden und dekodiert werden.', 'import_zip_no_data' => 'ZIP-Datei Daten haben kein erwartetes Buch, Kapitel oder Seiteninhalt.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'ZIP Import konnte mit Fehlern nicht validiert werden:', 'import_zip_failed_notification' => 'Importieren der ZIP-Datei fehlgeschlagen.', 'import_perms_books' => 'Ihnen fehlt die erforderliche Berechtigung, um Bücher zu erstellen.', diff --git a/lang/de/validation.php b/lang/de/validation.php index 2ffad0529..21e850bbf 100644 --- a/lang/de/validation.php +++ b/lang/de/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'Die Datei konnte nicht hochgeladen werden. Der Server akzeptiert möglicherweise keine Dateien dieser Größe.', 'zip_file' => ':attribute muss eine Datei innerhalb des ZIP referenzieren.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => ':attribute muss eine Datei des Typs :validType referenzieren, gefunden :foundType.', 'zip_model_expected' => 'Datenobjekt erwartet, aber ":type" gefunden.', 'zip_unique' => ':attribute muss für den Objekttyp innerhalb des ZIP eindeutig sein.', diff --git a/lang/de_informal/errors.php b/lang/de_informal/errors.php index 856f02b48..cd14dd929 100644 --- a/lang/de_informal/errors.php +++ b/lang/de_informal/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'ZIP-Datei konnte nicht gelesen werden.', 'import_zip_cant_decode_data' => 'Konnte Inhalt der data.json im ZIP nicht finden und dekodieren.', 'import_zip_no_data' => 'ZIP-Datei hat kein erwartetes Buch, Kapitel oder Seiteninhalt.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'ZIP Import konnte aufgrund folgender Fehler nicht validiert werden:', 'import_zip_failed_notification' => 'Importieren der ZIP-Datei fehlgeschlagen.', 'import_perms_books' => 'Dir fehlt die erforderliche Berechtigung, um Bücher zu erstellen.', diff --git a/lang/de_informal/validation.php b/lang/de_informal/validation.php index f7be5a016..d693adecd 100644 --- a/lang/de_informal/validation.php +++ b/lang/de_informal/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'Die Datei konnte nicht hochgeladen werden. Der Server akzeptiert möglicherweise keine Dateien dieser Größe.', 'zip_file' => ':attribute muss auf eine Datei innerhalb des ZIP verweisen.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => ':attribute muss eine Datei des Typs :validType referenzieren, gefunden :foundType.', 'zip_model_expected' => 'Datenobjekt erwartet, aber ":type" gefunden.', 'zip_unique' => ':attribute muss für den Objekttyp innerhalb des ZIP eindeutig sein.', diff --git a/lang/el/errors.php b/lang/el/errors.php index cdfa2155f..fb13ec2fb 100644 --- a/lang/el/errors.php +++ b/lang/el/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'Could not read ZIP file.', 'import_zip_cant_decode_data' => 'Could not find and decode ZIP data.json content.', 'import_zip_no_data' => 'ZIP file data has no expected book, chapter or page content.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'Import ZIP failed to validate with errors:', 'import_zip_failed_notification' => 'Failed to import ZIP file.', 'import_perms_books' => 'You are lacking the required permissions to create books.', diff --git a/lang/el/validation.php b/lang/el/validation.php index 12d4919ca..4f384efae 100644 --- a/lang/el/validation.php +++ b/lang/el/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'Δεν ήταν δυνατή η αποστολή του αρχείου. Ο διακομιστής ενδέχεται να μην δέχεται αρχεία αυτού του μεγέθους.', 'zip_file' => 'Το :attribute πρέπει να παραπέμπει σε ένα αρχείο εντός του ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'Το :attribute πρέπει να αναφέρεται σε αρχείο τύπου :validTypes, βρέθηκε :foundType.', 'zip_model_expected' => 'Αναμενόταν αντικείμενο δεδομένων, αλλά ":type" βρέθηκε.', 'zip_unique' => 'Το :attribute πρέπει να είναι μοναδικό για τον τύπο αντικειμένου εντός του ZIP.', diff --git a/lang/es/errors.php b/lang/es/errors.php index 98aa2acd5..53e035c0d 100644 --- a/lang/es/errors.php +++ b/lang/es/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'No se pudo leer el archivo ZIP.', 'import_zip_cant_decode_data' => 'No se pudo encontrar y decodificar el archivo data.json. en el archivo ZIP.', 'import_zip_no_data' => 'Los datos del archivo ZIP no contienen ningún libro, capítulo o contenido de página.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'Error al validar la importación del ZIP con errores:', 'import_zip_failed_notification' => 'Error al importar archivo ZIP.', 'import_perms_books' => 'Le faltan los permisos necesarios para crear libros.', diff --git a/lang/es/validation.php b/lang/es/validation.php index d5f4f8495..1a9aebd4c 100644 --- a/lang/es/validation.php +++ b/lang/es/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'El archivo no ha podido subirse. Es posible que el servidor no acepte archivos de este tamaño.', 'zip_file' => 'El :attribute necesita hacer referencia a un archivo dentro del ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'El :attribute necesita hacer referencia a un archivo de tipo :validTypes, encontrado :foundType.', 'zip_model_expected' => 'Se esperaba un objeto de datos, pero se encontró ":type".', 'zip_unique' => 'El :attribute debe ser único para el tipo de objeto dentro del ZIP.', diff --git a/lang/es_AR/errors.php b/lang/es_AR/errors.php index 16a5b5467..7bc3a189a 100644 --- a/lang/es_AR/errors.php +++ b/lang/es_AR/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'No se pudo leer el archivo ZIP.', 'import_zip_cant_decode_data' => 'No se pudo encontrar ni decodificar el contenido del archivo ZIP data.json.', 'import_zip_no_data' => 'Los datos del archivo ZIP no tienen un libro, un capítulo o contenido de página en su contenido.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'Error al validar la importación del ZIP con los errores:', 'import_zip_failed_notification' => 'Error al importar archivo ZIP.', 'import_perms_books' => 'Le faltan los permisos necesarios para crear libros.', diff --git a/lang/es_AR/validation.php b/lang/es_AR/validation.php index db16845e0..1073933fe 100644 --- a/lang/es_AR/validation.php +++ b/lang/es_AR/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'El archivo no se pudo subir. Puede ser que el servidor no acepte archivos de este tamaño.', 'zip_file' => 'El :attribute necesita hacer referencia a un archivo dentro del ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'El :attribute necesita hacer referencia a un archivo de tipo :validTypes, encontrado :foundType.', 'zip_model_expected' => 'Se esperaba un objeto de datos, pero se encontró ":type".', 'zip_unique' => 'El :attribute debe ser único para el tipo de objeto dentro del ZIP.', diff --git a/lang/et/errors.php b/lang/et/errors.php index 49e755fcc..e1c951993 100644 --- a/lang/et/errors.php +++ b/lang/et/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'ZIP-faili lugemine ebaõnnestus.', 'import_zip_cant_decode_data' => 'ZIP-failist ei leitud data.json sisu.', 'import_zip_no_data' => 'ZIP-failist ei leitud raamatute, peatükkide või lehtede sisu.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'Imporditud ZIP-faili valideerimine ebaõnnestus vigadega:', 'import_zip_failed_notification' => 'ZIP-faili importimine ebaõnnestus.', 'import_perms_books' => 'Sul puuduvad õigused raamatute lisamiseks.', diff --git a/lang/et/validation.php b/lang/et/validation.php index 1354d1ed4..947007d26 100644 --- a/lang/et/validation.php +++ b/lang/et/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'Faili üleslaadimine ebaõnnestus. Server ei pruugi sellise suurusega faile vastu võtta.', 'zip_file' => ':attribute peab viitama failile ZIP-arhiivi sees.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => ':attribute peab viitama :validTypes tüüpi failile, leiti :foundType.', 'zip_model_expected' => 'Oodatud andmete asemel leiti ":type".', 'zip_unique' => ':attribute peab olema ZIP-arhiivi piires objekti tüübile unikaalne.', diff --git a/lang/eu/errors.php b/lang/eu/errors.php index 2a747e5f8..822c64829 100644 --- a/lang/eu/errors.php +++ b/lang/eu/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'Could not read ZIP file.', 'import_zip_cant_decode_data' => 'Could not find and decode ZIP data.json content.', 'import_zip_no_data' => 'ZIP file data has no expected book, chapter or page content.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'Import ZIP failed to validate with errors:', 'import_zip_failed_notification' => 'Failed to import ZIP file.', 'import_perms_books' => 'You are lacking the required permissions to create books.', diff --git a/lang/eu/validation.php b/lang/eu/validation.php index f79dc852f..6dddd5297 100644 --- a/lang/eu/validation.php +++ b/lang/eu/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'The file could not be uploaded. The server may not accept files of this size.', 'zip_file' => 'The :attribute needs to reference a file within the ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'The :attribute needs to reference a file of type :validTypes, found :foundType.', 'zip_model_expected' => 'Data object expected but ":type" found.', 'zip_unique' => 'The :attribute must be unique for the object type within the ZIP.', diff --git a/lang/fa/errors.php b/lang/fa/errors.php index 9d5257fcf..d35745615 100644 --- a/lang/fa/errors.php +++ b/lang/fa/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'امکان ایجاد کاربر وجود ندارد؛ زیرا ارسال ایمیل دعوت با خطا مواجه شد.', 'import_zip_cant_decode_data' => 'محتوای data.json در فایل ZIP پیدا یا رمزگشایی نشد.', 'import_zip_no_data' => 'داده‌های فایل ZIP فاقد محتوای کتاب، فصل یا صفحه مورد انتظار است.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'اعتبارسنجی فایل ZIP واردشده با خطا مواجه شد:', 'import_zip_failed_notification' => ' فایل ZIP وارد نشد.', 'import_perms_books' => 'شما مجوز لازم برای ایجاد کتاب را ندارید.', diff --git a/lang/fa/validation.php b/lang/fa/validation.php index e1c69ece9..93c7dcb66 100644 --- a/lang/fa/validation.php +++ b/lang/fa/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'بارگذاری فایل :attribute موفقیت آمیز نبود.', 'zip_file' => 'ویژگی :attribute باید به یک فایل درون پرونده فشرده شده اشاره کند.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'ویژگی :attribute باید به فایلی با نوع :validTypes اشاره کند، اما نوع یافت‌شده :foundType است.', 'zip_model_expected' => 'سیستم در این بخش انتظار دریافت یک شیء داده‌ای را داشت، اما «:type» دریافت گردید', 'zip_unique' => 'برای هر نوع شیء در فایل ZIP، مقدار ویژگی :attribute باید یکتا و بدون تکرار باشد.', diff --git a/lang/fi/errors.php b/lang/fi/errors.php index 9af7490d5..f470ce614 100644 --- a/lang/fi/errors.php +++ b/lang/fi/errors.php @@ -110,6 +110,7 @@ Sovellus ei tunnista ulkoisen todennuspalvelun pyyntöä. Ongelman voi aiheuttaa 'import_zip_cant_read' => 'ZIP-tiedostoa ei voitu lukea.', 'import_zip_cant_decode_data' => 'ZIP-tiedoston data.json sisältöä ei löydy eikä sitä voitu purkaa.', 'import_zip_no_data' => 'ZIP-tiedostoilla ei ole odotettua kirjaa, lukua tai sivun sisältöä.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'Tuonti ZIP epäonnistui virheiden kanssa:', 'import_zip_failed_notification' => 'ZIP-tiedoston tuominen epäonnistui.', 'import_perms_books' => 'Sinulla ei ole tarvittavia oikeuksia luoda kirjoja.', diff --git a/lang/fi/validation.php b/lang/fi/validation.php index 8adc934a1..aef10b4d3 100644 --- a/lang/fi/validation.php +++ b/lang/fi/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'Tiedostoa ei voitu ladata. Palvelin ei ehkä hyväksy tämän kokoisia tiedostoja.', 'zip_file' => 'Attribuutin :attribute on viitattava tiedostoon ZIP-tiedoston sisällä.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'The :attribute needs to reference a file of type :validTypes, found :foundType.', 'zip_model_expected' => 'Data object expected but ":type" found.', 'zip_unique' => 'The :attribute must be unique for the object type within the ZIP.', diff --git a/lang/fr/errors.php b/lang/fr/errors.php index 94d21e1dd..a4fb9b565 100644 --- a/lang/fr/errors.php +++ b/lang/fr/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'Impossible de lire le fichier ZIP.', 'import_zip_cant_decode_data' => 'Impossible de trouver et de décoder le contenu ZIP data.json.', 'import_zip_no_data' => 'Les données du fichier ZIP n\'ont pas de livre, de chapitre ou de page attendus.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'L\'importation du ZIP n\'a pas été validée avec les erreurs :', 'import_zip_failed_notification' => 'Impossible d\'importer le fichier ZIP.', 'import_perms_books' => 'Vous n\'avez pas les permissions requises pour créer des livres.', diff --git a/lang/fr/validation.php b/lang/fr/validation.php index 7db0493a1..74ecca12e 100644 --- a/lang/fr/validation.php +++ b/lang/fr/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'Le fichier n\'a pas pu être envoyé. Le serveur peut ne pas accepter des fichiers de cette taille.', 'zip_file' => 'L\'attribut :attribute doit référencer un fichier dans le ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => ':attribute doit référencer un fichier de type :validTypes, trouvé :foundType.', 'zip_model_expected' => 'Objet de données attendu, mais ":type" trouvé.', 'zip_unique' => 'L\'attribut :attribute doit être unique pour le type d\'objet dans le ZIP.', diff --git a/lang/he/activities.php b/lang/he/activities.php index 8dd244b72..e94d53e0d 100644 --- a/lang/he/activities.php +++ b/lang/he/activities.php @@ -128,12 +128,12 @@ return [ 'comment_delete' => 'תגובה נמחקה', // Sort Rules - 'sort_rule_create' => 'created sort rule', - 'sort_rule_create_notification' => 'Sort rule successfully created', - 'sort_rule_update' => 'updated sort rule', - 'sort_rule_update_notification' => 'Sort rule successfully updated', - 'sort_rule_delete' => 'deleted sort rule', - 'sort_rule_delete_notification' => 'Sort rule successfully deleted', + 'sort_rule_create' => 'נוצר חוק מיון', + 'sort_rule_create_notification' => 'חוק מיון נוצר בהצלחה', + 'sort_rule_update' => 'חוק מיון עודכן', + 'sort_rule_update_notification' => 'חוק מיון עודכן בהצלחה', + 'sort_rule_delete' => 'חוק מיון נמחק', + 'sort_rule_delete_notification' => 'חוק מיון נמחק בהצלחה', // Other 'permissions_update' => 'הרשאות עודכנו', diff --git a/lang/he/auth.php b/lang/he/auth.php index 2948d5b20..6f4f77223 100644 --- a/lang/he/auth.php +++ b/lang/he/auth.php @@ -106,12 +106,13 @@ return [ 'mfa_verify_access' => 'אשר גישה', 'mfa_verify_access_desc' => 'חשבון המשתמש שלך דורש ממך לאת את הזהות שלך בשכבת הגנה נוספת על מנת לאפשר לך גישה. יש לאשר גישה דרך אחד האמצעים הקיימים על מנת להמשיך.', 'mfa_verify_no_methods' => 'אין אפשרויות אימות דו-שלבי מוגדרות', - 'mfa_verify_no_methods_desc' => 'No multi-factor authentication methods could be found for your account. You\'ll need to set up at least one method before you gain access.', + 'mfa_verify_no_methods_desc' => 'לא נמצאו אפשרויות ווידוא זהות עבור המשתמש שלך. +נדרש לקנפג לפחות אחד על מנת לקבל גישה.', 'mfa_verify_use_totp' => 'אמת באמצעות אפליקציה', 'mfa_verify_use_backup_codes' => 'אמת באמצעות קוד גיבוי', 'mfa_verify_backup_code' => 'קוד גיבוי', 'mfa_verify_backup_code_desc' => 'הזן מטה אחד מקודי הגיבוי הנותרים לך:', 'mfa_verify_backup_code_enter_here' => 'הזן קוד גיבוי כאן', 'mfa_verify_totp_desc' => 'הזן את הקוד, שהונפק דרך האפליקציה שלך, מטה:', - 'mfa_setup_login_notification' => 'Multi-factor method configured, Please now login again using the configured method.', + 'mfa_setup_login_notification' => 'אמצעי זיהוי זהות הוגדרו, אנא התחבר מחדש.', ]; diff --git a/lang/he/common.php b/lang/he/common.php index 2e387f67d..c89ee7782 100644 --- a/lang/he/common.php +++ b/lang/he/common.php @@ -30,8 +30,8 @@ return [ 'create' => 'צור', 'update' => 'עדכן', 'edit' => 'ערוך', - 'archive' => 'Archive', - 'unarchive' => 'Un-Archive', + 'archive' => 'הכנס לארכיון', + 'unarchive' => 'הוצא מארכיון', 'sort' => 'מיין', 'move' => 'הזז', 'copy' => 'העתק', diff --git a/lang/he/entities.php b/lang/he/entities.php index 0cf2bb7fd..d8b264d8b 100644 --- a/lang/he/entities.php +++ b/lang/he/entities.php @@ -22,8 +22,8 @@ return [ 'meta_created_name' => 'נוצר :timeLength על ידי :user', 'meta_updated' => 'עודכן :timeLength', 'meta_updated_name' => 'עודכן :timeLength על ידי :user', - 'meta_owned_name' => 'Owned by :user', - 'meta_reference_count' => 'Referenced by :count item|Referenced by :count items', + 'meta_owned_name' => 'בבעלות של :user', + 'meta_reference_count' => '', 'entity_select' => 'בחר יישות', 'entity_select_lack_permission' => 'אין לך אישורים דרושים לבחירת פריט זה', 'images' => 'תמונות', diff --git a/lang/he/errors.php b/lang/he/errors.php index 75f7949ea..a2bc86ae4 100644 --- a/lang/he/errors.php +++ b/lang/he/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'Could not read ZIP file.', 'import_zip_cant_decode_data' => 'Could not find and decode ZIP data.json content.', 'import_zip_no_data' => 'ZIP file data has no expected book, chapter or page content.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'Import ZIP failed to validate with errors:', 'import_zip_failed_notification' => 'Failed to import ZIP file.', 'import_perms_books' => 'You are lacking the required permissions to create books.', diff --git a/lang/he/validation.php b/lang/he/validation.php index 2d4f8b305..db2080a2b 100644 --- a/lang/he/validation.php +++ b/lang/he/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'שדה :attribute ארעה שגיאה בעת ההעלאה.', 'zip_file' => 'The :attribute needs to reference a file within the ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'The :attribute needs to reference a file of type :validTypes, found :foundType.', 'zip_model_expected' => 'Data object expected but ":type" found.', 'zip_unique' => 'The :attribute must be unique for the object type within the ZIP.', diff --git a/lang/hr/errors.php b/lang/hr/errors.php index 92b9de7d2..ad1b2668f 100644 --- a/lang/hr/errors.php +++ b/lang/hr/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'Could not read ZIP file.', 'import_zip_cant_decode_data' => 'Could not find and decode ZIP data.json content.', 'import_zip_no_data' => 'ZIP file data has no expected book, chapter or page content.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'Import ZIP failed to validate with errors:', 'import_zip_failed_notification' => 'Failed to import ZIP file.', 'import_perms_books' => 'You are lacking the required permissions to create books.', diff --git a/lang/hr/validation.php b/lang/hr/validation.php index 32b11a9bd..22dae5c56 100644 --- a/lang/hr/validation.php +++ b/lang/hr/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'Datoteka se ne može prenijeti. Server možda ne prihvaća datoteke te veličine.', 'zip_file' => 'The :attribute needs to reference a file within the ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'The :attribute needs to reference a file of type :validTypes, found :foundType.', 'zip_model_expected' => 'Data object expected but ":type" found.', 'zip_unique' => 'The :attribute must be unique for the object type within the ZIP.', diff --git a/lang/hu/errors.php b/lang/hu/errors.php index 8ee055e29..10e3adbf9 100644 --- a/lang/hu/errors.php +++ b/lang/hu/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'Could not read ZIP file.', 'import_zip_cant_decode_data' => 'Could not find and decode ZIP data.json content.', 'import_zip_no_data' => 'ZIP file data has no expected book, chapter or page content.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'Import ZIP failed to validate with errors:', 'import_zip_failed_notification' => 'Failed to import ZIP file.', 'import_perms_books' => 'You are lacking the required permissions to create books.', diff --git a/lang/hu/validation.php b/lang/hu/validation.php index a215416ca..b740ca0c6 100644 --- a/lang/hu/validation.php +++ b/lang/hu/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'A fájlt nem lehet feltölteni. A kiszolgáló nem fogad el ilyen méretű fájlokat.', 'zip_file' => 'The :attribute needs to reference a file within the ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'The :attribute needs to reference a file of type :validTypes, found :foundType.', 'zip_model_expected' => 'Data object expected but ":type" found.', 'zip_unique' => 'The :attribute must be unique for the object type within the ZIP.', diff --git a/lang/id/components.php b/lang/id/components.php index 45aa72fba..6f1f905a4 100644 --- a/lang/id/components.php +++ b/lang/id/components.php @@ -13,7 +13,7 @@ return [ 'image_intro_upload' => 'Unggah gambar baru dengan menyeret berkas gambar ke jendela ini, atau dengan menggunakan tombol "Unggah Gambar" di atas.', 'image_all' => 'Semua', 'image_all_title' => 'Lihat semua gambar', - 'image_book_title' => 'Lihat gambar yang diunggah ke buku ini', + 'image_book_title' => 'Lihat gambar untuk diunggah ke buku ini', 'image_page_title' => 'Lihat gambar yang diunggah ke halaman ini', 'image_search_hint' => 'Cari berdasarkan nama gambar', 'image_uploaded' => 'Diunggah :uploadedDate', @@ -33,7 +33,7 @@ return [ 'image_update_success' => 'Detail gambar berhasil diperbarui', 'image_delete_success' => 'Gambar berhasil dihapus', 'image_replace' => 'Ganti Gambar', - 'image_replace_success' => 'Berkas gambar berhasil diperbarui', + 'image_replace_success' => 'Detail gambar berhasil diperbarui', 'image_rebuild_thumbs' => 'Buat Ulang Variasi Ukuran', 'image_rebuild_thumbs_success' => 'Variasi ukuran gambar berhasil dibuat ulang!', diff --git a/lang/id/errors.php b/lang/id/errors.php index 6f7661738..772547831 100644 --- a/lang/id/errors.php +++ b/lang/id/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'Tidak dapat membaca berkas ZIP.', 'import_zip_cant_decode_data' => 'Tidak dapat menemukan dan mendekode konten ZIP data.json.', 'import_zip_no_data' => 'Data berkas ZIP tidak berisi konten buku, bab, atau halaman yang diharapkan.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'Impor ZIP gagal divalidasi dengan kesalahan:', 'import_zip_failed_notification' => 'Gagal mengimpor berkas ZIP.', 'import_perms_books' => 'Anda tidak memiliki izin yang diperlukan untuk membuat buku.', diff --git a/lang/id/validation.php b/lang/id/validation.php index d5ccb2709..b649ef6fe 100644 --- a/lang/id/validation.php +++ b/lang/id/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'Berkas tidak dapat diunggah. Server mungkin tidak menerima berkas dengan ukuran ini.', 'zip_file' => ':attribute perlu merujuk ke sebuah file yang terdapat di dalam arsip ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => ':attribute seharusnya berupa file dengan tipe :validTypes, tapi yang Anda unggah bertipe :foundType.', 'zip_model_expected' => 'Diharapkan sebuah objek data, namun yang ditemukan adalah \':type\'.', 'zip_unique' => ':attribute harus bersifat unik untuk setiap jenis objek dalam file ZIP.', diff --git a/lang/is/errors.php b/lang/is/errors.php index 50e30a8c5..a29c8475a 100644 --- a/lang/is/errors.php +++ b/lang/is/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'Gat ekki lesið ZIP skrá.', 'import_zip_cant_decode_data' => 'Fann ekki ZIP data.json innihald.', 'import_zip_no_data' => 'ZIP skráin inniheldur ekkert efni.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'ZIP skráin stóðst ekki staðfestingu og skilaði villu:', 'import_zip_failed_notification' => 'Gat ekki lesið inn ZIP skrá.', 'import_perms_books' => 'Þú hefur ekki heimild til að búa til bækur.', diff --git a/lang/is/validation.php b/lang/is/validation.php index 9183d27cf..7f2af0f08 100644 --- a/lang/is/validation.php +++ b/lang/is/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'The file could not be uploaded. The server may not accept files of this size.', 'zip_file' => 'The :attribute needs to reference a file within the ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'The :attribute needs to reference a file of type :validTypes, found :foundType.', 'zip_model_expected' => 'Data object expected but ":type" found.', 'zip_unique' => 'The :attribute must be unique for the object type within the ZIP.', diff --git a/lang/it/errors.php b/lang/it/errors.php index b3763cce2..62b698acc 100644 --- a/lang/it/errors.php +++ b/lang/it/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'Impossibile leggere il file ZIP.', 'import_zip_cant_decode_data' => 'Impossibile trovare e decodificare il contenuto ZIP data.json.', 'import_zip_no_data' => 'I dati del file ZIP non hanno il contenuto previsto di libri, capitoli o pagine.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'L\'importazione ZIP non è stata convalidata con errori:', 'import_zip_failed_notification' => 'Impossibile importare il file ZIP.', 'import_perms_books' => 'Non hai i permessi necessari per creare libri.', diff --git a/lang/it/validation.php b/lang/it/validation.php index c945ff7d4..54ef4dba6 100644 --- a/lang/it/validation.php +++ b/lang/it/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'Il file non può essere caricato. Il server potrebbe non accettare file di questa dimensione.', 'zip_file' => 'L\'attributo :attribute deve fare riferimento a un file all\'interno dello ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'Il campo :attribute deve fare riferimento a un file di tipo :validTypes, trovato :foundType.', 'zip_model_expected' => 'Oggetto dati atteso ma ":type" trovato.', 'zip_unique' => 'L\'attributo :attribute deve essere univoco per il tipo di oggetto all\'interno dello ZIP.', diff --git a/lang/ja/errors.php b/lang/ja/errors.php index 8161c08b8..443a810f9 100644 --- a/lang/ja/errors.php +++ b/lang/ja/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'ZIPファイルを読み込めません。', 'import_zip_cant_decode_data' => 'ZIPファイル内に data.json が見つからないかデコードできませんでした。', 'import_zip_no_data' => 'ZIPファイルのデータにブック、チャプター、またはページコンテンツがありません。', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'エラーによりインポートZIPの検証に失敗しました:', 'import_zip_failed_notification' => 'ZIP ファイルのインポートに失敗しました。', 'import_perms_books' => 'ブックを作成するために必要な権限がありません。', diff --git a/lang/ja/notifications.php b/lang/ja/notifications.php index 981932178..ea6286b51 100644 --- a/lang/ja/notifications.php +++ b/lang/ja/notifications.php @@ -11,8 +11,8 @@ return [ 'updated_page_subject' => 'ページの更新: :pageName', 'updated_page_intro' => ':appName でページが更新されました', 'updated_page_debounce' => '大量の通知を防ぐために、しばらくの間は同じユーザがこのページをさらに編集しても通知は送信されません。', - 'comment_mention_subject' => 'You have been mentioned in a comment on page: :pageName', - 'comment_mention_intro' => 'You were mentioned in a comment on :appName:', + 'comment_mention_subject' => 'ページのコメントであなたにメンションされています: :pageName', + 'comment_mention_intro' => ':appName: のコメントであなたにメンションされました', 'detail_page_name' => 'ページ名:', 'detail_page_path' => 'ページパス:', diff --git a/lang/ja/preferences.php b/lang/ja/preferences.php index a47906929..c74518393 100644 --- a/lang/ja/preferences.php +++ b/lang/ja/preferences.php @@ -23,7 +23,7 @@ return [ 'notifications_desc' => 'システム内で特定のアクティビティが実行されたときに受信する電子メール通知を制御します。', 'notifications_opt_own_page_changes' => '自分が所有するページの変更を通知する', 'notifications_opt_own_page_comments' => '自分が所有するページへのコメントを通知する', - 'notifications_opt_comment_mentions' => 'Notify when I\'m mentioned in a comment', + 'notifications_opt_comment_mentions' => 'コメントでメンションされたときに通知する', 'notifications_opt_comment_replies' => '自分のコメントへの返信を通知する', 'notifications_save' => '設定を保存', 'notifications_update_success' => '通知設定を更新しました。', diff --git a/lang/ja/settings.php b/lang/ja/settings.php index a19c942b2..53b14233e 100644 --- a/lang/ja/settings.php +++ b/lang/ja/settings.php @@ -75,8 +75,8 @@ return [ 'reg_confirm_restrict_domain_placeholder' => '制限しない', // Sorting Settings - 'sorting' => 'Lists & Sorting', - 'sorting_book_default' => 'Default Book Sort Rule', + 'sorting' => '一覧とソート', + 'sorting_book_default' => 'ブックのデフォルトソートルール', 'sorting_book_default_desc' => '新しいブックに適用するデフォルトのソートルールを選択します。これは既存のブックには影響しません。ルールはブックごとに上書きすることができます。', 'sorting_rules' => 'ソートルール', 'sorting_rules_desc' => 'これらはシステム内のコンテンツに適用できる事前定義のソート操作です。', @@ -103,8 +103,8 @@ return [ 'sort_rule_op_updated_date' => '更新日時', 'sort_rule_op_chapters_first' => 'チャプタを最初に', 'sort_rule_op_chapters_last' => 'チャプタを最後に', - 'sorting_page_limits' => 'Per-Page Display Limits', - 'sorting_page_limits_desc' => 'Set how many items to show per-page in various lists within the system. Typically a lower amount will be more performant, while a higher amount avoids the need to click through multiple pages. Using an even multiple of 3 (18, 24, 30, etc...) is recommended.', + 'sorting_page_limits' => 'ページング表示制限', + 'sorting_page_limits_desc' => 'システム内の各種リストで1ページに表示するアイテム数を設定します。 通常、少ない数に設定するとパフォーマンスが向上し、多い数に設定するとページの移動操作が少なくなります。 3の倍数(18、24、30など)を使用することをお勧めします。', // Maintenance settings 'maint' => 'メンテナンス', @@ -197,13 +197,13 @@ return [ 'role_import_content' => 'コンテンツのインポート', 'role_editor_change' => 'ページエディタの変更', 'role_notifications' => '通知の受信と管理', - 'role_permission_note_users_and_roles' => 'These permissions will technically also provide visibility & searching of users & roles in the system.', + 'role_permission_note_users_and_roles' => '技術的には、これらの権限によりシステムのユーザーおよび役割の可視性と検索も提供されます。', 'role_asset' => 'アセット権限', 'roles_system_warning' => '上記の3つの権限のいずれかを付与することは、ユーザーが自分の特権またはシステム内の他のユーザーの特権を変更できる可能性があることに注意してください。これらの権限は信頼できるユーザーにのみ割り当ててください。', 'role_asset_desc' => '各アセットに対するデフォルトの権限を設定します。ここで設定した権限が優先されます。', 'role_asset_admins' => '管理者にはすべてのコンテンツへのアクセス権が自動的に付与されますが、これらのオプションはUIオプションを表示または非表示にする場合があります。', 'role_asset_image_view_note' => 'これは画像マネージャー内の可視性に関連しています。アップロードされた画像ファイルへの実際のアクセスは、システムの画像保存オプションに依存します。', - 'role_asset_users_note' => 'These permissions will technically also provide visibility & searching of users in the system.', + 'role_asset_users_note' => '技術的には、これらの権限によりシステム内のユーザーの可視性と検索も提供されます。', 'role_all' => '全て', 'role_own' => '自身', 'role_controlled_by_asset' => 'このアセットに対し、右記の操作を許可:', diff --git a/lang/ja/validation.php b/lang/ja/validation.php index 7d18c85be..0efbc7d68 100644 --- a/lang/ja/validation.php +++ b/lang/ja/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'ファイルをアップロードできませんでした。サーバーがこのサイズのファイルを受け付けていない可能性があります。', 'zip_file' => ':attribute はZIP 内のファイルを参照する必要があります。', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => ':attribute は種別 :validType のファイルを参照する必要がありますが、種別 :foundType となっています。', 'zip_model_expected' => 'データオブジェクトが期待されますが、":type" が見つかりました。', 'zip_unique' => 'ZIP内のオブジェクトタイプに :attribute が一意である必要があります。', diff --git a/lang/ka/errors.php b/lang/ka/errors.php index 9d7383796..77d7ee69e 100644 --- a/lang/ka/errors.php +++ b/lang/ka/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'Could not read ZIP file.', 'import_zip_cant_decode_data' => 'Could not find and decode ZIP data.json content.', 'import_zip_no_data' => 'ZIP file data has no expected book, chapter or page content.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'Import ZIP failed to validate with errors:', 'import_zip_failed_notification' => 'Failed to import ZIP file.', 'import_perms_books' => 'You are lacking the required permissions to create books.', diff --git a/lang/ka/validation.php b/lang/ka/validation.php index d9b982d1e..ff028525d 100644 --- a/lang/ka/validation.php +++ b/lang/ka/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'The file could not be uploaded. The server may not accept files of this size.', 'zip_file' => 'The :attribute needs to reference a file within the ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'The :attribute needs to reference a file of type :validTypes, found :foundType.', 'zip_model_expected' => 'Data object expected but ":type" found.', 'zip_unique' => 'The :attribute must be unique for the object type within the ZIP.', diff --git a/lang/ko/errors.php b/lang/ko/errors.php index 9639a5036..12ee2697a 100644 --- a/lang/ko/errors.php +++ b/lang/ko/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'ZIP 파일을 읽을 수 없습니다.', 'import_zip_cant_decode_data' => 'ZIP data.json 콘텐츠를 찾아서 디코딩할 수 없습니다.', 'import_zip_no_data' => '컨텐츠 ZIP 파일 데이터에 데이터가 비어있습니다.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => '컨텐츠 ZIP 파일을 가져오려다 실패했습니다. 이유:', 'import_zip_failed_notification' => '컨텐츠 ZIP 파일을 가져오지 못했습니다.', 'import_perms_books' => '책을 만드는 데 필요한 권한이 없습니다.', diff --git a/lang/ko/validation.php b/lang/ko/validation.php index ef7361ff9..a60ac2f21 100644 --- a/lang/ko/validation.php +++ b/lang/ko/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => '파일 크기가 서버에서 허용하는 수치를 넘습니다.', 'zip_file' => ':attribute은(는) 컨텐츠 ZIP 파일 내의 객체 유형에 대해 고유해야 합니다.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => ':attribute은(는) :validTypes, found :foundType 유형의 파일을 참조해야 합니다.', 'zip_model_expected' => '데이터 객체가 필요하지만 ":type" 타입이 발견되었습니다.', 'zip_unique' => ':attribute은(는) 컨텐츠 ZIP 파일 내의 객체 유형에 대해 고유해야 합니다.', diff --git a/lang/ku/errors.php b/lang/ku/errors.php index 9d7383796..77d7ee69e 100644 --- a/lang/ku/errors.php +++ b/lang/ku/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'Could not read ZIP file.', 'import_zip_cant_decode_data' => 'Could not find and decode ZIP data.json content.', 'import_zip_no_data' => 'ZIP file data has no expected book, chapter or page content.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'Import ZIP failed to validate with errors:', 'import_zip_failed_notification' => 'Failed to import ZIP file.', 'import_perms_books' => 'You are lacking the required permissions to create books.', diff --git a/lang/ku/validation.php b/lang/ku/validation.php index d9b982d1e..ff028525d 100644 --- a/lang/ku/validation.php +++ b/lang/ku/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'The file could not be uploaded. The server may not accept files of this size.', 'zip_file' => 'The :attribute needs to reference a file within the ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'The :attribute needs to reference a file of type :validTypes, found :foundType.', 'zip_model_expected' => 'Data object expected but ":type" found.', 'zip_unique' => 'The :attribute must be unique for the object type within the ZIP.', diff --git a/lang/lt/editor.php b/lang/lt/editor.php index 0d250e9a7..054190819 100644 --- a/lang/lt/editor.php +++ b/lang/lt/editor.php @@ -37,7 +37,7 @@ return [ 'blockquote' => 'Blockquote', 'inline_code' => 'Inline code', 'callouts' => 'Callouts', - 'callout_information' => 'Information', + 'callout_information' => 'Informacija', 'callout_success' => 'Success', 'callout_warning' => 'Warning', 'callout_danger' => 'Danger', @@ -61,7 +61,7 @@ return [ 'list_task' => 'Task list', 'indent_increase' => 'Increase indent', 'indent_decrease' => 'Decrease indent', - 'table' => 'Table', + 'table' => 'Lentelė', 'insert_image' => 'Insert image', 'insert_image_title' => 'Insert/Edit Image', 'insert_link' => 'Insert/edit link', @@ -150,11 +150,11 @@ return [ 'text_to_display' => 'Text to display', 'title' => 'Title', 'browse_links' => 'Browse links', - 'open_link' => 'Open link', - 'open_link_in' => 'Open link in...', + 'open_link' => 'Atverti nuorodą', + 'open_link_in' => 'Atverti nuorodą...', 'open_link_current' => 'Current window', - 'open_link_new' => 'New window', - 'remove_link' => 'Remove link', + 'open_link_new' => 'Naujame lange', + 'remove_link' => 'Pašalinti nuorodą', 'insert_collapsible' => 'Insert collapsible block', 'collapsible_unwrap' => 'Unwrap', 'edit_label' => 'Edit label', @@ -163,14 +163,14 @@ return [ 'toggle_label' => 'Toggle label', // About view - 'about' => 'About the editor', - 'about_title' => 'About the WYSIWYG Editor', + 'about' => 'Apie redaktorių', + 'about_title' => 'Apie WYSIWYG redaktorių', 'editor_license' => 'Editor License & Copyright', 'editor_lexical_license' => 'This editor is built as a fork of :lexicalLink which is distributed under the MIT license.', 'editor_lexical_license_link' => 'Full license details can be found here.', 'editor_tiny_license' => 'This editor is built using :tinyLink which is provided under the MIT license.', 'editor_tiny_license_link' => 'The copyright and license details of TinyMCE can be found here.', - 'save_continue' => 'Save Page & Continue', + 'save_continue' => 'Išsaugoti puslapį ir tęsti', 'callouts_cycle' => '(Keep pressing to toggle through types)', 'link_selector' => 'Link to content', 'shortcuts' => 'Shortcuts', diff --git a/lang/lt/entities.php b/lang/lt/entities.php index 562456781..6c4472d85 100644 --- a/lang/lt/entities.php +++ b/lang/lt/entities.php @@ -416,7 +416,7 @@ return [ 'comment_jump_to_thread' => 'Jump to thread', 'comment_delete_confirm' => 'Esate tikri, kad norite ištrinti šį komentarą?', 'comment_in_reply_to' => 'Atsakydamas į :commentId', - 'comment_reference' => 'Reference', + 'comment_reference' => 'Nuoroda', 'comment_reference_outdated' => '(Outdated)', 'comment_editor_explain' => 'Here are the comments that have been left on this page. Comments can be added & managed when viewing the saved page.', @@ -446,7 +446,7 @@ return [ 'convert_chapter_confirm' => 'Are you sure you want to convert this chapter?', // References - 'references' => 'References', + 'references' => 'Nuorodos', 'references_none' => 'There are no tracked references to this item.', 'references_to_desc' => 'Listed below is all the known content in the system that links to this item.', diff --git a/lang/lt/errors.php b/lang/lt/errors.php index 392e99a51..f2917058e 100644 --- a/lang/lt/errors.php +++ b/lang/lt/errors.php @@ -23,7 +23,7 @@ return [ 'saml_no_email_address' => 'Nerandamas šio naudotojo elektroninio pašto adresas išorinės autentifikavimo sistemos pateiktuose duomenyse', 'saml_invalid_response_id' => 'Prašymas iš išorinės autentifikavimo sistemos nėra atpažintas proceso, kurį pradėjo ši programa. Naršymas po prisijungimo gali sukelti šią problemą.', 'saml_fail_authed' => 'Prisijungimas, naudojant :system nepavyko, sistema nepateikė sėkmingo leidimo.', - 'oidc_already_logged_in' => 'Already logged in', + 'oidc_already_logged_in' => 'Jau prisijungta', 'oidc_no_email_address' => 'Could not find an email address, for this user, in the data provided by the external authentication system', 'oidc_fail_authed' => 'Login using :system failed, system did not provide successful authorization', 'social_no_action_defined' => 'Neapibrėžtas joks veiksmas', @@ -97,7 +97,7 @@ return [ '404_page_not_found' => 'Puslapis nerastas', 'sorry_page_not_found' => 'Atleiskite, puslapis, kurio ieškote, nerastas.', 'sorry_page_not_found_permission_warning' => 'Jei tikėjotės, kad šis puslapis egzistuoja, galbūt neturite leidimo jo peržiūrėti.', - 'image_not_found' => 'Image Not Found', + 'image_not_found' => 'Paveikslėlis nerastas', 'image_not_found_subtitle' => 'Sorry, The image file you were looking for could not be found.', 'image_not_found_details' => 'If you expected this image to exist it might have been deleted.', 'return_home' => 'Grįžti į namus', @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'Could not read ZIP file.', 'import_zip_cant_decode_data' => 'Could not find and decode ZIP data.json content.', 'import_zip_no_data' => 'ZIP file data has no expected book, chapter or page content.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'Import ZIP failed to validate with errors:', 'import_zip_failed_notification' => 'Failed to import ZIP file.', 'import_perms_books' => 'You are lacking the required permissions to create books.', diff --git a/lang/lt/notifications.php b/lang/lt/notifications.php index 563ac24e8..5f938c397 100644 --- a/lang/lt/notifications.php +++ b/lang/lt/notifications.php @@ -6,7 +6,7 @@ return [ 'new_comment_subject' => 'New comment on page: :pageName', 'new_comment_intro' => 'A user has commented on a page in :appName:', - 'new_page_subject' => 'New page: :pageName', + 'new_page_subject' => 'Naujas puslapis: :pageName', 'new_page_intro' => 'A new page has been created in :appName:', 'updated_page_subject' => 'Updated page: :pageName', 'updated_page_intro' => 'A page has been updated in :appName:', @@ -14,15 +14,15 @@ return [ 'comment_mention_subject' => 'You have been mentioned in a comment on page: :pageName', 'comment_mention_intro' => 'You were mentioned in a comment on :appName:', - 'detail_page_name' => 'Page Name:', + 'detail_page_name' => 'Puslapio pavadinimas:', 'detail_page_path' => 'Page Path:', 'detail_commenter' => 'Commenter:', - 'detail_comment' => 'Comment:', - 'detail_created_by' => 'Created By:', - 'detail_updated_by' => 'Updated By:', + 'detail_comment' => 'Komentaras:', + 'detail_created_by' => 'Sukurta:', + 'detail_updated_by' => 'Atnaujinta:', 'action_view_comment' => 'View Comment', - 'action_view_page' => 'View Page', + 'action_view_page' => 'Peržiūrėti puslapį', 'footer_reason' => 'This notification was sent to you because :link cover this type of activity for this item.', 'footer_reason_link' => 'your notification preferences', diff --git a/lang/lt/passwords.php b/lang/lt/passwords.php index 672620d35..e661c020f 100644 --- a/lang/lt/passwords.php +++ b/lang/lt/passwords.php @@ -7,9 +7,9 @@ return [ 'password' => 'Slaptažodis privalo būti mažiausiai aštuonių simbolių ir atitikti patvirtinimą.', - 'user' => "We can't find a user with that e-mail address.", + 'user' => "Nerastas vartotojas pagal šį el. pašto adresą.", 'token' => 'Slaptažodžio nustatymo raktas yra neteisingas šiam elektroninio pašto adresui.', - 'sent' => 'Elektroniu paštu jums atsiuntėme slaptažodžio atkūrimo nuorodą!', + 'sent' => 'Elektroniniu paštu Jums išsiųsta slaptažodžio atkūrimo nuoroda!', 'reset' => 'Jūsų slaptažodis buvo atkurtas!', ]; diff --git a/lang/lt/preferences.php b/lang/lt/preferences.php index 6258fcae7..7f591cdab 100644 --- a/lang/lt/preferences.php +++ b/lang/lt/preferences.php @@ -25,7 +25,7 @@ return [ 'notifications_opt_own_page_comments' => 'Notify upon comments on pages I own', 'notifications_opt_comment_mentions' => 'Notify when I\'m mentioned in a comment', 'notifications_opt_comment_replies' => 'Notify upon replies to my comments', - 'notifications_save' => 'Save Preferences', + 'notifications_save' => 'Išsaugoti nuostatas', 'notifications_update_success' => 'Notification preferences have been updated!', 'notifications_watched' => 'Watched & Ignored Items', 'notifications_watched_desc' => 'Below are the items that have custom watch preferences applied. To update your preferences for these, view the item then find the watch options in the sidebar.', diff --git a/lang/lt/settings.php b/lang/lt/settings.php index 8120d85fe..bcc7c82bd 100644 --- a/lang/lt/settings.php +++ b/lang/lt/settings.php @@ -9,8 +9,8 @@ return [ // Common Messages 'settings' => 'Nustatymai', 'settings_save' => 'Išsaugoti nustatymus', - 'system_version' => 'System Version', - 'categories' => 'Categories', + 'system_version' => 'Sistemos versija', + 'categories' => 'Kategorijos', // App Settings 'app_customization' => 'Tinkinimas', diff --git a/lang/lt/validation.php b/lang/lt/validation.php index 92de23004..65e5936c2 100644 --- a/lang/lt/validation.php +++ b/lang/lt/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'Šis failas negali būti įkeltas. Serveris gali nepriimti tokio dydžio failų.', 'zip_file' => 'The :attribute needs to reference a file within the ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'The :attribute needs to reference a file of type :validTypes, found :foundType.', 'zip_model_expected' => 'Data object expected but ":type" found.', 'zip_unique' => 'The :attribute must be unique for the object type within the ZIP.', diff --git a/lang/lv/errors.php b/lang/lv/errors.php index 28cc0d892..b4e9ec61a 100644 --- a/lang/lv/errors.php +++ b/lang/lv/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'Nevarēja nolasīt ZIP failu.', 'import_zip_cant_decode_data' => 'Nevarēja atrast un nolasīt data.json saturu ZIP failā.', 'import_zip_no_data' => 'ZIP faila datos nav atrasts grāmatu, nodaļu vai lapu saturs.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'ZIP faila imports ir neveiksmīgs ar šādām kļūdām:', 'import_zip_failed_notification' => 'ZIP faila imports ir neveiksmīgs.', 'import_perms_books' => 'Jums nav nepieciešamo tiesību izveidot grāmatas.', diff --git a/lang/lv/validation.php b/lang/lv/validation.php index dd318119a..befad5eeb 100644 --- a/lang/lv/validation.php +++ b/lang/lv/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'Fails netika ielādēts. Serveris nevar pieņemt šāda izmēra failus.', 'zip_file' => ':attribute ir jāatsaucas uz failu ZIP arhīvā.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => ':attribute ir jāatsaucas uz failu ar tipu :validTypes, bet atrasts :foundType.', 'zip_model_expected' => 'Sagaidīts datu objekts, bet atrasts ":type".', 'zip_unique' => ':attribute jābūt unikālam šim objekta tipam ZIP arhīvā.', diff --git a/lang/nb/errors.php b/lang/nb/errors.php index 400681b10..ef68da4fc 100644 --- a/lang/nb/errors.php +++ b/lang/nb/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'Kunne ikke lese ZIP-filen.', 'import_zip_cant_decode_data' => 'Kunne ikke finne og dekode ZIP data.json innhold.', 'import_zip_no_data' => 'ZIP-fildata har ingen forventet bok, kapittel eller sideinnhold.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'Import av ZIP feilet i å validere med feil:', 'import_zip_failed_notification' => 'Kunne ikke importere ZIP-fil.', 'import_perms_books' => 'Du mangler nødvendige tillatelser for å lage bøker.', diff --git a/lang/nb/validation.php b/lang/nb/validation.php index a156da8f7..27922e402 100644 --- a/lang/nb/validation.php +++ b/lang/nb/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'kunne ikke lastes opp, tjeneren støtter ikke filer av denne størrelsen.', 'zip_file' => 'Attributtet :attribute må henvises til en fil i ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'Attributtet :attribute må referere en fil av typen :validTypes, som ble funnet :foundType.', 'zip_model_expected' => 'Data objekt forventet, men ":type" funnet.', 'zip_unique' => 'Attributtet :attribute må være unikt for objekttypen i ZIP.', diff --git a/lang/ne/errors.php b/lang/ne/errors.php index 79ee27c78..bbcaec9e1 100644 --- a/lang/ne/errors.php +++ b/lang/ne/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'ZIP फाइल पढ्न सकिएन।', 'import_zip_cant_decode_data' => 'ZIP डाटा.json सामग्री पत्ता लाग्न र डिकोड गर्न सकिएन।', 'import_zip_no_data' => 'ZIP फाइल डाटामा अपेक्षित पुस्तक, अध्याय वा पाना सामग्री छैन।', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'आयात ZIP प्रमाणीकरण असफल भयो। त्रुटिहरू छन्:', 'import_zip_failed_notification' => 'ZIP फाइल आयात गर्न असफल भयो।', 'import_perms_books' => 'तपाईंलाई पुस्तकहरू सिर्जना गर्न आवश्यक अनुमति छैन।', diff --git a/lang/ne/validation.php b/lang/ne/validation.php index f00c0f731..ed61d3d6f 100644 --- a/lang/ne/validation.php +++ b/lang/ne/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'फाइल अपलोड हुन सकेन। सर्भरले यस्तो साइज स्वीकार नगर्न सक्छ।', 'zip_file' => ':attribute ले ZIP फाइलभित्रको फाइल देखाउनु पर्छ।', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => ':attribute मा :validTypes प्रकारको फाइल हुनुपर्छ, तर :foundType भेटियो।', 'zip_model_expected' => 'डेटा वस्तु चाहिएको थियो तर ":type" भेटियो।', 'zip_unique' => ':attribute ZIP भित्रको वस्तु प्रकारको लागि अद्वितीय हुनुपर्छ।', diff --git a/lang/nl/errors.php b/lang/nl/errors.php index 9829986a2..c2a666546 100644 --- a/lang/nl/errors.php +++ b/lang/nl/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'Kon het Zip-bestand niet lezen.', 'import_zip_cant_decode_data' => 'Kon de data.json Zip-inhoud niet vinden of decoderen.', 'import_zip_no_data' => 'Zip-bestand bevat niet de verwachte boek, hoofdstuk of pagina-inhoud.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'De validatie van het Zip-bestand is mislukt met de volgende fouten:', 'import_zip_failed_notification' => 'Importeren van het Zip-bestand is mislukt.', 'import_perms_books' => 'Je mist de vereiste machtigingen om boeken te maken.', diff --git a/lang/nl/validation.php b/lang/nl/validation.php index 7c7e20c8b..e2f48e31a 100644 --- a/lang/nl/validation.php +++ b/lang/nl/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'Het bestand kon niet worden geüpload. De server accepteert mogelijk geen bestanden van deze grootte.', 'zip_file' => 'Het \':attribute\' veld moet verwijzen naar een bestand in de ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'Het \':attribute\' veld moet verwijzen naar een bestand met het type :validTypes, vond :foundType.', 'zip_model_expected' => 'Dataobject verwacht maar vond ":type".', 'zip_unique' => ':attribute moet uniek zijn voor het objecttype binnen de ZIP.', diff --git a/lang/nn/errors.php b/lang/nn/errors.php index c56b7d078..01d83e0ac 100644 --- a/lang/nn/errors.php +++ b/lang/nn/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'Could not read ZIP file.', 'import_zip_cant_decode_data' => 'Could not find and decode ZIP data.json content.', 'import_zip_no_data' => 'ZIP file data has no expected book, chapter or page content.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'Import ZIP failed to validate with errors:', 'import_zip_failed_notification' => 'Failed to import ZIP file.', 'import_perms_books' => 'You are lacking the required permissions to create books.', diff --git a/lang/nn/validation.php b/lang/nn/validation.php index a24ebd171..ff7a026a2 100644 --- a/lang/nn/validation.php +++ b/lang/nn/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'kunne ikke lastes opp, tjeneren støtter ikke filer av denne størrelsen.', 'zip_file' => 'The :attribute needs to reference a file within the ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'The :attribute needs to reference a file of type :validTypes, found :foundType.', 'zip_model_expected' => 'Data object expected but ":type" found.', 'zip_unique' => 'The :attribute must be unique for the object type within the ZIP.', diff --git a/lang/pl/errors.php b/lang/pl/errors.php index e6ad2093f..04146bbb7 100644 --- a/lang/pl/errors.php +++ b/lang/pl/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'Could not read ZIP file.', 'import_zip_cant_decode_data' => 'Could not find and decode ZIP data.json content.', 'import_zip_no_data' => 'ZIP file data has no expected book, chapter or page content.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'Import ZIP failed to validate with errors:', 'import_zip_failed_notification' => 'Failed to import ZIP file.', 'import_perms_books' => 'You are lacking the required permissions to create books.', diff --git a/lang/pl/validation.php b/lang/pl/validation.php index f20a66dfb..d1e8fada1 100644 --- a/lang/pl/validation.php +++ b/lang/pl/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'Plik nie może zostać wysłany. Serwer nie akceptuje plików o takim rozmiarze.', 'zip_file' => 'The :attribute needs to reference a file within the ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'The :attribute needs to reference a file of type :validTypes, found :foundType.', 'zip_model_expected' => 'Data object expected but ":type" found.', 'zip_unique' => 'The :attribute must be unique for the object type within the ZIP.', diff --git a/lang/pt/errors.php b/lang/pt/errors.php index b337005e1..973bf61e2 100644 --- a/lang/pt/errors.php +++ b/lang/pt/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'Could not read ZIP file.', 'import_zip_cant_decode_data' => 'Could not find and decode ZIP data.json content.', 'import_zip_no_data' => 'ZIP file data has no expected book, chapter or page content.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'Import ZIP failed to validate with errors:', 'import_zip_failed_notification' => 'Failed to import ZIP file.', 'import_perms_books' => 'You are lacking the required permissions to create books.', diff --git a/lang/pt/validation.php b/lang/pt/validation.php index df414c992..17d891cdb 100644 --- a/lang/pt/validation.php +++ b/lang/pt/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'O arquivo não pôde ser carregado. O servidor pode não aceitar arquivos deste tamanho.', 'zip_file' => 'The :attribute needs to reference a file within the ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'The :attribute needs to reference a file of type :validTypes, found :foundType.', 'zip_model_expected' => 'Data object expected but ":type" found.', 'zip_unique' => 'The :attribute must be unique for the object type within the ZIP.', diff --git a/lang/pt_BR/errors.php b/lang/pt_BR/errors.php index 8dab893c7..37cbd7ff2 100644 --- a/lang/pt_BR/errors.php +++ b/lang/pt_BR/errors.php @@ -110,6 +110,7 @@ return [ 'import_zip_cant_read' => 'Não foi possível ler o arquivo ZIP.', 'import_zip_cant_decode_data' => 'Não foi possível encontrar e decodificar o conteúdo ZIP data.json.', 'import_zip_no_data' => 'Os dados do arquivo ZIP não têm o conteúdo esperado livro, capítulo ou página.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'Falhou na validação da importação do ZIP com erros:', 'import_zip_failed_notification' => 'Falhou ao importar arquivo ZIP.', 'import_perms_books' => 'Você não tem as permissões necessárias para criar livros.', diff --git a/lang/pt_BR/validation.php b/lang/pt_BR/validation.php index 9ddfdf2a5..e30ebc377 100644 --- a/lang/pt_BR/validation.php +++ b/lang/pt_BR/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'O arquivo não pôde ser carregado. O servidor pode não aceitar arquivos deste tamanho.', 'zip_file' => 'O :attribute precisa fazer referência a um arquivo do ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'O :attribute precisa fazer referência a um arquivo do tipo :validTypes, encontrado :foundType.', 'zip_model_expected' => 'Objeto de dados esperado, mas ":type" encontrado.', 'zip_unique' => 'O :attribute deve ser único para o tipo de objeto dentro do ZIP.', diff --git a/lang/ro/errors.php b/lang/ro/errors.php index 07c295b07..dec7be134 100644 --- a/lang/ro/errors.php +++ b/lang/ro/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'Could not read ZIP file.', 'import_zip_cant_decode_data' => 'Could not find and decode ZIP data.json content.', 'import_zip_no_data' => 'ZIP file data has no expected book, chapter or page content.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'Import ZIP failed to validate with errors:', 'import_zip_failed_notification' => 'Failed to import ZIP file.', 'import_perms_books' => 'You are lacking the required permissions to create books.', diff --git a/lang/ro/validation.php b/lang/ro/validation.php index 56a3e2e05..44fdd7ad8 100644 --- a/lang/ro/validation.php +++ b/lang/ro/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'Fişierul nu a putut fi încărcat. Serverul nu poate accepta fişiere de această dimensiune.', 'zip_file' => 'The :attribute needs to reference a file within the ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'The :attribute needs to reference a file of type :validTypes, found :foundType.', 'zip_model_expected' => 'Data object expected but ":type" found.', 'zip_unique' => 'The :attribute must be unique for the object type within the ZIP.', diff --git a/lang/ru/errors.php b/lang/ru/errors.php index e87c90936..82aecb657 100644 --- a/lang/ru/errors.php +++ b/lang/ru/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'Could not read ZIP file.', 'import_zip_cant_decode_data' => 'Could not find and decode ZIP data.json content.', 'import_zip_no_data' => 'ZIP file data has no expected book, chapter or page content.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'Import ZIP failed to validate with errors:', 'import_zip_failed_notification' => 'Failed to import ZIP file.', 'import_perms_books' => 'У вас недостаточно прав для создания книг.', diff --git a/lang/ru/validation.php b/lang/ru/validation.php index 156a05fe6..ce94faa3b 100644 --- a/lang/ru/validation.php +++ b/lang/ru/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'Не удалось загрузить файл. Сервер не может принимать файлы такого размера.', 'zip_file' => 'The :attribute needs to reference a file within the ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'The :attribute needs to reference a file of type :validTypes, found :foundType.', 'zip_model_expected' => 'Data object expected but ":type" found.', 'zip_unique' => 'The :attribute must be unique for the object type within the ZIP.', diff --git a/lang/sk/errors.php b/lang/sk/errors.php index 143259f3a..30609b201 100644 --- a/lang/sk/errors.php +++ b/lang/sk/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'Could not read ZIP file.', 'import_zip_cant_decode_data' => 'Could not find and decode ZIP data.json content.', 'import_zip_no_data' => 'ZIP file data has no expected book, chapter or page content.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'Import ZIP failed to validate with errors:', 'import_zip_failed_notification' => 'Failed to import ZIP file.', 'import_perms_books' => 'You are lacking the required permissions to create books.', diff --git a/lang/sk/validation.php b/lang/sk/validation.php index 415f7cf05..60063752b 100644 --- a/lang/sk/validation.php +++ b/lang/sk/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'Súbor sa nepodarilo nahrať. Server nemusí akceptovať súbory tejto veľkosti.', 'zip_file' => 'The :attribute needs to reference a file within the ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'The :attribute needs to reference a file of type :validTypes, found :foundType.', 'zip_model_expected' => 'Data object expected but ":type" found.', 'zip_unique' => 'The :attribute must be unique for the object type within the ZIP.', diff --git a/lang/sl/errors.php b/lang/sl/errors.php index da80fd391..cb3db2747 100644 --- a/lang/sl/errors.php +++ b/lang/sl/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'Could not read ZIP file.', 'import_zip_cant_decode_data' => 'Could not find and decode ZIP data.json content.', 'import_zip_no_data' => 'ZIP file data has no expected book, chapter or page content.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'Import ZIP failed to validate with errors:', 'import_zip_failed_notification' => 'Failed to import ZIP file.', 'import_perms_books' => 'You are lacking the required permissions to create books.', diff --git a/lang/sl/validation.php b/lang/sl/validation.php index 0d9b56c10..84ad6ca45 100644 --- a/lang/sl/validation.php +++ b/lang/sl/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'Datoteke ni bilo mogoče naložiti. Strežnik morda ne sprejema datotek te velikosti.', 'zip_file' => 'The :attribute needs to reference a file within the ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'The :attribute needs to reference a file of type :validTypes, found :foundType.', 'zip_model_expected' => 'Data object expected but ":type" found.', 'zip_unique' => 'The :attribute must be unique for the object type within the ZIP.', diff --git a/lang/sq/errors.php b/lang/sq/errors.php index 9d7383796..77d7ee69e 100644 --- a/lang/sq/errors.php +++ b/lang/sq/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'Could not read ZIP file.', 'import_zip_cant_decode_data' => 'Could not find and decode ZIP data.json content.', 'import_zip_no_data' => 'ZIP file data has no expected book, chapter or page content.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'Import ZIP failed to validate with errors:', 'import_zip_failed_notification' => 'Failed to import ZIP file.', 'import_perms_books' => 'You are lacking the required permissions to create books.', diff --git a/lang/sq/validation.php b/lang/sq/validation.php index d9b982d1e..ff028525d 100644 --- a/lang/sq/validation.php +++ b/lang/sq/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'The file could not be uploaded. The server may not accept files of this size.', 'zip_file' => 'The :attribute needs to reference a file within the ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'The :attribute needs to reference a file of type :validTypes, found :foundType.', 'zip_model_expected' => 'Data object expected but ":type" found.', 'zip_unique' => 'The :attribute must be unique for the object type within the ZIP.', diff --git a/lang/sr/errors.php b/lang/sr/errors.php index ee8443461..f28fc01a9 100644 --- a/lang/sr/errors.php +++ b/lang/sr/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'Could not read ZIP file.', 'import_zip_cant_decode_data' => 'Could not find and decode ZIP data.json content.', 'import_zip_no_data' => 'ZIP file data has no expected book, chapter or page content.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'Import ZIP failed to validate with errors:', 'import_zip_failed_notification' => 'Failed to import ZIP file.', 'import_perms_books' => 'You are lacking the required permissions to create books.', diff --git a/lang/sr/validation.php b/lang/sr/validation.php index a2a617633..6770c5a80 100644 --- a/lang/sr/validation.php +++ b/lang/sr/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'The file could not be uploaded. The server may not accept files of this size.', 'zip_file' => 'The :attribute needs to reference a file within the ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'The :attribute needs to reference a file of type :validTypes, found :foundType.', 'zip_model_expected' => 'Data object expected but ":type" found.', 'zip_unique' => 'The :attribute must be unique for the object type within the ZIP.', diff --git a/lang/sv/errors.php b/lang/sv/errors.php index 4505dfa0b..3a5478977 100644 --- a/lang/sv/errors.php +++ b/lang/sv/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'Kunde inte läsa ZIP-filen.', 'import_zip_cant_decode_data' => 'Kunde inte hitta och avkoda ZIP data.json innehåll.', 'import_zip_no_data' => 'ZIP file data has no expected book, chapter or page content.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'ZIP-filen kunde inte valideras med fel:', 'import_zip_failed_notification' => 'Det gick inte att importera ZIP-fil.', 'import_perms_books' => 'Du saknar behörighet att skapa böcker.', diff --git a/lang/sv/validation.php b/lang/sv/validation.php index 4cc98c575..b0c1f7a1b 100644 --- a/lang/sv/validation.php +++ b/lang/sv/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'Filen kunde inte laddas upp. Servern kanske inte tillåter filer med denna storlek.', 'zip_file' => 'The :attribute needs to reference a file within the ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'The :attribute needs to reference a file of type :validTypes, found :foundType.', 'zip_model_expected' => 'Data object expected but ":type" found.', 'zip_unique' => 'The :attribute must be unique for the object type within the ZIP.', diff --git a/lang/tk/errors.php b/lang/tk/errors.php index 9d7383796..77d7ee69e 100644 --- a/lang/tk/errors.php +++ b/lang/tk/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'Could not read ZIP file.', 'import_zip_cant_decode_data' => 'Could not find and decode ZIP data.json content.', 'import_zip_no_data' => 'ZIP file data has no expected book, chapter or page content.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'Import ZIP failed to validate with errors:', 'import_zip_failed_notification' => 'Failed to import ZIP file.', 'import_perms_books' => 'You are lacking the required permissions to create books.', diff --git a/lang/tk/validation.php b/lang/tk/validation.php index d9b982d1e..ff028525d 100644 --- a/lang/tk/validation.php +++ b/lang/tk/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'The file could not be uploaded. The server may not accept files of this size.', 'zip_file' => 'The :attribute needs to reference a file within the ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'The :attribute needs to reference a file of type :validTypes, found :foundType.', 'zip_model_expected' => 'Data object expected but ":type" found.', 'zip_unique' => 'The :attribute must be unique for the object type within the ZIP.', diff --git a/lang/tr/errors.php b/lang/tr/errors.php index fd7426871..259cc4b1c 100644 --- a/lang/tr/errors.php +++ b/lang/tr/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'Could not read ZIP file.', 'import_zip_cant_decode_data' => 'Could not find and decode ZIP data.json content.', 'import_zip_no_data' => 'ZIP file data has no expected book, chapter or page content.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'Import ZIP failed to validate with errors:', 'import_zip_failed_notification' => 'Failed to import ZIP file.', 'import_perms_books' => 'You are lacking the required permissions to create books.', diff --git a/lang/tr/validation.php b/lang/tr/validation.php index 9dbfadd6b..5916f4543 100644 --- a/lang/tr/validation.php +++ b/lang/tr/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'Dosya yüklemesi başarısız oldu. Sunucu, bu boyuttaki dosyaları kabul etmiyor olabilir.', 'zip_file' => 'The :attribute needs to reference a file within the ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'The :attribute needs to reference a file of type :validTypes, found :foundType.', 'zip_model_expected' => 'Data object expected but ":type" found.', 'zip_unique' => 'The :attribute must be unique for the object type within the ZIP.', diff --git a/lang/uk/errors.php b/lang/uk/errors.php index eed61e8a0..40c0d9014 100644 --- a/lang/uk/errors.php +++ b/lang/uk/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'Не вдалося прочитати ZIP-файл.', 'import_zip_cant_decode_data' => 'Не вдалося знайти і розшифрувати контент ZIP data.json.', 'import_zip_no_data' => 'ZIP-файл не містить очікуваної книги, глави або вмісту сторінки.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'Не вдалося виконати перевірку ZIP-адреси із помилками:', 'import_zip_failed_notification' => 'Не вдалося імпортувати ZIP-файл.', 'import_perms_books' => 'У Вас не вистачає необхідних прав для створення книг.', diff --git a/lang/uk/validation.php b/lang/uk/validation.php index 6161aba67..79aa50702 100644 --- a/lang/uk/validation.php +++ b/lang/uk/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'Не вдалося завантажити файл. Сервер може не приймати файли такого розміру.', 'zip_file' => 'Поле :attribute повинне вказувати файл в ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'Поле :attribute повинне посилатись на файл типу :validtypes, знайдений :foundType.', 'zip_model_expected' => 'Очікувався об’єкт даних, але знайдено ":type".', 'zip_unique' => 'Поле :attribute має бути унікальним для типу об\'єкта в ZIP.', diff --git a/lang/uz/errors.php b/lang/uz/errors.php index a0d86c441..052b29adf 100644 --- a/lang/uz/errors.php +++ b/lang/uz/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'Could not read ZIP file.', 'import_zip_cant_decode_data' => 'Could not find and decode ZIP data.json content.', 'import_zip_no_data' => 'ZIP file data has no expected book, chapter or page content.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'Import ZIP failed to validate with errors:', 'import_zip_failed_notification' => 'Failed to import ZIP file.', 'import_perms_books' => 'You are lacking the required permissions to create books.', diff --git a/lang/uz/validation.php b/lang/uz/validation.php index d9d0fa0b2..600195587 100644 --- a/lang/uz/validation.php +++ b/lang/uz/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'Faylni yuklashda xatolik. Server bunday hajmdagi faylllarni yuklamasligi mumkin.', 'zip_file' => 'The :attribute needs to reference a file within the ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => 'The :attribute needs to reference a file of type :validTypes, found :foundType.', 'zip_model_expected' => 'Data object expected but ":type" found.', 'zip_unique' => 'The :attribute must be unique for the object type within the ZIP.', diff --git a/lang/vi/errors.php b/lang/vi/errors.php index bae87dc38..d422b716a 100644 --- a/lang/vi/errors.php +++ b/lang/vi/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => 'Không thể đọc tệp ZIP.', 'import_zip_cant_decode_data' => 'Không thể tìm và giải mã nội dung ZIP data.json.', 'import_zip_no_data' => 'Dữ liệu tệp ZIP không có nội dung sách, chương hoặc trang mong đợi.', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => 'Nhập tệp ZIP không hợp lệ với các lỗi:', 'import_zip_failed_notification' => 'Không thể nhập tệp ZIP.', 'import_perms_books' => 'Bạn không có quyền cần thiết để tạo sách.', diff --git a/lang/vi/validation.php b/lang/vi/validation.php index bc6fc0e39..d7d9a9de7 100644 --- a/lang/vi/validation.php +++ b/lang/vi/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => 'Tệp tin đã không được tải lên. Máy chủ không chấp nhận các tệp tin với dung lượng lớn như tệp tin trên.', 'zip_file' => ':attribute cần tham chiếu đến một tệp trong ZIP.', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => ':attribute cần tham chiếu đến một tệp có kiểu: :validTypes, tìm thấy :foundType.', 'zip_model_expected' => 'Đối tượng dữ liệu được mong đợi nhưng tìm thấy ":type".', 'zip_unique' => ':attribute phải là duy nhất cho kiểu đối tượng trong ZIP.', diff --git a/lang/zh_CN/errors.php b/lang/zh_CN/errors.php index 37ef86af5..828e7c102 100644 --- a/lang/zh_CN/errors.php +++ b/lang/zh_CN/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => '无法读取 ZIP 文件。', 'import_zip_cant_decode_data' => '无法找到并解码 ZIP data.json 内容。', 'import_zip_no_data' => 'ZIP 文件数据没有预期的书籍、章节或页面内容。', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => '导入 ZIP 验证失败,出现错误:', 'import_zip_failed_notification' => 'ZIP 文件导入失败。', 'import_perms_books' => '您缺少创建书籍所需的权限。', diff --git a/lang/zh_CN/validation.php b/lang/zh_CN/validation.php index 1a576e6bc..748c8f567 100644 --- a/lang/zh_CN/validation.php +++ b/lang/zh_CN/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => '无法上传文件。 服务器可能不接受此大小的文件。', 'zip_file' => ':attribute 需要引用 ZIP 内的文件。', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => ':attribute 需要引用类型为 :validTypes 的文件,找到 :foundType 。', 'zip_model_expected' => '预期的数据对象,但找到了 ":type" 。', 'zip_unique' => '对于 ZIP 中的对象类型来说,:attribute 必须是唯一的。', diff --git a/lang/zh_TW/errors.php b/lang/zh_TW/errors.php index d4239ed6c..e6ef7e020 100644 --- a/lang/zh_TW/errors.php +++ b/lang/zh_TW/errors.php @@ -109,6 +109,7 @@ return [ 'import_zip_cant_read' => '無法讀取 ZIP 檔案。', 'import_zip_cant_decode_data' => '無法尋找並解碼 ZIP data.json 內容。', 'import_zip_no_data' => 'ZIP 檔案資料沒有預期的書本、章節或頁面內容。', + 'import_zip_data_too_large' => 'ZIP data.json content exceeds the configured application maximum upload size.', 'import_validation_failed' => '匯入 ZIP 驗證失敗,發生錯誤:', 'import_zip_failed_notification' => '匯入 ZIP 檔案失敗。', 'import_perms_books' => '您缺乏建立書本所需的權限。', diff --git a/lang/zh_TW/validation.php b/lang/zh_TW/validation.php index 300314707..e6004c59d 100644 --- a/lang/zh_TW/validation.php +++ b/lang/zh_TW/validation.php @@ -106,6 +106,7 @@ return [ 'uploaded' => '無法上傳文檔案, 伺服器可能不接受此大小的檔案。', 'zip_file' => ':attribute 需要參照 ZIP 中的檔案。', + 'zip_file_size' => 'The file :attribute must not exceed :size MB.', 'zip_file_mime' => ':attribute 需要參照類型為 :validTypes 的檔案,找到 :foundType。', 'zip_model_expected' => '預期為資料物件,但找到「:type」。', 'zip_unique' => '對於 ZIP 中的物件類型,:attribute 必須是唯一的。', From 07ec880e3385221f99f3f1428fe5d8488887ff8d Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Tue, 30 Dec 2025 17:09:26 +0000 Subject: [PATCH 5/5] Testing: Updated search tests to consider new limits --- tests/Search/SearchOptionsTest.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tests/Search/SearchOptionsTest.php b/tests/Search/SearchOptionsTest.php index 4b0fa0f3a..ffd209935 100644 --- a/tests/Search/SearchOptionsTest.php +++ b/tests/Search/SearchOptionsTest.php @@ -35,9 +35,14 @@ class SearchOptionsTest extends TestCase public function test_from_string_properly_parses_escaped_quotes() { - $options = SearchOptions::fromString('"\"cat\"" surprise "\"\"" "\"donkey" "\"" "\\\\"'); + $options = SearchOptions::fromString('"\"cat\"" surprise'); + $this->assertEquals(['"cat"'], $options->exacts->toValueArray()); - $this->assertEquals(['"cat"', '""', '"donkey', '"', '\\'], $options->exacts->toValueArray()); + $options = SearchOptions::fromString('"\"\"" "\"donkey"'); + $this->assertEquals(['""', '"donkey'], $options->exacts->toValueArray()); + + $options = SearchOptions::fromString('"\"" "\\\\"'); + $this->assertEquals(['"', '\\'], $options->exacts->toValueArray()); } public function test_to_string_includes_all_items_in_the_correct_format() @@ -104,6 +109,7 @@ class SearchOptionsTest extends TestCase public function test_from_request_properly_parses_exacts_from_search_terms() { + $this->asEditor(); $request = new Request([ 'search' => 'biscuits "cheese" "" "baked beans"' ]);