diff options
Diffstat (limited to 'plugins/Autocomplete')
13 files changed, 333 insertions, 5 deletions
diff --git a/plugins/Autocomplete/AutocompletePlugin.php b/plugins/Autocomplete/AutocompletePlugin.php index b2be365dd..620b5e7b0 100644 --- a/plugins/Autocomplete/AutocompletePlugin.php +++ b/plugins/Autocomplete/AutocompletePlugin.php @@ -80,6 +80,4 @@ class AutocompletePlugin extends Plugin _m('The autocomplete plugin allows users to autocomplete screen names in @ replies. When an "@" is typed into the notice text area, an autocomplete box is displayed populated with the user\'s friend\' screen names.')); return true; } - } -?> diff --git a/plugins/Autocomplete/autocomplete.php b/plugins/Autocomplete/autocomplete.php index 9a30ba01d..a4e2d9baa 100644 --- a/plugins/Autocomplete/autocomplete.php +++ b/plugins/Autocomplete/autocomplete.php @@ -43,7 +43,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 AutocompleteAction extends Action { private $result; @@ -80,6 +79,7 @@ class AutocompleteAction extends Action function etag() { return '"' . implode(':', array($this->arg('action'), + common_user_cache_hash(), crc32($this->arg('q')), //the actual string can have funny characters in we don't want showing up in the etag $this->arg('limit'), $this->lastModified())) . '"'; diff --git a/plugins/Autocomplete/locale/Autocomplete.pot b/plugins/Autocomplete/locale/Autocomplete.pot index c0274af85..7dd4fe266 100644 --- a/plugins/Autocomplete/locale/Autocomplete.pot +++ b/plugins/Autocomplete/locale/Autocomplete.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" @@ -16,7 +16,7 @@ msgstr "" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" -#: AutocompletePlugin.php:79 +#: AutocompletePlugin.php:80 msgid "" "The autocomplete plugin allows users to autocomplete screen names in @ " "replies. When an \"@\" is typed into the notice text area, an autocomplete " diff --git a/plugins/Autocomplete/locale/es/LC_MESSAGES/Autocomplete.po b/plugins/Autocomplete/locale/es/LC_MESSAGES/Autocomplete.po new file mode 100644 index 000000000..59fa0dbe4 --- /dev/null +++ b/plugins/Autocomplete/locale/es/LC_MESSAGES/Autocomplete.po @@ -0,0 +1,33 @@ +# Translation of StatusNet - Autocomplete 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 - Autocomplete\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-10-03 19:53+0000\n" +"PO-Revision-Date: 2010-10-03 19:56:24+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-10-01 20:37:52+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-autocomplete\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: AutocompletePlugin.php:80 +msgid "" +"The autocomplete plugin allows users to autocomplete screen names in @ " +"replies. When an \"@\" is typed into the notice text area, an autocomplete " +"box is displayed populated with the user's friend' screen names." +msgstr "" +"La extensión de autocompletado permite a los usuarios autocompletar en las " +"respuestas @ los nombres en pantalla. Cuando se escribe \"@\" en el area de " +"texto de mensaje, se muestra una caja de autocompletado que contiene los " +"nombres de pantalla de los amigos del usuario." diff --git a/plugins/Autocomplete/locale/fr/LC_MESSAGES/Autocomplete.po b/plugins/Autocomplete/locale/fr/LC_MESSAGES/Autocomplete.po new file mode 100644 index 000000000..2af8c82a5 --- /dev/null +++ b/plugins/Autocomplete/locale/fr/LC_MESSAGES/Autocomplete.po @@ -0,0 +1,33 @@ +# Translation of StatusNet - Autocomplete to French (Français) +# Expored from translatewiki.net +# +# Author: Peter17 +# -- +# This file is distributed under the same license as the StatusNet package. +# +msgid "" +msgstr "" +"Project-Id-Version: StatusNet - Autocomplete\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-10-03 19:53+0000\n" +"PO-Revision-Date: 2010-10-03 19:56:24+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-10-01 20:37:52+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-autocomplete\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#: AutocompletePlugin.php:80 +msgid "" +"The autocomplete plugin allows users to autocomplete screen names in @ " +"replies. When an \"@\" is typed into the notice text area, an autocomplete " +"box is displayed populated with the user's friend' screen names." +msgstr "" +"L’extension d’autocomplétion permet à l’utilisateur de compléter " +"automatiquement les pseudonymes dans les réponses « @ ». Quand « @ » est saisi " +"dans la zone de texte de l’avis, une boîte d’autocomplétion est affichée et " +"remplie avec les pseudonymes des amis de l’utilisateur." diff --git a/plugins/Autocomplete/locale/ia/LC_MESSAGES/Autocomplete.po b/plugins/Autocomplete/locale/ia/LC_MESSAGES/Autocomplete.po new file mode 100644 index 000000000..70f03d99b --- /dev/null +++ b/plugins/Autocomplete/locale/ia/LC_MESSAGES/Autocomplete.po @@ -0,0 +1,33 @@ +# Translation of StatusNet - Autocomplete 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 - Autocomplete\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-10-03 19:53+0000\n" +"PO-Revision-Date: 2010-10-03 19:56:24+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:37:52+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-autocomplete\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: AutocompletePlugin.php:80 +msgid "" +"The autocomplete plugin allows users to autocomplete screen names in @ " +"replies. When an \"@\" is typed into the notice text area, an autocomplete " +"box is displayed populated with the user's friend' screen names." +msgstr "" +"Le plug-in \"autocomplete\" permitte que usatores autocompleta pseudonymos " +"in responsas @. Si un \"@\" es entrate in un area de texto pro un nota, un " +"quadro de autocompletion es monstrate, plenate con le pseudonymos del amicos " +"del usator." diff --git a/plugins/Autocomplete/locale/ja/LC_MESSAGES/Autocomplete.po b/plugins/Autocomplete/locale/ja/LC_MESSAGES/Autocomplete.po new file mode 100644 index 000000000..4ec766ba1 --- /dev/null +++ b/plugins/Autocomplete/locale/ja/LC_MESSAGES/Autocomplete.po @@ -0,0 +1,32 @@ +# Translation of StatusNet - Autocomplete to Japanese (日本語) +# Expored from translatewiki.net +# +# Author: 青子守歌 +# -- +# This file is distributed under the same license as the StatusNet package. +# +msgid "" +msgstr "" +"Project-Id-Version: StatusNet - Autocomplete\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-10-03 19:53+0000\n" +"PO-Revision-Date: 2010-10-03 19:56:24+0000\n" +"Language-Team: Japanese <http://translatewiki.net/wiki/Portal:ja>\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-POT-Import-Date: 2010-10-01 20:37:52+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: ja\n" +"X-Message-Group: #out-statusnet-plugin-autocomplete\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: AutocompletePlugin.php:80 +msgid "" +"The autocomplete plugin allows users to autocomplete screen names in @ " +"replies. When an \"@\" is typed into the notice text area, an autocomplete " +"box is displayed populated with the user's friend' screen names." +msgstr "" +"自動入力プラグインは、ユーザーに、@返信でのスクリーンネームの自動入力を出来" +"るようにします。通知テキスト領域で「@」が入力されたとき、自動入力ボックスが表" +"示され、ユーザーの友達のスクリーンネームを入力します。" diff --git a/plugins/Autocomplete/locale/mk/LC_MESSAGES/Autocomplete.po b/plugins/Autocomplete/locale/mk/LC_MESSAGES/Autocomplete.po new file mode 100644 index 000000000..64636623f --- /dev/null +++ b/plugins/Autocomplete/locale/mk/LC_MESSAGES/Autocomplete.po @@ -0,0 +1,33 @@ +# Translation of StatusNet - Autocomplete 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 - Autocomplete\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-10-03 19:53+0000\n" +"PO-Revision-Date: 2010-10-03 19:56:24+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:37:52+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-autocomplete\n" +"Plural-Forms: nplurals=2; plural=(n == 1 || n%10 == 1) ? 0 : 1;\n" + +#: AutocompletePlugin.php:80 +msgid "" +"The autocomplete plugin allows users to autocomplete screen names in @ " +"replies. When an \"@\" is typed into the notice text area, an autocomplete " +"box is displayed populated with the user's friend' screen names." +msgstr "" +"Приклучокот за автодополнување овозможува автоматско довршување на " +"кориснички имиња во одговорите со @. Кога ќе внесете „@“ во полето за " +"пишување забелешки, се појавува кутијата за автодополнување каде се наведени " +"корисничките имиња на пријателите." diff --git a/plugins/Autocomplete/locale/nl/LC_MESSAGES/Autocomplete.po b/plugins/Autocomplete/locale/nl/LC_MESSAGES/Autocomplete.po new file mode 100644 index 000000000..b8c2446e9 --- /dev/null +++ b/plugins/Autocomplete/locale/nl/LC_MESSAGES/Autocomplete.po @@ -0,0 +1,33 @@ +# Translation of StatusNet - Autocomplete 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 - Autocomplete\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-10-03 19:53+0000\n" +"PO-Revision-Date: 2010-10-03 19:56:24+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:37:52+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-autocomplete\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: AutocompletePlugin.php:80 +msgid "" +"The autocomplete plugin allows users to autocomplete screen names in @ " +"replies. When an \"@\" is typed into the notice text area, an autocomplete " +"box is displayed populated with the user's friend' screen names." +msgstr "" +"De plug-in \"automatisch aanvullen\" (Autocomplete) vult gebruikersnamen " +"automatisch aan bij het maken van \"@\"-antwoorden. Als een \"@\" wordt " +"ingevoerd in het tekstveld voor een mededeling, wordt een extra venster " +"weergegeven met de gebruikersnamen van vrienden." diff --git a/plugins/Autocomplete/locale/ru/LC_MESSAGES/Autocomplete.po b/plugins/Autocomplete/locale/ru/LC_MESSAGES/Autocomplete.po new file mode 100644 index 000000000..2a3984b27 --- /dev/null +++ b/plugins/Autocomplete/locale/ru/LC_MESSAGES/Autocomplete.po @@ -0,0 +1,33 @@ +# Translation of StatusNet - Autocomplete to Russian (Русский) +# Expored from translatewiki.net +# +# Author: Александр Сигачёв +# -- +# This file is distributed under the same license as the StatusNet package. +# +msgid "" +msgstr "" +"Project-Id-Version: StatusNet - Autocomplete\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-10-03 19:53+0000\n" +"PO-Revision-Date: 2010-10-03 19:56:24+0000\n" +"Language-Team: Russian <http://translatewiki.net/wiki/Portal:ru>\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-POT-Import-Date: 2010-10-01 20:37:52+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: ru\n" +"X-Message-Group: #out-statusnet-plugin-autocomplete\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" + +#: AutocompletePlugin.php:80 +msgid "" +"The autocomplete plugin allows users to autocomplete screen names in @ " +"replies. When an \"@\" is typed into the notice text area, an autocomplete " +"box is displayed populated with the user's friend' screen names." +msgstr "" +"Модуль автозаполнения обеспечивает пользователям автозаполнение имён экранов " +"в @-ответах. Если в текстовую область уведомления введён символ @, то " +"появляется блок автозаполнения с названиями экранов друзей." diff --git a/plugins/Autocomplete/locale/tl/LC_MESSAGES/Autocomplete.po b/plugins/Autocomplete/locale/tl/LC_MESSAGES/Autocomplete.po new file mode 100644 index 000000000..1c7432068 --- /dev/null +++ b/plugins/Autocomplete/locale/tl/LC_MESSAGES/Autocomplete.po @@ -0,0 +1,34 @@ +# Translation of StatusNet - Autocomplete 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 - Autocomplete\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-10-03 19:53+0000\n" +"PO-Revision-Date: 2010-10-03 19:56:24+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:37:52+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-autocomplete\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: AutocompletePlugin.php:80 +msgid "" +"The autocomplete plugin allows users to autocomplete screen names in @ " +"replies. When an \"@\" is typed into the notice text area, an autocomplete " +"box is displayed populated with the user's friend' screen names." +msgstr "" +"Ang pamasak na pangkusang pagkukumpleto ay nagpapahintulot sa mga tagagamit " +"na kusang makumpleto ang mga pangalang bansag sa mga tugong @. Kapag " +"iminakinilya ang \"@\" sa lugar ng teksto ng pabatid, isang kahong na " +"pangkusang pagkukumpleto ang ipapakita na nilagyan ng mga pangalang bansag " +"ng kaibigan ng tagagamit." diff --git a/plugins/Autocomplete/locale/uk/LC_MESSAGES/Autocomplete.po b/plugins/Autocomplete/locale/uk/LC_MESSAGES/Autocomplete.po new file mode 100644 index 000000000..429ee6b3d --- /dev/null +++ b/plugins/Autocomplete/locale/uk/LC_MESSAGES/Autocomplete.po @@ -0,0 +1,34 @@ +# Translation of StatusNet - Autocomplete 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 - Autocomplete\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-10-03 19:53+0000\n" +"PO-Revision-Date: 2010-10-03 19:56:24+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:37:52+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-autocomplete\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" + +#: AutocompletePlugin.php:80 +msgid "" +"The autocomplete plugin allows users to autocomplete screen names in @ " +"replies. When an \"@\" is typed into the notice text area, an autocomplete " +"box is displayed populated with the user's friend' screen names." +msgstr "" +"Додаток автозавершення дозволяє користувачам автоматично завершувати " +"нікнейми у «@-відповідях». Якщо у вікні набору повідомлення з’являється " +"символ «@», то даний додаток автоматично пропонує обрати ім’я користувача із " +"списку тих, з ким ви найчастіше листуєтесь." diff --git a/plugins/Autocomplete/locale/zh_CN/LC_MESSAGES/Autocomplete.po b/plugins/Autocomplete/locale/zh_CN/LC_MESSAGES/Autocomplete.po new file mode 100644 index 000000000..8b318190f --- /dev/null +++ b/plugins/Autocomplete/locale/zh_CN/LC_MESSAGES/Autocomplete.po @@ -0,0 +1,32 @@ +# Translation of StatusNet - Autocomplete to Simplified Chinese (中文(简体)) +# Expored from translatewiki.net +# +# Author: Chenxiaoqino +# -- +# This file is distributed under the same license as the StatusNet package. +# +msgid "" +msgstr "" +"Project-Id-Version: StatusNet - Autocomplete\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-10-03 19:53+0000\n" +"PO-Revision-Date: 2010-10-03 19:56:24+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-10-01 20:37:52+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-autocomplete\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: AutocompletePlugin.php:80 +msgid "" +"The autocomplete plugin allows users to autocomplete screen names in @ " +"replies. When an \"@\" is typed into the notice text area, an autocomplete " +"box is displayed populated with the user's friend' screen names." +msgstr "" +"自动补全插件在用户使用@回复时自动补全用户名。当“@”在文本区域被键入时,一个自" +"动补全框会显示用户相关好友的用户名。" |