mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-04 21:44:57 +02:00
Fix bug #47495 - Move hardcoded language string to language file.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9765 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
dce2a9b039
commit
955939ee1b
@ -548,7 +548,9 @@ class base_extractor
|
|||||||
|
|
||||||
if (!$this->fp)
|
if (!$this->fp)
|
||||||
{
|
{
|
||||||
trigger_error('Unable to write temporary file to storage folder', E_USER_ERROR);
|
global $user;
|
||||||
|
|
||||||
|
trigger_error($user->lang['FILE_WRITE_FAIL'], E_USER_ERROR);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -54,6 +54,7 @@ $lang = array_merge($lang, array(
|
|||||||
'DOWNLOAD_BACKUP' => 'Download backup',
|
'DOWNLOAD_BACKUP' => 'Download backup',
|
||||||
|
|
||||||
'FILE_TYPE' => 'File type',
|
'FILE_TYPE' => 'File type',
|
||||||
|
'FILE_WRITE_FAIL' => 'Unable to write file to storage folder.',
|
||||||
'FULL_BACKUP' => 'Full',
|
'FULL_BACKUP' => 'Full',
|
||||||
|
|
||||||
'RESTORE_FAILURE' => 'The backup file may be corrupt.',
|
'RESTORE_FAILURE' => 'The backup file may be corrupt.',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user