aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2013-05-10 13:42:54 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2013-05-10 13:42:54 -0500
commit7d66a9ad525049b8df453ba0325e3dd38fb1157a (patch)
tree43bf645b29ae6b08fd9327cee78c48c2bd4aa12a /phpBB/includes
parentc9ff3151323fd764354dad5538740baa7c9d8104 (diff)
downloadforums-7d66a9ad525049b8df453ba0325e3dd38fb1157a.tar
forums-7d66a9ad525049b8df453ba0325e3dd38fb1157a.tar.gz
forums-7d66a9ad525049b8df453ba0325e3dd38fb1157a.tar.bz2
forums-7d66a9ad525049b8df453ba0325e3dd38fb1157a.tar.xz
forums-7d66a9ad525049b8df453ba0325e3dd38fb1157a.zip
[ticket/11413] Translate the error
PHPBB3-11413
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/notification/manager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/notification/manager.php b/phpBB/includes/notification/manager.php
index a9eb503fb8..bf437e95f0 100644
--- a/phpBB/includes/notification/manager.php
+++ b/phpBB/includes/notification/manager.php
@@ -873,7 +873,7 @@ class phpbb_notification_manager
{
if (!isset($this->notification_types[$notification_type_name]) && !isset($this->notification_types['notification.type.' . $notification_type_name]))
{
- throw new phpbb_notification_exception('Notification type ' . $notification_type_name . ' does not exist');
+ throw new phpbb_notification_exception($user->lang('NOTIFICATION_TYPE_NOT_EXIST', $notification_type_name));
}
$sql = 'INSERT INTO ' . $this->notification_types_table . ' ' . $this->db->sql_build_array('INSERT', array(