aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/includes/acp/acp_database.php4
-rw-r--r--phpBB/language/en/acp/database.php1
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.',