From a6469aeed88a400d5d38d75a210417de4af4eea7 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sat, 25 Sep 2010 12:10:36 -0700 Subject: [PATCH] Fix PHP syntax errors introduced during localization fixups in a few files. --- actions/groupmembers.php | 2 +- plugins/CasAuthentication/CasAuthenticationPlugin.php | 6 +++--- plugins/Imap/ImapPlugin.php | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/actions/groupmembers.php b/actions/groupmembers.php index 038d1db68a..d03d0b5a3a 100644 --- a/actions/groupmembers.php +++ b/actions/groupmembers.php @@ -400,7 +400,7 @@ class GroupBlockForm extends Form 'submit', null, // TRANS: Submit button title. - _m('TOOLTIP',_('Block this user')); + _m('TOOLTIP', 'Block this user')); } } diff --git a/plugins/CasAuthentication/CasAuthenticationPlugin.php b/plugins/CasAuthentication/CasAuthenticationPlugin.php index 6b751a0aa4..71e54d41f9 100644 --- a/plugins/CasAuthentication/CasAuthenticationPlugin.php +++ b/plugins/CasAuthentication/CasAuthenticationPlugin.php @@ -125,13 +125,13 @@ class CasAuthenticationPlugin extends AuthenticationPlugin function onInitializePlugin(){ parent::onInitializePlugin(); if(!isset($this->server)){ - throw new Exception(_m("Specifying a server is required."); + throw new Exception(_m("Specifying a server is required.")); } if(!isset($this->port)){ - throw new Exception(_m("Specifying a port is required."); + throw new Exception(_m("Specifying a port is required.")); } if(!isset($this->path)){ - throw new Exception(_m("Specifying a path is required."); + throw new Exception(_m("Specifying a path is required.")); } //These values need to be accessible to a action object //I can't think of any other way than global variables diff --git a/plugins/Imap/ImapPlugin.php b/plugins/Imap/ImapPlugin.php index 1661ed86ea..8d8dbf223f 100644 --- a/plugins/Imap/ImapPlugin.php +++ b/plugins/Imap/ImapPlugin.php @@ -54,7 +54,7 @@ class ImapPlugin extends Plugin throw new Exception(_m("A mailbox must be specified.")); } if(!isset($this->user)){ - throw new Exception(_m("A user must be specified."); + throw new Exception(_m("A user must be specified.")); } if(!isset($this->password)){ throw new Exception(_m("A password must be specified."));