1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[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
This commit is contained in:
asperous
2013-04-23 09:55:36 -07:00
parent ab628cbdb9
commit 9f545a7f6b
8 changed files with 14 additions and 9 deletions

View File

@@ -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;
}
}