diff options
Diffstat (limited to 'plugins/ShareNotice')
-rw-r--r-- | plugins/ShareNotice/ShareNoticePlugin.php | 223 | ||||
-rw-r--r-- | plugins/ShareNotice/css/README | 9 | ||||
-rw-r--r-- | plugins/ShareNotice/css/icon-facebook.png | bin | 0 -> 312 bytes | |||
-rw-r--r-- | plugins/ShareNotice/css/icon-share.png | bin | 0 -> 3838 bytes | |||
-rw-r--r-- | plugins/ShareNotice/css/icon-statusnet.png | bin | 0 -> 488 bytes | |||
-rw-r--r-- | plugins/ShareNotice/css/icon-twitter.png | bin | 0 -> 469 bytes | |||
-rw-r--r-- | plugins/ShareNotice/css/sharenotice.css | 23 | ||||
-rw-r--r-- | plugins/ShareNotice/locale/ShareNotice.pot | 48 | ||||
-rw-r--r-- | plugins/ShareNotice/locale/ia/LC_MESSAGES/ShareNotice.po | 55 | ||||
-rw-r--r-- | plugins/ShareNotice/locale/mk/LC_MESSAGES/ShareNotice.po | 55 | ||||
-rw-r--r-- | plugins/ShareNotice/locale/nl/LC_MESSAGES/ShareNotice.po | 56 | ||||
-rw-r--r-- | plugins/ShareNotice/locale/tl/LC_MESSAGES/ShareNotice.po | 55 | ||||
-rw-r--r-- | plugins/ShareNotice/locale/uk/LC_MESSAGES/ShareNotice.po | 56 |
13 files changed, 580 insertions, 0 deletions
diff --git a/plugins/ShareNotice/ShareNoticePlugin.php b/plugins/ShareNotice/ShareNoticePlugin.php new file mode 100644 index 000000000..8b94f83c8 --- /dev/null +++ b/plugins/ShareNotice/ShareNoticePlugin.php @@ -0,0 +1,223 @@ +<?php +/* + * StatusNet - the distributed open-source microblogging tool + * Copyright (C) 2010, StatusNet, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +/** + * @package ShareNoticePlugin + * @maintainer Brion Vibber <brion@status.net> + */ + +if (!defined('STATUSNET')) { exit(1); } + +class ShareNoticePlugin extends Plugin +{ + public $targets = array( + array('Twitter'), + array('Facebook'), + array('StatusNet', array('baseurl' => 'http://identi.ca')) + ); + + function onEndShowStatusNetStyles($action) { + $action->cssLink('plugins/ShareNotice/css/sharenotice.css'); + return true; + } + + function onStartShowNoticeItem($item) + { + $notice = $item->notice; + $out = $item->out; + + $out->elementStart('ul', array('class' => 'notice-share')); + foreach ($this->targets as $data) { + $type = $data[0]; + $args = (count($data) > 1) ? $data[1] : array(); + $target = $this->getShareTarget($type, $notice, $args); + $this->showShareTarget($out, $target); + } + $out->elementEnd('ul'); + } + + private function getShareTarget($type, $notice, $args) + { + $class = ucfirst($type) . 'ShareTarget'; + + return new $class($notice, $args); + } + + private function showShareTarget(HTMLOutputter $out, NoticeShareTarget $target) + { + $class = $target->getClass(); + $text = $target->getText(); + $url = $target->targetUrl(); + + $out->elementStart('li', array('class' => 'notice-share-' . $class)); + $out->elementStart('a', array( + 'href' => $url, + 'title' => $text, + 'target' => '_blank' + )); + $out->element('span', array(), $text); + $out->elementEnd('a'); + $out->elementEnd('li'); + } +} + +abstract class NoticeShareTarget +{ + protected $notice; + + public function __construct($notice) + { + $this->notice = $notice; + } + + public abstract function getClass(); + + public abstract function getText(); + + public abstract function targetUrl(); +} + +abstract class GenericNoticeShareTarget extends NoticeShareTarget +{ + protected function maxLength() + { + return 140; // typical + } + + protected function statusText() + { + // TRANS: Leave this message unchanged. + $pattern = _m('"%s"'); + $url = $this->notice->bestUrl(); + $suffix = ' ' . $url; + $room = $this->maxLength() - mb_strlen($suffix) - (mb_strlen($pattern) - mb_strlen('%s')); + + $content = $this->notice->content; + if (mb_strlen($content) > $room) { + $content = mb_substr($content, 0, $room - 1) . '…'; + } + + return sprintf($pattern, $content) . $suffix; + } +} + +class TwitterShareTarget extends GenericNoticeShareTarget +{ + public function getClass() + { + return 'twitter'; + } + + public function getText() + { + // TRANS: Tooltip for image to share a notice on Twitter. + return _m('Share on Twitter'); + } + + public function targetUrl() + { + $args = array( + 'status' => $this->statusText() + ); + return 'http://twitter.com/home?' . + http_build_query($args, null, '&'); + } +} + +class StatusNetShareTarget extends GenericNoticeShareTarget +{ + protected $baseurl; + + public function __construct($notice, $args) + { + parent::__construct($notice); + $this->baseurl = $args['baseurl']; + } + + public function getClass() + { + return 'statusnet'; + } + + public function getText() + { + $host = parse_url($this->baseurl, PHP_URL_HOST); + // TRANS: Tooltip for image to share a notice on another platform (other than Twitter or Facebook). + // TRANS: %s is a host name. + return sprintf(_m('Share on %s'), $host); + } + + public function targetUrl() + { + $args = array( + 'status_textarea' => $this->statusText() + ); + return $this->baseurl . '/notice/new?' . + http_build_query($args, null, '&'); + } +} + +class FacebookShareTarget extends NoticeShareTarget +{ + public function getClass() + { + return 'facebook'; + } + + public function getText() + { + // TRANS: Tooltip for image to share a notice on Facebook. + return _m('Share on Facebook'); + } + + public function targetUrl() + { + $args = array( + 'u' => $this->notice->bestUrl(), + // TRANS: %s is notice content that is shared on Twitter, Facebook or another platform. + 't' => sprintf(_m('"%s"'), $this->notice->content), + ); + return 'http://www.facebook.com/sharer.php?' . + http_build_query($args, null, '&'); + } + + /** + * Provide plugin version information. + * + * This data is used when showing the version page. + * + * @param array &$versions array of version data arrays; see EVENTS.txt + * + * @return boolean hook value + */ + function onPluginVersion(&$versions) + { + $url = 'http://status.net/wiki/Plugin:ShareNotice'; + + $versions[] = array('name' => 'ShareNotice', + 'version' => STATUSNET_VERSION, + 'author' => 'Brion Vibber', + 'homepage' => $url, + 'rawdescription' => + // TRANS: Plugin description. + _m('This plugin allows sharing of notices to Twitter, Facebook and other platforms.')); + + return true; + } +} diff --git a/plugins/ShareNotice/css/README b/plugins/ShareNotice/css/README new file mode 100644 index 000000000..a3f466197 --- /dev/null +++ b/plugins/ShareNotice/css/README @@ -0,0 +1,9 @@ +icon-sharing.png is from http://www.openshareicons.com/ + +Shareaholic has made the Open Share Icon freely available for use by others under the +Creative Commons Attribution-Share Alike 3.0 Unported License. + + +icon-twitter.png is from http://twitter.com/favicon.ico and distributed under fair use +icon-facebook.png is from http://facebook.com/favicon.ico and distributed under fair use +icon-statusnet.png is from http://status.net/favicon.ico and distributed under fair use diff --git a/plugins/ShareNotice/css/icon-facebook.png b/plugins/ShareNotice/css/icon-facebook.png Binary files differnew file mode 100644 index 000000000..3105e3069 --- /dev/null +++ b/plugins/ShareNotice/css/icon-facebook.png diff --git a/plugins/ShareNotice/css/icon-share.png b/plugins/ShareNotice/css/icon-share.png Binary files differnew file mode 100644 index 000000000..5be2b46c8 --- /dev/null +++ b/plugins/ShareNotice/css/icon-share.png diff --git a/plugins/ShareNotice/css/icon-statusnet.png b/plugins/ShareNotice/css/icon-statusnet.png Binary files differnew file mode 100644 index 000000000..a7b39090d --- /dev/null +++ b/plugins/ShareNotice/css/icon-statusnet.png diff --git a/plugins/ShareNotice/css/icon-twitter.png b/plugins/ShareNotice/css/icon-twitter.png Binary files differnew file mode 100644 index 000000000..f9e778d9a --- /dev/null +++ b/plugins/ShareNotice/css/icon-twitter.png diff --git a/plugins/ShareNotice/css/sharenotice.css b/plugins/ShareNotice/css/sharenotice.css new file mode 100644 index 000000000..f4f847e66 --- /dev/null +++ b/plugins/ShareNotice/css/sharenotice.css @@ -0,0 +1,23 @@ +.notice-share { + width: 24px; + float: right; +} + +.notice-share li a { + display: block; + width: 16px; + height: 16px; + background: url(icon-share.png) no-repeat; +} +.notice-share li.notice-share-twitter a { + background-image: url(icon-twitter.png); +} +.notice-share li.notice-share-facebook a { + background-image: url(icon-facebook.png); +} +.notice-share li.notice-share-statusnet a { + background-image: url(icon-statusnet.png); +} +.notice-share li a span { + display: none; +} diff --git a/plugins/ShareNotice/locale/ShareNotice.pot b/plugins/ShareNotice/locale/ShareNotice.pot new file mode 100644 index 000000000..ed180fa44 --- /dev/null +++ b/plugins/ShareNotice/locale/ShareNotice.pot @@ -0,0 +1,48 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-10-03 19:53+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" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. TRANS: Leave this message unchanged. +#. TRANS: %s is notice content that is shared on Twitter, Facebook or another platform. +#: ShareNoticePlugin.php:106 ShareNoticePlugin.php:194 +#, php-format +msgid "\"%s\"" +msgstr "" + +#. TRANS: Tooltip for image to share a notice on Twitter. +#: ShareNoticePlugin.php:130 +msgid "Share on Twitter" +msgstr "" + +#. TRANS: Tooltip for image to share a notice on another platform (other than Twitter or Facebook). +#. TRANS: %s is a host name. +#: ShareNoticePlugin.php:163 +#, php-format +msgid "Share on %s" +msgstr "" + +#. TRANS: Tooltip for image to share a notice on Facebook. +#: ShareNoticePlugin.php:186 +msgid "Share on Facebook" +msgstr "" + +#. TRANS: Plugin description. +#: ShareNoticePlugin.php:219 +msgid "" +"This plugin allows sharing of notices to Twitter, Facebook and other " +"platforms." +msgstr "" diff --git a/plugins/ShareNotice/locale/ia/LC_MESSAGES/ShareNotice.po b/plugins/ShareNotice/locale/ia/LC_MESSAGES/ShareNotice.po new file mode 100644 index 000000000..0f6c4afe8 --- /dev/null +++ b/plugins/ShareNotice/locale/ia/LC_MESSAGES/ShareNotice.po @@ -0,0 +1,55 @@ +# Translation of StatusNet - ShareNotice to Interlingua (Interlingua) +# Expored from translatewiki.net +# +# Author: McDutchie +# -- +# This file is distributed under the same license as the StatusNet package. +# +msgid "" +msgstr "" +"Project-Id-Version: StatusNet - ShareNotice\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-10-03 19:53+0000\n" +"PO-Revision-Date: 2010-10-03 19:57:23+0000\n" +"Language-Team: Interlingua <http://translatewiki.net/wiki/Portal:ia>\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-POT-Import-Date: 2010-10-01 20:45:00+0000\n" +"X-Generator: MediaWiki 1.17alpha (r74231); Translate extension (2010-09-17)\n" +"X-Translation-Project: translatewiki.net at http://translatewiki.net\n" +"X-Language-Code: ia\n" +"X-Message-Group: #out-statusnet-plugin-sharenotice\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. TRANS: Leave this message unchanged. +#. TRANS: %s is notice content that is shared on Twitter, Facebook or another platform. +#: ShareNoticePlugin.php:106 ShareNoticePlugin.php:194 +#, php-format +msgid "\"%s\"" +msgstr "\"%s\"" + +#. TRANS: Tooltip for image to share a notice on Twitter. +#: ShareNoticePlugin.php:130 +msgid "Share on Twitter" +msgstr "Condivider in Twitter" + +#. TRANS: Tooltip for image to share a notice on another platform (other than Twitter or Facebook). +#. TRANS: %s is a host name. +#: ShareNoticePlugin.php:163 +#, php-format +msgid "Share on %s" +msgstr "Condivider in %s" + +#. TRANS: Tooltip for image to share a notice on Facebook. +#: ShareNoticePlugin.php:186 +msgid "Share on Facebook" +msgstr "Condivider in Facebook" + +#. TRANS: Plugin description. +#: ShareNoticePlugin.php:219 +msgid "" +"This plugin allows sharing of notices to Twitter, Facebook and other " +"platforms." +msgstr "" +"Iste plug-in permitte condivider notas in Twitter, Facebook e altere " +"platteformas." diff --git a/plugins/ShareNotice/locale/mk/LC_MESSAGES/ShareNotice.po b/plugins/ShareNotice/locale/mk/LC_MESSAGES/ShareNotice.po new file mode 100644 index 000000000..ea98906c2 --- /dev/null +++ b/plugins/ShareNotice/locale/mk/LC_MESSAGES/ShareNotice.po @@ -0,0 +1,55 @@ +# Translation of StatusNet - ShareNotice to Macedonian (Македонски) +# Expored from translatewiki.net +# +# Author: Bjankuloski06 +# -- +# This file is distributed under the same license as the StatusNet package. +# +msgid "" +msgstr "" +"Project-Id-Version: StatusNet - ShareNotice\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-10-03 19:53+0000\n" +"PO-Revision-Date: 2010-10-03 19:57:23+0000\n" +"Language-Team: Macedonian <http://translatewiki.net/wiki/Portal:mk>\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-POT-Import-Date: 2010-10-01 20:45:00+0000\n" +"X-Generator: MediaWiki 1.17alpha (r74231); Translate extension (2010-09-17)\n" +"X-Translation-Project: translatewiki.net at http://translatewiki.net\n" +"X-Language-Code: mk\n" +"X-Message-Group: #out-statusnet-plugin-sharenotice\n" +"Plural-Forms: nplurals=2; plural=(n == 1 || n%10 == 1) ? 0 : 1;\n" + +#. TRANS: Leave this message unchanged. +#. TRANS: %s is notice content that is shared on Twitter, Facebook or another platform. +#: ShareNoticePlugin.php:106 ShareNoticePlugin.php:194 +#, php-format +msgid "\"%s\"" +msgstr "„%s“" + +#. TRANS: Tooltip for image to share a notice on Twitter. +#: ShareNoticePlugin.php:130 +msgid "Share on Twitter" +msgstr "Сподели на Twitter" + +#. TRANS: Tooltip for image to share a notice on another platform (other than Twitter or Facebook). +#. TRANS: %s is a host name. +#: ShareNoticePlugin.php:163 +#, php-format +msgid "Share on %s" +msgstr "Сподели на %s" + +#. TRANS: Tooltip for image to share a notice on Facebook. +#: ShareNoticePlugin.php:186 +msgid "Share on Facebook" +msgstr "Сподели на Facebook" + +#. TRANS: Plugin description. +#: ShareNoticePlugin.php:219 +msgid "" +"This plugin allows sharing of notices to Twitter, Facebook and other " +"platforms." +msgstr "" +"Приклучокот Ви овозможува да споделувате забелешки на Twitter, Facebook и " +"други подлоги." diff --git a/plugins/ShareNotice/locale/nl/LC_MESSAGES/ShareNotice.po b/plugins/ShareNotice/locale/nl/LC_MESSAGES/ShareNotice.po new file mode 100644 index 000000000..cbf057a15 --- /dev/null +++ b/plugins/ShareNotice/locale/nl/LC_MESSAGES/ShareNotice.po @@ -0,0 +1,56 @@ +# Translation of StatusNet - ShareNotice to Dutch (Nederlands) +# Expored from translatewiki.net +# +# Author: SPQRobin +# Author: Siebrand +# -- +# This file is distributed under the same license as the StatusNet package. +# +msgid "" +msgstr "" +"Project-Id-Version: StatusNet - ShareNotice\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-10-03 19:53+0000\n" +"PO-Revision-Date: 2010-10-03 19:57:23+0000\n" +"Language-Team: Dutch <http://translatewiki.net/wiki/Portal:nl>\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-POT-Import-Date: 2010-10-01 20:45:00+0000\n" +"X-Generator: MediaWiki 1.17alpha (r74231); Translate extension (2010-09-17)\n" +"X-Translation-Project: translatewiki.net at http://translatewiki.net\n" +"X-Language-Code: nl\n" +"X-Message-Group: #out-statusnet-plugin-sharenotice\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. TRANS: Leave this message unchanged. +#. TRANS: %s is notice content that is shared on Twitter, Facebook or another platform. +#: ShareNoticePlugin.php:106 ShareNoticePlugin.php:194 +#, php-format +msgid "\"%s\"" +msgstr "\"%s\"" + +#. TRANS: Tooltip for image to share a notice on Twitter. +#: ShareNoticePlugin.php:130 +msgid "Share on Twitter" +msgstr "Delen op Twitter" + +#. TRANS: Tooltip for image to share a notice on another platform (other than Twitter or Facebook). +#. TRANS: %s is a host name. +#: ShareNoticePlugin.php:163 +#, php-format +msgid "Share on %s" +msgstr "Delen op %s" + +#. TRANS: Tooltip for image to share a notice on Facebook. +#: ShareNoticePlugin.php:186 +msgid "Share on Facebook" +msgstr "Delen op Facebook" + +#. TRANS: Plugin description. +#: ShareNoticePlugin.php:219 +msgid "" +"This plugin allows sharing of notices to Twitter, Facebook and other " +"platforms." +msgstr "" +"Deze plug-in maakt het mogelijk mededelingen te delen op Twitter, Facebook " +"en andere platformen." diff --git a/plugins/ShareNotice/locale/tl/LC_MESSAGES/ShareNotice.po b/plugins/ShareNotice/locale/tl/LC_MESSAGES/ShareNotice.po new file mode 100644 index 000000000..6bd659493 --- /dev/null +++ b/plugins/ShareNotice/locale/tl/LC_MESSAGES/ShareNotice.po @@ -0,0 +1,55 @@ +# Translation of StatusNet - ShareNotice to Tagalog (Tagalog) +# Expored from translatewiki.net +# +# Author: AnakngAraw +# -- +# This file is distributed under the same license as the StatusNet package. +# +msgid "" +msgstr "" +"Project-Id-Version: StatusNet - ShareNotice\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-10-03 19:53+0000\n" +"PO-Revision-Date: 2010-10-03 19:57:23+0000\n" +"Language-Team: Tagalog <http://translatewiki.net/wiki/Portal:tl>\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-POT-Import-Date: 2010-10-01 20:45:00+0000\n" +"X-Generator: MediaWiki 1.17alpha (r74231); Translate extension (2010-09-17)\n" +"X-Translation-Project: translatewiki.net at http://translatewiki.net\n" +"X-Language-Code: tl\n" +"X-Message-Group: #out-statusnet-plugin-sharenotice\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. TRANS: Leave this message unchanged. +#. TRANS: %s is notice content that is shared on Twitter, Facebook or another platform. +#: ShareNoticePlugin.php:106 ShareNoticePlugin.php:194 +#, php-format +msgid "\"%s\"" +msgstr "\"%s\"" + +#. TRANS: Tooltip for image to share a notice on Twitter. +#: ShareNoticePlugin.php:130 +msgid "Share on Twitter" +msgstr "Ibahagi sa Twitter" + +#. TRANS: Tooltip for image to share a notice on another platform (other than Twitter or Facebook). +#. TRANS: %s is a host name. +#: ShareNoticePlugin.php:163 +#, php-format +msgid "Share on %s" +msgstr "Ibahagi sa %s" + +#. TRANS: Tooltip for image to share a notice on Facebook. +#: ShareNoticePlugin.php:186 +msgid "Share on Facebook" +msgstr "Ibahagi sa Facebook" + +#. TRANS: Plugin description. +#: ShareNoticePlugin.php:219 +msgid "" +"This plugin allows sharing of notices to Twitter, Facebook and other " +"platforms." +msgstr "" +"Ang pampasak na ito ay nagpapahintulot na pagpapamahagi ng mga pabatid sa " +"Twitter, Facebook at ibang mga plataporma." diff --git a/plugins/ShareNotice/locale/uk/LC_MESSAGES/ShareNotice.po b/plugins/ShareNotice/locale/uk/LC_MESSAGES/ShareNotice.po new file mode 100644 index 000000000..ed3105fac --- /dev/null +++ b/plugins/ShareNotice/locale/uk/LC_MESSAGES/ShareNotice.po @@ -0,0 +1,56 @@ +# Translation of StatusNet - ShareNotice to Ukrainian (Українська) +# Expored from translatewiki.net +# +# Author: Boogie +# -- +# This file is distributed under the same license as the StatusNet package. +# +msgid "" +msgstr "" +"Project-Id-Version: StatusNet - ShareNotice\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-10-03 19:53+0000\n" +"PO-Revision-Date: 2010-10-03 19:57:23+0000\n" +"Language-Team: Ukrainian <http://translatewiki.net/wiki/Portal:uk>\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-POT-Import-Date: 2010-10-01 20:45:00+0000\n" +"X-Generator: MediaWiki 1.17alpha (r74231); Translate extension (2010-09-17)\n" +"X-Translation-Project: translatewiki.net at http://translatewiki.net\n" +"X-Language-Code: uk\n" +"X-Message-Group: #out-statusnet-plugin-sharenotice\n" +"Plural-Forms: nplurals=3; plural=(n%10 == 1 && n%100 != 11) ? 0 : ( (n%10 >= " +"2 && n%10 <= 4 && (n%100 < 10 || n%100 >= 20)) ? 1 : 2 );\n" + +#. TRANS: Leave this message unchanged. +#. TRANS: %s is notice content that is shared on Twitter, Facebook or another platform. +#: ShareNoticePlugin.php:106 ShareNoticePlugin.php:194 +#, php-format +msgid "\"%s\"" +msgstr "«%s»" + +#. TRANS: Tooltip for image to share a notice on Twitter. +#: ShareNoticePlugin.php:130 +msgid "Share on Twitter" +msgstr "Розмістити в Twitter" + +#. TRANS: Tooltip for image to share a notice on another platform (other than Twitter or Facebook). +#. TRANS: %s is a host name. +#: ShareNoticePlugin.php:163 +#, php-format +msgid "Share on %s" +msgstr "Розмістити в %s" + +#. TRANS: Tooltip for image to share a notice on Facebook. +#: ShareNoticePlugin.php:186 +msgid "Share on Facebook" +msgstr "Розмістити в Facebook" + +#. TRANS: Plugin description. +#: ShareNoticePlugin.php:219 +msgid "" +"This plugin allows sharing of notices to Twitter, Facebook and other " +"platforms." +msgstr "" +"Цей додаток дозволяє ділитися дописами в Twitter, Facebook та інших " +"сервісах, розміщуючи їх там." |