diff options
author | Andreas Fischer <bantu@phpbb.com> | 2009-07-17 10:11:10 +0000 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2009-07-17 10:11:10 +0000 |
commit | 955939ee1b8f95948c37628ee996a6ac07c305a2 (patch) | |
tree | f346d09d1ddf2e794574b73501304541c7e92f9b | |
parent | dce2a9b039184a8c5dddf4825cf0b6b3081bc3fd (diff) | |
download | forums-955939ee1b8f95948c37628ee996a6ac07c305a2.tar forums-955939ee1b8f95948c37628ee996a6ac07c305a2.tar.gz forums-955939ee1b8f95948c37628ee996a6ac07c305a2.tar.bz2 forums-955939ee1b8f95948c37628ee996a6ac07c305a2.tar.xz forums-955939ee1b8f95948c37628ee996a6ac07c305a2.zip |
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
-rw-r--r-- | phpBB/includes/acp/acp_database.php | 4 | ||||
-rw-r--r-- | phpBB/language/en/acp/database.php | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_database.php b/phpBB/includes/acp/acp_database.php index 1182e224cf..575137ea2d 100644 --- a/phpBB/includes/acp/acp_database.php +++ b/phpBB/includes/acp/acp_database.php @@ -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); } } } diff --git a/phpBB/language/en/acp/database.php b/phpBB/language/en/acp/database.php index 7100fcb1e3..ae8f76d6b7 100644 --- a/phpBB/language/en/acp/database.php +++ b/phpBB/language/en/acp/database.php @@ -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.', |