mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/12755] Add language string for timed out remote upload
PHPBB3-12755
This commit is contained in:
parent
0499655ba4
commit
8817b59377
3 changed files with 3 additions and 1 deletions
|
@ -825,7 +825,7 @@ class fileupload
|
|||
// Cancel upload if we exceed timeout
|
||||
if ((time() - $upload_start) >= $this->upload_timeout)
|
||||
{
|
||||
$file = new fileerror($user->lang[$this->error_prefix . 'EMPTY_REMOTE_DATA']);
|
||||
$file = new fileerror($user->lang[$this->error_prefix . 'REMOTE_UPLOAD_TIMEOUT']);
|
||||
return $file;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -88,6 +88,7 @@ $lang = array_merge($lang, array(
|
|||
'AVATAR_PARTIAL_UPLOAD' => 'The specified file was only partially uploaded.',
|
||||
'AVATAR_PHP_SIZE_NA' => 'The avatar’s filesize is too large.<br />The maximum allowed filesize set in php.ini could not be determined.',
|
||||
'AVATAR_PHP_SIZE_OVERRUN' => 'The avatar’s filesize is too large. The maximum allowed upload size is %1$d %2$s.<br />Please note this is set in php.ini and cannot be overridden.',
|
||||
'AVATAR_REMOTE_UPLOAD_TIMEOUT' => 'The specified avatar could not be uploaded because the request timed out.',
|
||||
'AVATAR_URL_INVALID' => 'The URL you specified is invalid.',
|
||||
'AVATAR_URL_NOT_FOUND' => 'The file specified could not be found.',
|
||||
'AVATAR_WRONG_FILESIZE' => 'The avatar’s filesize must be between 0 and %1$d %2$s.',
|
||||
|
|
|
@ -178,6 +178,7 @@ $lang = array_merge($lang, array(
|
|||
|
||||
'QUOTE_DEPTH_EXCEEDED' => 'You may embed only %1$d quotes within each other.',
|
||||
|
||||
'REMOTE_UPLOAD_TIMEOUT' => 'The specified file could not be uploaded because the request timed out.',
|
||||
'SAVE' => 'Save',
|
||||
'SAVE_DATE' => 'Saved at',
|
||||
'SAVE_DRAFT' => 'Save draft',
|
||||
|
|
Loading…
Add table
Reference in a new issue