]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix PHP syntax errors introduced during localization fixups in a few files.
authorBrion Vibber <brion@pobox.com>
Sat, 25 Sep 2010 19:10:36 +0000 (12:10 -0700)
committerBrion Vibber <brion@pobox.com>
Sat, 25 Sep 2010 19:10:36 +0000 (12:10 -0700)
actions/groupmembers.php
plugins/CasAuthentication/CasAuthenticationPlugin.php
plugins/Imap/ImapPlugin.php

index 038d1db68a4af6f7fc46378be06385d704635c44..d03d0b5a3a722be85fdd8920a62eb8139cd7db97 100644 (file)
@@ -400,7 +400,7 @@ class GroupBlockForm extends Form
             'submit',
             null,
             // TRANS: Submit button title.
-            _m('TOOLTIP',_('Block this user'));
+            _m('TOOLTIP', 'Block this user'));
     }
 }
 
index 6b751a0aa4fa9e02b39d688e590e411e7851e682..71e54d41f9127e8a6a5f67d41c0e0e73913213d0 100644 (file)
@@ -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
index 1661ed86eaafc012629c7476c83606105823a21e..8d8dbf223f1a80f57822a1995c574acdce8f1d95 100644 (file)
@@ -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."));