diff options
author | Brion Vibber <brion@pobox.com> | 2010-10-04 12:54:36 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-10-04 12:54:36 -0700 |
commit | 59119482ca34540bd7f0a2a1aa994de1d5328ea2 (patch) | |
tree | 864fdc9dda3da54a78d868339c32479b5296b6d0 /plugins/ClientSideShorten | |
parent | 2db8aa3ec3f6804f8f16efe754aafb149f4035c9 (diff) | |
parent | 1652ded48c9c62c40157a5142e5231adbc574ddb (diff) |
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 1.0.x
Conflicts:
actions/hostmeta.php
actions/imsettings.php
classes/User.php
lib/adminpanelaction.php
lib/channel.php
lib/default.php
lib/router.php
lib/util.php
Diffstat (limited to 'plugins/ClientSideShorten')
12 files changed, 319 insertions, 7 deletions
diff --git a/plugins/ClientSideShorten/ClientSideShortenPlugin.php b/plugins/ClientSideShorten/ClientSideShortenPlugin.php index 3da08e05d..65e27a037 100644 --- a/plugins/ClientSideShorten/ClientSideShortenPlugin.php +++ b/plugins/ClientSideShorten/ClientSideShortenPlugin.php @@ -73,9 +73,7 @@ class ClientSideShortenPlugin extends Plugin 'author' => 'Craig Andrews', 'homepage' => 'http://status.net/wiki/Plugin:ClientSideShorten', 'rawdescription' => - _m('ClientSideShorten causes the web interface\'s notice form to automatically shorten urls as they entered, and before the notice is submitted.')); + _m('ClientSideShorten causes the web interface\'s notice form to automatically shorten URLs as they entered, and before the notice is submitted.')); return true; } - } - diff --git a/plugins/ClientSideShorten/locale/ClientSideShorten.pot b/plugins/ClientSideShorten/locale/ClientSideShorten.pot index 83caff322..bc376527a 100644 --- a/plugins/ClientSideShorten/locale/ClientSideShorten.pot +++ b/plugins/ClientSideShorten/locale/ClientSideShorten.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-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" @@ -19,7 +19,7 @@ msgstr "" #: ClientSideShortenPlugin.php:74 msgid "" "ClientSideShorten causes the web interface's notice form to automatically " -"shorten urls as they entered, and before the notice is submitted." +"shorten URLs as they entered, and before the notice is submitted." msgstr "" #: shorten.php:55 diff --git a/plugins/ClientSideShorten/locale/es/LC_MESSAGES/ClientSideShorten.po b/plugins/ClientSideShorten/locale/es/LC_MESSAGES/ClientSideShorten.po new file mode 100644 index 000000000..9443e654e --- /dev/null +++ b/plugins/ClientSideShorten/locale/es/LC_MESSAGES/ClientSideShorten.po @@ -0,0 +1,35 @@ +# Translation of StatusNet - ClientSideShorten to Spanish (Español) +# Expored from translatewiki.net +# +# Author: Translationista +# -- +# This file is distributed under the same license as the StatusNet package. +# +msgid "" +msgstr "" +"Project-Id-Version: StatusNet - ClientSideShorten\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-10-03 19:53+0000\n" +"PO-Revision-Date: 2010-10-03 19:56:29+0000\n" +"Language-Team: Spanish <http://translatewiki.net/wiki/Portal:es>\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-POT-Import-Date: 2010-09-27 23:18:18+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: es\n" +"X-Message-Group: #out-statusnet-plugin-clientsideshorten\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: ClientSideShortenPlugin.php:74 +msgid "" +"ClientSideShorten causes the web interface's notice form to automatically " +"shorten URLs as they entered, and before the notice is submitted." +msgstr "" +"ClientSideShorten hace que el formulario de mensaje de la interfaz web " +"acorte las URL automáticamente conforme se introducen t antes de que se " +"envíe el mensaje." + +#: shorten.php:55 +msgid "'text' argument must be specified." +msgstr "Debe especificarse el argumento 'texto'." diff --git a/plugins/ClientSideShorten/locale/fr/LC_MESSAGES/ClientSideShorten.po b/plugins/ClientSideShorten/locale/fr/LC_MESSAGES/ClientSideShorten.po new file mode 100644 index 000000000..9cc6033c2 --- /dev/null +++ b/plugins/ClientSideShorten/locale/fr/LC_MESSAGES/ClientSideShorten.po @@ -0,0 +1,36 @@ +# Translation of StatusNet - ClientSideShorten to French (Français) +# Expored from translatewiki.net +# +# Author: Peter17 +# Author: Verdy p +# -- +# This file is distributed under the same license as the StatusNet package. +# +msgid "" +msgstr "" +"Project-Id-Version: StatusNet - ClientSideShorten\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-10-03 19:53+0000\n" +"PO-Revision-Date: 2010-10-03 19:56:29+0000\n" +"Language-Team: French <http://translatewiki.net/wiki/Portal:fr>\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-POT-Import-Date: 2010-09-27 23:18:18+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: fr\n" +"X-Message-Group: #out-statusnet-plugin-clientsideshorten\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#: ClientSideShortenPlugin.php:74 +msgid "" +"ClientSideShorten causes the web interface's notice form to automatically " +"shorten URLs as they entered, and before the notice is submitted." +msgstr "" +"ClientSideShorten fait en sorte que le formulaire d’avis de l’interface " +"raccourcisse automatiquement les URL lorsqu’elles sont saisies, avant que " +"l’avis ne soit soumis." + +#: shorten.php:55 +msgid "'text' argument must be specified." +msgstr "L’argument « text » doit être spécifié." diff --git a/plugins/ClientSideShorten/locale/ia/LC_MESSAGES/ClientSideShorten.po b/plugins/ClientSideShorten/locale/ia/LC_MESSAGES/ClientSideShorten.po new file mode 100644 index 000000000..896ae4c85 --- /dev/null +++ b/plugins/ClientSideShorten/locale/ia/LC_MESSAGES/ClientSideShorten.po @@ -0,0 +1,34 @@ +# Translation of StatusNet - ClientSideShorten 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 - ClientSideShorten\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-10-03 19:53+0000\n" +"PO-Revision-Date: 2010-10-03 19:56:29+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-09-27 23:18:18+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-clientsideshorten\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: ClientSideShortenPlugin.php:74 +msgid "" +"ClientSideShorten causes the web interface's notice form to automatically " +"shorten URLs as they entered, and before the notice is submitted." +msgstr "" +"ClientSideShorten causa que le formulario web pro entrar notas abbrevia " +"automaticamente le adresses URL a lor entrata, e ante le submission del nota." + +#: shorten.php:55 +msgid "'text' argument must be specified." +msgstr "Le parametro 'text' debe esser specificate." diff --git a/plugins/ClientSideShorten/locale/mk/LC_MESSAGES/ClientSideShorten.po b/plugins/ClientSideShorten/locale/mk/LC_MESSAGES/ClientSideShorten.po new file mode 100644 index 000000000..3aef62939 --- /dev/null +++ b/plugins/ClientSideShorten/locale/mk/LC_MESSAGES/ClientSideShorten.po @@ -0,0 +1,35 @@ +# Translation of StatusNet - ClientSideShorten 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 - ClientSideShorten\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-10-03 19:53+0000\n" +"PO-Revision-Date: 2010-10-03 19:56:29+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-09-27 23:18:18+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-clientsideshorten\n" +"Plural-Forms: nplurals=2; plural=(n == 1 || n%10 == 1) ? 0 : 1;\n" + +#: ClientSideShortenPlugin.php:74 +msgid "" +"ClientSideShorten causes the web interface's notice form to automatically " +"shorten URLs as they entered, and before the notice is submitted." +msgstr "" +"Со ClientSideShorten, образецот за забелешки во мрежниот посредник " +"автоматски ги скратува URL-адресите при самото нивно внесување, и пред да се " +"поднесе забелешката." + +#: shorten.php:55 +msgid "'text' argument must be specified." +msgstr "Мора да се назначи аргументот „text“." diff --git a/plugins/ClientSideShorten/locale/nb/LC_MESSAGES/ClientSideShorten.po b/plugins/ClientSideShorten/locale/nb/LC_MESSAGES/ClientSideShorten.po new file mode 100644 index 000000000..3a9508565 --- /dev/null +++ b/plugins/ClientSideShorten/locale/nb/LC_MESSAGES/ClientSideShorten.po @@ -0,0 +1,34 @@ +# Translation of StatusNet - ClientSideShorten to Norwegian (bokmål) (Norsk (bokmål)) +# Expored from translatewiki.net +# +# Author: Nghtwlkr +# -- +# This file is distributed under the same license as the StatusNet package. +# +msgid "" +msgstr "" +"Project-Id-Version: StatusNet - ClientSideShorten\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-10-03 19:53+0000\n" +"PO-Revision-Date: 2010-10-03 19:56:30+0000\n" +"Language-Team: Norwegian (bokmål) <http://translatewiki.net/wiki/Portal:no>\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-POT-Import-Date: 2010-09-27 23:18:18+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: no\n" +"X-Message-Group: #out-statusnet-plugin-clientsideshorten\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: ClientSideShortenPlugin.php:74 +msgid "" +"ClientSideShorten causes the web interface's notice form to automatically " +"shorten URLs as they entered, and before the notice is submitted." +msgstr "" +"ClientSideShorten fører til at nettgrensesnittets notisskjema automatisk " +"forkorter URL-er mens de skrives inn, og før notisen sendes inn." + +#: shorten.php:55 +msgid "'text' argument must be specified." +msgstr "'text'-argument må spesifiseres." diff --git a/plugins/ClientSideShorten/locale/nl/LC_MESSAGES/ClientSideShorten.po b/plugins/ClientSideShorten/locale/nl/LC_MESSAGES/ClientSideShorten.po new file mode 100644 index 000000000..daceb78ba --- /dev/null +++ b/plugins/ClientSideShorten/locale/nl/LC_MESSAGES/ClientSideShorten.po @@ -0,0 +1,35 @@ +# Translation of StatusNet - ClientSideShorten to Dutch (Nederlands) +# Expored from translatewiki.net +# +# Author: Siebrand +# -- +# This file is distributed under the same license as the StatusNet package. +# +msgid "" +msgstr "" +"Project-Id-Version: StatusNet - ClientSideShorten\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-10-03 19:53+0000\n" +"PO-Revision-Date: 2010-10-03 19:56:29+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-09-27 23:18:18+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-clientsideshorten\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: ClientSideShortenPlugin.php:74 +msgid "" +"ClientSideShorten causes the web interface's notice form to automatically " +"shorten URLs as they entered, and before the notice is submitted." +msgstr "" +"ClientSideShorten zorgt dat URLs die worden ingegeven in het " +"mededelingenformulier automatisch worden ingekort tijdens het invoeren en " +"voordat de mededeling wordt opgeslagen." + +#: shorten.php:55 +msgid "'text' argument must be specified." +msgstr "Het argument 'text' moet aangegeven worden." diff --git a/plugins/ClientSideShorten/locale/tl/LC_MESSAGES/ClientSideShorten.po b/plugins/ClientSideShorten/locale/tl/LC_MESSAGES/ClientSideShorten.po new file mode 100644 index 000000000..663b11b2e --- /dev/null +++ b/plugins/ClientSideShorten/locale/tl/LC_MESSAGES/ClientSideShorten.po @@ -0,0 +1,35 @@ +# Translation of StatusNet - ClientSideShorten 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 - ClientSideShorten\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-10-03 19:53+0000\n" +"PO-Revision-Date: 2010-10-03 19:56:30+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-09-27 23:18:18+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-clientsideshorten\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: ClientSideShortenPlugin.php:74 +msgid "" +"ClientSideShorten causes the web interface's notice form to automatically " +"shorten URLs as they entered, and before the notice is submitted." +msgstr "" +"Ang ClientSideShorten ay nakapagsasanhi sa pormularyo ng pabatid ng ugnayang-" +"mukha ng web na kusang paiksiin ang mga URL habang ipinapasok sila, at bago " +"ipasa ang pabatid." + +#: shorten.php:55 +msgid "'text' argument must be specified." +msgstr "dapat tukuyin ang argumento ng 'teksto'." diff --git a/plugins/ClientSideShorten/locale/uk/LC_MESSAGES/ClientSideShorten.po b/plugins/ClientSideShorten/locale/uk/LC_MESSAGES/ClientSideShorten.po new file mode 100644 index 000000000..8337536b6 --- /dev/null +++ b/plugins/ClientSideShorten/locale/uk/LC_MESSAGES/ClientSideShorten.po @@ -0,0 +1,36 @@ +# Translation of StatusNet - ClientSideShorten 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 - ClientSideShorten\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-10-03 19:53+0000\n" +"PO-Revision-Date: 2010-10-03 19:56:30+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-09-27 23:18:18+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-clientsideshorten\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" + +#: ClientSideShortenPlugin.php:74 +msgid "" +"ClientSideShorten causes the web interface's notice form to automatically " +"shorten URLs as they entered, and before the notice is submitted." +msgstr "" +"ClientSideShorten зазначає, чи будуть автоматично скорочуватись URL-адреси " +"при використанні веб-інтерфейсу для надсилання допису на сайт до того, як " +"допис буде надіслано." + +#: shorten.php:55 +msgid "'text' argument must be specified." +msgstr "Аргумент «текст» має бути зазначено." diff --git a/plugins/ClientSideShorten/locale/zh_CN/LC_MESSAGES/ClientSideShorten.po b/plugins/ClientSideShorten/locale/zh_CN/LC_MESSAGES/ClientSideShorten.po new file mode 100644 index 000000000..256d52303 --- /dev/null +++ b/plugins/ClientSideShorten/locale/zh_CN/LC_MESSAGES/ClientSideShorten.po @@ -0,0 +1,36 @@ +# Translation of StatusNet - ClientSideShorten to Simplified Chinese (中文(简体)) +# Expored from translatewiki.net +# +# Author: Chenxiaoqino +# Author: ZhengYiFeng +# -- +# This file is distributed under the same license as the StatusNet package. +# +msgid "" +msgstr "" +"Project-Id-Version: StatusNet - ClientSideShorten\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-10-03 19:53+0000\n" +"PO-Revision-Date: 2010-10-03 19:56:30+0000\n" +"Language-Team: Simplified Chinese <http://translatewiki.net/wiki/Portal:zh-" +"hans>\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-POT-Import-Date: 2010-09-27 23:18:18+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: zh-hans\n" +"X-Message-Group: #out-statusnet-plugin-clientsideshorten\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: ClientSideShortenPlugin.php:74 +msgid "" +"ClientSideShorten causes the web interface's notice form to automatically " +"shorten URLs as they entered, and before the notice is submitted." +msgstr "" +"客户端短网址(ClientSideShorten )将在消息发布前自动在网页界面下缩短输入的网" +"址。" + +#: shorten.php:55 +msgid "'text' argument must be specified." +msgstr "需要定义'text' 变量。" diff --git a/plugins/ClientSideShorten/shorten.php b/plugins/ClientSideShorten/shorten.php index f67cbf3b2..53c2cf5d1 100644 --- a/plugins/ClientSideShorten/shorten.php +++ b/plugins/ClientSideShorten/shorten.php @@ -41,7 +41,6 @@ if (!defined('STATUSNET') && !defined('LACONICA')) { * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ - class ShortenAction extends Action { private $text; @@ -66,4 +65,3 @@ class ShortenAction extends Action print $shortened_text; } } - |