1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 14:30:32 +02:00

[feature/template-events] Wording: wrongly -> improperly.

PHPBB3-9550
This commit is contained in:
Nathan Guse
2012-10-31 11:11:33 -04:00
committed by Oleg Pudeyev
parent 2fb4006056
commit 4ed9e4124e
2 changed files with 3 additions and 3 deletions

View File

@@ -908,14 +908,14 @@ class phpbb_template_filter extends php_user_filter
{
if (!preg_match('/^\w+$/', $tag_args))
{
// The hook location is wrongly formatted,
// The hook location is improperly formatted,
if ($this->user)
{
trigger_error($this->user->lang('ERR_TEMPLATE_EVENT_LOCATION', $tag_args), E_USER_ERROR);
}
else
{
trigger_error(sprintf('The specified template event location <em>[%s]</em> is wrongly formatted.', $tag_args), E_USER_ERROR);
trigger_error(sprintf('The specified template event location <em>[%s]</em> is improperly formatted.', $tag_args), E_USER_ERROR);
}
}
$location = $tag_args;