L10n updates and removal of superfluous whitespace.

This commit is contained in:
Siebrand Mazeland 2010-12-16 16:33:39 +01:00
parent cf824621b9
commit ae65f93b2b
2 changed files with 17 additions and 19 deletions

View File

@ -2,7 +2,7 @@
/** /**
* StatusNet, the distributed open-source microblogging tool * StatusNet, the distributed open-source microblogging tool
* *
* Plugin to add adittional awesomenss to StatusNet * Plugin to add additional awesomenss to StatusNet
* *
* PHP version 5 * PHP version 5
* *
@ -42,7 +42,6 @@ if (!defined('STATUSNET')) {
class AwesomenessPlugin extends Plugin class AwesomenessPlugin extends Plugin
{ {
const VERSION = '0.0.42'; const VERSION = '0.0.42';
public function onPluginVersion(&$versions) public function onPluginVersion(&$versions)
@ -52,9 +51,10 @@ class AwesomenessPlugin extends Plugin
'version' => self::VERSION, 'version' => self::VERSION,
'author' => 'Jeroen De Dauw', 'author' => 'Jeroen De Dauw',
'homepage' => 'http://status.net/wiki/Plugin:Awesomeness', 'homepage' => 'http://status.net/wiki/Plugin:Awesomeness',
// TRANS: Plugin description for a sample plugin.
'rawdescription' => _m( 'rawdescription' => _m(
'The Awesomeness plugin adds adittional awesomeness ' . 'The Awesomeness plugin adds aditional awesomeness ' .
'to your StatusNet install. ' 'to a StatusNet installation.'
) )
); );
return true; return true;
@ -67,7 +67,6 @@ class AwesomenessPlugin extends Plugin
* *
* @return void * @return void
*/ */
function onEndShowSections(Action $action) function onEndShowSections(Action $action)
{ {
$action->elementStart('div', array('id' => 'cornify_section', $action->elementStart('div', array('id' => 'cornify_section',
@ -106,5 +105,4 @@ EOT
$content = htmlspecialchars($content); $content = htmlspecialchars($content);
$options['rendered'] = preg_replace("/(^|\s|-)((?:awesome|awesomeness)[\?!\.\,]?)(\s|$)/i", " <b>$2</b> ", $content); $options['rendered'] = preg_replace("/(^|\s|-)((?:awesome|awesomeness)[\?!\.\,]?)(\s|$)/i", " <b>$2</b> ", $content);
} }
} }

View File

@ -16,8 +16,8 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n" "Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: AwesomenessPlugin.php:56 #: AwesomenessPlugin.php:55
msgid "" msgid ""
"The Awesomeness plugin adds adittional awesomeness to your StatusNet " "The Awesomeness plugin adds additional awesomeness to a StatusNet "
"install. " "installation."
msgstr "" msgstr ""