From: Siebrand Mazeland Date: Sun, 5 Jun 2011 22:35:40 +0000 (+0200) Subject: Add translator documentation. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9a59d4420804715999546ce4184281e974f22aec;p=quix0rs-gnu-social.git Add translator documentation. L10n update. Whitespace update. --- diff --git a/plugins/SimpleUrl/SimpleUrlPlugin.php b/plugins/SimpleUrl/SimpleUrlPlugin.php index 24250f4d07..acf0e91e61 100644 --- a/plugins/SimpleUrl/SimpleUrlPlugin.php +++ b/plugins/SimpleUrl/SimpleUrlPlugin.php @@ -38,7 +38,8 @@ class SimpleUrlPlugin extends UrlShortenerPlugin function onInitializePlugin(){ parent::onInitializePlugin(); if(!isset($this->serviceUrl)){ - throw new Exception("must specify a serviceUrl"); + // TRANS: Exception thrown when the SimpleUrl plugin has been configured incorrectly. + throw new Exception(_m('You must specify a serviceUrl.')); } } @@ -53,10 +54,10 @@ class SimpleUrlPlugin extends UrlShortenerPlugin 'author' => 'Craig Andrews', 'homepage' => 'http://status.net/wiki/Plugin:SimpleUrl', 'rawdescription' => + // TRANS: Plugin description. sprintf(_m('Uses %1$s URL-shortener service.'), $this->shortenerName)); return true; } } -