API Removed ErrorPage

Removed ErrorPage class and references so it can be split off in to a separate module. Please install https://github.com/silverstripe/silverstripe-errorpage when upgrading to SS4 to preserve ErrorPage functionality. Closes https://github.com/silverstripe/silverstripe-framework/issues/4149
This commit is contained in:
Jonathon Menz 2017-06-12 15:28:56 -07:00
parent 1afd2c4c51
commit 77ec2b90c6
73 changed files with 10 additions and 1764 deletions

View File

@ -19,8 +19,8 @@ mappings:
CMSSiteTreeFilter_StatusDeletedPages: SilverStripe\CMS\Controllers\CMSSiteTreeFilter_StatusDeletedPages
CMSSiteTreeFilter_Search: SilverStripe\CMS\Controllers\CMSSiteTreeFilter_Search
ContentController: SilverStripe\CMS\Controllers\ContentController
ErrorPageControllerExtension: SilverStripe\CMS\Controllers\ErrorPageControllerExtension
ErrorPageFileExtension: SilverStripe\CMS\Controllers\ErrorPageFileExtension
ErrorPageControllerExtension: SilverStripe\ErrorPage\ErrorPageControllerExtension
ErrorPageFileExtension: SilverStripe\ErrorPage\ErrorPageFileExtension
LeftAndMainPageIconsExtension: SilverStripe\CMS\Controllers\LeftAndMainPageIconsExtension
ModelAsController: SilverStripe\CMS\Controllers\ModelAsController
OldPageRedirector: SilverStripe\CMS\Controllers\OldPageRedirector
@ -34,8 +34,8 @@ mappings:
SiteTreeURLSegmentField: SilverStripe\CMS\Forms\SiteTreeURLSegmentField
SiteTreeURLSegmentField_Readonly: SilverStripe\CMS\Forms\SiteTreeURLSegmentField_Readonly
CurrentPageIdentifier: SilverStripe\CMS\Model\CurrentPageIdentifier
ErrorPage: SilverStripe\CMS\Model\ErrorPage
ErrorPage_Controller: SilverStripe\CMS\Model\ErrorPageController
ErrorPage: SilverStripe\ErrorPage\ErrorPage
ErrorPage_Controller: SilverStripe\ErrorPage\ErrorPageController
RedirectorPage: SilverStripe\CMS\Model\RedirectorPage
RedirectorPage_Controller: SilverStripe\CMS\Model\RedirectorPageController
SiteTree: SilverStripe\CMS\Model\SiteTree

View File

@ -1,8 +0,0 @@
---
Name: cms-logging
After:
- '#loggingformatters'
---
SilverStripe\Core\Injector\Injector:
Monolog\Formatter\FormatterInterface.friendly:
class: SilverStripe\CMS\Logging\ErrorPageErrorFormatter

View File

@ -4,15 +4,8 @@ Name: cmsextensions
SilverStripe\Admin\LeftAndMain:
extensions:
- SilverStripe\CMS\Controllers\LeftAndMainPageIconsExtension
SilverStripe\Control\Controller:
extensions:
- SilverStripe\CMS\Controllers\ErrorPageControllerExtension
SilverStripe\Forms\Form:
extensions:
- SilverStripe\CMS\Controllers\ErrorPageControllerExtension
SilverStripe\Assets\File:
extensions:
- SilverStripe\CMS\Controllers\ErrorPageFileExtension
- SilverStripe\CMS\Model\SiteTreeFileExtension
---
Name: cmsmodals

View File

@ -6,4 +6,3 @@ SilverStripe\ORM\DatabaseAdmin:
SiteTree: 'SilverStripe\CMS\Model\SiteTree'
RedirectorPage: SilverStripe\CMS\Model\RedirectorPage
VirtualPage: SilverStripe\CMS\Model\VirtualPage
ErrorPage: SilverStripe\CMS\Model\ErrorPage

View File

@ -1,34 +0,0 @@
<?php
namespace SilverStripe\CMS\Controllers;
use SilverStripe\CMS\Model\ErrorPage;
use SilverStripe\Control\Director;
use SilverStripe\Control\HTTPRequest;
use SilverStripe\Control\HTTPResponse_Exception;
use SilverStripe\Core\Extension;
/**
* Enhances error handling for a controller with ErrorPage generated output
*/
class ErrorPageControllerExtension extends Extension
{
/**
* Used by {@see RequestHandler::httpError}
*
* @param int $statusCode
* @param HTTPRequest $request
* @throws HTTPResponse_Exception
*/
public function onBeforeHTTPError($statusCode, $request)
{
if (Director::is_ajax()) {
return;
}
$response = ErrorPage::response_for($statusCode);
if ($response) {
throw new HTTPResponse_Exception($response, $statusCode);
}
}
}

View File

@ -1,25 +0,0 @@
<?php
namespace SilverStripe\CMS\Controllers;
use SilverStripe\ORM\DataExtension;
use SilverStripe\ORM\DataObject;
use SilverStripe\CMS\Model\ErrorPage;
/**
* Decorates {@see File} with ErrorPage support
*/
class ErrorPageFileExtension extends DataExtension
{
/**
* Used by {@see File::handle_shortcode}
*
* @param int $statusCode HTTP Error code
* @return DataObject Substitute object suitable for handling the given error code
*/
public function getErrorRecordFor($statusCode)
{
return ErrorPage::get()->filter("ErrorCode", $statusCode)->first();
}
}

View File

@ -1,31 +0,0 @@
<?php
namespace SilverStripe\CMS\Logging;
use SilverStripe\CMS\Model\ErrorPage;
use SilverStripe\Control\Director;
use SilverStripe\Logging\DebugViewFriendlyErrorFormatter;
/**
* Provides {@see ErrorPage}-gnostic error handling
*/
class ErrorPageErrorFormatter extends DebugViewFriendlyErrorFormatter
{
public function output($statusCode)
{
// Ajax content is plain-text only
if (Director::is_ajax()) {
return $this->getTitle();
}
// Determine if cached ErrorPage content is available
$content = ErrorPage::get_content_for_errorcode($statusCode);
if ($content) {
return $content;
}
// Fallback to default output
return parent::output($statusCode);
}
}

View File

@ -1,400 +0,0 @@
<?php
namespace SilverStripe\CMS\Model;
use Page;
use SilverStripe\Assets\File;
use SilverStripe\Assets\Storage\GeneratedAssetHandler;
use SilverStripe\CMS\Controllers\ModelAsController;
use SilverStripe\Control\Controller;
use SilverStripe\Control\Director;
use SilverStripe\Control\HTTPRequest;
use SilverStripe\Control\HTTPResponse;
use SilverStripe\Core\Config\Config;
use SilverStripe\Core\Injector\Injector;
use SilverStripe\Dev\Debug;
use SilverStripe\Forms\DropdownField;
use SilverStripe\Forms\FieldList;
use SilverStripe\ORM\DB;
use SilverStripe\Versioned\Versioned;
use SilverStripe\View\Requirements;
use SilverStripe\View\SSViewer;
/**
* ErrorPage holds the content for the page of an error response.
* Renders the page on each publish action into a static HTML file
* within the assets directory, after the naming convention
* /assets/error-<statuscode>.html.
* This enables us to show errors even if PHP experiences a recoverable error.
* ErrorPages
*
* @see Debug::friendlyError()
*
* @property int $ErrorCode HTTP Error code
*/
class ErrorPage extends Page
{
private static $db = array(
"ErrorCode" => "Int",
);
private static $defaults = array(
"ShowInMenus" => 0,
"ShowInSearch" => 0
);
private static $table_name = 'ErrorPage';
private static $allowed_children = array();
private static $description = 'Custom content for different error cases (e.g. "Page not found")';
/**
* Allows control over writing directly to the configured `GeneratedAssetStore`.
*
* @config
* @var bool
*/
private static $enable_static_file = true;
/**
* Prefix for storing error files in the {@see GeneratedAssetHandler} store.
* Defaults to empty (top level directory)
*
* @config
* @var string
*/
private static $store_filepath = null;
/**
* @param $member
*
* @return boolean
*/
public function canAddChildren($member = null)
{
return false;
}
/**
* Get a {@link HTTPResponse} to response to a HTTP error code if an
* {@link ErrorPage} for that code is present. First tries to serve it
* through the standard SilverStripe request method. Falls back to a static
* file generated when the user hit's save and publish in the CMS
*
* @param int $statusCode
* @return HTTPResponse
*/
public static function response_for($statusCode)
{
// first attempt to dynamically generate the error page
/** @var ErrorPage $errorPage */
$errorPage = ErrorPage::get()
->filter(array(
"ErrorCode" => $statusCode
))->first();
if ($errorPage) {
Requirements::clear();
Requirements::clear_combined_files();
$request = new HTTPRequest('GET', '');
$request->setSession(Controller::curr()->getRequest()->getSession());
return ModelAsController::controller_for($errorPage)
->handleRequest($request);
}
// then fall back on a cached version
$content = self::get_content_for_errorcode($statusCode);
if ($content) {
$response = new HTTPResponse();
$response->setStatusCode($statusCode);
$response->setBody($content);
return $response;
}
return null;
}
/**
* Ensures that there is always a 404 page by checking if there's an
* instance of ErrorPage with a 404 and 500 error code. If there is not,
* one is created when the DB is built.
*/
public function requireDefaultRecords()
{
parent::requireDefaultRecords();
// Only run on ErrorPage class directly, not subclasses
if (static::class !== self::class || !SiteTree::config()->create_default_pages) {
return;
}
$defaultPages = $this->getDefaultRecords();
foreach ($defaultPages as $defaultData) {
$this->requireDefaultRecordFixture($defaultData);
}
}
/**
* Build default record from specification fixture
*
* @param array $defaultData
*/
protected function requireDefaultRecordFixture($defaultData)
{
$code = $defaultData['ErrorCode'];
$page = ErrorPage::get()->filter('ErrorCode', $code)->first();
$pageExists = !empty($page);
if (!$pageExists) {
$page = new ErrorPage($defaultData);
$page->write();
$page->copyVersionToStage(Versioned::DRAFT, Versioned::LIVE);
}
// Check if static files are enabled
if (!self::config()->enable_static_file) {
return;
}
// Ensure this page has cached error content
$success = true;
if (!$page->hasStaticPage()) {
// Update static content
$success = $page->writeStaticPage();
} elseif ($pageExists) {
// If page exists and already has content, no alteration_message is displayed
return;
}
if ($success) {
DB::alteration_message(
sprintf('%s error page created', $code),
'created'
);
} else {
DB::alteration_message(
sprintf('%s error page could not be created. Please check permissions', $code),
'error'
);
}
}
/**
* Returns an array of arrays, each of which defines properties for a new
* ErrorPage record.
*
* @return array
*/
protected function getDefaultRecords()
{
$data = array(
array(
'ErrorCode' => 404,
'Title' => _t('SilverStripe\\CMS\\Model\\ErrorPage.DEFAULTERRORPAGETITLE', 'Page not found'),
'Content' => _t(
'SilverStripe\\CMS\\Model\\ErrorPage.DEFAULTERRORPAGECONTENT',
'<p>Sorry, it seems you were trying to access a page that doesn\'t exist.</p>'
. '<p>Please check the spelling of the URL you were trying to access and try again.</p>'
)
),
array(
'ErrorCode' => 500,
'Title' => _t('SilverStripe\\CMS\\Model\\ErrorPage.DEFAULTSERVERERRORPAGETITLE', 'Server error'),
'Content' => _t(
'SilverStripe\\CMS\\Model\\ErrorPage.DEFAULTSERVERERRORPAGECONTENT',
'<p>Sorry, there was a problem with handling your request.</p>'
)
)
);
$this->extend('getDefaultRecords', $data);
return $data;
}
/**
* @return FieldList
*/
public function getCMSFields()
{
$this->beforeUpdateCMSFields(function (FieldList $fields) {
$fields->addFieldToTab(
'Root.Main',
new DropdownField(
'ErrorCode',
$this->fieldLabel('ErrorCode'),
$this->getCodes(),
'Content'
)
);
});
return parent::getCMSFields();
}
/**
* When an error page is published, create a static HTML page with its
* content, so the page can be shown even when SilverStripe is not
* functioning correctly before publishing this page normally.
*
* @return bool True if published
*/
public function publishSingle()
{
if (!parent::publishSingle()) {
return false;
}
return $this->writeStaticPage();
}
/**
* Determine if static content is cached for this page
*
* @return bool
*/
protected function hasStaticPage()
{
if (!self::config()->enable_static_file) {
return false;
}
// Attempt to retrieve content from generated file handler
$filename = $this->getErrorFilename();
$storeFilename = File::join_paths(self::config()->store_filepath, $filename);
$result = self::get_asset_handler()->getContent($storeFilename);
return !empty($result);
}
/**
* Write out the published version of the page to the filesystem
*
* @return true if the page write was successful
*/
public function writeStaticPage()
{
if (!self::config()->enable_static_file) {
return false;
}
// Run the page (reset the theme, it might've been disabled by LeftAndMain::init())
Config::nest();
SSViewer::config()->set('theme_enabled', true);
$response = Director::test(Director::makeRelative($this->Link()));
Config::unnest();
$errorContent = $response->getBody();
// Store file content in the default store
$storeFilename = File::join_paths(
self::config()->store_filepath,
$this->getErrorFilename()
);
self::get_asset_handler()->setContent($storeFilename, $errorContent);
// Success
return true;
}
/**
* @param boolean $includerelations a boolean value to indicate if the labels returned include relation fields
*
* @return array
*/
public function fieldLabels($includerelations = true)
{
$labels = parent::fieldLabels($includerelations);
$labels['ErrorCode'] = _t('SilverStripe\\CMS\\Model\\ErrorPage.CODE', "Error code");
return $labels;
}
/**
* Returns statically cached content for a given error code
*
* @param int $statusCode A HTTP Statuscode, typically 404 or 500
* @return string|null
*/
public static function get_content_for_errorcode($statusCode)
{
if (!self::config()->enable_static_file) {
return null;
}
// Attempt to retrieve content from generated file handler
$filename = self::get_error_filename($statusCode);
$storeFilename = File::join_paths(
self::config()->store_filepath,
$filename
);
return self::get_asset_handler()->getContent($storeFilename);
}
protected function getCodes()
{
return [
400 => _t('SilverStripe\\CMS\\Model\\ErrorPage.CODE_400', '400 - Bad Request'),
401 => _t('SilverStripe\\CMS\\Model\\ErrorPage.CODE_401', '401 - Unauthorized'),
403 => _t('SilverStripe\\CMS\\Model\\ErrorPage.CODE_403', '403 - Forbidden'),
404 => _t('SilverStripe\\CMS\\Model\\ErrorPage.CODE_404', '404 - Not Found'),
405 => _t('SilverStripe\\CMS\\Model\\ErrorPage.CODE_405', '405 - Method Not Allowed'),
406 => _t('SilverStripe\\CMS\\Model\\ErrorPage.CODE_406', '406 - Not Acceptable'),
407 => _t('SilverStripe\\CMS\\Model\\ErrorPage.CODE_407', '407 - Proxy Authentication Required'),
408 => _t('SilverStripe\\CMS\\Model\\ErrorPage.CODE_408', '408 - Request Timeout'),
409 => _t('SilverStripe\\CMS\\Model\\ErrorPage.CODE_409', '409 - Conflict'),
410 => _t('SilverStripe\\CMS\\Model\\ErrorPage.CODE_410', '410 - Gone'),
411 => _t('SilverStripe\\CMS\\Model\\ErrorPage.CODE_411', '411 - Length Required'),
412 => _t('SilverStripe\\CMS\\Model\\ErrorPage.CODE_412', '412 - Precondition Failed'),
413 => _t('SilverStripe\\CMS\\Model\\ErrorPage.CODE_413', '413 - Request Entity Too Large'),
414 => _t('SilverStripe\\CMS\\Model\\ErrorPage.CODE_414', '414 - Request-URI Too Long'),
415 => _t('SilverStripe\\CMS\\Model\\ErrorPage.CODE_415', '415 - Unsupported Media Type'),
416 => _t('SilverStripe\\CMS\\Model\\ErrorPage.CODE_416', '416 - Request Range Not Satisfiable'),
417 => _t('SilverStripe\\CMS\\Model\\ErrorPage.CODE_417', '417 - Expectation Failed'),
422 => _t('SilverStripe\\CMS\\Model\\ErrorPage.CODE_422', '422 - Unprocessable Entity'),
429 => _t('SilverStripe\\CMS\\Model\\ErrorPage.CODE_429', '429 - Too Many Requests'),
500 => _t('SilverStripe\\CMS\\Model\\ErrorPage.CODE_500', '500 - Internal Server Error'),
501 => _t('SilverStripe\\CMS\\Model\\ErrorPage.CODE_501', '501 - Not Implemented'),
502 => _t('SilverStripe\\CMS\\Model\\ErrorPage.CODE_502', '502 - Bad Gateway'),
503 => _t('SilverStripe\\CMS\\Model\\ErrorPage.CODE_503', '503 - Service Unavailable'),
504 => _t('SilverStripe\\CMS\\Model\\ErrorPage.CODE_504', '504 - Gateway Timeout'),
505 => _t('SilverStripe\\CMS\\Model\\ErrorPage.CODE_505', '505 - HTTP Version Not Supported'),
];
}
/**
* Gets the filename identifier for the given error code.
* Used when handling responses under error conditions.
*
* @param int $statusCode A HTTP Statuscode, typically 404 or 500
* @param ErrorPage $instance Optional instance to use for name generation
* @return string
*/
protected static function get_error_filename($statusCode, $instance = null)
{
if (!$instance) {
$instance = ErrorPage::singleton();
}
// Allow modules to extend this filename (e.g. for multi-domain, translatable)
$name = "error-{$statusCode}.html";
$instance->extend('updateErrorFilename', $name, $statusCode);
return $name;
}
/**
* Get filename identifier for this record.
* Used for generating the filename for the current record.
*
* @return string
*/
protected function getErrorFilename()
{
return self::get_error_filename($this->ErrorCode, $this);
}
/**
* @return GeneratedAssetHandler
*/
protected static function get_asset_handler()
{
return Injector::inst()->get(GeneratedAssetHandler::class);
}
}

View File

@ -1,30 +0,0 @@
<?php
namespace SilverStripe\CMS\Model;
use PageController;
use SilverStripe\Control\HTTPRequest;
use SilverStripe\Control\HTTPResponse;
/**
* Controller for ErrorPages.
*/
class ErrorPageController extends PageController
{
/**
* Overload the provided {@link Controller::handleRequest()} to append the
* correct status code post request since otherwise permission related error
* pages such as 401 and 403 pages won't be rendered due to
* {@link HTTPResponse::isFinished() ignoring the response body.
*
* @param HTTPRequest $request
* @return HTTPResponse
*/
public function handleRequest(HTTPRequest $request)
{
/** @var ErrorPage $page */
$page = $this->data();
$response = parent::handleRequest($request);
$response->setStatusCode($page->ErrorCode);
return $response;
}
}

View File

@ -1304,7 +1304,6 @@ class SiteTree extends DataObject implements PermissionProvider, i18nEntityProvi
}
if (Permission::check('CMS_ACCESS_CMSMain')
&& !$this instanceof ErrorPage
&& $this->ID > 0
) {
$tags[] = HTML::createTag('meta', array(

View File

@ -4,11 +4,6 @@ af:
PUBALLCONFIRM: 'Publiseer asseblief elke bladsy in die werf en kopieër inhoud fase na lewendig'
SilverStripe\CMS\Controllers\CMSPagesController:
MENUTITLE: CMSPagesController
SilverStripe\CMS\Model\ErrorPage:
- '501 - Nie Geimplementeer'
- '502 - Slegte Deurgang'
- '503 - Diens Nie Beskikbaar'
- '505 - HTTP Weergawe Nie Ondersteun'
SilverStripe\CMS\Model\SiteTree:
ACCESSANYONE: 'Enige iemand'
ACCESSHEADER: 'Wie mag hierdie bladsy sien?'

View File

@ -55,35 +55,6 @@ ar:
SilverStripe\CMS\Forms\SiteTreeURLSegmentField:
EMPTY: 'الرجاء إدخال مقطع URL أو انقر فوق إلغاء الأمر'
HelpChars: 'يتم تلقائيا تحويل الأحرف الخاصة أو إزالتها.'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'كود الخطأ'
CODE_400: '400 - طلب خاطئ'
CODE_401: '401 - غير مصرح'
CODE_403: '403 - ممنوع'
CODE_404: '404 - غير موجود'
CODE_405: '405 - الطريقة غير مسموح بها'
CODE_406: '406 - غير مقبول'
CODE_407: '407 - مطلوب الوثوقية من Proxy'
CODE_408: '408 - إنتهاء الوقت المحدد للطلب'
CODE_409: '409 - تعارض'
CODE_410: '410 - إنتهى'
CODE_411: '411 - طول الطلب'
CODE_412: '412 - فشل في الشرط المبدئي'
CODE_413: '413 - الطلب المدخل طويل جداً'
CODE_414: '414 - رابط الطلب طويل جداً'
CODE_415: '415 - ملف الوسائط غير مدعوم'
CODE_416: '416 - مدى الطلب غير متحقق'
CODE_417: '417 - توقع حدوث خطأ'
CODE_500: '500 - خطأ في الخادم الداخلي'
CODE_501: '501 - لم يتم التنفيذ'
CODE_502: '502 - بوابة خاطئة'
CODE_503: '503 - خدمة غير متوفرة'
CODE_504: '504 - انتهاء وقت البوابة'
CODE_505: '505 - إصدار HTTP غير مدعوم'
DEFAULTERRORPAGECONTENT: '<p>عذراً ، يبدو أنك تحاول الدخول إلى صفحة غير موجودة.</p><p>فضلاً تأكد من الرابط و أعد محاولة الدخول مرة أخرى.</p>'
DEFAULTERRORPAGETITLE: 'الصفحة غير موجودة'
DEFAULTSERVERERRORPAGECONTENT: '<p>عذرا، كانت هناك مشكلة في التعامل مع طلبك.</p>'
DEFAULTSERVERERRORPAGETITLE: 'خطأ في الملقم'
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: 'صفحة التحويل تم تهيئتها بدون تحديد وجهة التحويل'
HEADER: 'هذه الصفحة سوف تقوم بتحويل الأعضاء إلى صفحة أخرى'

View File

@ -9,9 +9,6 @@ ast:
MENUTITLE: Páxines
SilverStripe\CMS\Controllers\ContentController:
Password: Contraseña
SilverStripe\CMS\Model\ErrorPage:
DEFAULTERRORPAGETITLE: 'Páxina non alcontrada'
DEFAULTSERVERERRORPAGETITLE: 'Error del servidor'
SilverStripe\CMS\Model\SiteTree:
Content: Conteníu
HTMLEDITORTITLE: Conteníu

View File

@ -9,11 +9,6 @@ az:
NOTLOGGEDIN: 'Daxil olmayıb'
PUBLISHEDSITE: 'Dərc olunmuş sayt'
VIEWPAGEIN: 'Səhifəni göstər:'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Səhv kodu'
CODE_501: '501 - Implementasiya olunmayıb'
DEFAULTERRORPAGECONTENT: '<P> Üzr istəyirik, görünür siz mövcud olan səhifəyə giriş əldə etməyə cəhd edirdiniz. </p><p>Xahiş sizin giriş əldə etməyə və bir daha sınaqdan keçirməyə cəhd etdiyiniz URL-i yoxlayasınız </p>'
DEFAULTERRORPAGETITLE: 'Səhifə tapılmadı'
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: 'Yönləndirmə səhifəsinə yönlənmə istiqaməti verilməyib.'
HEADER: 'Bu səhifə istifadəçiləri başqa səhifəyə yönləndirəcək'

View File

@ -80,37 +80,6 @@ bg:
ARCHIVED: Архивирани
SilverStripe\CMS\Forms\SiteTreeURLSegmentField:
HelpChars: 'Специалните символи са автоматично конвертирани или изтрити.'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Грешка в кода'
CODE_400: '400 - Лошо Поискване'
CODE_401: '401 - Неауторизирано'
CODE_403: '403 - Забранено'
CODE_404: '404 - Не Намерено'
CODE_405: '405 - Не позволен Метод'
CODE_406: '406 - Не е допустимо'
CODE_407: '407 - Нужна е Proxy Автентификация'
CODE_408: '408 - Времето за искане изтече'
CODE_409: '409 - Конфликт'
CODE_410: '410 - Изчезнал'
CODE_411: '411 - Задължена е Дължина'
CODE_412: '412 - Предпоставката се провали'
CODE_413: '413 - Поисканото лице е прекалено дълго'
CODE_414: '414 - Поисканото-URI е прекалено дълго'
CODE_415: '415 - Неподдържан тип медия'
CODE_416: '416 - Поисканият обсег не е удоволетворен'
CODE_417: '417 - Очакването се провали'
CODE_422: '422 - Необработваеми данни'
CODE_429: '429 - Твърде много заявки'
CODE_500: '500 - Вътрешна грешка при сървъра'
CODE_501: '501 - Не реализирано'
CODE_502: '502 - Лош Gateway'
CODE_503: '503 - Услугата не е налична'
CODE_504: '504 - Gateway времето изтече'
CODE_505: '505 - HTTP Версия не се поддържа'
DEFAULTERRORPAGECONTENT: '<p>Опитвате се да отворите страница, която не съществува.</p><p>Проверете изписването на адреса и опитайте отново.</p>'
DEFAULTERRORPAGETITLE: 'Страницата не беше намерена'
DEFAULTSERVERERRORPAGECONTENT: '<p>Проблем при изпълнението на заявката.</p>'
DEFAULTSERVERERRORPAGETITLE: 'Сървърна грешка'
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: 'Създадена е страница за пренасочване без да има накъде да се пренасочи.'
HEADER: 'Тази страница ще пренасочи потребители към друга страница'

View File

@ -5,33 +5,6 @@ bs:
PUBALLCONFIRM: 'Molimo, objavite svaku stavku na ovoj stranici, kopiranjem sadržaja na aktivnu stranicu'
PUBALLFUN: 'Funkcija "Objavi sve"'
REMOVEDPAGEFROMDRAFT: 'Uklonjeno ''%s'' sa privremenog nacrta stranice'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Kod greške'
CODE_400: '400 - Pogrešan zahtjev'
CODE_401: '401 - Neovlašteno'
CODE_403: '403 - Zabranjeno'
CODE_404: '404 - Nije pronađeno'
CODE_405: '405 - Metoda nije dozvoljena'
CODE_406: '406 - NIje prihvatljivo'
CODE_407: '407 - Potrebna proxy ovjera'
CODE_408: '408 - Zahtjev zaustavljen'
CODE_409: '409 - Konflikt'
CODE_410: '410 - Nestalo'
CODE_411: '411 - Potrebna dužina'
CODE_412: '412 - Neuspjela pretpostavka'
CODE_413: '413 - Preveliki entitet zahtjeva'
CODE_414: '414 - Predug URI zahtjeva'
CODE_415: '415 - Tip medija nije podržan'
CODE_416: '416 - Opseg zahtjeva nije zadovoljavajući'
CODE_417: '417 - Neuspješno očekivanje'
CODE_500: '500 - INterna greška na serveru'
CODE_501: '501 - Nije realizirano'
CODE_502: '502 - Pogrešan gateway'
CODE_503: '503 - Nedostupan servis '
CODE_504: '504 - Gateway zaustavljen'
CODE_505: '505 - HTTP izdanje nije podržano'
DEFAULTERRORPAGECONTENT: '<p>Žao nam je, pokušali ste pristupiti stranici koja ne postoji.</p><p>Molimo provjerite da li ste ispravno ukucali URL kojem ste pokušali pristupiti i pokušajte ponovo.</p>'
DEFAULTERRORPAGETITLE: 'Stranica nije pronađena'
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: 'Stranica za preusmjeravanje je podešena bez odredišta.'
HEADER: 'Ova stranica će preusmjeriti korisnike na drugu stranicu'

View File

@ -4,33 +4,6 @@ ca:
PUBALLCONFIRM: 'Publica cada pàgina del lloc web, copiant el contingut cap a la versió publicada'
PUBALLFUN: 'Funcionalitat de "Publica-ho tot"'
REMOVEDPAGEFROMDRAFT: 'S''ha suprimit ''%s'' del lloc esborrany'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Codi d''error'
CODE_400: '400 - Mala petició'
CODE_401: '401 - Sense autorització'
CODE_403: '403 - Prohibit'
CODE_404: '404 - No s''ha trobat'
CODE_405: '405 - Mètode no permès'
CODE_406: '406 - No acceptable'
CODE_407: '407 - Autenticació de servidor intermediari requerida'
CODE_408: '408 - Temps excedit de la petició'
CODE_409: '409 - Conflicte'
CODE_410: '410 - Ja no hi és'
CODE_411: '411 - Longitud requerida'
CODE_412: '412 - Una precondició ha fallat'
CODE_413: '413 - Entitat de la petició massa gran'
CODE_414: '414 - Adreça de la petició massa llarga'
CODE_415: '415 - Tipus mèdia no suportat'
CODE_416: '416 - Rang de la petició no satisfactible'
CODE_417: '417 - Expectació ha fallat'
CODE_500: '500 - Error intern del servidor'
CODE_501: '501 - No implementat'
CODE_502: '502 - Pasarel·la errònia'
CODE_503: '503 - Servei no disponible'
CODE_504: '504 - Temps excedit de la pasarel·la'
CODE_505: '505 - Versió HTTP no suportada'
DEFAULTERRORPAGECONTENT: '<p>Sembla que intenteu accedir a una pàgina que no existeix.</p><p>Si us plau, reviseu com heu escrit la URL que intenteu accedir i proveu-ho de nou.</p>'
DEFAULTERRORPAGETITLE: 'Pàgina no trobada'
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: 'S''ha definit una pàgina redirectora sense cap lloc on redirigir.'
HEADER: 'Aquesta pàgina redirigirà usuaris a una altra pàgina'

View File

@ -73,15 +73,6 @@ cs:
SilverStripe\CMS\Forms\SiteTreeURLSegmentField:
EMPTY: 'Zadejte prosím URL segment nebo klikněte zrušit'
HelpChars: 'Zvláštní znaky jsou automaticky zkonvertovány nebo odstraněny'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Chybový kód'
DEFAULTERRORPAGECONTENT: '<p>Omlouváme se, zdá se, že jste se pokoušeli o přístup na stránku, která neexistuje.</p><p>Zkontrolujte prosím pravopis požadované URL adresy, ke které jste se pokoušeli přistoupit a zkuste to znovu.</p>'
DEFAULTERRORPAGETITLE: 'Stránka nenelazena'
DEFAULTSERVERERRORPAGECONTENT: '<p>Promiňte, nastal problém s obsloužením vaší žádosti.</p>'
DEFAULTSERVERERRORPAGETITLE: 'Chyba serveru'
DESCRIPTION: 'Vlastní obsah pro různé případy chyb (např. "Stránka nenalezena")'
PLURALNAME: 'Chybové stránky'
SINGULARNAME: 'Chybová stránka'
SilverStripe\CMS\Model\RedirectorPage:
DESCRIPTION: 'Přesměruje na interní stránku nebo na externí URL'
HASBEENSETUP: 'Přesměrovací stránka byla nastavena bez cíle.'

View File

@ -42,12 +42,6 @@ da:
VIEWPAGEIN: 'Vis side i:'
SilverStripe\CMS\Forms\SiteTreeURLSegmentField:
HelpChars: 'Specialkarakterer bliver automatisk konverteret eller fjernet.'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Fejlkode'
DEFAULTERRORPAGECONTENT: '<p>Det lader til at du har forsøgt at få vist en side som ikke findes</p><p>Undersøg venligst om URL''en er korrekt stavet og forsøg derefter igen.</p>'
DEFAULTERRORPAGETITLE: 'Siden blev ikke fundet'
DEFAULTSERVERERRORPAGECONTENT: '<p>Der opstod desværre et problem med at håndtere din forespørgsel.</p>'
DEFAULTSERVERERRORPAGETITLE: 'Serverfejl'
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: 'En omdirigeringsside er blevet sat op, uden et sted at omdirigere til.'
HEADER: 'Denne side omdirigerer besøgende til en anden side'

View File

@ -76,15 +76,6 @@ de:
SilverStripe\CMS\Forms\SiteTreeURLSegmentField:
EMPTY: 'Bitte geben Sie ein URL-Segment ein oder drücken Sie auf Abbrechen'
HelpChars: 'Sonderzeichen werden automatisch umgewandelt oder entfernt.'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Fehlercode'
DEFAULTERRORPAGECONTENT: '<p>Entschuldigung, möglicherweise versuchen Sie eine Seite zu erreichen die nicht existiert.</p><p>Bitte überprüfen Sie die Schreibweise der URL die Sie versucht haben zu erreichen und versuchen Sie es noch einmal.</p>'
DEFAULTERRORPAGETITLE: 'Seite nicht gefunden'
DEFAULTSERVERERRORPAGECONTENT: '<p>Entschuldigung, bei der Bearbeitung ihrer Anfrage ist ein Problem aufgetreten.</p>'
DEFAULTSERVERERRORPAGETITLE: 'Serverfehler'
DESCRIPTION: 'Spezieller Inhalt für andere Fehlerfälle (z.B. "Seite nicht gefunden")'
PLURALNAME: 'Fehlerseiten'
SINGULARNAME: 'Fehlerseite'
SilverStripe\CMS\Model\RedirectorPage:
DESCRIPTION: 'Leitet zu einer anderen internen oder externen Seite weiter'
HASBEENSETUP: 'Eine Weiterleitungsseite wurde erstellt ohne das eine Weiterleitung definiert wurde.'

View File

@ -32,11 +32,6 @@ el:
ARCHIVED: Αρχειοθετημένο
SilverStripe\CMS\Forms\SiteTreeURLSegmentField:
EMPTY: 'Παρακαλώ εισάγεται ένα τμήμα διεύθυνσης URL ή πατήστε άκυρο'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Κωδικός σφάλματος'
CODE_404: '404 - Δεν βρέθηκε'
DEFAULTERRORPAGETITLE: 'Η σελίδα δεν βρέθηκε'
DEFAULTSERVERERRORPAGETITLE: 'Σφάλμα διακομιστή'
SilverStripe\CMS\Model\RedirectorPage:
HEADER: 'Αυτή η σελίδα θα ανακατευθύνει τους χρήστες σε μια άλλη σελίδα'
REDIRECTTO: 'Ανακατεύθυνση σε'

View File

@ -141,43 +141,6 @@ en:
Edit: Edit
HelpChars: ' Special characters are automatically converted or removed.'
OK: OK
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Error code'
CODE_400: '400 - Bad Request'
CODE_401: '401 - Unauthorized'
CODE_403: '403 - Forbidden'
CODE_404: '404 - Not Found'
CODE_405: '405 - Method Not Allowed'
CODE_406: '406 - Not Acceptable'
CODE_407: '407 - Proxy Authentication Required'
CODE_408: '408 - Request Timeout'
CODE_409: '409 - Conflict'
CODE_410: '410 - Gone'
CODE_411: '411 - Length Required'
CODE_412: '412 - Precondition Failed'
CODE_413: '413 - Request Entity Too Large'
CODE_414: '414 - Request-URI Too Long'
CODE_415: '415 - Unsupported Media Type'
CODE_416: '416 - Request Range Not Satisfiable'
CODE_417: '417 - Expectation Failed'
CODE_422: '422 - Unprocessable Entity'
CODE_429: '429 - Too Many Requests'
CODE_500: '500 - Internal Server Error'
CODE_501: '501 - Not Implemented'
CODE_502: '502 - Bad Gateway'
CODE_503: '503 - Service Unavailable'
CODE_504: '504 - Gateway Timeout'
CODE_505: '505 - HTTP Version Not Supported'
DEFAULTERRORPAGECONTENT: '<p>Sorry, it seems you were trying to access a page that doesn''t exist.</p><p>Please check the spelling of the URL you were trying to access and try again.</p>'
DEFAULTERRORPAGETITLE: 'Page not found'
DEFAULTSERVERERRORPAGECONTENT: '<p>Sorry, there was a problem with handling your request.</p>'
DEFAULTSERVERERRORPAGETITLE: 'Server error'
DESCRIPTION: 'Custom content for different error cases (e.g. "Page not found")'
PLURALNAME: 'Error Pages'
PLURALS:
one: 'An Error Page'
other: '{count} Error Pages'
SINGULARNAME: 'Error Page'
SilverStripe\CMS\Model\RedirectorPage:
DESCRIPTION: 'Redirects to an internal page or an external URL'
HASBEENSETUP: 'A redirector page has been set up without anywhere to redirect to.'

View File

@ -1,9 +1,6 @@
en_GB:
SilverStripe\CMS\Forms\SiteTreeURLSegmentField:
HelpChars: 'Special characters are automatically converted or removed.'
SilverStripe\CMS\Model\ErrorPage:
CODE_401: '401 - Unauthorised'
DEFAULTSERVERERRORPAGECONTENT: '<p>Sorry, there was a problem handling your request.</p>'
SilverStripe\CMS\Model\SiteTree:
DEPENDENT_NOTE: 'The following pages depend on this page. This includes virtual pages, redirector pages and pages with content links.'
METADESC: Description

View File

@ -91,15 +91,6 @@ eo:
SilverStripe\CMS\Forms\SiteTreeURLSegmentField:
EMPTY: 'Bonvolu enigi URL-segmenton aŭ alklaki al Rezigni'
HelpChars: 'Aŭtomate konvertas aŭ forigas specialajn signojn.'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Erarokodo'
DEFAULTERRORPAGECONTENT: '<p>Bedaŭrinde, ŝajne vi provis aliri paĝon kiu ne ekzistas.</p><p>Bonvole kontrolu la literumadon de la URL alirota kaj provu denove.</p>'
DEFAULTERRORPAGETITLE: 'Ne trovis paĝon'
DEFAULTSERVERERRORPAGECONTENT: '<p>Bedaŭrinde, estis problemo pri via peto.</p>'
DEFAULTSERVERERRORPAGETITLE: 'Servila eraro'
DESCRIPTION: 'Propra enhavo por diversaj okazoj de eraro (ekzemple, "Ne trovis paĝon")'
PLURALNAME: 'Paĝoj pri eraroj'
SINGULARNAME: 'Paĝo pri eraroj'
SilverStripe\CMS\Model\RedirectorPage:
DESCRIPTION: 'Alidirektas al interna paĝo aŭ ekstera URL'
HASBEENSETUP: 'Alidirekta paĝo estis agordita sen ie al kie alidirekti.'

View File

@ -91,18 +91,6 @@ es:
SilverStripe\CMS\Forms\SiteTreeURLSegmentField:
EMPTY: 'Vacío'
HelpChars: 'Los caracteres especiales son automáticamente convertidos o eliminados.'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Código de error'
DEFAULTERRORPAGECONTENT: '<p>Lo sentimos, parece que intentaste acceder a una página que no existe.</p><p>Por favor, comprueba que la URL que intentabas acceder está bien escrita e inténtalo de nuevo.</p>'
DEFAULTERRORPAGETITLE: 'Página no encontrada'
DEFAULTSERVERERRORPAGECONTENT: '<p>Lo sentimos, hubo un problema al gestionar tu solicitud.</p>'
DEFAULTSERVERERRORPAGETITLE: 'Error de servidor'
DESCRIPTION: 'Contenido personalizado para los distintos casos de error (p.e. "Página no encontrada")'
PLURALNAME: 'Páginas de error'
PLURALS:
one: 'Una Página de error'
other: '{count} Páginas de error'
SINGULARNAME: 'Página de error'
SilverStripe\CMS\Model\RedirectorPage:
DESCRIPTION: 'Redirecciona a una página interna o a una URL externa'
HASBEENSETUP: 'Se ha establecido una página redireccionadora sin ningún sitio al cual redireccionar.'

View File

@ -14,33 +14,6 @@ es_AR:
NOTLOGGEDIN: 'No conectado'
PUBLISHEDSITE: 'Sitio publicado'
VIEWPAGEIN: 'Ver página en:'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Código de Error'
CODE_400: '400 - Petición Incorrecta'
CODE_401: '401 - No estás autorizado'
CODE_403: '403 - Acceso Restringido'
CODE_404: '404 - No se encuentra'
CODE_405: '405 - Método No Permitido'
CODE_406: '406 - No es Aceptable'
CODE_407: '407 - Se Requiere Autenticación por Proxy'
CODE_408: '408 - Petición Excedida en Tiempo'
CODE_409: '409 - Existe Un Conflicto'
CODE_410: '410 - Reubicado'
CODE_411: '411 - Requiere Longitud'
CODE_412: '412 - Falló Precondición'
CODE_413: '413 - Elemento Requerido muy Largo'
CODE_414: '414 - URL Requerida muy Larga'
CODE_415: '415 - Tipo de Medio no Soportado'
CODE_416: '416 - No Satisface el Rango de Petición'
CODE_417: '417 - Falló la Expectativa'
CODE_500: '500 - Error Interno del Servidor'
CODE_501: '501 - No Implementado'
CODE_502: '502 - Puerta de Acceso Incorrecta'
CODE_503: '503 - Fuera de Servicio'
CODE_504: '504 - Tiempo Excedido en Puerta de Acceso'
CODE_505: '505 - Versión HTTP Sin Soporte'
DEFAULTERRORPAGECONTENT: '<p>Disculpa, parece que estás tratando de ingresar a una página que no existe.</p><p>Por favor verifica la escritura de la URL que deseas visitar e inténtalo de nuevo.</p>'
DEFAULTERRORPAGETITLE: 'Página inexistente'
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: 'Se ha instalado una página de redirección sin algún lugar a donde redireccionar.'
HEADER: 'Esta página dirigirá al usuarios a otra página'

View File

@ -14,33 +14,6 @@ es_MX:
NOTLOGGEDIN: 'No ha iniciado sesión'
PUBLISHEDSITE: 'Sitio Publicado'
VIEWPAGEIN: 'Ver página en:'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Código de Error'
CODE_400: '400 - Petición Incorrecta'
CODE_401: '401 - No estás autorizado'
CODE_403: '403 - Acceso Restringido'
CODE_404: '404 - No se encuentra'
CODE_405: '405 - Método No Permitido'
CODE_406: '406 - No es Aceptable'
CODE_407: '407 - Se Requiere Autentificación del Proxy'
CODE_408: '408 - La Petición Excede Del Tiempo Autorizado'
CODE_409: '409 - Existe Un Conflicto'
CODE_410: '410 - Reubicado'
CODE_411: '411 - Requiere Longitud'
CODE_412: '412 - Falló la precondición'
CODE_413: '413 - Elemento solicitado muy largo'
CODE_414: '414 - La URI solicitada es muy larga'
CODE_415: '415 - Tipo de medio sin soporte'
CODE_416: '416 - No Satisface el Rango de Petición'
CODE_417: '417 - Esperaba otra cosa'
CODE_500: '500 - Error Interno del Servidor'
CODE_501: '501 - No Implementado'
CODE_502: '502 - Puerta de acceso equivocada'
CODE_503: '503 - Fuera de Servicio'
CODE_504: '504 - Excesivo Tiempo en la Puerta de Acceso'
CODE_505: '505 - Versión HTTP Sin Soporte'
DEFAULTERRORPAGECONTENT: '<p>Disculpe, parece que está tratando de ingresar a una página que no existe.</p><p>Por favor verifique la URL que desea visitar e inténtelo de nuevo.</p>'
DEFAULTERRORPAGETITLE: 'Página inexistente'
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: 'Se ha instalado una página de redirección sin algún lugar a donde redireccionar.'
HEADER: 'Esta página dirigirá al usuarios a otra página'

View File

@ -47,35 +47,6 @@ et_EE:
ARCHIVED: Arhiveeritud
SilverStripe\CMS\Forms\SiteTreeURLSegmentField:
HelpChars: 'Erimärgid teisendatakse või eemaldatakse automaatselt.'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Veakood'
CODE_400: '400 - Halb päring'
CODE_401: '401 - Volitamata ligipääs'
CODE_403: '403 - Keelatud'
CODE_404: '404 - Ei leitud'
CODE_405: '405 - Meetod pole lubatud'
CODE_406: '406 - Ligipääs puudub'
CODE_407: '407 - Proxy tuvastus vajalik'
CODE_408: '408 - Palve aegunud'
CODE_409: '409 - Konflikt'
CODE_410: '410 - Kustutatud'
CODE_411: '411 - Distants vajalik'
CODE_412: '412 - Eeltingimused täitmata'
CODE_413: '413 - Palve käsklus liiga suur'
CODE_414: '414 - soovitud URL liiga pikk'
CODE_415: '415 - Ebasoovitav meedia tüüp'
CODE_416: '416 - Päring rahuldamata'
CODE_417: '417 - Eeldus puudub'
CODE_500: '500 - Serveri viga'
CODE_501: '501 - Rakendus puudub'
CODE_502: '502 - Halb sissepääsutee'
CODE_503: '503 - Teenus puudub'
CODE_504: '504 - Sissepääsutee aegmaas'
CODE_505: '505 - HTTP versioon ei ole kasutusel'
DEFAULTERRORPAGECONTENT: '<p>Vabandust aga tundub, et proovid ligipääseda lehele mida pole olemas.</p><p>Palun kontrolli uuesti aadressi kuhu proovid ligi pääseda.</p>'
DEFAULTERRORPAGETITLE: 'Lehekülge ei leitud'
DEFAULTSERVERERRORPAGECONTENT: '<p>Vabandust, teie taotluse töötlemisel ilmnes probleem.</p>'
DEFAULTSERVERERRORPAGETITLE: 'Serveri viga'
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: 'Suunav lehekülg seati üles ilma, et ta kuhugile suunaks.'
HEADER: 'See lehekülg suunab kasutajad teisele leheküljele'

View File

@ -89,14 +89,6 @@ fa_IR:
SilverStripe\CMS\Forms\SiteTreeURLSegmentField:
EMPTY: 'لطفاً یک بخش نشانی اینترنتی را درج نمایید یا روی لغو کلیک کنید.'
HelpChars: 'کاراکترهای ویژه به‌طور خودکار تبدیل یا حذف می‌شوند.'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'کد خطا'
DEFAULTERRORPAGECONTENT: '<p>متاسفانه، به‌نظر می‌رسد شما در تلاش برای دستیابی به صفحه‌ای هستید که وجود ندارد.</p><p>لطفاً نشانی اینترنتی را از جهت وجود خطای نگارشی بررسی و مجدداً تلاش نمایید.</p>'
DEFAULTERRORPAGETITLE: 'برگ پیدا نشد'
DEFAULTSERVERERRORPAGECONTENT: '<p>با پوزش، در پردازش درخواست شما ایرادی بوجود آمد.</p>'
DEFAULTSERVERERRORPAGETITLE: 'خطای سرور'
PLURALNAME: 'صفحات خطا'
SINGULARNAME: 'صفحه‌ی خطا'
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: 'یک صفحه‌ی هدایت‌گر ایجاد گردیده است بدون این‌که به جایی ارجاع داشته باشد.'
HEADER: 'این صفحه کاربران را به صفحه‌ای دیگر هدایت می‌کند'

View File

@ -95,18 +95,6 @@ fi:
SilverStripe\CMS\Forms\SiteTreeURLSegmentField:
EMPTY: 'Anna URL-osoite tai napsauta peruuta'
HelpChars: 'Erikoismerkit muunnetaan tai poistetaan automaattisesti.'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Virhekoodi'
DEFAULTERRORPAGECONTENT: '<p>Valitettavasti hakemaasi sivua ei ole olemassa.</p><p>Tarkista hakemasi sivun URL-osoitteen kirjoitusasu ja yritä uudelleen.</p>'
DEFAULTERRORPAGETITLE: 'Sivua ei löytynyt'
DEFAULTSERVERERRORPAGECONTENT: '<p>Pahoittelut, mutta pyyntösi aiheutti virheen.</p>'
DEFAULTSERVERERRORPAGETITLE: 'Palvelinvirhe'
DESCRIPTION: 'Omat virheilmoitukset (sivuille, kuten "Sivua ei löytynyt")'
PLURALNAME: 'Virhesivut'
PLURALS:
one: 'Virhesivu'
other: '{count} Virhesivua'
SINGULARNAME: 'Virhesivu'
SilverStripe\CMS\Model\RedirectorPage:
DESCRIPTION: 'Edelleenohjaa toiselle sisäiselle sivulle tai ulkoiseen URL-osoitteeseen'
HASBEENSETUP: 'Sivu, joka ohjaa käyttäjän toiselle sivulle on valmis, mutta sivua, jolle käyttäjä ohjataan, ei ole.'

View File

@ -4,11 +4,6 @@ fo:
PUBALLCONFIRM: 'Vinarliga almenna kunngerð allar síðurnar á heimasíðuni, avrita innihaldsstøðið til beinleiðis'
PUBALLFUN: '"Ger alt alment" funka'
REMOVEDPAGEFROMDRAFT: 'Strikaði ''%s'' frá kladdu heimasíðuni'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Feilkota'
CODE_404: '404 - Ikki funnin'
CODE_411: '411 - Longd er kravd'
DEFAULTERRORPAGETITLE: 'Síðan var ikki funnin'
SilverStripe\CMS\Model\RedirectorPage:
REDIRECTTO: 'Víðarisend til'
REDIRECTTOEXTERNAL: 'Onnur heimasíðu'

View File

@ -60,35 +60,6 @@ fr:
SilverStripe\CMS\Forms\SiteTreeURLSegmentField:
EMPTY: 'Merci d''entrer une URL ou cliquez sur Annuler'
HelpChars: 'Les caractères spéciaux sont automatiquement convertis ou supprimés.'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Code d''erreur'
CODE_400: '400 - Requête incorrecte'
CODE_401: '401 - Non autorisé'
CODE_403: '403 - Interdit'
CODE_404: '404 - Non trouvé'
CODE_405: '405 - Méthode non authorisée'
CODE_406: '406 - Inacceptable'
CODE_407: '407 - Authentification de mandataire (Proxy) requise'
CODE_408: '408 - Temps d''attente d''une réponse du serveur écoulé'
CODE_409: '409 - La requête ne peut être traitée à l''état actuel'
CODE_410: '410 - La ressource est indisponible et aucune adresse de redirection n''est connue'
CODE_411: '411 - La longueur de la requête n''a pas été précisée'
CODE_412: '412 - Préconditions envoyées par la requête non-vérifiées'
CODE_413: '413 - Entité de la requête trop grande'
CODE_414: '414 - URI de la requête trop longue'
CODE_415: '415 - Type de média non géré'
CODE_416: '416 - Champs d''en-tête de requête ''range'' incorrect.'
CODE_417: '417 - Comportement attendu et défini dans l''en-tête de la requête insatisfaisable'
CODE_500: '500 - Erreur interne du serveur'
CODE_501: '501 - Fonctionnalité réclamée non supportée par le serveur'
CODE_502: '502 - Mauvaise passerelle d''accès'
CODE_503: '503 - Service indisponible'
CODE_504: '504 - Temps d''attente d''une réponse d''un serveur à un serveur intermédiaire écoulé'
CODE_505: '505 - Version HTTP non supportée'
DEFAULTERRORPAGECONTENT: '<p>Désolé, il semble que vous tentez d''accéder à une page qui n''existe pas.</p><p>Merci de vérifier l''URL que vous avez saisie puis d''essayer à nouveau.</p>'
DEFAULTERRORPAGETITLE: 'Page non trouvée'
DEFAULTSERVERERRORPAGECONTENT: '<p>Nous sommes désolés, un problème nous a empêché de traiter votre requête.</p>'
DEFAULTSERVERERRORPAGETITLE: 'Erreur du serveur'
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: 'Une page de redirection sans adresse de redirection a été créée.'
HEADER: 'Cette page va rediriger les utilisateurs vers une autre page'

View File

@ -30,12 +30,6 @@ gl_ES:
NOTLOGGEDIN: 'Sen iniciar sesión'
PUBLISHEDSITE: 'Sitio Publicado'
VIEWPAGEIN: 'Ver a Páxina en:'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Código de erro'
DEFAULTERRORPAGECONTENT: '<p>Sintoo, parece que estabas tratando de acceder a unha página que non existe.</p><p>Por favor, comproba o enderezo da URL que estaba tratando de acceder e volva tentalo.</p>'
DEFAULTERRORPAGETITLE: 'Páxina non atopada'
DEFAULTSERVERERRORPAGECONTENT: '<p>Sintoo, houbo un problema coa xestión da túa petición.</p>'
DEFAULTSERVERERRORPAGETITLE: 'Erro Servidor'
SilverStripe\CMS\Model\RedirectorPage:
HEADER: 'Esta páxina redirixirá os usuarios a outra páxina'
OTHERURL: 'Outra URL do sitio web'

View File

@ -42,35 +42,6 @@ he_IL:
VIEWPAGEIN: 'צפייה בעמוד תחת:'
SilverStripe\CMS\Forms\SiteTreeURLSegmentField:
HelpChars: ' תווים מיוחדים מומרים אוטומטית או שהם מוסרים.'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'הודעת שגיאה'
CODE_400: '400 - בקשה שגויה'
CODE_401: '401 - אין הרשאה'
CODE_403: '403 - אין כניסה'
CODE_404: '404 - לא נמצא'
CODE_405: '405 - השיטה חסומה'
CODE_406: '406 - לא מקובל'
CODE_407: '407 - דרשו זיהוי מתווך'
CODE_408: '408 - זמן הבקשה פג'
CODE_409: '409 - התנגשות'
CODE_410: '410 - בלעה אותו האדמה'
CODE_411: '411 - נדרש אורך'
CODE_412: '412 - תנאי הקדם נכשל'
CODE_413: '413 - יישות הבקשה גדולה מדי'
CODE_414: '414 - כתובת הבקשה ארוכה מדי'
CODE_415: '415 - סוג המדיה אינו נתמך'
CODE_416: '416 - טווח הבקשה אינו מספק'
CODE_417: '417 - הציפיות כשלו'
CODE_500: '500 - שגיאת שרת פנימית'
CODE_501: '501 - לא הוטמע'
CODE_502: '502 - שער גישה שגוי'
CODE_503: '503 - השירות אינו זמין'
CODE_504: '504 - תם הזמן שהוקצב לשער הגישה'
CODE_505: '505 - גרסת ה־HTTP לא נתמכת'
DEFAULTERRORPAGECONTENT: '<p>מצטערים, נראה שהדף שניסית להגיע אליו אינו קיים</p><p>נא לבדוק את הכתובת המבוקשת ולנסות שנית</p>'
DEFAULTERRORPAGETITLE: 'הדף המבוקש לא נמצא'
DEFAULTSERVERERRORPAGECONTENT: '<p>אירעה תקלה בעת הטיפול בבקשתך, עמך הסליחה.</p>'
DEFAULTSERVERERRORPAGETITLE: 'שגיאת שרת'
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: 'נוצר דף הפניה ללא יעד'
HEADER: 'העמוד הזה יוביל משתמשים לעמוד אחר'

View File

@ -91,15 +91,6 @@ hr:
SilverStripe\CMS\Forms\SiteTreeURLSegmentField:
EMPTY: 'Molimo unesite dio URLa ili kliknite odustani'
HelpChars: 'Posebni znakovi se automatski pretvaraju ili uklanjaju.'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Kod pogreške'
DEFAULTERRORPAGECONTENT: '<p>Nažalost, čini se kako pokušavate pristupiti stranici koja ne postoji.</p><p>Molimo provjerite jeste li upisali točan URL i pokušajte ponovo.</p>'
DEFAULTERRORPAGETITLE: 'Stranica nije pronađena'
DEFAULTSERVERERRORPAGECONTENT: '<p>Nažalost, dogodio se problem prilikom rukovanja vašim zahtjevom.</p>'
DEFAULTSERVERERRORPAGETITLE: 'Serverska greška'
DESCRIPTION: 'Prilagođeni sadržaj za različite slučajeve grešaka (npr. "Stranica nije pronađena")'
PLURALNAME: 'Stranice greške'
SINGULARNAME: 'Stranica greške'
SilverStripe\CMS\Model\RedirectorPage:
DESCRIPTION: 'Preusmjerava na internu stranicu ili vanjski URL'
HASBEENSETUP: 'Stranica za preusjeravanje nema postavljenog preusmjeravanja'

View File

@ -53,21 +53,6 @@ hu:
SilverStripe\CMS\Forms\SiteTreeURLSegmentField:
EMPTY: 'Írjon be egy URL szegmenst, vagy kattitson a "mégse" feliratra'
HelpChars: 'A speciális karakterek automatikusan konvertálódnak vagy törlődnek.'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Hibakód'
CODE_400: '400 - Hibás kérés'
CODE_401: '401 - Jogosulatlan kérés'
CODE_403: '403 - Tiltott hozzáférés'
CODE_404: '404 - Az oldal nem létezik'
CODE_405: '405 - Tiltott Művelet'
CODE_406: '406 - Elfogadhatatlan művelet'
CODE_407: '407 - Proxy azonosítás szükséges'
CODE_408: '408 - Időtullépés'
CODE_409: '409 - Konfliktus'
CODE_410: '410 - Kapcsolat bontva'
CODE_411: '411 - Hossz kötelező'
DEFAULTERRORPAGETITLE: 'Az oldal nem található'
DEFAULTSERVERERRORPAGETITLE: 'Szerver hiba'
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: 'Egy átirányító oldal került létrehozásra, anélkül hogy lenne hova átirányítania.'
HEADER: 'Ez az oldal egy másik oldalra fogja írányítani a felhasználókat'

View File

@ -59,35 +59,6 @@ id:
SilverStripe\CMS\Forms\SiteTreeURLSegmentField:
EMPTY: 'Mohon isikan URL atau klik Batal'
HelpChars: 'Karakter khusus akan dikonversi secara otomatis atau dihapus.'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Kode yang salah'
CODE_400: '400 - Permintaan buruk'
CODE_401: '401 - Tidak ada otorisasi'
CODE_404: '404 - Tidak Ditemukan'
CODE_405: '405 - Metode Tidak Diperbolehkan'
CODE_406: '406 - Tidak Dapat Diterima'
CODE_407: '407 - Pembuktian diperlukan'
CODE_408: '408 - Permintaan Timeout'
CODE_409: '409 - Konflik'
CODE_410: '410 - Hilang'
CODE_411: '411 - Kepanjangan Diperlukan'
CODE_412: '412 - Prakondisi Gagal'
CODE_413: '413 - Permintaan Entity Terlalu Besar'
CODE_414: '414 - Permintaan-URI Terlalu Panjang'
CODE_416: '416 - Lingkup Permintaan Tidak Dapat Dipuaskan'
CODE_417: '417 - Expectation Gagal'
CODE_422: '422 - Entitas Tidak Terproses'
CODE_429: '429 - Terlalu Banyak Permintaan'
CODE_500: '500 - Server Internal Error'
CODE_501: '501 - Tidak Diimplementasi'
CODE_502: '502 - Gateway Buruk'
CODE_503: '503 - Servis Tidak Tersedia'
CODE_504: '504 - Masa Tunggu Terlewat'
CODE_505: '505 - Versi HTTP Tidak Didukung'
DEFAULTERRORPAGECONTENT: '<p>Maaf, sepertinya anda berusaha mengakses laman yang tidak ada.</p><p>Mohon periksa ejaan URL yang ingin anda akses dan coba lagi.</p>'
DEFAULTERRORPAGETITLE: 'Laman tidak ditemukan'
DEFAULTSERVERERRORPAGECONTENT: '<p>Maaf, ada masalah dalam penanganan permintaan Anda.</p>'
DEFAULTSERVERERRORPAGETITLE: 'Server mengalami kesalahan'
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: 'Sebuah laman pengarah telah dibuat tanpa arah yang dituju.'
HEADER: 'Laman ini akan mengarahkan pengguna ke laman lain'

View File

@ -6,10 +6,6 @@ is:
NOTLOGGEDIN: 'Ekki innskráður'
PUBLISHEDSITE: 'Birt síða'
VIEWPAGEIN: 'Skoða síðu í:'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Villu númer'
DEFAULTERRORPAGECONTENT: '<p>Afsakið, það virðist vera að þú ert að reyna opna síðu sem er ekki til.</p><p>Vinsamlegast athugaðu hvort að slóðin sé rétt skrifuð og prófaðu aftur</p>'
DEFAULTERRORPAGETITLE: 'Síða fannst ekki'
SilverStripe\CMS\Model\RedirectorPage:
HEADER: 'Þessi síða mun áframsenda notendur á aðra síðu'
OTHERURL: 'Slóð á aðra heimasíðu'

View File

@ -78,15 +78,6 @@ it:
SilverStripe\CMS\Forms\SiteTreeURLSegmentField:
EMPTY: 'Perfavore inserisci un segmento URL o clicca cancella'
HelpChars: 'I caratteri speciali sono automaticamente convertiti o eliminati.'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Codice di errore'
DEFAULTERRORPAGECONTENT: '<p>Spiacente, sembra che tu cercassi di accedere ad una pagina che non esiste.</p><p>Controlla che l''URL a cui stavi cercando di accedere sia corretto e prova di nuovo.</p>'
DEFAULTERRORPAGETITLE: 'Pagina non trovata'
DEFAULTSERVERERRORPAGECONTENT: '<p>Spiacenti, c''è stato un problema con la gestione della tua richiesta.</p>'
DEFAULTSERVERERRORPAGETITLE: 'Errore server'
DESCRIPTION: 'Contenuto personalizzato per i diversi casi d''errore (per esempio "Pagina non trovata")'
PLURALNAME: 'Pagine di errore'
SINGULARNAME: 'Pagina di errore'
SilverStripe\CMS\Model\RedirectorPage:
DESCRIPTION: 'Reinoltra ad una pagina interna o una URL esterna'
HASBEENSETUP: 'Una pagina di redirezione è stata configurata nonostante non vi sia alcun indirizzo a cui farla puntare'

View File

@ -60,37 +60,6 @@ ja:
SilverStripe\CMS\Forms\SiteTreeURLSegmentField:
EMPTY: 'URLのセグメントを入力または中止をクリックする'
HelpChars: '特殊文字は自動的に変換されたか取り除かれました'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'エラーコード'
CODE_400: '400 - 不適格な要求です'
CODE_401: '401 - 許可されていません'
CODE_403: '403 - 禁止されています'
CODE_404: '404 - 見つかりません'
CODE_405: '405 - 禁じられた方法です'
CODE_406: '406 - 許容できません'
CODE_407: '407 - プロキシ認証が必要です'
CODE_408: '408 - 応答がありません'
CODE_409: '409 - 衝突が生じています'
CODE_410: '410 - 消失しました'
CODE_411: '411 - 冗長な要求です。'
CODE_412: '412 - 前提条件がありません'
CODE_413: '413 - リクエストされたものが長すぎます'
CODE_414: '414 - リクエストされたURIが長すぎます'
CODE_415: '415 - サポートされていないメディアです'
CODE_416: '416 - リクエストの長さが満たされていません'
CODE_417: '417 - 期待には沿えませんでした'
CODE_422: '422 - 処理できないエンティティ'
CODE_429: '429 - リクエスト過多'
CODE_500: '500 - 本質的なサーバーエラーです'
CODE_501: '501 - 実施できません'
CODE_502: '502 - Gatewayとして正しくありません'
CODE_503: '503 - サービスが利用できません'
CODE_504: '504 - Gatewayが時間切れです'
CODE_505: '505 - サポートされていないHTTPのバージョンです'
DEFAULTERRORPAGECONTENT: '<p>申し訳ありませんが、貴方の見ようとしているページは存在しません。</p><p>貴方が見ようとしているサイトのURLの綴りがあっているのか、再度確認してください。</p>'
DEFAULTERRORPAGETITLE: 'ページが見つかりません'
DEFAULTSERVERERRORPAGECONTENT: '<p>申し訳ございません。あなたのリクエストを処理中に問題が起きました。</p>'
DEFAULTSERVERERRORPAGETITLE: 'サーバーエラー'
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: '転送URLを含むページには、転送先がない状態で設定されています。'
HEADER: 'このページをユーザーを変更して他のページにしますか?'

View File

@ -56,37 +56,6 @@ ko:
SilverStripe\CMS\Forms\SiteTreeURLSegmentField:
EMPTY: 'URL 세그먼트를 입력 또는 중지를 클릭'
HelpChars: '특수 문자는 자동으로 변환되었는지 제거되었습니다'
SilverStripe\CMS\Model\ErrorPage:
CODE: '오류 코드'
CODE_400: '400 - 올바르지 않은 요청입니다.'
CODE_401: '401 - 허용되지 않습니다'
CODE_403: '403 - 금지되어 있습니다'
CODE_404: '404 - 찾을 수 없습니다'
CODE_405: '405 - 금지된 방법입니다'
CODE_406: '406 - 허용할 수 없습니다'
CODE_407: '407 - 프록시 인증이 필요합니다'
CODE_408: '408 - 응답이 없습니다'
CODE_409: '409 - 충돌이 발생하고 있습니다'
CODE_410: '410 - 소실되었습니다'
CODE_411: '411 - 중복 요청입니다.'
CODE_412: '412 - 전제 조건이 없습니다'
CODE_413: '413 - 요청된 것이 너무 깁니다'
CODE_414: '414 - 요청된 URI가 너무 깁니다'
CODE_415: '415 - 지원되지 않는 미디어입니다'
CODE_416: '416 - 요청의 길이가 맞지 않습니다'
CODE_417: '417 - 기대한 것이 없습니다.'
CODE_422: '422 - 처리될 수 없는 엔터티'
CODE_429: '429 - 서버에 대한 과다한 요청'
CODE_500: '500 - 내부적인 서버 오류'
CODE_501: '501 - 실시할 수 없습니다'
CODE_502: '502 - 올바르지 않은 Gateway입니다.'
CODE_503: '503 - 서비스를 사용할 수 없습니다'
CODE_504: '504 - Gateway가 만료되었습니다.'
CODE_505: '505 - 지원되지 않는 HTTP 버전입니다'
DEFAULTERRORPAGECONTENT: '<p> 죄송하지만 보려고하는 페이지가 존재하지 않습니다. </p> <p> 사이트의 URL을 확인 후 다시 시도해주세요. </p>'
DEFAULTERRORPAGETITLE: '페이지를 찾을 수 없습니다'
DEFAULTSERVERERRORPAGECONTENT: '<p> 죄송합니다. 귀하의 요청을 처리하는 동안 문제가 발생했습니다. </p>'
DEFAULTSERVERERRORPAGETITLE: '서버 오류'
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: '다른곳으로 리다이렉트되지않고 리다이렉터 페이지가 설치되었습니다.'
HEADER: '이 페이지는 다른 페이지로 사용자들을 이동시킵니다.'

View File

@ -65,37 +65,6 @@ lt:
SilverStripe\CMS\Forms\SiteTreeURLSegmentField:
EMPTY: 'Prašome įvesti URL dalį arba spauskite atšaukti'
HelpChars: 'Specialūs simboliai automatiškai pakeičiami arba pašalinami.'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Klaidos kodas'
CODE_400: '400 - Bloga užklausa'
CODE_401: '401 - Leidimas neduotas'
CODE_403: '403 - Uždrausta'
CODE_404: '404 - Puslapis nerastas'
CODE_405: '405 - Neleistinas būdas'
CODE_406: '406 - Nepriimtina'
CODE_407: '407 - Reikalinga proxy autentifikacija'
CODE_408: '408 - Baigėsi užklausai skirtas laikas'
CODE_409: '409 - Konfliktas'
CODE_410: '410 - Nebėra'
CODE_411: '411 - Reikalingas ilgis'
CODE_412: '412 - Išankstinė klaida'
CODE_413: '413 - Per didelė užklausa'
CODE_414: '414 - Per ilgas URL adresas'
CODE_415: '415 - Nežinomas media tipas'
CODE_416: '416 - Netinkamos užklausimo ribos'
CODE_417: '417 - Netikėtas atsakymas'
CODE_422: '422 - Nepavyko apdoroti'
CODE_429: '429 - Viršytas užklausų limitas'
CODE_500: '500 - Vidinė serverio klaida'
CODE_501: '501 - Neįgyvendinta'
CODE_502: '502 - Bloga tinklų sąsaja'
CODE_503: '503 - Servisas nepasiekiamas'
CODE_504: '504 - Viršytas laiko limitas'
CODE_505: '505 - Nepalaikoma HTTP versija'
DEFAULTERRORPAGECONTENT: "\t\n<p>Atsiprašome, atrodo, kad Jūs bandėte patekti į puslapį, kuris neegzistuoja.</p><p>Prašome patikrinti URL adresą ir pabandyti dar kartą.</p>\n"
DEFAULTERRORPAGETITLE: 'Puslapis nerastas'
DEFAULTSERVERERRORPAGECONTENT: '<p>Apgailestaujame, tačiau apdorojant užklausą įvyko klaida.</p>'
DEFAULTSERVERERRORPAGETITLE: 'Tarnybinės stoties klaida'
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: 'Nukreipimo puslapis neturintis nukreipimo.'
HEADER: 'Šis puslapis nukreips lankytojus į kitą puslapį'

View File

@ -9,33 +9,6 @@ lv:
NOTLOGGEDIN: 'Nav pieslēdzies'
PUBLISHEDSITE: 'Publicētā vietne'
VIEWPAGEIN: 'Skatīt lapu:'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Kļūdas kods'
CODE_400: '400 - Nekorekts pieprasījums'
CODE_401: '401 - Neautorizēts'
CODE_403: '403 - Aizliegts'
CODE_404: '404 - Resurss nav atrasts'
CODE_405: '405 - Šī metode ir aizliegta'
CODE_406: '406 - Nav atļauts'
CODE_407: '407 - Nepieciešama slūžu servera (proxy) autentifikācija'
CODE_408: '408 - Pieprasījuma laiks beidzies'
CODE_409: '409 - Konflikts'
CODE_410: '410 - Mainīts izvietojums'
CODE_411: '411 - Nepieciešams garums'
CODE_412: '412 - Sākotnējais nosacījums nav izpildīts.'
CODE_413: '413 - Pieprasījums ir pārāk liels'
CODE_414: '414 - Pieprasītais URI ir pārāk liels'
CODE_415: '415 - Neatbalstīts datņu formāts'
CODE_416: '416 - Neatbilstoš pieprasījuma diapozons'
CODE_417: '417 - Gaidīšana nav iespējama'
CODE_500: '500 - Servera iekšēja kļūda'
CODE_501: '501 - Šī metode netiek atbalstīta'
CODE_502: '502 - Nekorekta vārteja'
CODE_503: '503 - Serviss uz laiku nav pieejams'
CODE_504: '504 - Beidzies vārtejas pieprasījuma laiks'
CODE_505: '505 - Šī HTTP protokola versija netiek atbalstīta.'
DEFAULTERRORPAGECONTENT: '<p>Atvainojiet, šķiet, ka lapa kurai mēģinat piekļūt neeksistē.</p><p>Lūdzu pārliecinieties par pareizrakstību URL, kuram vēlaties piekļūt400.</p>'
DEFAULTERRORPAGETITLE: 'Lapa nav atrasta'
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: 'Novirzītājlapa ir uzstādīta bez norādes uz kurieni novirzīt.'
HEADER: 'Šī lapa novirzīs lietotājus uz citu lapu '

View File

@ -55,35 +55,6 @@ mi:
SilverStripe\CMS\Forms\SiteTreeURLSegmentField:
EMPTY: 'Tāurua he Wāhanga PRO, ka pāwhiri whakakore rānei'
HelpChars: 'Ka tahuri aunoatia, ka tangohia rānei ngā pūāhua motuhake'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Waehere hapa'
CODE_400: '400 - Tono Kino'
CODE_401: '401 - Tē Whakamanatia'
CODE_403: '403 - Kua Rāhuitia'
CODE_404: '404 - Kāore i Kitea'
CODE_405: '405 - Tikanga Kāore e Whakaaetia'
CODE_406: '406 - Tē Whakaaetia'
CODE_407: '407 - Ka Hiahiatia te Motuhēhē Takawaenga'
CODE_408: '408 - Wāhiki Tono'
CODE_409: '409 - Papā'
CODE_410: '410 - Kua Haere'
CODE_411: '411 - Ka Hiahiatia te Roa'
CODE_412: '412 - I Rahua te Here o Mua'
CODE_413: '413 - Rahi Rawa te Hinonga Tono'
CODE_414: '414 - Roa Rawa te PRO-tono'
CODE_415: '415 - Momo Pāpāho Tē Tautokona'
CODE_416: '416 - Kāore e Tutuki te Awhe Tono'
CODE_417: '417 - I Rahua te Tūmanakohanga'
CODE_500: '500 - Hapa Tūmau ā-Roto'
CODE_501: '501 - Kīhai i whakatinanahia'
CODE_502: '502 - Tomokanga Kino'
CODE_503: '503 - Rātonga Tē Wātea'
CODE_504: '504 - Wāhiki Tomokanga'
CODE_505: '505 - Putanga HTTP Tē Tautokona'
DEFAULTERRORPAGECONTENT: '<p>Aroha noa, te āhua nei e ngana ana koe ki te uru ki tētahi whārangi kāore i reira.</p><p>Tirohia te takikupu o te PRO e ngana ana ki te uru, ka whakamātau anō.</p>'
DEFAULTERRORPAGETITLE: 'Kāore i kitea te whārangi'
DEFAULTSERVERERRORPAGECONTENT: '<p>Aroha noa,kua rarua te tuku i tō tono.</p>'
DEFAULTSERVERERRORPAGETITLE: 'Hapa tūmau'
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: 'Kua tatū he whārangi tuku anō me te kore whai wāhi hei tuku anō.'
HEADER: 'Ka tuku anō tēnei whārangi i ngā kaiwhakamahi ki whārangi kē'

View File

@ -1,9 +1,4 @@
ms:
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Kod kesilapan'
CODE_417: '417 - kegagalan expectation'
DEFAULTERRORPAGECONTENT: '<p>Minta maaf, rupa-rupanya anda ingin mencapai halaman yang tidak wujud</p><p>Sila semak ejaan URL yang anda ingin mencapai dan cuba semula</p>'
DEFAULTERRORPAGETITLE: 'Halaman tidak wujud'
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: 'Mukasurat pengalih destinasi dihasilkan tanpa menyatakan destinasi alihan.'
HEADER: 'Mukasurat ini akan mengalih pengguna ke mukasurat lain'

View File

@ -65,37 +65,6 @@ nb:
SilverStripe\CMS\Forms\SiteTreeURLSegmentField:
EMPTY: 'Vennligst skriv inn adressesegment eller trykk avbryt.'
HelpChars: 'Spesialtegn blir automatisk konvertert eller fjernet.'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Feilkode'
CODE_400: '400 - Ugyldig sidespørring'
CODE_401: '401 - Uautorisert'
CODE_403: '403 - Forbudt'
CODE_404: '404 - Ikke funnet'
CODE_405: '405 - Metode ikke tillat'
CODE_406: '406 - Ikke akseptabel'
CODE_407: '407 - Proxy autentisering påkrevd'
CODE_408: '408 - Sidespørring timeout'
CODE_409: '409 - Konflikt'
CODE_410: '410 - Borte'
CODE_411: '411 - Lengde påkrevd'
CODE_412: '412 - Prekondisjon feilet'
CODE_413: '413 - Spørringsenhet for stor'
CODE_414: '414 - Spørrings-URI for lang'
CODE_415: '415 - Mediatype ikke støttet'
CODE_416: '416 - Spørringsspenne kan ikke tilfredstilles'
CODE_417: '417 - Forventning feilet'
CODE_422: '422 - Enheten kan ikke prosesseres'
CODE_429: '429 - for mange sideforespørsler'
CODE_500: '500 - Intern serverfeil'
CODE_501: '501 - Ikke implementert'
CODE_502: '502 - Dårlig gateway'
CODE_503: '503 - Service ikke tilgjengelig'
CODE_504: '504 - Gateway timeout'
CODE_505: '505 - HTTP versjon ikke støttet'
DEFAULTERRORPAGECONTENT: '<p>Beklager, det ser ut til at du prøver å nå en side som ikke finnes.</p><p>Sjekk at du har skrevet riktig adresse og prøv på nytt.</p>'
DEFAULTERRORPAGETITLE: 'Siden ble ikke funnet'
DEFAULTSERVERERRORPAGECONTENT: '<p>Beklager, det oppstod et problem under utføringen.</p>'
DEFAULTSERVERERRORPAGETITLE: 'Serverfeil'
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: 'En omdirigeringssside har blitt satt opp uten et mål å omdirigere til.'
HEADER: 'Denne siden vil omdirigere brukere til en annen side'

View File

@ -1,6 +1,4 @@
ne:
SilverStripe\CMS\Model\ErrorPage:
CODE: 'त्रुटी सङ्केत '
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: 'कुनै पनि पुनर्निर्देशनबिना नै एउटा पुनर्निदेशन पृष्ठ सेटअप गरियो । '
HEADER: 'यो पेजले प्रयोगकतालाई अर्को पेजमा लैजान्छ'

View File

@ -62,13 +62,6 @@ nl:
SilverStripe\CMS\Forms\SiteTreeURLSegmentField:
EMPTY: 'Vul een URL segment in of klik op annuleren'
HelpChars: 'Speciale tekens worden automatische omgezet of verwijderd.'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Foutcode'
DEFAULTERRORPAGECONTENT: '<p>Helaas, de pagina die u zocht lijkt niet (meer) te bestaan.</p><p>Controleer of de juiste URL is gebruikt en probeer het opnieuw.</p>'
DEFAULTERRORPAGETITLE: 'Pagina niet gevonden'
DEFAULTSERVERERRORPAGECONTENT: '<p>Helaas, er was een probleem bij het verwerken van je verzoek.</p>'
DEFAULTSERVERERRORPAGETITLE: 'Probleem met de server'
SINGULARNAME: 'Foutpagina'
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: 'Er is een verwijspagina opgezet zonder ergens naar te verwijzen.'
HEADER: 'Deze pagina zal gebruikers naar een andere pagina doorsturen (redirect)'

View File

@ -60,37 +60,6 @@ pl:
SilverStripe\CMS\Forms\SiteTreeURLSegmentField:
EMPTY: 'Proszę podać część adresu lub kliknąć anuluj'
HelpChars: 'Znaki specjalne są automatycznie konwertowane lub usuwane.'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Kod błędu'
CODE_400: '400 - Nieprawidłowe zapytanie'
CODE_401: '401 - Nieautoryzowany dostęp'
CODE_403: '403 - Zabroniony'
CODE_404: '404 - Nie znaleziono'
CODE_405: '405 - Niedozwolona metoda'
CODE_406: '406 - Niedozwolone'
CODE_407: '407 - Wymagane Uwierzytelnienie do Serwera Proxy'
CODE_408: '408 - Koniec czasu oczekiwania na żądanie'
CODE_409: '409 - Konflikt'
CODE_410: '410 - Zniknął (usunięto)'
CODE_411: '411 - Wymagana Długość'
CODE_412: '412 - Warunek wstępny nie może być spełniony'
CODE_413: '413 - Encja zapytania zbyt długa'
CODE_414: '414 - Adres URI zapytania zbyt długi'
CODE_415: '415 - Nieznany sposób żądania'
CODE_416: '416 - Zakres bajtowy podany w zapytaniu nie do obsłużenia'
CODE_417: '417 - Oczekiwana wartość nie do zwrócenia'
CODE_422: '422 - Niewłaściwe dane'
CODE_429: '429 - Zbyt wiele żądań'
CODE_500: '500 - Wewnętrzny błąd serwera'
CODE_501: '501 - Nie zaimplementowano'
CODE_502: '502 - Błąd bramy'
CODE_503: '503 - Usługa niedostępna'
CODE_504: '504 - Przekroczony czas bramy'
CODE_505: '505 - Wersja HTTP nie obsługiwana'
DEFAULTERRORPAGECONTENT: '<p>Niestety, próbujesz wejść na stronę, która nie istnieje.</p><p>Sprawdź pisownię adresu URL i spróbuj ponownie.</p>'
DEFAULTERRORPAGETITLE: 'Nie znaleziono strony'
DEFAULTSERVERERRORPAGECONTENT: '<p>Wystąpił problem z obsługą Twojego żądania.</p>'
DEFAULTSERVERERRORPAGETITLE: 'Błąd serwera'
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: 'Strona przekierowująca została ustawiona bez celu, do którego ma przekierowywać.'
HEADER: 'Ta strona przeniesie użytkowników na inną stronę'

View File

@ -50,32 +50,6 @@ pt:
VIEWPAGEIN: 'Ver página em:'
SilverStripe\CMS\Forms\SiteTreeURLSegmentField:
HelpChars: 'Os caracteres especiais são automaticamente convertido ou removidos.'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Código de erro'
CODE_401: '401 - Não Autorizado'
CODE_403: '403 - Proibido'
CODE_404: '404 - Não Encontrado'
CODE_405: '405 - Método não permitido'
CODE_406: '406 - Não aceite'
CODE_407: '407 - Autenticação Proxy Necessária'
CODE_408: '408 - Excedeu o tempo de resposta'
CODE_409: '409 - Conflicto'
CODE_410: '410 - Desaparecido'
CODE_411: '411 - Tamanho necessário'
CODE_412: '412 - Falha nas pré-condições'
CODE_413: '413 - Pedido demasiado grande'
CODE_414: '414 - Pedido de URL muito longa'
CODE_415: '415 - Tipo media não suportado'
CODE_416: '416 - Pedido solicitado não satisfatório'
CODE_417: '417 - Falha de expectativa'
CODE_500: '500 - Erro de Servidor'
CODE_501: '501 - Não implementado'
CODE_503: '503 - Serviço Indisponível'
CODE_505: '505 - Versão HTTP não suportada'
DEFAULTERRORPAGECONTENT: '<p>A página a que tentou aceder não existe.</p><p>Verifique se não existem erros no endereço a que tentou aceder e tente novamente.</p>'
DEFAULTERRORPAGETITLE: 'Página não encontrada'
DEFAULTSERVERERRORPAGECONTENT: '<p>Desculpe, ocorreu um problema no processamento do seu pedido</p>'
DEFAULTSERVERERRORPAGETITLE: '500 - Erro do servidor'
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: 'Uma página de redireccionamento foi criada sem nenhum destino.'
HEADER: 'Esta página irá redireccionar os utilizadores para outra página'

View File

@ -6,33 +6,6 @@ pt_BR:
REMOVEDPAGEFROMDRAFT: 'Removido ''%s'' do site de rascunho'
SilverStripe\CMS\Controllers\CMSPagesController:
MENUTITLE: Páginas
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Código do erro'
CODE_400: '400 - Requisição Invalida'
CODE_401: '401 - Não autorizado'
CODE_403: '403 - Proibido'
CODE_404: '404 - Arquivo não encontrado'
CODE_405: '405 - Método não permitido'
CODE_406: '406 - Não aceitavel'
CODE_407: '407 - Requer autentificação do proxy'
CODE_408: '408 - tempo de requisição esgotado'
CODE_409: '409 - Conflito'
CODE_410: '410 - Finalizado'
CODE_411: '411 - Tamanho requisitado'
CODE_412: '412 - Condição prévia não atendida'
CODE_413: '413 - dados requisição muito grande'
CODE_414: '414 -URI requisitado muito grande'
CODE_415: '415 - tipo de arquivo não suportado'
CODE_416: '416 - Escala do pedido não satisfaz'
CODE_417: '417 - A expectativa falhou'
CODE_500: '500 - Erro interno do servidor'
CODE_501: '501 - Não implementado'
CODE_502: '502 - Conecção ruim'
CODE_503: '503 - Serviço não esta habilitado'
CODE_504: '504 - Tempo de conecção esgorado'
CODE_505: '505 - Versão do HTTP não suporado'
DEFAULTERRORPAGECONTENT: '<p>desculpe, mas parece que você esta tentando acessar uma página que não existe.</p><p>Por favor, verifique se você digitou a URL corretamente e tente novamente</p>'
DEFAULTERRORPAGETITLE: 'Página não encontrada'
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: 'Uma página de redireccionamento foi criada sem nenhum destino específicado'
HEADER: 'Esta página redireccionará os utilizadores para outra página'

View File

@ -55,34 +55,6 @@ ro:
SilverStripe\CMS\Forms\SiteTreeURLSegmentField:
EMPTY: 'Vă rugăm introduceți un Segment URL sau apăsați anulează'
HelpChars: 'Caracterele speciale sunt convertite automat sau șterse'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Cod de eroare'
CODE_400: '400 - Solicitare greșită'
CODE_401: '401 - Neautorizat'
CODE_403: '403 - Interzis'
CODE_404: '404 - Negăsită'
CODE_405: '405 - Funcție nepermisă'
CODE_406: '406 - Neacceptată'
CODE_407: '407 - Autentificare Proxy Necesară'
CODE_408: '408 - Solicitare expirată'
CODE_409: '409 - Conflict'
CODE_410: '410 - Dispărut'
CODE_411: '411 - Lungime necesară'
CODE_412: '412 - Precondiție eșuată '
CODE_413: '413 - Entitatea solicitării prea mare'
CODE_414: '414 - URI-ul solicitării prea lung'
CODE_415: '415 - Tip media nesuportat'
CODE_416: '416 - Banda solicitării neindelinită'
CODE_417: '417 - Așteptare nereușită'
CODE_500: '500 - Versiune HTTP Nesuportată'
CODE_501: '501 - Neimplementat'
CODE_502: '502 - Gateway incorect'
CODE_503: '503 - Serviciu nedisponibil'
CODE_504: '504 - Timpul de Gateway expirat'
DEFAULTERRORPAGECONTENT: '<p>Ne pare rău, se pare că ați încercat să accesati o pagină inexistentă.</p><p>Vă rugăm verificați scrierea corectă a URL-ului dorit și încercați din nou.</p>'
DEFAULTERRORPAGETITLE: 'Pagină negasită'
DEFAULTSERVERERRORPAGECONTENT: '<p>Ne pare rău, s-a petrecut o problemă la procesarea solicitării dumeavoastre.</p>'
DEFAULTSERVERERRORPAGETITLE: 'Eroare de server'
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: 'O pagină referitoare a fost creată fără a direcționa către ceva'
HEADER: 'Pagina v-a redirecționa utilizatorii către altă pagină'

View File

@ -73,15 +73,6 @@ ru:
SilverStripe\CMS\Forms\SiteTreeURLSegmentField:
EMPTY: 'Задайте адрес страницы или нажмите "Отмена"'
HelpChars: 'Спецсимволы автоматически конвертируются или удаляются.'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Код ошибки'
DEFAULTERRORPAGECONTENT: '<p>Извините, страница, к которой вы пытаетесь получить доступ, не существует.</p><p>Пожалуйста, проверьте правильность написания ссылки и попытайтесь снова.</p>'
DEFAULTERRORPAGETITLE: 'Страница не найдена'
DEFAULTSERVERERRORPAGECONTENT: '<p>Не удалось обработать запрос.</p>'
DEFAULTSERVERERRORPAGETITLE: 'Ошибка сервера'
DESCRIPTION: 'Пользовательские страницы ошибок (например, "Страница не найдена")'
PLURALNAME: 'Страницы ошибок'
SINGULARNAME: 'Страница ошибки'
SilverStripe\CMS\Model\RedirectorPage:
DESCRIPTION: 'Перенаправление на другую внутреннюю или внешнюю страницу'
HASBEENSETUP: 'Страница перенаправления установлена без указания места перенаправления.'

View File

@ -4,20 +4,6 @@ si:
PUBALLCONFIRM: 'අඩවියේ ඇති සියලු පිටු, වේදිකාවට පිටපත් කර ප්රසිද්ධ කරන්න'
PUBALLFUN: 'සියලු ක්රම වේද ප්රසිද්ධ කරන ලදී'
REMOVEDPAGEFROMDRAFT: 'කටු අඩවියෙන් ''%s'' මකන ලදී'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'වැරදි කේතය'
CODE_400: '400 - දුර්වල ඉල්ළීමක්'
CODE_401: '401 - බල රහිත'
CODE_403: '403 - තහනම්'
CODE_404: '404 - නොලැබුණි'
CODE_405: '405 - ඉඩ නොදෙන ක්රමයකි'
CODE_406: '406 - භාරගත නොහැක'
CODE_407: '407 - Proxy යෙහි බලය අවශ්ය වේ'
CODE_408: '408 - ඉල්ලීමේ කාලය අවසන්'
CODE_409: '409 - ගැටුමකි'
CODE_410: '410 - නැති විය'
DEFAULTERRORPAGECONTENT: '<p>කණගාටුයි,ඔබ නොමැති පිටුවකට යාමට උත්සාහ කරයි. </p><p>ඔබට යාමට අවශ්ය URL එකෙහි අක්ෂර පරීක්ෂා කර නැවත උත්සාහ කරන්න.</p>'
DEFAULTERRORPAGETITLE: 'පිටුව නොලැබුනි'
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: 'යොමු කිරීමේ පිටුව කිසිවකට යොමු නොකරයි'
HEADER: 'මෙම පිටුව පරිබෝඡකයන් වෙනත් යොමු කරයි'

View File

@ -91,15 +91,6 @@ sk:
SilverStripe\CMS\Forms\SiteTreeURLSegmentField:
EMPTY: 'Zadajte prosím URL segment alebo kliknite zrušiť'
HelpChars: 'Špeciálne znaky sú automaticky zkonvertované alebo ostránené.'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Chybový kód'
DEFAULTERRORPAGECONTENT: '<p>Prepáčte, vyzerá to tak, že sa snažíte otvoriť stránku, ktorá neexistuje.</p><p> Skontrolujte napísanú URL, prosím.</p>'
DEFAULTERRORPAGETITLE: 'Stránka nenájdená'
DEFAULTSERVERERRORPAGECONTENT: '<p>Prepáčte, nastal problém s manipuláciou vašej požiadavky.</p>'
DEFAULTSERVERERRORPAGETITLE: 'Chyba servera'
DESCRIPTION: 'Vlastný obsah pre rôzne prípady chýb (napr. "Stránka nenájdená")'
PLURALNAME: 'Chybové stránky'
SINGULARNAME: 'Chybová stránka'
SilverStripe\CMS\Model\RedirectorPage:
DESCRIPTION: 'Presmeruje na internú stránku alebo na externé URL'
HASBEENSETUP: 'Stránka na presmerovanie bola nastavená bez cieľa.'

View File

@ -63,14 +63,6 @@ sl:
SilverStripe\CMS\Forms\SiteTreeURLSegmentField:
EMPTY: 'Prosim vnesite URL segment ali kliknite prekliči'
HelpChars: 'Posebni znaki so samodejno spremenjeni ali odstranjeni.'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Napačna koda'
DEFAULTERRORPAGECONTENT: '<p>Morda ste zahtevali dostop do strani, ki ne obstaja?</p><p>Za vsak slučaj preverite vpisani URL-naslov in poskusite ponovno.</p>'
DEFAULTERRORPAGETITLE: 'Strani ni mogoče najti'
DEFAULTSERVERERRORPAGECONTENT: '<p>Oprostite, pri vaši zahtevi je prišlo do težave.</p>'
DEFAULTSERVERERRORPAGETITLE: 'Napaka na strežniku'
PLURALNAME: 'Strani z napakami'
SINGULARNAME: 'Stran z napako'
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: 'Nastavljena preusmeritev še nima določenega cilja.'
HEADER: 'Ta stran bo preusmerila uporabnike na drugo stran'

View File

@ -55,35 +55,6 @@ sr:
SilverStripe\CMS\Forms\SiteTreeURLSegmentField:
EMPTY: 'Молимо Вас да унесете сегмент URL-а или кликните на Одустани'
HelpChars: 'Специјални карактери су аутоматски конвертовани или уклоњени.'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Кôд грешке'
CODE_400: '400 - Лош захтев'
CODE_401: '401 - Неауторизовано'
CODE_403: '403 - Забрањено'
CODE_404: '404 - Није пронађено'
CODE_405: '405 - Метода није дозвољена'
CODE_406: '406 - није прихватљиво'
CODE_407: '407 - Потребна идентификација проксија'
CODE_408: '408 - Захтев истекао'
CODE_409: '409 - Конфликт'
CODE_410: '410 - Удаљено'
CODE_411: '411 - Потребна дужина'
CODE_412: '412 - Неуспешан предуслов'
CODE_413: '413 - Захтевани ентитет превелик'
CODE_414: '414 - Захтевани URI је предугачак'
CODE_415: '415 - Неподржан тип медија'
CODE_416: '416 - Тражени опсег није задовољив'
CODE_417: '417 - Неуспело очекивање'
CODE_500: '500 - Интерна грешка сервера'
CODE_501: '501 - Није имплементирано'
CODE_502: '502 - Погрешан мрежни пролаз'
CODE_503: '503 - Сервис није доступан'
CODE_504: '504 - Временски истек мрежног пролаза'
CODE_505: '505 - HTTP верзија није подржана'
DEFAULTERRORPAGECONTENT: '<p>Извињавамо се, изгледа да покушавате да приступите страници која не постоји.</p><p>Молимо Вас проверите URL којем покушавате да приступите и покушајте поново.</p>'
DEFAULTERRORPAGETITLE: 'Страница није пронађена'
DEFAULTSERVERERRORPAGECONTENT: '<p>Извињавамо се, постоји проблем при обради Вашег захтева.</p>'
DEFAULTSERVERERRORPAGETITLE: 'Грешка сервера'
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: 'Страници за преусмеравање није подешено одредиште на које преусмерава.'
HEADER: 'Ова страница ће преусмерити кориснике на другу страницу'

View File

@ -55,35 +55,6 @@ sr_RS@latin:
SilverStripe\CMS\Forms\SiteTreeURLSegmentField:
EMPTY: 'Molimo Vas da unesete segment URL-a ili kliknete na Odustani'
HelpChars: 'Specijalni karakteri su automatski konvertovani ili uklonjeni.'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Kôd greške'
CODE_400: '400 - Loš zahtev'
CODE_401: '401 - Neautorizovano'
CODE_403: '403 - Zabranjeno'
CODE_404: '404 - Nije pronađeno'
CODE_405: '405 - Metoda nije dozvoljena'
CODE_406: '406 - Nije prihvatljivo'
CODE_407: '407 - Potrebna identifikacija proksija'
CODE_408: '408 - Zahtev istekao'
CODE_409: '409 - Konflikt'
CODE_410: '410 - Udaljeno'
CODE_411: '411 - Potrebna dužina'
CODE_412: '412 - Neuspešan preduslov'
CODE_413: '413 - Zahtevani entitet prevelik'
CODE_414: '414 - Zahtevani URI predugačak'
CODE_415: '415 - Nepodržan tip medija'
CODE_416: '416 - Traženi opseg nije zadovoljiv'
CODE_417: '417 - Neuspelo očekivanje'
CODE_500: '500 - Interna greška servera'
CODE_501: '501 - Nije implementirano'
CODE_502: '502 - Pogrešan mrežni prolaz'
CODE_503: '503 - Servis nije dostupan'
CODE_504: '504 - Vremenski istek mrežnog prolaza'
CODE_505: '505 - HTTP verzija nije podržana'
DEFAULTERRORPAGECONTENT: '<p>Izvinjavamo se, izgleda da pokušavate da pristupite stranici koja ne postoji.</p><p>Molimo Vas proverite URL kojem pokušavate da pristupite i pokušajte ponovo.</p>'
DEFAULTERRORPAGETITLE: 'Stranica nije pronađena'
DEFAULTSERVERERRORPAGECONTENT: '<p>Izvinjavamo se, postoji problem pri obradi Vašeg zahteva.</p>'
DEFAULTSERVERERRORPAGETITLE: 'Greška servera'
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: 'Stranici za preusmeravanje nije podešeno odredište na koje preusmerava.'
HEADER: 'Ova stranica će preusmeriti korisnike na drugu stranicu'

View File

@ -89,15 +89,6 @@ sv:
SilverStripe\CMS\Forms\SiteTreeURLSegmentField:
EMPTY: 'Ange ett URL-segment eller klicka på avbryt'
HelpChars: 'Specialtecken konverteras eller tas bort'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Felkod'
DEFAULTERRORPAGECONTENT: '<p>Det verkar som om du försökter komma åt en sida som inte finns.</p><p>Var god kontrollera stavningen på adressen som du försökte nå och försök igen.'
DEFAULTERRORPAGETITLE: 'Sidan hittades inte'
DEFAULTSERVERERRORPAGECONTENT: '<p>Ursäkta, ett fel uppstod vid hanteringen av din förfrågan.</p>'
DEFAULTSERVERERRORPAGETITLE: 'Serverfel'
DESCRIPTION: 'Anpassat innehåll för olika felärenden (t.ex. "Sidan kan inte hittas")'
PLURALNAME: 'Felsidor'
SINGULARNAME: 'Felsida'
SilverStripe\CMS\Model\RedirectorPage:
DESCRIPTION: 'Omdirigerar till en annan intern eller extern sida'
HASBEENSETUP: 'En omdirigeringssida har skapats utan att ha något mål.'

View File

@ -40,35 +40,6 @@ th:
VIEWPAGEIN: 'เปิดดูหน้าเว็บใน:'
SilverStripe\CMS\Forms\SiteTreeURLSegmentField:
HelpChars: 'ตัวอักษรพิเศษได้ถูกแปลงค่าหรือลบออกโดยอัตโนมัติแล้ว'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'รหัสข้อผิดพลาด'
CODE_400: '400 - ข้อความร้องขอที่ส่งมามีความผิดพลาดทางไวยากรณ์ หรือไม่สามารถทำตามการร้องขอนั้นได้'
CODE_401: '401 - ไม่สามารถยืนยันตัวบุคคลได้'
CODE_403: '403 - ไม่สามารถดำเนินการตามที่ร้องขอได้'
CODE_404: '404 - ไม่พบทรัพยากรที่ร้องขอบนเครื่องแม่ข่าย'
CODE_405: '405 - ไม่อนุญาตให้ใช้รูปแบบวิธีการดังกล่าวได้'
CODE_406: '406 - ไม่สามารถยอมรับให้ดำเนินการตามที่ร้องขอได้'
CODE_407: '407 - จำเป็นต้องมีการพิสูจน์ตัวจริงบนพร็อกซีก่อน'
CODE_408: '408 - เครื่องให้บริการรอรับข้อความร้องขอจนหมดเวลา'
CODE_409: '409 - การร้องขอนั้นไม่สามารถประมวลผลได้ เนื่องจากเกิดข้อขัดแย้งในข้อความร้องขอ'
CODE_410: '410 - ทรัพยากรที่ร้องขอไม่มีอยู่ และจะไม่กลับมามีอีกต่อไป'
CODE_411: '411 - ข้อความร้องขอไม่ได้ระบุขนาดของเนื้อหามาในส่วนหัว '
CODE_412: '412 - เครื่องแม่ข่ายไม่สามารถทำตามเงื่อนไขอย่างใดอย่างหนึ่งที่ให้ไว้โดยผู้ทำการร้องขอได้'
CODE_413: '413 - ทรัพยากรที่ร้องขอใหญ่เกินกว่าที่จะส่งด้วยโพรโทคอลปัจจุบันได้'
CODE_414: '414 - ตัวระบุแหล่งทรัพยากรสากลยาวเกินกว่าที่เครื่องให้บริการจะประมวลผล'
CODE_415: '415 - ข้อความร้องขอไม่ได้ระบุแบบชนิดสื่ออินเทอร์เน็ตที่เครื่องแม่ข่ายหรือทรัพยากรนั้นรองรับ'
CODE_416: '416 - เครื่องลูกข่ายร้องขอเนื้อหาบางส่วนของไฟล์ แต่เครื่องแม่ข่ายไม่สามารถจัดหาช่วงข้อมูลนั้นได้ '
CODE_417: '417 - ส่วนหัว Expect ที่ส่งมาจากเครื่องลูกข่าย ยังไม่เพียงพอต่อความต้องการของเครื่องให้บริการ'
CODE_500: '500 - พบข้อผิดพลาดภายในเซิร์ฟเวอร์'
CODE_501: '501 - ยังไม่ได้ดำเนินการ'
CODE_502: '502 - เครื่องแม่ข่ายกำลังทำหน้าที่เป็นเกตเวย์หรือพร็อกซี และได้รับข้อความตอบรับที่ผิดพลาดจากเครื่องให้บริการเบื้องหลัง'
CODE_503: '503 - เครื่องแม่ข่ายยังไม่ให้บริการในปัจจุบัน '
CODE_504: '504 - หมดเวลารอรับข้อมูลจากเครื่องแม่ข่ายที่กำลังทำหน้าที่เป็นเกตเวย์หรือพร็อกซี่'
CODE_505: '505 - เครื่องแม่ข่ายไม่รองรับรุ่นของเอชทีทีพีที่ใช้ในข้อความร้องขอ'
DEFAULTERRORPAGECONTENT: '<p>ขออภัย, แต่คุณดูเหมือนกำลังพยายามที่จะเข้าถึงหน้าเว็บที่ไม่มีอยู่ในระบบ.</p><p>กรุณาตรวจสอบการสะกดคำของ URL ของหน้าเว็บที่คุณพยายามจะเข้าถึงแล้วลองใหม่อีกครั้ง.</p>'
DEFAULTERRORPAGETITLE: 'ไม่พบหน้าที่ต้องการ'
DEFAULTSERVERERRORPAGECONTENT: '<p>ขออภัย, เกิดข้อผิดพลาดบางประการในการจัดการตามคำร้องขอของคุณ</p>'
DEFAULTSERVERERRORPAGETITLE: 'เซิร์ฟเวอร์เกิดข้อผิดพลาด'
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: 'หน้าเว็บที่มีการเปลี่ยนเส้นทางซึ่งได้รับการตั้งค่าโดยปราศจากตำแหน่งปลายทางที่ต้องการเปลี่ยนเส้นทางไป'
HEADER: 'หน้าเว็บนี้จะเปลี่ยนเส้นทางผู้ใช้งานไปยังหน้าเว็บอื่นๆ'

View File

@ -16,33 +16,6 @@ tr:
INSTALL_SUCCESS: 'Kurulum Başarılı!'
LOGOUT: ıkış Yap'
NOTEWONTBESHOWN: 'Not: Bu mesaj ziyaretçilerinize gösterilmeyecektir.'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Hata kodu'
CODE_400: '400 - Hatalı İstek'
CODE_401: '401 - Erişim Engellenmiş'
CODE_403: '403 - Yasak'
CODE_404: '404 - Bulunamadı'
CODE_405: '405 - Bilinmeyen Metod'
CODE_406: '406 - İstemciye Uygun Cevap Bulunamadı'
CODE_407: '407 - Yetkili Sunucu Erişim Hatası'
CODE_408: '408 - İstek Zaman Aşımı Hatası'
CODE_409: '409 - Çakışma'
CODE_410: '410 - En Saçma HTTP Hatası'
CODE_411: '411 - Uzunluk Belirtilmemiş'
CODE_412: '412 - Önşart Hatası'
CODE_413: '413 - İstek Çok Büyük'
CODE_414: '414 - İstek-URI Çok Uzun'
CODE_415: '415 - Desteklenmeyen Medya Tipi'
CODE_416: '416 - İstek Aralığı Tatmin Edici Değil'
CODE_417: '417 - Beklenti Hatası'
CODE_500: '500 - Dahili Sunucu Hatası'
CODE_501: '501 - Uygulanmamış'
CODE_502: '502 - Hatalı Arayapı'
CODE_503: '503 - Servis Mevcut Değil'
CODE_504: '504 - Arayapı Zaman Aşımı'
CODE_505: '505 - HTTP Versiyonu Desteklenmiyor'
DEFAULTERRORPAGECONTENT: '<p>Varolmayan bir sayfaya ulaşmaya çalışıyorsunuz.</p><p>Lütfen ulaşmak istediğiniz URL''i kontrol edip tekrar deneyiniz.</p>'
DEFAULTERRORPAGETITLE: 'Sayfa bulunamadı'
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: 'Yönlendirilecek yeri olmayan bir yönlendirme sayfası ayarlandı.'
HEADER: 'Bu sayfa, kullanıcıları başka bir sayfaya yönlendirir'

View File

@ -35,12 +35,6 @@ uk:
VIEWPAGEIN: 'Переглянути сторінку в:'
SilverStripe\CMS\Forms\SiteTreeURLSegmentField:
HelpChars: 'Спеціальні символи автоматично перетворені або видалені.'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Код помилки'
DEFAULTERRORPAGECONTENT: '<p>Вибачте, але такої сторінки не існує.</p><p>Перевірте, будь-ласка, правильність URL та спробуйте ще раз.</p>'
DEFAULTERRORPAGETITLE: 'Сторінку не знайдено'
DEFAULTSERVERERRORPAGECONTENT: '<p>Вибачте, під час опрацювання вашого запиту сталася помилка.</p>'
DEFAULTSERVERERRORPAGETITLE: 'Помилка сервера'
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: 'Сторінка перенаправлення була встановлена без указання цілі перенаправлення'
HEADER: 'Ця сторінка перенаправляє користувачів на іншу сторінку'

View File

@ -1,10 +1,6 @@
vi_VN:
SilverStripe\CMS\Controllers\CMSMain:
PAGENOTEXISTS: 'Không tìm thấy trang này.'
SilverStripe\CMS\Model\ErrorPage:
CODE: 'Mã lỗi'
DEFAULTERRORPAGECONTENT: '<p>Bạn truy cập vào một trang không tồn tại</p><p>Xin vui lòng kiểm tra lại đường dẩn hoặc quay lại trang chủ</p>'
DEFAULTERRORPAGETITLE: 'Không tìm thấy'
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: 'Một trang di chuyển chưa cấu hình đích di chuyển đến.'
HEADER: 'Trang này sẽ di chuyển người dùng đến một trang khác'

View File

@ -55,35 +55,6 @@ zh:
SilverStripe\CMS\Forms\SiteTreeURLSegmentField:
EMPTY: '请输入一个URL分类或点击“取消”'
HelpChars: '特殊字符已自动转换或删除。'
SilverStripe\CMS\Model\ErrorPage:
CODE: '错误代码'
CODE_400: '400 - 错误请求'
CODE_401: '401 - 未授权'
CODE_403: '403 - 禁止'
CODE_404: '404 - 未找到'
CODE_405: '405 - 不允许使用该方法'
CODE_406: '406 - 不接受'
CODE_407: '407 - 要求代理身份验证'
CODE_408: '408 - 请求超时'
CODE_409: '409 - 冲突'
CODE_410: '410 - 已失效'
CODE_411: '411 - 需要内容长度'
CODE_412: '412 - 前提条件失败'
CODE_413: '413 - 请求实体太大'
CODE_414: '414 - 请求的URI太长'
CODE_415: '415 - 不支持的媒体类型'
CODE_416: '416 - 请求的范围无法满足'
CODE_417: '417 - 预期失败'
CODE_500: '500 - 服务器内部错误'
CODE_501: '501 - 未实现'
CODE_502: '502 - 网关错误'
CODE_503: '503 - 服务不可用'
CODE_504: '504 - 网关超时'
CODE_505: '505 - HTTP版本不支持'
DEFAULTERRORPAGECONTENT: '<p>对不起,您正在尝试访问不存在的页面。</p><p>请检查您想要访问的URL的拼写并再试一次。</p>'
DEFAULTERRORPAGETITLE: '未发现页面'
DEFAULTSERVERERRORPAGECONTENT: '<p>对不起,处理您的请求时发生错误。</p>'
DEFAULTSERVERERRORPAGETITLE: '服务器错误'
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: '建立了一个没有任何跳转目标的重定向页。'
HEADER: '该页面将会使用户转向另外一个页面'

View File

@ -4,8 +4,6 @@ zh_CN:
PUBALLCONFIRM: '请发布该站的每一网页,这样,预备发布站上的内容就会复制到正式发布站上'
PUBALLFUN: '“全部发布“功能'
REMOVEDPAGEFROMDRAFT: '已从测试站点删除 ''%s'''
SilverStripe\CMS\Model\ErrorPage:
CODE: '错误代码'
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: '重导网页被生成,却没有什么地方由它来重导。'
HEADER: '该页会将用户重新导向另一网页'

View File

@ -14,12 +14,6 @@ zh_TW:
Title: '所有網頁'
SilverStripe\CMS\Controllers\ContentController:
NOTEWONTBESHOWN: '備註: 此訊息將不會顯示給您的訪客看'
SilverStripe\CMS\Model\ErrorPage:
CODE: '錯誤代碼'
DEFAULTERRORPAGECONTENT: '<p>抱歉, 看來您正再嘗試存取一個不存在的網頁</p><p>請檢查您正在嘗試存取網址的拼寫並再試一次.</p>'
DEFAULTERRORPAGETITLE: '未發現網頁'
DEFAULTSERVERERRORPAGECONTENT: '<p>抱歉, 處裡您的要求發生一個問題</p>'
DEFAULTSERVERERRORPAGETITLE: '伺服器錯誤'
SilverStripe\CMS\Model\RedirectorPage:
HASBEENSETUP: '沒有任何地方被重新導向的一個重新導向網頁已被設定.'
HEADER: '本網頁將重新導向用戶至別的網頁'

View File

@ -19,10 +19,10 @@ Feature: Search for a page
But I should not see "Contact Us" in the tree
Scenario: I can search for a page by its type
Given a "Error Page" "My Error Page"
When I select "Error Page" from "Page type"
Given a "Virtual Page" "My Virtual Page"
When I select "Virtual Page" from "Page type"
And I press the "Search" button
Then I should see "My Error Page" in the tree
Then I should see "My Virtual Page" in the tree
But I should not see "Contact Us" in the tree
Scenario: I can search for a page by its oldest last edited date

View File

@ -1,67 +0,0 @@
<?php
use SilverStripe\Assets\File;
use SilverStripe\Assets\Tests\Storage\AssetStoreTest\TestAssetStore;
use SilverStripe\Dev\SapphireTest;
use SilverStripe\Security\Security;
use SilverStripe\Versioned\Versioned;
use SilverStripe\View\Parsers\ShortcodeParser;
class ErrorPageFileExtensionTest extends SapphireTest
{
protected static $fixture_file = 'ErrorPageTest.yml';
protected $versionedMode = null;
public function setUp()
{
parent::setUp();
$this->versionedMode = Versioned::get_reading_mode();
Versioned::set_stage(Versioned::DRAFT);
TestAssetStore::activate('ErrorPageFileExtensionTest');
$file = new File();
$file->setFromString('dummy', 'dummy.txt');
$file->write();
}
public function tearDown()
{
Versioned::set_reading_mode($this->versionedMode);
TestAssetStore::reset();
parent::tearDown(); // TODO: Change the autogenerated stub
}
public function testErrorPage()
{
// Get and publish records
$notFoundPage = $this->objFromFixture('SilverStripe\\CMS\\Model\\ErrorPage', '404');
$notFoundPage->copyVersionToStage(Versioned::DRAFT, Versioned::LIVE);
$notFoundLink = $notFoundPage->Link();
$disallowedPage = $this->objFromFixture('SilverStripe\\CMS\\Model\\ErrorPage', '403');
$disallowedPage->copyVersionToStage(Versioned::DRAFT, Versioned::LIVE);
$disallowedLink = $disallowedPage->Link();
// Get stage version of file
$file = File::get()->first();
$fileLink = $file->Link();
Security::setCurrentUser(null);
// Generate shortcode for a file which doesn't exist
$shortcode = File::handle_shortcode(array('id' => 9999), null, new ShortcodeParser(), 'file_link');
$this->assertEquals($notFoundLink, $shortcode);
$shortcode = File::handle_shortcode(array('id' => 9999), 'click here', new ShortcodeParser(), 'file_link');
$this->assertEquals(sprintf('<a href="%s">%s</a>', $notFoundLink, 'click here'), $shortcode);
// Test that user cannot view draft file
$shortcode = File::handle_shortcode(array('id' => $file->ID), null, new ShortcodeParser(), 'file_link');
$this->assertEquals($disallowedLink, $shortcode);
$shortcode = File::handle_shortcode(array('id' => $file->ID), 'click here', new ShortcodeParser(), 'file_link');
$this->assertEquals(sprintf('<a href="%s">%s</a>', $disallowedLink, 'click here'), $shortcode);
// Authenticated users don't get the same error
$this->logInWithPermission('ADMIN');
$shortcode = File::handle_shortcode(array('id' => $file->ID), null, new ShortcodeParser(), 'file_link');
$this->assertEquals($fileLink, $shortcode);
}
}

View File

@ -1,149 +0,0 @@
<?php
use SilverStripe\Versioned\Versioned;
use SilverStripe\CMS\Model\ErrorPage;
use SilverStripe\CMS\Controllers\ContentController;
use SilverStripe\Core\Config\Config;
use SilverStripe\Dev\FunctionalTest;
use SilverStripe\Assets\Tests\Storage\AssetStoreTest\TestAssetStore;
use SilverStripe\Control\HTTPResponse_Exception;
/**
* @package cms
* @subpackage tests
*/
class ErrorPageTest extends FunctionalTest
{
protected static $fixture_file = 'ErrorPageTest.yml';
/**
* Location of temporary cached files
*
* @var string
*/
protected $tmpAssetsPath = '';
public function setUp()
{
parent::setUp();
// Set temporary asset backend store
TestAssetStore::activate('ErrorPageTest');
Config::modify()->set(ErrorPage::class, 'enable_static_file', true);
$this->logInWithPermission('ADMIN');
}
public function tearDown()
{
TestAssetStore::reset();
parent::tearDown();
}
public function test404ErrorPage()
{
/** @var ErrorPage $page */
$page = $this->objFromFixture(ErrorPage::class, '404');
// ensure that the errorpage exists as a physical file
$page->copyVersionToStage(Versioned::DRAFT, Versioned::LIVE);
$response = $this->get('nonexistent-page');
/* We have body text from the error page */
$this->assertNotNull($response->getBody(), 'We have body text from the error page');
/* Status code of the HTTPResponse for error page is "404" */
$this->assertEquals($response->getStatusCode(), '404', 'Status code of the HTTPResponse for error page is "404"');
/* Status message of the HTTPResponse for error page is "Not Found" */
$this->assertEquals($response->getStatusDescription(), 'Not Found', 'Status message of the HTTResponse for error page is "Not found"');
}
public function testBehaviourOfShowInMenuAndShowInSearchFlags()
{
$page = $this->objFromFixture(ErrorPage::class, '404');
/* Don't show the error page in the menus */
$this->assertEquals($page->ShowInMenus, 0, 'Don\'t show the error page in the menus');
/* Don't show the error page in the search */
$this->assertEquals($page->ShowInSearch, 0, 'Don\'t show the error page in search');
}
public function testBehaviourOf403()
{
/** @var ErrorPage $page */
$page = $this->objFromFixture(ErrorPage::class, '403');
$page->copyVersionToStage(Versioned::DRAFT, Versioned::LIVE);
try {
$controller = singleton(ContentController::class);
$controller->httpError(403);
$this->fail('Expected exception to be thrown');
} catch (HTTPResponse_Exception $e) {
$response = $e->getResponse();
$this->assertEquals($response->getStatusCode(), '403');
$this->assertNotNull($response->getBody(), 'We have body text from the error page');
}
}
public function testSecurityError()
{
// Generate 404 page
/** @var ErrorPage $page */
$page = $this->objFromFixture(ErrorPage::class, '404');
$page->copyVersionToStage(Versioned::DRAFT, Versioned::LIVE);
// Test invalid action
$response = $this->get('Security/nosuchaction');
$this->assertEquals($response->getStatusCode(), '404');
$this->assertNotNull($response->getBody());
$this->assertContains('text/html', $response->getHeader('Content-Type'));
}
public function testStaticCaching()
{
// Test new error code does not have static content
$error = ErrorPage::get_content_for_errorcode('401');
$this->assertEmpty($error);
$expectedErrorPagePath = TestAssetStore::base_path() . '/error-401.html';
$this->assertFileNotExists($expectedErrorPagePath, 'Error page is not automatically cached');
// Write new 401 page
$page = new ErrorPage();
$page->Title = '401 Error';
$page->ErrorCode = 401;
$page->Title = 'Unauthorised';
$page->write();
$page->publishRecursive();
// Static cache should now exist
$this->assertNotEmpty(ErrorPage::get_content_for_errorcode('401'));
$expectedErrorPagePath = TestAssetStore::base_path() . '/error-401.html';
$this->assertFileExists($expectedErrorPagePath, 'Error page is cached');
}
/**
* Test fallback to file generation API with enable_static_file disabled
*/
public function testGeneratedFile()
{
Config::modify()->set(ErrorPage::class, 'enable_static_file', false);
$this->logInWithPermission('ADMIN');
$page = new ErrorPage();
$page->ErrorCode = 405;
$page->Title = 'Method Not Allowed';
$page->write();
$page->publishRecursive();
// Dynamic content is available
$response = ErrorPage::response_for('405');
$this->assertNotEmpty($response);
$this->assertNotEmpty($response->getBody());
$this->assertEquals(405, (int)$response->getStatusCode());
// Static content is not available
$this->assertEmpty(ErrorPage::get_content_for_errorcode('405'));
$expectedErrorPagePath = TestAssetStore::base_path() . '/error-405.html';
$this->assertFileNotExists($expectedErrorPagePath, 'Error page is not cached in static location');
}
}

View File

@ -1,11 +0,0 @@
SilverStripe\CMS\Model\ErrorPage:
404:
Title: Page Not Found
URLSegment: page-not-found
Content: My error page body
ErrorCode: 404
403:
Title: Permission Failure
URLSegment: permission-denied
Content: You do not have permission to view this page
ErrorCode: 403

View File

@ -14,8 +14,3 @@ Page:
RedirectionType: Internal
Title: RedirectorPageToBrokenInteralPage
LinkTo: =>Page.content
SilverStripe\CMS\Model\ErrorPage:
404:
Title: Page not Found
ErrorCode: 404

View File

@ -1,6 +1,5 @@
<?php
use SilverStripe\CMS\Model\ErrorPage;
use SilverStripe\CMS\Model\RedirectorPage;
use SilverStripe\CMS\Model\VirtualPage;
use SilverStripe\Control\ContentNegotiator;
@ -345,7 +344,6 @@ class SiteTreeTest extends SapphireTest
$about = $this->objFromFixture('Page', 'about');
$staff = $this->objFromFixture('Page', 'staff');
$product = $this->objFromFixture('Page', 'product1');
$notFound = $this->objFromFixture(ErrorPage::class, '404');
SiteTree::config()->nested_urls = false;
@ -354,7 +352,6 @@ class SiteTreeTest extends SapphireTest
$this->assertEquals($about->ID, SiteTree::get_by_link($about->Link(), false)->ID);
$this->assertEquals($staff->ID, SiteTree::get_by_link($staff->Link(), false)->ID);
$this->assertEquals($product->ID, SiteTree::get_by_link($product->Link(), false)->ID);
$this->assertEquals($notFound->ID, SiteTree::get_by_link($notFound->Link(), false)->ID);
Config::inst()->update(SiteTree::class, 'nested_urls', true);
@ -363,7 +360,6 @@ class SiteTreeTest extends SapphireTest
$this->assertEquals($about->ID, SiteTree::get_by_link($about->Link(), false)->ID);
$this->assertEquals($staff->ID, SiteTree::get_by_link($staff->Link(), false)->ID);
$this->assertEquals($product->ID, SiteTree::get_by_link($product->Link(), false)->ID);
$this->assertEquals($notFound->ID, SiteTree::get_by_link($notFound->Link(), false)->ID);
$this->assertEquals(
$staff->ID,
@ -788,17 +784,12 @@ class SiteTreeTest extends SapphireTest
public function testIsCurrent()
{
$aboutPage = $this->objFromFixture('Page', 'about');
$errorPage = $this->objFromFixture(ErrorPage::class, '404');
$productPage = $this->objFromFixture('Page', 'products');
Director::set_current_page($aboutPage);
$this->assertTrue($aboutPage->isCurrent(), 'Assert that basic isSection checks works.');
$this->assertFalse($errorPage->isCurrent());
$this->assertTrue($aboutPage->isCurrent(), 'Assert that basic isCurrent checks works.');
$this->assertFalse($productPage->isCurrent());
Director::set_current_page($errorPage);
$this->assertTrue($errorPage->isCurrent(), 'Assert isSection works on error pages.');
$this->assertFalse($aboutPage->isCurrent());
Director::set_current_page($aboutPage);
$this->assertTrue(
DataObject::get_one(SiteTree::class, array(
'"SiteTree"."Title"' => 'About Us'

View File

@ -117,11 +117,6 @@ SiteTreeTest_Conflicted:
parent:
Title: Parent
SilverStripe\CMS\Model\ErrorPage:
404:
Title: Page not Found
ErrorCode: 404
SilverStripe\CMS\Model\RedirectorPage:
external:
Title: External