<?php
/**
* This file is part of Aksara CMS, both framework and publishing
* platform.
*
* @author Aby Dahana <abydahana@gmail.com>
* @copyright (c) Aksara Laboratory <https://aksaracms.com>
* @license MIT License
*
* This source file is subject to the MIT license that is bundled
* with this source code in the LICENSE.txt file.
*
* When the signs come, those who don't believe at "that time"
* will have only two choices, commit suicide or become brutal.
*/
declare(strict_types=1);
/**
* This file is part of CodeIgniter 4 framework.
*
* (c) CodeIgniter Foundation <admin@codeigniter.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
// HTTP language settings
return [
// CurlRequest
'missingCurl' => 'CURLRequest???????????CURL?????????????????', // 'CURL must be enabled to use the CURLRequest class.'
'invalidSSLKey' => 'SSL???????????"{0}" ????????????????', // 'Cannot set SSL Key. "{0}" is not a valid file.'
'sslCertNotFound' => '"{0}" ?SSL???????????', // 'SSL certificate not found at: "{0}"'
'curlError' => '{0} : {1}', // '{0} : {1}'
// IncomingRequest
'invalidNegotiationType' => '"{0}" ?????????????????????????????????????????: media, charset, encoding, language', // '"{0}" is not a valid negotiation type. Must be one of: media, charset, encoding, language.'
'invalidJSON' => 'JSON?????????????????: {0}', // 'Failed to parse JSON string. Error: {0}'
'unsupportedJSONFormat' => '?????JSON???????????????????', // 'The provided JSON format is not supported.'
// Message
'invalidHTTPProtocol' => '???HTTP?????????????: {0}', // 'Invalid HTTP Protocol Version: {0}'
// Negotiate
'emptySupportedNegotiations' => '???????????????????????????????????????', // 'You must provide an array of supported values to all Negotiations.'
// RedirectResponse
'invalidRoute' => '"{0}" ??????????????', // 'The route for "{0}" cannot be found.'
// DownloadResponse
'cannotSetBinary' => '???????????????????????????', // 'When setting filepath cannot set binary.'
'cannotSetFilepath' => '????????????????????????: "{0}"', // 'When setting binary cannot set filepath: "{0}"'
'notFoundDownloadSource' => '??????????????????????', // 'Not found download body source.'
'cannotSetCache' => '?????????????????????????', // 'It does not support caching for downloading.'
'cannotSetStatusCode' => '?????????????????????????????????: {0}, ??: {1}', // 'It does not support change status code for downloading. code: {0}, reason: {1}'
// Response
'missingResponseStatus' => 'HTTP?????????????????????', // 'HTTP Response is missing a status code'
'invalidStatusCode' => '{0} ????HTTP????????????????????', // '{0} is not a valid HTTP return status code'
'unknownStatusCode' => '???????????HTTP??????????: {0}', // 'Unknown HTTP status code provided with no message: {0}'
// URI
'cannotParseURI' => 'URI????????: "{0}"', // 'Unable to parse URI: "{0}"'
'segmentOutOfRange' => '?????URI???????????: "{0}"', // 'Request URI segment is out of range: "{0}"'
'invalidPort' => '????0?65535??????????????: {0}', // 'Ports must be between 0 and 65535. Given: {0}'
'malformedQueryString' => '???????URI?????????????????', // 'Query strings may not include URI fragments.'
// Page Not Found
'pageNotFound' => '????????????', // 'Page Not Found'
'emptyController' => '?????????????????', // 'No Controller specified.'
'controllerNotFound' => '???????????????????????: {0}::{1}', // 'Controller or its method is not found: {0}::{1}'
'methodNotFound' => '???????????????????: "{0}"', // 'Controller method is not found: "{0}"'
'localeNotSupported' => '????????????????: {0}', // 'Locale is not supported: {0}'
// CSRF
'disallowedAction' => '?????????????????????', // 'The action you requested is not allowed.'
// Uploaded file moving
'alreadyMoved' => '??????????????????????', // 'The uploaded file has already been moved.'
'invalidFile' => '?????????????????????????', // 'The original file is not a valid file.'
'moveFailed' => '???? "{0}" ? "{1}" ??????????????: {2}', // 'Could not move file "{0}" to "{1}". Reason: {2}'
'uploadErrOk' => '???????????????????', // 'The file uploaded with success.'
'uploadErrIniSize' => '???? "%s" ? upload_max_filesize ini ?????????????????', // 'The file "%s" exceeds your upload_max_filesize ini directive.'
'uploadErrFormSize' => '???? "%s" ??????????????????????????', // 'The file "%s" exceeds the upload limit defined in your form.'
'uploadErrPartial' => '???? "%s" ????????????????????????', // 'The file "%s" was only partially uploaded.'
'uploadErrNoFile' => '????????????????????', // 'No file was uploaded.'
'uploadErrCantWrite' => '???? "%s"?????????????????', // 'The file "%s" could not be written on disk.'
'uploadErrNoTmpDir' => '???????????????????: ?????????????????', // 'File could not be uploaded: missing temporary directory.'
'uploadErrExtension' => '???????????PHP???????????????', // 'File upload was stopped by a PHP extension.'
'uploadErrUnknown' => '???? "%s" ?????????????????????????', // 'The file "%s" was not uploaded due to an unknown error.'
// SameSite setting
'invalidSameSiteSetting' => 'SameSite????None?Lax?Strict???????????????????????{0}??????????', // 'The SameSite setting must be None, Lax, Strict, or a blank string. Given: {0}'
];
|