diff options
Diffstat (limited to 'plugins/BitlyUrl')
-rw-r--r-- | plugins/BitlyUrl/BitlyUrlPlugin.php | 3 | ||||
-rw-r--r-- | plugins/BitlyUrl/locale/BitlyUrl.pot | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/plugins/BitlyUrl/BitlyUrlPlugin.php b/plugins/BitlyUrl/BitlyUrlPlugin.php index 11e3c0b84..10d99b358 100644 --- a/plugins/BitlyUrl/BitlyUrlPlugin.php +++ b/plugins/BitlyUrl/BitlyUrlPlugin.php @@ -40,7 +40,7 @@ class BitlyUrlPlugin extends UrlShortenerPlugin function onInitializePlugin(){ parent::onInitializePlugin(); if(!isset($this->serviceUrl)){ - throw new Exception("must specify a serviceUrl"); + throw new Exception(_m("You must specify a serviceUrl.")); } } @@ -63,4 +63,3 @@ class BitlyUrlPlugin extends UrlShortenerPlugin return true; } } - diff --git a/plugins/BitlyUrl/locale/BitlyUrl.pot b/plugins/BitlyUrl/locale/BitlyUrl.pot index 28023759a..00c5405d9 100644 --- a/plugins/BitlyUrl/locale/BitlyUrl.pot +++ b/plugins/BitlyUrl/locale/BitlyUrl.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-04-29 23:39+0000\n" +"POT-Creation-Date: 2010-09-22 22:34+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -16,6 +16,10 @@ msgstr "" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" +#: BitlyUrlPlugin.php:43 +msgid "You must specify a serviceUrl." +msgstr "" + #: BitlyUrlPlugin.php:60 #, php-format msgid "Uses <a href=\"http://%1$s/\">%1$s</a> URL-shortener service." |