From: Siebrand Mazeland Date: Wed, 6 Apr 2011 21:43:30 +0000 (+0200) Subject: Translator documentation added. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=512bd91deed74b2cb567d5c0afe10514423e46db;p=quix0rs-gnu-social.git Translator documentation added. Whitespace updates. --- diff --git a/plugins/Directory/DirectoryPlugin.php b/plugins/Directory/DirectoryPlugin.php index cba75802e5..4fe1eaec9e 100644 --- a/plugins/Directory/DirectoryPlugin.php +++ b/plugins/Directory/DirectoryPlugin.php @@ -44,7 +44,6 @@ if (!defined('STATUSNET')) { */ class DirectoryPlugin extends Plugin { - private $dir = null; /** @@ -165,8 +164,10 @@ class DirectoryPlugin extends Plugin $nav->out->menuItem( common_local_url('userdirectory'), - _m('Directory'), - _m('User Directory'), + // TRANS: Menu item text for user directory. + _m('MENU','Directory'), + // TRANS: Menu item title for user directory. + _m('User Directory.'), $actionName == 'userdirectory', 'nav_directory' ); @@ -184,6 +185,7 @@ class DirectoryPlugin extends Plugin 'version' => STATUSNET_VERSION, 'author' => 'Zach Copley', 'homepage' => 'http://status.net/wiki/Plugin:Directory', + // TRANS: Plugin description. 'rawdescription' => _m('Add a user directory.') ); diff --git a/plugins/DiskCache/DiskCachePlugin.php b/plugins/DiskCache/DiskCachePlugin.php index 47d4b153cf..d021a6641a 100644 --- a/plugins/DiskCache/DiskCachePlugin.php +++ b/plugins/DiskCache/DiskCachePlugin.php @@ -44,7 +44,6 @@ if (!defined('STATUSNET')) { * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ - class DiskCachePlugin extends Plugin { var $root = '/tmp'; @@ -64,7 +63,6 @@ class DiskCachePlugin extends Plugin * * @return boolean hook success */ - function onStartCacheGet(&$key, &$value) { $filename = $this->keyToFilename($key); @@ -91,7 +89,6 @@ class DiskCachePlugin extends Plugin * * @return boolean hook success */ - function onStartCacheSet(&$key, &$value, &$flag, &$expiry, &$success) { $filename = $this->keyToFilename($key); @@ -152,7 +149,6 @@ class DiskCachePlugin extends Plugin * * @return boolean hook success */ - function onStartCacheDelete(&$key, &$success) { $filename = $this->keyToFilename($key); @@ -172,6 +168,7 @@ class DiskCachePlugin extends Plugin 'author' => 'Evan Prodromou', 'homepage' => 'http://status.net/wiki/Plugin:DiskCache', 'rawdescription' => + // TRANS: Plugin description. _m('Plugin to implement cache interface with disk files.')); return true; }