diff options
author | asperous <theandychase@gmail.com> | 2013-04-23 09:55:36 -0700 |
---|---|---|
committer | asperous <theandychase@gmail.com> | 2013-04-23 09:55:36 -0700 |
commit | 9f545a7f6ba7ddd54fae083563b5b582e05f5c1c (patch) | |
tree | 1f10dd793aabb7cfc3e99fbb7c10437d9dc779b7 /phpBB/mcp.php | |
parent | Merge remote-tracking branch 'nickvergessen/ticket/10966-2' into develop (diff) | |
download | phpbb-9f545a7f6ba7ddd54fae083563b5b582e05f5c1c.tar.gz phpbb-9f545a7f6ba7ddd54fae083563b5b582e05f5c1c.tar.bz2 phpbb-9f545a7f6ba7ddd54fae083563b5b582e05f5c1c.zip |
[ticket/9975] Moved a few E_USER_ERROR errors to /language
There were a few error messages that a user could experience that would, previously, be without any the ability to be localized. There are some more E_USER_ERRORs that I did not change to a constant, for example the error message that is displayed if there aren't any folders in /language.
PHPBB3-9975
Diffstat (limited to 'phpBB/mcp.php')
-rw-r--r-- | phpBB/mcp.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/mcp.php b/phpBB/mcp.php index d04a297cf9..c36faad74b 100644 --- a/phpBB/mcp.php +++ b/phpBB/mcp.php @@ -182,7 +182,7 @@ if ($quickmod) break; default: - trigger_error("$action not allowed as quickmod", E_USER_ERROR); + trigger_error($user->lang('QUICKMOD_ACTION_NOT_ALLOWED', $action), E_USER_ERROR); break; } } |