aboutsummaryrefslogtreecommitdiff
path: root/app/FreshRSS.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2015-05-10 18:23:17 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2015-05-10 18:23:17 +0200
commit3837e4ced58b699735bfad4ec6d3055999587093 (patch)
tree16d26f3822ea9cb345409182b7d56846c766d7dc /app/FreshRSS.php
parente6aeade47a2cbce576dd9beca73192ae2b28200c (diff)
parent79f0f2bbb48f5f4fb1ebd9350bf9bf6e1182e6cf (diff)
Merge branch 'FreshRSS/dev' into dev
Diffstat (limited to 'app/FreshRSS.php')
-rw-r--r--app/FreshRSS.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/FreshRSS.php b/app/FreshRSS.php
index 021687999..044de9cd4 100644
--- a/app/FreshRSS.php
+++ b/app/FreshRSS.php
@@ -63,10 +63,11 @@ class FreshRSS extends Minz_FrontController {
// Basic protection against XSRF attacks
FreshRSS_Auth::removeAccess();
$http_referer = empty($_SERVER['HTTP_REFERER']) ? '' : $_SERVER['HTTP_REFERER'];
+ Minz_Translate::init('en'); //TODO: Better choice of fallback language
Minz_Error::error(
403,
array('error' => array(
- _t('access_denied'),
+ _t('feedback.access.denied'),
' [HTTP_REFERER=' . htmlspecialchars($http_referer) . ']'
))
);