From 9a59d4420804715999546ce4184281e974f22aec Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Mon, 6 Jun 2011 00:35:40 +0200 Subject: [PATCH] Add translator documentation. L10n update. Whitespace update. --- plugins/SimpleUrl/SimpleUrlPlugin.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; } } - -- 2.39.5