mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[ticket/14269] Fix comments and language var names
PHPBB3-14269
This commit is contained in:
parent
93b37b24c2
commit
02a9264780
4 changed files with 6 additions and 6 deletions
|
@ -83,8 +83,8 @@ $lang = array_merge($lang, array(
|
||||||
|
|
||||||
'ACP_LINK' => 'Take me to <a href="%1$s">the ACP</a>',
|
'ACP_LINK' => 'Take me to <a href="%1$s">the ACP</a>',
|
||||||
|
|
||||||
'INSTALL_PHPBB_IS_ALREADY_INSTALLED' => 'phpBB is already installed.',
|
'INSTALL_PHPBB_INSTALLED' => 'phpBB is already installed.',
|
||||||
'INSTALL_PHPBB_IS_NOT_INSTALLED' => 'phpBB is not installed yet.'
|
'INSTALL_PHPBB_NOT_INSTALLED' => 'phpBB is not installed yet.'
|
||||||
));
|
));
|
||||||
|
|
||||||
// Requirements translation
|
// Requirements translation
|
||||||
|
|
|
@ -105,7 +105,7 @@ class install
|
||||||
{
|
{
|
||||||
if ($this->install_helper->is_phpbb_installed())
|
if ($this->install_helper->is_phpbb_installed())
|
||||||
{
|
{
|
||||||
throw new http_exception(404, 'INSTALL_PHPBB_IS_ALREADY_INSTALLED');
|
throw new http_exception(404, 'INSTALL_PHPBB_INSTALLED');
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->template->assign_vars(array(
|
$this->template->assign_vars(array(
|
||||||
|
|
|
@ -103,7 +103,7 @@ class update
|
||||||
{
|
{
|
||||||
if (!$this->install_helper->is_phpbb_installed())
|
if (!$this->install_helper->is_phpbb_installed())
|
||||||
{
|
{
|
||||||
throw new http_exception(404, 'INSTALL_PHPBB_IS_NOT_INSTALLED');
|
throw new http_exception(404, 'INSTALL_PHPBB_NOT_INSTALLED');
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->template->assign_vars(array(
|
$this->template->assign_vars(array(
|
||||||
|
|
|
@ -112,9 +112,9 @@ class kernel_exception_subscriber implements EventSubscriberInterface
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns an array of the events the object is subscribed to
|
* Returns an array of events the object is subscribed to
|
||||||
*
|
*
|
||||||
* @return array Array of the events the object is subscribed to
|
* @return array Array of events the object is subscribed to
|
||||||
*/
|
*/
|
||||||
static public function getSubscribedEvents()
|
static public function getSubscribedEvents()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue