1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-28 18:23:00 +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:
Andreas Fischer 2009-07-17 10:11:10 +00:00
parent dce2a9b039
commit 955939ee1b
2 changed files with 4 additions and 1 deletions

View File

@ -548,7 +548,9 @@ class base_extractor
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);
}
}
}

View File

@ -54,6 +54,7 @@ $lang = array_merge($lang, array(
'DOWNLOAD_BACKUP' => 'Download backup',
'FILE_TYPE' => 'File type',
'FILE_WRITE_FAIL' => 'Unable to write file to storage folder.',
'FULL_BACKUP' => 'Full',
'RESTORE_FAILURE' => 'The backup file may be corrupt.',