From dbb20f8cd720ed56f48dc334df63743565d0c1b5 Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Wed, 3 Aug 2016 11:37:48 +0000 Subject: [PATCH] Authentication : change the gettext git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2987 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- authentication.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/authentication.php b/authentication.php index 82d2be9..0183d0d 100644 --- a/authentication.php +++ b/authentication.php @@ -187,7 +187,8 @@ class authentication LOG_WARNING, "Logging error for '$authparams->email' (REST) : $res"); // Authentication error - throw new \Exception (_("Authentication error"), 403); + throw new \Exception (dgettext ("domframework", + "Authentication error"), 403); } return $res; }