1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/11413] Translate the error

PHPBB3-11413
This commit is contained in:
Nathan Guse
2013-05-10 13:42:54 -05:00
parent c9ff315132
commit 7d66a9ad52
2 changed files with 2 additions and 1 deletions

View File

@@ -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(