public
Description: The ultra-lightweight ultra-flexible blogging engine with a fetish for birds and misspellings.
Homepage: http://chyrp.net/
Clone URL: git://github.com/vito/chyrp.git
Click here to lend your support to: chyrp and make a donation at www.pledgie.com !
Updated xmlrpc.php to use _f().
brucep (author)
Wed Jul 23 18:06:52 -0700 2008
commit  1d3be1f0ead19d190519c75cf9788b4ca5a8a893
tree    95e6be5ec1a01afe8d4c90a7d3d9fae388f2cb9d
parent  b622fd22bd86af6754f9f4dd4c15c3dd1f875b71
...
443
444
445
446
 
447
448
449
...
500
501
502
503
 
504
505
506
...
443
444
445
 
446
447
448
449
...
500
501
502
 
503
504
505
506
0
@@ -443,7 +443,7 @@
0
       global $user;
0
 
0
       if (!in_array(XML_RPC_FEATHER, Config::current()->enabled_feathers))
0
-        throw new Exception(__(sprintf("The %s feather is not enabled.", XML_RPC_FEATHER)));
0
+        throw new Exception(_f("The %s feather is not enabled.", array(XML_RPC_FEATHER)));
0
 
0
       $where = array('feather = :feather');
0
       $params = array(':feather' => XML_RPC_FEATHER);
0
@@ -500,7 +500,7 @@
0
       if ($user->no_results)
0
         throw new Exception(__("Login incorrect."));
0
       else if (!$user->group()->can("{$do}_own_post", "{$do}_post", "{$do}_draft", "{$do}_own_draft"))
0
-        throw new Exception(__(sprintf("You don't have permission to %s posts/drafts.", $do)));
0
+        throw new Exception(_f("You don't have permission to %s posts/drafts.", array($do)));
0
     }
0
 
0
     #

Comments