diff options
| author | Nathan Guse <nathaniel.guse@gmail.com> | 2012-10-31 11:11:33 -0400 |
|---|---|---|
| committer | Oleg Pudeyev <oleg@bsdpower.com> | 2012-11-17 16:40:00 -0500 |
| commit | 4ed9e4124e592ddb7fe2696e45261e74edb89ddd (patch) | |
| tree | 1986d4cbf5f0fdfe1d311d43ee76eca7c97dba8a | |
| parent | 2fb40060562dc7efcfda06cde05c2abb78a2c3c2 (diff) | |
| download | forums-4ed9e4124e592ddb7fe2696e45261e74edb89ddd.tar forums-4ed9e4124e592ddb7fe2696e45261e74edb89ddd.tar.gz forums-4ed9e4124e592ddb7fe2696e45261e74edb89ddd.tar.bz2 forums-4ed9e4124e592ddb7fe2696e45261e74edb89ddd.tar.xz forums-4ed9e4124e592ddb7fe2696e45261e74edb89ddd.zip | |
[feature/template-events] Wording: wrongly -> improperly.
PHPBB3-9550
| -rw-r--r-- | phpBB/includes/template/filter.php | 4 | ||||
| -rw-r--r-- | phpBB/language/en/common.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/template/filter.php b/phpBB/includes/template/filter.php index 8c102ea0fe..8df43e5b01 100644 --- a/phpBB/includes/template/filter.php +++ b/phpBB/includes/template/filter.php @@ -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; diff --git a/phpBB/language/en/common.php b/phpBB/language/en/common.php index 5fc1b21e4f..feb5c18d84 100644 --- a/phpBB/language/en/common.php +++ b/phpBB/language/en/common.php @@ -186,7 +186,7 @@ $lang = array_merge($lang, array( 'ERR_CONNECTING_SERVER' => 'Error connecting to the server.', 'ERR_JAB_AUTH' => 'Could not authorise on Jabber server.', 'ERR_JAB_CONNECT' => 'Could not connect to Jabber server.', - 'ERR_TEMPLATE_EVENT_LOCATION' => 'The specified template event location <em>[%s]</em> is wrongly formatted.', + 'ERR_TEMPLATE_EVENT_LOCATION' => 'The specified template event location <em>[%s]</em> is improperly formatted.', 'ERR_UNABLE_TO_LOGIN' => 'The specified username or password is incorrect.', 'ERR_UNWATCHING' => 'An error occured while trying to unsubscribe.', 'ERR_WATCHING' => 'An error occured while trying to subscribe.', |
