diff options
author | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-09-18 10:30:45 +0200 |
---|---|---|
committer | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-09-18 10:30:45 +0200 |
commit | 14fa75898330bad3fca0d57d1ad0c7fae7a6237b (patch) | |
tree | b7e15af9259b265882cbf50bd707fdc85d867203 /plugins/NoticeTitle | |
parent | ca3d803f1dd9050b850a455a47ad06c0ad3e32e7 (diff) |
Update L10n
Diffstat (limited to 'plugins/NoticeTitle')
-rw-r--r-- | plugins/NoticeTitle/NoticeTitlePlugin.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/NoticeTitle/NoticeTitlePlugin.php b/plugins/NoticeTitle/NoticeTitlePlugin.php index 9f53173db..dea0417f5 100644 --- a/plugins/NoticeTitle/NoticeTitlePlugin.php +++ b/plugins/NoticeTitle/NoticeTitlePlugin.php @@ -123,7 +123,7 @@ class NoticeTitlePlugin extends Plugin 'author' => 'Evan Prodromou', 'homepage' => $url, 'rawdescription' => - _m('Adds optional titles to notices')); + _m('Adds optional titles to notices.')); return true; } @@ -164,7 +164,7 @@ class NoticeTitlePlugin extends Plugin $title = $action->trimmed('notice_title'); if (!empty($title)) { if (mb_strlen($title) > Notice_title::MAXCHARS) { - throw new Exception(sprintf(_m("Notice title too long (max %d)", + throw new Exception(sprintf(_m("The notice title is too long (max %d characters).", Notice_title::MAXCHARS))); } } @@ -296,7 +296,7 @@ class NoticeTitlePlugin extends Plugin if (!empty($title)) { $action->element('title', null, // TRANS: Page title. %1$s is the title, %2$s is the site name. - sprintf(_("%1\$s - %2\$s"), + sprintf(_m("%1\$s - %2\$s"), $title, common_config('site', 'name'))); } @@ -328,4 +328,3 @@ class NoticeTitlePlugin extends Plugin return true; } } - |