diff --git a/INSTALL.txt b/INSTALL.txt
index f45e86b8..c06b08e2 100644
--- a/INSTALL.txt
+++ b/INSTALL.txt
@@ -6,7 +6,7 @@ To install all addons using git, cd into your top level Friendica directory and
git clone https://github.com/friendica/friendica-addons.git addon
-This will clone the entire repository in a directory called addon. They can now be activated in the plugins section of your admin panel.
+This will clone the entire repository in a directory called addon. They can now be activated in the addons section of your admin panel.
********************
* Install Manually *
@@ -15,4 +15,4 @@ This will clone the entire repository in a directory called addon. They can now
1. Download the archive (Download ZIP button) containing the addons.
2. Unzip the contents of the archive to your harddrive.
3. Upload the extracted directory and all it's contents to /path/to/friendica/addon. You will need to create the addon directory if this is the first addon you have installed.
-4. Activate the addon in the plugins section of your admin panel.
+4. Activate the addon in the addons section of your admin panel.
diff --git a/README.md b/README.md
index 52fdbb2e..deffa2a5 100644
--- a/README.md
+++ b/README.md
@@ -1,8 +1,8 @@
Addons for Friendica
====================
-This repository is a collection of plugins for the [Friendica Social Communications Server](https://github.com/friendica/friendica).
-You can add these plugins to the /addon directory of your Friendica installation
+This repository is a collection of addons for the [Friendica Social Communications Server](https://github.com/friendica/friendica).
+You can add these addons to the /addon directory of your Friendica installation
do extend the functionality of your node.
After uploading the addons to your server, you need to activate the desired addons
@@ -14,7 +14,7 @@ in cases the addon developers have choosen not to include them here.
Connectors
----------
-Among these plugins there are also the [connectors](https://github.com/friendica/friendica/blob/master/doc/Connectors.md) for various other networks
+Among these addons there are also the [connectors](https://github.com/friendica/friendica/blob/master/doc/Connectors.md) for various other networks
(e.g. Twitter, pump.io, Google+) that are needed for communication when the
protocoll is not supported by Friendica core (DFRN, OStatus and Diaspora).
@@ -28,7 +28,7 @@ Development
The addon interface of Friendica is very flexible and powerful, so if you are
missing functionality, your chances are high it may be added with an addon.
-See the [documentation](https://github.com/friendica/friendica/blob/master/doc/Plugins.md) for more informations on the plugin development.
+See the [documentation](https://github.com/friendica/friendica/blob/master/doc/Addons.md) for more informations on the addon development.
Addons can be translated like any other part of Friendica. Translations for the
addons included in this repository are done at the [Transifex project](https://www.transifex.com/projects/p/friendica/) for Friendica.
diff --git a/blackout/README.md b/blackout/README.md
index 1974ef7b..1bf536ca 100644
--- a/blackout/README.md
+++ b/blackout/README.md
@@ -8,12 +8,12 @@ blackout addon
About
-----
-This plugin will allow you to enter a date/time period during which
+This addon will allow you to enter a date/time period during which
all your ~friendica visitors from the web will be redirected to a page
you can configure in the admin panel as well.
Calls to the API and the communication with other ~friendica nodes is
-not effected from this plugin.
+not effected from this addon.
If you enter a period the current date would be affected none of the
currently logged in users will be effected as well. But if they log
diff --git a/blackout/blackout.php b/blackout/blackout.php
index 2693db5a..1c34862b 100644
--- a/blackout/blackout.php
+++ b/blackout/blackout.php
@@ -9,12 +9,12 @@
* About
* =====
*
- * This plugin will allow you to enter a date/time period during which
+ * This addon will allow you to enter a date/time period during which
* all your ~friendica visitors from the web will be redirected to a page
* you can configure in the admin panel as well.
*
* Calls to the API and the communication with other ~friendica nodes is
- * not effected from this plugin.
+ * not effected from this addon.
*
* If you enter a period the current date would be affected none of the
* currently logged in users will be effected as well. But if they log
@@ -50,13 +50,14 @@
*/
use Friendica\Core\Config;
+use Friendica\Core\Addon;
function blackout_install() {
- register_hook('page_header', 'addon/blackout/blackout.php', 'blackout_redirect');
+ Addon::registerHook('page_header', 'addon/blackout/blackout.php', 'blackout_redirect');
}
function blackout_uninstall() {
- unregister_hook('page_header', 'addon/blackout/blackout.php', 'blackout_redirect');
+ Addon::unregisterHook('page_header', 'addon/blackout/blackout.php', 'blackout_redirect');
}
function blackout_redirect ($a, $b) {
// if we have a logged in user, don't throw her out
@@ -87,7 +88,7 @@ function blackout_redirect ($a, $b) {
}
}
-function blackout_plugin_admin(&$a, &$o) {
+function blackout_addon_admin(&$a, &$o) {
$mystart = Config::get('blackout','begindate');
if (! is_string($mystart)) { $mystart = "YYYY-MM-DD:hhmm"; }
$myend = Config::get('blackout','enddate');
@@ -111,7 +112,7 @@ function blackout_plugin_admin(&$a, &$o) {
$o = '
Please double check that the current settings for the blackout. Begin will be '.$mystart.' and it will end '.$myend.'.
';
@@ -109,17 +111,19 @@ function blogger_settings(&$a,&$s) {
}
-function blogger_settings_post(&$a,&$b) {
- if (x($_POST,'blogger-submit')) {
- PConfig::set(local_user(),'blogger','post',intval($_POST['blogger']));
- PConfig::set(local_user(),'blogger','post_by_default',intval($_POST['bl_bydefault']));
- PConfig::set(local_user(),'blogger','bl_username',trim($_POST['bl_username']));
- PConfig::set(local_user(),'blogger','bl_password',trim($_POST['bl_password']));
- PConfig::set(local_user(),'blogger','bl_blog',trim($_POST['bl_blog']));
+function blogger_settings_post(&$a, &$b)
+{
+ if (x($_POST, 'blogger-submit')) {
+ PConfig::set(local_user(), 'blogger', 'post', intval($_POST['blogger']));
+ PConfig::set(local_user(), 'blogger', 'post_by_default', intval($_POST['bl_bydefault']));
+ PConfig::set(local_user(), 'blogger', 'bl_username', trim($_POST['bl_username']));
+ PConfig::set(local_user(), 'blogger', 'bl_password', trim($_POST['bl_password']));
+ PConfig::set(local_user(), 'blogger', 'bl_blog', trim($_POST['bl_blog']));
}
}
-function blogger_post_local(&$a,&$b) {
+function blogger_post_local(&$a, &$b)
+{
// This can probably be changed to allow editing by pointing to a different API endpoint
if ($b['edit']) {
@@ -134,11 +138,11 @@ function blogger_post_local(&$a,&$b) {
return;
}
- $bl_post = intval(PConfig::get(local_user(),'blogger','post'));
+ $bl_post = intval(PConfig::get(local_user(), 'blogger', 'post'));
- $bl_enable = (($bl_post && x($_REQUEST,'blogger_enable')) ? intval($_REQUEST['blogger_enable']) : 0);
+ $bl_enable = (($bl_post && x($_REQUEST, 'blogger_enable')) ? intval($_REQUEST['blogger_enable']) : 0);
- if ($b['api_source'] && intval(PConfig::get(local_user(),'blogger','post_by_default'))) {
+ if ($b['api_source'] && intval(PConfig::get(local_user(), 'blogger', 'post_by_default'))) {
$bl_enable = 1;
}
@@ -156,12 +160,13 @@ function blogger_post_local(&$a,&$b) {
-function blogger_send(&$a,&$b) {
+function blogger_send(&$a, &$b)
+{
if ($b['deleted'] || $b['private'] || ($b['created'] !== $b['edited'])) {
return;
}
- if (! strstr($b['postopts'],'blogger')) {
+ if (! strstr($b['postopts'], 'blogger')) {
return;
}
@@ -169,12 +174,11 @@ function blogger_send(&$a,&$b) {
return;
}
- $bl_username = xmlify(PConfig::get($b['uid'],'blogger','bl_username'));
- $bl_password = xmlify(PConfig::get($b['uid'],'blogger','bl_password'));
- $bl_blog = PConfig::get($b['uid'],'blogger','bl_blog');
+ $bl_username = xmlify(PConfig::get($b['uid'], 'blogger', 'bl_username'));
+ $bl_password = xmlify(PConfig::get($b['uid'], 'blogger', 'bl_password'));
+ $bl_blog = PConfig::get($b['uid'], 'blogger', 'bl_blog');
if ($bl_username && $bl_password && $bl_blog) {
-
require_once('include/bbcode.php');
$title = '' . (($b['title']) ? $b['title'] : t('Post from Friendica')) . '';
@@ -200,9 +204,9 @@ EOT;
logger('blogger: data: ' . $xml, LOGGER_DATA);
if ($bl_blog !== 'test') {
- $x = post_url($bl_blog,$xml);
+ $x = post_url($bl_blog, $xml);
}
logger('posted to blogger: ' . (($x) ? $x : ''), LOGGER_DEBUG);
}
-}
\ No newline at end of file
+}
diff --git a/blogger/lang/C/messages.po b/blogger/lang/C/messages.po
index 1f99bc65..f04bbb39 100644
--- a/blogger/lang/C/messages.po
+++ b/blogger/lang/C/messages.po
@@ -26,7 +26,7 @@ msgid "Blogger Export"
msgstr ""
#: blogger.php:82
-msgid "Enable Blogger Post Plugin"
+msgid "Enable Blogger Post Addon"
msgstr ""
#: blogger.php:87
diff --git a/blogger/lang/ca/strings.php b/blogger/lang/ca/strings.php
index 354d354a..572617ca 100644
--- a/blogger/lang/ca/strings.php
+++ b/blogger/lang/ca/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to blogger"] = "Enviament a blogger";
$a->strings["Blogger Post Settings"] = "Ajustos d'enviament a blogger";
-$a->strings["Enable Blogger Post Plugin"] = "Habilita el Plugin d'Enviaments a Blogger";
+$a->strings["Enable Blogger Post Addon"] = "Habilita el Addon d'Enviaments a Blogger";
$a->strings["Blogger username"] = "Nom d'usuari a blogger";
$a->strings["Blogger password"] = "Contrasenya a blogger";
$a->strings["Blogger API URL"] = "Blogger API URL";
diff --git a/blogger/lang/cs/messages.po b/blogger/lang/cs/messages.po
index 0d2a1227..e2389585 100644
--- a/blogger/lang/cs/messages.po
+++ b/blogger/lang/cs/messages.po
@@ -28,8 +28,8 @@ msgid "Blogger Export"
msgstr "Blogger Export"
#: blogger.php:82
-msgid "Enable Blogger Post Plugin"
-msgstr "Povolit Blogger Post Plugin"
+msgid "Enable Blogger Post Addon"
+msgstr "Povolit Blogger Post Addon"
#: blogger.php:87
msgid "Blogger username"
diff --git a/blogger/lang/de/messages.po b/blogger/lang/de/messages.po
index 61cb7863..0ecdfd79 100644
--- a/blogger/lang/de/messages.po
+++ b/blogger/lang/de/messages.po
@@ -28,8 +28,8 @@ msgid "Blogger Export"
msgstr "Blogger Export"
#: blogger.php:82
-msgid "Enable Blogger Post Plugin"
-msgstr "Blogger-Post-Plugin aktivieren"
+msgid "Enable Blogger Post Addon"
+msgstr "Blogger-Post-Addon aktivieren"
#: blogger.php:87
msgid "Blogger username"
diff --git a/blogger/lang/de/strings.php b/blogger/lang/de/strings.php
index 8e44b4c2..549b6a2b 100644
--- a/blogger/lang/de/strings.php
+++ b/blogger/lang/de/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_de($n){
;
$a->strings["Post to blogger"] = "Auf Blogger posten";
$a->strings["Blogger Export"] = "Blogger Export";
-$a->strings["Enable Blogger Post Plugin"] = "Blogger-Post-Plugin aktivieren";
+$a->strings["Enable Blogger Post Addon"] = "Blogger-Post-Addon aktivieren";
$a->strings["Blogger username"] = "Blogger-Benutzername";
$a->strings["Blogger password"] = "Blogger-Passwort";
$a->strings["Blogger API URL"] = "Blogger-API-URL";
diff --git a/blogger/lang/eo/strings.php b/blogger/lang/eo/strings.php
index 5ab29790..a7783cd8 100644
--- a/blogger/lang/eo/strings.php
+++ b/blogger/lang/eo/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to blogger"] = "Afiŝi al blogger";
$a->strings["Blogger Post Settings"] = "Agordo pri Blogger Afiŝoj";
-$a->strings["Enable Blogger Post Plugin"] = "Ŝalti la Blogger afiŝo kromprogramon";
+$a->strings["Enable Blogger Post Addon"] = "Ŝalti la Blogger afiŝo kromprogramon";
$a->strings["Blogger username"] = "Blogger uzantonomo";
$a->strings["Blogger password"] = "Blogger pasvorto";
$a->strings["Blogger API URL"] = "Blogger API URL";
diff --git a/blogger/lang/es/messages.po b/blogger/lang/es/messages.po
index 86b1dcb7..66b6804f 100644
--- a/blogger/lang/es/messages.po
+++ b/blogger/lang/es/messages.po
@@ -27,8 +27,8 @@ msgid "Blogger Export"
msgstr "Esportar Blogger"
#: blogger.php:82
-msgid "Enable Blogger Post Plugin"
-msgstr "Activar plugin de entrada de Blogger"
+msgid "Enable Blogger Post Addon"
+msgstr "Activar addon de entrada de Blogger"
#: blogger.php:87
msgid "Blogger username"
diff --git a/blogger/lang/es/strings.php b/blogger/lang/es/strings.php
index 01441ae5..47e44a49 100644
--- a/blogger/lang/es/strings.php
+++ b/blogger/lang/es/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_es($n){
;
$a->strings["Post to blogger"] = "Entrada para blogger";
$a->strings["Blogger Export"] = "Esportar Blogger";
-$a->strings["Enable Blogger Post Plugin"] = "Activar plugin de entrada de Blogger";
+$a->strings["Enable Blogger Post Addon"] = "Activar addon de entrada de Blogger";
$a->strings["Blogger username"] = "Nombre de usuario de Blogger";
$a->strings["Blogger password"] = "Contraseña de Blogger";
$a->strings["Blogger API URL"] = "URL API de Blogger";
diff --git a/blogger/lang/fr/messages.po b/blogger/lang/fr/messages.po
index 0438f3d8..497bf0be 100644
--- a/blogger/lang/fr/messages.po
+++ b/blogger/lang/fr/messages.po
@@ -28,7 +28,7 @@ msgid "Blogger Export"
msgstr ""
#: blogger.php:82
-msgid "Enable Blogger Post Plugin"
+msgid "Enable Blogger Post Addon"
msgstr "Activer le connecteur Blogger"
#: blogger.php:87
diff --git a/blogger/lang/fr/strings.php b/blogger/lang/fr/strings.php
index 2265182a..89a429ae 100644
--- a/blogger/lang/fr/strings.php
+++ b/blogger/lang/fr/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_fr($n){
;
$a->strings["Post to blogger"] = "Poster sur Blogger";
$a->strings["Blogger Export"] = "";
-$a->strings["Enable Blogger Post Plugin"] = "Activer le connecteur Blogger";
+$a->strings["Enable Blogger Post Addon"] = "Activer le connecteur Blogger";
$a->strings["Blogger username"] = "Nom d'utilisateur Blogger";
$a->strings["Blogger password"] = "Mot de passe Blogger";
$a->strings["Blogger API URL"] = "URL de l'API de Blogger";
diff --git a/blogger/lang/is/messages.po b/blogger/lang/is/messages.po
index 1c76cf74..e29ce496 100644
--- a/blogger/lang/is/messages.po
+++ b/blogger/lang/is/messages.po
@@ -28,7 +28,7 @@ msgid "Blogger Export"
msgstr "Flytja út blogg"
#: blogger.php:82
-msgid "Enable Blogger Post Plugin"
+msgid "Enable Blogger Post Addon"
msgstr "Virkja sendiviðbót fyrir blogg"
#: blogger.php:87
diff --git a/blogger/lang/is/strings.php b/blogger/lang/is/strings.php
index 01f532f6..deab7af8 100644
--- a/blogger/lang/is/strings.php
+++ b/blogger/lang/is/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_is($n){
;
$a->strings["Post to blogger"] = "Senda færslu á bloggara";
$a->strings["Blogger Export"] = "Flytja út blogg";
-$a->strings["Enable Blogger Post Plugin"] = "Virkja sendiviðbót fyrir blogg";
+$a->strings["Enable Blogger Post Addon"] = "Virkja sendiviðbót fyrir blogg";
$a->strings["Blogger username"] = "Notandanafn bloggara";
$a->strings["Blogger password"] = "Aðgangsorð bloggara";
$a->strings["Blogger API URL"] = "API slóð bloggs";
diff --git a/blogger/lang/it/messages.po b/blogger/lang/it/messages.po
index 6babcabf..ed0b95d7 100644
--- a/blogger/lang/it/messages.po
+++ b/blogger/lang/it/messages.po
@@ -28,8 +28,8 @@ msgid "Blogger Export"
msgstr "Esporta Blogger"
#: blogger.php:82
-msgid "Enable Blogger Post Plugin"
-msgstr "Abilita il plugin di invio a Blogger"
+msgid "Enable Blogger Post Addon"
+msgstr "Abilita il addon di invio a Blogger"
#: blogger.php:87
msgid "Blogger username"
diff --git a/blogger/lang/it/strings.php b/blogger/lang/it/strings.php
index deea28a5..953fbc0a 100644
--- a/blogger/lang/it/strings.php
+++ b/blogger/lang/it/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_it($n){
;
$a->strings["Post to blogger"] = "Invia a Blogger";
$a->strings["Blogger Export"] = "Esporta Blogger";
-$a->strings["Enable Blogger Post Plugin"] = "Abilita il plugin di invio a Blogger";
+$a->strings["Enable Blogger Post Addon"] = "Abilita il addon di invio a Blogger";
$a->strings["Blogger username"] = "Nome utente Blogger";
$a->strings["Blogger password"] = "Password Blogger";
$a->strings["Blogger API URL"] = "Indirizzo API Blogger";
diff --git a/blogger/lang/nb-no/strings.php b/blogger/lang/nb-no/strings.php
index de7246bc..3c5a03df 100644
--- a/blogger/lang/nb-no/strings.php
+++ b/blogger/lang/nb-no/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to blogger"] = "";
$a->strings["Blogger Post Settings"] = "";
-$a->strings["Enable Blogger Post Plugin"] = "";
+$a->strings["Enable Blogger Post Addon"] = "";
$a->strings["Blogger username"] = "";
$a->strings["Blogger password"] = "";
$a->strings["Blogger API URL"] = "";
diff --git a/blogger/lang/pl/strings.php b/blogger/lang/pl/strings.php
index a08b447b..c2e7e2d6 100644
--- a/blogger/lang/pl/strings.php
+++ b/blogger/lang/pl/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to blogger"] = "Post na blogger";
$a->strings["Blogger Post Settings"] = "Ustawienia postów na Blogger";
-$a->strings["Enable Blogger Post Plugin"] = "";
+$a->strings["Enable Blogger Post Addon"] = "";
$a->strings["Blogger username"] = "Nazwa użytkownika na Blogger";
$a->strings["Blogger password"] = "Hasło do Blogger";
$a->strings["Blogger API URL"] = "";
diff --git a/blogger/lang/pt-br/messages.po b/blogger/lang/pt-br/messages.po
index af8a5ba0..6b22fc20 100644
--- a/blogger/lang/pt-br/messages.po
+++ b/blogger/lang/pt-br/messages.po
@@ -29,7 +29,7 @@ msgid "Blogger Export"
msgstr "Exportador Blogger"
#: blogger.php:82
-msgid "Enable Blogger Post Plugin"
+msgid "Enable Blogger Post Addon"
msgstr "Habilitar plug-in para publicar no Blogger"
#: blogger.php:87
diff --git a/blogger/lang/pt-br/strings.php b/blogger/lang/pt-br/strings.php
index dcd10fab..74a79aca 100644
--- a/blogger/lang/pt-br/strings.php
+++ b/blogger/lang/pt-br/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_pt_br($n){
;
$a->strings["Post to blogger"] = "Publicar no Blogger";
$a->strings["Blogger Export"] = "Exportador Blogger";
-$a->strings["Enable Blogger Post Plugin"] = "Habilitar plug-in para publicar no Blogger";
+$a->strings["Enable Blogger Post Addon"] = "Habilitar plug-in para publicar no Blogger";
$a->strings["Blogger username"] = "Nome de usuário no Blogger";
$a->strings["Blogger password"] = "Senha do Blogger";
$a->strings["Blogger API URL"] = "URL da API do Blogger";
diff --git a/blogger/lang/ro/messages.po b/blogger/lang/ro/messages.po
index 8ba21d2f..de35da2b 100644
--- a/blogger/lang/ro/messages.po
+++ b/blogger/lang/ro/messages.po
@@ -27,7 +27,7 @@ msgid "Blogger Export"
msgstr "Export pe Blogger "
#: blogger.php:82
-msgid "Enable Blogger Post Plugin"
+msgid "Enable Blogger Post Addon"
msgstr "Activare Modul Postare pe Blogger "
#: blogger.php:87
diff --git a/blogger/lang/ro/strings.php b/blogger/lang/ro/strings.php
index f89fd4b9..f6aac95d 100644
--- a/blogger/lang/ro/strings.php
+++ b/blogger/lang/ro/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_ro($n){
;
$a->strings["Post to blogger"] = "Postați pe Blogger";
$a->strings["Blogger Export"] = "Export pe Blogger ";
-$a->strings["Enable Blogger Post Plugin"] = "Activare Modul Postare pe Blogger ";
+$a->strings["Enable Blogger Post Addon"] = "Activare Modul Postare pe Blogger ";
$a->strings["Blogger username"] = "Utilizator Blogger";
$a->strings["Blogger password"] = "Parolă Blogger ";
$a->strings["Blogger API URL"] = "URL Cheie API Blogger ";
diff --git a/blogger/lang/ru/messages.po b/blogger/lang/ru/messages.po
index 38942ed6..93d8ce3f 100644
--- a/blogger/lang/ru/messages.po
+++ b/blogger/lang/ru/messages.po
@@ -28,7 +28,7 @@ msgid "Blogger Export"
msgstr "Экспорт в Blogger"
#: blogger.php:82
-msgid "Enable Blogger Post Plugin"
+msgid "Enable Blogger Post Addon"
msgstr "Включить плагин Blogger"
#: blogger.php:87
diff --git a/blogger/lang/ru/strings.php b/blogger/lang/ru/strings.php
index a718ce74..3c2e1a29 100644
--- a/blogger/lang/ru/strings.php
+++ b/blogger/lang/ru/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_ru($n){
;
$a->strings["Post to blogger"] = "Написать в Blogger";
$a->strings["Blogger Export"] = "Экспорт в Blogger";
-$a->strings["Enable Blogger Post Plugin"] = "Включить плагин Blogger";
+$a->strings["Enable Blogger Post Addon"] = "Включить плагин Blogger";
$a->strings["Blogger username"] = "Имя пользователя Blogger";
$a->strings["Blogger password"] = "Пароль Blogger";
$a->strings["Blogger API URL"] = "Blogger API URL";
diff --git a/blogger/lang/zh-cn/strings.php b/blogger/lang/zh-cn/strings.php
index 6134a7d1..d9b71731 100644
--- a/blogger/lang/zh-cn/strings.php
+++ b/blogger/lang/zh-cn/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to blogger"] = "转播到blogger";
$a->strings["Blogger Post Settings"] = "Blogger转播设置";
-$a->strings["Enable Blogger Post Plugin"] = "使Blogger转播插件可用";
+$a->strings["Enable Blogger Post Addon"] = "使Blogger转播插件可用";
$a->strings["Blogger username"] = "Blogger用户名";
$a->strings["Blogger password"] = "Blogger密码";
$a->strings["Blogger API URL"] = "Blogger API URL";
diff --git a/buffer/README.md b/buffer/README.md
index 2ba2b01e..f97cf07b 100644
--- a/buffer/README.md
+++ b/buffer/README.md
@@ -5,4 +5,4 @@ Please register an app at [http://bufferapp.com/developers/api](http://bufferapp
Please use (your server address)/buffer/connect as Callback URL.
After the registration please enter the values for "Client ID" and "Client Secret" in the
-[administration](admin/plugins/buffer).
+[administration](admin/addons/buffer).
diff --git a/buffer/buffer.php b/buffer/buffer.php
index b90d9090..9c36f7c4 100644
--- a/buffer/buffer.php
+++ b/buffer/buffer.php
@@ -8,23 +8,24 @@
require 'addon/buffer/bufferapp.php';
use Friendica\App;
+use Friendica\Core\Addon;
use Friendica\Core\Config;
use Friendica\Core\PConfig;
function buffer_install() {
- register_hook('post_local', 'addon/buffer/buffer.php', 'buffer_post_local');
- register_hook('notifier_normal', 'addon/buffer/buffer.php', 'buffer_send');
- register_hook('jot_networks', 'addon/buffer/buffer.php', 'buffer_jot_nets');
- register_hook('connector_settings', 'addon/buffer/buffer.php', 'buffer_settings');
- register_hook('connector_settings_post', 'addon/buffer/buffer.php', 'buffer_settings_post');
+ Addon::registerHook('post_local', 'addon/buffer/buffer.php', 'buffer_post_local');
+ Addon::registerHook('notifier_normal', 'addon/buffer/buffer.php', 'buffer_send');
+ Addon::registerHook('jot_networks', 'addon/buffer/buffer.php', 'buffer_jot_nets');
+ Addon::registerHook('connector_settings', 'addon/buffer/buffer.php', 'buffer_settings');
+ Addon::registerHook('connector_settings_post', 'addon/buffer/buffer.php', 'buffer_settings_post');
}
function buffer_uninstall() {
- unregister_hook('post_local', 'addon/buffer/buffer.php', 'buffer_post_local');
- unregister_hook('notifier_normal', 'addon/buffer/buffer.php', 'buffer_send');
- unregister_hook('jot_networks', 'addon/buffer/buffer.php', 'buffer_jot_nets');
- unregister_hook('connector_settings', 'addon/buffer/buffer.php', 'buffer_settings');
- unregister_hook('connector_settings_post', 'addon/buffer/buffer.php', 'buffer_settings_post');
+ Addon::unregisterHook('post_local', 'addon/buffer/buffer.php', 'buffer_post_local');
+ Addon::unregisterHook('notifier_normal', 'addon/buffer/buffer.php', 'buffer_send');
+ Addon::unregisterHook('jot_networks', 'addon/buffer/buffer.php', 'buffer_jot_nets');
+ Addon::unregisterHook('connector_settings', 'addon/buffer/buffer.php', 'buffer_settings');
+ Addon::unregisterHook('connector_settings_post', 'addon/buffer/buffer.php', 'buffer_settings_post');
}
function buffer_module() {}
@@ -54,22 +55,24 @@ function buffer_content(&$a) {
return $o;
}
-function buffer_plugin_admin(&$a, &$o){
- $t = get_markup_template( "admin.tpl", "addon/buffer/" );
+function buffer_addon_admin(&$a, &$o)
+{
+ $t = get_markup_template("admin.tpl", "addon/buffer/");
$o = replace_macros($t, [
'$submit' => t('Save Settings'),
- // name, label, value, help, [extra values]
- '$client_id' => ['client_id', t('Client ID'), Config::get('buffer', 'client_id' ), ''],
- '$client_secret' => ['client_secret', t('Client Secret'), Config::get('buffer', 'client_secret' ), ''],
+ // name, label, value, help, [extra values]
+ '$client_id' => ['client_id', t('Client ID'), Config::get('buffer', 'client_id'), ''],
+ '$client_secret' => ['client_secret', t('Client Secret'), Config::get('buffer', 'client_secret'), ''],
]);
}
-function buffer_plugin_admin_post(&$a){
- $client_id = ((x($_POST,'client_id')) ? notags(trim($_POST['client_id'])) : '');
- $client_secret = ((x($_POST,'client_secret')) ? notags(trim($_POST['client_secret'])): '');
- Config::set('buffer','client_id',$client_id);
- Config::set('buffer','client_secret',$client_secret);
- info( t('Settings updated.'). EOL );
+function buffer_addon_admin_post(&$a)
+{
+ $client_id = ((x($_POST, 'client_id')) ? notags(trim($_POST['client_id'])) : '');
+ $client_secret = ((x($_POST, 'client_secret')) ? notags(trim($_POST['client_secret'])): '');
+ Config::set('buffer', 'client_id', $client_id);
+ Config::set('buffer', 'client_secret', $client_secret);
+ info(t('Settings updated.'). EOL);
}
function buffer_connect(&$a) {
@@ -154,7 +157,7 @@ function buffer_settings(&$a,&$s) {
$s .= '';
} else {
$s .= '
';
- $s .= '';
+ $s .= '';
$s .= '';
$s .= '
';
diff --git a/buffer/lang/C/messages.po b/buffer/lang/C/messages.po
index 17522ebe..3d519337 100644
--- a/buffer/lang/C/messages.po
+++ b/buffer/lang/C/messages.po
@@ -58,7 +58,7 @@ msgid "Authenticate your Buffer connection"
msgstr ""
#: buffer.php:146
-msgid "Enable Buffer Post Plugin"
+msgid "Enable Buffer Post Addon"
msgstr ""
#: buffer.php:151
diff --git a/buffer/lang/cs/messages.po b/buffer/lang/cs/messages.po
index 7ec1390b..63e753b0 100644
--- a/buffer/lang/cs/messages.po
+++ b/buffer/lang/cs/messages.po
@@ -60,8 +60,8 @@ msgid "Authenticate your Buffer connection"
msgstr "Přihlásit ke spojení na Buffer"
#: buffer.php:146
-msgid "Enable Buffer Post Plugin"
-msgstr "Povolit Buffer Post Plugin"
+msgid "Enable Buffer Post Addon"
+msgstr "Povolit Buffer Post Addon"
#: buffer.php:151
msgid "Post to Buffer by default"
diff --git a/buffer/lang/cs/strings.php b/buffer/lang/cs/strings.php
index 052b3e8e..f6ecd1e3 100644
--- a/buffer/lang/cs/strings.php
+++ b/buffer/lang/cs/strings.php
@@ -15,7 +15,7 @@ $a->strings["return to the connector page"] = "návrat ke stránce konektor";
$a->strings["Post to Buffer"] = "Příspěvek na Buffer";
$a->strings["Buffer Export"] = "Buffer Export";
$a->strings["Authenticate your Buffer connection"] = "Přihlásit ke spojení na Buffer";
-$a->strings["Enable Buffer Post Plugin"] = "Povolit Buffer Post Plugin";
+$a->strings["Enable Buffer Post Addon"] = "Povolit Buffer Post Addon";
$a->strings["Post to Buffer by default"] = "Defaultně zaslat na Buffer";
$a->strings["Check to delete this preset"] = "Zaškrtnout pro smazání tohoto nastavení";
$a->strings["Posts are going to all accounts that are enabled by default:"] = "Příspěvky jsou zasílány na všechny účty, které jsou defaultně povoleny:";
diff --git a/buffer/lang/de/messages.po b/buffer/lang/de/messages.po
index 21bbdda1..a252d87c 100644
--- a/buffer/lang/de/messages.po
+++ b/buffer/lang/de/messages.po
@@ -60,8 +60,8 @@ msgid "Authenticate your Buffer connection"
msgstr "Authentifiziere deine Verbindung zu buffer"
#: buffer.php:146
-msgid "Enable Buffer Post Plugin"
-msgstr "Buffer Post-Plugin aktivieren"
+msgid "Enable Buffer Post Addon"
+msgstr "Buffer Post-Addon aktivieren"
#: buffer.php:151
msgid "Post to Buffer by default"
diff --git a/buffer/lang/de/strings.php b/buffer/lang/de/strings.php
index 4ddbf1e9..dbf3f7dc 100644
--- a/buffer/lang/de/strings.php
+++ b/buffer/lang/de/strings.php
@@ -15,7 +15,7 @@ $a->strings["return to the connector page"] = "zurück zur Connector Seite";
$a->strings["Post to Buffer"] = "Auf buffer veröffentlichen";
$a->strings["Buffer Export"] = "Buffer Export";
$a->strings["Authenticate your Buffer connection"] = "Authentifiziere deine Verbindung zu buffer";
-$a->strings["Enable Buffer Post Plugin"] = "Buffer Post-Plugin aktivieren";
+$a->strings["Enable Buffer Post Addon"] = "Buffer Post-Addon aktivieren";
$a->strings["Post to Buffer by default"] = "Standardmäßig auf buffer veröffentlichen";
$a->strings["Check to delete this preset"] = "Markieren um dieses Preset zu löschen";
$a->strings["Posts are going to all accounts that are enabled by default:"] = "Beiträge werden an alle Accounts geschickt, die Standardmäßig aktiviert sind.";
diff --git a/buffer/lang/es/messages.po b/buffer/lang/es/messages.po
index 20ceacae..7a40dd46 100644
--- a/buffer/lang/es/messages.po
+++ b/buffer/lang/es/messages.po
@@ -59,8 +59,8 @@ msgid "Authenticate your Buffer connection"
msgstr "Autenticar su conexión de Buffer"
#: buffer.php:146
-msgid "Enable Buffer Post Plugin"
-msgstr "Active el plugin de publicación de Buffer"
+msgid "Enable Buffer Post Addon"
+msgstr "Active el addon de publicación de Buffer"
#: buffer.php:151
msgid "Post to Buffer by default"
diff --git a/buffer/lang/es/strings.php b/buffer/lang/es/strings.php
index 15c58cd1..0ee13d76 100644
--- a/buffer/lang/es/strings.php
+++ b/buffer/lang/es/strings.php
@@ -15,7 +15,7 @@ $a->strings["return to the connector page"] = "Vuelva a la página de conexión"
$a->strings["Post to Buffer"] = "Publique en Buffer";
$a->strings["Buffer Export"] = "Exportar Buffer";
$a->strings["Authenticate your Buffer connection"] = "Autenticar su conexión de Buffer";
-$a->strings["Enable Buffer Post Plugin"] = "Active el plugin de publicación de Buffer";
+$a->strings["Enable Buffer Post Addon"] = "Active el addon de publicación de Buffer";
$a->strings["Post to Buffer by default"] = "Publicar en Buffer por defecto";
$a->strings["Check to delete this preset"] = "Verificar para eliminar este preajuste";
$a->strings["Posts are going to all accounts that are enabled by default:"] = "Las publicaciones van a todas las cuentas que estén habilitadas por defecto";
diff --git a/buffer/lang/fr/messages.po b/buffer/lang/fr/messages.po
index bc159341..5ba45daa 100644
--- a/buffer/lang/fr/messages.po
+++ b/buffer/lang/fr/messages.po
@@ -62,7 +62,7 @@ msgid "Authenticate your Buffer connection"
msgstr "Authentifier votre connexion à Buffer"
#: buffer.php:146
-msgid "Enable Buffer Post Plugin"
+msgid "Enable Buffer Post Addon"
msgstr "Activer le connecteur Buffer"
#: buffer.php:151
diff --git a/buffer/lang/fr/strings.php b/buffer/lang/fr/strings.php
index 07460f47..f86822c5 100644
--- a/buffer/lang/fr/strings.php
+++ b/buffer/lang/fr/strings.php
@@ -15,7 +15,7 @@ $a->strings["return to the connector page"] = "revenir à la page du connecteur"
$a->strings["Post to Buffer"] = "Publier sur Buffer";
$a->strings["Buffer Export"] = "Export Buffer";
$a->strings["Authenticate your Buffer connection"] = "Authentifier votre connexion à Buffer";
-$a->strings["Enable Buffer Post Plugin"] = "Activer le connecteur Buffer";
+$a->strings["Enable Buffer Post Addon"] = "Activer le connecteur Buffer";
$a->strings["Post to Buffer by default"] = "Publier sur Buffer par défaut";
$a->strings["Check to delete this preset"] = "Cocher pour supprimer ce préréglage";
$a->strings["Posts are going to all accounts that are enabled by default:"] = "Les posts sont envoyés à tous les comptes activés par défault:";
diff --git a/buffer/lang/it/messages.po b/buffer/lang/it/messages.po
index 232cd2d6..f74d2cfa 100644
--- a/buffer/lang/it/messages.po
+++ b/buffer/lang/it/messages.po
@@ -61,8 +61,8 @@ msgid "Authenticate your Buffer connection"
msgstr "Autentica la tua connessione a Buffer"
#: buffer.php:146
-msgid "Enable Buffer Post Plugin"
-msgstr "Abilita il plugin di invio a Buffer"
+msgid "Enable Buffer Post Addon"
+msgstr "Abilita il addon di invio a Buffer"
#: buffer.php:151
msgid "Post to Buffer by default"
diff --git a/buffer/lang/it/strings.php b/buffer/lang/it/strings.php
index 9081af8a..d0c01770 100644
--- a/buffer/lang/it/strings.php
+++ b/buffer/lang/it/strings.php
@@ -15,7 +15,7 @@ $a->strings["return to the connector page"] = "ritorna alla pagina del connettor
$a->strings["Post to Buffer"] = "Invia a Buffer";
$a->strings["Buffer Export"] = "Esporta Buffer";
$a->strings["Authenticate your Buffer connection"] = "Autentica la tua connessione a Buffer";
-$a->strings["Enable Buffer Post Plugin"] = "Abilita il plugin di invio a Buffer";
+$a->strings["Enable Buffer Post Addon"] = "Abilita il addon di invio a Buffer";
$a->strings["Post to Buffer by default"] = "Invia sempre a Buffer";
$a->strings["Check to delete this preset"] = "Seleziona per eliminare questo preset";
$a->strings["Posts are going to all accounts that are enabled by default:"] = "I messaggi andranno a tutti gli account che sono abilitati:";
diff --git a/buffer/lang/pt-br/messages.po b/buffer/lang/pt-br/messages.po
index 08884bd4..795f2642 100644
--- a/buffer/lang/pt-br/messages.po
+++ b/buffer/lang/pt-br/messages.po
@@ -61,8 +61,8 @@ msgid "Authenticate your Buffer connection"
msgstr "Autenticar sua conexão de Buffer"
#: buffer.php:146
-msgid "Enable Buffer Post Plugin"
-msgstr "Habilita plugin para publicar no Buffer"
+msgid "Enable Buffer Post Addon"
+msgstr "Habilita addon para publicar no Buffer"
#: buffer.php:151
msgid "Post to Buffer by default"
diff --git a/buffer/lang/pt-br/strings.php b/buffer/lang/pt-br/strings.php
index 272a071e..737a86eb 100644
--- a/buffer/lang/pt-br/strings.php
+++ b/buffer/lang/pt-br/strings.php
@@ -15,7 +15,7 @@ $a->strings["return to the connector page"] = "Volte a página de conectores.";
$a->strings["Post to Buffer"] = "Publicar no Buffer";
$a->strings["Buffer Export"] = "Exportar Buffer";
$a->strings["Authenticate your Buffer connection"] = "Autenticar sua conexão de Buffer";
-$a->strings["Enable Buffer Post Plugin"] = "Habilita plugin para publicar no Buffer";
+$a->strings["Enable Buffer Post Addon"] = "Habilita addon para publicar no Buffer";
$a->strings["Post to Buffer by default"] = "Publica no Buffer por padrão";
$a->strings["Check to delete this preset"] = "Marque para excluir este perfil";
$a->strings["Posts are going to all accounts that are enabled by default:"] = "";
diff --git a/buffer/lang/ro/messages.po b/buffer/lang/ro/messages.po
index 383390aa..81e46a5a 100644
--- a/buffer/lang/ro/messages.po
+++ b/buffer/lang/ro/messages.po
@@ -59,7 +59,7 @@ msgid "Authenticate your Buffer connection"
msgstr "Autentificați-vă conectarea la Buffer"
#: buffer.php:146
-msgid "Enable Buffer Post Plugin"
+msgid "Enable Buffer Post Addon"
msgstr "Activare Modul Postare pe Buffer"
#: buffer.php:151
diff --git a/buffer/lang/ro/strings.php b/buffer/lang/ro/strings.php
index 7e7e575f..a6bda064 100644
--- a/buffer/lang/ro/strings.php
+++ b/buffer/lang/ro/strings.php
@@ -15,7 +15,7 @@ $a->strings["return to the connector page"] = "revenire la pagina de conectare";
$a->strings["Post to Buffer"] = "Postați pe Buffer";
$a->strings["Buffer Export"] = "Export pe Buffer ";
$a->strings["Authenticate your Buffer connection"] = "Autentificați-vă conectarea la Buffer";
-$a->strings["Enable Buffer Post Plugin"] = "Activare Modul Postare pe Buffer";
+$a->strings["Enable Buffer Post Addon"] = "Activare Modul Postare pe Buffer";
$a->strings["Post to Buffer by default"] = "Postați implicit pe Buffer";
$a->strings["Check to delete this preset"] = "Bifați pentru a șterge această presetare";
$a->strings["Posts are going to all accounts that are enabled by default:"] = "Posturile merg către toate conturile care sunt activate implicit:";
diff --git a/buffer/lang/ru/messages.po b/buffer/lang/ru/messages.po
index 84e2531c..68107abc 100644
--- a/buffer/lang/ru/messages.po
+++ b/buffer/lang/ru/messages.po
@@ -60,7 +60,7 @@ msgid "Authenticate your Buffer connection"
msgstr "Аутентифицируйте свое соединение с Buffer"
#: buffer.php:146
-msgid "Enable Buffer Post Plugin"
+msgid "Enable Buffer Post Addon"
msgstr "Включить плагин Buffer"
#: buffer.php:151
diff --git a/buffer/lang/ru/strings.php b/buffer/lang/ru/strings.php
index 9b8bd041..8572ffd6 100644
--- a/buffer/lang/ru/strings.php
+++ b/buffer/lang/ru/strings.php
@@ -15,7 +15,7 @@ $a->strings["return to the connector page"] = "вернуться на стра
$a->strings["Post to Buffer"] = "Написать в Buffer";
$a->strings["Buffer Export"] = "Экспорт в Buffer";
$a->strings["Authenticate your Buffer connection"] = "Аутентифицируйте свое соединение с Buffer";
-$a->strings["Enable Buffer Post Plugin"] = "Включить плагин Buffer";
+$a->strings["Enable Buffer Post Addon"] = "Включить плагин Buffer";
$a->strings["Post to Buffer by default"] = "Отправлять в Buffer по умолчанию";
$a->strings["Check to delete this preset"] = "Отметьте для удаления этих настроек";
$a->strings["Posts are going to all accounts that are enabled by default:"] = "Сообщения уходят во все учетные записи по умолчанию:";
diff --git a/buglink/buglink.php b/buglink/buglink.php
index 06eaddbb..5ffa68db 100644
--- a/buglink/buglink.php
+++ b/buglink/buglink.php
@@ -5,11 +5,11 @@
* Version: 1.0
* Author: Mike Macgirvin
*/
+use Friendica\Core\Addon;
+
+function buglink_install() { Addon::registerHook('page_end', 'addon/buglink/buglink.php', 'buglink_active'); }
-function buglink_install() { register_hook('page_end', 'addon/buglink/buglink.php', 'buglink_active'); }
-
-
-function buglink_uninstall() { unregister_hook('page_end', 'addon/buglink/buglink.php', 'buglink_active'); }
+function buglink_uninstall() { Addon::unregisterHook('page_end', 'addon/buglink/buglink.php', 'buglink_active'); }
function buglink_active(&$a,&$b) { $b .= '
'; }
diff --git a/calc/calc.php b/calc/calc.php
index a299d45e..176ade85 100644
--- a/calc/calc.php
+++ b/calc/calc.php
@@ -5,14 +5,14 @@
* Version: 1.0
* Author: Mike Macgirvin
*/
-
+use Friendica\Core\Addon;
function calc_install() {
- register_hook('app_menu', 'addon/calc/calc.php', 'calc_app_menu');
+ Addon::registerHook('app_menu', 'addon/calc/calc.php', 'calc_app_menu');
}
function calc_uninstall() {
- unregister_hook('app_menu', 'addon/calc/calc.php', 'calc_app_menu');
+ Addon::unregisterHook('app_menu', 'addon/calc/calc.php', 'calc_app_menu');
}
diff --git a/communityhome/README.md b/communityhome/README.md
index 21f2a946..91838d9f 100644
--- a/communityhome/README.md
+++ b/communityhome/README.md
@@ -1,12 +1,12 @@
Community Home
--------------
-This plugin overwrites the default home page shown to not logged users.
+This addon overwrites the default home page shown to not logged users.
On sidebar there are the login form, last ten users (if they have
choosed to be in site directory), last ten public photos and last ten
"likes" sent by a site user or about a site user's item
-In main content is shown the community stream. This plugin doesn't
+In main content is shown the community stream. This addon doesn't
honour your community page visibility site setting: the community
stream is shown also if you have choose to not show the community page.
diff --git a/communityhome/communityhome.php b/communityhome/communityhome.php
index 8364392b..169d2416 100644
--- a/communityhome/communityhome.php
+++ b/communityhome/communityhome.php
@@ -5,7 +5,7 @@
* Version: 2.0
* Author: Fabio Comuni
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\Config;
use Friendica\Module\Login;
@@ -13,12 +13,12 @@ require_once('mod/community.php');
function communityhome_install() {
- register_hook('home_content', 'addon/communityhome/communityhome.php', 'communityhome_home');
+ Addon::registerHook('home_content', 'addon/communityhome/communityhome.php', 'communityhome_home');
logger("installed communityhome");
}
function communityhome_uninstall() {
- unregister_hook('home_content', 'addon/communityhome/communityhome.php', 'communityhome_home');
+ Addon::unregisterHook('home_content', 'addon/communityhome/communityhome.php', 'communityhome_home');
logger("removed communityhome");
}
@@ -33,25 +33,28 @@ function communityhome_getopts() {
];
}
-function communityhome_plugin_admin(&$a, &$o) {
- $tpl = get_markup_template( 'settings.tpl', 'addon/communityhome/' );
+function communityhome_addon_admin(&$a, &$o)
+{
+ $tpl = get_markup_template('settings.tpl', 'addon/communityhome/');
$opts = communityhome_getopts();
$ctx = [
'$submit' => t("Submit"),
'$fields' => [],
];
- foreach($opts as $k=>$v) {
+
+ foreach ($opts as $k => $v) {
$ctx['fields'][] = ['communityhome_'.$k, $v, Config::get('communityhome', $k)];
}
$o = replace_macros($tpl, $ctx);
}
-function communityhome_plugin_admin_post(&$a,&$b) {
- if(x($_POST,'communityhome-submit')) {
+function communityhome_addon_admin_post(&$a, &$b)
+{
+ if (x($_POST, 'communityhome-submit')) {
$opts = communityhome_getopts();
- foreach($opts as $k=>$v) {
- Config::set('communityhome', $k, x($_POST,'communityhome_'.$k));
+ foreach ($opts as $k => $v) {
+ Config::set('communityhome', $k, x($_POST, 'communityhome_'.$k));
}
}
}
diff --git a/convert/convert.php b/convert/convert.php
index 03b1e9d5..1ddd2978 100644
--- a/convert/convert.php
+++ b/convert/convert.php
@@ -5,13 +5,14 @@
* Version: 1.0
* Author: Mike Macgirvin
*/
+use Friendica\Core\Addon;
function convert_install() {
- register_hook('app_menu', 'addon/convert/convert.php', 'convert_app_menu');
+ Addon::registerHook('app_menu', 'addon/convert/convert.php', 'convert_app_menu');
}
function convert_uninstall() {
- unregister_hook('app_menu', 'addon/convert/convert.php', 'convert_app_menu');
+ Addon::unregisterHook('app_menu', 'addon/convert/convert.php', 'convert_app_menu');
}
function convert_app_menu($a,&$b) {
diff --git a/curweather/curweather.php b/curweather/curweather.php
index 7b8b89e3..dc9f9bb8 100644
--- a/curweather/curweather.php
+++ b/curweather/curweather.php
@@ -13,6 +13,7 @@ require_once('include/network.php');
require_once("mod/proxy.php");
require_once('include/text.php');
+use Friendica\Core\Addon;
use Friendica\Core\Cache;
use Friendica\Core\Config;
use Friendica\Core\PConfig;
@@ -65,16 +66,17 @@ function getWeather( $loc, $units='metric', $lang='en', $appid='', $cachetime=0)
return $r;
}
-function curweather_install() {
- register_hook('network_mod_init', 'addon/curweather/curweather.php', 'curweather_network_mod_init');
- register_hook('plugin_settings', 'addon/curweather/curweather.php', 'curweather_plugin_settings');
- register_hook('plugin_settings_post', 'addon/curweather/curweather.php', 'curweather_plugin_settings_post');
+function curweather_install()
+{
+ Addon::registerHook('network_mod_init', 'addon/curweather/curweather.php', 'curweather_network_mod_init');
+ Addon::registerHook('addon_settings', 'addon/curweather/curweather.php', 'curweather_addon_settings');
+ Addon::registerHook('addon_settings_post', 'addon/curweather/curweather.php', 'curweather_addon_settings_post');
}
function curweather_uninstall() {
- unregister_hook('network_mod_init', 'addon/curweather/curweather.php', 'curweather_network_mod_init');
- unregister_hook('plugin_settings', 'addon/curweather/curweather.php', 'curweather_plugin_settings');
- unregister_hook('plugin_settings_post', 'addon/curweather/curweather.php', 'curweather_plugin_settings_post');
+ Addon::unregisterHook('network_mod_init', 'addon/curweather/curweather.php', 'curweather_network_mod_init');
+ Addon::unregisterHook('addon_settings', 'addon/curweather/curweather.php', 'curweather_addon_settings');
+ Addon::unregisterHook('addon_settings_post', 'addon/curweather/curweather.php', 'curweather_addon_settings_post');
}
function curweather_network_mod_init(&$fk_app,&$b) {
@@ -140,7 +142,7 @@ function curweather_network_mod_init(&$fk_app,&$b) {
}
-function curweather_plugin_settings_post($a,$post) {
+function curweather_addon_settings_post($a,$post) {
if(! local_user() || (! x($_POST,'curweather-settings-submit')))
return;
PConfig::set(local_user(),'curweather','curweather_loc',trim($_POST['curweather_loc']));
@@ -151,7 +153,7 @@ function curweather_plugin_settings_post($a,$post) {
}
-function curweather_plugin_settings(&$a,&$s) {
+function curweather_addon_settings(&$a,&$s) {
if(! local_user())
return;
@@ -185,7 +187,7 @@ function curweather_plugin_settings(&$a,&$s) {
}
// Config stuff for the admin panel to let the admin of the node set a APPID
// for accessing the API of openweathermap
-function curweather_plugin_admin_post (&$a) {
+function curweather_addon_admin_post (&$a) {
if(! is_site_admin())
return;
if ($_POST['curweather-submit']) {
@@ -194,7 +196,7 @@ function curweather_plugin_admin_post (&$a) {
info( t('Curweather settings saved.'.EOL));
}
}
-function curweather_plugin_admin (&$a, &$o) {
+function curweather_addon_admin (&$a, &$o) {
if(! is_site_admin())
return;
$appid = Config::get('curweather','appid');
diff --git a/dav/README.md b/dav/README.md
index 7c2abdb8..b86d47fc 100644
--- a/dav/README.md
+++ b/dav/README.md
@@ -30,7 +30,7 @@ At the moment, the calendar system supports the following features:
- CalDAV-Sync (http://dmfs.org/caldav/) works, non-free
## Installation
-After activating, serveral tables in the database have to be created. The admin-interface of the plugin will try to do this automatically.
+After activating, serveral tables in the database have to be created. The admin-interface of the addon will try to do this automatically.
In case of errors, the SQL-statement to create the tables manually are shown in the admin-interface.
@@ -63,7 +63,7 @@ MIT License
-Author of this plugin (the parts that are not part of the libraries above):
+Author of this addon (the parts that are not part of the libraries above):
Tobias Hößl
http://friendica.hoessl.eu/profile/cato
http://www.hoessl.eu/
diff --git a/dav/SabreDAV/ChangeLog b/dav/SabreDAV/ChangeLog
index 3f424d95..aa7b686d 100644
--- a/dav/SabreDAV/ChangeLog
+++ b/dav/SabreDAV/ChangeLog
@@ -17,7 +17,7 @@
* Changed: The Sabre_VObject library now spawned into it's own project!
* New feature: Support for caldav notifications!
* Changed: Responsibility for dealing with the calendar-query is now
- moved from the CalDAV plugin to the CalDAV backends. This allows for
+ moved from the CalDAV addon to the CalDAV backends. This allows for
heavy optimizations.
* Changed: The CalDAV PDO backend is now a lot faster for common
calendar queries.
@@ -27,7 +27,7 @@
receiving "text/x-vcard; charset=utf-8" for a contenttype.
* Added: Sabre_DAV_Client now throws more specific exceptions in cases
where we already has an exception class.
- * Added: Sabre_DAV_PartialUpdate. This plugin allows you to use the
+ * Added: Sabre_DAV_PartialUpdate. This addon allows you to use the
PATCH method to update parts of a file.
* Added: Tons of timezone name mappings for Microsoft Exchange.
* Added: Support for an 'exception' event.
@@ -69,13 +69,13 @@
* Fixed: Issue 112: Stronger validation of iCalendar objects. Now making
sure every iCalendar object only contains 1 component, and disallowing
vcards, forcing every component to have a UID.
- * Fixed: Basic validation for vcards in the CardDAV plugin.
+ * Fixed: Basic validation for vcards in the CardDAV addon.
* Fixed: Issue 213: Workaround for an Evolution bug, that prevented it
from updating events.
* Fixed: Issue 211: A time-limit query on a non-relative alarm trigger in
a recurring event could result in an endless loop.
* Fixed: All uri fields are now a maximum of 200 characters. The Bynari
- outlook plugin used much longer strings so this should improve
+ outlook addon used much longer strings so this should improve
compatibility.
* Fixed: Added a workaround for a bug in KDE 4.8.2 contact syncing. See
https://bugs.kde.org/show_bug.cgi?id=300047
@@ -109,7 +109,7 @@
COUNT= parameter in the RRULE property.
* Added: Support for time-range filters on VALARM components.
* Fixed: Correctly filtering all-day events.
- * Fixed: Sending back correct mimetypes from the browser plugin (thanks
+ * Fixed: Sending back correct mimetypes from the browser addon (thanks
Jürgen).
* Fixed: Issue 195: Sabre_CardDAV pear package had an incorrect dependency.
* Fixed: Calendardata would be destroyed when performing a MOVE request.
@@ -134,8 +134,8 @@
* BC Break: Default Principals PDO backend now needs a new field in the
'principals' table. See the website for details.
* Added: Ability to create new calendars and addressbooks from within the
- browser plugin.
- * Added: Browser plugin: icons for various nodes.
+ browser addon.
+ * Added: Browser addon: icons for various nodes.
* Added: Support for FREEBUSY reports!
* Added: Support for creating principals with admin-level privileges.
* Added: Possibility to let server send out invitation emails on behalf of
@@ -143,11 +143,11 @@
* Changed: beforeCreateFile event now passes data argument by reference.
* Changed: The 'propertyMap' property from Sabre_VObject_Reader, must now
be specified in Sabre_VObject_Property::$classMap.
- * Added: Ability for plugins to tell the ACL plugin which principal
- plugins are searchable.
+ * Added: Ability for addons to tell the ACL addon which principal
+ addons are searchable.
* Added: [DAVACL] Per-node overriding of supported privileges. This allows
for custom privileges where needed.
- * Added: [DAVACL] Public 'principalSearch' method on the DAVACL plugin,
+ * Added: [DAVACL] Public 'principalSearch' method on the DAVACL addon,
which allows for easy searching for principals, based on their
properties.
* Added: Sabre_VObject_Component::getComponents() to return a list of only
@@ -231,8 +231,8 @@
* Fixed: VObject properties are now always encoded before components.
* Fixed: Sabre_DAVACL had issues with multiple levels of privilege
aggregration.
- * Changed: Added 'GuessContentType' plugin to fileserver.php example.
- * Fixed: The Browser plugin will now trigger the correct events when
+ * Changed: Added 'GuessContentType' addon to fileserver.php example.
+ * Fixed: The Browser addon will now trigger the correct events when
creating files.
* Fixed: The ICSExportPlugin now considers ACL's.
* Added: Made it optional to supply carddata from an Addressbook backend
@@ -251,7 +251,7 @@
files to be locked at the same time.
1.5.4-stable (2011-10-28)
- * Fixed: GuessContentType plugin now supports mixed case file extensions.
+ * Fixed: GuessContentType addon now supports mixed case file extensions.
* Fixed: DATE-TIME encoding was wrong in VObject. (we used 'DATETIME').
* Changed: Sending back HTTP 204 after a PUT request on an existing resource
instead of HTTP 200. This should fix Evolution CardDAV client
@@ -283,7 +283,7 @@
* Fixed: Issue 140: Not returning 201 Created if an event cancelled the
creation of a file.
* Fixed: Issue 150: Faster URLUtil::encodePath() implementation.
- * Fixed: Issue 144: Browser plugin could interfere with
+ * Fixed: Issue 144: Browser addon could interfere with
TemporaryFileFilterPlugin if it was loaded first.
* Added: It's not possible to specify more 'alternate uris' in principal
backends.
@@ -314,7 +314,7 @@
* Added: Clark-notation parser to XML utility.
* Added: unset() support to VObject components.
* Fixed: Refactored CalDAV property fetching to be faster and simpler.
- * Added: Central string-matcher for CalDAV and CardDAV plugins.
+ * Added: Central string-matcher for CalDAV and CardDAV addons.
* Added: i;unicode-casemap support
* Fixed: VObject bug: wouldn't parse parameters if they weren't specified
in uppercase.
@@ -322,7 +322,7 @@
* Fixed: VObject bug: Parameters with no value are now correctly parsed.
* Changed: If calendars don't specify which components they allow, 'all'
components are assumed (e.g.: VEVENT, VTODO, VJOURNAL).
- * Changed: Browser plugin now uses POST variable 'sabreAction' instead of
+ * Changed: Browser addon now uses POST variable 'sabreAction' instead of
'action' to reduce the chance of collisions.
1.4.4-stable (2011-07-07)
@@ -388,7 +388,7 @@
* Added: Ability to automatically generate full .ics feeds off calendars.
To use: Add the Sabre_CalDAV_ICSExportPlugin, and add ?export to your
calendar url.
- * Added: Plugins can now specify a pluginname, for easy access using
+ * Added: Plugins can now specify a addonname, for easy access using
Sabre_DAV_Server::getPlugin().
* Added: beforeGetProperties event.
* Added: updateProperties event.
@@ -428,7 +428,7 @@
break, so if you implement Sabre_DAV_ICollection directly, add the method.
* Changed: Almost all HTTP method implementations now take a uri argument,
including events. This allows for internal rerouting of certain calls.
- If you have custom plugins, make sure they use this argument. If they
+ If you have custom addons, make sure they use this argument. If they
don't, they will likely still work, but it might get in the way of
future changes.
* Changed: All getETag methods MUST now surround the etag with
@@ -441,7 +441,7 @@
instead.
* Removed: Sabre_DAV_IDirectory interface, use Sabre_DAV_ICollection
instead.
- * Added: Browser plugin now uses {DAV:}displayname if this property is
+ * Added: Browser addon now uses {DAV:}displayname if this property is
available.
* Added: Cache layer in the ObjectTree.
* Added: Tree classes now have a delete and getChildren method.
@@ -488,7 +488,7 @@
* Updated: Small improvements to example files.
1.2.0 (2010-05-24)
- * Fixed: Browser plugin now displays international characters.
+ * Fixed: Browser addon now displays international characters.
* Changed: More properties in CalDAV classes are now protected instead of
private.
@@ -530,7 +530,7 @@
* Update: Complete rewrite of property updating. Now easier to use and
atomic.
* Fixed: Issue 16, automatically adding trailing / to baseUri.
- * Added: text/plain is used for .txt files in GuessContentType plugin.
+ * Added: text/plain is used for .txt files in GuessContentType addon.
* Added: support for principal-property-search and
principal-search-property-set reports.
* Added: Issue 31: Hiding exception information by default. Can be turned
@@ -603,10 +603,10 @@
this.
* Added: PDO authentication backend.
* Added: Example sql for auth, caldav, locks for sqlite.
- * Added: Sabre_DAV_Browser_GuessContentType plugin
- * Changed: Authentication plugin refactored, making it possible to
+ * Added: Sabre_DAV_Browser_GuessContentType addon
+ * Changed: Authentication addon refactored, making it possible to
implement non-digest authentication.
- * Fixed: Better error display in browser plugin.
+ * Fixed: Better error display in browser addon.
* Added: Support for {DAV:}supported-report-set
* Added: XML utility class with helper functions for the WebDAV protocol.
* Added: Tons of unittests
@@ -706,15 +706,15 @@
Before, execution would be stopped by anything loosely evaluating to
false.
* Changed: the getPropertiesForPath method now takes a different set of
- arguments, and returns a different response. This allows plugin
+ arguments, and returns a different response. This allows addon
developers to return statuses for properties other than 200 and 404. The
hrefs are now also always calculated relative to the baseUri, and not
the uri of the request.
* Changed: generatePropFindResponse is renamed to generateMultiStatus, and
now takes a list of properties similar to the response of
getPropertiesForPath. This was also needed to improve flexibility for
- plugin development.
- * Changed: Auth plugins are no longer included. They were not yet stable
+ addon development.
+ * Changed: Auth addons are no longer included. They were not yet stable
quality, so they will probably be reintroduced in a later version.
* Changed: PROPPATCH also used generateMultiStatus now.
* Removed: unknownProperties event. This is replaced by the
@@ -732,7 +732,7 @@
* Fixed: Copy and Move could fail in the root directory. This is now
fixed.
* Added: Plugins can now be retrieved by their classname. This is useful
- for inter-plugin communication.
+ for inter-addon communication.
* Added: The Auth backend can now return usernames and user-id's.
* Added: The Auth backend got a getUsers method
* Added: Sabre_DAV_FSExt_Directory now returns quota info
@@ -741,7 +741,7 @@
* Fixed: UNLOCK bug. Unlock didn't work at all
0.12-beta (2009-09-10)
- * Updated: Browser plugin now shows multiple {DAV:}resourcetype values
+ * Updated: Browser addon now shows multiple {DAV:}resourcetype values
if available.
* Added: Experimental PDO backend for Locks Manager
* Fixed: Sending Content-Length: 0 for every empty response. This
@@ -766,7 +766,7 @@
* Added: Ability to choose to use auth-int, auth or both for HTTP Digest
authentication. (Issue 11)
* Changed: Made more methods in Sabre_DAV_Server public.
- * Fixed: TemporaryFileFilter plugin now intercepts HTTP LOCK requests
+ * Fixed: TemporaryFileFilter addon now intercepts HTTP LOCK requests
to non-existent files. (Issue 12)
* Added: Central list of defined xml namespace prefixes. This can reduce
Bandwidth and legibility for xml bodies with user-defined namespaces.
@@ -779,8 +779,8 @@
and IDirectory objects. If you created your own Tree objects,
this will most likely break in this release.
* Changed: Moved all the Locking logic from the Tree and Server classes
- into a separate plugin.
- * Changed: TemporaryFileFilter is now a plugin.
+ into a separate addon.
+ * Changed: TemporaryFileFilter is now a addon.
* Added: Comes with an autoloader script. This can be used instead of
the includer script, and is preferred by some people.
* Added: AWS Authentication class.
@@ -790,7 +790,7 @@
priority. This is for example needed to ensure that the Authentication
Plugin is used before any other Plugin.
* Added: 22 new tests.
- * Added: Users-manager plugin for .htdigest files. Experimental and
+ * Added: Users-manager addon for .htdigest files. Experimental and
subject to change.
* Added: RFC 2324 HTTP 418 status code
* Fixed: Exclusive locks could in some cases be picked up as shared locks
@@ -801,7 +801,7 @@
* Changed: Renamed all exceptions! This is a compatibility break. Every
Exception now follows Sabre_DAV_Exception_FileNotFound convention
instead of Sabre_DAV_FileNotFoundException.
- * Added: Browser plugin now allows uploading and creating directories
+ * Added: Browser addon now allows uploading and creating directories
straight from the browser.
* Added: 12 more unittests
* Fixed: Locking bug, which became prevalent on Windows Vista.
@@ -815,14 +815,14 @@
* Added: support for {DAV:}supportedlock.
* Added: support for {DAV:}lockdiscovery.
* Added: 6 new tests.
- * Added: New plugin system.
- * Added: Simple HTML directory plugin, for browser access.
+ * Added: New addon system.
+ * Added: Simple HTML directory addon, for browser access.
* Added: Server class now sends back standard pre-condition error xml
bodies. This was new since RFC4918.
* Added: Sabre_DAV_Tree_Aggregrate, which can 'host' multiple Tree objects
into one.
* Added: simple basis for HTTP REPORT method. This method is not used yet,
- but can be used by plugins to add reports.
+ but can be used by addons to add reports.
* Changed: ->getSize is only called for files, no longer for collections.
r303
* Changed: Sabre_DAV_FilterTree is now Sabre_DAV_Tree_Filter
diff --git a/dav/SabreDAV/lib/Sabre/CalDAV/ICSExportPlugin.php b/dav/SabreDAV/lib/Sabre/CalDAV/ICSExportPlugin.php
index d3e4e7b7..7d989a95 100644
--- a/dav/SabreDAV/lib/Sabre/CalDAV/ICSExportPlugin.php
+++ b/dav/SabreDAV/lib/Sabre/CalDAV/ICSExportPlugin.php
@@ -5,7 +5,7 @@ use Sabre\VObject;
/**
* ICS Exporter
*
- * This plugin adds the ability to export entire calendars as .ics files.
+ * This addon adds the ability to export entire calendars as .ics files.
* This is useful for clients that don't support CalDAV yet. They often do
* support ics files.
*
@@ -25,7 +25,7 @@ class Sabre_CalDAV_ICSExportPlugin extends Sabre_DAV_ServerPlugin {
private $server;
/**
- * Initializes the plugin and registers event handlers
+ * Initializes the addon and registers event handlers
*
* @param Sabre_DAV_Server $server
* @return void
diff --git a/dav/SabreDAV/lib/Sabre/CalDAV/Notifications/Collection.php b/dav/SabreDAV/lib/Sabre/CalDAV/Notifications/Collection.php
index 8f6cb260..479720c6 100644
--- a/dav/SabreDAV/lib/Sabre/CalDAV/Notifications/Collection.php
+++ b/dav/SabreDAV/lib/Sabre/CalDAV/Notifications/Collection.php
@@ -4,7 +4,7 @@
* This node represents a list of notifications.
*
* It provides no additional functionality, but you must implement this
- * interface to allow the Notifications plugin to mark the collection
+ * interface to allow the Notifications addon to mark the collection
* as a notifications collection.
*
* This collection should only return Sabre_CalDAV_Notifications_INode nodes as
diff --git a/dav/SabreDAV/lib/Sabre/CalDAV/Notifications/ICollection.php b/dav/SabreDAV/lib/Sabre/CalDAV/Notifications/ICollection.php
index eb873af3..bdf6bf1e 100644
--- a/dav/SabreDAV/lib/Sabre/CalDAV/Notifications/ICollection.php
+++ b/dav/SabreDAV/lib/Sabre/CalDAV/Notifications/ICollection.php
@@ -4,7 +4,7 @@
* This node represents a list of notifications.
*
* It provides no additional functionality, but you must implement this
- * interface to allow the Notifications plugin to mark the collection
+ * interface to allow the Notifications addon to mark the collection
* as a notifications collection.
*
* This collection should only return Sabre_CalDAV_Notifications_INode nodes as
diff --git a/dav/SabreDAV/lib/Sabre/CalDAV/Plugin.php b/dav/SabreDAV/lib/Sabre/CalDAV/Plugin.php
index c0e4a206..f1c93af0 100644
--- a/dav/SabreDAV/lib/Sabre/CalDAV/Plugin.php
+++ b/dav/SabreDAV/lib/Sabre/CalDAV/Plugin.php
@@ -3,9 +3,9 @@
use Sabre\VObject;
/**
- * CalDAV plugin
+ * CalDAV addon
*
- * This plugin provides functionality added by CalDAV (RFC 4791)
+ * This addon provides functionality added by CalDAV (RFC 4791)
* It implements new reports, and the MKCALENDAR method.
*
* @package Sabre
@@ -67,7 +67,7 @@ class Sabre_CalDAV_Plugin extends Sabre_DAV_ServerPlugin {
}
/**
- * Use this method to tell the server this plugin defines additional
+ * Use this method to tell the server this addon defines additional
* HTTP methods.
*
* This method is passed a uri. It should only return HTTP methods that are
@@ -107,9 +107,9 @@ class Sabre_CalDAV_Plugin extends Sabre_DAV_ServerPlugin {
}
/**
- * Returns a plugin name.
+ * Returns a addon name.
*
- * Using this name other plugins will be able to access other plugins
+ * Using this name other addons will be able to access other addons
* using Sabre_DAV_Server::getPlugin
*
* @return string
@@ -121,7 +121,7 @@ class Sabre_CalDAV_Plugin extends Sabre_DAV_ServerPlugin {
}
/**
- * Returns a list of reports this plugin supports.
+ * Returns a list of reports this addon supports.
*
* This will be used in the {DAV:}supported-report-set property.
* Note that you still need to subscribe to the 'report' event to actually
@@ -147,7 +147,7 @@ class Sabre_CalDAV_Plugin extends Sabre_DAV_ServerPlugin {
}
/**
- * Initializes the plugin
+ * Initializes the addon
*
* @param Sabre_DAV_Server $server
* @return void
@@ -631,7 +631,7 @@ class Sabre_CalDAV_Plugin extends Sabre_DAV_ServerPlugin {
$acl = $this->server->getPlugin('acl');
if (!$acl) {
- throw new Sabre_DAV_Exception('The ACL plugin must be loaded for free-busy queries to work');
+ throw new Sabre_DAV_Exception('The ACL addon must be loaded for free-busy queries to work');
}
$uri = $this->server->getRequestUri();
$acl->checkPrivileges($uri,'{' . self::NS_CALDAV . '}read-free-busy');
@@ -665,7 +665,7 @@ class Sabre_CalDAV_Plugin extends Sabre_DAV_ServerPlugin {
/**
* This method is triggered before a file gets updated with new content.
*
- * This plugin uses this method to ensure that CalDAV objects receive
+ * This addon uses this method to ensure that CalDAV objects receive
* valid calendar data.
*
* @param string $path
@@ -685,7 +685,7 @@ class Sabre_CalDAV_Plugin extends Sabre_DAV_ServerPlugin {
/**
* This method is triggered before a new file is created.
*
- * This plugin uses this method to ensure that newly created calendar
+ * This addon uses this method to ensure that newly created calendar
* objects contain valid calendar data.
*
* @param string $path
@@ -1014,7 +1014,7 @@ class Sabre_CalDAV_Plugin extends Sabre_DAV_ServerPlugin {
/**
* This method allows us to intercept the 'mkcalendar' sabreAction. This
- * action enables the user to create new calendars from the browser plugin.
+ * action enables the user to create new calendars from the browser addon.
*
* @param string $uri
* @param string $action
diff --git a/dav/SabreDAV/lib/Sabre/CalDAV/Schedule/Outbox.php b/dav/SabreDAV/lib/Sabre/CalDAV/Schedule/Outbox.php
index 09aa07d7..639f5d0d 100644
--- a/dav/SabreDAV/lib/Sabre/CalDAV/Schedule/Outbox.php
+++ b/dav/SabreDAV/lib/Sabre/CalDAV/Schedule/Outbox.php
@@ -5,7 +5,7 @@
*
* The outbox is mainly used as an endpoint in the tree for a client to do
* free-busy requests. This functionality is completely handled by the
- * Scheduling plugin, so this object is actually mostly static.
+ * Scheduling addon, so this object is actually mostly static.
*
* @package Sabre
* @subpackage CalDAV
diff --git a/dav/SabreDAV/lib/Sabre/CardDAV/Plugin.php b/dav/SabreDAV/lib/Sabre/CardDAV/Plugin.php
index 30194bb6..aa6a523d 100644
--- a/dav/SabreDAV/lib/Sabre/CardDAV/Plugin.php
+++ b/dav/SabreDAV/lib/Sabre/CardDAV/Plugin.php
@@ -3,9 +3,9 @@
use Sabre\VObject;
/**
- * CardDAV plugin
+ * CardDAV addon
*
- * The CardDAV plugin adds CardDAV functionality to the WebDAV server
+ * The CardDAV addon adds CardDAV functionality to the WebDAV server
*
* @package Sabre
* @subpackage CardDAV
@@ -41,7 +41,7 @@ class Sabre_CardDAV_Plugin extends Sabre_DAV_ServerPlugin {
protected $server;
/**
- * Initializes the plugin
+ * Initializes the addon
*
* @param Sabre_DAV_Server $server
* @return void
@@ -91,7 +91,7 @@ class Sabre_CardDAV_Plugin extends Sabre_DAV_ServerPlugin {
}
/**
- * Returns a list of reports this plugin supports.
+ * Returns a list of reports this addon supports.
*
* This will be used in the {DAV:}supported-report-set property.
* Note that you still need to subscribe to the 'report' event to actually
@@ -290,7 +290,7 @@ class Sabre_CardDAV_Plugin extends Sabre_DAV_ServerPlugin {
/**
* This method is triggered before a file gets updated with new content.
*
- * This plugin uses this method to ensure that Card nodes receive valid
+ * This addon uses this method to ensure that Card nodes receive valid
* vcard data.
*
* @param string $path
@@ -310,7 +310,7 @@ class Sabre_CardDAV_Plugin extends Sabre_DAV_ServerPlugin {
/**
* This method is triggered before a new file is created.
*
- * This plugin uses this method to ensure that Card nodes receive valid
+ * This addon uses this method to ensure that Card nodes receive valid
* vcard data.
*
* @param string $path
@@ -671,7 +671,7 @@ class Sabre_CardDAV_Plugin extends Sabre_DAV_ServerPlugin {
/**
* This method allows us to intercept the 'mkcalendar' sabreAction. This
- * action enables the user to create new calendars from the browser plugin.
+ * action enables the user to create new calendars from the browser addon.
*
* @param string $uri
* @param string $action
diff --git a/dav/SabreDAV/lib/Sabre/DAV/Auth/Plugin.php b/dav/SabreDAV/lib/Sabre/DAV/Auth/Plugin.php
index 55a4e391..256e0c02 100644
--- a/dav/SabreDAV/lib/Sabre/DAV/Auth/Plugin.php
+++ b/dav/SabreDAV/lib/Sabre/DAV/Auth/Plugin.php
@@ -1,7 +1,7 @@
server->tree->getNodeForPath($uri);
} catch (Sabre_DAV_Exception_NotFound $e) {
// We're simply stopping when the file isn't found to not interfere
- // with other plugins.
+ // with other addons.
return;
}
if ($node instanceof Sabre_DAV_IFile)
diff --git a/dav/SabreDAV/lib/Sabre/DAV/Locks/Plugin.php b/dav/SabreDAV/lib/Sabre/DAV/Locks/Plugin.php
index 957ac506..3e5c71bc 100644
--- a/dav/SabreDAV/lib/Sabre/DAV/Locks/Plugin.php
+++ b/dav/SabreDAV/lib/Sabre/DAV/Locks/Plugin.php
@@ -1,9 +1,9 @@
plugins as $plugin) $methods = array_merge($methods, $plugin->getHTTPMethods($uri));
array_unique($methods);
@@ -1464,7 +1464,7 @@ class Sabre_DAV_Server {
*
* Currently this is done by HTTP PUT and HTTP LOCK (in the Locks_Plugin).
* It was important to get this done through a centralized function,
- * allowing plugins to intercept this using the beforeCreateFile event.
+ * allowing addons to intercept this using the beforeCreateFile event.
*
* This method will return true if the file was actually created
*
@@ -1654,7 +1654,7 @@ class Sabre_DAV_Server {
}
if (!$hasError) {
- // Allowing plugins to take care of property updating
+ // Allowing addons to take care of property updating
$hasError = !$this->broadcastEvent('updateProperties',array(
&$remainingProperties,
&$result,
diff --git a/dav/SabreDAV/lib/Sabre/DAV/ServerPlugin.php b/dav/SabreDAV/lib/Sabre/DAV/ServerPlugin.php
index 131863d1..4dcee587 100644
--- a/dav/SabreDAV/lib/Sabre/DAV/ServerPlugin.php
+++ b/dav/SabreDAV/lib/Sabre/DAV/ServerPlugin.php
@@ -1,7 +1,7 @@
diff --git a/dav/common/wdcal/js/jquery.calendar.js b/dav/common/wdcal/js/jquery.calendar.js
index 201917c0..c8221a69 100644
--- a/dav/common/wdcal/js/jquery.calendar.js
+++ b/dav/common/wdcal/js/jquery.calendar.js
@@ -141,7 +141,7 @@
if ($.fn.noSelect == undefined) {
- $.fn.noSelect = function (p) { //no select plugin by me :-)
+ $.fn.noSelect = function (p) { //no select addon by me :-)
var prevent;
if (p == null)
prevent = true;
diff --git a/dav/friendica/layout.fnk.php b/dav/friendica/layout.fnk.php
index f384c50c..8a06e64d 100644
--- a/dav/friendica/layout.fnk.php
+++ b/dav/friendica/layout.fnk.php
@@ -501,14 +501,14 @@ function wdcal_getSettingsPage(&$a)
$o .= "
" . t("Warning") . "
";
- $o .= "This plugin still is in a very early stage of development. Expect major bugs! ";
+ $o .= "This addon still is in a very early stage of development. Expect major bugs! ";
$o .= "
";
- $o .= 'This plugin enables synchronization of your dates and contacts with CalDAV- and CardDAV-enabled programs or devices.
+ $o .= 'This addon enables synchronization of your dates and contacts with CalDAV- and CardDAV-enabled programs or devices.
As an example, the instructions how to set up two-way synchronization with an iPhone/iPodTouch are provided below.
Unfortunately, Android does not have native support for CalDAV or CardDAV, so an app has to be installed.
- On desktops, the Lightning-extension to Mozilla Thunderbird should be able to use this plugin as a backend.
';
+ On desktops, the Lightning-extension to Mozilla Thunderbird should be able to use this addon as a backend.
';
$o .= '
' . t('Synchronizing this calendar with the iPhone') . '
';
diff --git a/dav/friendica/main.php b/dav/friendica/main.php
index e1dfe84f..d73edfd3 100644
--- a/dav/friendica/main.php
+++ b/dav/friendica/main.php
@@ -1,5 +1,6 @@
strings["Warning"] = "Avís";
$a->strings["Synchronization (iPhone, Thunderbird Lightning, Android, ...)"] = "Syncronització (iPhone, Thunderbird Lightning, Android, ...)";
$a->strings["Synchronizing this calendar with the iPhone"] = "Sncronitzant aquest calendari amb el iPhone";
$a->strings["Synchronizing your Friendica-Contacts with the iPhone"] = "Sincronitzant els teus contactes a Friendica amb el iPhone";
-$a->strings["The current version of this plugin has not been set up correctly. Please contact the system administrator of your installation of friendica to fix this."] = "";
+$a->strings["The current version of this addon has not been set up correctly. Please contact the system administrator of your installation of friendica to fix this."] = "";
$a->strings["Calendar"] = "Calendari";
$a->strings["Extended calendar with CalDAV-support"] = "Calendari ampliat amb suport CalDAV";
$a->strings["noreply"] = "no contestar";
diff --git a/dav/lang/cs/messages.po b/dav/lang/cs/messages.po
index d55ac2e0..561206a4 100644
--- a/dav/lang/cs/messages.po
+++ b/dav/lang/cs/messages.po
@@ -185,7 +185,7 @@ msgstr "Synchronizovat Vaše Friendica kontakty s iPhone"
#: friendica/main.php:202
msgid ""
-"The current version of this plugin has not been set up correctly. Please "
+"The current version of this addon has not been set up correctly. Please "
"contact the system administrator of your installation of friendica to fix "
"this."
msgstr "Stávající verze tohoto rozšíření nebyla správně nastavena. Prosím, kontaktujte administrátora webu, ať to opraví."
diff --git a/dav/lang/cs/strings.php b/dav/lang/cs/strings.php
index a42a3a30..0c5066f5 100644
--- a/dav/lang/cs/strings.php
+++ b/dav/lang/cs/strings.php
@@ -45,7 +45,7 @@ $a->strings["Warning"] = "Omezení";
$a->strings["Synchronization (iPhone, Thunderbird Lightning, Android, ...)"] = "Synchronizace (iPhone, Thunderbird Lightning, Android, ...)";
$a->strings["Synchronizing this calendar with the iPhone"] = "Synchronizovat tento kalendář s iPhone";
$a->strings["Synchronizing your Friendica-Contacts with the iPhone"] = "Synchronizovat Vaše Friendica kontakty s iPhone";
-$a->strings["The current version of this plugin has not been set up correctly. Please contact the system administrator of your installation of friendica to fix this."] = "Stávající verze tohoto rozšíření nebyla správně nastavena. Prosím, kontaktujte administrátora webu, ať to opraví.";
+$a->strings["The current version of this addon has not been set up correctly. Please contact the system administrator of your installation of friendica to fix this."] = "Stávající verze tohoto rozšíření nebyla správně nastavena. Prosím, kontaktujte administrátora webu, ať to opraví.";
$a->strings["Calendar"] = "Kalendář";
$a->strings["Extended calendar with CalDAV-support"] = "Rozšířený kalendář s podporou CalDAV";
$a->strings["noreply"] = "bez odpovědi";
diff --git a/dav/lang/de/messages.po b/dav/lang/de/messages.po
index 9eeb56d6..3f816fb3 100644
--- a/dav/lang/de/messages.po
+++ b/dav/lang/de/messages.po
@@ -185,7 +185,7 @@ msgstr "Friendica-Kontakte mit dem iPhone synchronisieren"
#: friendica/main.php:202
msgid ""
-"The current version of this plugin has not been set up correctly. Please "
+"The current version of this addon has not been set up correctly. Please "
"contact the system administrator of your installation of friendica to fix "
"this."
msgstr "Die aktuelle Version dieses Plugins wurde nicht korrekt eingestellt. Bitte kontaktiere den System-Administrator deiner Friendica Installation um den Fehler zu beheben."
diff --git a/dav/lang/de/strings.php b/dav/lang/de/strings.php
index 441a1dac..2a938464 100644
--- a/dav/lang/de/strings.php
+++ b/dav/lang/de/strings.php
@@ -45,7 +45,7 @@ $a->strings["Warning"] = "Warnung";
$a->strings["Synchronization (iPhone, Thunderbird Lightning, Android, ...)"] = "Synchronisation (iPhone, Thunderbird Lightning, Android, ...)";
$a->strings["Synchronizing this calendar with the iPhone"] = "Diesen Kalender mit dem iPhone synchronisieren";
$a->strings["Synchronizing your Friendica-Contacts with the iPhone"] = "Friendica-Kontakte mit dem iPhone synchronisieren";
-$a->strings["The current version of this plugin has not been set up correctly. Please contact the system administrator of your installation of friendica to fix this."] = "Die aktuelle Version dieses Plugins wurde nicht korrekt eingestellt. Bitte kontaktiere den System-Administrator deiner Friendica Installation um den Fehler zu beheben.";
+$a->strings["The current version of this addon has not been set up correctly. Please contact the system administrator of your installation of friendica to fix this."] = "Die aktuelle Version dieses Plugins wurde nicht korrekt eingestellt. Bitte kontaktiere den System-Administrator deiner Friendica Installation um den Fehler zu beheben.";
$a->strings["Calendar"] = "Kalender";
$a->strings["Extended calendar with CalDAV-support"] = "Erweiterter Kalender mit CalDAV Unterstützung.";
$a->strings["noreply"] = "noreply";
diff --git a/dav/lang/eo/strings.php b/dav/lang/eo/strings.php
index 6e902d5b..5ecd486b 100644
--- a/dav/lang/eo/strings.php
+++ b/dav/lang/eo/strings.php
@@ -40,7 +40,7 @@ $a->strings["Warning"] = "Averto";
$a->strings["Synchronization (iPhone, Thunderbird Lightning, Android, ...)"] = "Sinkronigo (iPhone, Thunderbird Lightning, Android, ...)";
$a->strings["Synchronizing this calendar with the iPhone"] = "Sinkronigi tiun kalendaron kun la iPhone";
$a->strings["Synchronizing your Friendica-Contacts with the iPhone"] = "Sinkronigi viajn Friendica kontaktojn kun la iPhone";
-$a->strings["The current version of this plugin has not been set up correctly. Please contact the system administrator of your installation of friendica to fix this."] = "";
+$a->strings["The current version of this addon has not been set up correctly. Please contact the system administrator of your installation of friendica to fix this."] = "";
$a->strings["Calendar"] = "Kalendaro";
$a->strings["Extended calendar with CalDAV-support"] = "Etendita kalendaro kun CalDAV subteno";
$a->strings["noreply"] = "nerespondi";
diff --git a/dav/lang/es/messages.po b/dav/lang/es/messages.po
index d00bbe26..7bc95e0b 100644
--- a/dav/lang/es/messages.po
+++ b/dav/lang/es/messages.po
@@ -186,10 +186,10 @@ msgstr "Sincronizar sus contactos de Friendica con el iPhone"
#: friendica/main.php:202
msgid ""
-"The current version of this plugin has not been set up correctly. Please "
+"The current version of this addon has not been set up correctly. Please "
"contact the system administrator of your installation of friendica to fix "
"this."
-msgstr "La versión actual de este plugin no se ha instalado correctamente. Por favor contacte con el administrador del sistema de su instalación de Friendica para resolver esto."
+msgstr "La versión actual de este addon no se ha instalado correctamente. Por favor contacte con el administrador del sistema de su instalación de Friendica para resolver esto."
#: friendica/main.php:239 common/wdcal_edit.inc.php:146
msgid "Calendar"
diff --git a/dav/lang/es/strings.php b/dav/lang/es/strings.php
index 5300246a..76a3ad2e 100644
--- a/dav/lang/es/strings.php
+++ b/dav/lang/es/strings.php
@@ -45,7 +45,7 @@ $a->strings["Warning"] = "Advertencia";
$a->strings["Synchronization (iPhone, Thunderbird Lightning, Android, ...)"] = "Sincronización (iPhone, Thunderbird Lightning, Android, ...)";
$a->strings["Synchronizing this calendar with the iPhone"] = "Sincronizar este calendario con el iPhone";
$a->strings["Synchronizing your Friendica-Contacts with the iPhone"] = "Sincronizar sus contactos de Friendica con el iPhone";
-$a->strings["The current version of this plugin has not been set up correctly. Please contact the system administrator of your installation of friendica to fix this."] = "La versión actual de este plugin no se ha instalado correctamente. Por favor contacte con el administrador del sistema de su instalación de Friendica para resolver esto.";
+$a->strings["The current version of this addon has not been set up correctly. Please contact the system administrator of your installation of friendica to fix this."] = "La versión actual de este addon no se ha instalado correctamente. Por favor contacte con el administrador del sistema de su instalación de Friendica para resolver esto.";
$a->strings["Calendar"] = "Calendario";
$a->strings["Extended calendar with CalDAV-support"] = "Estendido el calendario con soporte CalDAV";
$a->strings["noreply"] = "no responder";
diff --git a/dav/lang/fr/strings.php b/dav/lang/fr/strings.php
index 86dae0d1..0705d6a3 100644
--- a/dav/lang/fr/strings.php
+++ b/dav/lang/fr/strings.php
@@ -40,7 +40,7 @@ $a->strings["Warning"] = "Avertissement";
$a->strings["Synchronization (iPhone, Thunderbird Lightning, Android, ...)"] = "Synchronisation (Iphone, Thunderbird Lightning, Android, ...)";
$a->strings["Synchronizing this calendar with the iPhone"] = "Synchronisation avec l'Iphone en cours";
$a->strings["Synchronizing your Friendica-Contacts with the iPhone"] = "Synchronisation de vos contacts Friendica avec l'Iphone en cours";
-$a->strings["The current version of this plugin has not been set up correctly. Please contact the system administrator of your installation of friendica to fix this."] = "La version actuelle de cette extension n'a pas été configurée correctement. Merci de contacter votre administrateur Friendica pour régler ce problème. ";
+$a->strings["The current version of this addon has not been set up correctly. Please contact the system administrator of your installation of friendica to fix this."] = "La version actuelle de cette extension n'a pas été configurée correctement. Merci de contacter votre administrateur Friendica pour régler ce problème. ";
$a->strings["Calendar"] = "Calendrier";
$a->strings["Extended calendar with CalDAV-support"] = "Calendrier étendu avec support CalDAV";
$a->strings["noreply"] = "noreply";
diff --git a/dav/lang/is/strings.php b/dav/lang/is/strings.php
index e592e7de..69fc6178 100644
--- a/dav/lang/is/strings.php
+++ b/dav/lang/is/strings.php
@@ -40,7 +40,7 @@ $a->strings["Warning"] = "";
$a->strings["Synchronization (iPhone, Thunderbird Lightning, Android, ...)"] = "";
$a->strings["Synchronizing this calendar with the iPhone"] = "";
$a->strings["Synchronizing your Friendica-Contacts with the iPhone"] = "";
-$a->strings["The current version of this plugin has not been set up correctly. Please contact the system administrator of your installation of friendica to fix this."] = "";
+$a->strings["The current version of this addon has not been set up correctly. Please contact the system administrator of your installation of friendica to fix this."] = "";
$a->strings["Calendar"] = "";
$a->strings["Extended calendar with CalDAV-support"] = "";
$a->strings["noreply"] = "ekki svara";
diff --git a/dav/lang/it/messages.po b/dav/lang/it/messages.po
index ae53f06e..b1911a70 100644
--- a/dav/lang/it/messages.po
+++ b/dav/lang/it/messages.po
@@ -185,10 +185,10 @@ msgstr "Sincronizzare i tuoi contatti di Friendica con l'iPhone"
#: friendica/main.php:202
msgid ""
-"The current version of this plugin has not been set up correctly. Please "
+"The current version of this addon has not been set up correctly. Please "
"contact the system administrator of your installation of friendica to fix "
"this."
-msgstr "La versione corrente di questo plugin non è stata configurata correttamente. Contatta l'amministratore."
+msgstr "La versione corrente di questo addon non è stata configurata correttamente. Contatta l'amministratore."
#: friendica/main.php:239 common/wdcal_edit.inc.php:146
msgid "Calendar"
diff --git a/dav/lang/it/strings.php b/dav/lang/it/strings.php
index 9fe374cc..ce1f78a8 100644
--- a/dav/lang/it/strings.php
+++ b/dav/lang/it/strings.php
@@ -45,7 +45,7 @@ $a->strings["Warning"] = "Attenzione";
$a->strings["Synchronization (iPhone, Thunderbird Lightning, Android, ...)"] = "Sincronizzazione (iPhone, Thunderbird Lightning, Android, ...)";
$a->strings["Synchronizing this calendar with the iPhone"] = "Sincronizzare questo calendario con l'iPhone";
$a->strings["Synchronizing your Friendica-Contacts with the iPhone"] = "Sincronizzare i tuoi contatti di Friendica con l'iPhone";
-$a->strings["The current version of this plugin has not been set up correctly. Please contact the system administrator of your installation of friendica to fix this."] = "La versione corrente di questo plugin non è stata configurata correttamente. Contatta l'amministratore.";
+$a->strings["The current version of this addon has not been set up correctly. Please contact the system administrator of your installation of friendica to fix this."] = "La versione corrente di questo addon non è stata configurata correttamente. Contatta l'amministratore.";
$a->strings["Calendar"] = "Calendario";
$a->strings["Extended calendar with CalDAV-support"] = "Calendario esteso con supporto CalDAV";
$a->strings["noreply"] = "nonrispondere";
diff --git a/dav/lang/nb-no/strings.php b/dav/lang/nb-no/strings.php
index 3ba89070..132f0750 100644
--- a/dav/lang/nb-no/strings.php
+++ b/dav/lang/nb-no/strings.php
@@ -40,7 +40,7 @@ $a->strings["Warning"] = "";
$a->strings["Synchronization (iPhone, Thunderbird Lightning, Android, ...)"] = "";
$a->strings["Synchronizing this calendar with the iPhone"] = "";
$a->strings["Synchronizing your Friendica-Contacts with the iPhone"] = "";
-$a->strings["The current version of this plugin has not been set up correctly. Please contact the system administrator of your installation of friendica to fix this."] = "";
+$a->strings["The current version of this addon has not been set up correctly. Please contact the system administrator of your installation of friendica to fix this."] = "";
$a->strings["Calendar"] = "";
$a->strings["Extended calendar with CalDAV-support"] = "";
$a->strings["noreply"] = "ikke svar";
diff --git a/dav/lang/pl/strings.php b/dav/lang/pl/strings.php
index 171a73e1..9fcae4b8 100644
--- a/dav/lang/pl/strings.php
+++ b/dav/lang/pl/strings.php
@@ -40,7 +40,7 @@ $a->strings["Warning"] = "Ostrzeżenie";
$a->strings["Synchronization (iPhone, Thunderbird Lightning, Android, ...)"] = "Synchronizacja (iPhone, Thunderbird Lightning, Android, ...)";
$a->strings["Synchronizing this calendar with the iPhone"] = "Zsynchronizuj kalendarz z iPhone";
$a->strings["Synchronizing your Friendica-Contacts with the iPhone"] = "Zsynchronizuj kontakty friendica z iPhone";
-$a->strings["The current version of this plugin has not been set up correctly. Please contact the system administrator of your installation of friendica to fix this."] = "";
+$a->strings["The current version of this addon has not been set up correctly. Please contact the system administrator of your installation of friendica to fix this."] = "";
$a->strings["Calendar"] = "Kalendarz";
$a->strings["Extended calendar with CalDAV-support"] = "";
$a->strings["noreply"] = "brak odpowiedzi";
diff --git a/dav/lang/pt-br/strings.php b/dav/lang/pt-br/strings.php
index 566c3a84..d57df030 100644
--- a/dav/lang/pt-br/strings.php
+++ b/dav/lang/pt-br/strings.php
@@ -40,7 +40,7 @@ $a->strings["Warning"] = "Aviso";
$a->strings["Synchronization (iPhone, Thunderbird Lightning, Android, ...)"] = "Sincronização (iPhone, Thunderbird Lightning, Android, ...)";
$a->strings["Synchronizing this calendar with the iPhone"] = "Sincronização desta agenda com o iPhone";
$a->strings["Synchronizing your Friendica-Contacts with the iPhone"] = "Sincronização dos seus contatos Friendica com o iPhone";
-$a->strings["The current version of this plugin has not been set up correctly. Please contact the system administrator of your installation of friendica to fix this."] = "";
+$a->strings["The current version of this addon has not been set up correctly. Please contact the system administrator of your installation of friendica to fix this."] = "";
$a->strings["Calendar"] = "Agenda";
$a->strings["Extended calendar with CalDAV-support"] = "";
$a->strings["noreply"] = "naoresponda";
diff --git a/dav/lang/ro/messages.po b/dav/lang/ro/messages.po
index c6925954..ec8cdc19 100644
--- a/dav/lang/ro/messages.po
+++ b/dav/lang/ro/messages.po
@@ -184,7 +184,7 @@ msgstr "Sincronizați contactele Friendica cu iPhone"
#: friendica/main.php:202
msgid ""
-"The current version of this plugin has not been set up correctly. Please "
+"The current version of this addon has not been set up correctly. Please "
"contact the system administrator of your installation of friendica to fix "
"this."
msgstr "Versiunea curentă a acestui modul nu a fost corect configurată. Vă rugăm să contactați administratorul de sistem al aplicației dvs. friendica, pentru a corecta această situație."
diff --git a/dav/lang/ro/strings.php b/dav/lang/ro/strings.php
index f2870213..cf3ff449 100644
--- a/dav/lang/ro/strings.php
+++ b/dav/lang/ro/strings.php
@@ -45,7 +45,7 @@ $a->strings["Warning"] = "Atenție";
$a->strings["Synchronization (iPhone, Thunderbird Lightning, Android, ...)"] = "Sincronizare (iPhone, Thunderbird Lightning, Android, ...)";
$a->strings["Synchronizing this calendar with the iPhone"] = "Sincronizați acest calendar cu iPhone";
$a->strings["Synchronizing your Friendica-Contacts with the iPhone"] = "Sincronizați contactele Friendica cu iPhone";
-$a->strings["The current version of this plugin has not been set up correctly. Please contact the system administrator of your installation of friendica to fix this."] = "Versiunea curentă a acestui modul nu a fost corect configurată. Vă rugăm să contactați administratorul de sistem al aplicației dvs. friendica, pentru a corecta această situație.";
+$a->strings["The current version of this addon has not been set up correctly. Please contact the system administrator of your installation of friendica to fix this."] = "Versiunea curentă a acestui modul nu a fost corect configurată. Vă rugăm să contactați administratorul de sistem al aplicației dvs. friendica, pentru a corecta această situație.";
$a->strings["Calendar"] = "Calendar";
$a->strings["Extended calendar with CalDAV-support"] = "Calendar extins cu suport-CalDAV";
$a->strings["noreply"] = "nu-răspunde";
diff --git a/dav/lang/ru/strings.php b/dav/lang/ru/strings.php
index 32921b3b..7e4a4fb2 100644
--- a/dav/lang/ru/strings.php
+++ b/dav/lang/ru/strings.php
@@ -40,7 +40,7 @@ $a->strings["Warning"] = "";
$a->strings["Synchronization (iPhone, Thunderbird Lightning, Android, ...)"] = "";
$a->strings["Synchronizing this calendar with the iPhone"] = "";
$a->strings["Synchronizing your Friendica-Contacts with the iPhone"] = "";
-$a->strings["The current version of this plugin has not been set up correctly. Please contact the system administrator of your installation of friendica to fix this."] = "";
+$a->strings["The current version of this addon has not been set up correctly. Please contact the system administrator of your installation of friendica to fix this."] = "";
$a->strings["Calendar"] = "";
$a->strings["Extended calendar with CalDAV-support"] = "";
$a->strings["noreply"] = "без ответа";
diff --git a/dav/lang/zh-cn/strings.php b/dav/lang/zh-cn/strings.php
index 45de3639..7ace01d7 100644
--- a/dav/lang/zh-cn/strings.php
+++ b/dav/lang/zh-cn/strings.php
@@ -40,7 +40,7 @@ $a->strings["Warning"] = "警告";
$a->strings["Synchronization (iPhone, Thunderbird Lightning, Android, ...)"] = "同步(iPhone,Thunderbird Lightning, 案桌,等)";
$a->strings["Synchronizing this calendar with the iPhone"] = "正在把这个日历跟iPhone同步";
$a->strings["Synchronizing your Friendica-Contacts with the iPhone"] = "正在把您的Friendica熟人跟iPhone同步";
-$a->strings["The current version of this plugin has not been set up correctly. Please contact the system administrator of your installation of friendica to fix this."] = "现有的插件没安装好。请跟系统管理您的friendica安装联系为维修。";
+$a->strings["The current version of this addon has not been set up correctly. Please contact the system administrator of your installation of friendica to fix this."] = "现有的插件没安装好。请跟系统管理您的friendica安装联系为维修。";
$a->strings["Calendar"] = "日历";
$a->strings["Extended calendar with CalDAV-support"] = "增能日历跟CalDAV支持";
$a->strings["noreply"] = "noreply";
diff --git a/diaspora/diaspora.php b/diaspora/diaspora.php
index 3c4a30d2..0d0d2744 100644
--- a/diaspora/diaspora.php
+++ b/diaspora/diaspora.php
@@ -9,24 +9,25 @@
require_once("addon/diaspora/Diaspora_Connection.php");
+use Friendica\Core\Addon;
use Friendica\Core\PConfig;
use Friendica\Database\DBM;
function diaspora_install() {
- register_hook('post_local', 'addon/diaspora/diaspora.php', 'diaspora_post_local');
- register_hook('notifier_normal', 'addon/diaspora/diaspora.php', 'diaspora_send');
- register_hook('jot_networks', 'addon/diaspora/diaspora.php', 'diaspora_jot_nets');
- register_hook('connector_settings', 'addon/diaspora/diaspora.php', 'diaspora_settings');
- register_hook('connector_settings_post', 'addon/diaspora/diaspora.php', 'diaspora_settings_post');
- register_hook('queue_predeliver', 'addon/diaspora/diaspora.php', 'diaspora_queue_hook');
+ Addon::registerHook('post_local', 'addon/diaspora/diaspora.php', 'diaspora_post_local');
+ Addon::registerHook('notifier_normal', 'addon/diaspora/diaspora.php', 'diaspora_send');
+ Addon::registerHook('jot_networks', 'addon/diaspora/diaspora.php', 'diaspora_jot_nets');
+ Addon::registerHook('connector_settings', 'addon/diaspora/diaspora.php', 'diaspora_settings');
+ Addon::registerHook('connector_settings_post', 'addon/diaspora/diaspora.php', 'diaspora_settings_post');
+ Addon::registerHook('queue_predeliver', 'addon/diaspora/diaspora.php', 'diaspora_queue_hook');
}
function diaspora_uninstall() {
- unregister_hook('post_local', 'addon/diaspora/diaspora.php', 'diaspora_post_local');
- unregister_hook('notifier_normal', 'addon/diaspora/diaspora.php', 'diaspora_send');
- unregister_hook('jot_networks', 'addon/diaspora/diaspora.php', 'diaspora_jot_nets');
- unregister_hook('connector_settings', 'addon/diaspora/diaspora.php', 'diaspora_settings');
- unregister_hook('connector_settings_post', 'addon/diaspora/diaspora.php', 'diaspora_settings_post');
- unregister_hook('queue_predeliver', 'addon/diaspora/diaspora.php', 'diaspora_queue_hook');
+ Addon::unregisterHook('post_local', 'addon/diaspora/diaspora.php', 'diaspora_post_local');
+ Addon::unregisterHook('notifier_normal', 'addon/diaspora/diaspora.php', 'diaspora_send');
+ Addon::unregisterHook('jot_networks', 'addon/diaspora/diaspora.php', 'diaspora_jot_nets');
+ Addon::unregisterHook('connector_settings', 'addon/diaspora/diaspora.php', 'diaspora_settings');
+ Addon::unregisterHook('connector_settings_post', 'addon/diaspora/diaspora.php', 'diaspora_settings_post');
+ Addon::unregisterHook('queue_predeliver', 'addon/diaspora/diaspora.php', 'diaspora_queue_hook');
}
@@ -171,7 +172,7 @@ function diaspora_settings(&$a,&$s) {
}
$s .= '
';
- $s .= '';
+ $s .= '';
$s .= '';
$s .= '
';
diff --git a/diaspora/lang/C/messages.po b/diaspora/lang/C/messages.po
index 0f71c2cd..6764eaf1 100644
--- a/diaspora/lang/C/messages.po
+++ b/diaspora/lang/C/messages.po
@@ -32,7 +32,7 @@ msgid "Diaspora Export"
msgstr ""
#: diaspora.php:163
-msgid "Enable Diaspora Post Plugin"
+msgid "Enable Diaspora Post Addon"
msgstr ""
#: diaspora.php:168
diff --git a/diaspora/lang/cs/messages.po b/diaspora/lang/cs/messages.po
index 22e1cfef..5d8b0a30 100644
--- a/diaspora/lang/cs/messages.po
+++ b/diaspora/lang/cs/messages.po
@@ -34,8 +34,8 @@ msgid "Diaspora Export"
msgstr "Diaspora export"
#: diaspora.php:163
-msgid "Enable Diaspora Post Plugin"
-msgstr "Povolit Diaspora Plugin"
+msgid "Enable Diaspora Post Addon"
+msgstr "Povolit Diaspora Addon"
#: diaspora.php:168
msgid "Diaspora username"
diff --git a/diaspora/lang/cs/strings.php b/diaspora/lang/cs/strings.php
index 9db09791..1a87dc1f 100644
--- a/diaspora/lang/cs/strings.php
+++ b/diaspora/lang/cs/strings.php
@@ -8,7 +8,7 @@ function string_plural_select_cs($n){
$a->strings["Post to Diaspora"] = "Příspěvek na Diaspora";
$a->strings["Can't login to your Diaspora account. Please check username and password and ensure you used the complete address (including http...)"] = "Nelze se přihlásit na váš Diaspora účet. Prosím ověřte své uživatelské jméno a heslo a ujistěte se, že jste použili kompletní adresu (včetně http...)";
$a->strings["Diaspora Export"] = "Diaspora export";
-$a->strings["Enable Diaspora Post Plugin"] = "Povolit Diaspora Plugin";
+$a->strings["Enable Diaspora Post Addon"] = "Povolit Diaspora Addon";
$a->strings["Diaspora username"] = "Diaspora uživatelské jméno";
$a->strings["Diaspora password"] = "Diaspora heslo";
$a->strings["Diaspora site URL"] = "Adresa webu Diaspora";
diff --git a/diaspora/lang/de/messages.po b/diaspora/lang/de/messages.po
index eaeb24ed..22187254 100644
--- a/diaspora/lang/de/messages.po
+++ b/diaspora/lang/de/messages.po
@@ -34,7 +34,7 @@ msgid "Diaspora Export"
msgstr "Diaspora Export"
#: diaspora.php:163
-msgid "Enable Diaspora Post Plugin"
+msgid "Enable Diaspora Post Addon"
msgstr "Veröffentlichungen bei Diaspora erlauben"
#: diaspora.php:168
diff --git a/diaspora/lang/de/strings.php b/diaspora/lang/de/strings.php
index 597d4cea..22990765 100644
--- a/diaspora/lang/de/strings.php
+++ b/diaspora/lang/de/strings.php
@@ -8,7 +8,7 @@ function string_plural_select_de($n){
$a->strings["Post to Diaspora"] = "Auf Diaspora veröffentlichen";
$a->strings["Can't login to your Diaspora account. Please check username and password and ensure you used the complete address (including http...)"] = "Anmeldung bei deinem Diaspora Account fehlgeschlagen. Bitte überprüfe Nutzername und Passwort und stelle sicher, dass die komplette Adresse (inklusive des htto...) verwendet wurde.";
$a->strings["Diaspora Export"] = "Diaspora Export";
-$a->strings["Enable Diaspora Post Plugin"] = "Veröffentlichungen bei Diaspora erlauben";
+$a->strings["Enable Diaspora Post Addon"] = "Veröffentlichungen bei Diaspora erlauben";
$a->strings["Diaspora username"] = "Diaspora Nutzername";
$a->strings["Diaspora password"] = "Diaspora Passwort";
$a->strings["Diaspora site URL"] = "URL der Diaspora Seite";
diff --git a/diaspora/lang/es/messages.po b/diaspora/lang/es/messages.po
index 16ce4539..a7beaa04 100644
--- a/diaspora/lang/es/messages.po
+++ b/diaspora/lang/es/messages.po
@@ -34,8 +34,8 @@ msgid "Diaspora Export"
msgstr "Exportar a Diaspora*"
#: diaspora.php:163
-msgid "Enable Diaspora Post Plugin"
-msgstr "Habilitar publicar a traves de Diaspora* plugin."
+msgid "Enable Diaspora Post Addon"
+msgstr "Habilitar publicar a traves de Diaspora* addon."
#: diaspora.php:168
msgid "Diaspora username"
diff --git a/diaspora/lang/es/strings.php b/diaspora/lang/es/strings.php
index b3251898..e25594c3 100644
--- a/diaspora/lang/es/strings.php
+++ b/diaspora/lang/es/strings.php
@@ -8,7 +8,7 @@ function string_plural_select_es($n){
$a->strings["Post to Diaspora"] = "Publicar hacia Diaspora*";
$a->strings["Can't login to your Diaspora account. Please check username and password and ensure you used the complete address (including http...)"] = "No se puede ingresar a tu cuenta de Diaspora*. Por favor verificar nombre de usuario, contraseña y asegura de usar la dirección completa, incluyendo https.. .";
$a->strings["Diaspora Export"] = "Exportar a Diaspora*";
-$a->strings["Enable Diaspora Post Plugin"] = "Habilitar publicar a traves de Diaspora* plugin.";
+$a->strings["Enable Diaspora Post Addon"] = "Habilitar publicar a traves de Diaspora* addon.";
$a->strings["Diaspora username"] = "Nombre de usuario de Diaspora*.";
$a->strings["Diaspora password"] = "Contraseña Diaspora*";
$a->strings["Diaspora site URL"] = "URL sitio Diaspora*";
diff --git a/diaspora/lang/fr/messages.po b/diaspora/lang/fr/messages.po
index 6f2fa876..d8f79f97 100644
--- a/diaspora/lang/fr/messages.po
+++ b/diaspora/lang/fr/messages.po
@@ -35,7 +35,7 @@ msgid "Diaspora Export"
msgstr "Export Diaspora"
#: diaspora.php:163
-msgid "Enable Diaspora Post Plugin"
+msgid "Enable Diaspora Post Addon"
msgstr "Activer l’extension « Publier sur Diaspora »"
#: diaspora.php:168
diff --git a/diaspora/lang/fr/strings.php b/diaspora/lang/fr/strings.php
index 8ba2940c..c9037b6a 100644
--- a/diaspora/lang/fr/strings.php
+++ b/diaspora/lang/fr/strings.php
@@ -8,7 +8,7 @@ function string_plural_select_fr($n){
$a->strings["Post to Diaspora"] = "Publier sur Diaspora";
$a->strings["Can't login to your Diaspora account. Please check username and password and ensure you used the complete address (including http...)"] = "Impossible de se connecter à votre compte Diaspora. Veuillez vérifier votre identifiant et votre mot de passe, et assurez-vous d’avoir indiqué l’adresse complète (y compris le « http:// » initial).";
$a->strings["Diaspora Export"] = "Export Diaspora";
-$a->strings["Enable Diaspora Post Plugin"] = "Activer l’extension « Publier sur Diaspora »";
+$a->strings["Enable Diaspora Post Addon"] = "Activer l’extension « Publier sur Diaspora »";
$a->strings["Diaspora username"] = "Identifiant Diaspora";
$a->strings["Diaspora password"] = "Mot de passe Diaspora";
$a->strings["Diaspora site URL"] = "Adresse du site Diaspora";
diff --git a/diaspora/lang/it/messages.po b/diaspora/lang/it/messages.po
index 514dcbb1..1468e523 100644
--- a/diaspora/lang/it/messages.po
+++ b/diaspora/lang/it/messages.po
@@ -34,8 +34,8 @@ msgid "Diaspora Export"
msgstr "Esporta Diaspora"
#: diaspora.php:163
-msgid "Enable Diaspora Post Plugin"
-msgstr "Abilita il plugin di invio a Diaspora"
+msgid "Enable Diaspora Post Addon"
+msgstr "Abilita il addon di invio a Diaspora"
#: diaspora.php:168
msgid "Diaspora username"
diff --git a/diaspora/lang/it/strings.php b/diaspora/lang/it/strings.php
index 4b8affb6..4c1673e1 100644
--- a/diaspora/lang/it/strings.php
+++ b/diaspora/lang/it/strings.php
@@ -8,7 +8,7 @@ function string_plural_select_it($n){
$a->strings["Post to Diaspora"] = "Invia a Diaspora";
$a->strings["Can't login to your Diaspora account. Please check username and password and ensure you used the complete address (including http...)"] = "Non riesco ad autenticarmi con il tuo account Diaspora. Controlla il nome utente e la password e assicurati di aver usato l'indirizzo completo (compreso \"http\" o \"https\")";
$a->strings["Diaspora Export"] = "Esporta Diaspora";
-$a->strings["Enable Diaspora Post Plugin"] = "Abilita il plugin di invio a Diaspora";
+$a->strings["Enable Diaspora Post Addon"] = "Abilita il addon di invio a Diaspora";
$a->strings["Diaspora username"] = "Nome utente Diaspora";
$a->strings["Diaspora password"] = "Password Diaspora";
$a->strings["Diaspora site URL"] = "Indirizzo sito Diaspora";
diff --git a/diaspora/lang/pt-br/messages.po b/diaspora/lang/pt-br/messages.po
index 1034ffed..7b0bc741 100644
--- a/diaspora/lang/pt-br/messages.po
+++ b/diaspora/lang/pt-br/messages.po
@@ -34,7 +34,7 @@ msgid "Diaspora Export"
msgstr ""
#: diaspora.php:163
-msgid "Enable Diaspora Post Plugin"
+msgid "Enable Diaspora Post Addon"
msgstr "Habilitar plug-in para publicar na Diaspora"
#: diaspora.php:168
diff --git a/diaspora/lang/ro/messages.po b/diaspora/lang/ro/messages.po
index 4ad834a1..11c6b1ec 100644
--- a/diaspora/lang/ro/messages.po
+++ b/diaspora/lang/ro/messages.po
@@ -33,7 +33,7 @@ msgid "Diaspora Export"
msgstr "Exportare pe Diaspora "
#: diaspora.php:163
-msgid "Enable Diaspora Post Plugin"
+msgid "Enable Diaspora Post Addon"
msgstr "Activare Modul Postare pe Diaspora"
#: diaspora.php:168
diff --git a/diaspora/lang/ro/strings.php b/diaspora/lang/ro/strings.php
index c40ac8b6..a6798158 100644
--- a/diaspora/lang/ro/strings.php
+++ b/diaspora/lang/ro/strings.php
@@ -8,7 +8,7 @@ function string_plural_select_ro($n){
$a->strings["Post to Diaspora"] = "Postați pe Diaspora";
$a->strings["Can't login to your Diaspora account. Please check username and password and ensure you used the complete address (including http...)"] = "Nu se poate face autentificarea pe contul dvs. Diaspora. Verificați numele de utilizator şi parola şi asigurați-vă că ați folosit adresa completă (inclusiv http ... )";
$a->strings["Diaspora Export"] = "Exportare pe Diaspora ";
-$a->strings["Enable Diaspora Post Plugin"] = "Activare Modul Postare pe Diaspora";
+$a->strings["Enable Diaspora Post Addon"] = "Activare Modul Postare pe Diaspora";
$a->strings["Diaspora username"] = "Utilizator Diaspora";
$a->strings["Diaspora password"] = "Parola Diaspora";
$a->strings["Diaspora site URL"] = "URL site Diaspora";
diff --git a/diaspora/lang/ru/messages.po b/diaspora/lang/ru/messages.po
index 7a9322c9..3534b0ac 100644
--- a/diaspora/lang/ru/messages.po
+++ b/diaspora/lang/ru/messages.po
@@ -34,7 +34,7 @@ msgid "Diaspora Export"
msgstr "Экспорт в Diaspora"
#: diaspora.php:163
-msgid "Enable Diaspora Post Plugin"
+msgid "Enable Diaspora Post Addon"
msgstr "Включить плагин отправки сообщений в Diaspora"
#: diaspora.php:168
diff --git a/diaspora/lang/ru/strings.php b/diaspora/lang/ru/strings.php
index ac120995..0d46c78d 100644
--- a/diaspora/lang/ru/strings.php
+++ b/diaspora/lang/ru/strings.php
@@ -8,7 +8,7 @@ function string_plural_select_ru($n){
$a->strings["Post to Diaspora"] = "Отправить в Diaspora";
$a->strings["Can't login to your Diaspora account. Please check username and password and ensure you used the complete address (including http...)"] = "Невозможно войти в вашу учетную запись Diaspora. Пожалуйста, проверьте имя пользователя, пароль и убедитесь, что вы ввели полный адрес пода (включая http/https)";
$a->strings["Diaspora Export"] = "Экспорт в Diaspora";
-$a->strings["Enable Diaspora Post Plugin"] = "Включить плагин отправки сообщений в Diaspora";
+$a->strings["Enable Diaspora Post Addon"] = "Включить плагин отправки сообщений в Diaspora";
$a->strings["Diaspora username"] = "Имя пользователя Diaspora";
$a->strings["Diaspora password"] = "Пароль Diaspora";
$a->strings["Diaspora site URL"] = "URL пода Diaspora";
diff --git a/diaspora/lang/zh-cn/messages.po b/diaspora/lang/zh-cn/messages.po
index beb0d17a..c0a4978e 100644
--- a/diaspora/lang/zh-cn/messages.po
+++ b/diaspora/lang/zh-cn/messages.po
@@ -34,7 +34,7 @@ msgid "Diaspora Export"
msgstr "Diaspora 导出"
#: diaspora.php:163
-msgid "Enable Diaspora Post Plugin"
+msgid "Enable Diaspora Post Addon"
msgstr "启用 Diaspora 发文插件"
#: diaspora.php:168
diff --git a/diaspora/lang/zh-cn/strings.php b/diaspora/lang/zh-cn/strings.php
index 47c0f556..307a634f 100644
--- a/diaspora/lang/zh-cn/strings.php
+++ b/diaspora/lang/zh-cn/strings.php
@@ -8,7 +8,7 @@ function string_plural_select_zh_cn($n){
$a->strings["Post to Diaspora"] = "发到 Diaspora";
$a->strings["Can't login to your Diaspora account. Please check username and password and ensure you used the complete address (including http...)"] = "无法登录到你的 Diaspora 账户。请检查用户名和密码并确保你用了完整的地址(包括http...)";
$a->strings["Diaspora Export"] = "Diaspora 导出";
-$a->strings["Enable Diaspora Post Plugin"] = "启用 Diaspora 发文插件";
+$a->strings["Enable Diaspora Post Addon"] = "启用 Diaspora 发文插件";
$a->strings["Diaspora username"] = "Diaspora 用户名";
$a->strings["Diaspora password"] = "Diaspora 密码";
$a->strings["Diaspora site URL"] = "Diaspora 站点 URL";
diff --git a/dwpost/dwpost.php b/dwpost/dwpost.php
index b268d02e..be2bcd11 100644
--- a/dwpost/dwpost.php
+++ b/dwpost/dwpost.php
@@ -1,5 +1,4 @@
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\PConfig;
function dwpost_install() {
- register_hook('post_local', 'addon/dwpost/dwpost.php', 'dwpost_post_local');
- register_hook('notifier_normal', 'addon/dwpost/dwpost.php', 'dwpost_send');
- register_hook('jot_networks', 'addon/dwpost/dwpost.php', 'dwpost_jot_nets');
- register_hook('connector_settings', 'addon/dwpost/dwpost.php', 'dwpost_settings');
- register_hook('connector_settings_post', 'addon/dwpost/dwpost.php', 'dwpost_settings_post');
+ Addon::registerHook('post_local', 'addon/dwpost/dwpost.php', 'dwpost_post_local');
+ Addon::registerHook('notifier_normal', 'addon/dwpost/dwpost.php', 'dwpost_send');
+ Addon::registerHook('jot_networks', 'addon/dwpost/dwpost.php', 'dwpost_jot_nets');
+ Addon::registerHook('connector_settings', 'addon/dwpost/dwpost.php', 'dwpost_settings');
+ Addon::registerHook('connector_settings_post', 'addon/dwpost/dwpost.php', 'dwpost_settings_post');
}
function dwpost_uninstall() {
- unregister_hook('post_local', 'addon/dwpost/dwpost.php', 'dwpost_post_local');
- unregister_hook('notifier_normal', 'addon/dwpost/dwpost.php', 'dwpost_send');
- unregister_hook('jot_networks', 'addon/dwpost/dwpost.php', 'dwpost_jot_nets');
- unregister_hook('connector_settings', 'addon/dwpost/dwpost.php', 'dwpost_settings');
- unregister_hook('connector_settings_post', 'addon/dwpost/dwpost.php', 'dwpost_settings_post');
+ Addon::unregisterHook('post_local', 'addon/dwpost/dwpost.php', 'dwpost_post_local');
+ Addon::unregisterHook('notifier_normal', 'addon/dwpost/dwpost.php', 'dwpost_send');
+ Addon::unregisterHook('jot_networks', 'addon/dwpost/dwpost.php', 'dwpost_jot_nets');
+ Addon::unregisterHook('connector_settings', 'addon/dwpost/dwpost.php', 'dwpost_settings');
+ Addon::unregisterHook('connector_settings_post', 'addon/dwpost/dwpost.php', 'dwpost_settings_post');
}
@@ -77,7 +76,7 @@ function dwpost_settings(&$a,&$s) {
$s .= '';
$s .= '
';
- $s .= '';
+ $s .= '';
$s .= '';
$s .= '
';
diff --git a/dwpost/lang/C/messages.po b/dwpost/lang/C/messages.po
index 6bed922f..c81e9f0f 100644
--- a/dwpost/lang/C/messages.po
+++ b/dwpost/lang/C/messages.po
@@ -26,7 +26,7 @@ msgid "Dreamwidth Post Settings"
msgstr ""
#: dwpost.php:72
-msgid "Enable dreamwidth Post Plugin"
+msgid "Enable dreamwidth Post Addon"
msgstr ""
#: dwpost.php:77
diff --git a/dwpost/lang/ca/strings.php b/dwpost/lang/ca/strings.php
index 6ad56a9b..3b7df6d0 100644
--- a/dwpost/lang/ca/strings.php
+++ b/dwpost/lang/ca/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to Dreamwidth"] = "Missatge a Dreamwidth";
$a->strings["Dreamwidth Post Settings"] = "Configuració d'enviaments a Dreamwidth";
-$a->strings["Enable dreamwidth Post Plugin"] = "Habilitat el plugin d'enviaments a Dreamwidth";
+$a->strings["Enable dreamwidth Post Addon"] = "Habilitat el addon d'enviaments a Dreamwidth";
$a->strings["dreamwidth username"] = "Nom d'usuari a Dreamwidth";
$a->strings["dreamwidth password"] = "Contrasenya a Dreamwidth";
$a->strings["Post to dreamwidth by default"] = "Enviar per defecte a Dreamwidth";
diff --git a/dwpost/lang/cs/messages.po b/dwpost/lang/cs/messages.po
index 2291657a..fb01a38e 100644
--- a/dwpost/lang/cs/messages.po
+++ b/dwpost/lang/cs/messages.po
@@ -28,8 +28,8 @@ msgid "Dreamwidth Post Settings"
msgstr "Dreamwidth nastavení příspěvků"
#: dwpost.php:72
-msgid "Enable dreamwidth Post Plugin"
-msgstr "Povolit dreamwidth Plugin"
+msgid "Enable dreamwidth Post Addon"
+msgstr "Povolit dreamwidth Addon"
#: dwpost.php:77
msgid "dreamwidth username"
diff --git a/dwpost/lang/cs/strings.php b/dwpost/lang/cs/strings.php
index 6d02b09f..df348a83 100644
--- a/dwpost/lang/cs/strings.php
+++ b/dwpost/lang/cs/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_cs($n){
;
$a->strings["Post to Dreamwidth"] = "Poslat na Dreamwidth";
$a->strings["Dreamwidth Post Settings"] = "Dreamwidth nastavení příspěvků";
-$a->strings["Enable dreamwidth Post Plugin"] = "Povolit dreamwidth Plugin";
+$a->strings["Enable dreamwidth Post Addon"] = "Povolit dreamwidth Addon";
$a->strings["dreamwidth username"] = "dreamwidth uživatelské jméno";
$a->strings["dreamwidth password"] = "dreamwidth heslo";
$a->strings["Post to dreamwidth by default"] = "Defaultně umístit na dreamwidth";
diff --git a/dwpost/lang/de/messages.po b/dwpost/lang/de/messages.po
index 81507eed..07e6beb6 100644
--- a/dwpost/lang/de/messages.po
+++ b/dwpost/lang/de/messages.po
@@ -29,8 +29,8 @@ msgid "Dreamwidth Post Settings"
msgstr "Dreamwidth Veröffentlichungs-Einstellungen"
#: dwpost.php:72
-msgid "Enable dreamwidth Post Plugin"
-msgstr "Dreamwidth Post Plugin aktivieren"
+msgid "Enable dreamwidth Post Addon"
+msgstr "Dreamwidth Post Addon aktivieren"
#: dwpost.php:77
msgid "dreamwidth username"
diff --git a/dwpost/lang/de/strings.php b/dwpost/lang/de/strings.php
index a8095899..a810f79e 100644
--- a/dwpost/lang/de/strings.php
+++ b/dwpost/lang/de/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_de($n){
;
$a->strings["Post to Dreamwidth"] = "In Dreamwidth veröffentlichen";
$a->strings["Dreamwidth Post Settings"] = "Dreamwidth Veröffentlichungs-Einstellungen";
-$a->strings["Enable dreamwidth Post Plugin"] = "Dreamwidth Post Plugin aktivieren";
+$a->strings["Enable dreamwidth Post Addon"] = "Dreamwidth Post Addon aktivieren";
$a->strings["dreamwidth username"] = "Dreamwidth Benutzername";
$a->strings["dreamwidth password"] = "Dreamwidth Passwort";
$a->strings["Post to dreamwidth by default"] = "Standardmäßig bei Dreamwidth veröffentlichen";
diff --git a/dwpost/lang/eo/strings.php b/dwpost/lang/eo/strings.php
index 967d4b9b..d0c96db6 100644
--- a/dwpost/lang/eo/strings.php
+++ b/dwpost/lang/eo/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to Dreamwidth"] = "Afiŝi al Dreamwidth";
$a->strings["Dreamwidth Post Settings"] = "Agordoj por Afiŝoj al Dreamwidth";
-$a->strings["Enable dreamwidth Post Plugin"] = "Ŝalti la Dreamwidth Kromprogramon";
+$a->strings["Enable dreamwidth Post Addon"] = "Ŝalti la Dreamwidth Kromprogramon";
$a->strings["dreamwidth username"] = "Dreamwidth salutnomo";
$a->strings["dreamwidth password"] = "Dreamwidth pasvorto";
$a->strings["Post to dreamwidth by default"] = "Defaŭlte afiŝi al Dreamwidth";
diff --git a/dwpost/lang/es/messages.po b/dwpost/lang/es/messages.po
index 10368bb2..18036677 100644
--- a/dwpost/lang/es/messages.po
+++ b/dwpost/lang/es/messages.po
@@ -28,8 +28,8 @@ msgid "Dreamwidth Post Settings"
msgstr "Ajustes de publicación de Dreamwidth"
#: dwpost.php:72
-msgid "Enable dreamwidth Post Plugin"
-msgstr "Activar el plugin de publicación dreamwidth"
+msgid "Enable dreamwidth Post Addon"
+msgstr "Activar el addon de publicación dreamwidth"
#: dwpost.php:77
msgid "dreamwidth username"
diff --git a/dwpost/lang/es/strings.php b/dwpost/lang/es/strings.php
index 646b945b..4c5c116f 100644
--- a/dwpost/lang/es/strings.php
+++ b/dwpost/lang/es/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_es($n){
;
$a->strings["Post to Dreamwidth"] = "Publicar en Dreamwidth";
$a->strings["Dreamwidth Post Settings"] = "Ajustes de publicación de Dreamwidth";
-$a->strings["Enable dreamwidth Post Plugin"] = "Activar el plugin de publicación dreamwidth";
+$a->strings["Enable dreamwidth Post Addon"] = "Activar el addon de publicación dreamwidth";
$a->strings["dreamwidth username"] = "Nombre de usuario de dreamwidth";
$a->strings["dreamwidth password"] = "Contraseña de dreamwidth";
$a->strings["Post to dreamwidth by default"] = "Publicar en dreamwidth por defecto";
diff --git a/dwpost/lang/fr/messages.po b/dwpost/lang/fr/messages.po
index d0010280..1277d590 100644
--- a/dwpost/lang/fr/messages.po
+++ b/dwpost/lang/fr/messages.po
@@ -29,7 +29,7 @@ msgid "Dreamwidth Post Settings"
msgstr "Paramètres pour Dreamwidth"
#: dwpost.php:72
-msgid "Enable dreamwidth Post Plugin"
+msgid "Enable dreamwidth Post Addon"
msgstr ""
#: dwpost.php:77
diff --git a/dwpost/lang/fr/strings.php b/dwpost/lang/fr/strings.php
index 138d9d8a..5ecda471 100644
--- a/dwpost/lang/fr/strings.php
+++ b/dwpost/lang/fr/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_fr($n){
;
$a->strings["Post to Dreamwidth"] = "Publier sur Dreamwidth";
$a->strings["Dreamwidth Post Settings"] = "Paramètres pour Dreamwidth";
-$a->strings["Enable dreamwidth Post Plugin"] = "";
+$a->strings["Enable dreamwidth Post Addon"] = "";
$a->strings["dreamwidth username"] = "Nom d'utilisateur Dreamwidth";
$a->strings["dreamwidth password"] = "Mot de passe dreamwidth";
$a->strings["Post to dreamwidth by default"] = "Poster sur Dreamwidth par défaut";
diff --git a/dwpost/lang/is/strings.php b/dwpost/lang/is/strings.php
index 96f1f78b..e5fee400 100644
--- a/dwpost/lang/is/strings.php
+++ b/dwpost/lang/is/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to Dreamwidth"] = "";
$a->strings["Dreamwidth Post Settings"] = "";
-$a->strings["Enable dreamwidth Post Plugin"] = "";
+$a->strings["Enable dreamwidth Post Addon"] = "";
$a->strings["dreamwidth username"] = "";
$a->strings["dreamwidth password"] = "";
$a->strings["Post to dreamwidth by default"] = "";
diff --git a/dwpost/lang/it/messages.po b/dwpost/lang/it/messages.po
index dbd21016..8b19c299 100644
--- a/dwpost/lang/it/messages.po
+++ b/dwpost/lang/it/messages.po
@@ -28,8 +28,8 @@ msgid "Dreamwidth Post Settings"
msgstr "Impostazioni di invio a Dreamwidth"
#: dwpost.php:72
-msgid "Enable dreamwidth Post Plugin"
-msgstr "Abilita il plugin di invio a Dreamwidth"
+msgid "Enable dreamwidth Post Addon"
+msgstr "Abilita il addon di invio a Dreamwidth"
#: dwpost.php:77
msgid "dreamwidth username"
diff --git a/dwpost/lang/it/strings.php b/dwpost/lang/it/strings.php
index 5cded6e1..df904d62 100644
--- a/dwpost/lang/it/strings.php
+++ b/dwpost/lang/it/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_it($n){
;
$a->strings["Post to Dreamwidth"] = "Posta su Dreamwidth";
$a->strings["Dreamwidth Post Settings"] = "Impostazioni di invio a Dreamwidth";
-$a->strings["Enable dreamwidth Post Plugin"] = "Abilita il plugin di invio a Dreamwidth";
+$a->strings["Enable dreamwidth Post Addon"] = "Abilita il addon di invio a Dreamwidth";
$a->strings["dreamwidth username"] = "Nome utente Dreamwidth";
$a->strings["dreamwidth password"] = "password Dreamwidth";
$a->strings["Post to dreamwidth by default"] = "Invia sempre a Dreamwidth";
diff --git a/dwpost/lang/nb-no/strings.php b/dwpost/lang/nb-no/strings.php
index 37677e6d..c4ea612b 100644
--- a/dwpost/lang/nb-no/strings.php
+++ b/dwpost/lang/nb-no/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to Dreamwidth"] = "";
$a->strings["Dreamwidth Post Settings"] = "";
-$a->strings["Enable dreamwidth Post Plugin"] = "";
+$a->strings["Enable dreamwidth Post Addon"] = "";
$a->strings["dreamwidth username"] = "";
$a->strings["dreamwidth password"] = "";
$a->strings["Post to dreamwidth by default"] = "";
diff --git a/dwpost/lang/pl/strings.php b/dwpost/lang/pl/strings.php
index 237c95d9..9f1ff04e 100644
--- a/dwpost/lang/pl/strings.php
+++ b/dwpost/lang/pl/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to Dreamwidth"] = "Opublikuj na Dreamwidth";
$a->strings["Dreamwidth Post Settings"] = "";
-$a->strings["Enable dreamwidth Post Plugin"] = "";
+$a->strings["Enable dreamwidth Post Addon"] = "";
$a->strings["dreamwidth username"] = "";
$a->strings["dreamwidth password"] = "";
$a->strings["Post to dreamwidth by default"] = "";
diff --git a/dwpost/lang/pt-br/messages.po b/dwpost/lang/pt-br/messages.po
index 26c3bba6..f0e49e4e 100644
--- a/dwpost/lang/pt-br/messages.po
+++ b/dwpost/lang/pt-br/messages.po
@@ -28,7 +28,7 @@ msgid "Dreamwidth Post Settings"
msgstr "Configurações de publicação no Dreamwidth"
#: dwpost.php:72
-msgid "Enable dreamwidth Post Plugin"
+msgid "Enable dreamwidth Post Addon"
msgstr "Habilitar plug-in para publicar no Dreamwidth"
#: dwpost.php:77
diff --git a/dwpost/lang/pt-br/strings.php b/dwpost/lang/pt-br/strings.php
index 329cf9e3..03dc7d2d 100644
--- a/dwpost/lang/pt-br/strings.php
+++ b/dwpost/lang/pt-br/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to Dreamwidth"] = "Publicar no Dreamwidth";
$a->strings["Dreamwidth Post Settings"] = "Configurações de publicação no Dreamwidth";
-$a->strings["Enable dreamwidth Post Plugin"] = "Habilitar o plugin de publicação no Dreamwidth";
+$a->strings["Enable dreamwidth Post Addon"] = "Habilitar o addon de publicação no Dreamwidth";
$a->strings["dreamwidth username"] = "Nome de usuário do Dreamwidth";
$a->strings["dreamwidth password"] = "Senha do Dreamwidth";
$a->strings["Post to dreamwidth by default"] = "Publicar no Dreamwidth por padrão";
diff --git a/dwpost/lang/ro/messages.po b/dwpost/lang/ro/messages.po
index f2fd9e0c..91285968 100644
--- a/dwpost/lang/ro/messages.po
+++ b/dwpost/lang/ro/messages.po
@@ -28,7 +28,7 @@ msgid "Dreamwidth Post Settings"
msgstr "Configurări Postări Dreamwidth "
#: dwpost.php:72
-msgid "Enable dreamwidth Post Plugin"
+msgid "Enable dreamwidth Post Addon"
msgstr "Activare Modul Postare pe Dreamwidth"
#: dwpost.php:77
diff --git a/dwpost/lang/ro/strings.php b/dwpost/lang/ro/strings.php
index d50f3803..ed3ece27 100644
--- a/dwpost/lang/ro/strings.php
+++ b/dwpost/lang/ro/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_ro($n){
;
$a->strings["Post to Dreamwidth"] = "Postați pe Dreamwidth";
$a->strings["Dreamwidth Post Settings"] = "Configurări Postări Dreamwidth ";
-$a->strings["Enable dreamwidth Post Plugin"] = "Activare Modul Postare pe Dreamwidth";
+$a->strings["Enable dreamwidth Post Addon"] = "Activare Modul Postare pe Dreamwidth";
$a->strings["dreamwidth username"] = "Utilizator Dreamwidth";
$a->strings["dreamwidth password"] = "Parola Dreamwidth ";
$a->strings["Post to dreamwidth by default"] = "Postați implicit pe Dreamwidth";
diff --git a/dwpost/lang/ru/messages.po b/dwpost/lang/ru/messages.po
index fc01bce0..93e400e5 100644
--- a/dwpost/lang/ru/messages.po
+++ b/dwpost/lang/ru/messages.po
@@ -28,7 +28,7 @@ msgid "Dreamwidth Post Settings"
msgstr "Настройки сообщений Dreamwidth"
#: dwpost.php:72
-msgid "Enable dreamwidth Post Plugin"
+msgid "Enable dreamwidth Post Addon"
msgstr "Включить плагин отправки сообщений в Dreamwidth"
#: dwpost.php:77
diff --git a/dwpost/lang/ru/strings.php b/dwpost/lang/ru/strings.php
index db1b2755..7b6e5f47 100644
--- a/dwpost/lang/ru/strings.php
+++ b/dwpost/lang/ru/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_ru($n){
;
$a->strings["Post to Dreamwidth"] = "Отправить в Dreamwidth";
$a->strings["Dreamwidth Post Settings"] = "Настройки сообщений Dreamwidth";
-$a->strings["Enable dreamwidth Post Plugin"] = "Включить плагин отправки сообщений в Dreamwidth";
+$a->strings["Enable dreamwidth Post Addon"] = "Включить плагин отправки сообщений в Dreamwidth";
$a->strings["dreamwidth username"] = "Имя пользователя Dreamwidth";
$a->strings["dreamwidth password"] = "Пароль Dreamwidth";
$a->strings["Post to dreamwidth by default"] = "Отправлять сообщения в Dreamwidth по умолчанию";
diff --git a/dwpost/lang/zh-cn/strings.php b/dwpost/lang/zh-cn/strings.php
index 93e075c6..131cd9fa 100644
--- a/dwpost/lang/zh-cn/strings.php
+++ b/dwpost/lang/zh-cn/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to Dreamwidth"] = "转播到Dreamwidth";
$a->strings["Dreamwidth Post Settings"] = "Dreamwidth转播设置";
-$a->strings["Enable dreamwidth Post Plugin"] = "使Dreamwidth转播插件可用";
+$a->strings["Enable dreamwidth Post Addon"] = "使Dreamwidth转播插件可用";
$a->strings["dreamwidth username"] = "Dreamwidth用户名";
$a->strings["dreamwidth password"] = "Dreamwidth密码";
$a->strings["Post to dreamwidth by default"] = "默认地转播到Dreamwidth";
diff --git a/fortunate/fortunate.php b/fortunate/fortunate.php
index 427d620c..4d87bffe 100644
--- a/fortunate/fortunate.php
+++ b/fortunate/fortunate.php
@@ -5,20 +5,21 @@
* Version: 1.0
* Author: Mike Macgirvin
*/
+use Friendica\Core\Addon;
// IMPORTANT: SET THIS to your fortunate server
define ('FORTUNATE_SERVER', 'hostname.com');
function fortunate_install() {
- register_hook('page_end', 'addon/fortunate/fortunate.php', 'fortunate_fetch');
+ Addon::registerHook('page_end', 'addon/fortunate/fortunate.php', 'fortunate_fetch');
if(FORTUNATE_SERVER == 'hostname.com' && is_site_admin()) {
- notice('Fortunate plugin requires configuration. See README');
+ notice('Fortunate addon requires configuration. See README');
}
}
function fortunate_uninstall() {
- unregister_hook('page_end', 'addon/fortunate/fortunate.php', 'fortunate_fetch');
+ Addon::unregisterHook('page_end', 'addon/fortunate/fortunate.php', 'fortunate_fetch');
}
diff --git a/forumdirectory/forumdirectory.php b/forumdirectory/forumdirectory.php
index 10924c67..572f6157 100644
--- a/forumdirectory/forumdirectory.php
+++ b/forumdirectory/forumdirectory.php
@@ -9,6 +9,7 @@
use Friendica\Content\Nav;
use Friendica\Content\Widget;
+use Friendica\Core\Addon;
use Friendica\Core\Config;
use Friendica\Database\DBM;
use Friendica\Model\Profile;
@@ -18,14 +19,12 @@ require_once 'include/dba.php';
require_once 'include/plugin.php';
require_once 'include/text.php';
-function forumdirectory_install()
-{
- register_hook('app_menu', 'addon/forumdirectory/forumdirectory.php', 'forumdirectory_app_menu');
+function forumdirectory_install() {
+Addon::registerHook('app_menu', 'addon/forumdirectory/forumdirectory.php', 'forumdirectory_app_menu');
}
-function forumdirectory_uninstall()
-{
- unregister_hook('app_menu', 'addon/forumdirectory/forumdirectory.php', 'forumdirectory_app_menu');
+function forumdirectory_uninstall() {
+Addon::unregisterHook('app_menu', 'addon/forumdirectory/forumdirectory.php', 'forumdirectory_app_menu');
}
function forumdirectory_module()
diff --git a/fromapp/fromapp.php b/fromapp/fromapp.php
index 51392ff5..32234d15 100644
--- a/fromapp/fromapp.php
+++ b/fromapp/fromapp.php
@@ -6,14 +6,14 @@
* Author: Commander Zot
*
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\PConfig;
function fromapp_install() {
- register_hook('post_local', 'addon/fromapp/fromapp.php', 'fromapp_post_hook');
- register_hook('plugin_settings', 'addon/fromapp/fromapp.php', 'fromapp_settings');
- register_hook('plugin_settings_post', 'addon/fromapp/fromapp.php', 'fromapp_settings_post');
+ Addon::registerHook('post_local', 'addon/fromapp/fromapp.php', 'fromapp_post_hook');
+ Addon::registerHook('addon_settings', 'addon/fromapp/fromapp.php', 'fromapp_settings');
+ Addon::registerHook('addon_settings_post', 'addon/fromapp/fromapp.php', 'fromapp_settings_post');
logger("installed fromapp");
}
@@ -21,9 +21,9 @@ function fromapp_install() {
function fromapp_uninstall() {
- unregister_hook('post_local', 'addon/fromapp/fromapp.php', 'fromapp_post_hook');
- unregister_hook('plugin_settings', 'addon/fromapp/fromapp.php', 'fromapp_settings');
- unregister_hook('plugin_settings_post', 'addon/fromapp/fromapp.php', 'fromapp_settings_post');
+ Addon::unregisterHook('post_local', 'addon/fromapp/fromapp.php', 'fromapp_post_hook');
+ Addon::unregisterHook('addon_settings', 'addon/fromapp/fromapp.php', 'fromapp_settings');
+ Addon::unregisterHook('addon_settings_post', 'addon/fromapp/fromapp.php', 'fromapp_settings_post');
logger("removed fromapp");
diff --git a/fromgplus/fromgplus.php b/fromgplus/fromgplus.php
index 464829a4..c028ea85 100644
--- a/fromgplus/fromgplus.php
+++ b/fromgplus/fromgplus.php
@@ -9,6 +9,7 @@
define('FROMGPLUS_DEFAULT_POLL_INTERVAL', 30); // given in minutes
+use Friendica\Core\Addon;
use Friendica\Core\Config;
use Friendica\Core\PConfig;
use Friendica\Object\Image;
@@ -18,19 +19,19 @@ require_once 'mod/parse_url.php';
require_once 'include/text.php';
function fromgplus_install() {
- register_hook('connector_settings', 'addon/fromgplus/fromgplus.php', 'fromgplus_addon_settings');
- register_hook('connector_settings_post', 'addon/fromgplus/fromgplus.php', 'fromgplus_addon_settings_post');
- register_hook('cron', 'addon/fromgplus/fromgplus.php', 'fromgplus_cron');
+ Addon::registerHook('connector_settings', 'addon/fromgplus/fromgplus.php', 'fromgplus_addon_settings');
+ Addon::registerHook('connector_settings_post', 'addon/fromgplus/fromgplus.php', 'fromgplus_addon_settings_post');
+ Addon::registerHook('cron', 'addon/fromgplus/fromgplus.php', 'fromgplus_cron');
}
function fromgplus_uninstall() {
- unregister_hook('connector_settings', 'addon/fromgplus/fromgplus.php', 'fromgplus_addon_settings');
- unregister_hook('connector_settings_post', 'addon/fromgplus/fromgplus.php', 'fromgplus_addon_settings_post');
- unregister_hook('cron', 'addon/fromgplus/fromgplus.php', 'fromgplus_cron');
+ Addon::unregisterHook('connector_settings', 'addon/fromgplus/fromgplus.php', 'fromgplus_addon_settings');
+ Addon::unregisterHook('connector_settings_post', 'addon/fromgplus/fromgplus.php', 'fromgplus_addon_settings_post');
+ Addon::unregisterHook('cron', 'addon/fromgplus/fromgplus.php', 'fromgplus_cron');
// Old hooks
- unregister_hook('plugin_settings', 'addon/fromgplus/fromgplus.php', 'fromgplus_addon_settings');
- unregister_hook('plugin_settings_post', 'addon/fromgplus/fromgplus.php', 'fromgplus_addon_settings_post');
+ Addon::unregisterHook('addon_settings', 'addon/fromgplus/fromgplus.php', 'fromgplus_addon_settings');
+ Addon::unregisterHook('addon_settings_post', 'addon/fromgplus/fromgplus.php', 'fromgplus_addon_settings_post');
}
function fromgplus_addon_settings(&$a,&$s) {
@@ -93,19 +94,21 @@ function fromgplus_addon_settings_post(&$a,&$b) {
}
}
-function fromgplus_plugin_admin(&$a, &$o){
- $t = get_markup_template("admin.tpl", "addon/fromgplus/");
+function fromgplus_addon_admin(&$a, &$o)
+{
+ $t = get_markup_template("admin.tpl", "addon/fromgplus/");
- $o = replace_macros($t, [
- '$submit' => t('Save Settings'),
- '$key' => ['key', t('Key'), trim(Config::get('fromgplus', 'key')), t('')],
- ]);
+ $o = replace_macros($t, [
+ '$submit' => t('Save Settings'),
+ '$key' => ['key', t('Key'), trim(Config::get('fromgplus', 'key')), t('')],
+ ]);
}
-function fromgplus_plugin_admin_post(&$a){
- $key = ((x($_POST,'key')) ? trim($_POST['key']) : '');
- Config::set('fromgplus','key',$key);
- info( t('Settings updated.'). EOL );
+function fromgplus_addon_admin_post(&$a)
+{
+ $key = ((x($_POST, 'key')) ? trim($_POST['key']) : '');
+ Config::set('fromgplus', 'key', $key);
+ info(t('Settings updated.'). EOL);
}
function fromgplus_cron($a,$b) {
diff --git a/geocoordinates/geocoordinates.php b/geocoordinates/geocoordinates.php
index 0171f7c2..fa72c2a8 100644
--- a/geocoordinates/geocoordinates.php
+++ b/geocoordinates/geocoordinates.php
@@ -5,21 +5,21 @@
* Version: 0.1
* Author: Michael Vogel
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\Cache;
use Friendica\Core\Config;
function geocoordinates_install()
{
- register_hook('post_local', 'addon/geocoordinates/geocoordinates.php', 'geocoordinates_post_hook');
- register_hook('post_remote', 'addon/geocoordinates/geocoordinates.php', 'geocoordinates_post_hook');
+ Addon::registerHook('post_local', 'addon/geocoordinates/geocoordinates.php', 'geocoordinates_post_hook');
+ Addon::registerHook('post_remote', 'addon/geocoordinates/geocoordinates.php', 'geocoordinates_post_hook');
}
function geocoordinates_uninstall()
{
- unregister_hook('post_local', 'addon/geocoordinates/geocoordinates.php', 'geocoordinates_post_hook');
- unregister_hook('post_remote', 'addon/geocoordinates/geocoordinates.php', 'geocoordinates_post_hook');
+ Addon::unregisterHook('post_local', 'addon/geocoordinates/geocoordinates.php', 'geocoordinates_post_hook');
+ Addon::unregisterHook('post_remote', 'addon/geocoordinates/geocoordinates.php', 'geocoordinates_post_hook');
}
function geocoordinates_resolve_item(&$item)
@@ -81,24 +81,24 @@ function geocoordinates_post_hook($a, &$item)
geocoordinates_resolve_item($item);
}
-function geocoordinates_plugin_admin(&$a, &$o)
+function geocoordinates_addon_admin(&$a, &$o)
{
$t = get_markup_template("admin.tpl", "addon/geocoordinates/");
$o = replace_macros($t, [
'$submit' => t('Save Settings'),
- '$api_key' => ['api_key', t('API Key'), Config::get('geocoordinates', 'api_key' ), ''],
- '$language' => ['language', t('Language code (IETF format)'), Config::get('geocoordinates', 'language' ), ''],
+ '$api_key' => ['api_key', t('API Key'), Config::get('geocoordinates', 'api_key'), ''],
+ '$language' => ['language', t('Language code (IETF format)'), Config::get('geocoordinates', 'language'), ''],
]);
}
-function geocoordinates_plugin_admin_post(&$a)
+function geocoordinates_addon_admin_post(&$a)
{
- $api_key = ((x($_POST,'api_key')) ? notags(trim($_POST['api_key'])) : '');
- Config::set('geocoordinates','api_key',$api_key);
+ $api_key = ((x($_POST, 'api_key')) ? notags(trim($_POST['api_key'])) : '');
+ Config::set('geocoordinates', 'api_key', $api_key);
- $language = ((x($_POST,'language')) ? notags(trim($_POST['language'])) : '');
- Config::set('geocoordinates','language',$language);
+ $language = ((x($_POST, 'language')) ? notags(trim($_POST['language'])) : '');
+ Config::set('geocoordinates', 'language', $language);
info(t('Settings updated.'). EOL);
}
diff --git a/geonames/geonames.php b/geonames/geonames.php
index 71e05c8b..45d8fde5 100644
--- a/geonames/geonames.php
+++ b/geonames/geonames.php
@@ -12,14 +12,14 @@
* $a->config['geonames']['username'] = 'your_username';
* Also visit http://geonames.org/manageaccount and enable access to the free web services
*
- * When plugin is installed, the system calls the plugin
+ * When addon is installed, the system calls the addon
* name_install() function, located in 'addon/name/name.php',
* where 'name' is the name of the addon.
* If the addon is removed from the configuration list, the
* system will call the name_uninstall() function.
*
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\Config;
use Friendica\Core\PConfig;
@@ -27,23 +27,23 @@ function geonames_install() {
/**
*
- * Our plugin will attach in three places.
+ * Our addon will attach in three places.
* The first is just prior to storing a local post.
*
*/
- register_hook('post_local', 'addon/geonames/geonames.php', 'geonames_post_hook');
+ Addon::registerHook('post_local', 'addon/geonames/geonames.php', 'geonames_post_hook');
/**
*
- * Then we'll attach into the plugin settings page, and also the
+ * Then we'll attach into the addon settings page, and also the
* settings post hook so that we can create and update
* user preferences.
*
*/
- register_hook('plugin_settings', 'addon/geonames/geonames.php', 'geonames_plugin_admin');
- register_hook('plugin_settings_post', 'addon/geonames/geonames.php', 'geonames_plugin_admin_post');
+ Addon::registerHook('addon_settings', 'addon/geonames/geonames.php', 'geonames_addon_admin');
+ Addon::registerHook('addon_settings_post', 'addon/geonames/geonames.php', 'geonames_addon_admin_post');
logger("installed geonames");
}
@@ -59,9 +59,9 @@ function geonames_uninstall() {
*
*/
- unregister_hook('post_local', 'addon/geonames/geonames.php', 'geonames_post_hook');
- unregister_hook('plugin_settings', 'addon/geonames/geonames.php', 'geonames_plugin_admin');
- unregister_hook('plugin_settings_post', 'addon/geonames/geonames.php', 'geonames_plugin_admin_post');
+ Addon::unregisterHook('post_local', 'addon/geonames/geonames.php', 'geonames_post_hook');
+ Addon::unregisterHook('addon_settings', 'addon/geonames/geonames.php', 'geonames_addon_admin');
+ Addon::unregisterHook('addon_settings_post', 'addon/geonames/geonames.php', 'geonames_addon_admin_post');
logger("removed geonames");
@@ -76,7 +76,7 @@ function geonames_post_hook($a, &$item) {
* An item was posted on the local system.
* We are going to look for specific items:
* - A status post by a profile owner
- * - The profile owner must have allowed our plugin
+ * - The profile owner must have allowed our addon
*
*/
@@ -137,7 +137,7 @@ function geonames_post_hook($a, &$item) {
*
*/
-function geonames_plugin_admin_post($a,$post) {
+function geonames_addon_admin_post($a,$post) {
if(! local_user() || (! x($_POST,'geonames-submit')))
return;
PConfig::set(local_user(),'geonames','enable',intval($_POST['geonames']));
@@ -148,14 +148,14 @@ function geonames_plugin_admin_post($a,$post) {
/**
*
- * Called from the Plugin Setting form.
+ * Called from the Addon Setting form.
* Add our own settings info to the page.
*
*/
-function geonames_plugin_admin(&$a,&$s) {
+function geonames_addon_admin(&$a,&$s) {
if(! local_user())
return;
@@ -180,7 +180,7 @@ function geonames_plugin_admin(&$a,&$s) {
$s .= '
' . t("Allows threading of email comment notifications on Gmail and anonymising the subject line.") . '
';
- $s .= '';
+ $s .= '';
$s .= '';
$s .= '
';
diff --git a/gnot/lang/C/messages.po b/gnot/lang/C/messages.po
index 86f2268c..230d2364 100644
--- a/gnot/lang/C/messages.po
+++ b/gnot/lang/C/messages.po
@@ -32,7 +32,7 @@ msgid ""
msgstr ""
#: gnot.php:82
-msgid "Enable this plugin/addon?"
+msgid "Enable this addon?"
msgstr ""
#: gnot.php:88
diff --git a/gnot/lang/ca/strings.php b/gnot/lang/ca/strings.php
index 809a152d..e65ec936 100644
--- a/gnot/lang/ca/strings.php
+++ b/gnot/lang/ca/strings.php
@@ -3,6 +3,6 @@
$a->strings["Gnot settings updated."] = "Configuració de Gnot actualitzada";
$a->strings["Gnot Settings"] = "Configuració de Gnot";
$a->strings["Allows threading of email comment notifications on Gmail and anonymising the subject line."] = "Permet crear fils de les notificacions de comentaris de correu electrònic a Gmail i anonimat de la línia d'assumpte.";
-$a->strings["Enable this plugin/addon?"] = "Activar aquest plugin/aplicació?";
+$a->strings["Enable this addon?"] = "Activar aquest addon/aplicació?";
$a->strings["Submit"] = "Enviar";
$a->strings["[Friendica:Notify] Comment to conversation #%d"] = "[Friendica: Notifica] Conversació comentada #%d";
diff --git a/gnot/lang/cs/messages.po b/gnot/lang/cs/messages.po
index 3db9fa47..1f9f4244 100644
--- a/gnot/lang/cs/messages.po
+++ b/gnot/lang/cs/messages.po
@@ -34,8 +34,8 @@ msgid ""
msgstr "Umožnit řetězení emailových komentářových notifikací na Gmailu a anonymizací řádky předmětu."
#: gnot.php:82
-msgid "Enable this plugin/addon?"
-msgstr "Povolit tento plugin/rozšíření?"
+msgid "Enable this addon?"
+msgstr "Povolit tento addon/rozšíření?"
#: gnot.php:88
msgid "Submit"
diff --git a/gnot/lang/cs/strings.php b/gnot/lang/cs/strings.php
index 596817d1..90648e5e 100644
--- a/gnot/lang/cs/strings.php
+++ b/gnot/lang/cs/strings.php
@@ -8,6 +8,6 @@ function string_plural_select_cs($n){
$a->strings["Gnot settings updated."] = "Nastavení Gnot aktualizováno.";
$a->strings["Gnot Settings"] = "Nastavení Gnot";
$a->strings["Allows threading of email comment notifications on Gmail and anonymising the subject line."] = "Umožnit řetězení emailových komentářových notifikací na Gmailu a anonymizací řádky předmětu.";
-$a->strings["Enable this plugin/addon?"] = "Povolit tento plugin/rozšíření?";
+$a->strings["Enable this addon?"] = "Povolit tento addon/rozšíření?";
$a->strings["Submit"] = "Odeslat";
$a->strings["[Friendica:Notify] Comment to conversation #%d"] = "[Friendica:Upozornění] Komentář ke konverzaci #%d";
diff --git a/gnot/lang/de/messages.po b/gnot/lang/de/messages.po
index 3a72154d..747f1853 100644
--- a/gnot/lang/de/messages.po
+++ b/gnot/lang/de/messages.po
@@ -35,8 +35,8 @@ msgid ""
msgstr "Erlaubt das Veröffentlichen von E-Mail Kommentar Benachrichtigungen bei Gmail mit anonymisiertem Betreff"
#: gnot.php:82
-msgid "Enable this plugin/addon?"
-msgstr "Dieses Plugin/Addon aktivieren?"
+msgid "Enable this addon?"
+msgstr "Dieses Addon aktivieren?"
#: gnot.php:88
msgid "Submit"
diff --git a/gnot/lang/de/strings.php b/gnot/lang/de/strings.php
index 03832f71..b798a21b 100644
--- a/gnot/lang/de/strings.php
+++ b/gnot/lang/de/strings.php
@@ -8,6 +8,6 @@ function string_plural_select_de($n){
$a->strings["Gnot settings updated."] = "Gnot Einstellungen aktualisiert.";
$a->strings["Gnot Settings"] = "Gnot Einstellungen";
$a->strings["Allows threading of email comment notifications on Gmail and anonymising the subject line."] = "Erlaubt das Veröffentlichen von E-Mail Kommentar Benachrichtigungen bei Gmail mit anonymisiertem Betreff";
-$a->strings["Enable this plugin/addon?"] = "Dieses Plugin/Addon aktivieren?";
+$a->strings["Enable this addon?"] = "Dieses Addon aktivieren?";
$a->strings["Submit"] = "Senden";
$a->strings["[Friendica:Notify] Comment to conversation #%d"] = "[Friendica-Benachrichtigung] Kommentar zum Beitrag #%d";
diff --git a/gnot/lang/eo/strings.php b/gnot/lang/eo/strings.php
index 89379e9a..cfd3c53c 100644
--- a/gnot/lang/eo/strings.php
+++ b/gnot/lang/eo/strings.php
@@ -3,6 +3,6 @@
$a->strings["Gnot settings updated."] = "Ĝisdatigis Gnot agordojn.";
$a->strings["Gnot Settings"] = "Agordoj por Gnot";
$a->strings["Allows threading of email comment notifications on Gmail and anonymising the subject line."] = "Permesas la ĉenadon de retpoŝtaj atentigoj pri komentoj ĉe Gmail kan anonimigado de la temlinio.";
-$a->strings["Enable this plugin/addon?"] = "Ŝalti tiun kromprogramon?";
+$a->strings["Enable this addon?"] = "Ŝalti tiun kromprogramon?";
$a->strings["Submit"] = "Sendi";
$a->strings["[Friendica:Notify] Comment to conversation #%d"] = "[Friendica:Atentigo] Komento pri konversacio #%d";
diff --git a/gnot/lang/es/messages.po b/gnot/lang/es/messages.po
index b96abe64..6e4b8569 100644
--- a/gnot/lang/es/messages.po
+++ b/gnot/lang/es/messages.po
@@ -34,8 +34,8 @@ msgid ""
msgstr "Permite limpiar las notificaciones de comentario de email en Gmail y anonimizar la línea del tema."
#: gnot.php:82
-msgid "Enable this plugin/addon?"
-msgstr "¿Habilitar este plugin/addon?"
+msgid "Enable this addon?"
+msgstr "¿Habilitar este addon?"
#: gnot.php:88
msgid "Submit"
diff --git a/gnot/lang/es/strings.php b/gnot/lang/es/strings.php
index 1f114cdb..2f9e7a8d 100644
--- a/gnot/lang/es/strings.php
+++ b/gnot/lang/es/strings.php
@@ -8,6 +8,6 @@ function string_plural_select_es($n){
$a->strings["Gnot settings updated."] = "Ajustes de Gnot actualizados.";
$a->strings["Gnot Settings"] = "Ajustes de Gnot";
$a->strings["Allows threading of email comment notifications on Gmail and anonymising the subject line."] = "Permite limpiar las notificaciones de comentario de email en Gmail y anonimizar la línea del tema.";
-$a->strings["Enable this plugin/addon?"] = "¿Habilitar este plugin/addon?";
+$a->strings["Enable this addon?"] = "¿Habilitar este addon?";
$a->strings["Submit"] = "Enviar";
$a->strings["[Friendica:Notify] Comment to conversation #%d"] = "[Friendica:Notify] Comentar en conversación #%d";
diff --git a/gnot/lang/fr/strings.php b/gnot/lang/fr/strings.php
index 7018f6c3..32caf46b 100644
--- a/gnot/lang/fr/strings.php
+++ b/gnot/lang/fr/strings.php
@@ -3,6 +3,6 @@
$a->strings["Gnot settings updated."] = "Réglages Gnot sauvés.";
$a->strings["Gnot Settings"] = "Réglages Gnot";
$a->strings["Allows threading of email comment notifications on Gmail and anonymising the subject line."] = "Autorise l'arborescence des notifications de commentaires sur GMail, et rend la ligne 'Sujet' anonyme.";
-$a->strings["Enable this plugin/addon?"] = "Activer cette extension?";
+$a->strings["Enable this addon?"] = "Activer cette extension?";
$a->strings["Submit"] = "Envoyer";
$a->strings["[Friendica:Notify] Comment to conversation #%d"] = "[Friendica:Notification] Commentaire sur la conversation #%d";
diff --git a/gnot/lang/is/strings.php b/gnot/lang/is/strings.php
index c75a1c42..ae183568 100644
--- a/gnot/lang/is/strings.php
+++ b/gnot/lang/is/strings.php
@@ -3,6 +3,6 @@
$a->strings["Gnot settings updated."] = "";
$a->strings["Gnot Settings"] = "";
$a->strings["Allows threading of email comment notifications on Gmail and anonymising the subject line."] = "";
-$a->strings["Enable this plugin/addon?"] = "";
+$a->strings["Enable this addon?"] = "";
$a->strings["Submit"] = "Senda inn";
$a->strings["[Friendica:Notify] Comment to conversation #%d"] = "";
diff --git a/gnot/lang/it/messages.po b/gnot/lang/it/messages.po
index 45649f78..e8ea9005 100644
--- a/gnot/lang/it/messages.po
+++ b/gnot/lang/it/messages.po
@@ -34,8 +34,8 @@ msgid ""
msgstr "Permetti di raggruppare le notifiche dei commenti in thread su Gmail e anonimizza l'oggetto"
#: gnot.php:82
-msgid "Enable this plugin/addon?"
-msgstr "Abilita questo plugin?"
+msgid "Enable this addon?"
+msgstr "Abilita questo addon?"
#: gnot.php:88
msgid "Submit"
diff --git a/gnot/lang/it/strings.php b/gnot/lang/it/strings.php
index 0c8ef482..78c368ca 100644
--- a/gnot/lang/it/strings.php
+++ b/gnot/lang/it/strings.php
@@ -8,6 +8,6 @@ function string_plural_select_it($n){
$a->strings["Gnot settings updated."] = "Impostazioni di \"Gnot\" aggiornate.";
$a->strings["Gnot Settings"] = "Impostazioni Gnot";
$a->strings["Allows threading of email comment notifications on Gmail and anonymising the subject line."] = "Permetti di raggruppare le notifiche dei commenti in thread su Gmail e anonimizza l'oggetto";
-$a->strings["Enable this plugin/addon?"] = "Abilita questo plugin?";
+$a->strings["Enable this addon?"] = "Abilita questo addon?";
$a->strings["Submit"] = "Invia";
$a->strings["[Friendica:Notify] Comment to conversation #%d"] = "[Friendica:Notifica] Commento alla conversazione n° %d";
diff --git a/gnot/lang/nb-no/strings.php b/gnot/lang/nb-no/strings.php
index d53d8296..4d260d6b 100644
--- a/gnot/lang/nb-no/strings.php
+++ b/gnot/lang/nb-no/strings.php
@@ -3,6 +3,6 @@
$a->strings["Gnot settings updated."] = "";
$a->strings["Gnot Settings"] = "";
$a->strings["Allows threading of email comment notifications on Gmail and anonymising the subject line."] = "";
-$a->strings["Enable this plugin/addon?"] = "";
+$a->strings["Enable this addon?"] = "";
$a->strings["Submit"] = "Lagre";
$a->strings["[Friendica:Notify] Comment to conversation #%d"] = "";
diff --git a/gnot/lang/pl/strings.php b/gnot/lang/pl/strings.php
index 64d9ef8b..fb58666e 100644
--- a/gnot/lang/pl/strings.php
+++ b/gnot/lang/pl/strings.php
@@ -3,6 +3,6 @@
$a->strings["Gnot settings updated."] = "";
$a->strings["Gnot Settings"] = "";
$a->strings["Allows threading of email comment notifications on Gmail and anonymising the subject line."] = "";
-$a->strings["Enable this plugin/addon?"] = "Umożliwić tego plugina/wtyczkę?";
+$a->strings["Enable this addon?"] = "Umożliwić tego addona/wtyczkę?";
$a->strings["Submit"] = "Potwierdź";
$a->strings["[Friendica:Notify] Comment to conversation #%d"] = "";
diff --git a/gnot/lang/pt-br/strings.php b/gnot/lang/pt-br/strings.php
index 5a079154..92c97c4b 100644
--- a/gnot/lang/pt-br/strings.php
+++ b/gnot/lang/pt-br/strings.php
@@ -3,6 +3,6 @@
$a->strings["Gnot settings updated."] = "As configurações do Gnot foram atualizadas.";
$a->strings["Gnot Settings"] = "Configurações do Gnot";
$a->strings["Allows threading of email comment notifications on Gmail and anonymising the subject line."] = "Permite o encadeamento das notificações por e-mail de comentário no GMail, tornando a a linha de assunto anônima.";
-$a->strings["Enable this plugin/addon?"] = "Habilitar este plugin/complemento?";
+$a->strings["Enable this addon?"] = "Habilitar este addon/complemento?";
$a->strings["Submit"] = "Enviar";
$a->strings["[Friendica:Notify] Comment to conversation #%d"] = "[Friendica:Notify] Comentário na conversa #%d";
diff --git a/gnot/lang/ro/messages.po b/gnot/lang/ro/messages.po
index 807f2977..34de34f8 100644
--- a/gnot/lang/ro/messages.po
+++ b/gnot/lang/ro/messages.po
@@ -34,7 +34,7 @@ msgid ""
msgstr "Permite înlănțuirea notificărilor prin email a comentariilor, în Gmail și anonimizarea subiectului."
#: gnot.php:82
-msgid "Enable this plugin/addon?"
+msgid "Enable this addon?"
msgstr "Activați acest modul/supliment?"
#: gnot.php:88
diff --git a/gnot/lang/ro/strings.php b/gnot/lang/ro/strings.php
index 764be84e..a3641f4e 100644
--- a/gnot/lang/ro/strings.php
+++ b/gnot/lang/ro/strings.php
@@ -8,6 +8,6 @@ function string_plural_select_ro($n){
$a->strings["Gnot settings updated."] = "Configurările Gnot au fost actualizate.";
$a->strings["Gnot Settings"] = "Configurări Gnot";
$a->strings["Allows threading of email comment notifications on Gmail and anonymising the subject line."] = "Permite înlănțuirea notificărilor prin email a comentariilor, în Gmail și anonimizarea subiectului.";
-$a->strings["Enable this plugin/addon?"] = "Activați acest modul/supliment?";
+$a->strings["Enable this addon?"] = "Activați acest modul/supliment?";
$a->strings["Submit"] = "Trimite";
$a->strings["[Friendica:Notify] Comment to conversation #%d"] = "[Friendica:Notificare] Comentariu la conversația # %d";
diff --git a/gnot/lang/ru/messages.po b/gnot/lang/ru/messages.po
index ff2dc460..9e63af41 100644
--- a/gnot/lang/ru/messages.po
+++ b/gnot/lang/ru/messages.po
@@ -34,7 +34,7 @@ msgid ""
msgstr "Разрешить нитевание уведомлений о комментариях на Gmail и анонимизировать поле \"Тема\"."
#: gnot.php:82
-msgid "Enable this plugin/addon?"
+msgid "Enable this addon?"
msgstr "Включить этот плагин/аддон?"
#: gnot.php:88
diff --git a/gnot/lang/ru/strings.php b/gnot/lang/ru/strings.php
index 45510f70..53d6583b 100644
--- a/gnot/lang/ru/strings.php
+++ b/gnot/lang/ru/strings.php
@@ -8,6 +8,6 @@ function string_plural_select_ru($n){
$a->strings["Gnot settings updated."] = "Настройки Gnot обновлены.";
$a->strings["Gnot Settings"] = "Настройки Gnot";
$a->strings["Allows threading of email comment notifications on Gmail and anonymising the subject line."] = "Разрешить нитевание уведомлений о комментариях на Gmail и анонимизировать поле \"Тема\".";
-$a->strings["Enable this plugin/addon?"] = "Включить этот плагин/аддон?";
+$a->strings["Enable this addon?"] = "Включить этот плагин/аддон?";
$a->strings["Submit"] = "Добавить";
$a->strings["[Friendica:Notify] Comment to conversation #%d"] = "[Friendica:Notify] Комментарий в теме #%d";
diff --git a/gnot/lang/zh-cn/strings.php b/gnot/lang/zh-cn/strings.php
index ddb0d85d..3f7ba8f9 100644
--- a/gnot/lang/zh-cn/strings.php
+++ b/gnot/lang/zh-cn/strings.php
@@ -3,6 +3,6 @@
$a->strings["Gnot settings updated."] = "Gnot设置更新了。";
$a->strings["Gnot Settings"] = "Gnot设置";
$a->strings["Allows threading of email comment notifications on Gmail and anonymising the subject line."] = "允许邮件评论通知在Gmail和匿名话题行。";
-$a->strings["Enable this plugin/addon?"] = "使这个插件/加件可用?";
+$a->strings["Enable this addon?"] = "使这个插件/加件可用?";
$a->strings["Submit"] = "提交";
$a->strings["[Friendica:Notify] Comment to conversation #%d"] = "[Friendica:Notify]评论在交流#%d";
diff --git a/googlemaps/googlemaps.php b/googlemaps/googlemaps.php
index f5b573ac..e294c8e0 100644
--- a/googlemaps/googlemaps.php
+++ b/googlemaps/googlemaps.php
@@ -6,19 +6,19 @@
* Author: Michael Vogel
*
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\Cache;
function googlemaps_install()
{
- register_hook('render_location', 'addon/googlemaps/googlemaps.php', 'googlemaps_location');
+ Addon::registerHook('render_location', 'addon/googlemaps/googlemaps.php', 'googlemaps_location');
logger("installed googlemaps");
}
function googlemaps_uninstall()
{
- unregister_hook('render_location', 'addon/googlemaps/googlemaps.php', 'googlemaps_location');
+ Addon::unregisterHook('render_location', 'addon/googlemaps/googlemaps.php', 'googlemaps_location');
logger("removed googlemaps");
}
diff --git a/gravatar/README.md b/gravatar/README.md
index ff209b0e..0145570b 100644
--- a/gravatar/README.md
+++ b/gravatar/README.md
@@ -1,4 +1,4 @@
-# Gravatar Plugin
+# Gravatar Addon
by [Klaus Weidenbach](http://friendica.dszdw.net/profile/klaus)
This addon allows you to look up an avatar image for new users and contacts at [Gravatar](http://www.gravatar.com). This will be used if there have not been found any other avatar images yet for example through OpenID.
diff --git a/gravatar/gravatar.php b/gravatar/gravatar.php
index e38fb613..840b361b 100644
--- a/gravatar/gravatar.php
+++ b/gravatar/gravatar.php
@@ -1,27 +1,27 @@
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\Config;
/**
- * Installs the plugin hook
+ * Installs the addon hook
*/
function gravatar_install() {
- register_hook('avatar_lookup', 'addon/gravatar/gravatar.php', 'gravatar_lookup');
+ Addon::registerHook('avatar_lookup', 'addon/gravatar/gravatar.php', 'gravatar_lookup');
logger("registered gravatar in avatar_lookup hook");
}
/**
- * Removes the plugin hook
+ * Removes the addon hook
*/
function gravatar_uninstall() {
- unregister_hook('avatar_lookup', 'addon/gravatar/gravatar.php', 'gravatar_lookup');
+ Addon::unregisterHook('avatar_lookup', 'addon/gravatar/gravatar.php', 'gravatar_lookup');
logger("unregistered gravatar in avatar_lookup hook");
}
@@ -56,7 +56,7 @@ function gravatar_lookup($a, &$b) {
/**
* Display admin settings for this addon
*/
-function gravatar_plugin_admin (&$a, &$o) {
+function gravatar_addon_admin (&$a, &$o) {
$t = get_markup_template( "admin.tpl", "addon/gravatar/" );
$default_avatar = Config::get('gravatar', 'default_img');
@@ -103,7 +103,7 @@ function gravatar_plugin_admin (&$a, &$o) {
/**
* Save admin settings
*/
-function gravatar_plugin_admin_post (&$a) {
+function gravatar_addon_admin_post (&$a) {
check_form_security_token('gravatarsave');
$default_avatar = ((x($_POST, 'avatar')) ? notags(trim($_POST['avatar'])) : 'identicon');
diff --git a/group_text/group_text.php b/group_text/group_text.php
index febb87a7..d5163e73 100644
--- a/group_text/group_text.php
+++ b/group_text/group_text.php
@@ -4,16 +4,14 @@
* Description: Disable images in group edit menu
* Version: 1.0
* Author: Thomas Willingham
- *
- *
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\PConfig;
function group_text_install() {
- register_hook('plugin_settings', 'addon/group_text/group_text.php', 'group_text_settings');
- register_hook('plugin_settings_post', 'addon/group_text/group_text.php', 'group_text_settings_post');
+ Addon::registerHook('addon_settings', 'addon/group_text/group_text.php', 'group_text_settings');
+ Addon::registerHook('addon_settings_post', 'addon/group_text/group_text.php', 'group_text_settings_post');
logger("installed group_text");
}
@@ -21,8 +19,8 @@ function group_text_install() {
function group_text_uninstall() {
- unregister_hook('plugin_settings', 'addon/group_text/group_text.php', 'group_text_settings');
- unregister_hook('plugin_settings_post', 'addon/group_text/group_text.php', 'group_text_settings_post');
+ Addon::unregisterHook('addon_settings', 'addon/group_text/group_text.php', 'group_text_settings');
+ Addon::unregisterHook('addon_settings_post', 'addon/group_text/group_text.php', 'group_text_settings_post');
logger("removed group_text");
@@ -50,7 +48,7 @@ function group_text_settings_post($a,$post) {
/**
*
- * Called from the Plugin Setting form.
+ * Called from the Addon Setting form.
* Add our own settings info to the page.
*
*/
diff --git a/ifttt/ifttt.php b/ifttt/ifttt.php
index 8a457df3..40cc5250 100644
--- a/ifttt/ifttt.php
+++ b/ifttt/ifttt.php
@@ -11,19 +11,20 @@ require_once 'include/items.php';
require_once 'include/text.php';
use Friendica\App;
+use Friendica\Core\Addon;
use Friendica\Core\PConfig;
use Friendica\Database\DBM;
function ifttt_install()
{
- register_hook('connector_settings', 'addon/ifttt/ifttt.php', 'ifttt_settings');
- register_hook('connector_settings_post', 'addon/ifttt/ifttt.php', 'ifttt_settings_post');
+ Addon::registerHook('connector_settings', 'addon/ifttt/ifttt.php', 'ifttt_settings');
+ Addon::registerHook('connector_settings_post', 'addon/ifttt/ifttt.php', 'ifttt_settings_post');
}
function ifttt_uninstall()
{
- unregister_hook('connector_settings', 'addon/ifttt/ifttt.php', 'ifttt_settings');
- unregister_hook('connector_settings_post', 'addon/ifttt/ifttt.php', 'ifttt_settings_post');
+ Addon::unregisterHook('connector_settings', 'addon/ifttt/ifttt.php', 'ifttt_settings');
+ Addon::unregisterHook('connector_settings_post', 'addon/ifttt/ifttt.php', 'ifttt_settings_post');
}
function ifttt_module()
diff --git a/ijpost/ijpost.php b/ijpost/ijpost.php
index ccd45fca..6df040fe 100644
--- a/ijpost/ijpost.php
+++ b/ijpost/ijpost.php
@@ -1,5 +1,4 @@
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\PConfig;
function ijpost_install() {
- register_hook('post_local', 'addon/ijpost/ijpost.php', 'ijpost_post_local');
- register_hook('notifier_normal', 'addon/ijpost/ijpost.php', 'ijpost_send');
- register_hook('jot_networks', 'addon/ijpost/ijpost.php', 'ijpost_jot_nets');
- register_hook('connector_settings', 'addon/ijpost/ijpost.php', 'ijpost_settings');
- register_hook('connector_settings_post', 'addon/ijpost/ijpost.php', 'ijpost_settings_post');
+ Addon::registerHook('post_local', 'addon/ijpost/ijpost.php', 'ijpost_post_local');
+ Addon::registerHook('notifier_normal', 'addon/ijpost/ijpost.php', 'ijpost_send');
+ Addon::registerHook('jot_networks', 'addon/ijpost/ijpost.php', 'ijpost_jot_nets');
+ Addon::registerHook('connector_settings', 'addon/ijpost/ijpost.php', 'ijpost_settings');
+ Addon::registerHook('connector_settings_post', 'addon/ijpost/ijpost.php', 'ijpost_settings_post');
}
function ijpost_uninstall() {
- unregister_hook('post_local', 'addon/ijpost/ijpost.php', 'ijpost_post_local');
- unregister_hook('notifier_normal', 'addon/ijpost/ijpost.php', 'ijpost_send');
- unregister_hook('jot_networks', 'addon/ijpost/ijpost.php', 'ijpost_jot_nets');
- unregister_hook('connector_settings', 'addon/ijpost/ijpost.php', 'ijpost_settings');
- unregister_hook('connector_settings_post', 'addon/ijpost/ijpost.php', 'ijpost_settings_post');
+ Addon::unregisterHook('post_local', 'addon/ijpost/ijpost.php', 'ijpost_post_local');
+ Addon::unregisterHook('notifier_normal', 'addon/ijpost/ijpost.php', 'ijpost_send');
+ Addon::unregisterHook('jot_networks', 'addon/ijpost/ijpost.php', 'ijpost_jot_nets');
+ Addon::unregisterHook('connector_settings', 'addon/ijpost/ijpost.php', 'ijpost_settings');
+ Addon::unregisterHook('connector_settings_post', 'addon/ijpost/ijpost.php', 'ijpost_settings_post');
}
@@ -76,7 +75,7 @@ function ijpost_settings(&$a,&$s) {
$s .= '';
$s .= '
';
- $s .= '';
+ $s .= '';
$s .= '';
$s .= '
';
diff --git a/ijpost/lang/C/messages.po b/ijpost/lang/C/messages.po
index 4f62c23a..33e9c31a 100644
--- a/ijpost/lang/C/messages.po
+++ b/ijpost/lang/C/messages.po
@@ -26,7 +26,7 @@ msgid "InsaneJournal Post Settings"
msgstr ""
#: ijpost.php:72
-msgid "Enable InsaneJournal Post Plugin"
+msgid "Enable InsaneJournal Post Addon"
msgstr ""
#: ijpost.php:77
diff --git a/ijpost/lang/ca/strings.php b/ijpost/lang/ca/strings.php
index b5382615..a1f796d6 100644
--- a/ijpost/lang/ca/strings.php
+++ b/ijpost/lang/ca/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to Insanejournal"] = "Enviament a Insanejournal";
$a->strings["InsaneJournal Post Settings"] = "Ajustos d'Enviament a Insanejournal";
-$a->strings["Enable InsaneJournal Post Plugin"] = "Habilita el Plugin d'Enviaments a Insanejournal";
+$a->strings["Enable InsaneJournal Post Addon"] = "Habilita el Addon d'Enviaments a Insanejournal";
$a->strings["InsaneJournal username"] = "Nom d'usuari de Insanejournal";
$a->strings["InsaneJournal password"] = "Contrasenya de Insanejournal";
$a->strings["Post to InsaneJournal by default"] = "Enviar per defecte a Insanejournal";
diff --git a/ijpost/lang/cs/messages.po b/ijpost/lang/cs/messages.po
index 491112fb..dd273de4 100644
--- a/ijpost/lang/cs/messages.po
+++ b/ijpost/lang/cs/messages.po
@@ -28,8 +28,8 @@ msgid "InsaneJournal Post Settings"
msgstr "Nastavení příspěvků pro InsaneJournal"
#: ijpost.php:72
-msgid "Enable InsaneJournal Post Plugin"
-msgstr "Povolit Insanejournal plugin"
+msgid "Enable InsaneJournal Post Addon"
+msgstr "Povolit Insanejournal addon"
#: ijpost.php:77
msgid "InsaneJournal username"
diff --git a/ijpost/lang/cs/strings.php b/ijpost/lang/cs/strings.php
index 157e6a8e..4f4fec36 100644
--- a/ijpost/lang/cs/strings.php
+++ b/ijpost/lang/cs/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_cs($n){
;
$a->strings["Post to Insanejournal"] = "Odeslat na Insanejournal";
$a->strings["InsaneJournal Post Settings"] = "Nastavení příspěvků pro InsaneJournal";
-$a->strings["Enable InsaneJournal Post Plugin"] = "Povolit Insanejournal plugin";
+$a->strings["Enable InsaneJournal Post Addon"] = "Povolit Insanejournal addon";
$a->strings["InsaneJournal username"] = "Insanejournal uživatelské jméno";
$a->strings["InsaneJournal password"] = "Insanejournal heslo";
$a->strings["Post to InsaneJournal by default"] = "Defaultně zasílat příspěvky na InsaneJournal";
diff --git a/ijpost/lang/de/messages.po b/ijpost/lang/de/messages.po
index 6d3897eb..35101521 100644
--- a/ijpost/lang/de/messages.po
+++ b/ijpost/lang/de/messages.po
@@ -29,8 +29,8 @@ msgid "InsaneJournal Post Settings"
msgstr "InsaneJournal Beitrags-Einstellungen"
#: ijpost.php:72
-msgid "Enable InsaneJournal Post Plugin"
-msgstr "InsaneJournal Plugin aktivieren"
+msgid "Enable InsaneJournal Post Addon"
+msgstr "InsaneJournal Addon aktivieren"
#: ijpost.php:77
msgid "InsaneJournal username"
diff --git a/ijpost/lang/de/strings.php b/ijpost/lang/de/strings.php
index e256daec..3b8dbb6d 100644
--- a/ijpost/lang/de/strings.php
+++ b/ijpost/lang/de/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_de($n){
;
$a->strings["Post to Insanejournal"] = "Auf InsaneJournal posten.";
$a->strings["InsaneJournal Post Settings"] = "InsaneJournal Beitrags-Einstellungen";
-$a->strings["Enable InsaneJournal Post Plugin"] = "InsaneJournal Plugin aktivieren";
+$a->strings["Enable InsaneJournal Post Addon"] = "InsaneJournal Addon aktivieren";
$a->strings["InsaneJournal username"] = "InsaneJournal Benutzername";
$a->strings["InsaneJournal password"] = "InsaneJournal Passwort";
$a->strings["Post to InsaneJournal by default"] = "Standardmäßig auf InsaneJournal posten.";
diff --git a/ijpost/lang/eo/strings.php b/ijpost/lang/eo/strings.php
index 11698887..bab5fc08 100644
--- a/ijpost/lang/eo/strings.php
+++ b/ijpost/lang/eo/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to Insanejournal"] = "Afiŝi al Insanejournal";
$a->strings["InsaneJournal Post Settings"] = "Agordoj pri Insaenejournal Afiŝoj";
-$a->strings["Enable InsaneJournal Post Plugin"] = "Ŝalti la InsaneJournal afiŝo kromprogramon.";
+$a->strings["Enable InsaneJournal Post Addon"] = "Ŝalti la InsaneJournal afiŝo kromprogramon.";
$a->strings["InsaneJournal username"] = "Salutnomo ĉe InsaneJournal";
$a->strings["InsaneJournal password"] = "Pasvorto ĉe InsaneJournal";
$a->strings["Post to InsaneJournal by default"] = "Defaŭlte afiŝi ĉe InsaneJournal";
diff --git a/ijpost/lang/es/messages.po b/ijpost/lang/es/messages.po
index c4d5c06b..7aa4e1a8 100644
--- a/ijpost/lang/es/messages.po
+++ b/ijpost/lang/es/messages.po
@@ -28,8 +28,8 @@ msgid "InsaneJournal Post Settings"
msgstr "Ajustes de Entrada de InsaneJournal"
#: ijpost.php:72
-msgid "Enable InsaneJournal Post Plugin"
-msgstr "Habilitar el Plugin de Entrada InsaneJournal"
+msgid "Enable InsaneJournal Post Addon"
+msgstr "Habilitar el Addon de Entrada InsaneJournal"
#: ijpost.php:77
msgid "InsaneJournal username"
diff --git a/ijpost/lang/es/strings.php b/ijpost/lang/es/strings.php
index db51f372..76c9e5f9 100644
--- a/ijpost/lang/es/strings.php
+++ b/ijpost/lang/es/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_es($n){
;
$a->strings["Post to Insanejournal"] = "Publicar en Insanejournal";
$a->strings["InsaneJournal Post Settings"] = "Ajustes de Entrada de InsaneJournal";
-$a->strings["Enable InsaneJournal Post Plugin"] = "Habilitar el Plugin de Entrada InsaneJournal";
+$a->strings["Enable InsaneJournal Post Addon"] = "Habilitar el Addon de Entrada InsaneJournal";
$a->strings["InsaneJournal username"] = "Nombre de usuario InsaneJournal";
$a->strings["InsaneJournal password"] = "Contraseña de InsaneJournal";
$a->strings["Post to InsaneJournal by default"] = "Publicar en InsaneJournal por defecto";
diff --git a/ijpost/lang/fr/strings.php b/ijpost/lang/fr/strings.php
index 7db58ccf..398e3c62 100644
--- a/ijpost/lang/fr/strings.php
+++ b/ijpost/lang/fr/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to Insanejournal"] = "Publier vers InsaneJournal";
$a->strings["InsaneJournal Post Settings"] = "Réglages InsaneJournal";
-$a->strings["Enable InsaneJournal Post Plugin"] = "Activer le connecteur InsaneJournal";
+$a->strings["Enable InsaneJournal Post Addon"] = "Activer le connecteur InsaneJournal";
$a->strings["InsaneJournal username"] = "Utilisateur InsaneJournal";
$a->strings["InsaneJournal password"] = "Mot de passe InsaneJournal";
$a->strings["Post to InsaneJournal by default"] = "Publier sur InsaneJournal par défaut";
diff --git a/ijpost/lang/is/strings.php b/ijpost/lang/is/strings.php
index b79f347e..3dffb320 100644
--- a/ijpost/lang/is/strings.php
+++ b/ijpost/lang/is/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to Insanejournal"] = "";
$a->strings["InsaneJournal Post Settings"] = "";
-$a->strings["Enable InsaneJournal Post Plugin"] = "";
+$a->strings["Enable InsaneJournal Post Addon"] = "";
$a->strings["InsaneJournal username"] = "";
$a->strings["InsaneJournal password"] = "";
$a->strings["Post to InsaneJournal by default"] = "";
diff --git a/ijpost/lang/it/messages.po b/ijpost/lang/it/messages.po
index aba06846..79578b34 100644
--- a/ijpost/lang/it/messages.po
+++ b/ijpost/lang/it/messages.po
@@ -28,8 +28,8 @@ msgid "InsaneJournal Post Settings"
msgstr "Impostazioni post InsaneJournal"
#: ijpost.php:72
-msgid "Enable InsaneJournal Post Plugin"
-msgstr "Abilita il plugin di invio a InsaneJournal"
+msgid "Enable InsaneJournal Post Addon"
+msgstr "Abilita iladdondi invio a InsaneJournal"
#: ijpost.php:77
msgid "InsaneJournal username"
diff --git a/ijpost/lang/it/strings.php b/ijpost/lang/it/strings.php
index 73e8bed4..2f26bb93 100644
--- a/ijpost/lang/it/strings.php
+++ b/ijpost/lang/it/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_it($n){
;
$a->strings["Post to Insanejournal"] = "Invia a InsaneJournal";
$a->strings["InsaneJournal Post Settings"] = "Impostazioni post InsaneJournal";
-$a->strings["Enable InsaneJournal Post Plugin"] = "Abilita il plugin di invio a InsaneJournal";
+$a->strings["Enable InsaneJournal Post Addon"] = "Abilita il addon di invio a InsaneJournal";
$a->strings["InsaneJournal username"] = "Nome utente InsaneJournal";
$a->strings["InsaneJournal password"] = "Password InsaneJournal";
$a->strings["Post to InsaneJournal by default"] = "Invia sempre a InsaneJournal";
diff --git a/ijpost/lang/nb-no/strings.php b/ijpost/lang/nb-no/strings.php
index 2eaa62e3..4b616bcd 100644
--- a/ijpost/lang/nb-no/strings.php
+++ b/ijpost/lang/nb-no/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to Insanejournal"] = "";
$a->strings["InsaneJournal Post Settings"] = "";
-$a->strings["Enable InsaneJournal Post Plugin"] = "";
+$a->strings["Enable InsaneJournal Post Addon"] = "";
$a->strings["InsaneJournal username"] = "";
$a->strings["InsaneJournal password"] = "";
$a->strings["Post to InsaneJournal by default"] = "";
diff --git a/ijpost/lang/pl/strings.php b/ijpost/lang/pl/strings.php
index 5b6ec674..e3f18059 100644
--- a/ijpost/lang/pl/strings.php
+++ b/ijpost/lang/pl/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to Insanejournal"] = "Opublikuj na Insanejournal";
$a->strings["InsaneJournal Post Settings"] = "";
-$a->strings["Enable InsaneJournal Post Plugin"] = "";
+$a->strings["Enable InsaneJournal Post Addon"] = "";
$a->strings["InsaneJournal username"] = "";
$a->strings["InsaneJournal password"] = "";
$a->strings["Post to InsaneJournal by default"] = "";
diff --git a/ijpost/lang/pt-br/messages.po b/ijpost/lang/pt-br/messages.po
index 40f4f6df..b3f799bd 100644
--- a/ijpost/lang/pt-br/messages.po
+++ b/ijpost/lang/pt-br/messages.po
@@ -28,7 +28,7 @@ msgid "InsaneJournal Post Settings"
msgstr "Configurações de publicação no InsaneJournal"
#: ijpost.php:72
-msgid "Enable InsaneJournal Post Plugin"
+msgid "Enable InsaneJournal Post Addon"
msgstr "Habilitar plug-in para publicar no InsaneJournal"
#: ijpost.php:77
diff --git a/ijpost/lang/pt-br/strings.php b/ijpost/lang/pt-br/strings.php
index b48f4dec..fbc1f284 100644
--- a/ijpost/lang/pt-br/strings.php
+++ b/ijpost/lang/pt-br/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_pt_br($n){
;
$a->strings["Post to Insanejournal"] = "Publicar no Insanejournal";
$a->strings["InsaneJournal Post Settings"] = "Configurações de publicação no InsaneJournal";
-$a->strings["Enable InsaneJournal Post Plugin"] = "Habilitar plug-in para publicar no InsaneJournal";
+$a->strings["Enable InsaneJournal Post Addon"] = "Habilitar plug-in para publicar no InsaneJournal";
$a->strings["InsaneJournal username"] = "Nome de usuário no InsaneJournal";
$a->strings["InsaneJournal password"] = "Senha do InsaneJournal";
$a->strings["Post to InsaneJournal by default"] = "Publicar no InsaneJournal por padrão";
diff --git a/ijpost/lang/ro/messages.po b/ijpost/lang/ro/messages.po
index 5743743a..c37bed7e 100644
--- a/ijpost/lang/ro/messages.po
+++ b/ijpost/lang/ro/messages.po
@@ -28,7 +28,7 @@ msgid "InsaneJournal Post Settings"
msgstr "Configurări Postări Insaneournal"
#: ijpost.php:72
-msgid "Enable InsaneJournal Post Plugin"
+msgid "Enable InsaneJournal Post Addon"
msgstr "Activare Modul Postare InsaneJournal"
#: ijpost.php:77
diff --git a/ijpost/lang/ro/strings.php b/ijpost/lang/ro/strings.php
index a4233460..35d64ea6 100644
--- a/ijpost/lang/ro/strings.php
+++ b/ijpost/lang/ro/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_ro($n){
;
$a->strings["Post to Insanejournal"] = "Postare pe Insanejournal";
$a->strings["InsaneJournal Post Settings"] = "Configurări Postări Insaneournal";
-$a->strings["Enable InsaneJournal Post Plugin"] = "Activare Modul Postare InsaneJournal";
+$a->strings["Enable InsaneJournal Post Addon"] = "Activare Modul Postare InsaneJournal";
$a->strings["InsaneJournal username"] = "Utilizator InsaneJournal ";
$a->strings["InsaneJournal password"] = "Parolă InsaneJournal ";
$a->strings["Post to InsaneJournal by default"] = "Postați implicit pe InsaneJournal ";
diff --git a/ijpost/lang/ru/strings.php b/ijpost/lang/ru/strings.php
index 0109f8a6..dc869896 100644
--- a/ijpost/lang/ru/strings.php
+++ b/ijpost/lang/ru/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to Insanejournal"] = "";
$a->strings["InsaneJournal Post Settings"] = "";
-$a->strings["Enable InsaneJournal Post Plugin"] = "Включить InsaneJournal плагин сообщений";
+$a->strings["Enable InsaneJournal Post Addon"] = "Включить InsaneJournal плагин сообщений";
$a->strings["InsaneJournal username"] = "";
$a->strings["InsaneJournal password"] = "";
$a->strings["Post to InsaneJournal by default"] = "";
diff --git a/ijpost/lang/zh-cn/strings.php b/ijpost/lang/zh-cn/strings.php
index f2a04712..273451d7 100644
--- a/ijpost/lang/zh-cn/strings.php
+++ b/ijpost/lang/zh-cn/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to Insanejournal"] = "转播到Insanejournal";
$a->strings["InsaneJournal Post Settings"] = "Insanejournal转播设置";
-$a->strings["Enable InsaneJournal Post Plugin"] = "使InsaneJournal转播插件可用";
+$a->strings["Enable InsaneJournal Post Addon"] = "使InsaneJournal转播插件可用";
$a->strings["InsaneJournal username"] = "InsaneJournal用户名";
$a->strings["InsaneJournal password"] = "InsaneJournal密码";
$a->strings["Post to InsaneJournal by default"] = "默认地转播到InsaneJournal";
diff --git a/impressum/README.md b/impressum/README.md
index cf420ba1..963a085e 100644
--- a/impressum/README.md
+++ b/impressum/README.md
@@ -1,4 +1,4 @@
-Impressum Plugin for Friendica
+Impressum Addon for Friendica
==============================
* Author: Tobias Diekershoff
@@ -7,7 +7,7 @@ Impressum Plugin for Friendica
About
-----
-This plugin adds an Impressum (contact) block to the /friendica page with
+This addon adds an Impressum (contact) block to the /friendica page with
informations about the page operator/owner and how to contact you in case of
any questions.
@@ -16,7 +16,7 @@ normal friendica postings..
Configuration
-------------
-Simply fill in the fields in the impressium settings page in the plugins
+Simply fill in the fields in the impressium settings page in the addons
area of your admin panel. For email adresses the "@" symbol will be obfuscated
in the source of the page to make in harder for harvesting tools.
diff --git a/impressum/impressum.php b/impressum/impressum.php
index 75103dd1..df508868 100644
--- a/impressum/impressum.php
+++ b/impressum/impressum.php
@@ -1,7 +1,7 @@
* License: 3-clause BSD license
@@ -10,18 +10,19 @@
require_once('include/bbcode.php');
require_once('mod/proxy.php');
+use Friendica\Core\Addon;
use Friendica\Core\Config;
function impressum_install() {
- register_hook('about_hook', 'addon/impressum/impressum.php', 'impressum_show');
- register_hook('page_end', 'addon/impressum/impressum.php', 'impressum_footer');
- logger("installed impressum plugin");
+ Addon::registerHook('about_hook', 'addon/impressum/impressum.php', 'impressum_show');
+ Addon::registerHook('page_end', 'addon/impressum/impressum.php', 'impressum_footer');
+ logger("installed impressum Addon");
}
function impressum_uninstall() {
- unregister_hook('about_hook', 'addon/impressum/impressum.php', 'impressum_show');
- unregister_hook('page_end', 'addon/impressum/impressum.php', 'impressum_footer');
- logger("uninstalled impressum plugin");
+ Addon::unregisterHook('about_hook', 'addon/impressum/impressum.php', 'impressum_show');
+ Addon::unregisterHook('page_end', 'addon/impressum/impressum.php', 'impressum_footer');
+ logger("uninstalled impressum Addon");
}
function impressum_module() {
@@ -73,7 +74,7 @@ function impressum_show($a,&$b) {
}
}
-function impressum_plugin_admin_post (&$a) {
+function impressum_addon_admin_post (&$a) {
$owner = ((x($_POST, 'owner')) ? notags(trim($_POST['owner'])) : '');
$ownerprofile = ((x($_POST, 'ownerprofile')) ? notags(trim($_POST['ownerprofile'])) : '');
$postal = ((x($_POST, 'postal')) ? (trim($_POST['postal'])) : '');
@@ -88,7 +89,7 @@ function impressum_plugin_admin_post (&$a) {
Config::set('impressum','footer_text',strip_tags($footer_text));
info( t('Settings updated.'). EOL );
}
-function impressum_plugin_admin (&$a, &$o) {
+function impressum_addon_admin (&$a, &$o) {
$t = get_markup_template( "admin.tpl", "addon/impressum/" );
$o = replace_macros($t, [
'$submit' => t('Save Settings'),
diff --git a/impressum/lang/de/messages.po b/impressum/lang/de/messages.po
index 1a73058a..11d4a512 100644
--- a/impressum/lang/de/messages.po
+++ b/impressum/lang/de/messages.po
@@ -41,7 +41,7 @@ msgid ""
"The impressum addon needs to be configured! Please add at least the "
"owner variable to your config file. For other variables please "
"refer to the README file of the addon."
-msgstr "Das Impressums-Plugin muss noch konfiguriert werden. Bitte gebe mindestens den Betreiber in der Konfiguration an. Alle weiteren Parameter werden in der README-Datei des Addons erläutert."
+msgstr "Das Impressums-Addon muss noch konfiguriert werden. Bitte gebe mindestens den Betreiber in der Konfiguration an. Alle weiteren Parameter werden in der README-Datei des Addons erläutert."
#: impressum.php:78
msgid "Settings updated."
diff --git a/impressum/lang/de/strings.php b/impressum/lang/de/strings.php
index 66acf097..0cf1a4ae 100644
--- a/impressum/lang/de/strings.php
+++ b/impressum/lang/de/strings.php
@@ -9,7 +9,7 @@ $a->strings["Impressum"] = "Impressum";
$a->strings["Site Owner"] = "Betreiber der Seite";
$a->strings["Email Address"] = "Email Adresse";
$a->strings["Postal Address"] = "Postalische Anschrift";
-$a->strings["The impressum addon needs to be configured! Please add at least the owner variable to your config file. For other variables please refer to the README file of the addon."] = "Das Impressums-Plugin muss noch konfiguriert werden. Bitte gebe mindestens den Betreiber in der Konfiguration an. Alle weiteren Parameter werden in der README-Datei des Addons erläutert.";
+$a->strings["The impressum addon needs to be configured! Please add at least the owner variable to your config file. For other variables please refer to the README file of the addon."] = "Das Impressums-Addon muss noch konfiguriert werden. Bitte gebe mindestens den Betreiber in der Konfiguration an. Alle weiteren Parameter werden in der README-Datei des Addons erläutert.";
$a->strings["Settings updated."] = "Einstellungen aktualisiert.";
$a->strings["Submit"] = "Senden";
$a->strings["The page operators name."] = "Name des Server-Administrators";
diff --git a/impressum/lang/it/messages.po b/impressum/lang/it/messages.po
index ae430ef4..5fafbbca 100644
--- a/impressum/lang/it/messages.po
+++ b/impressum/lang/it/messages.po
@@ -40,7 +40,7 @@ msgid ""
"The impressum addon needs to be configured! Please add at least the "
"owner variable to your config file. For other variables please "
"refer to the README file of the addon."
-msgstr "Il plugin Colophon deve essere configurato! Aggiungi almeno il Proprietario del sito."
+msgstr "IladdonColophon deve essere configurato! Aggiungi almeno il Proprietario del sito."
#: impressum.php:78
msgid "Settings updated."
diff --git a/impressum/lang/it/strings.php b/impressum/lang/it/strings.php
index 25f3b1be..ce51610f 100644
--- a/impressum/lang/it/strings.php
+++ b/impressum/lang/it/strings.php
@@ -9,7 +9,7 @@ $a->strings["Impressum"] = "Colophon";
$a->strings["Site Owner"] = "Proprietario del sito";
$a->strings["Email Address"] = "Indirizzo email";
$a->strings["Postal Address"] = "Indirizzo";
-$a->strings["The impressum addon needs to be configured! Please add at least the owner variable to your config file. For other variables please refer to the README file of the addon."] = "Il plugin Colophon deve essere configurato! Aggiungi almeno il Proprietario del sito.";
+$a->strings["The impressum addon needs to be configured! Please add at least the owner variable to your config file. For other variables please refer to the README file of the addon."] = "Il addon Colophon deve essere configurato! Aggiungi almeno il Proprietario del sito.";
$a->strings["Settings updated."] = "Impostazioni aggiornate.";
$a->strings["Submit"] = "Invia";
$a->strings["The page operators name."] = "Nome del gestore della pagina.";
diff --git a/infiniteimprobabilitydrive/infiniteimprobabilitydrive.php b/infiniteimprobabilitydrive/infiniteimprobabilitydrive.php
index 5e46b3b7..cdadf030 100644
--- a/infiniteimprobabilitydrive/infiniteimprobabilitydrive.php
+++ b/infiniteimprobabilitydrive/infiniteimprobabilitydrive.php
@@ -5,13 +5,14 @@
* Version: 1.0
* Author: Thomas Willingham
*/
+use Friendica\Core\Addon;
function infiniteimprobabilitydrive_install() {
-register_hook('app_menu', 'addon/infiniteimprobabilitydrive/infiniteimprobabilitydrive.php', 'infiniteimprobabilitydrive_app_menu');
+Addon::registerHook('app_menu', 'addon/infiniteimprobabilitydrive/infiniteimprobabilitydrive.php', 'infiniteimprobabilitydrive_app_menu');
}
function infiniteimprobabilitydrive_uninstall() {
-unregister_hook('app_menu', 'addon/infiniteimprobabilitydrive/infiniteimprobabilitydrive.php', 'infiniteimprobabilitydrive_app_menu');
+Addon::unregisterHook('app_menu', 'addon/infiniteimprobabilitydrive/infiniteimprobabilitydrive.php', 'infiniteimprobabilitydrive_app_menu');
}
diff --git a/irc/irc.php b/irc/irc.php
index cfede034..288f65ca 100644
--- a/irc/irc.php
+++ b/irc/irc.php
@@ -1,24 +1,24 @@
* Author: Tobias Diekershoff
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\Config;
use Friendica\Core\PConfig;
function irc_install() {
- register_hook('app_menu', 'addon/irc/irc.php', 'irc_app_menu');
- register_hook('plugin_settings', 'addon/irc/irc.php', 'irc_addon_settings');
- register_hook('plugin_settings_post', 'addon/irc/irc.php', 'irc_addon_settings_post');
+ Addon::registerHook('app_menu', 'addon/irc/irc.php', 'irc_app_menu');
+ Addon::registerHook('addon_settings', 'addon/irc/irc.php', 'irc_addon_settings');
+ Addon::registerHook('addon_settings_post', 'addon/irc/irc.php', 'irc_addon_settings_post');
}
function irc_uninstall() {
- unregister_hook('app_menu', 'addon/irc/irc.php', 'irc_app_menu');
- unregister_hook('plugin_settings', 'addon/irc/irc.php', 'irc_addon_settings');
+ Addon::unregisterHook('app_menu', 'addon/irc/irc.php', 'irc_app_menu');
+ Addon::unregisterHook('addon_settings', 'addon/irc/irc.php', 'irc_addon_settings');
}
@@ -120,7 +120,7 @@ return $o;
}
-function irc_plugin_admin_post (&$a) {
+function irc_addon_admin_post (&$a) {
if(! is_site_admin())
return;
@@ -131,7 +131,7 @@ function irc_plugin_admin_post (&$a) {
info( t('IRC settings saved.') . EOL);
}
}
-function irc_plugin_admin (&$a, &$o) {
+function irc_addon_admin (&$a, &$o) {
$sitechats = Config::get('irc','sitechats'); /* popular channels */
$autochans = Config::get('irc','autochans'); /* auto connect chans */
$t = get_markup_template( "admin.tpl", "addon/irc/" );
diff --git a/jappixmini/README b/jappixmini/README
index f21649be..0343d060 100644
--- a/jappixmini/README
+++ b/jappixmini/README
@@ -1,10 +1,10 @@
-Jappix Mini Plugin
+Jappix Mini Addon
==================
This quick-and-dirty addon allows you to add a Jabber-based, Facebook-like chat
to Friendica. It uses Jappix Mini.
-It is necessary to use a BOSH host - so to use this plugin, each users need to
+It is necessary to use a BOSH host - so to use this addon, each users need to
know the address of a BOSH host that works with his account. The BOSH server of
the Jappix project (https://bind.jappix.com/) is not locked to a specific XMPP
provider, but keep in mind that only personal usage is approved according to
diff --git a/jappixmini/jappix/js/adhoc.js b/jappixmini/jappix/js/adhoc.js
index d4e3bf4c..499d709f 100644
--- a/jappixmini/jappix/js/adhoc.js
+++ b/jappixmini/jappix/js/adhoc.js
@@ -78,7 +78,7 @@ function serverAdHoc(server) {
dataForm(server, 'command', '', '', 'adhoc');
}
-// Plugin launcher
+// Addon launcher
function launchAdHoc() {
// Click event
$('#adhoc .bottom .finish').click(closeAdHoc);
diff --git a/jappixmini/jappix/js/anonymous.js b/jappixmini/jappix/js/anonymous.js
index 88eaa7dc..af4ecb59 100644
--- a/jappixmini/jappix/js/anonymous.js
+++ b/jappixmini/jappix/js/anonymous.js
@@ -110,7 +110,7 @@ function anonymousLogin(server) {
}
}
-// Plugin launcher
+// Addon launcher
function launchAnonymous() {
logThis('Anonymous mode detected, connecting...', 3);
@@ -127,5 +127,5 @@ function launchAnonymous() {
anonymousLogin(HOST_ANONYMOUS);
}
-// Launch this plugin!
+// Launch this addon!
$(document).ready(launchAnonymous);
diff --git a/jappixmini/jappix/js/archives.js b/jappixmini/jappix/js/archives.js
index 387a379f..e6a08029 100644
--- a/jappixmini/jappix/js/archives.js
+++ b/jappixmini/jappix/js/archives.js
@@ -393,7 +393,7 @@ function updateArchives() {
getListArchives(xid, date);
}
-// Plugin launcher
+// Addon launcher
function launchArchives() {
// Current date
var current_date = explodeThis('T', getXMPPTime(), 0);
diff --git a/jappixmini/jappix/js/connection.js b/jappixmini/jappix/js/connection.js
index 85a718c5..afd1f6e8 100644
--- a/jappixmini/jappix/js/connection.js
+++ b/jappixmini/jappix/js/connection.js
@@ -489,7 +489,7 @@ function getEverything() {
getStorage(NS_ROSTERNOTES);
}
-// Plugin launcher
+// Addon launcher
function launchConnection() {
// Logouts when Jappix is closed
$(window).bind('beforeunload', terminate);
@@ -522,5 +522,5 @@ function launchConnection() {
}
}
-// Launch this plugin!
+// Launch this addon!
$(document).ready(launchConnection);
diff --git a/jappixmini/jappix/js/directory.js b/jappixmini/jappix/js/directory.js
index ebe1a570..d1f69492 100644
--- a/jappixmini/jappix/js/directory.js
+++ b/jappixmini/jappix/js/directory.js
@@ -66,7 +66,7 @@ function startDirectory() {
return false;
}
-// Plugin launcher
+// Addon launcher
function launchDirectory() {
// Click event
$('#directory .bottom .finish').click(closeDirectory);
diff --git a/jappixmini/jappix/js/discovery.js b/jappixmini/jappix/js/discovery.js
index 867037b2..f4bc0d42 100644
--- a/jappixmini/jappix/js/discovery.js
+++ b/jappixmini/jappix/js/discovery.js
@@ -148,7 +148,7 @@ function cleanDiscovery() {
$('#discovery .wait, #discovery .disco-category').hide();
}
-// Plugin launcher
+// Addon launcher
function launchDiscovery() {
// Click event
$('#discovery .bottom .finish').click(closeDiscovery);
diff --git a/jappixmini/jappix/js/favorites.js b/jappixmini/jappix/js/favorites.js
index 69a042e8..0b4f1cb0 100644
--- a/jappixmini/jappix/js/favorites.js
+++ b/jappixmini/jappix/js/favorites.js
@@ -473,7 +473,7 @@ function loadFavorites() {
$('#favorites .fedit-head-select').html(favorites_popup);
}
-// Plugin launcher
+// Addon launcher
function launchFavorites() {
var path = '#favorites .';
diff --git a/jappixmini/jappix/js/home.js b/jappixmini/jappix/js/home.js
index 5322501d..fdaba56b 100644
--- a/jappixmini/jappix/js/home.js
+++ b/jappixmini/jappix/js/home.js
@@ -288,7 +288,7 @@ function registerForm() {
return false;
}
-// Plugin launcher
+// Addon launcher
function launchHome() {
// Define the vars
var home = '#home ';
@@ -367,5 +367,5 @@ function launchHome() {
logThis('Welcome to Jappix! Happy coding in developer mode!');
}
-// Launch this plugin!
+// Launch this addon!
$(document).ready(launchHome);
diff --git a/jappixmini/jappix/js/inbox.js b/jappixmini/jappix/js/inbox.js
index 9f54cb93..2fe32730 100644
--- a/jappixmini/jappix/js/inbox.js
+++ b/jappixmini/jappix/js/inbox.js
@@ -613,7 +613,7 @@ function handleInboxAttach(responseXML) {
$('#inbox .wait').hide();
}
-// Plugin launcher
+// Addon launcher
function launchInbox() {
// Define the pats
var inbox = '#inbox .';
diff --git a/jappixmini/jappix/js/integratebox.js b/jappixmini/jappix/js/integratebox.js
index 214b3d72..6d33df13 100644
--- a/jappixmini/jappix/js/integratebox.js
+++ b/jappixmini/jappix/js/integratebox.js
@@ -316,13 +316,13 @@ function filterIntegrateBox(data) {
return string;
}
-// Plugin launcher
+// Addon launcher
function launchIntegratebox() {
// Click event
$('#integratebox .bottom .finish.close').click(closeIntegrateBox);
}
-// Plugin keyup event
+// Addon keyup event
$(document).keyup(function(e) {
// Previous item?
if((exists('#integratebox .bottom .finish.previous:not(.disabled)')) && (e.keyCode == 37)) {
diff --git a/jappixmini/jappix/js/interface.js b/jappixmini/jappix/js/interface.js
index e4a0db52..5fe6593b 100644
--- a/jappixmini/jappix/js/interface.js
+++ b/jappixmini/jappix/js/interface.js
@@ -376,11 +376,11 @@ function inputFocus() {
});
}
-// Plugin launcher
+// Addon launcher
function launchInterface() {
// Focus on the first visible input
$(window).focus(inputFocus);
}
-// Launch this plugin!
+// Launch this addon!
$(document).ready(launchInterface);
diff --git a/jappixmini/jappix/js/jquery.js b/jappixmini/jappix/js/jquery.js
index a4f11458..7b0be75f 100644
--- a/jappixmini/jappix/js/jquery.js
+++ b/jappixmini/jappix/js/jquery.js
@@ -1403,7 +1403,7 @@ jQuery.fn.extend({
});
},
- // Based off of the plugin by Clint Helfers, with permission.
+ // Based off of the addon by Clint Helfers, with permission.
// http://blindsignals.com/index.php/2009/07/jquery-delay/
delay: function( time, type ) {
time = jQuery.fx ? jQuery.fx.speeds[time] || time : time;
diff --git a/jappixmini/jappix/js/jquery.placeholder.js b/jappixmini/jappix/js/jquery.placeholder.js
index 834bda64..d9162f0f 100644
--- a/jappixmini/jappix/js/jquery.placeholder.js
+++ b/jappixmini/jappix/js/jquery.placeholder.js
@@ -64,7 +64,7 @@
});
- // plugin code
+ // addon code
$.fn.placeholder = function(opts) {
opts = $.extend({},$.placeholder.settings, opts);
diff --git a/jappixmini/jappix/js/me.js b/jappixmini/jappix/js/me.js
index 5720df34..bc303805 100644
--- a/jappixmini/jappix/js/me.js
+++ b/jappixmini/jappix/js/me.js
@@ -51,7 +51,7 @@ function closeMe() {
return false;
}
-// Plugin launcher
+// Addon launcher
function launchMe() {
// Click events
$('#me .content a.go').click(function() {
diff --git a/jappixmini/jappix/js/microblog.js b/jappixmini/jappix/js/microblog.js
index ceff07ab..5d489081 100644
--- a/jappixmini/jappix/js/microblog.js
+++ b/jappixmini/jappix/js/microblog.js
@@ -1430,7 +1430,7 @@ function fromInfosMicroblog(xid, hash) {
getMicroblog(xid, hash);
}
-// Plugin launcher
+// Addon launcher
function launchMicroblog() {
// Keyboard event
$('#channel .top input[name=microblog_body]').keyup(function(e) {
diff --git a/jappixmini/jappix/js/mini.js b/jappixmini/jappix/js/mini.js
index 0bfb8087..112fbb4c 100644
--- a/jappixmini/jappix/js/mini.js
+++ b/jappixmini/jappix/js/mini.js
@@ -1543,7 +1543,7 @@ function adaptRosterMini() {
jQuery('#jappix_mini div.jm_roster div.jm_buddies').css('max-height', height);
}
-// Plugin launcher
+// Addon launcher
function launchMini(autoconnect, show_pane, domain, user, password) {
// Save infos to reconnect
MINI_DOMAIN = domain;
diff --git a/jappixmini/jappix/js/mucadmin.js b/jappixmini/jappix/js/mucadmin.js
index 3bee965b..ca2e89d1 100644
--- a/jappixmini/jappix/js/mucadmin.js
+++ b/jappixmini/jappix/js/mucadmin.js
@@ -361,7 +361,7 @@ function saveMucAdmin() {
return closeMucAdmin();
}
-// Plugin launcher
+// Addon launcher
function launchMucAdmin() {
// Click events
$('#mucadmin .bottom .finish').click(function() {
diff --git a/jappixmini/jappix/js/music.js b/jappixmini/jappix/js/music.js
index f367a2b6..af86a060 100644
--- a/jappixmini/jappix/js/music.js
+++ b/jappixmini/jappix/js/music.js
@@ -244,7 +244,7 @@ function addMusic(id, title, artist, source, duration, uri, mime, type) {
return false;
}
-// Plugin launcher
+// Addon launcher
function launchMusic() {
// When music search string submitted
$('.music-content input').keyup(function(e) {
diff --git a/jappixmini/jappix/js/notification.js b/jappixmini/jappix/js/notification.js
index c0f6c12c..603d37ad 100644
--- a/jappixmini/jappix/js/notification.js
+++ b/jappixmini/jappix/js/notification.js
@@ -412,7 +412,7 @@ function adaptNotifications() {
$('.notifications-content .tools-content-subitem').css('max-height', max_height);
}
-// Plugin launcher
+// Addon launcher
function launchNotifications() {
// Adapt the notifications height
adaptNotifications();
diff --git a/jappixmini/jappix/js/options.js b/jappixmini/jappix/js/options.js
index 0463af4d..8f1ea190 100644
--- a/jappixmini/jappix/js/options.js
+++ b/jappixmini/jappix/js/options.js
@@ -534,7 +534,7 @@ function loadOptions() {
$('#integratemedias').attr('checked', true);
}
-// Plugin launcher
+// Addon launcher
function launchOptions() {
// Click events
$('#options .tab a').click(function() {
diff --git a/jappixmini/jappix/js/pep.js b/jappixmini/jappix/js/pep.js
index 04f9f156..2a3ee1ac 100644
--- a/jappixmini/jappix/js/pep.js
+++ b/jappixmini/jappix/js/pep.js
@@ -652,7 +652,7 @@ function displayAllPEP(xid) {
displayPEP(xid, 'geoloc');
}
-// Plugin launcher
+// Addon launcher
function launchPEP() {
// Apply empty values to the PEP database
setDB('mood-value', 1, '');
diff --git a/jappixmini/jappix/js/presence.js b/jappixmini/jappix/js/presence.js
index 0834209c..ef5c1c67 100644
--- a/jappixmini/jappix/js/presence.js
+++ b/jappixmini/jappix/js/presence.js
@@ -973,7 +973,7 @@ function getUserStatus() {
return $('#presence-status').val();
}
-// Plugin launcher
+// Addon launcher
function launchPresence() {
// Click event for user presence show
$('#my-infos .f-presence a.picker').click(function() {
diff --git a/jappixmini/jappix/js/privacy.js b/jappixmini/jappix/js/privacy.js
index 01675f7f..d9cd46b6 100644
--- a/jappixmini/jappix/js/privacy.js
+++ b/jappixmini/jappix/js/privacy.js
@@ -645,7 +645,7 @@ function enableFormPrivacy(rank) {
$('#privacy .privacy-' + rank + ' input, #privacy .privacy-' + rank + ' select').removeAttr('disabled');
}
-// Plugin launcher
+// Addon launcher
function launchPrivacy() {
// Click events
$('#privacy .bottom .finish').click(closePrivacy);
diff --git a/jappixmini/jappix/js/roster.js b/jappixmini/jappix/js/roster.js
index 99389a77..4dca501c 100644
--- a/jappixmini/jappix/js/roster.js
+++ b/jappixmini/jappix/js/roster.js
@@ -708,7 +708,7 @@ function getGateways() {
// Define a global var for buddy list all buddies displayed
var BLIST_ALL = false;
-// Plugin launcher
+// Addon launcher
function launchRoster() {
// Filtering tool
var iFilter = $('#buddy-list .filter input');
diff --git a/jappixmini/jappix/js/rosterx.js b/jappixmini/jappix/js/rosterx.js
index 30f0854c..5cfe1180 100644
--- a/jappixmini/jappix/js/rosterx.js
+++ b/jappixmini/jappix/js/rosterx.js
@@ -166,7 +166,7 @@ function saveRosterX() {
closeRosterX();
}
-// Plugin launcher
+// Addon launcher
function launchRosterX() {
// Click events
$('#rosterx .bottom .finish').click(function() {
diff --git a/jappixmini/jappix/js/talk.js b/jappixmini/jappix/js/talk.js
index 7e1320e9..529de6c7 100644
--- a/jappixmini/jappix/js/talk.js
+++ b/jappixmini/jappix/js/talk.js
@@ -13,7 +13,7 @@ Last revision: 06/05/11
// Creates the talkpage events
function eventsTalkPage() {
- // Launch all associated plugins
+ // Launch all associated addons
launchMicroblog();
launchRoster();
launchPresence();
diff --git a/jappixmini/jappix/js/userinfos.js b/jappixmini/jappix/js/userinfos.js
index 35a58fe5..885f3163 100644
--- a/jappixmini/jappix/js/userinfos.js
+++ b/jappixmini/jappix/js/userinfos.js
@@ -406,7 +406,7 @@ function getUserInfos(hash, xid, nick, type) {
presenceFunnel(xid, hash);
}
-// Plugin launcher
+// Addon launcher
function launchUserInfos() {
// Click events
$('#userinfos .tab a').click(function() {
diff --git a/jappixmini/jappix/js/vcard.js b/jappixmini/jappix/js/vcard.js
index 6e0fa09a..f61ca990 100644
--- a/jappixmini/jappix/js/vcard.js
+++ b/jappixmini/jappix/js/vcard.js
@@ -566,7 +566,7 @@ function sendVCard() {
return false;
}
-// Plugin launcher
+// Addon launcher
function launchVCard() {
// Focus on the first input
$(document).oneTime(10, function() {
diff --git a/jappixmini/jappix/js/welcome.js b/jappixmini/jappix/js/welcome.js
index 4faf5bd1..ff193302 100644
--- a/jappixmini/jappix/js/welcome.js
+++ b/jappixmini/jappix/js/welcome.js
@@ -269,7 +269,7 @@ function nextWelcome() {
return false;
}
-// Plugin launcher
+// Addon launcher
function launchWelcome() {
// Click events
$('#welcome .tab a').click(function() {
diff --git a/jappixmini/jappix/lang/ar/LC_MESSAGES/main.po b/jappixmini/jappix/lang/ar/LC_MESSAGES/main.po
index c8cc999b..697e7f2f 100644
--- a/jappixmini/jappix/lang/ar/LC_MESSAGES/main.po
+++ b/jappixmini/jappix/lang/ar/LC_MESSAGES/main.po
@@ -1038,7 +1038,7 @@ msgstr ""
msgid "The folder is writable, you can continue!"
msgstr ""
-msgid "Jappix offers you the possibility to manage your configuration, install new plugins or search for updates. That's why you must create an administrator account to access the manager."
+msgid "Jappix offers you the possibility to manage your configuration, install new addons or search for updates. That's why you must create an administrator account to access the manager."
msgstr ""
msgid "When Jappix will be installed, just click on the manager link on the home page to access it."
diff --git a/jappixmini/jappix/lang/bg/LC_MESSAGES/main.po b/jappixmini/jappix/lang/bg/LC_MESSAGES/main.po
index 5d7e06d3..6f4a7339 100644
--- a/jappixmini/jappix/lang/bg/LC_MESSAGES/main.po
+++ b/jappixmini/jappix/lang/bg/LC_MESSAGES/main.po
@@ -1038,7 +1038,7 @@ msgstr "Jappix трябва да може да вписва данни в таз
msgid "The folder is writable, you can continue!"
msgstr "В тази папка/директория може да се записва, можете да продължите!"
-msgid "Jappix offers you the possibility to manage your configuration, install new plugins or search for updates. That's why you must create an administrator account to access the manager."
+msgid "Jappix offers you the possibility to manage your configuration, install new addons or search for updates. That's why you must create an administrator account to access the manager."
msgstr "Jappix ви позволява да управлявате и менажирате вашата конфигурация, да инсталирате нови разширения (плъгини) или да потърсите за обновления на програмата (ъпдейти). Затова трябва да създадете администраторска потребителска сметка (акаунт), за да можете да имате достъп до мениджъра с настройките на Jappix."
msgid "When Jappix will be installed, just click on the manager link on the home page to access it."
diff --git a/jappixmini/jappix/lang/cs/LC_MESSAGES/main.po b/jappixmini/jappix/lang/cs/LC_MESSAGES/main.po
index a1a62722..9063b52d 100644
--- a/jappixmini/jappix/lang/cs/LC_MESSAGES/main.po
+++ b/jappixmini/jappix/lang/cs/LC_MESSAGES/main.po
@@ -1038,8 +1038,8 @@ msgstr "Jappix musí mít oprávnění zapisovat do tohoto adresáře pro vytvo
msgid "The folder is writable, you can continue!"
msgstr "Do adresáře je povolen zápis, můžete pokračovat!"
-msgid "Jappix offers you the possibility to manage your configuration, install new plugins or search for updates. That's why you must create an administrator account to access the manager."
-msgstr "Jappix vám úmožňuje spravovat vaší konfiguraci, instalovat pluginy nebo vyhledávat aktualizace. Proto je nutné si vytvořit účet administrátora ke vstupu do Správy Jappix."
+msgid "Jappix offers you the possibility to manage your configuration, install new addons or search for updates. That's why you must create an administrator account to access the manager."
+msgstr "Jappix vám úmožňuje spravovat vaší konfiguraci, instalovat addony nebo vyhledávat aktualizace. Proto je nutné si vytvořit účet administrátora ke vstupu do Správy Jappix."
msgid "When Jappix will be installed, just click on the manager link on the home page to access it."
msgstr "Když je Jappix nainstalován, stačí kliknout na odkaz Správce na výchozí stránce pro vstup do Správy. "
diff --git a/jappixmini/jappix/lang/de/LC_MESSAGES/main.po b/jappixmini/jappix/lang/de/LC_MESSAGES/main.po
index 75dba8f4..352e9674 100644
--- a/jappixmini/jappix/lang/de/LC_MESSAGES/main.po
+++ b/jappixmini/jappix/lang/de/LC_MESSAGES/main.po
@@ -1038,8 +1038,8 @@ msgstr "Jappix muss Schreibberechtigungen in diesem Ordner haben um sein Unteror
msgid "The folder is writable, you can continue!"
msgstr "Der Ordner ist schreibbar, du kannst weitermachen!"
-msgid "Jappix offers you the possibility to manage your configuration, install new plugins or search for updates. That's why you must create an administrator account to access the manager."
-msgstr "Jappix bietet dir die Möglichkeit, deine Konfiguration einzustellen, neue Plugins zu installieren oder nach Updates zu suchen. Deshalb musst Du ein Admin-Account anlegen um auf die Verwaltung zugreifen zu können."
+msgid "Jappix offers you the possibility to manage your configuration, install new addons or search for updates. That's why you must create an administrator account to access the manager."
+msgstr "Jappix bietet dir die Möglichkeit, deine Konfiguration einzustellen, neue Addons zu installieren oder nach Updates zu suchen. Deshalb musst Du ein Admin-Account anlegen um auf die Verwaltung zugreifen zu können."
msgid "When Jappix will be installed, just click on the manager link on the home page to access it."
msgstr "Wenn Jappix installiert ist, klicke einfach auf den Manager-Link auf der Homepage um darauf zuzugreifen."
diff --git a/jappixmini/jappix/lang/en/LC_MESSAGES/main.pot b/jappixmini/jappix/lang/en/LC_MESSAGES/main.pot
index 42b5b2c0..108bb18a 100644
--- a/jappixmini/jappix/lang/en/LC_MESSAGES/main.pot
+++ b/jappixmini/jappix/lang/en/LC_MESSAGES/main.pot
@@ -1132,7 +1132,7 @@ msgstr ""
msgid "The folder is writable, you can continue!"
msgstr ""
-msgid "Jappix offers you the possibility to manage your configuration, install new plugins or search for updates. That's why you must create an administrator account to access the manager."
+msgid "Jappix offers you the possibility to manage your configuration, install new addons or search for updates. That's why you must create an administrator account to access the manager."
msgstr ""
msgid "When Jappix will be installed, just click on the manager link on the home page to access it."
diff --git a/jappixmini/jappix/lang/eo/LC_MESSAGES/main.po b/jappixmini/jappix/lang/eo/LC_MESSAGES/main.po
index 346aa5e4..8926bdae 100644
--- a/jappixmini/jappix/lang/eo/LC_MESSAGES/main.po
+++ b/jappixmini/jappix/lang/eo/LC_MESSAGES/main.po
@@ -1038,7 +1038,7 @@ msgstr "Jappix devas esti kapabla skribi en ĉi tiu teko krei ĝia sub-adresaroj
msgid "The folder is writable, you can continue!"
msgstr "La dosierujo estas skribebla, vi povas daŭri!"
-msgid "Jappix offers you the possibility to manage your configuration, install new plugins or search for updates. That's why you must create an administrator account to access the manager."
+msgid "Jappix offers you the possibility to manage your configuration, install new addons or search for updates. That's why you must create an administrator account to access the manager."
msgstr "Jappix ebligas vin administri vian konfiguron, instali novajn kromaĵojn aŭ serĉi ĝisdatigojn. Tio estas kial vi devas krei administrantan konton por aliri la manaĝeron."
msgid "When Jappix will be installed, just click on the manager link on the home page to access it."
diff --git a/jappixmini/jappix/lang/es/LC_MESSAGES/main.po b/jappixmini/jappix/lang/es/LC_MESSAGES/main.po
index b9a57141..9716a39e 100644
--- a/jappixmini/jappix/lang/es/LC_MESSAGES/main.po
+++ b/jappixmini/jappix/lang/es/LC_MESSAGES/main.po
@@ -1038,8 +1038,8 @@ msgstr "Jappix debe ser capaz de escribir en esta carpeta para crear sus sub-dir
msgid "The folder is writable, you can continue!"
msgstr "La carpeta es escribible, ¡puedes continuar!"
-msgid "Jappix offers you the possibility to manage your configuration, install new plugins or search for updates. That's why you must create an administrator account to access the manager."
-msgstr "Jappix te ofrece la posibilidad de gestionar tu configuración, instalar nuevos plugins y buscar actualizaciones. Por eso tienes que crear una cuenta de administración para acceder al gerente."
+msgid "Jappix offers you the possibility to manage your configuration, install new addons or search for updates. That's why you must create an administrator account to access the manager."
+msgstr "Jappix te ofrece la posibilidad de gestionar tu configuración, instalar nuevos addons y buscar actualizaciones. Por eso tienes que crear una cuenta de administración para acceder al gerente."
msgid "When Jappix will be installed, just click on the manager link on the home page to access it."
msgstr "Cuando Jappix esté instalado, basta con hacer clic en el enlace de gerente en la página principal para acceder."
diff --git a/jappixmini/jappix/lang/et/LC_MESSAGES/main.po b/jappixmini/jappix/lang/et/LC_MESSAGES/main.po
index f91ace4c..b48715a9 100644
--- a/jappixmini/jappix/lang/et/LC_MESSAGES/main.po
+++ b/jappixmini/jappix/lang/et/LC_MESSAGES/main.po
@@ -1038,8 +1038,8 @@ msgstr "Jappixil peab olema siia ja alamkataloogidesse kirjutusõigus. Kui see p
msgid "The folder is writable, you can continue!"
msgstr "Kataloogil on kirjutusõigused, Te võite jätkata!"
-msgid "Jappix offers you the possibility to manage your configuration, install new plugins or search for updates. That's why you must create an administrator account to access the manager."
-msgstr "Jappix pakub võimalust hallata oma konfiguratsiooni, installida uusi pluginaid või otsida uuendusi. Sellepärast peate te tegema administraatori konto, et haldus lehele ligi pääseda."
+msgid "Jappix offers you the possibility to manage your configuration, install new addons or search for updates. That's why you must create an administrator account to access the manager."
+msgstr "Jappix pakub võimalust hallata oma konfiguratsiooni, installida uusi addonaid või otsida uuendusi. Sellepärast peate te tegema administraatori konto, et haldus lehele ligi pääseda."
msgid "When Jappix will be installed, just click on the manager link on the home page to access it."
msgstr "Kui Jappix on paigaldatud siis lihtsalt vajutage Haldaja lingile avalehel, et sellele ligi pääseda."
diff --git a/jappixmini/jappix/lang/fa/LC_MESSAGES/main.po b/jappixmini/jappix/lang/fa/LC_MESSAGES/main.po
index b6771020..ed3782ca 100644
--- a/jappixmini/jappix/lang/fa/LC_MESSAGES/main.po
+++ b/jappixmini/jappix/lang/fa/LC_MESSAGES/main.po
@@ -1038,7 +1038,7 @@ msgstr ""
msgid "The folder is writable, you can continue!"
msgstr "پوشه قابل ویرایش است. میتوانید ادامه دهید!"
-msgid "Jappix offers you the possibility to manage your configuration, install new plugins or search for updates. That's why you must create an administrator account to access the manager."
+msgid "Jappix offers you the possibility to manage your configuration, install new addons or search for updates. That's why you must create an administrator account to access the manager."
msgstr ""
msgid "When Jappix will be installed, just click on the manager link on the home page to access it."
diff --git a/jappixmini/jappix/lang/fr/LC_MESSAGES/main.po b/jappixmini/jappix/lang/fr/LC_MESSAGES/main.po
index 38cf556b..9ae141d3 100644
--- a/jappixmini/jappix/lang/fr/LC_MESSAGES/main.po
+++ b/jappixmini/jappix/lang/fr/LC_MESSAGES/main.po
@@ -1038,7 +1038,7 @@ msgstr "Jappix doit pouvoir écrire dans ce dossier pour y créer ses sous-répe
msgid "The folder is writable, you can continue!"
msgstr "Le dossier peut être écrit, vous pouvez continuer !"
-msgid "Jappix offers you the possibility to manage your configuration, install new plugins or search for updates. That's why you must create an administrator account to access the manager."
+msgid "Jappix offers you the possibility to manage your configuration, install new addons or search for updates. That's why you must create an administrator account to access the manager."
msgstr "Jappix vous offre la possibilité de gérer votre configuration, installer des nouveaux modules et rechercher des mises à jour. C'est pourquoi vous devez créer un compte administrateur pour accéder au gestionnaire."
msgid "When Jappix will be installed, just click on the manager link on the home page to access it."
diff --git a/jappixmini/jappix/lang/hu/LC_MESSAGES/main.po b/jappixmini/jappix/lang/hu/LC_MESSAGES/main.po
index 89e51577..1ab5c959 100644
--- a/jappixmini/jappix/lang/hu/LC_MESSAGES/main.po
+++ b/jappixmini/jappix/lang/hu/LC_MESSAGES/main.po
@@ -1038,7 +1038,7 @@ msgstr "A Jappix-nak tudnia kell írni ebbe a mappába, hogy létre tudjon hozni
msgid "The folder is writable, you can continue!"
msgstr "A mappa írható, már folytathatod!"
-msgid "Jappix offers you the possibility to manage your configuration, install new plugins or search for updates. That's why you must create an administrator account to access the manager."
+msgid "Jappix offers you the possibility to manage your configuration, install new addons or search for updates. That's why you must create an administrator account to access the manager."
msgstr "Jappix felajánlja a lehetőséget, hogy menedzseld a konfigurációd, telepíts új kiegészítőket, vagy keress frissítéseket. Ezért kell létrehoznod egy adminisztrátori fiókot, hogy hozzáférj ezekhez a beállításokhoz."
msgid "When Jappix will be installed, just click on the manager link on the home page to access it."
diff --git a/jappixmini/jappix/lang/id/LC_MESSAGES/main.po b/jappixmini/jappix/lang/id/LC_MESSAGES/main.po
index 5c7f5ae5..189a3c94 100644
--- a/jappixmini/jappix/lang/id/LC_MESSAGES/main.po
+++ b/jappixmini/jappix/lang/id/LC_MESSAGES/main.po
@@ -1038,8 +1038,8 @@ msgstr "Jappix harus mampu menulis dalam folder ini untuk membuat sub-direktori.
msgid "The folder is writable, you can continue!"
msgstr "Folder dapat ditulis, anda dapat melanjutkan!"
-msgid "Jappix offers you the possibility to manage your configuration, install new plugins or search for updates. That's why you must create an administrator account to access the manager."
-msgstr "Jappix menawarkan kemungkinan untuk mengelola konfigurasi anda, menginstal plugin baru atau mencari update. Itulah mengapa anda harus membuat account administrator untuk mengakses manajer."
+msgid "Jappix offers you the possibility to manage your configuration, install new addons or search for updates. That's why you must create an administrator account to access the manager."
+msgstr "Jappix menawarkan kemungkinan untuk mengelola konfigurasi anda, menginstal addon baru atau mencari update. Itulah mengapa anda harus membuat account administrator untuk mengakses manajer."
msgid "When Jappix will be installed, just click on the manager link on the home page to access it."
msgstr "Ketika Jappix akan diinstal, cukup klik pada link manajer di halaman rumah untuk mengaksesnya."
diff --git a/jappixmini/jappix/lang/it/LC_MESSAGES/main.po b/jappixmini/jappix/lang/it/LC_MESSAGES/main.po
index 092cc8fb..a1726a54 100644
--- a/jappixmini/jappix/lang/it/LC_MESSAGES/main.po
+++ b/jappixmini/jappix/lang/it/LC_MESSAGES/main.po
@@ -1038,8 +1038,8 @@ msgstr "Jappix deve avere le autorizzazioni adeguate per scrivere in questa cart
msgid "The folder is writable, you can continue!"
msgstr "La directory è scrivibile, puoi continuare!"
-msgid "Jappix offers you the possibility to manage your configuration, install new plugins or search for updates. That's why you must create an administrator account to access the manager."
-msgstr "Jappix ti offre la possibilità controllare la configurazione di Jappix, installare nuove plugins e cercare aggiornamenti. Ecco perchè devi creare un account amministrativo per accedere all'Amministrazione."
+msgid "Jappix offers you the possibility to manage your configuration, install new addons or search for updates. That's why you must create an administrator account to access the manager."
+msgstr "Jappix ti offre la possibilità controllare la configurazione di Jappix, installare nuove addons e cercare aggiornamenti. Ecco perchè devi creare un account amministrativo per accedere all'Amministrazione."
msgid "When Jappix will be installed, just click on the manager link on the home page to access it."
msgstr "Quando Jappix sarà installato, semplicemente clicca sul link “Amministrazione” nella home page per accedervi."
diff --git a/jappixmini/jappix/lang/ja/LC_MESSAGES/main.po b/jappixmini/jappix/lang/ja/LC_MESSAGES/main.po
index bc1751f4..b296135f 100644
--- a/jappixmini/jappix/lang/ja/LC_MESSAGES/main.po
+++ b/jappixmini/jappix/lang/ja/LC_MESSAGES/main.po
@@ -1038,7 +1038,7 @@ msgstr "サブフォルダを書き込む権限が必要です。%1sに権限を
msgid "The folder is writable, you can continue!"
msgstr "フォルダは書き込み可能です。続けてください。"
-msgid "Jappix offers you the possibility to manage your configuration, install new plugins or search for updates. That's why you must create an administrator account to access the manager."
+msgid "Jappix offers you the possibility to manage your configuration, install new addons or search for updates. That's why you must create an administrator account to access the manager."
msgstr "Jappixは、設定ファイル、新しいプラグイン、アップデートを提供できます。管理者権限でのアクセスが必要です。"
msgid "When Jappix will be installed, just click on the manager link on the home page to access it."
diff --git a/jappixmini/jappix/lang/nl/LC_MESSAGES/main.po b/jappixmini/jappix/lang/nl/LC_MESSAGES/main.po
index e85c315c..9ce3a856 100644
--- a/jappixmini/jappix/lang/nl/LC_MESSAGES/main.po
+++ b/jappixmini/jappix/lang/nl/LC_MESSAGES/main.po
@@ -1038,7 +1038,7 @@ msgstr ""
msgid "The folder is writable, you can continue!"
msgstr ""
-msgid "Jappix offers you the possibility to manage your configuration, install new plugins or search for updates. That's why you must create an administrator account to access the manager."
+msgid "Jappix offers you the possibility to manage your configuration, install new addons or search for updates. That's why you must create an administrator account to access the manager."
msgstr ""
msgid "When Jappix will be installed, just click on the manager link on the home page to access it."
diff --git a/jappixmini/jappix/lang/oc/LC_MESSAGES/main.po b/jappixmini/jappix/lang/oc/LC_MESSAGES/main.po
index 1f2d6287..f74d4361 100644
--- a/jappixmini/jappix/lang/oc/LC_MESSAGES/main.po
+++ b/jappixmini/jappix/lang/oc/LC_MESSAGES/main.po
@@ -1038,7 +1038,7 @@ msgstr ""
msgid "The folder is writable, you can continue!"
msgstr ""
-msgid "Jappix offers you the possibility to manage your configuration, install new plugins or search for updates. That's why you must create an administrator account to access the manager."
+msgid "Jappix offers you the possibility to manage your configuration, install new addons or search for updates. That's why you must create an administrator account to access the manager."
msgstr ""
msgid "When Jappix will be installed, just click on the manager link on the home page to access it."
diff --git a/jappixmini/jappix/lang/pl/LC_MESSAGES/main.po b/jappixmini/jappix/lang/pl/LC_MESSAGES/main.po
index 58bdb62f..f0fa0316 100644
--- a/jappixmini/jappix/lang/pl/LC_MESSAGES/main.po
+++ b/jappixmini/jappix/lang/pl/LC_MESSAGES/main.po
@@ -1038,8 +1038,8 @@ msgstr "Jappix musi mieć możliwość zapisu w tym folderze aby móc stworzyć
msgid "The folder is writable, you can continue!"
msgstr "Można zapisywać w folderze, możesz kontynuować!"
-msgid "Jappix offers you the possibility to manage your configuration, install new plugins or search for updates. That's why you must create an administrator account to access the manager."
-msgstr "Jappix oferuje Ci możliwość zarządzania konfiguracją, instalacji nowych pluginów lub sprawdzania aktualizacji. To właśnie dlatego musisz stworzyć konto administratora."
+msgid "Jappix offers you the possibility to manage your configuration, install new addons or search for updates. That's why you must create an administrator account to access the manager."
+msgstr "Jappix oferuje Ci możliwość zarządzania konfiguracją, instalacji nowych addonów lub sprawdzania aktualizacji. To właśnie dlatego musisz stworzyć konto administratora."
msgid "When Jappix will be installed, just click on the manager link on the home page to access it."
msgstr "Kiedy Jappix będzie już zainstalowany, kliknij w link Menedżer na stronie głównej."
diff --git a/jappixmini/jappix/lang/pt-BR/LC_MESSAGES/main.po b/jappixmini/jappix/lang/pt-BR/LC_MESSAGES/main.po
index deef5ba8..3541dda4 100644
--- a/jappixmini/jappix/lang/pt-BR/LC_MESSAGES/main.po
+++ b/jappixmini/jappix/lang/pt-BR/LC_MESSAGES/main.po
@@ -1038,8 +1038,8 @@ msgstr "Jappix precisa permissão para escrita nessa pasta. Se não, você preci
msgid "The folder is writable, you can continue!"
msgstr "Esta pasta possui permissão de escrita, pode continuar!"
-msgid "Jappix offers you the possibility to manage your configuration, install new plugins or search for updates. That's why you must create an administrator account to access the manager."
-msgstr "Jappix oferece a você a possibilidade de gerenciar suas configurações, instalar novos plugins ou procurar por atulizações. Por isso você deve criar um usuário de administração para acessar o gerenciador."
+msgid "Jappix offers you the possibility to manage your configuration, install new addons or search for updates. That's why you must create an administrator account to access the manager."
+msgstr "Jappix oferece a você a possibilidade de gerenciar suas configurações, instalar novos addons ou procurar por atulizações. Por isso você deve criar um usuário de administração para acessar o gerenciador."
msgid "When Jappix will be installed, just click on the manager link on the home page to access it."
msgstr "Quando o Jappix for instalado, clique no link do gerenciador, em sua página inicial, para acessá-lo."
diff --git a/jappixmini/jappix/lang/ru/LC_MESSAGES/main.po b/jappixmini/jappix/lang/ru/LC_MESSAGES/main.po
index 88b4a2d0..8ca7f650 100644
--- a/jappixmini/jappix/lang/ru/LC_MESSAGES/main.po
+++ b/jappixmini/jappix/lang/ru/LC_MESSAGES/main.po
@@ -1038,7 +1038,7 @@ msgstr "Jappix должен иметь возможность записыват
msgid "The folder is writable, you can continue!"
msgstr "Папка доступна для записи, можно продолжать!"
-msgid "Jappix offers you the possibility to manage your configuration, install new plugins or search for updates. That's why you must create an administrator account to access the manager."
+msgid "Jappix offers you the possibility to manage your configuration, install new addons or search for updates. That's why you must create an administrator account to access the manager."
msgstr "Jabbix позволяет вам управлять конфигурацией, устанавливать новые плагины или проверять обновления. Для доступа к панели управления требуется создать учетную запись администратора."
msgid "When Jappix will be installed, just click on the manager link on the home page to access it."
diff --git a/jappixmini/jappix/lang/sk/LC_MESSAGES/main.po b/jappixmini/jappix/lang/sk/LC_MESSAGES/main.po
index d9c24be2..846e639b 100644
--- a/jappixmini/jappix/lang/sk/LC_MESSAGES/main.po
+++ b/jappixmini/jappix/lang/sk/LC_MESSAGES/main.po
@@ -1038,8 +1038,8 @@ msgstr "Jappix musí mať právo zapisovať v tejto zložke pre vytvorenie svoji
msgid "The folder is writable, you can continue!"
msgstr "Do zložky je možné zapisovať, môžete pokračovať!"
-msgid "Jappix offers you the possibility to manage your configuration, install new plugins or search for updates. That's why you must create an administrator account to access the manager."
-msgstr "Jappix vám ponúka možnosť spravovať vaše konfiguráciu, inštalovať nové pluginy alebo vyhľadať aktualizácie. Preto si musíte vytvoriť administračný účet pre prístup k Správcovi."
+msgid "Jappix offers you the possibility to manage your configuration, install new addons or search for updates. That's why you must create an administrator account to access the manager."
+msgstr "Jappix vám ponúka možnosť spravovať vaše konfiguráciu, inštalovať nové addony alebo vyhľadať aktualizácie. Preto si musíte vytvoriť administračný účet pre prístup k Správcovi."
msgid "When Jappix will be installed, just click on the manager link on the home page to access it."
msgstr "Po nainštalovaní Jappix, stačí kliknúť na odkaz Správca na domovskej stránke pre prístup."
diff --git a/jappixmini/jappix/lang/sv/LC_MESSAGES/main.po b/jappixmini/jappix/lang/sv/LC_MESSAGES/main.po
index d7910185..255b86f5 100644
--- a/jappixmini/jappix/lang/sv/LC_MESSAGES/main.po
+++ b/jappixmini/jappix/lang/sv/LC_MESSAGES/main.po
@@ -1038,7 +1038,7 @@ msgstr ""
msgid "The folder is writable, you can continue!"
msgstr "Mappen är skrivbar -- du kan nu fortsätta!"
-msgid "Jappix offers you the possibility to manage your configuration, install new plugins or search for updates. That's why you must create an administrator account to access the manager."
+msgid "Jappix offers you the possibility to manage your configuration, install new addons or search for updates. That's why you must create an administrator account to access the manager."
msgstr ""
msgid "When Jappix will be installed, just click on the manager link on the home page to access it."
diff --git a/jappixmini/jappix/lang/uk/LC_MESSAGES/main.po b/jappixmini/jappix/lang/uk/LC_MESSAGES/main.po
index e5a39e0b..79e8f2ba 100644
--- a/jappixmini/jappix/lang/uk/LC_MESSAGES/main.po
+++ b/jappixmini/jappix/lang/uk/LC_MESSAGES/main.po
@@ -1038,7 +1038,7 @@ msgstr ""
msgid "The folder is writable, you can continue!"
msgstr ""
-msgid "Jappix offers you the possibility to manage your configuration, install new plugins or search for updates. That's why you must create an administrator account to access the manager."
+msgid "Jappix offers you the possibility to manage your configuration, install new addons or search for updates. That's why you must create an administrator account to access the manager."
msgstr ""
msgid "When Jappix will be installed, just click on the manager link on the home page to access it."
diff --git a/jappixmini/jappix/lang/zh/LC_MESSAGES/main.po b/jappixmini/jappix/lang/zh/LC_MESSAGES/main.po
index 6ae04497..33c1f821 100644
--- a/jappixmini/jappix/lang/zh/LC_MESSAGES/main.po
+++ b/jappixmini/jappix/lang/zh/LC_MESSAGES/main.po
@@ -1038,7 +1038,7 @@ msgstr ""
msgid "The folder is writable, you can continue!"
msgstr "資料夾可寫入,你可以繼續!"
-msgid "Jappix offers you the possibility to manage your configuration, install new plugins or search for updates. That's why you must create an administrator account to access the manager."
+msgid "Jappix offers you the possibility to manage your configuration, install new addons or search for updates. That's why you must create an administrator account to access the manager."
msgstr ""
msgid "When Jappix will be installed, just click on the manager link on the home page to access it."
diff --git a/jappixmini/jappix/php/install.php b/jappixmini/jappix/php/install.php
index ae0ff70d..9cce2713 100644
--- a/jappixmini/jappix/php/install.php
+++ b/jappixmini/jappix/php/install.php
@@ -163,7 +163,7 @@ else
else if($step == 3) { ?>
-
+
diff --git a/jappixmini/jappixmini.php b/jappixmini/jappixmini.php
index f42155fc..dc40840a 100644
--- a/jappixmini/jappixmini.php
+++ b/jappixmini/jappixmini.php
@@ -63,22 +63,23 @@
*/
use Friendica\App;
+use Friendica\Core\Addon;
use Friendica\Core\Config;
use Friendica\Core\PConfig;
use Friendica\Model\User;
function jappixmini_install()
{
- register_hook('plugin_settings', 'addon/jappixmini/jappixmini.php', 'jappixmini_settings');
- register_hook('plugin_settings_post', 'addon/jappixmini/jappixmini.php', 'jappixmini_settings_post');
+ Addon::registerHook('addon_settings', 'addon/jappixmini/jappixmini.php', 'jappixmini_settings');
+ Addon::registerHook('addon_settings_post', 'addon/jappixmini/jappixmini.php', 'jappixmini_settings_post');
- register_hook('page_end', 'addon/jappixmini/jappixmini.php', 'jappixmini_script');
- register_hook('authenticate', 'addon/jappixmini/jappixmini.php', 'jappixmini_login');
+ Addon::registerHook('page_end', 'addon/jappixmini/jappixmini.php', 'jappixmini_script');
+ Addon::registerHook('authenticate', 'addon/jappixmini/jappixmini.php', 'jappixmini_login');
- register_hook('cron', 'addon/jappixmini/jappixmini.php', 'jappixmini_cron');
+ Addon::registerHook('cron', 'addon/jappixmini/jappixmini.php', 'jappixmini_cron');
// Jappix source download as required by AGPL
- register_hook('about_hook', 'addon/jappixmini/jappixmini.php', 'jappixmini_download_source');
+ Addon::registerHook('about_hook', 'addon/jappixmini/jappixmini.php', 'jappixmini_download_source');
// set standard configuration
$info_text = Config::get("jappixmini", "infotext");
@@ -103,18 +104,18 @@ function jappixmini_install()
function jappixmini_uninstall()
{
- unregister_hook('plugin_settings', 'addon/jappixmini/jappixmini.php', 'jappixmini_settings');
- unregister_hook('plugin_settings_post', 'addon/jappixmini/jappixmini.php', 'jappixmini_settings_post');
+ Addon::unregisterHook('addon_settings', 'addon/jappixmini/jappixmini.php', 'jappixmini_settings');
+ Addon::unregisterHook('addon_settings_post', 'addon/jappixmini/jappixmini.php', 'jappixmini_settings_post');
- unregister_hook('page_end', 'addon/jappixmini/jappixmini.php', 'jappixmini_script');
- unregister_hook('authenticate', 'addon/jappixmini/jappixmini.php', 'jappixmini_login');
+ Addon::unregisterHook('page_end', 'addon/jappixmini/jappixmini.php', 'jappixmini_script');
+ Addon::unregisterHook('authenticate', 'addon/jappixmini/jappixmini.php', 'jappixmini_login');
- unregister_hook('cron', 'addon/jappixmini/jappixmini.php', 'jappixmini_cron');
+ Addon::unregisterHook('cron', 'addon/jappixmini/jappixmini.php', 'jappixmini_cron');
- unregister_hook('about_hook', 'addon/jappixmini/jappixmini.php', 'jappixmini_download_source');
+ Addon::unregisterHook('about_hook', 'addon/jappixmini/jappixmini.php', 'jappixmini_download_source');
}
-function jappixmini_plugin_admin(App $a, &$o)
+function jappixmini_addon_admin(App $a, &$o)
{
// display instructions and warnings on addon settings page for admin
if (!file_exists("addon/jappixmini.tgz")) {
@@ -158,7 +159,7 @@ function jappixmini_plugin_admin(App $a, &$o)
$o .= '';
}
-function jappixmini_plugin_admin_post(App $a)
+function jappixmini_addon_admin_post(App $a)
{
// set info text
$submit = $_REQUEST['jappixmini-admin-settings'];
@@ -229,7 +230,7 @@ function jappixmini_init()
}
- // do not return an address if user deactivated plugin
+ // do not return an address if user deactivated addon
$activated = PConfig::get($uid, 'jappixmini', 'activate');
if (!$activated) {
killme();
diff --git a/jappixmini/lang/it/messages.po b/jappixmini/lang/it/messages.po
index 7e4eb1f6..5633930f 100644
--- a/jappixmini/lang/it/messages.po
+++ b/jappixmini/lang/it/messages.po
@@ -21,11 +21,11 @@ msgstr ""
#: jappixmini.php:266
msgid "Jappix Mini addon settings"
-msgstr "Impostazioni plugin Jappix Mini"
+msgstr "ImpostazioniaddonJappix Mini"
#: jappixmini.php:268
msgid "Activate addon"
-msgstr "Abilita plugin"
+msgstr "Abilita addon"
#: jappixmini.php:271
msgid ""
diff --git a/jappixmini/lang/it/strings.php b/jappixmini/lang/it/strings.php
index 51f6b794..892e1c72 100644
--- a/jappixmini/lang/it/strings.php
+++ b/jappixmini/lang/it/strings.php
@@ -5,8 +5,8 @@ function string_plural_select_it($n){
return ($n != 1);;
}}
;
-$a->strings["Jappix Mini addon settings"] = "Impostazioni plugin Jappix Mini";
-$a->strings["Activate addon"] = "Abilita plugin";
+$a->strings["Jappix Mini addon settings"] = "Impostazioni addon Jappix Mini";
+$a->strings["Activate addon"] = "Abilita addon";
$a->strings["Do not insert the Jappixmini Chat-Widget into the webinterface"] = "Non inserire Jappixmini nell'intrerfaccia web";
$a->strings["Jabber username"] = "Nome utente Jabber";
$a->strings["Jabber server"] = "Server Jabber";
diff --git a/js_upload/file-uploader/readme.md b/js_upload/file-uploader/readme.md
index c107bf12..4c30eaa6 100644
--- a/js_upload/file-uploader/readme.md
+++ b/js_upload/file-uploader/readme.md
@@ -1,6 +1,6 @@
[donation_link]: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=3PMY37SL9L888&lc=US&item_name=JavaScript%20file%20uploader¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted
-This plugin uses XHR for uploading multiple files with progress-bar in FF3.6+, Safari4+,
+This addon uses XHR for uploading multiple files with progress-bar in FF3.6+, Safari4+,
Chrome and falls back to hidden iframe based upload in other browsers,
providing good user experience everywhere.
@@ -17,13 +17,13 @@ providing good user experience everywhere.
* tested in IE7,8; Firefox 3,3.6,4; Safari4,5; Chrome; Opera10.60;
### License ###
-This plugin is open sourced under GNU GPL 2 or later.
+This addon is open sourced under GNU GPL 2 or later.
If this license doesn't suit you mail me at andrew (at) valums.com.
-Please [donate][donation_link] if you are willing to support the further development of file upload plugin.
+Please [donate][donation_link] if you are willing to support the further development of file upload addon.
### Known Issues ###
-Plugin breaks back button functionality in Opera.
+Addon breaks back button functionality in Opera.
### Getting started ###
The fileuploader.js contains two classes that are meant to be used directly.
diff --git a/js_upload/js_upload.php b/js_upload/js_upload.php
index cc3778cd..15393e8c 100644
--- a/js_upload/js_upload.php
+++ b/js_upload/js_upload.php
@@ -15,23 +15,23 @@
* Module Author: Chris Case
*
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\Config;
function js_upload_install() {
- register_hook('photo_upload_form', 'addon/js_upload/js_upload.php', 'js_upload_form');
- register_hook('photo_post_init', 'addon/js_upload/js_upload.php', 'js_upload_post_init');
- register_hook('photo_post_file', 'addon/js_upload/js_upload.php', 'js_upload_post_file');
- register_hook('photo_post_end', 'addon/js_upload/js_upload.php', 'js_upload_post_end');
+ Addon::registerHook('photo_upload_form', 'addon/js_upload/js_upload.php', 'js_upload_form');
+ Addon::registerHook('photo_post_init', 'addon/js_upload/js_upload.php', 'js_upload_post_init');
+ Addon::registerHook('photo_post_file', 'addon/js_upload/js_upload.php', 'js_upload_post_file');
+ Addon::registerHook('photo_post_end', 'addon/js_upload/js_upload.php', 'js_upload_post_end');
}
function js_upload_uninstall() {
- unregister_hook('photo_upload_form', 'addon/js_upload/js_upload.php', 'js_upload_form');
- unregister_hook('photo_post_init', 'addon/js_upload/js_upload.php', 'js_upload_post_init');
- unregister_hook('photo_post_file', 'addon/js_upload/js_upload.php', 'js_upload_post_file');
- unregister_hook('photo_post_end', 'addon/js_upload/js_upload.php', 'js_upload_post_end');
+ Addon::unregisterHook('photo_upload_form', 'addon/js_upload/js_upload.php', 'js_upload_form');
+ Addon::unregisterHook('photo_post_init', 'addon/js_upload/js_upload.php', 'js_upload_post_init');
+ Addon::unregisterHook('photo_post_file', 'addon/js_upload/js_upload.php', 'js_upload_post_file');
+ Addon::unregisterHook('photo_post_end', 'addon/js_upload/js_upload.php', 'js_upload_post_end');
}
diff --git a/krynn/krynn.php b/krynn/krynn.php
index 17e7d2b4..6d47bc5f 100644
--- a/krynn/krynn.php
+++ b/krynn/krynn.php
@@ -9,30 +9,30 @@
*
*"My body was my sacrifice... for my magic. This damage is permanent." - Raistlin Majere
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\PConfig;
function krynn_install() {
/**
*
- * Our demo plugin will attach in three places.
+ * Our demo addon will attach in three places.
* The first is just prior to storing a local post.
*
*/
- register_hook('post_local', 'addon/krynn/krynn.php', 'krynn_post_hook');
+ Addon::registerHook('post_local', 'addon/krynn/krynn.php', 'krynn_post_hook');
/**
*
- * Then we'll attach into the plugin settings page, and also the
+ * Then we'll attach into the addon settings page, and also the
* settings post hook so that we can create and update
* user preferences.
*
*/
- register_hook('plugin_settings', 'addon/krynn/krynn.php', 'krynn_settings');
- register_hook('plugin_settings_post', 'addon/krynn/krynn.php', 'krynn_settings_post');
+ Addon::registerHook('addon_settings', 'addon/krynn/krynn.php', 'krynn_settings');
+ Addon::registerHook('addon_settings_post', 'addon/krynn/krynn.php', 'krynn_settings_post');
logger("installed krynn");
}
@@ -48,9 +48,9 @@ function krynn_uninstall() {
*
*/
- unregister_hook('post_local', 'addon/krynn/krynn.php', 'krynn_post_hook');
- unregister_hook('plugin_settings', 'addon/krynn/krynn.php', 'krynn_settings');
- unregister_hook('plugin_settings_post', 'addon/krynn/krynn.php', 'krynn_settings_post');
+ Addon::unregisterHook('post_local', 'addon/krynn/krynn.php', 'krynn_post_hook');
+ Addon::unregisterHook('addon_settings', 'addon/krynn/krynn.php', 'krynn_settings');
+ Addon::unregisterHook('addon_settings_post', 'addon/krynn/krynn.php', 'krynn_settings_post');
logger("removed krynn");
@@ -65,7 +65,7 @@ function krynn_post_hook($a, &$item) {
* An item was posted on the local system.
* We are going to look for specific items:
* - A status post by a profile owner
- * - The profile owner must have allowed our plugin
+ * - The profile owner must have allowed our addon
*
*/
@@ -126,7 +126,7 @@ function krynn_settings_post($a,$post) {
/**
*
- * Called from the Plugin Setting form.
+ * Called from the addon Setting form.
* Add our own settings info to the page.
*
*/
@@ -162,7 +162,7 @@ function krynn_settings(&$a,&$s) {
$s .= '
';
$s .= '
' . t('Krynn Settings') . '
';
$s .= '
';
- $s .= '';
+ $s .= '';
$s .= '';
$s .= '
';
/* provide a submit button */
diff --git a/krynn/lang/C/messages.po b/krynn/lang/C/messages.po
index 0831b915..63255c9f 100644
--- a/krynn/lang/C/messages.po
+++ b/krynn/lang/C/messages.po
@@ -22,7 +22,7 @@ msgid "Krynn Settings"
msgstr ""
#: krynn.php:152
-msgid "Enable Krynn Plugin"
+msgid "Enable Krynn Addon"
msgstr ""
#: krynn.php:158
diff --git a/krynn/lang/ca/strings.php b/krynn/lang/ca/strings.php
index ec7bf803..d5e09e7e 100644
--- a/krynn/lang/ca/strings.php
+++ b/krynn/lang/ca/strings.php
@@ -1,5 +1,5 @@
strings["Krynn Settings"] = "Ajustos de Krynn";
-$a->strings["Enable Krynn Plugin"] = "Activa Plugin de Krynn";
+$a->strings["Enable Krynn Addon"] = "Activa Addon de Krynn";
$a->strings["Submit"] = "Enviar";
diff --git a/krynn/lang/cs/messages.po b/krynn/lang/cs/messages.po
index 69e803e3..abb6d515 100644
--- a/krynn/lang/cs/messages.po
+++ b/krynn/lang/cs/messages.po
@@ -24,8 +24,8 @@ msgid "Krynn Settings"
msgstr "Krynn Nastavení"
#: krynn.php:152
-msgid "Enable Krynn Plugin"
-msgstr "Povolit Krynn plugin"
+msgid "Enable Krynn Addon"
+msgstr "Povolit Krynn addon"
#: krynn.php:158
msgid "Submit"
diff --git a/krynn/lang/cs/strings.php b/krynn/lang/cs/strings.php
index e725ffc3..76de5f7f 100644
--- a/krynn/lang/cs/strings.php
+++ b/krynn/lang/cs/strings.php
@@ -6,5 +6,5 @@ function string_plural_select_cs($n){
}}
;
$a->strings["Krynn Settings"] = "Krynn Nastavení";
-$a->strings["Enable Krynn Plugin"] = "Povolit Krynn plugin";
+$a->strings["Enable Krynn Addon"] = "Povolit Krynn addon";
$a->strings["Submit"] = "Odeslat";
diff --git a/krynn/lang/de/messages.po b/krynn/lang/de/messages.po
index 12dceb31..7d3e6bbd 100644
--- a/krynn/lang/de/messages.po
+++ b/krynn/lang/de/messages.po
@@ -25,8 +25,8 @@ msgid "Krynn Settings"
msgstr "Planeten Einstellungen"
#: Krynn.php:152
-msgid "Enable Krynn Plugin"
-msgstr "Planeten-Plugin aktivieren"
+msgid "Enable Krynn Addon"
+msgstr "Planeten-Addon aktivieren"
#: Krynn.php:158
msgid "Submit"
diff --git a/krynn/lang/de/strings.php b/krynn/lang/de/strings.php
index 74b5e9f9..d8a54083 100644
--- a/krynn/lang/de/strings.php
+++ b/krynn/lang/de/strings.php
@@ -6,5 +6,5 @@ function string_plural_select_de($n){
}}
;
$a->strings["Krynn Settings"] = "Krynn Einstellungen";
-$a->strings["Enable Krynn Plugin"] = "Krynn-Plugin aktivieren";
+$a->strings["Enable Krynn Addon"] = "Krynn-Addon aktivieren";
$a->strings["Submit"] = "Senden";
diff --git a/krynn/lang/eo/strings.php b/krynn/lang/eo/strings.php
index 8b8dd24a..eae02345 100644
--- a/krynn/lang/eo/strings.php
+++ b/krynn/lang/eo/strings.php
@@ -1,5 +1,5 @@
strings["Krynn Settings"] = "Agordo pri Krynn";
-$a->strings["Enable Krynn Plugin"] = "Ŝalti la Krynn kromprogamon";
+$a->strings["Enable Krynn Addon"] = "Ŝalti la Krynn kromprogamon";
$a->strings["Submit"] = "Sendi";
diff --git a/krynn/lang/es/messages.po b/krynn/lang/es/messages.po
index e2015a37..a8690ef1 100644
--- a/krynn/lang/es/messages.po
+++ b/krynn/lang/es/messages.po
@@ -24,8 +24,8 @@ msgid "Krynn Settings"
msgstr "Ajustes de Krynn"
#: krynn.php:152
-msgid "Enable Krynn Plugin"
-msgstr "Habilitar Plugin de Krynn"
+msgid "Enable Krynn Addon"
+msgstr "Habilitar Addon de Krynn"
#: krynn.php:158
msgid "Submit"
diff --git a/krynn/lang/es/strings.php b/krynn/lang/es/strings.php
index 77df4d4e..6bb39518 100644
--- a/krynn/lang/es/strings.php
+++ b/krynn/lang/es/strings.php
@@ -6,5 +6,5 @@ function string_plural_select_es($n){
}}
;
$a->strings["Krynn Settings"] = "Ajustes de Krynn";
-$a->strings["Enable Krynn Plugin"] = "Habilitar Plugin de Krynn";
+$a->strings["Enable Krynn Addon"] = "Habilitar Addon de Krynn";
$a->strings["Submit"] = "Enviar";
diff --git a/krynn/lang/fr/strings.php b/krynn/lang/fr/strings.php
index 601f9502..bcd3430b 100644
--- a/krynn/lang/fr/strings.php
+++ b/krynn/lang/fr/strings.php
@@ -1,5 +1,5 @@
strings["Krynn Settings"] = "Réglages des Krynn";
-$a->strings["Enable Krynn Plugin"] = "Activer Krynn";
+$a->strings["Enable Krynn Addon"] = "Activer Krynn";
$a->strings["Submit"] = "Envoyer";
diff --git a/krynn/lang/is/strings.php b/krynn/lang/is/strings.php
index 976a601e..11fd5b57 100644
--- a/krynn/lang/is/strings.php
+++ b/krynn/lang/is/strings.php
@@ -1,5 +1,5 @@
strings["Krynn Settings"] = "";
-$a->strings["Enable Krynn Plugin"] = "";
+$a->strings["Enable Krynn Addon"] = "";
$a->strings["Submit"] = "Senda inn";
diff --git a/krynn/lang/it/messages.po b/krynn/lang/it/messages.po
index 507fac54..4d70b47b 100644
--- a/krynn/lang/it/messages.po
+++ b/krynn/lang/it/messages.po
@@ -24,8 +24,8 @@ msgid "Krynn Settings"
msgstr "Impostazioni Krynn"
#: krynn.php:152
-msgid "Enable Krynn Plugin"
-msgstr "Abilita plugin Krynn"
+msgid "Enable Krynn Addon"
+msgstr "AbilitaaddonKrynn"
#: krynn.php:158
msgid "Submit"
diff --git a/krynn/lang/it/strings.php b/krynn/lang/it/strings.php
index 7c9f5f11..753fe7a7 100644
--- a/krynn/lang/it/strings.php
+++ b/krynn/lang/it/strings.php
@@ -6,5 +6,5 @@ function string_plural_select_it($n){
}}
;
$a->strings["Krynn Settings"] = "Impostazioni Krynn";
-$a->strings["Enable Krynn Plugin"] = "Abilita plugin Krynn";
+$a->strings["Enable Krynn Addon"] = "Abilita addon Krynn";
$a->strings["Submit"] = "Invia";
diff --git a/krynn/lang/nb-no/strings.php b/krynn/lang/nb-no/strings.php
index 06ad32cb..29bffb9a 100644
--- a/krynn/lang/nb-no/strings.php
+++ b/krynn/lang/nb-no/strings.php
@@ -1,5 +1,5 @@
strings["Krynn Settings"] = "";
-$a->strings["Enable Krynn Plugin"] = "";
+$a->strings["Enable Krynn Addon"] = "";
$a->strings["Submit"] = "Lagre";
diff --git a/krynn/lang/pl/strings.php b/krynn/lang/pl/strings.php
index 239001b1..d77ed6c1 100644
--- a/krynn/lang/pl/strings.php
+++ b/krynn/lang/pl/strings.php
@@ -1,5 +1,5 @@
strings["Krynn Settings"] = "";
-$a->strings["Enable Krynn Plugin"] = "";
+$a->strings["Enable Krynn Addon"] = "";
$a->strings["Submit"] = "Potwierdź";
diff --git a/krynn/lang/pt-br/strings.php b/krynn/lang/pt-br/strings.php
index a3b2d663..0b882a71 100644
--- a/krynn/lang/pt-br/strings.php
+++ b/krynn/lang/pt-br/strings.php
@@ -1,5 +1,5 @@
strings["Krynn Settings"] = "Configuração dos Krynn";
-$a->strings["Enable Krynn Plugin"] = "Habilita configuração dos Krynn";
+$a->strings["Enable Krynn Addon"] = "Habilita configuração dos Krynn";
$a->strings["Submit"] = "Enviar";
diff --git a/krynn/lang/ro/messages.po b/krynn/lang/ro/messages.po
index 2e629e1c..8f945315 100644
--- a/krynn/lang/ro/messages.po
+++ b/krynn/lang/ro/messages.po
@@ -24,7 +24,7 @@ msgid "Krynn Settings"
msgstr "Configurări Krynn"
#: krynn.php:152
-msgid "Enable Krynn Plugin"
+msgid "Enable Krynn Addon"
msgstr "Activare Modul Krynn"
#: krynn.php:158
diff --git a/krynn/lang/ro/strings.php b/krynn/lang/ro/strings.php
index 88a84ee8..f6c6f53d 100644
--- a/krynn/lang/ro/strings.php
+++ b/krynn/lang/ro/strings.php
@@ -6,5 +6,5 @@ function string_plural_select_ro($n){
}}
;
$a->strings["Krynn Settings"] = "Configurări Krynn";
-$a->strings["Enable Krynn Plugin"] = "Activare Modul Krynn";
+$a->strings["Enable Krynn Addon"] = "Activare Modul Krynn";
$a->strings["Submit"] = "Trimite";
diff --git a/krynn/lang/ru/strings.php b/krynn/lang/ru/strings.php
index 8fd1069b..88ba6719 100644
--- a/krynn/lang/ru/strings.php
+++ b/krynn/lang/ru/strings.php
@@ -1,5 +1,5 @@
strings["Krynn Settings"] = "";
-$a->strings["Enable Krynn Plugin"] = "";
+$a->strings["Enable Krynn Addon"] = "";
$a->strings["Submit"] = "Подтвердить";
diff --git a/krynn/lang/zh-cn/strings.php b/krynn/lang/zh-cn/strings.php
index dcbfbeb7..5564f1f4 100644
--- a/krynn/lang/zh-cn/strings.php
+++ b/krynn/lang/zh-cn/strings.php
@@ -1,5 +1,5 @@
strings["Krynn Settings"] = "行星设置";
-$a->strings["Enable Krynn Plugin"] = "使行星插件可用";
+$a->strings["Enable Krynn Addon"] = "使行星插件可用";
$a->strings["Submit"] = "提交";
diff --git a/langfilter/lang/it/messages.po b/langfilter/lang/it/messages.po
index 6eded71f..e446717a 100644
--- a/langfilter/lang/it/messages.po
+++ b/langfilter/lang/it/messages.po
@@ -30,7 +30,7 @@ msgid ""
"match any language spoken by you (see below) the posting will be collapsed. "
"Remember detecting the language is not perfect, especially with short "
"postings."
-msgstr "Questo plugin prova ad identificare la lingua usata in un messaggio. Se questa non corrisponde a una delle lingue da te parlata (vedi sotto), il messaggio verrà nascosto. Ricorda che la rilevazione della lingua non è perfetta, specie con i messaggi corti."
+msgstr "Questo addon prova ad identificare la lingua usata in un messaggio. Se questa non corrisponde a una delle lingue da te parlata (vedi sotto), il messaggio verrà nascosto. Ricorda che la rilevazione della lingua non è perfetta, specie con i messaggi corti."
#: langfilter.php:46
msgid "Use the language filter"
diff --git a/langfilter/lang/it/strings.php b/langfilter/lang/it/strings.php
index ecb7b8d3..b94ab812 100644
--- a/langfilter/lang/it/strings.php
+++ b/langfilter/lang/it/strings.php
@@ -6,7 +6,7 @@ function string_plural_select_it($n){
}}
;
$a->strings["Language Filter"] = "Filtro Lingua";
-$a->strings["This addon tries to identify the language of a postings. If it does not match any language spoken by you (see below) the posting will be collapsed. Remember detecting the language is not perfect, especially with short postings."] = "Questo plugin prova ad identificare la lingua usata in un messaggio. Se questa non corrisponde a una delle lingue da te parlata (vedi sotto), il messaggio verrà nascosto. Ricorda che la rilevazione della lingua non è perfetta, specie con i messaggi corti.";
+$a->strings["This addon tries to identify the language of a postings. If it does not match any language spoken by you (see below) the posting will be collapsed. Remember detecting the language is not perfect, especially with short postings."] = "Questo addon prova ad identificare la lingua usata in un messaggio. Se questa non corrisponde a una delle lingue da te parlata (vedi sotto), il messaggio verrà nascosto. Ricorda che la rilevazione della lingua non è perfetta, specie con i messaggi corti.";
$a->strings["Use the language filter"] = "Usa il filtro lingua";
$a->strings["I speak"] = "Parlo";
$a->strings["List of abbreviations (iso2 codes) for languages you speak, comma separated. For example \"de,it\"."] = "Lista di abbreviazioni (codici iso2) per le lingue che parli, separate da virgola. Per esempio \"it,de\"";
diff --git a/langfilter/langfilter.php b/langfilter/langfilter.php
index e8e90975..e569ed37 100644
--- a/langfilter/langfilter.php
+++ b/langfilter/langfilter.php
@@ -9,6 +9,7 @@
*/
use Friendica\App;
+use Friendica\Core\Addon;
use Friendica\Core\PConfig;
/* Define the hooks we want to use
@@ -18,16 +19,16 @@ use Friendica\Core\PConfig;
function langfilter_install()
{
- register_hook('prepare_body', 'addon/langfilter/langfilter.php', 'langfilter_prepare_body', 10);
- register_hook('plugin_settings', 'addon/langfilter/langfilter.php', 'langfilter_addon_settings');
- register_hook('plugin_settings_post', 'addon/langfilter/langfilter.php', 'langfilter_addon_settings_post');
+ Addon::registerHook('prepare_body', 'addon/langfilter/langfilter.php', 'langfilter_prepare_body', 10);
+ Addon::registerHook('addon_settings', 'addon/langfilter/langfilter.php', 'langfilter_addon_settings');
+ Addon::registerHook('addon_settings_post', 'addon/langfilter/langfilter.php', 'langfilter_addon_settings_post');
}
function langfilter_uninstall()
{
- unregister_hook('prepare_body', 'addon/langfilter/langfilter.php', 'langfilter_prepare_body');
- unregister_hook('plugin_settings', 'addon/langfilter/langfilter.php', 'langfilter_addon_settings');
- unregister_hook('plugin_settings_post', 'addon/langfilter/langfilter.php', 'langfilter_addon_settings_post');
+ Addon::unregisterHook('prepare_body', 'addon/langfilter/langfilter.php', 'langfilter_prepare_body');
+ Addon::unregisterHook('addon_settings', 'addon/langfilter/langfilter.php', 'langfilter_addon_settings');
+ Addon::unregisterHook('addon_settings_post', 'addon/langfilter/langfilter.php', 'langfilter_addon_settings_post');
}
/* The settings
diff --git a/ldapauth/ldapauth.php b/ldapauth/ldapauth.php
index f6cb42b6..d06874b7 100644
--- a/ldapauth/ldapauth.php
+++ b/ldapauth/ldapauth.php
@@ -52,17 +52,18 @@
*
* ...etc.
*/
+use Friendica\Core\Addon;
use Friendica\Core\Config;
use Friendica\Model\User;
function ldapauth_install()
{
- register_hook('authenticate', 'addon/ldapauth/ldapauth.php', 'ldapauth_hook_authenticate');
+ Addon::registerHook('authenticate', 'addon/ldapauth/ldapauth.php', 'ldapauth_hook_authenticate');
}
function ldapauth_uninstall()
{
- unregister_hook('authenticate', 'addon/ldapauth/ldapauth.php', 'ldapauth_hook_authenticate');
+ Addon::unregisterHook('authenticate', 'addon/ldapauth/ldapauth.php', 'ldapauth_hook_authenticate');
}
function ldapauth_hook_authenticate($a, &$b)
diff --git a/leistungsschutzrecht/leistungsschutzrecht.php b/leistungsschutzrecht/leistungsschutzrecht.php
index 91d35834..f5cee117 100644
--- a/leistungsschutzrecht/leistungsschutzrecht.php
+++ b/leistungsschutzrecht/leistungsschutzrecht.php
@@ -5,20 +5,20 @@
* Version: 0.1
* Author: Michael Vogel
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\Config;
function leistungsschutzrecht_install() {
- register_hook('cron', 'addon/leistungsschutzrecht/leistungsschutzrecht.php', 'leistungsschutzrecht_cron');
- register_hook('getsiteinfo', 'addon/leistungsschutzrecht/leistungsschutzrecht.php', 'leistungsschutzrecht_getsiteinfo');
- register_hook('page_info_data', 'addon/leistungsschutzrecht/leistungsschutzrecht.php', 'leistungsschutzrecht_getsiteinfo');
+ Addon::registerHook('cron', 'addon/leistungsschutzrecht/leistungsschutzrecht.php', 'leistungsschutzrecht_cron');
+ Addon::registerHook('getsiteinfo', 'addon/leistungsschutzrecht/leistungsschutzrecht.php', 'leistungsschutzrecht_getsiteinfo');
+ Addon::registerHook('page_info_data', 'addon/leistungsschutzrecht/leistungsschutzrecht.php', 'leistungsschutzrecht_getsiteinfo');
}
function leistungsschutzrecht_uninstall() {
- unregister_hook('cron', 'addon/leistungsschutzrecht/leistungsschutzrecht.php', 'leistungsschutzrecht_cron');
- unregister_hook('getsiteinfo', 'addon/leistungsschutzrecht/leistungsschutzrecht.php', 'leistungsschutzrecht_getsiteinfo');
- unregister_hook('page_info_data', 'addon/leistungsschutzrecht/leistungsschutzrecht.php', 'leistungsschutzrecht_getsiteinfo');
+ Addon::unregisterHook('cron', 'addon/leistungsschutzrecht/leistungsschutzrecht.php', 'leistungsschutzrecht_cron');
+ Addon::unregisterHook('getsiteinfo', 'addon/leistungsschutzrecht/leistungsschutzrecht.php', 'leistungsschutzrecht_getsiteinfo');
+ Addon::unregisterHook('page_info_data', 'addon/leistungsschutzrecht/leistungsschutzrecht.php', 'leistungsschutzrecht_getsiteinfo');
}
function leistungsschutzrecht_getsiteinfo($a, &$siteinfo) {
diff --git a/libertree/lang/C/messages.po b/libertree/lang/C/messages.po
index fa31c882..ec61f847 100644
--- a/libertree/lang/C/messages.po
+++ b/libertree/lang/C/messages.po
@@ -26,7 +26,7 @@ msgid "libertree Post Settings"
msgstr ""
#: libertree.php:69
-msgid "Enable Libertree Post Plugin"
+msgid "Enable Libertree Post Addon"
msgstr ""
#: libertree.php:74
diff --git a/libertree/lang/ca/strings.php b/libertree/lang/ca/strings.php
index 28c6b31a..02c7d22c 100644
--- a/libertree/lang/ca/strings.php
+++ b/libertree/lang/ca/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to libertree"] = "Enviament a libertree";
$a->strings["libertree Post Settings"] = "Ajustos d'enviaments a libertree";
-$a->strings["Enable Libertree Post Plugin"] = "Activa el plugin d'enviaments a libertree";
+$a->strings["Enable Libertree Post Addon"] = "Activa el addon d'enviaments a libertree";
$a->strings["Libertree API token"] = "Libertree API token";
$a->strings["Libertree site URL"] = "lloc URL libertree";
$a->strings["Post to Libertree by default"] = "Enviar a libertree per defecte";
diff --git a/libertree/lang/cs/messages.po b/libertree/lang/cs/messages.po
index d9473ab0..b97b17ed 100644
--- a/libertree/lang/cs/messages.po
+++ b/libertree/lang/cs/messages.po
@@ -28,7 +28,7 @@ msgid "libertree Post Settings"
msgstr "libertree nastavení příspěvků"
#: libertree.php:69
-msgid "Enable Libertree Post Plugin"
+msgid "Enable Libertree Post Addon"
msgstr "Povolit Libertree Post rozšíření"
#: libertree.php:74
diff --git a/libertree/lang/cs/strings.php b/libertree/lang/cs/strings.php
index 97618321..57ad0ff1 100644
--- a/libertree/lang/cs/strings.php
+++ b/libertree/lang/cs/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_cs($n){
;
$a->strings["Post to libertree"] = "Poslat na libertree";
$a->strings["libertree Post Settings"] = "libertree nastavení příspěvků";
-$a->strings["Enable Libertree Post Plugin"] = "Povolit Libertree Post rozšíření";
+$a->strings["Enable Libertree Post Addon"] = "Povolit Libertree Post rozšíření";
$a->strings["Libertree API token"] = "Libertree API token";
$a->strings["Libertree site URL"] = "URL adresa Libertree ";
$a->strings["Post to Libertree by default"] = "Defaultně poslat na Libertree";
diff --git a/libertree/lang/de/messages.po b/libertree/lang/de/messages.po
index 7c3d3f1a..970d22dd 100644
--- a/libertree/lang/de/messages.po
+++ b/libertree/lang/de/messages.po
@@ -29,8 +29,8 @@ msgid "libertree Post Settings"
msgstr "libertree Post Einstellungen"
#: libertree.php:69
-msgid "Enable Libertree Post Plugin"
-msgstr "Libertree Post Plugin aktivieren"
+msgid "Enable Libertree Post Addon"
+msgstr "Libertree Post Addon aktivieren"
#: libertree.php:74
msgid "Libertree API token"
diff --git a/libertree/lang/de/strings.php b/libertree/lang/de/strings.php
index 27d40815..c6867705 100644
--- a/libertree/lang/de/strings.php
+++ b/libertree/lang/de/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_de($n){
;
$a->strings["Post to libertree"] = "bei libertree veröffentlichen";
$a->strings["libertree Post Settings"] = "libertree Post Einstellungen";
-$a->strings["Enable Libertree Post Plugin"] = "Libertree Post Plugin aktivieren";
+$a->strings["Enable Libertree Post Addon"] = "Libertree Post Addon aktivieren";
$a->strings["Libertree API token"] = "Libertree API Token";
$a->strings["Libertree site URL"] = "Libertree URL";
$a->strings["Post to Libertree by default"] = "Standardmäßig bei libertree veröffentlichen";
diff --git a/libertree/lang/eo/strings.php b/libertree/lang/eo/strings.php
index 11b8496c..674972d0 100644
--- a/libertree/lang/eo/strings.php
+++ b/libertree/lang/eo/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to libertree"] = "Afiŝi al libertree";
$a->strings["libertree Post Settings"] = "Agordoj por Afiŝoj ĉe libertree";
-$a->strings["Enable Libertree Post Plugin"] = "Aktivigi Kromprogramon por Afiŝoj ĉe libertree";
+$a->strings["Enable Libertree Post Addon"] = "Aktivigi Kromprogramon por Afiŝoj ĉe libertree";
$a->strings["Libertree API token"] = "Libertree API ĵetono";
$a->strings["Libertree site URL"] = "URL adreso de libertree retejo:";
$a->strings["Post to Libertree by default"] = "Defaŭlte afiŝi ĉe Libertree";
diff --git a/libertree/lang/es/messages.po b/libertree/lang/es/messages.po
index 8fcc8a8d..d6005765 100644
--- a/libertree/lang/es/messages.po
+++ b/libertree/lang/es/messages.po
@@ -28,8 +28,8 @@ msgid "libertree Post Settings"
msgstr "Ajustes de Publicación de Libertree"
#: libertree.php:69
-msgid "Enable Libertree Post Plugin"
-msgstr "Habilitar Plugin de publicación de Libertree"
+msgid "Enable Libertree Post Addon"
+msgstr "Habilitar Addon de publicación de Libertree"
#: libertree.php:74
msgid "Libertree API token"
diff --git a/libertree/lang/es/strings.php b/libertree/lang/es/strings.php
index 0be7bbca..8a8dbf1f 100644
--- a/libertree/lang/es/strings.php
+++ b/libertree/lang/es/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_es($n){
;
$a->strings["Post to libertree"] = "Publicar en Libertree";
$a->strings["libertree Post Settings"] = "Ajustes de Publicación de Libertree";
-$a->strings["Enable Libertree Post Plugin"] = "Habilitar Plugin de publicación de Libertree";
+$a->strings["Enable Libertree Post Addon"] = "Habilitar Addon de publicación de Libertree";
$a->strings["Libertree API token"] = "Símbolo de API de Libertree";
$a->strings["Libertree site URL"] = "URL de la página de Libertree";
$a->strings["Post to Libertree by default"] = "Publicar en Libertree por defecto";
diff --git a/libertree/lang/fr/messages.po b/libertree/lang/fr/messages.po
index ce956cf1..6deb7b4e 100644
--- a/libertree/lang/fr/messages.po
+++ b/libertree/lang/fr/messages.po
@@ -28,8 +28,8 @@ msgid "libertree Post Settings"
msgstr "Réglages des messages sur libertree"
#: libertree.php:69
-msgid "Enable Libertree Post Plugin"
-msgstr "Activer le plugin de publication sur libertree"
+msgid "Enable Libertree Post Addon"
+msgstr "Activer leaddonde publication sur libertree"
#: libertree.php:74
msgid "Libertree API token"
diff --git a/libertree/lang/fr/strings.php b/libertree/lang/fr/strings.php
index 8f777016..1e227914 100644
--- a/libertree/lang/fr/strings.php
+++ b/libertree/lang/fr/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_fr($n){
;
$a->strings["Post to libertree"] = "Publier sur libertree";
$a->strings["libertree Post Settings"] = "Réglages des messages sur libertree";
-$a->strings["Enable Libertree Post Plugin"] = "Activer le plugin de publication sur libertree";
+$a->strings["Enable Libertree Post Addon"] = "Activer le addon de publication sur libertree";
$a->strings["Libertree API token"] = "Clé de l'API libertree";
$a->strings["Libertree site URL"] = "URL du site libertree";
$a->strings["Post to Libertree by default"] = "Publier sur libertree par défaut";
diff --git a/libertree/lang/is/strings.php b/libertree/lang/is/strings.php
index 7d5e7f37..6256e21c 100644
--- a/libertree/lang/is/strings.php
+++ b/libertree/lang/is/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to libertree"] = "";
$a->strings["libertree Post Settings"] = "";
-$a->strings["Enable Libertree Post Plugin"] = "";
+$a->strings["Enable Libertree Post Addon"] = "";
$a->strings["Libertree API token"] = "";
$a->strings["Libertree site URL"] = "";
$a->strings["Post to Libertree by default"] = "";
diff --git a/libertree/lang/it/messages.po b/libertree/lang/it/messages.po
index 25bd37ff..35895688 100644
--- a/libertree/lang/it/messages.po
+++ b/libertree/lang/it/messages.po
@@ -28,8 +28,8 @@ msgid "libertree Post Settings"
msgstr "Impostazioni di invio a Libertree"
#: libertree.php:69
-msgid "Enable Libertree Post Plugin"
-msgstr "Abilita il plugin di invio a Libertree"
+msgid "Enable Libertree Post Addon"
+msgstr "Abilita iladdondi invio a Libertree"
#: libertree.php:74
msgid "Libertree API token"
diff --git a/libertree/lang/it/strings.php b/libertree/lang/it/strings.php
index beef73da..ca0b50fa 100644
--- a/libertree/lang/it/strings.php
+++ b/libertree/lang/it/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_it($n){
;
$a->strings["Post to libertree"] = "Invia a Libertree";
$a->strings["libertree Post Settings"] = "Impostazioni di invio a Libertree";
-$a->strings["Enable Libertree Post Plugin"] = "Abilita il plugin di invio a Libertree";
+$a->strings["Enable Libertree Post Addon"] = "Abilita il addon di invio a Libertree";
$a->strings["Libertree API token"] = "Token API Libertree";
$a->strings["Libertree site URL"] = "Indirizzo sito Libertree";
$a->strings["Post to Libertree by default"] = "Invia sempre a Libertree";
diff --git a/libertree/lang/nb-no/strings.php b/libertree/lang/nb-no/strings.php
index 679aefe1..1600c269 100644
--- a/libertree/lang/nb-no/strings.php
+++ b/libertree/lang/nb-no/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to libertree"] = "";
$a->strings["libertree Post Settings"] = "";
-$a->strings["Enable Libertree Post Plugin"] = "";
+$a->strings["Enable Libertree Post Addon"] = "";
$a->strings["Libertree API token"] = "";
$a->strings["Libertree site URL"] = "";
$a->strings["Post to Libertree by default"] = "";
diff --git a/libertree/lang/pl/strings.php b/libertree/lang/pl/strings.php
index 217757f2..5f212248 100644
--- a/libertree/lang/pl/strings.php
+++ b/libertree/lang/pl/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to libertree"] = "";
$a->strings["libertree Post Settings"] = "";
-$a->strings["Enable Libertree Post Plugin"] = "";
+$a->strings["Enable Libertree Post Addon"] = "";
$a->strings["Libertree API token"] = "";
$a->strings["Libertree site URL"] = "";
$a->strings["Post to Libertree by default"] = "";
diff --git a/libertree/lang/pt-br/messages.po b/libertree/lang/pt-br/messages.po
index 4df816bb..d6554ff6 100644
--- a/libertree/lang/pt-br/messages.po
+++ b/libertree/lang/pt-br/messages.po
@@ -28,7 +28,7 @@ msgid "libertree Post Settings"
msgstr "Configurações de publicação do Libertree"
#: libertree.php:69
-msgid "Enable Libertree Post Plugin"
+msgid "Enable Libertree Post Addon"
msgstr "Habilitar plug-in para publicar no Libertree"
#: libertree.php:74
diff --git a/libertree/lang/pt-br/strings.php b/libertree/lang/pt-br/strings.php
index 9c750698..d55aee61 100644
--- a/libertree/lang/pt-br/strings.php
+++ b/libertree/lang/pt-br/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_pt_br($n){
;
$a->strings["Post to libertree"] = "Publicar no Libertree";
$a->strings["libertree Post Settings"] = "Configurações de publicação do Libertree";
-$a->strings["Enable Libertree Post Plugin"] = "Habilitar plug-in para publicar no Libertree";
+$a->strings["Enable Libertree Post Addon"] = "Habilitar plug-in para publicar no Libertree";
$a->strings["Libertree API token"] = "";
$a->strings["Libertree site URL"] = "";
$a->strings["Post to Libertree by default"] = "Publicar no Libertree por padrão";
diff --git a/libertree/lang/ro/messages.po b/libertree/lang/ro/messages.po
index 4690e7c1..bd99286a 100644
--- a/libertree/lang/ro/messages.po
+++ b/libertree/lang/ro/messages.po
@@ -28,7 +28,7 @@ msgid "libertree Post Settings"
msgstr "Configurări Postări libertree "
#: libertree.php:69
-msgid "Enable Libertree Post Plugin"
+msgid "Enable Libertree Post Addon"
msgstr "Activare Modul Postare Libertree"
#: libertree.php:74
diff --git a/libertree/lang/ro/strings.php b/libertree/lang/ro/strings.php
index 3136a26b..efa612ed 100644
--- a/libertree/lang/ro/strings.php
+++ b/libertree/lang/ro/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_ro($n){
;
$a->strings["Post to libertree"] = "Postați pe libertree";
$a->strings["libertree Post Settings"] = "Configurări Postări libertree ";
-$a->strings["Enable Libertree Post Plugin"] = "Activare Modul Postare Libertree";
+$a->strings["Enable Libertree Post Addon"] = "Activare Modul Postare Libertree";
$a->strings["Libertree API token"] = "Token API Libertree";
$a->strings["Libertree site URL"] = "URL site Libertree";
$a->strings["Post to Libertree by default"] = "Postați implicit pe Libertree";
diff --git a/libertree/lang/ru/strings.php b/libertree/lang/ru/strings.php
index c6101b70..9d1522a4 100644
--- a/libertree/lang/ru/strings.php
+++ b/libertree/lang/ru/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to libertree"] = "";
$a->strings["libertree Post Settings"] = "";
-$a->strings["Enable Libertree Post Plugin"] = "";
+$a->strings["Enable Libertree Post Addon"] = "";
$a->strings["Libertree API token"] = "";
$a->strings["Libertree site URL"] = "";
$a->strings["Post to Libertree by default"] = "";
diff --git a/libertree/lang/zh-cn/strings.php b/libertree/lang/zh-cn/strings.php
index 2122014c..c3d1f6a1 100644
--- a/libertree/lang/zh-cn/strings.php
+++ b/libertree/lang/zh-cn/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to libertree"] = "转播到libertree";
$a->strings["libertree Post Settings"] = "libertree转播设置";
-$a->strings["Enable Libertree Post Plugin"] = "使Libertree转播插件可用";
+$a->strings["Enable Libertree Post Addon"] = "使Libertree转播插件可用";
$a->strings["Libertree API token"] = "Libertree API令牌";
$a->strings["Libertree site URL"] = "Libertree网站URL";
$a->strings["Post to Libertree by default"] = "默认地转播到Libertree";
diff --git a/libertree/libertree.php b/libertree/libertree.php
index 0b9f839b..0dd6e38a 100644
--- a/libertree/libertree.php
+++ b/libertree/libertree.php
@@ -6,23 +6,23 @@
* Version: 1.0
* Author: Tony Baldwin
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\PConfig;
function libertree_install() {
- register_hook('post_local', 'addon/libertree/libertree.php', 'libertree_post_local');
- register_hook('notifier_normal', 'addon/libertree/libertree.php', 'libertree_send');
- register_hook('jot_networks', 'addon/libertree/libertree.php', 'libertree_jot_nets');
- register_hook('connector_settings', 'addon/libertree/libertree.php', 'libertree_settings');
- register_hook('connector_settings_post', 'addon/libertree/libertree.php', 'libertree_settings_post');
+ Addon::registerHook('post_local', 'addon/libertree/libertree.php', 'libertree_post_local');
+ Addon::registerHook('notifier_normal', 'addon/libertree/libertree.php', 'libertree_send');
+ Addon::registerHook('jot_networks', 'addon/libertree/libertree.php', 'libertree_jot_nets');
+ Addon::registerHook('connector_settings', 'addon/libertree/libertree.php', 'libertree_settings');
+ Addon::registerHook('connector_settings_post', 'addon/libertree/libertree.php', 'libertree_settings_post');
}
function libertree_uninstall() {
- unregister_hook('post_local', 'addon/libertree/libertree.php', 'libertree_post_local');
- unregister_hook('notifier_normal', 'addon/libertree/libertree.php', 'libertree_send');
- unregister_hook('jot_networks', 'addon/libertree/libertree.php', 'libertree_jot_nets');
- unregister_hook('connector_settings', 'addon/libertree/libertree.php', 'libertree_settings');
- unregister_hook('connector_settings_post', 'addon/libertree/libertree.php', 'libertree_settings_post');
+ Addon::unregisterHook('post_local', 'addon/libertree/libertree.php', 'libertree_post_local');
+ Addon::unregisterHook('notifier_normal', 'addon/libertree/libertree.php', 'libertree_send');
+ Addon::unregisterHook('jot_networks', 'addon/libertree/libertree.php', 'libertree_jot_nets');
+ Addon::unregisterHook('connector_settings', 'addon/libertree/libertree.php', 'libertree_settings');
+ Addon::unregisterHook('connector_settings_post', 'addon/libertree/libertree.php', 'libertree_settings_post');
}
@@ -74,7 +74,7 @@ function libertree_settings(&$a,&$s) {
$s .= '';
$s .= '
';
- $s .= '';
+ $s .= '';
$s .= '';
$s .= '
';
diff --git a/libravatar/README.md b/libravatar/README.md
index 16fbd85a..07ac2a79 100644
--- a/libravatar/README.md
+++ b/libravatar/README.md
@@ -1,4 +1,4 @@
-# Libravatar Plugin
+# Libravatar Addon
by [Klaus Weidenbach](http://friendica.dszdw.net/profile/klaus)
This addon allows you to look up an avatar image for new users and contacts at [Libravatar](http://www.libravatar.com). It will be used if there have not been found any other avatar images yet for example through OpenID.
@@ -6,7 +6,7 @@ This addon allows you to look up an avatar image for new users and contacts at [
Libravatar is a free and open replacement for Gravatar. It is a service where people can store an avatar image for their email-addresses. These avatar images can get looked up for example in comment functions, profile pages, etc. on other sites. There exists a central installation at [www.libravatar.com](http://www.libravatar.com), but you can also host it on your own server. If no avatar was found Libravatar will look up at Gravatar as a fallback.
There is no rating available, as it is on Gravatar, so all avatar lookups are g-rated. (Suitable for all audiences.)
-PHP >= 5.3 is required for this plugin!
+PHP >= 5.3 is required for this addon!
You can not use the Libravatar and Gravatar addon at the same time. You need to choose one. If you need other ratings than g you better stay with Gravatar, otherwise it is safe to use Libravatar, because it will fall back to Gravatar if nothing was found at Libravatar.
diff --git a/libravatar/libravatar.php b/libravatar/libravatar.php
index 891b0b47..bba5a881 100644
--- a/libravatar/libravatar.php
+++ b/libravatar/libravatar.php
@@ -1,15 +1,15 @@
= 5.3)
+ * Description: If there is no avatar image for a new user or contact this addon will look for one at Libravatar. Please disable Gravatar addon if you use this one. (requires PHP >= 5.3)
* Version: 1.1
* Author: Klaus Weidenbach
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\Config;
/**
- * Installs the plugin hook
+ * Installs the addon hook
*/
function libravatar_install() {
if (! version_compare(PHP_VERSION, '5.3.0', '>=')) {
@@ -17,16 +17,16 @@ function libravatar_install() {
// avoid registering the hook
return false;
}
- register_hook('avatar_lookup', 'addon/libravatar/libravatar.php', 'libravatar_lookup');
+ Addon::registerHook('avatar_lookup', 'addon/libravatar/libravatar.php', 'libravatar_lookup');
logger("registered libravatar in avatar_lookup hook");
}
/**
- * Removes the plugin hook
+ * Removes the addon hook
*/
function libravatar_uninstall() {
- unregister_hook('avatar_lookup', 'addon/libravatar/libravatar.php', 'libravatar_lookup');
+ Addon::unregisterHook('avatar_lookup', 'addon/libravatar/libravatar.php', 'libravatar_lookup');
logger("unregistered libravatar in avatar_lookup hook");
}
@@ -61,7 +61,7 @@ function libravatar_lookup($a, &$b) {
/**
* Display admin settings for this addon
*/
-function libravatar_plugin_admin (&$a, &$o) {
+function libravatar_addon_admin (&$a, &$o) {
$t = get_markup_template( "admin.tpl", "addon/libravatar" );
$default_avatar = Config::get('libravatar', 'default_img');
@@ -106,7 +106,7 @@ function libravatar_plugin_admin (&$a, &$o) {
/**
* Save admin settings
*/
-function libravatar_plugin_admin_post (&$a) {
+function libravatar_addon_admin_post (&$a) {
check_form_security_token('libravatarrsave');
$default_avatar = ((x($_POST, 'avatar')) ? notags(trim($_POST['avatar'])) : 'identicon');
diff --git a/ljpost/lang/C/messages.po b/ljpost/lang/C/messages.po
index 6c506e05..9baae18e 100644
--- a/ljpost/lang/C/messages.po
+++ b/ljpost/lang/C/messages.po
@@ -26,7 +26,7 @@ msgid "LiveJournal Post Settings"
msgstr ""
#: ljpost.php:72
-msgid "Enable LiveJournal Post Plugin"
+msgid "Enable LiveJournal Post Addon"
msgstr ""
#: ljpost.php:77
diff --git a/ljpost/lang/ca/strings.php b/ljpost/lang/ca/strings.php
index 04053fa2..ec370df8 100644
--- a/ljpost/lang/ca/strings.php
+++ b/ljpost/lang/ca/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to LiveJournal"] = "Missatge a Livejournal";
$a->strings["LiveJournal Post Settings"] = "Configuració d'enviaments a Livejournal";
-$a->strings["Enable LiveJournal Post Plugin"] = "Habilitat el plugin d'enviaments a Livejournal";
+$a->strings["Enable LiveJournal Post Addon"] = "Habilitat el addon d'enviaments a Livejournal";
$a->strings["LiveJournal username"] = "Nom d'usuari a Livejournal";
$a->strings["LiveJournal password"] = "Contrasenya a Livejournal";
$a->strings["Post to LiveJournal by default"] = "Enviar per defecte a Livejournal";
diff --git a/ljpost/lang/cs/messages.po b/ljpost/lang/cs/messages.po
index 78abd527..74a88433 100644
--- a/ljpost/lang/cs/messages.po
+++ b/ljpost/lang/cs/messages.po
@@ -28,8 +28,8 @@ msgid "LiveJournal Post Settings"
msgstr "Nastavení LiveJournal Post"
#: ljpost.php:72
-msgid "Enable LiveJournal Post Plugin"
-msgstr "Povolit LiveJournal Post plugin"
+msgid "Enable LiveJournal Post Addon"
+msgstr "Povolit LiveJournal Post addon"
#: ljpost.php:77
msgid "LiveJournal username"
diff --git a/ljpost/lang/cs/strings.php b/ljpost/lang/cs/strings.php
index f1dad443..d2c833d9 100644
--- a/ljpost/lang/cs/strings.php
+++ b/ljpost/lang/cs/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_cs($n){
;
$a->strings["Post to LiveJournal"] = "Poslat na LiveJournal";
$a->strings["LiveJournal Post Settings"] = "Nastavení LiveJournal Post";
-$a->strings["Enable LiveJournal Post Plugin"] = "Povolit LiveJournal Post plugin";
+$a->strings["Enable LiveJournal Post Addon"] = "Povolit LiveJournal Post addon";
$a->strings["LiveJournal username"] = "LiveJournal uživatelské jméno";
$a->strings["LiveJournal password"] = "LiveJournal heslo";
$a->strings["Post to LiveJournal by default"] = "Defaultně umístit na LiveJournal";
diff --git a/ljpost/lang/de/messages.po b/ljpost/lang/de/messages.po
index 62cd8afc..4d915c0d 100644
--- a/ljpost/lang/de/messages.po
+++ b/ljpost/lang/de/messages.po
@@ -29,8 +29,8 @@ msgid "LiveJournal Post Settings"
msgstr "LiveJournal Veröffentlichungs-Einstellungen"
#: ljpost.php:72
-msgid "Enable LiveJournal Post Plugin"
-msgstr "LiveJournal Post Plugin aktivieren"
+msgid "Enable LiveJournal Post Addon"
+msgstr "LiveJournal Post Addon aktivieren"
#: ljpost.php:77
msgid "LiveJournal username"
diff --git a/ljpost/lang/de/strings.php b/ljpost/lang/de/strings.php
index 862b5779..e6b9c848 100644
--- a/ljpost/lang/de/strings.php
+++ b/ljpost/lang/de/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_de($n){
;
$a->strings["Post to LiveJournal"] = "In LiveJournal veröffentlichen.";
$a->strings["LiveJournal Post Settings"] = "LiveJournal Veröffentlichungs-Einstellungen";
-$a->strings["Enable LiveJournal Post Plugin"] = "LiveJournal Post Plugin aktivieren";
+$a->strings["Enable LiveJournal Post Addon"] = "LiveJournal Post Addon aktivieren";
$a->strings["LiveJournal username"] = "LiveJournal Benutzername";
$a->strings["LiveJournal password"] = "LiveJournal Passwort";
$a->strings["Post to LiveJournal by default"] = "Standardmäßig bei LiveJournal veröffentlichen";
diff --git a/ljpost/lang/eo/strings.php b/ljpost/lang/eo/strings.php
index b606e6a6..1bd09a6f 100644
--- a/ljpost/lang/eo/strings.php
+++ b/ljpost/lang/eo/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to LiveJournal"] = "Afiŝi ĉe LiveJournal";
$a->strings["LiveJournal Post Settings"] = "Agordoj pri afiŝoj ĉe LiveJournal";
-$a->strings["Enable LiveJournal Post Plugin"] = "Ŝalti la LiveJournal-afiŝo kromprogramon.";
+$a->strings["Enable LiveJournal Post Addon"] = "Ŝalti la LiveJournal-afiŝo kromprogramon.";
$a->strings["LiveJournal username"] = "LiveJournal Salutnomo";
$a->strings["LiveJournal password"] = "LiveJournal pasvorto";
$a->strings["Post to LiveJournal by default"] = "Defaŭlte afiŝi al LiveJournal";
diff --git a/ljpost/lang/es/messages.po b/ljpost/lang/es/messages.po
index 16efa134..f94e20bb 100644
--- a/ljpost/lang/es/messages.po
+++ b/ljpost/lang/es/messages.po
@@ -28,8 +28,8 @@ msgid "LiveJournal Post Settings"
msgstr "Ajustes de publicación de LiveJournal"
#: ljpost.php:72
-msgid "Enable LiveJournal Post Plugin"
-msgstr "Habilitar Plugin de publicción de LiveJournal"
+msgid "Enable LiveJournal Post Addon"
+msgstr "Habilitar Addon de publicción de LiveJournal"
#: ljpost.php:77
msgid "LiveJournal username"
diff --git a/ljpost/lang/es/strings.php b/ljpost/lang/es/strings.php
index 89e117fb..10092765 100644
--- a/ljpost/lang/es/strings.php
+++ b/ljpost/lang/es/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_es($n){
;
$a->strings["Post to LiveJournal"] = "Publicar en LiveJournal";
$a->strings["LiveJournal Post Settings"] = "Ajustes de publicación de LiveJournal";
-$a->strings["Enable LiveJournal Post Plugin"] = "Habilitar Plugin de publicción de LiveJournal";
+$a->strings["Enable LiveJournal Post Addon"] = "Habilitar Addon de publicción de LiveJournal";
$a->strings["LiveJournal username"] = "Nombre de usuario de LiveJournal";
$a->strings["LiveJournal password"] = "Contraseña de LiveJournal";
$a->strings["Post to LiveJournal by default"] = "Publicar en LiveJournal por defecto";
diff --git a/ljpost/lang/fr/strings.php b/ljpost/lang/fr/strings.php
index 615f929a..85407d57 100644
--- a/ljpost/lang/fr/strings.php
+++ b/ljpost/lang/fr/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to LiveJournal"] = "Poster vers LiveJournal";
$a->strings["LiveJournal Post Settings"] = "Réglages LiveJournal";
-$a->strings["Enable LiveJournal Post Plugin"] = "Activer \"Poster vers LiveJournal\"";
+$a->strings["Enable LiveJournal Post Addon"] = "Activer \"Poster vers LiveJournal\"";
$a->strings["LiveJournal username"] = "Nom d'utilisateur LiveJournal";
$a->strings["LiveJournal password"] = "Mot de passe";
$a->strings["Post to LiveJournal by default"] = "Poster vers LiveJournal par défaut";
diff --git a/ljpost/lang/is/strings.php b/ljpost/lang/is/strings.php
index 5edfc631..164dc441 100644
--- a/ljpost/lang/is/strings.php
+++ b/ljpost/lang/is/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to LiveJournal"] = "";
$a->strings["LiveJournal Post Settings"] = "";
-$a->strings["Enable LiveJournal Post Plugin"] = "";
+$a->strings["Enable LiveJournal Post Addon"] = "";
$a->strings["LiveJournal username"] = "";
$a->strings["LiveJournal password"] = "";
$a->strings["Post to LiveJournal by default"] = "";
diff --git a/ljpost/lang/it/messages.po b/ljpost/lang/it/messages.po
index 23b345bb..fb6f3493 100644
--- a/ljpost/lang/it/messages.po
+++ b/ljpost/lang/it/messages.po
@@ -28,8 +28,8 @@ msgid "LiveJournal Post Settings"
msgstr "Impostazioni invio a LiveJournal"
#: ljpost.php:72
-msgid "Enable LiveJournal Post Plugin"
-msgstr "Abilita il plugin di invio a LiveJournal"
+msgid "Enable LiveJournal Post Addon"
+msgstr "Abilita il addon di invio a LiveJournal"
#: ljpost.php:77
msgid "LiveJournal username"
diff --git a/ljpost/lang/it/strings.php b/ljpost/lang/it/strings.php
index 538b0ef8..041d4077 100644
--- a/ljpost/lang/it/strings.php
+++ b/ljpost/lang/it/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_it($n){
;
$a->strings["Post to LiveJournal"] = "Invia a LiveJournal";
$a->strings["LiveJournal Post Settings"] = "Impostazioni invio a LiveJournal";
-$a->strings["Enable LiveJournal Post Plugin"] = "Abilita il plugin di invio a LiveJournal";
+$a->strings["Enable LiveJournal Post Addon"] = "Abilita il addon di invio a LiveJournal";
$a->strings["LiveJournal username"] = "Nome utente LiveJournal";
$a->strings["LiveJournal password"] = "Password LiveJournal";
$a->strings["Post to LiveJournal by default"] = "Invia sempre a LiveJournal";
diff --git a/ljpost/lang/nb-no/strings.php b/ljpost/lang/nb-no/strings.php
index c4e04562..0ea53bd3 100644
--- a/ljpost/lang/nb-no/strings.php
+++ b/ljpost/lang/nb-no/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to LiveJournal"] = "";
$a->strings["LiveJournal Post Settings"] = "";
-$a->strings["Enable LiveJournal Post Plugin"] = "";
+$a->strings["Enable LiveJournal Post Addon"] = "";
$a->strings["LiveJournal username"] = "";
$a->strings["LiveJournal password"] = "";
$a->strings["Post to LiveJournal by default"] = "";
diff --git a/ljpost/lang/pl/strings.php b/ljpost/lang/pl/strings.php
index 3497dc2c..a96826ee 100644
--- a/ljpost/lang/pl/strings.php
+++ b/ljpost/lang/pl/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to LiveJournal"] = "Post do LiveJournal";
$a->strings["LiveJournal Post Settings"] = "Ustawienia postów do LiveJournal";
-$a->strings["Enable LiveJournal Post Plugin"] = "";
+$a->strings["Enable LiveJournal Post Addon"] = "";
$a->strings["LiveJournal username"] = "Nazwa użytkownika do LiveJournal";
$a->strings["LiveJournal password"] = "Hasło do LiveJournal";
$a->strings["Post to LiveJournal by default"] = "automatycznie publikuj na LiveJournal";
diff --git a/ljpost/lang/pt-br/messages.po b/ljpost/lang/pt-br/messages.po
index 3ed7117f..832a647d 100644
--- a/ljpost/lang/pt-br/messages.po
+++ b/ljpost/lang/pt-br/messages.po
@@ -28,7 +28,7 @@ msgid "LiveJournal Post Settings"
msgstr "Configurações de publicação no LiveJournal"
#: ljpost.php:72
-msgid "Enable LiveJournal Post Plugin"
+msgid "Enable LiveJournal Post Addon"
msgstr "Habilitar plug-in para publicar no LiveJournal"
#: ljpost.php:77
diff --git a/ljpost/lang/pt-br/strings.php b/ljpost/lang/pt-br/strings.php
index 0792861b..ddc091a4 100644
--- a/ljpost/lang/pt-br/strings.php
+++ b/ljpost/lang/pt-br/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_pt_br($n){
;
$a->strings["Post to LiveJournal"] = "Publicar no LiveJournal";
$a->strings["LiveJournal Post Settings"] = "Configurações de publicação no LiveJournal";
-$a->strings["Enable LiveJournal Post Plugin"] = "Habilitar plug-in para publicar no LiveJournal";
+$a->strings["Enable LiveJournal Post Addon"] = "Habilitar plug-in para publicar no LiveJournal";
$a->strings["LiveJournal username"] = "Nome de usuário no LiveJournal";
$a->strings["LiveJournal password"] = "Senha do LiveJournal";
$a->strings["Post to LiveJournal by default"] = "Publicar no LiveJournal por padrão";
diff --git a/ljpost/lang/ro/messages.po b/ljpost/lang/ro/messages.po
index 2393930a..546e49bb 100644
--- a/ljpost/lang/ro/messages.po
+++ b/ljpost/lang/ro/messages.po
@@ -28,7 +28,7 @@ msgid "LiveJournal Post Settings"
msgstr "Configurări Postări LiveJournal"
#: ljpost.php:72
-msgid "Enable LiveJournal Post Plugin"
+msgid "Enable LiveJournal Post Addon"
msgstr "Activare Modul Postare LiveJournal"
#: ljpost.php:77
diff --git a/ljpost/lang/ro/strings.php b/ljpost/lang/ro/strings.php
index 4bc21cc4..b65c7754 100644
--- a/ljpost/lang/ro/strings.php
+++ b/ljpost/lang/ro/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_ro($n){
;
$a->strings["Post to LiveJournal"] = "Postați pe LiveJournal";
$a->strings["LiveJournal Post Settings"] = "Configurări Postări LiveJournal";
-$a->strings["Enable LiveJournal Post Plugin"] = "Activare Modul Postare LiveJournal";
+$a->strings["Enable LiveJournal Post Addon"] = "Activare Modul Postare LiveJournal";
$a->strings["LiveJournal username"] = "Utilizator LiveJournal";
$a->strings["LiveJournal password"] = "Parolă LiveJournal ";
$a->strings["Post to LiveJournal by default"] = "Postați implicit pe LiveJournal";
diff --git a/ljpost/lang/ru/strings.php b/ljpost/lang/ru/strings.php
index 8e847437..89a241cd 100644
--- a/ljpost/lang/ru/strings.php
+++ b/ljpost/lang/ru/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to LiveJournal"] = "";
$a->strings["LiveJournal Post Settings"] = "";
-$a->strings["Enable LiveJournal Post Plugin"] = "Включить LiveJournal плагин сообщений";
+$a->strings["Enable LiveJournal Post Addon"] = "Включить LiveJournal плагин сообщений";
$a->strings["LiveJournal username"] = "";
$a->strings["LiveJournal password"] = "";
$a->strings["Post to LiveJournal by default"] = "";
diff --git a/ljpost/lang/zh-cn/strings.php b/ljpost/lang/zh-cn/strings.php
index f34b6365..579eac21 100644
--- a/ljpost/lang/zh-cn/strings.php
+++ b/ljpost/lang/zh-cn/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to LiveJournal"] = "转播到LiveJournal";
$a->strings["LiveJournal Post Settings"] = "LiveJournal转播设置";
-$a->strings["Enable LiveJournal Post Plugin"] = "使Livejournal转播插件可用";
+$a->strings["Enable LiveJournal Post Addon"] = "使Livejournal转播插件可用";
$a->strings["LiveJournal username"] = "LiveJournal用户名";
$a->strings["LiveJournal password"] = "LiveJournal密码";
$a->strings["Post to LiveJournal by default"] = "默认地转播到LiveJournal";
diff --git a/ljpost/ljpost.php b/ljpost/ljpost.php
index 1d5703e1..7843d6f3 100644
--- a/ljpost/ljpost.php
+++ b/ljpost/ljpost.php
@@ -1,5 +1,4 @@
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\PConfig;
function ljpost_install() {
- register_hook('post_local', 'addon/ljpost/ljpost.php', 'ljpost_post_local');
- register_hook('notifier_normal', 'addon/ljpost/ljpost.php', 'ljpost_send');
- register_hook('jot_networks', 'addon/ljpost/ljpost.php', 'ljpost_jot_nets');
- register_hook('connector_settings', 'addon/ljpost/ljpost.php', 'ljpost_settings');
- register_hook('connector_settings_post', 'addon/ljpost/ljpost.php', 'ljpost_settings_post');
+ Addon::registerHook('post_local', 'addon/ljpost/ljpost.php', 'ljpost_post_local');
+ Addon::registerHook('notifier_normal', 'addon/ljpost/ljpost.php', 'ljpost_send');
+ Addon::registerHook('jot_networks', 'addon/ljpost/ljpost.php', 'ljpost_jot_nets');
+ Addon::registerHook('connector_settings', 'addon/ljpost/ljpost.php', 'ljpost_settings');
+ Addon::registerHook('connector_settings_post', 'addon/ljpost/ljpost.php', 'ljpost_settings_post');
}
function ljpost_uninstall() {
- unregister_hook('post_local', 'addon/ljpost/ljpost.php', 'ljpost_post_local');
- unregister_hook('notifier_normal', 'addon/ljpost/ljpost.php', 'ljpost_send');
- unregister_hook('jot_networks', 'addon/ljpost/ljpost.php', 'ljpost_jot_nets');
- unregister_hook('connector_settings', 'addon/ljpost/ljpost.php', 'ljpost_settings');
- unregister_hook('connector_settings_post', 'addon/ljpost/ljpost.php', 'ljpost_settings_post');
+ Addon::unregisterHook('post_local', 'addon/ljpost/ljpost.php', 'ljpost_post_local');
+ Addon::unregisterHook('notifier_normal', 'addon/ljpost/ljpost.php', 'ljpost_send');
+ Addon::unregisterHook('jot_networks', 'addon/ljpost/ljpost.php', 'ljpost_jot_nets');
+ Addon::unregisterHook('connector_settings', 'addon/ljpost/ljpost.php', 'ljpost_settings');
+ Addon::unregisterHook('connector_settings_post', 'addon/ljpost/ljpost.php', 'ljpost_settings_post');
}
@@ -71,7 +70,7 @@ function ljpost_settings(&$a,&$s) {
$s .= '
';
$s .= '
' . t('LiveJournal Post Settings') . '
';
$s .= '
';
- $s .= '';
+ $s .= '';
$s .= '';
$s .= '
';
diff --git a/mahjongg/mahjongg.php b/mahjongg/mahjongg.php
index 977c693d..3567792b 100644
--- a/mahjongg/mahjongg.php
+++ b/mahjongg/mahjongg.php
@@ -6,14 +6,14 @@
* Version: 1.0
* Author: Holger Froese
*/
-
+use Friendica\Core\Addon;
function mahjongg_install() {
- register_hook('app_menu', 'addon/mahjongg/mahjongg.php', 'mahjongg_app_menu');
+ Addon::registerHook('app_menu', 'addon/mahjongg/mahjongg.php', 'mahjongg_app_menu');
}
function mahjongg_uninstall() {
- unregister_hook('app_menu', 'addon/mahjongg/mahjongg.php', 'mahjongg_app_menu');
+ Addon::unregisterHook('app_menu', 'addon/mahjongg/mahjongg.php', 'mahjongg_app_menu');
}
diff --git a/mailstream/mailstream.php b/mailstream/mailstream.php
index 67364365..d40fdb7a 100644
--- a/mailstream/mailstream.php
+++ b/mailstream/mailstream.php
@@ -5,17 +5,17 @@
* Version: 1.1
* Author: Matthew Exon
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\Config;
use Friendica\Core\PConfig;
use Friendica\Database\DBM;
function mailstream_install() {
- register_hook('plugin_settings', 'addon/mailstream/mailstream.php', 'mailstream_plugin_settings');
- register_hook('plugin_settings_post', 'addon/mailstream/mailstream.php', 'mailstream_plugin_settings_post');
- register_hook('post_local_end', 'addon/mailstream/mailstream.php', 'mailstream_post_hook');
- register_hook('post_remote_end', 'addon/mailstream/mailstream.php', 'mailstream_post_hook');
- register_hook('cron', 'addon/mailstream/mailstream.php', 'mailstream_cron');
+ Addon::registerHook('addon_settings', 'addon/mailstream/mailstream.php', 'mailstream_addon_settings');
+ Addon::registerHook('addon_settings_post', 'addon/mailstream/mailstream.php', 'mailstream_addon_settings_post');
+ Addon::registerHook('post_local_end', 'addon/mailstream/mailstream.php', 'mailstream_post_hook');
+ Addon::registerHook('post_remote_end', 'addon/mailstream/mailstream.php', 'mailstream_post_hook');
+ Addon::registerHook('cron', 'addon/mailstream/mailstream.php', 'mailstream_cron');
if (Config::get('mailstream', 'dbversion') == '0.1') {
q('ALTER TABLE `mailstream_item` DROP INDEX `uid`');
@@ -52,21 +52,21 @@ function mailstream_install() {
}
function mailstream_uninstall() {
- unregister_hook('plugin_settings', 'addon/mailstream/mailstream.php', 'mailstream_plugin_settings');
- unregister_hook('plugin_settings_post', 'addon/mailstream/mailstream.php', 'mailstream_plugin_settings_post');
- unregister_hook('post_local', 'addon/mailstream/mailstream.php', 'mailstream_post_local_hook');
- unregister_hook('post_remote', 'addon/mailstream/mailstream.php', 'mailstream_post_remote_hook');
- unregister_hook('post_local_end', 'addon/mailstream/mailstream.php', 'mailstream_post_local_hook');
- unregister_hook('post_remote_end', 'addon/mailstream/mailstream.php', 'mailstream_post_remote_hook');
- unregister_hook('post_local_end', 'addon/mailstream/mailstream.php', 'mailstream_post_hook');
- unregister_hook('post_remote_end', 'addon/mailstream/mailstream.php', 'mailstream_post_hook');
- unregister_hook('cron', 'addon/mailstream/mailstream.php', 'mailstream_cron');
- unregister_hook('incoming_mail', 'addon/mailstream/mailstream.php', 'mailstream_incoming_mail');
+ Addon::unregisterHook('addon_settings', 'addon/mailstream/mailstream.php', 'mailstream_addon_settings');
+ Addon::unregisterHook('addon_settings_post', 'addon/mailstream/mailstream.php', 'mailstream_addon_settings_post');
+ Addon::unregisterHook('post_local', 'addon/mailstream/mailstream.php', 'mailstream_post_local_hook');
+ Addon::unregisterHook('post_remote', 'addon/mailstream/mailstream.php', 'mailstream_post_remote_hook');
+ Addon::unregisterHook('post_local_end', 'addon/mailstream/mailstream.php', 'mailstream_post_local_hook');
+ Addon::unregisterHook('post_remote_end', 'addon/mailstream/mailstream.php', 'mailstream_post_remote_hook');
+ Addon::unregisterHook('post_local_end', 'addon/mailstream/mailstream.php', 'mailstream_post_hook');
+ Addon::unregisterHook('post_remote_end', 'addon/mailstream/mailstream.php', 'mailstream_post_hook');
+ Addon::unregisterHook('cron', 'addon/mailstream/mailstream.php', 'mailstream_cron');
+ Addon::unregisterHook('incoming_mail', 'addon/mailstream/mailstream.php', 'mailstream_incoming_mail');
}
function mailstream_module() {}
-function mailstream_plugin_admin(&$a,&$o) {
+function mailstream_addon_admin(&$a,&$o) {
$frommail = Config::get('mailstream', 'frommail');
$template = get_markup_template('admin.tpl', 'addon/mailstream/');
$config = ['frommail',
@@ -78,7 +78,7 @@ function mailstream_plugin_admin(&$a,&$o) {
'$submit' => t('Save Settings')]);
}
-function mailstream_plugin_admin_post ($a) {
+function mailstream_addon_admin_post ($a) {
if (x($_POST, 'frommail')) {
Config::set('mailstream', 'frommail', $_POST['frommail']);
}
@@ -266,7 +266,7 @@ function mailstream_send($a, $message_id, $item, $user) {
}
$mail = new PHPmailer;
try {
- $mail->XMailer = 'Friendica Mailstream Plugin';
+ $mail->XMailer = 'Friendica Mailstream Addon';
$mail->SetFrom($frommail, mailstream_sender($item));
$mail->AddAddress($address, $user['username']);
$mail->MessageID = $message_id;
@@ -346,7 +346,7 @@ function mailstream_cron($a, $b) {
mailstream_tidy();
}
-function mailstream_plugin_settings(&$a,&$s) {
+function mailstream_addon_settings(&$a,&$s) {
$enabled = PConfig::get(local_user(), 'mailstream', 'enabled');
$address = PConfig::get(local_user(), 'mailstream', 'address');
$nolikes = PConfig::get(local_user(), 'mailstream', 'nolikes');
@@ -376,7 +376,7 @@ function mailstream_plugin_settings(&$a,&$s) {
'$submit' => t('Save Settings')]);
}
-function mailstream_plugin_settings_post($a,$post) {
+function mailstream_addon_settings_post($a,$post) {
if ($_POST['mailstream_address'] != "") {
PConfig::set(local_user(), 'mailstream', 'address', $_POST['mailstream_address']);
}
diff --git a/mailstream/phpmailer/class.phpmailer.php b/mailstream/phpmailer/class.phpmailer.php
index 8ff13f11..c2611e86 100644
--- a/mailstream/phpmailer/class.phpmailer.php
+++ b/mailstream/phpmailer/class.phpmailer.php
@@ -176,7 +176,7 @@ class PHPMailer
public $UseSendmailOptions = true;
/**
- * Path to PHPMailer plugins.
+ * Path to PHPMailer addons.
* Useful if the SMTP class is not in the PHP include path.
* @var string
* @deprecated Should not be needed now there is an autoloader.
diff --git a/mathjax/lang/it/messages.po b/mathjax/lang/it/messages.po
index 82673733..f44812c3 100644
--- a/mathjax/lang/it/messages.po
+++ b/mathjax/lang/it/messages.po
@@ -28,7 +28,7 @@ msgid ""
"The MathJax addon renders mathematical formulae written using the LaTeX "
"syntax surrounded by the usual $$ or an eqnarray block in the postings of "
"your wall,network tab and private mail."
-msgstr "Il plugin \"MatJax\" renderizza formule matematiche scritta usando la sintassi LaTeX circondate dalle usuali $$ o un blocco eqnarray nei messaggi della tua bacheca, pagina Rete e messaggi privati."
+msgstr "Iladdon\"MatJax\" renderizza formule matematiche scritta usando la sintassi LaTeX circondate dalle usuali $$ o un blocco eqnarray nei messaggi della tua bacheca, pagina Rete e messaggi privati."
#: mathjax.php:38
msgid "Use the MathJax renderer"
diff --git a/mathjax/lang/it/strings.php b/mathjax/lang/it/strings.php
index 1481d731..a1aa5b2b 100644
--- a/mathjax/lang/it/strings.php
+++ b/mathjax/lang/it/strings.php
@@ -6,7 +6,7 @@ function string_plural_select_it($n){
}}
;
$a->strings["Settings"] = "Impostazioni";
-$a->strings["The MathJax addon renders mathematical formulae written using the LaTeX syntax surrounded by the usual $$ or an eqnarray block in the postings of your wall,network tab and private mail."] = "Il plugin \"MatJax\" renderizza formule matematiche scritta usando la sintassi LaTeX circondate dalle usuali $$ o un blocco eqnarray nei messaggi della tua bacheca, pagina Rete e messaggi privati.";
+$a->strings["The MathJax addon renders mathematical formulae written using the LaTeX syntax surrounded by the usual $$ or an eqnarray block in the postings of your wall,network tab and private mail."] = "Il addon \"MatJax\" renderizza formule matematiche scritta usando la sintassi LaTeX circondate dalle usuali $$ o un blocco eqnarray nei messaggi della tua bacheca, pagina Rete e messaggi privati.";
$a->strings["Use the MathJax renderer"] = "Usa il render MathJax";
$a->strings["Submit"] = "Invia";
$a->strings["Settings updated."] = "Impostazioni aggiornate.";
diff --git a/mathjax/mathjax.php b/mathjax/mathjax.php
index 2a7bc89c..8308651f 100644
--- a/mathjax/mathjax.php
+++ b/mathjax/mathjax.php
@@ -7,20 +7,20 @@
* Author: Tobias Diekershoff
* License: 3-clause BSD license
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\Config;
use Friendica\Core\PConfig;
function mathjax_install() {
- register_hook('page_header', 'addon/mathjax/mathjax.php', 'mathjax_page_header');
- register_hook('plugin_settings', 'addon/mathjax/mathjax.php', 'mathjax_settings');
- register_hook('plugin_settings_post', 'addon/mathjax/mathjax.php', 'mathjax_settings_post');
- logger('installed js_math plugin');
+ Addon::registerHook('page_header', 'addon/mathjax/mathjax.php', 'mathjax_page_header');
+ Addon::registerHook('addon_settings', 'addon/mathjax/mathjax.php', 'mathjax_settings');
+ Addon::registerHook('addon_settings_post', 'addon/mathjax/mathjax.php', 'mathjax_settings_post');
+ logger('installed js_math addon');
}
function mathjax_uninstall() {
- unregister_hook('page_header', 'addon/mathjax/mathjax.php', 'mathjax_page_header');
- unregister_hook('plugin_settings', 'addon/mathjax/mathjax.php', 'mathjax_settings');
- unregister_hook('plugin_settings_post', 'addon/mathjax/mathjax.php', 'mathjax_settings_post');
+ Addon::unregisterHook('page_header', 'addon/mathjax/mathjax.php', 'mathjax_page_header');
+ Addon::unregisterHook('addon_settings', 'addon/mathjax/mathjax.php', 'mathjax_settings');
+ Addon::unregisterHook('addon_settings_post', 'addon/mathjax/mathjax.php', 'mathjax_settings_post');
}
function mathjax_settings_post ($a, $post) {
if (! local_user())
@@ -68,12 +68,12 @@ function mathjax_page_header($a, &$b) {
}
}
}
-function mathjax_plugin_admin_post (&$a) {
+function mathjax_addon_admin_post (&$a) {
$baseurl = ((x($_POST, 'baseurl')) ? trim($_POST['baseurl']) : 'http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML');
Config::set('mathjax','baseurl',$baseurl);
info( t('Settings updated.'). EOL);
}
-function mathjax_plugin_admin (&$a, &$o) {
+function mathjax_addon_admin (&$a, &$o) {
$t = get_markup_template( "admin.tpl", "addon/mathjax/" );
if (Config::get('mathjax','baseurl','') == '') {
Config::set('mathjax','baseurl','http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML');
diff --git a/membersince/membersince.php b/membersince/membersince.php
index c995c54b..14669e35 100644
--- a/membersince/membersince.php
+++ b/membersince/membersince.php
@@ -1,20 +1,30 @@
- *
+ *
*/
+use Friendica\Core\Addon;
-require_once('include/datetime.php');
+require_once 'include/datetime.php';
-function membersince_install(){ register_hook('profile_advanced','addon/membersince/membersince.php','membersince_display'); }
+function membersince_install()
+{
+ Addon::registerHook('profile_advanced', 'addon/membersince/membersince.php', 'membersince_display');
+}
-function membersince_uninstall(){ unregister_hook('profile_advanced','addon/membersince/membersince.php','membersince_display'); }
+function membersince_uninstall()
+{
+ Addon::unregisterHook('profile_advanced', 'addon/membersince/membersince.php', 'membersince_display');
+}
-function membersince_display(&$a,&$b) {
-$b = preg_replace('/<\/dl>/',"\n\n\n
' . "\n" . '',$b);
-}
\ No newline at end of file
+function membersince_display(&$a, &$b)
+{
+ // Works in Vier
+ $b = preg_replace('/<\/dl>/', "\n\n\n
", $b, 1);
+}
diff --git a/morechoice/morechoice.php b/morechoice/morechoice.php
index d22ec3aa..b8a170a1 100644
--- a/morechoice/morechoice.php
+++ b/morechoice/morechoice.php
@@ -7,24 +7,24 @@
* - who takes no responsibility for any additional content which may appear herein
*
*/
-
+use Friendica\Core\Addon;
function morechoice_install() {
- register_hook('gender_selector', 'addon/morechoice/morechoice.php', 'morechoice_gender_selector');
- register_hook('sexpref_selector', 'addon/morechoice/morechoice.php', 'morechoice_sexpref_selector');
- register_hook('marital_selector', 'addon/morechoice/morechoice.php', 'morechoice_marital_selector');
+ Addon::registerHook('gender_selector', 'addon/morechoice/morechoice.php', 'morechoice_gender_selector');
+ Addon::registerHook('sexpref_selector', 'addon/morechoice/morechoice.php', 'morechoice_sexpref_selector');
+ Addon::registerHook('marital_selector', 'addon/morechoice/morechoice.php', 'morechoice_marital_selector');
}
function morechoice_uninstall() {
- unregister_hook('gender_selector', 'addon/morechoice/morechoice.php', 'morechoice_gender_selector');
- unregister_hook('sexpref_selector', 'addon/morechoice/morechoice.php', 'morechoice_sexpref_selector');
- unregister_hook('marital_selector', 'addon/morechoice/morechoice.php', 'morechoice_marital_selector');
+ Addon::unregisterHook('gender_selector', 'addon/morechoice/morechoice.php', 'morechoice_gender_selector');
+ Addon::unregisterHook('sexpref_selector', 'addon/morechoice/morechoice.php', 'morechoice_sexpref_selector');
+ Addon::unregisterHook('marital_selector', 'addon/morechoice/morechoice.php', 'morechoice_marital_selector');
// We need to leave this here for a while, because we now have a situation where people can end up with an orphaned hook.
- unregister_hook('poke_verbs', 'addon/morechoice/morechoice.php', 'morechoice_poke_verbs');
+ Addon::unregisterHook('poke_verbs', 'addon/morechoice/morechoice.php', 'morechoice_poke_verbs');
}
diff --git a/morepokes/morepokes.php b/morepokes/morepokes.php
index 9fd1a43e..946a486a 100644
--- a/morepokes/morepokes.php
+++ b/morepokes/morepokes.php
@@ -6,13 +6,14 @@
* Author: Thomas Willingham
*
*/
+use Friendica\Core\Addon;
function morepokes_install() {
- register_hook('poke_verbs', 'addon/morepokes/morepokes.php', 'morepokes_poke_verbs');
+ Addon::registerHook('poke_verbs', 'addon/morepokes/morepokes.php', 'morepokes_poke_verbs');
}
function morepokes_uninstall() {
- unregister_hook('poke_verbs', 'addon/morepokes/morepokes.php', 'morepokes_poke_verbs');
+ Addon::unregisterHook('poke_verbs', 'addon/morepokes/morepokes.php', 'morepokes_poke_verbs');
}
function morepokes_poke_verbs($a,&$b) {
diff --git a/namethingy/namethingy.php b/namethingy/namethingy.php
index 0ccf106c..b5faf9fd 100644
--- a/namethingy/namethingy.php
+++ b/namethingy/namethingy.php
@@ -1,5 +1,4 @@
*/
-
+use Friendica\Core\Addon;
function namethingy_install() {
- register_hook('app_menu', 'addon/namethingy/namethingy.php', 'namethingy_app_menu');
+ Addon::registerHook('app_menu', 'addon/namethingy/namethingy.php', 'namethingy_app_menu');
}
function namethingy_uninstall() {
- unregister_hook('app_menu', 'addon/namethingy/namethingy.php', 'namethingy_app_menu');
+ Addon::unregisterHook('app_menu', 'addon/namethingy/namethingy.php', 'namethingy_app_menu');
}
diff --git a/newmemberwidget/newmemberwidget.php b/newmemberwidget/newmemberwidget.php
index 41e4e0d5..516a472e 100644
--- a/newmemberwidget/newmemberwidget.php
+++ b/newmemberwidget/newmemberwidget.php
@@ -9,14 +9,15 @@
require_once('include/bbcode.php');
+use Friendica\Core\Addon;
use Friendica\Core\Config;
function newmemberwidget_install () {
- register_hook( 'network_mod_init', 'addon/newmemberwidget/newmemberwidget.php', 'newmemberwidget_network_mod_init');
+ Addon::registerHook( 'network_mod_init', 'addon/newmemberwidget/newmemberwidget.php', 'newmemberwidget_network_mod_init');
logger('newmemberwidget installed');
}
function newmemberwidget_uninstall () {
- unregister_hook( 'network_mod_init', 'addon/newmemberwidget/newmemberwidget.php', 'newmemberwidget_network_mod_init');
+ Addon::unregisterHook( 'network_mod_init', 'addon/newmemberwidget/newmemberwidget.php', 'newmemberwidget_network_mod_init');
}
function newmemberwidget_network_mod_init ( $a, $b) {
@@ -36,7 +37,7 @@ function newmemberwidget_network_mod_init ( $a, $b) {
}
}
-function newmemberwidget_plugin_admin_post( &$a ) {
+function newmemberwidget_addon_admin_post( &$a ) {
$ft = ((x($_POST, 'freetext')) ? trim($_POST['freetext']) : "");
$lsn = ((x($_POST, 'localsupportname')) ? notags(trim($_POST['localsupportname'])) : "");
$gs = intval($_POST['linkglobalsupport']);
@@ -47,7 +48,7 @@ function newmemberwidget_plugin_admin_post( &$a ) {
Config::set ( 'newmemberwidget', 'localsupport', trim($lsn));
}
-function newmemberwidget_plugin_admin(&$a, &$o){
+function newmemberwidget_addon_admin(&$a, &$o){
$t = get_markup_template('admin.tpl','addon/newmemberwidget');
$o = replace_macros($t, [
'$submit' => t('Save Settings'),
diff --git a/notifyall/notifyall.php b/notifyall/notifyall.php
index a667f6a6..cdaa1815 100644
--- a/notifyall/notifyall.php
+++ b/notifyall/notifyall.php
@@ -21,7 +21,7 @@ function notifyall_uninstall() {
function notifyall_module() {}
-function notifyall_plugin_admin(&$a, &$o) {
+function notifyall_addon_admin(&$a, &$o) {
$o = ' ' . t('Send email to all members') . '';
diff --git a/notimeline/notimeline.php b/notimeline/notimeline.php
index dcf96935..a1acd72c 100644
--- a/notimeline/notimeline.php
+++ b/notimeline/notimeline.php
@@ -7,20 +7,20 @@
*
*
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\PConfig;
function notimeline_install() {
- register_hook('plugin_settings', 'addon/notimeline/notimeline.php', 'notimeline_settings');
- register_hook('plugin_settings_post', 'addon/notimeline/notimeline.php', 'notimeline_settings_post');
+ Addon::registerHook('addon_settings', 'addon/notimeline/notimeline.php', 'notimeline_settings');
+ Addon::registerHook('addon_settings_post', 'addon/notimeline/notimeline.php', 'notimeline_settings_post');
}
function notimeline_uninstall() {
- unregister_hook('plugin_settings', 'addon/notimeline/notimeline.php', 'notimeline_settings');
- unregister_hook('plugin_settings_post', 'addon/notimeline/notimeline.php', 'notimeline_settings_post');
+ Addon::unregisterHook('addon_settings', 'addon/notimeline/notimeline.php', 'notimeline_settings');
+ Addon::unregisterHook('addon_settings_post', 'addon/notimeline/notimeline.php', 'notimeline_settings_post');
}
diff --git a/nsfw/README b/nsfw/README
index 624fb703..e4a8b9d3 100644
--- a/nsfw/README
+++ b/nsfw/README
@@ -6,7 +6,7 @@ Scans the message content for the string 'nsfw'
(case insensitive) and if found replaces the content
with a "click to open/close" link, default is closed.
-If you click on the 'Not safe for work' plugin under
+If you click on the 'Not safe for work' addon under
/settings/addon a text field appears, where you can
extend the list of search terms. The terms must be
seperated by commas.
diff --git a/nsfw/lang/C/messages.po b/nsfw/lang/C/messages.po
index 34ad6565..0fd1035c 100644
--- a/nsfw/lang/C/messages.po
+++ b/nsfw/lang/C/messages.po
@@ -23,7 +23,7 @@ msgstr ""
#: nsfw.php:80
msgid ""
-"This plugin looks in posts for the words/text you specify below, and "
+"This addon looks in posts for the words/text you specify below, and "
"collapses any content containing those keywords so it is not displayed at "
"inappropriate times, such as sexual innuendo that may be improper in a work "
"setting. It is polite and recommended to tag any content containing nudity "
diff --git a/nsfw/lang/ca/strings.php b/nsfw/lang/ca/strings.php
index 36607e47..349ffefd 100644
--- a/nsfw/lang/ca/strings.php
+++ b/nsfw/lang/ca/strings.php
@@ -1,7 +1,7 @@
strings["Not Safe For Work (General Purpose Content Filter) settings"] = "Ajustos, Not Safe For Work (Filtre de Contingut de Propòsit General)";
-$a->strings["This plugin looks in posts for the words/text you specify below, and collapses any content containing those keywords so it is not displayed at inappropriate times, such as sexual innuendo that may be improper in a work setting. It is polite and recommended to tag any content containing nudity with #NSFW. This filter can also match any other word/text you specify, and can thereby be used as a general purpose content filter."] = "Aquest plugin es veu en enviaments amb les paraules/text que s'especifiquen a continuació , i amagarà qualsevol contingut que contingui les paraules clau de manera que no apareguin en moments inapropiats, com ara insinuacions sexuals que poden ser inadequades en un entorn de treball. És de bona educació i es recomana etiquetar qualsevol contingut que contingui nus amb #NSFW. Aquest filtre també es pot fer coincidir amb qualsevol paraula/text que especifiqueu, i per tant pot ser utilitzat com un filtre general de contingut.";
+$a->strings["This addon looks in posts for the words/text you specify below, and collapses any content containing those keywords so it is not displayed at inappropriate times, such as sexual innuendo that may be improper in a work setting. It is polite and recommended to tag any content containing nudity with #NSFW. This filter can also match any other word/text you specify, and can thereby be used as a general purpose content filter."] = "Aquest addon es veu en enviaments amb les paraules/text que s'especifiquen a continuació , i amagarà qualsevol contingut que contingui les paraules clau de manera que no apareguin en moments inapropiats, com ara insinuacions sexuals que poden ser inadequades en un entorn de treball. És de bona educació i es recomana etiquetar qualsevol contingut que contingui nus amb #NSFW. Aquest filtre també es pot fer coincidir amb qualsevol paraula/text que especifiqueu, i per tant pot ser utilitzat com un filtre general de contingut.";
$a->strings["Enable Content filter"] = "Activat el filtre de Contingut";
$a->strings["Comma separated list of keywords to hide"] = "Llista separada per comes de paraules clau per ocultar";
$a->strings["Submit"] = "Enviar";
diff --git a/nsfw/lang/cs/messages.po b/nsfw/lang/cs/messages.po
index da5142ba..61d367c4 100644
--- a/nsfw/lang/cs/messages.po
+++ b/nsfw/lang/cs/messages.po
@@ -25,13 +25,13 @@ msgstr "Not Safe For Work (General Purpose Content Filter) nastavení"
#: nsfw.php:80
msgid ""
-"This plugin looks in posts for the words/text you specify below, and "
+"This addon looks in posts for the words/text you specify below, and "
"collapses any content containing those keywords so it is not displayed at "
"inappropriate times, such as sexual innuendo that may be improper in a work "
"setting. It is polite and recommended to tag any content containing nudity "
"with #NSFW. This filter can also match any other word/text you specify, and"
" can thereby be used as a general purpose content filter."
-msgstr "Tento plugin hledá v příspěvcích slova zadáná níže a skryje jakýkoliv obsah, který tyto slova obsahuje v prostředích, kde to není vhodné. Je slušné a doporučené jakékoliv příspěvky s mahotou označit s #NSFW. Tento filtr může také vyhledávat jakékoliv Vámi specifikované slovní spojení, takže může být využit jako obecný kontextový filtr."
+msgstr "Tento addon hledá v příspěvcích slova zadáná níže a skryje jakýkoliv obsah, který tyto slova obsahuje v prostředích, kde to není vhodné. Je slušné a doporučené jakékoliv příspěvky s mahotou označit s #NSFW. Tento filtr může také vyhledávat jakékoliv Vámi specifikované slovní spojení, takže může být využit jako obecný kontextový filtr."
#: nsfw.php:81
msgid "Enable Content filter"
diff --git a/nsfw/lang/cs/strings.php b/nsfw/lang/cs/strings.php
index 97314495..fd07368b 100644
--- a/nsfw/lang/cs/strings.php
+++ b/nsfw/lang/cs/strings.php
@@ -6,7 +6,7 @@ function string_plural_select_cs($n){
}}
;
$a->strings["Not Safe For Work (General Purpose Content Filter) settings"] = "Not Safe For Work (General Purpose Content Filter) nastavení";
-$a->strings["This plugin looks in posts for the words/text you specify below, and collapses any content containing those keywords so it is not displayed at inappropriate times, such as sexual innuendo that may be improper in a work setting. It is polite and recommended to tag any content containing nudity with #NSFW. This filter can also match any other word/text you specify, and can thereby be used as a general purpose content filter."] = "Tento plugin hledá v příspěvcích slova zadáná níže a skryje jakýkoliv obsah, který tyto slova obsahuje v prostředích, kde to není vhodné. Je slušné a doporučené jakékoliv příspěvky s mahotou označit s #NSFW. Tento filtr může také vyhledávat jakékoliv Vámi specifikované slovní spojení, takže může být využit jako obecný kontextový filtr.";
+$a->strings["This addon looks in posts for the words/text you specify below, and collapses any content containing those keywords so it is not displayed at inappropriate times, such as sexual innuendo that may be improper in a work setting. It is polite and recommended to tag any content containing nudity with #NSFW. This filter can also match any other word/text you specify, and can thereby be used as a general purpose content filter."] = "Tento addon hledá v příspěvcích slova zadáná níže a skryje jakýkoliv obsah, který tyto slova obsahuje v prostředích, kde to není vhodné. Je slušné a doporučené jakékoliv příspěvky s mahotou označit s #NSFW. Tento filtr může také vyhledávat jakékoliv Vámi specifikované slovní spojení, takže může být využit jako obecný kontextový filtr.";
$a->strings["Enable Content filter"] = "Povolit Kontextový filtr";
$a->strings["Comma separated list of keywords to hide"] = "Čárkou oddělený seznam klíčových slov ke skrytí";
$a->strings["Submit"] = "Odeslat";
diff --git a/nsfw/lang/de/messages.po b/nsfw/lang/de/messages.po
index 1355f8ab..192c33cf 100644
--- a/nsfw/lang/de/messages.po
+++ b/nsfw/lang/de/messages.po
@@ -26,13 +26,13 @@ msgstr "Not Safe for Work (Filter für ungewollte Inhalte) Einstellungen:"
#: nsfw.php:80
msgid ""
-"This plugin looks in posts for the words/text you specify below, and "
+"This addon looks in posts for the words/text you specify below, and "
"collapses any content containing those keywords so it is not displayed at "
"inappropriate times, such as sexual innuendo that may be improper in a work "
"setting. It is polite and recommended to tag any content containing nudity "
"with #NSFW. This filter can also match any other word/text you specify, and"
" can thereby be used as a general purpose content filter."
-msgstr "Dieses Plugin sucht in Beiträgen nach Wörtern oder Textbauteilen die du weiter unten eingibst, findet es diese Bausteine, dann wird der entsprechende Beitrag zusammengefaltet dargestellt. Auf diese Weise wird verhindert, dass Inhalte, wie z.B. sexuelle Anspielungen, in unpassenden Momenten angezeigt werden. Du solltest den #NSFW Tag für Beiträge verwenden von denen du ausgehen kannst, dass andere sie anstößig finden könnten. Su kannst beliebige Wörter in der Filterliste angeben und ihn so als allgemeinen Filter verwenden."
+msgstr "Dieses Addon sucht in Beiträgen nach Wörtern oder Textbauteilen die du weiter unten eingibst, findet es diese Bausteine, dann wird der entsprechende Beitrag zusammengefaltet dargestellt. Auf diese Weise wird verhindert, dass Inhalte, wie z.B. sexuelle Anspielungen, in unpassenden Momenten angezeigt werden. Du solltest den #NSFW Tag für Beiträge verwenden von denen du ausgehen kannst, dass andere sie anstößig finden könnten. Su kannst beliebige Wörter in der Filterliste angeben und ihn so als allgemeinen Filter verwenden."
#: nsfw.php:81
msgid "Enable Content filter"
diff --git a/nsfw/lang/de/strings.php b/nsfw/lang/de/strings.php
index 36e258fa..a313c505 100644
--- a/nsfw/lang/de/strings.php
+++ b/nsfw/lang/de/strings.php
@@ -6,7 +6,7 @@ function string_plural_select_de($n){
}}
;
$a->strings["Not Safe For Work (General Purpose Content Filter) settings"] = "Not Safe for Work (Filter für ungewollte Inhalte) Einstellungen:";
-$a->strings["This plugin looks in posts for the words/text you specify below, and collapses any content containing those keywords so it is not displayed at inappropriate times, such as sexual innuendo that may be improper in a work setting. It is polite and recommended to tag any content containing nudity with #NSFW. This filter can also match any other word/text you specify, and can thereby be used as a general purpose content filter."] = "Dieses Plugin sucht in Beiträgen nach Wörtern oder Textbauteilen die du weiter unten eingibst, findet es diese Bausteine, dann wird der entsprechende Beitrag zusammengefaltet dargestellt. Auf diese Weise wird verhindert, dass Inhalte, wie z.B. sexuelle Anspielungen, in unpassenden Momenten angezeigt werden. Du solltest den #NSFW Tag für Beiträge verwenden von denen du ausgehen kannst, dass andere sie anstößig finden könnten. Su kannst beliebige Wörter in der Filterliste angeben und ihn so als allgemeinen Filter verwenden.";
+$a->strings["This addon looks in posts for the words/text you specify below, and collapses any content containing those keywords so it is not displayed at inappropriate times, such as sexual innuendo that may be improper in a work setting. It is polite and recommended to tag any content containing nudity with #NSFW. This filter can also match any other word/text you specify, and can thereby be used as a general purpose content filter."] = "Dieses Addon sucht in Beiträgen nach Wörtern oder Textbauteilen die du weiter unten eingibst, findet es diese Bausteine, dann wird der entsprechende Beitrag zusammengefaltet dargestellt. Auf diese Weise wird verhindert, dass Inhalte, wie z.B. sexuelle Anspielungen, in unpassenden Momenten angezeigt werden. Du solltest den #NSFW Tag für Beiträge verwenden von denen du ausgehen kannst, dass andere sie anstößig finden könnten. Su kannst beliebige Wörter in der Filterliste angeben und ihn so als allgemeinen Filter verwenden.";
$a->strings["Enable Content filter"] = "Aktiviere den Inhaltsfilter";
$a->strings["Comma separated list of keywords to hide"] = "Durch Kommata getrennte Liste von Schlüsselwörtern die verborgen werden sollen";
$a->strings["Submit"] = "Senden";
diff --git a/nsfw/lang/eo/strings.php b/nsfw/lang/eo/strings.php
index d3f39d08..13da052a 100644
--- a/nsfw/lang/eo/strings.php
+++ b/nsfw/lang/eo/strings.php
@@ -1,7 +1,7 @@
strings["Not Safe For Work (General Purpose Content Filter) settings"] = "Not Safe For Work (ĝenerala filtrilo por enhavoj) agordoj";
-$a->strings["This plugin looks in posts for the words/text you specify below, and collapses any content containing those keywords so it is not displayed at inappropriate times, such as sexual innuendo that may be improper in a work setting. It is polite and recommended to tag any content containing nudity with #NSFW. This filter can also match any other word/text you specify, and can thereby be used as a general purpose content filter."] = "Tiu kromprogramo serĉas la malsupre agordatajn vortojn en afiŝoj kaj malvidebligis ilin se ili enhavas iun vorton. Tiel, afiŝoj ne montriĝis kiuj enhavas maladekvatan enhavon, ekzemple seksumaj aferoj, kiuj ne estas adekvata, ekzemple en la laborejo. En la reto, oni kutime markas tiajn afiŝojn #NSFW - Not Safe For Work - ne adekvata por la laborejo. La filtrilo ankaŭ serĉas ĉiujn vortojn kiujn vi agordas kaj tial funkcias kiel ĝenerala filtrilo.";
+$a->strings["This addon looks in posts for the words/text you specify below, and collapses any content containing those keywords so it is not displayed at inappropriate times, such as sexual innuendo that may be improper in a work setting. It is polite and recommended to tag any content containing nudity with #NSFW. This filter can also match any other word/text you specify, and can thereby be used as a general purpose content filter."] = "Tiu kromprogramo serĉas la malsupre agordatajn vortojn en afiŝoj kaj malvidebligis ilin se ili enhavas iun vorton. Tiel, afiŝoj ne montriĝis kiuj enhavas maladekvatan enhavon, ekzemple seksumaj aferoj, kiuj ne estas adekvata, ekzemple en la laborejo. En la reto, oni kutime markas tiajn afiŝojn #NSFW - Not Safe For Work - ne adekvata por la laborejo. La filtrilo ankaŭ serĉas ĉiujn vortojn kiujn vi agordas kaj tial funkcias kiel ĝenerala filtrilo.";
$a->strings["Enable Content filter"] = "Ŝalti la filtrilo por la enhavo";
$a->strings["Comma separated list of keywords to hide"] = "Perkome disigita listo da kaŝontaj ŝlosilvortoj";
$a->strings["Submit"] = "Sendi";
diff --git a/nsfw/lang/es/messages.po b/nsfw/lang/es/messages.po
index 45659825..2950395f 100644
--- a/nsfw/lang/es/messages.po
+++ b/nsfw/lang/es/messages.po
@@ -25,13 +25,13 @@ msgstr "Configuración \"No apto para trabajar\" (Filtro genérico de contenido)
#: nsfw.php:80
msgid ""
-"This plugin looks in posts for the words/text you specify below, and "
+"This addon looks in posts for the words/text you specify below, and "
"collapses any content containing those keywords so it is not displayed at "
"inappropriate times, such as sexual innuendo that may be improper in a work "
"setting. It is polite and recommended to tag any content containing nudity "
"with #NSFW. This filter can also match any other word/text you specify, and"
" can thereby be used as a general purpose content filter."
-msgstr "Este plugin se fija por el contenido del texto y colapsa todo tema o respuesta que contiene las palabras establecidas. Como tales pueden ser contenido sexual o de otra índole que no conviene desplegar en el trabajo o ambientes correspondientes. Es de buena educación y recomendado de identificar todo tipo de contenido explicito con #NSFW. Este filtro además puede ser usado con cualquier palabra a especificar y por lo tanto ser usado como un filtro generico de contenido."
+msgstr "Este addon se fija por el contenido del texto y colapsa todo tema o respuesta que contiene las palabras establecidas. Como tales pueden ser contenido sexual o de otra índole que no conviene desplegar en el trabajo o ambientes correspondientes. Es de buena educación y recomendado de identificar todo tipo de contenido explicito con #NSFW. Este filtro además puede ser usado con cualquier palabra a especificar y por lo tanto ser usado como un filtro generico de contenido."
#: nsfw.php:81
msgid "Enable Content filter"
diff --git a/nsfw/lang/es/strings.php b/nsfw/lang/es/strings.php
index 54fb2688..75d3211d 100644
--- a/nsfw/lang/es/strings.php
+++ b/nsfw/lang/es/strings.php
@@ -6,7 +6,7 @@ function string_plural_select_es($n){
}}
;
$a->strings["Not Safe For Work (General Purpose Content Filter) settings"] = "Configuración \"No apto para trabajar\" (Filtro genérico de contenido)";
-$a->strings["This plugin looks in posts for the words/text you specify below, and collapses any content containing those keywords so it is not displayed at inappropriate times, such as sexual innuendo that may be improper in a work setting. It is polite and recommended to tag any content containing nudity with #NSFW. This filter can also match any other word/text you specify, and can thereby be used as a general purpose content filter."] = "Este plugin se fija por el contenido del texto y colapsa todo tema o respuesta que contiene las palabras establecidas. Como tales pueden ser contenido sexual o de otra índole que no conviene desplegar en el trabajo o ambientes correspondientes. Es de buena educación y recomendado de identificar todo tipo de contenido explicito con #NSFW. Este filtro además puede ser usado con cualquier palabra a especificar y por lo tanto ser usado como un filtro generico de contenido.";
+$a->strings["This addon looks in posts for the words/text you specify below, and collapses any content containing those keywords so it is not displayed at inappropriate times, such as sexual innuendo that may be improper in a work setting. It is polite and recommended to tag any content containing nudity with #NSFW. This filter can also match any other word/text you specify, and can thereby be used as a general purpose content filter."] = "Este addon se fija por el contenido del texto y colapsa todo tema o respuesta que contiene las palabras establecidas. Como tales pueden ser contenido sexual o de otra índole que no conviene desplegar en el trabajo o ambientes correspondientes. Es de buena educación y recomendado de identificar todo tipo de contenido explicito con #NSFW. Este filtro además puede ser usado con cualquier palabra a especificar y por lo tanto ser usado como un filtro generico de contenido.";
$a->strings["Enable Content filter"] = "Habilitar filtro de contenido";
$a->strings["Comma separated list of keywords to hide"] = "Lista de palabras claves separadas por coma para colapsar el contenido correspondiente.";
$a->strings["Submit"] = "Enviar";
diff --git a/nsfw/lang/fr/strings.php b/nsfw/lang/fr/strings.php
index 1bfbfdfa..09086f48 100644
--- a/nsfw/lang/fr/strings.php
+++ b/nsfw/lang/fr/strings.php
@@ -1,7 +1,7 @@
strings["Not Safe For Work (General Purpose Content Filter) settings"] = "Réglages de \"NSFW\" (filtrage de contenu)";
-$a->strings["This plugin looks in posts for the words/text you specify below, and collapses any content containing those keywords so it is not displayed at inappropriate times, such as sexual innuendo that may be improper in a work setting. It is polite and recommended to tag any content containing nudity with #NSFW. This filter can also match any other word/text you specify, and can thereby be used as a general purpose content filter."] = "Cette extension va parcourir les publications à la recherche des mots (ou phrases) que vous spécifierez ci-dessous, et repliera automatiquement tout contenu qui les contiendrait, afin de ne pas risquer de les afficher à un moment inopportun. Comme par exemple des messages à caractère sexuel dans un contexte professionnel. Il est globalement considéré comme correct et poli de \"tagguer\" toute publication contenant de la nudité avec #NSFW (Not Safe For Work - pas pour le boulot). Ce filtre peut également fonctionner pour tout autre texte que vous spécifierez, et pourra ainsi être utilisé comme filtre de contenu générique.";
+$a->strings["This addon looks in posts for the words/text you specify below, and collapses any content containing those keywords so it is not displayed at inappropriate times, such as sexual innuendo that may be improper in a work setting. It is polite and recommended to tag any content containing nudity with #NSFW. This filter can also match any other word/text you specify, and can thereby be used as a general purpose content filter."] = "Cette extension va parcourir les publications à la recherche des mots (ou phrases) que vous spécifierez ci-dessous, et repliera automatiquement tout contenu qui les contiendrait, afin de ne pas risquer de les afficher à un moment inopportun. Comme par exemple des messages à caractère sexuel dans un contexte professionnel. Il est globalement considéré comme correct et poli de \"tagguer\" toute publication contenant de la nudité avec #NSFW (Not Safe For Work - pas pour le boulot). Ce filtre peut également fonctionner pour tout autre texte que vous spécifierez, et pourra ainsi être utilisé comme filtre de contenu générique.";
$a->strings["Enable Content filter"] = "Activer le filtrage de contenu";
$a->strings["Comma separated list of keywords to hide"] = "Liste de mots-clés - séparés par des virgules - à cacher";
$a->strings["Submit"] = "Envoyer";
diff --git a/nsfw/lang/is/strings.php b/nsfw/lang/is/strings.php
index f4bcb824..534f19c2 100644
--- a/nsfw/lang/is/strings.php
+++ b/nsfw/lang/is/strings.php
@@ -1,7 +1,7 @@
strings["Not Safe For Work (General Purpose Content Filter) settings"] = "";
-$a->strings["This plugin looks in posts for the words/text you specify below, and collapses any content containing those keywords so it is not displayed at inappropriate times, such as sexual innuendo that may be improper in a work setting. It is polite and recommended to tag any content containing nudity with #NSFW. This filter can also match any other word/text you specify, and can thereby be used as a general purpose content filter."] = "";
+$a->strings["This addon looks in posts for the words/text you specify below, and collapses any content containing those keywords so it is not displayed at inappropriate times, such as sexual innuendo that may be improper in a work setting. It is polite and recommended to tag any content containing nudity with #NSFW. This filter can also match any other word/text you specify, and can thereby be used as a general purpose content filter."] = "";
$a->strings["Enable Content filter"] = "";
$a->strings["Comma separated list of keywords to hide"] = "";
$a->strings["Submit"] = "Senda inn";
diff --git a/nsfw/lang/it/messages.po b/nsfw/lang/it/messages.po
index 934a3cae..37b25740 100644
--- a/nsfw/lang/it/messages.po
+++ b/nsfw/lang/it/messages.po
@@ -25,13 +25,13 @@ msgstr "Impostazioni per NSWF (Filtro Contenuti Generico)"
#: nsfw.php:80
msgid ""
-"This plugin looks in posts for the words/text you specify below, and "
+"This addon looks in posts for the words/text you specify below, and "
"collapses any content containing those keywords so it is not displayed at "
"inappropriate times, such as sexual innuendo that may be improper in a work "
"setting. It is polite and recommended to tag any content containing nudity "
"with #NSFW. This filter can also match any other word/text you specify, and"
" can thereby be used as a general purpose content filter."
-msgstr "Questo plugin cerca nei messagi le parole/testo che inserisci qui sotto, e collassa i messaggi che li contengono, per non mostrare contenuto inappropriato nel momento sbagliato, come contenuto a sfondo sessuale che può essere inappropriato in un ambiente di lavoro. E' educato (e consigliato) taggare i messaggi che contengono nudità con #NSFW (Not Safe For Work: Non Sicuro Per il Lavoro). Questo filtro può cercare anche qualsiasi parola che inserisci, quindi può essere usato come filtro di contenuti generico."
+msgstr "Questo addon cerca nei messagi le parole/testo che inserisci qui sotto, e collassa i messaggi che li contengono, per non mostrare contenuto inappropriato nel momento sbagliato, come contenuto a sfondo sessuale che può essere inappropriato in un ambiente di lavoro. E' educato (e consigliato) taggare i messaggi che contengono nudità con #NSFW (Not Safe For Work: Non Sicuro Per il Lavoro). Questo filtro può cercare anche qualsiasi parola che inserisci, quindi può essere usato come filtro di contenuti generico."
#: nsfw.php:81
msgid "Enable Content filter"
diff --git a/nsfw/lang/it/strings.php b/nsfw/lang/it/strings.php
index 36f7d972..fc8ec54d 100644
--- a/nsfw/lang/it/strings.php
+++ b/nsfw/lang/it/strings.php
@@ -6,7 +6,7 @@ function string_plural_select_it($n){
}}
;
$a->strings["Not Safe For Work (General Purpose Content Filter) settings"] = "Impostazioni per NSWF (Filtro Contenuti Generico)";
-$a->strings["This plugin looks in posts for the words/text you specify below, and collapses any content containing those keywords so it is not displayed at inappropriate times, such as sexual innuendo that may be improper in a work setting. It is polite and recommended to tag any content containing nudity with #NSFW. This filter can also match any other word/text you specify, and can thereby be used as a general purpose content filter."] = "Questo plugin cerca nei messagi le parole/testo che inserisci qui sotto, e collassa i messaggi che li contengono, per non mostrare contenuto inappropriato nel momento sbagliato, come contenuto a sfondo sessuale che può essere inappropriato in un ambiente di lavoro. E' educato (e consigliato) taggare i messaggi che contengono nudità con #NSFW (Not Safe For Work: Non Sicuro Per il Lavoro). Questo filtro può cercare anche qualsiasi parola che inserisci, quindi può essere usato come filtro di contenuti generico.";
+$a->strings["This addon looks in posts for the words/text you specify below, and collapses any content containing those keywords so it is not displayed at inappropriate times, such as sexual innuendo that may be improper in a work setting. It is polite and recommended to tag any content containing nudity with #NSFW. This filter can also match any other word/text you specify, and can thereby be used as a general purpose content filter."] = "Questo addon cerca nei messagi le parole/testo che inserisci qui sotto, e collassa i messaggi che li contengono, per non mostrare contenuto inappropriato nel momento sbagliato, come contenuto a sfondo sessuale che può essere inappropriato in un ambiente di lavoro. E' educato (e consigliato) taggare i messaggi che contengono nudità con #NSFW (Not Safe For Work: Non Sicuro Per il Lavoro). Questo filtro può cercare anche qualsiasi parola che inserisci, quindi può essere usato come filtro di contenuti generico.";
$a->strings["Enable Content filter"] = "Abilita il Filtro Contenuti";
$a->strings["Comma separated list of keywords to hide"] = "Elenco separato da virgole di parole da nascondere";
$a->strings["Submit"] = "Invia";
diff --git a/nsfw/lang/nb-no/strings.php b/nsfw/lang/nb-no/strings.php
index 7836003f..5274da91 100644
--- a/nsfw/lang/nb-no/strings.php
+++ b/nsfw/lang/nb-no/strings.php
@@ -1,7 +1,7 @@
strings["Not Safe For Work (General Purpose Content Filter) settings"] = "";
-$a->strings["This plugin looks in posts for the words/text you specify below, and collapses any content containing those keywords so it is not displayed at inappropriate times, such as sexual innuendo that may be improper in a work setting. It is polite and recommended to tag any content containing nudity with #NSFW. This filter can also match any other word/text you specify, and can thereby be used as a general purpose content filter."] = "";
+$a->strings["This addon looks in posts for the words/text you specify below, and collapses any content containing those keywords so it is not displayed at inappropriate times, such as sexual innuendo that may be improper in a work setting. It is polite and recommended to tag any content containing nudity with #NSFW. This filter can also match any other word/text you specify, and can thereby be used as a general purpose content filter."] = "";
$a->strings["Enable Content filter"] = "";
$a->strings["Comma separated list of keywords to hide"] = "";
$a->strings["Submit"] = "Lagre";
diff --git a/nsfw/lang/pl/strings.php b/nsfw/lang/pl/strings.php
index b99d9ec2..ea2189ca 100644
--- a/nsfw/lang/pl/strings.php
+++ b/nsfw/lang/pl/strings.php
@@ -1,7 +1,7 @@
strings["Not Safe For Work (General Purpose Content Filter) settings"] = "";
-$a->strings["This plugin looks in posts for the words/text you specify below, and collapses any content containing those keywords so it is not displayed at inappropriate times, such as sexual innuendo that may be improper in a work setting. It is polite and recommended to tag any content containing nudity with #NSFW. This filter can also match any other word/text you specify, and can thereby be used as a general purpose content filter."] = "";
+$a->strings["This addon looks in posts for the words/text you specify below, and collapses any content containing those keywords so it is not displayed at inappropriate times, such as sexual innuendo that may be improper in a work setting. It is polite and recommended to tag any content containing nudity with #NSFW. This filter can also match any other word/text you specify, and can thereby be used as a general purpose content filter."] = "";
$a->strings["Enable Content filter"] = "";
$a->strings["Comma separated list of keywords to hide"] = "";
$a->strings["Submit"] = "Potwierdź";
diff --git a/nsfw/lang/pt-br/messages.po b/nsfw/lang/pt-br/messages.po
index 013c8b48..10435354 100644
--- a/nsfw/lang/pt-br/messages.po
+++ b/nsfw/lang/pt-br/messages.po
@@ -25,7 +25,7 @@ msgstr ""
#: nsfw.php:80
msgid ""
-"This plugin looks in posts for the words/text you specify below, and "
+"This addon looks in posts for the words/text you specify below, and "
"collapses any content containing those keywords so it is not displayed at "
"inappropriate times, such as sexual innuendo that may be improper in a work "
"setting. It is polite and recommended to tag any content containing nudity "
diff --git a/nsfw/lang/pt-br/strings.php b/nsfw/lang/pt-br/strings.php
index 6c1b15d9..21a81492 100644
--- a/nsfw/lang/pt-br/strings.php
+++ b/nsfw/lang/pt-br/strings.php
@@ -6,7 +6,7 @@ function string_plural_select_pt_br($n){
}}
;
$a->strings["Not Safe For Work (General Purpose Content Filter) settings"] = "";
-$a->strings["This plugin looks in posts for the words/text you specify below, and collapses any content containing those keywords so it is not displayed at inappropriate times, such as sexual innuendo that may be improper in a work setting. It is polite and recommended to tag any content containing nudity with #NSFW. This filter can also match any other word/text you specify, and can thereby be used as a general purpose content filter."] = "";
+$a->strings["This addon looks in posts for the words/text you specify below, and collapses any content containing those keywords so it is not displayed at inappropriate times, such as sexual innuendo that may be improper in a work setting. It is polite and recommended to tag any content containing nudity with #NSFW. This filter can also match any other word/text you specify, and can thereby be used as a general purpose content filter."] = "";
$a->strings["Enable Content filter"] = "Habilitar filtro de conteúdo";
$a->strings["Comma separated list of keywords to hide"] = "";
$a->strings["Submit"] = "Enviar";
diff --git a/nsfw/lang/ro/messages.po b/nsfw/lang/ro/messages.po
index 503813c4..06d97e3f 100644
--- a/nsfw/lang/ro/messages.po
+++ b/nsfw/lang/ro/messages.po
@@ -25,7 +25,7 @@ msgstr "Nesigur Pentru Lucru (Filtrare de Conținut pentru Uz General )"
#: nsfw.php:80
msgid ""
-"This plugin looks in posts for the words/text you specify below, and "
+"This addon looks in posts for the words/text you specify below, and "
"collapses any content containing those keywords so it is not displayed at "
"inappropriate times, such as sexual innuendo that may be improper in a work "
"setting. It is polite and recommended to tag any content containing nudity "
diff --git a/nsfw/lang/ro/strings.php b/nsfw/lang/ro/strings.php
index 28f71d2c..f03f490f 100644
--- a/nsfw/lang/ro/strings.php
+++ b/nsfw/lang/ro/strings.php
@@ -6,7 +6,7 @@ function string_plural_select_ro($n){
}}
;
$a->strings["Not Safe For Work (General Purpose Content Filter) settings"] = "Nesigur Pentru Lucru (Filtrare de Conținut pentru Uz General )";
-$a->strings["This plugin looks in posts for the words/text you specify below, and collapses any content containing those keywords so it is not displayed at inappropriate times, such as sexual innuendo that may be improper in a work setting. It is polite and recommended to tag any content containing nudity with #NSFW. This filter can also match any other word/text you specify, and can thereby be used as a general purpose content filter."] = "Acest modul verifică în postări, cuvintele/textele pe care le specificați mai jos, și cenzurează orice conținut cu aceste cuvinte cheie, astfel încât să nu se afișeze în momentele necorespunzătoare, precum aluziile sexuale ce pot fi necorespunzătoare într-un mediu de lucru. Este politicos și recomandat să etichetați orice conținut cu nuditate, folosind eticheta #NSFW. Acest filtru poate de asemenea, potrivi orice alt cuvânt/text specificat, şi poate fi folosit astfel și ca filtru de conținut cu scop general.";
+$a->strings["This addon looks in posts for the words/text you specify below, and collapses any content containing those keywords so it is not displayed at inappropriate times, such as sexual innuendo that may be improper in a work setting. It is polite and recommended to tag any content containing nudity with #NSFW. This filter can also match any other word/text you specify, and can thereby be used as a general purpose content filter."] = "Acest modul verifică în postări, cuvintele/textele pe care le specificați mai jos, și cenzurează orice conținut cu aceste cuvinte cheie, astfel încât să nu se afișeze în momentele necorespunzătoare, precum aluziile sexuale ce pot fi necorespunzătoare într-un mediu de lucru. Este politicos și recomandat să etichetați orice conținut cu nuditate, folosind eticheta #NSFW. Acest filtru poate de asemenea, potrivi orice alt cuvânt/text specificat, şi poate fi folosit astfel și ca filtru de conținut cu scop general.";
$a->strings["Enable Content filter"] = "Activare filtru de Conținut";
$a->strings["Comma separated list of keywords to hide"] = "Lista cu separator prin virgulă a cuvintelor cheie, ce vor declanșa ascunderea";
$a->strings["Submit"] = "Trimite";
diff --git a/nsfw/lang/ru/strings.php b/nsfw/lang/ru/strings.php
index 2ccb5ad1..7e821ed8 100644
--- a/nsfw/lang/ru/strings.php
+++ b/nsfw/lang/ru/strings.php
@@ -1,7 +1,7 @@
strings["Not Safe For Work (General Purpose Content Filter) settings"] = "";
-$a->strings["This plugin looks in posts for the words/text you specify below, and collapses any content containing those keywords so it is not displayed at inappropriate times, such as sexual innuendo that may be improper in a work setting. It is polite and recommended to tag any content containing nudity with #NSFW. This filter can also match any other word/text you specify, and can thereby be used as a general purpose content filter."] = "";
+$a->strings["This addon looks in posts for the words/text you specify below, and collapses any content containing those keywords so it is not displayed at inappropriate times, such as sexual innuendo that may be improper in a work setting. It is polite and recommended to tag any content containing nudity with #NSFW. This filter can also match any other word/text you specify, and can thereby be used as a general purpose content filter."] = "";
$a->strings["Enable Content filter"] = "Включить фильтр содержимого";
$a->strings["Comma separated list of keywords to hide"] = "ключевые слова, которые скрыть (список через запятую)";
$a->strings["Submit"] = "Подтвердить";
diff --git a/nsfw/lang/zh-cn/strings.php b/nsfw/lang/zh-cn/strings.php
index 0669361a..44e9cc57 100644
--- a/nsfw/lang/zh-cn/strings.php
+++ b/nsfw/lang/zh-cn/strings.php
@@ -1,7 +1,7 @@
strings["Not Safe For Work (General Purpose Content Filter) settings"] = "工作不安全(通用内容过滤)设置";
-$a->strings["This plugin looks in posts for the words/text you specify below, and collapses any content containing those keywords so it is not displayed at inappropriate times, such as sexual innuendo that may be improper in a work setting. It is polite and recommended to tag any content containing nudity with #NSFW. This filter can also match any other word/text you specify, and can thereby be used as a general purpose content filter."] = "这个插件找您下面输入的词在所有的文章里,和把包括那些词的内容隐藏,省得不妥当的时候表示,比如性的影射在办公室里。是礼貌和建议的把什么包括裸体的内容跟#NSFW标签。这个过滤也会符合设么别的您输入的词,从而能当通用内容过滤有用的。";
+$a->strings["This addon looks in posts for the words/text you specify below, and collapses any content containing those keywords so it is not displayed at inappropriate times, such as sexual innuendo that may be improper in a work setting. It is polite and recommended to tag any content containing nudity with #NSFW. This filter can also match any other word/text you specify, and can thereby be used as a general purpose content filter."] = "这个插件找您下面输入的词在所有的文章里,和把包括那些词的内容隐藏,省得不妥当的时候表示,比如性的影射在办公室里。是礼貌和建议的把什么包括裸体的内容跟#NSFW标签。这个过滤也会符合设么别的您输入的词,从而能当通用内容过滤有用的。";
$a->strings["Enable Content filter"] = "使内容过滤可用";
$a->strings["Comma separated list of keywords to hide"] = "逗号分隔单词要隐藏";
$a->strings["Submit"] = "提交";
diff --git a/nsfw/nsfw.php b/nsfw/nsfw.php
index 6592738d..e43f0b51 100644
--- a/nsfw/nsfw.php
+++ b/nsfw/nsfw.php
@@ -1,6 +1,4 @@
*
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\PConfig;
function nsfw_install() {
- register_hook('prepare_body', 'addon/nsfw/nsfw.php', 'nsfw_prepare_body', 10);
- register_hook('plugin_settings', 'addon/nsfw/nsfw.php', 'nsfw_addon_settings');
- register_hook('plugin_settings_post', 'addon/nsfw/nsfw.php', 'nsfw_addon_settings_post');
+ Addon::registerHook('prepare_body', 'addon/nsfw/nsfw.php', 'nsfw_prepare_body', 10);
+ Addon::registerHook('addon_settings', 'addon/nsfw/nsfw.php', 'nsfw_addon_settings');
+ Addon::registerHook('addon_settings_post', 'addon/nsfw/nsfw.php', 'nsfw_addon_settings_post');
}
function nsfw_uninstall() {
- unregister_hook('prepare_body', 'addon/nsfw/nsfw.php', 'nsfw_prepare_body');
- unregister_hook('plugin_settings', 'addon/nsfw/nsfw.php', 'nsfw_addon_settings');
- unregister_hook('plugin_settings_post', 'addon/nsfw/nsfw.php', 'nsfw_addon_settings_post');
+ Addon::unregisterHook('prepare_body', 'addon/nsfw/nsfw.php', 'nsfw_prepare_body');
+ Addon::unregisterHook('addon_settings', 'addon/nsfw/nsfw.php', 'nsfw_addon_settings');
+ Addon::unregisterHook('addon_settings_post', 'addon/nsfw/nsfw.php', 'nsfw_addon_settings_post');
}
@@ -85,7 +83,7 @@ function nsfw_addon_settings(&$a,&$s) {
$s .= '';
$s .= '
';
- $s .= '
' . t ('This plugin looks in posts for the words/text you specify below, and collapses any content containing those keywords so it is not displayed at inappropriate times, such as sexual innuendo that may be improper in a work setting. It is polite and recommended to tag any content containing nudity with #NSFW. This filter can also match any other word/text you specify, and can thereby be used as a general purpose content filter.') . '
';
+ $s .= '
' . t ('This addon looks in posts for the words/text you specify below, and collapses any content containing those keywords so it is not displayed at inappropriate times, such as sexual innuendo that may be improper in a work setting. It is polite and recommended to tag any content containing nudity with #NSFW. This filter can also match any other word/text you specify, and can thereby be used as a general purpose content filter.') . '
';
$s .= '';
$s .= '';
$s .= '';
diff --git a/numfriends/numfriends.php b/numfriends/numfriends.php
index 98295bfb..5d6575c4 100644
--- a/numfriends/numfriends.php
+++ b/numfriends/numfriends.php
@@ -4,16 +4,14 @@
* Description: Change number of contacts shown of profile sidebar
* Version: 1.0
* Author: Mike Macgirvin
- *
- *
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\PConfig;
function numfriends_install() {
- register_hook('plugin_settings', 'addon/numfriends/numfriends.php', 'numfriends_settings');
- register_hook('plugin_settings_post', 'addon/numfriends/numfriends.php', 'numfriends_settings_post');
+ Addon::registerHook('addon_settings', 'addon/numfriends/numfriends.php', 'numfriends_settings');
+ Addon::registerHook('addon_settings_post', 'addon/numfriends/numfriends.php', 'numfriends_settings_post');
logger("installed numfriends");
}
@@ -21,15 +19,13 @@ function numfriends_install() {
function numfriends_uninstall() {
- unregister_hook('plugin_settings', 'addon/numfriends/numfriends.php', 'numfriends_settings');
- unregister_hook('plugin_settings_post', 'addon/numfriends/numfriends.php', 'numfriends_settings_post');
+ Addon::unregisterHook('addon_settings', 'addon/numfriends/numfriends.php', 'numfriends_settings');
+ Addon::unregisterHook('addon_settings_post', 'addon/numfriends/numfriends.php', 'numfriends_settings_post');
logger("removed numfriends");
}
-
-
/**
*
* Callback from the settings post function.
@@ -38,7 +34,6 @@ function numfriends_uninstall() {
* and if so set our configuration setting for this person.
*
*/
-
function numfriends_settings_post($a,$post) {
if(! local_user() || (! x($_POST,'numfriends-submit')))
return;
@@ -50,13 +45,10 @@ function numfriends_settings_post($a,$post) {
/**
*
- * Called from the Plugin Setting form.
+ * Called from the Addon Setting form.
* Add our own settings info to the page.
*
*/
-
-
-
function numfriends_settings(&$a, &$s)
{
if (! local_user()) {
diff --git a/openstreetmap/README b/openstreetmap/README
index beac3a21..93f231c6 100644
--- a/openstreetmap/README
+++ b/openstreetmap/README
@@ -1,4 +1,4 @@
- ____ OpenStreetMap Plugin ____
+ ____ OpenStreetMap Addon ____
by Mike Macgirvin
Klaus Weidenbach
@@ -6,7 +6,7 @@ This addon allows you to use OpenStreetMap for displaying locations.
___ Requirements ___
-To use this plugin you need a tile Server that provides the maps.
+To use this addon you need a tile Server that provides the maps.
OpenStreetMap data is free for everyone to use. Their tile servers are not.
Please take a look at their "Tile Usage Policy":
http://wiki.openstreetmap.org/wiki/Tile_usage_policy
@@ -19,9 +19,9 @@ ___ Configuration ___
If you for any reason prefer to use a configuration file instead
of the admin panels, please refer to the Alternative Configuration below.
-Activate the plugin from your admin panel.
+Activate the addon from your admin panel.
-You can now add a Tile Server and default zoom level in the plugin settings
+You can now add a Tile Server and default zoom level in the addon settings
page of your admin panel.
The Time Server URL points to the tile server you want to use. Use the full URL,
diff --git a/openstreetmap/openstreetmap.php b/openstreetmap/openstreetmap.php
index ae9cb480..29ada924 100644
--- a/openstreetmap/openstreetmap.php
+++ b/openstreetmap/openstreetmap.php
@@ -8,27 +8,27 @@
* Author: Klaus Weidenbach
*
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\Cache;
use Friendica\Core\Config;
function openstreetmap_install()
{
- register_hook('render_location', 'addon/openstreetmap/openstreetmap.php', 'openstreetmap_location');
- register_hook('generate_map', 'addon/openstreetmap/openstreetmap.php', 'openstreetmap_generate_map');
- register_hook('generate_named_map', 'addon/openstreetmap/openstreetmap.php', 'openstreetmap_generate_named_map');
- register_hook('page_header', 'addon/openstreetmap/openstreetmap.php', 'openstreetmap_alterheader');
+ Addon::registerHook('render_location', 'addon/openstreetmap/openstreetmap.php', 'openstreetmap_location');
+ Addon::registerHook('generate_map', 'addon/openstreetmap/openstreetmap.php', 'openstreetmap_generate_map');
+ Addon::registerHook('generate_named_map', 'addon/openstreetmap/openstreetmap.php', 'openstreetmap_generate_named_map');
+ Addon::registerHook('page_header', 'addon/openstreetmap/openstreetmap.php', 'openstreetmap_alterheader');
logger("installed openstreetmap");
}
function openstreetmap_uninstall()
{
- unregister_hook('render_location', 'addon/openstreetmap/openstreetmap.php', 'openstreetmap_location');
- unregister_hook('generate_map', 'addon/openstreetmap/openstreetmap.php', 'openstreetmap_generate_map');
- unregister_hook('generate_named_map', 'addon/openstreetmap/openstreetmap.php', 'openstreetmap_generate_named_map');
- unregister_hook('page_header', 'addon/openstreetmap/openstreetmap.php', 'openstreetmap_alterheader');
+ Addon::unregisterHook('render_location', 'addon/openstreetmap/openstreetmap.php', 'openstreetmap_location');
+ Addon::unregisterHook('generate_map', 'addon/openstreetmap/openstreetmap.php', 'openstreetmap_generate_map');
+ Addon::unregisterHook('generate_named_map', 'addon/openstreetmap/openstreetmap.php', 'openstreetmap_generate_named_map');
+ Addon::unregisterHook('page_header', 'addon/openstreetmap/openstreetmap.php', 'openstreetmap_alterheader');
logger("removed openstreetmap");
}
@@ -163,7 +163,7 @@ function openstreetmap_generate_map(&$a, &$b)
}
-function openstreetmap_plugin_admin(&$a, &$o)
+function openstreetmap_addon_admin(&$a, &$o)
{
$t = get_markup_template("admin.tpl", "addon/openstreetmap/");
$tmsserver = Config::get('openstreetmap', 'tmsserver');
@@ -192,7 +192,7 @@ function openstreetmap_plugin_admin(&$a, &$o)
]);
}
-function openstreetmap_plugin_admin_post(&$a)
+function openstreetmap_addon_admin_post(&$a)
{
$urltms = ((x($_POST, 'tmsserver')) ? notags(trim($_POST['tmsserver'])) : '');
$urlnom = ((x($_POST, 'nomserver')) ? notags(trim($_POST['nomserver'])) : '');
diff --git a/pageheader/README b/pageheader/README
index d3fbf9ea..c5d0fa3d 100644
--- a/pageheader/README
+++ b/pageheader/README
@@ -2,7 +2,7 @@ Page Header
For server admins only.
Displays a text message for system announcements'
-The message is entered in the admin account at settings, Plugin settings.
+The message is entered in the admin account at settings, Addon settings.
If you want to use HTML in the pageheader, create a file called pageheader.html
in the document root of your friendica instance and add the html there.
\ No newline at end of file
diff --git a/pageheader/pageheader.php b/pageheader/pageheader.php
index 977bee4e..96ad3630 100644
--- a/pageheader/pageheader.php
+++ b/pageheader/pageheader.php
@@ -1,6 +1,4 @@
*
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\Config;
function pageheader_install() {
- register_hook('page_content_top', 'addon/pageheader/pageheader.php', 'pageheader_fetch');
- register_hook('plugin_settings', 'addon/pageheader/pageheader.php', 'pageheader_addon_settings');
- register_hook('plugin_settings_post', 'addon/pageheader/pageheader.php', 'pageheader_addon_settings_post');
+ Addon::registerHook('page_content_top', 'addon/pageheader/pageheader.php', 'pageheader_fetch');
+ Addon::registerHook('addon_settings', 'addon/pageheader/pageheader.php', 'pageheader_addon_settings');
+ Addon::registerHook('addon_settings_post', 'addon/pageheader/pageheader.php', 'pageheader_addon_settings_post');
}
function pageheader_uninstall() {
- unregister_hook('page_content_top', 'addon/pageheader/pageheader.php', 'pageheader_fetch');
- unregister_hook('plugin_settings', 'addon/pageheader/pageheader.php', 'pageheader_addon_settings');
- unregister_hook('plugin_settings_post', 'addon/pageheader/pageheader.php', 'pageheader_addon_settings_post');
+ Addon::unregisterHook('page_content_top', 'addon/pageheader/pageheader.php', 'pageheader_fetch');
+ Addon::unregisterHook('addon_settings', 'addon/pageheader/pageheader.php', 'pageheader_addon_settings');
+ Addon::unregisterHook('addon_settings_post', 'addon/pageheader/pageheader.php', 'pageheader_addon_settings_post');
// hook moved, uninstall the old one if still there.
- unregister_hook('page_header', 'addon/pageheader/pageheader.php', 'pageheader_fetch');
+ Addon::unregisterHook('page_header', 'addon/pageheader/pageheader.php', 'pageheader_fetch');
}
diff --git a/piwik/README.md b/piwik/README.md
index 0ac2ff72..37ece2f0 100644
--- a/piwik/README.md
+++ b/piwik/README.md
@@ -1,4 +1,4 @@
-Piwik Plugin
+Piwik Addon
============
by Tobias Diekershoff and Klaus Weidenbach
@@ -9,7 +9,7 @@ tool Piwik into the Friendica pages.
Requirements
------------
-To use this plugin you need a [piwik](http://piwik.org/) installation.
+To use this addon you need a [piwik](http://piwik.org/) installation.
Where to find
-------------
diff --git a/piwik/piwik.php b/piwik/piwik.php
index 8253f4a7..326b931f 100644
--- a/piwik/piwik.php
+++ b/piwik/piwik.php
@@ -1,13 +1,13 @@
* Author: Klaus Weidenbach
*/
-/* Piwik Analytics Plugin for Friendica
+/* Piwik Analytics Addon for Friendica
*
* Author: Tobias Diekershoff
* tobias.diekershoff@gmx.net
@@ -29,25 +29,25 @@
* about http/https but beware to put the trailing / at the end of your
* setting.
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\Config;
function piwik_install() {
- register_hook('page_end', 'addon/piwik/piwik.php', 'piwik_analytics');
+ Addon::registerHook('page_end', 'addon/piwik/piwik.php', 'piwik_analytics');
- logger("installed piwik plugin");
+ logger("installed piwik addon");
}
function piwik_uninstall() {
- unregister_hook('page_end', 'addon/piwik/piwik.php', 'piwik_analytics');
+ Addon::unregisterHook('page_end', 'addon/piwik/piwik.php', 'piwik_analytics');
- logger("uninstalled piwik plugin");
+ logger("uninstalled piwik addon");
}
function piwik_analytics($a,&$b) {
/*
- * styling of every HTML block added by this plugin is done in the
+ * styling of every HTML block added by this addon is done in the
* associated CSS file. We just have to tell Friendica to get it
* into the page header.
*/
@@ -85,7 +85,7 @@ function piwik_analytics($a,&$b) {
$b .= "
";
}
}
-function piwik_plugin_admin (&$a, &$o) {
+function piwik_addon_admin (&$a, &$o) {
$t = get_markup_template( "admin.tpl", "addon/piwik/" );
$o = replace_macros( $t, [
'$submit' => t('Save Settings'),
@@ -95,7 +95,7 @@ function piwik_plugin_admin (&$a, &$o) {
'$async' => ['async', t('Asynchronous tracking'), Config::get('piwik','async' ), ''],
]);
}
-function piwik_plugin_admin_post (&$a) {
+function piwik_addon_admin_post (&$a) {
$url = ((x($_POST, 'baseurl')) ? notags(trim($_POST['baseurl'])) : '');
$id = ((x($_POST, 'siteid')) ? trim($_POST['siteid']) : '');
$optout = ((x($_POST, 'optout')) ? trim($_POST['optout']) : '');
diff --git a/planets/lang/C/messages.po b/planets/lang/C/messages.po
index 843752a1..f0773cc2 100644
--- a/planets/lang/C/messages.po
+++ b/planets/lang/C/messages.po
@@ -22,7 +22,7 @@ msgid "Planets Settings"
msgstr ""
#: planets.php:152
-msgid "Enable Planets Plugin"
+msgid "Enable Planets Addon"
msgstr ""
#: planets.php:158
diff --git a/planets/lang/ca/strings.php b/planets/lang/ca/strings.php
index 79fdd6be..625dcab9 100644
--- a/planets/lang/ca/strings.php
+++ b/planets/lang/ca/strings.php
@@ -1,5 +1,5 @@
strings["Planets Settings"] = "Ajustos de Planet";
-$a->strings["Enable Planets Plugin"] = "Activa Plugin de Planet";
+$a->strings["Enable Planets Addon"] = "Activa Addon de Planet";
$a->strings["Submit"] = "Enviar";
diff --git a/planets/lang/cs/messages.po b/planets/lang/cs/messages.po
index c47ff06c..ac2b9c74 100644
--- a/planets/lang/cs/messages.po
+++ b/planets/lang/cs/messages.po
@@ -24,8 +24,8 @@ msgid "Planets Settings"
msgstr "Planets Nastavení"
#: planets.php:152
-msgid "Enable Planets Plugin"
-msgstr "Povolit Planets plugin"
+msgid "Enable Planets Addon"
+msgstr "Povolit Planets addon"
#: planets.php:158
msgid "Submit"
diff --git a/planets/lang/cs/strings.php b/planets/lang/cs/strings.php
index 268f3192..c4c0524d 100644
--- a/planets/lang/cs/strings.php
+++ b/planets/lang/cs/strings.php
@@ -6,5 +6,5 @@ function string_plural_select_cs($n){
}}
;
$a->strings["Planets Settings"] = "Planets Nastavení";
-$a->strings["Enable Planets Plugin"] = "Povolit Planets plugin";
+$a->strings["Enable Planets Addon"] = "Povolit Planets addon";
$a->strings["Submit"] = "Odeslat";
diff --git a/planets/lang/de/messages.po b/planets/lang/de/messages.po
index 42788d56..89f4d07a 100644
--- a/planets/lang/de/messages.po
+++ b/planets/lang/de/messages.po
@@ -25,8 +25,8 @@ msgid "Planets Settings"
msgstr "Planeten Einstellungen"
#: planets.php:152
-msgid "Enable Planets Plugin"
-msgstr "Planeten-Plugin aktivieren"
+msgid "Enable Planets Addon"
+msgstr "Planeten-Addon aktivieren"
#: planets.php:158
msgid "Submit"
diff --git a/planets/lang/de/strings.php b/planets/lang/de/strings.php
index ab513fac..653d025b 100644
--- a/planets/lang/de/strings.php
+++ b/planets/lang/de/strings.php
@@ -6,5 +6,5 @@ function string_plural_select_de($n){
}}
;
$a->strings["Planets Settings"] = "Planeten Einstellungen";
-$a->strings["Enable Planets Plugin"] = "Planeten-Plugin aktivieren";
+$a->strings["Enable Planets Addon"] = "Planeten-Addon aktivieren";
$a->strings["Submit"] = "Senden";
diff --git a/planets/lang/eo/strings.php b/planets/lang/eo/strings.php
index 2f9ff97c..c6b6d413 100644
--- a/planets/lang/eo/strings.php
+++ b/planets/lang/eo/strings.php
@@ -1,5 +1,5 @@
strings["Planets Settings"] = "Agordo pri Planets";
-$a->strings["Enable Planets Plugin"] = "Ŝalti la Planets kromprogamon";
+$a->strings["Enable Planets Addon"] = "Ŝalti la Planets kromprogamon";
$a->strings["Submit"] = "Sendi";
diff --git a/planets/lang/es/messages.po b/planets/lang/es/messages.po
index 294da082..b1e33659 100644
--- a/planets/lang/es/messages.po
+++ b/planets/lang/es/messages.po
@@ -24,8 +24,8 @@ msgid "Planets Settings"
msgstr "Ajustes de Planets"
#: planets.php:152
-msgid "Enable Planets Plugin"
-msgstr "Habilite el plugin Planets"
+msgid "Enable Planets Addon"
+msgstr "Habilite eladdonPlanets"
#: planets.php:158
msgid "Submit"
diff --git a/planets/lang/es/strings.php b/planets/lang/es/strings.php
index 8c7ef65d..2fd5ed90 100644
--- a/planets/lang/es/strings.php
+++ b/planets/lang/es/strings.php
@@ -6,5 +6,5 @@ function string_plural_select_es($n){
}}
;
$a->strings["Planets Settings"] = "Ajustes de Planets";
-$a->strings["Enable Planets Plugin"] = "Habilite el plugin Planets";
+$a->strings["Enable Planets Addon"] = "Habilite el addon Planets";
$a->strings["Submit"] = "Enviar";
diff --git a/planets/lang/fr/strings.php b/planets/lang/fr/strings.php
index 505d24c3..b4524f10 100644
--- a/planets/lang/fr/strings.php
+++ b/planets/lang/fr/strings.php
@@ -1,5 +1,5 @@
strings["Planets Settings"] = "Réglages des Planets";
-$a->strings["Enable Planets Plugin"] = "Activer Planets";
+$a->strings["Enable Planets Addon"] = "Activer Planets";
$a->strings["Submit"] = "Envoyer";
diff --git a/planets/lang/is/strings.php b/planets/lang/is/strings.php
index d59b838f..82f8b728 100644
--- a/planets/lang/is/strings.php
+++ b/planets/lang/is/strings.php
@@ -1,5 +1,5 @@
strings["Planets Settings"] = "";
-$a->strings["Enable Planets Plugin"] = "";
+$a->strings["Enable Planets Addon"] = "";
$a->strings["Submit"] = "Senda inn";
diff --git a/planets/lang/it/messages.po b/planets/lang/it/messages.po
index 4cb0b694..26c8e03d 100644
--- a/planets/lang/it/messages.po
+++ b/planets/lang/it/messages.po
@@ -24,8 +24,8 @@ msgid "Planets Settings"
msgstr "Impostazioni \"Pianeti\""
#: planets.php:152
-msgid "Enable Planets Plugin"
-msgstr "Abilita il plugin \"Pianeti\""
+msgid "Enable Planets Addon"
+msgstr "Abilita il addon\"Pianeti\""
#: planets.php:158
msgid "Submit"
diff --git a/planets/lang/it/strings.php b/planets/lang/it/strings.php
index 1cfa66e6..c568fb36 100644
--- a/planets/lang/it/strings.php
+++ b/planets/lang/it/strings.php
@@ -6,5 +6,5 @@ function string_plural_select_it($n){
}}
;
$a->strings["Planets Settings"] = "Impostazioni \"Pianeti\"";
-$a->strings["Enable Planets Plugin"] = "Abilita il plugin \"Pianeti\"";
+$a->strings["Enable Planets Addon"] = "Abilita il addon \"Pianeti\"";
$a->strings["Submit"] = "Invia";
diff --git a/planets/lang/nb-no/strings.php b/planets/lang/nb-no/strings.php
index 628eb2ae..7d8fbe48 100644
--- a/planets/lang/nb-no/strings.php
+++ b/planets/lang/nb-no/strings.php
@@ -1,5 +1,5 @@
strings["Planets Settings"] = "";
-$a->strings["Enable Planets Plugin"] = "";
+$a->strings["Enable Planets Addon"] = "";
$a->strings["Submit"] = "Lagre";
diff --git a/planets/lang/pl/strings.php b/planets/lang/pl/strings.php
index 97120046..0e05c0a4 100644
--- a/planets/lang/pl/strings.php
+++ b/planets/lang/pl/strings.php
@@ -1,5 +1,5 @@
strings["Planets Settings"] = "";
-$a->strings["Enable Planets Plugin"] = "";
+$a->strings["Enable Planets Addon"] = "";
$a->strings["Submit"] = "Potwierdź";
diff --git a/planets/lang/pt-br/strings.php b/planets/lang/pt-br/strings.php
index 5cb179c5..6f3b8f10 100644
--- a/planets/lang/pt-br/strings.php
+++ b/planets/lang/pt-br/strings.php
@@ -1,5 +1,5 @@
strings["Planets Settings"] = "Configuração dos planetas";
-$a->strings["Enable Planets Plugin"] = "Habilita configuração dos planetas";
+$a->strings["Enable Planets Addon"] = "Habilita configuração dos planetas";
$a->strings["Submit"] = "Enviar";
diff --git a/planets/lang/ro/messages.po b/planets/lang/ro/messages.po
index 67932a8b..b94394ae 100644
--- a/planets/lang/ro/messages.po
+++ b/planets/lang/ro/messages.po
@@ -24,7 +24,7 @@ msgid "Planets Settings"
msgstr "Configurări Planets"
#: planets.php:152
-msgid "Enable Planets Plugin"
+msgid "Enable Planets Addon"
msgstr "Activare Modul Planets"
#: planets.php:158
diff --git a/planets/lang/ro/strings.php b/planets/lang/ro/strings.php
index 93736aad..19a2e3de 100644
--- a/planets/lang/ro/strings.php
+++ b/planets/lang/ro/strings.php
@@ -6,5 +6,5 @@ function string_plural_select_ro($n){
}}
;
$a->strings["Planets Settings"] = "Configurări Planets";
-$a->strings["Enable Planets Plugin"] = "Activare Modul Planets";
+$a->strings["Enable Planets Addon"] = "Activare Modul Planets";
$a->strings["Submit"] = "Trimite";
diff --git a/planets/lang/ru/strings.php b/planets/lang/ru/strings.php
index 1902b826..b84e2bbc 100644
--- a/planets/lang/ru/strings.php
+++ b/planets/lang/ru/strings.php
@@ -1,5 +1,5 @@
strings["Planets Settings"] = "";
-$a->strings["Enable Planets Plugin"] = "";
+$a->strings["Enable Planets Addon"] = "";
$a->strings["Submit"] = "Подтвердить";
diff --git a/planets/lang/zh-cn/strings.php b/planets/lang/zh-cn/strings.php
index ac066c77..68de35c6 100644
--- a/planets/lang/zh-cn/strings.php
+++ b/planets/lang/zh-cn/strings.php
@@ -1,5 +1,5 @@
strings["Planets Settings"] = "行星设置";
-$a->strings["Enable Planets Plugin"] = "使行星插件可用";
+$a->strings["Enable Planets Addon"] = "使行星插件可用";
$a->strings["Submit"] = "提交";
diff --git a/planets/planets.php b/planets/planets.php
index 0d88e21d..04fb72ca 100644
--- a/planets/planets.php
+++ b/planets/planets.php
@@ -1,35 +1,35 @@
* Author: Tony Baldwin
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\PConfig;
function planets_install() {
/**
*
- * Our demo plugin will attach in three places.
+ * Our demo addon will attach in three places.
* The first is just prior to storing a local post.
*
*/
- register_hook('post_local', 'addon/planets/planets.php', 'planets_post_hook');
+ Addon::registerHook('post_local', 'addon/planets/planets.php', 'planets_post_hook');
/**
*
- * Then we'll attach into the plugin settings page, and also the
+ * Then we'll attach into the addon settings page, and also the
* settings post hook so that we can create and update
* user preferences.
*
*/
- register_hook('plugin_settings', 'addon/planets/planets.php', 'planets_settings');
- register_hook('plugin_settings_post', 'addon/planets/planets.php', 'planets_settings_post');
+ Addon::registerHook('addon_settings', 'addon/planets/planets.php', 'planets_settings');
+ Addon::registerHook('addon_settings_post', 'addon/planets/planets.php', 'planets_settings_post');
logger("installed planets");
}
@@ -45,9 +45,9 @@ function planets_uninstall() {
*
*/
- unregister_hook('post_local', 'addon/planets/planets.php', 'planets_post_hook');
- unregister_hook('plugin_settings', 'addon/planets/planets.php', 'planets_settings');
- unregister_hook('plugin_settings_post', 'addon/planets/planets.php', 'planets_settings_post');
+ Addon::unregisterHook('post_local', 'addon/planets/planets.php', 'planets_post_hook');
+ Addon::unregisterHook('addon_settings', 'addon/planets/planets.php', 'planets_settings');
+ Addon::unregisterHook('addon_settings_post', 'addon/planets/planets.php', 'planets_settings_post');
logger("removed planets");
@@ -62,7 +62,7 @@ function planets_post_hook($a, &$item) {
* An item was posted on the local system.
* We are going to look for specific items:
* - A status post by a profile owner
- * - The profile owner must have allowed our plugin
+ * - The profile owner must have allowed our addon
*
*/
@@ -123,7 +123,7 @@ function planets_settings_post($a,$post) {
/**
*
- * Called from the Plugin Setting form.
+ * Called from the Addon Setting form.
* Add our own settings info to the page.
*
*/
@@ -158,7 +158,7 @@ function planets_settings(&$a,&$s) {
$s .= '
';
$s .= '
' . t('Planets Settings') . '
';
$s .= '
';
- $s .= '';
+ $s .= '';
$s .= '';
$s .= '
';
diff --git a/pledgie/pledgie.php b/pledgie/pledgie.php
index 6183c76d..2b75268b 100644
--- a/pledgie/pledgie.php
+++ b/pledgie/pledgie.php
@@ -7,19 +7,19 @@
* Hauke Altmann
*
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\Config;
function pledgie_install() {
- register_hook('page_end', 'addon/pledgie/pledgie.php', 'pledgie_active');
- register_hook('plugin_settings', 'addon/pledgie/pledgie.php', 'pledgie_addon_settings');
- register_hook('plugin_settings_post', 'addon/pledgie/pledgie.php', 'pledgie_addon_settings_post');
+ Addon::registerHook('page_end', 'addon/pledgie/pledgie.php', 'pledgie_active');
+ Addon::registerHook('addon_settings', 'addon/pledgie/pledgie.php', 'pledgie_addon_settings');
+ Addon::registerHook('addon_settings_post', 'addon/pledgie/pledgie.php', 'pledgie_addon_settings_post');
}
function pledgie_uninstall() {
- unregister_hook('page_end', 'addon/pledgie/pledgie.php', 'pledgie_active');
- unregister_hook('plugin_settings', 'addon/pledgie/pledgie.php', 'pledgie_addon_settings');
- unregister_hook('plugin_settings_post', 'addon/pledgie/pledgie.php', 'pledgie_addon_settings_post');
+ Addon::unregisterHook('page_end', 'addon/pledgie/pledgie.php', 'pledgie_active');
+ Addon::unregisterHook('addon_settings', 'addon/pledgie/pledgie.php', 'pledgie_addon_settings');
+ Addon::unregisterHook('addon_settings_post', 'addon/pledgie/pledgie.php', 'pledgie_addon_settings_post');
}
function pledgie_addon_settings(&$a,&$s) {
diff --git a/public_server/README.md b/public_server/README.md
index d323ff0f..b1fb49df 100644
--- a/public_server/README.md
+++ b/public_server/README.md
@@ -2,10 +2,10 @@ Public Server
=============
-Public Server is a Friendica plugin which implements automatic account & post expiration so that a site may be used as a public
+Public Server is a Friendica addon which implements automatic account & post expiration so that a site may be used as a public
test bed with reduced data retention.
-This is a modified version of the testdrive plugin, DO NOT ACTIVATE AT THE SAME TIME AS THE TESTDRIVE PLUGIN.
+This is a modified version of the testdrive addon, DO NOT ACTIVATE AT THE SAME TIME AS THE TESTDRIVE ADDON.
//When an account is created on the site, it is given a hard expiration date of
$a->config['public_server']['expiredays'] = 30;
@@ -19,7 +19,7 @@ This is a modified version of the testdrive plugin, DO NOT ACTIVATE AT THE SAME
$a->config['public_server']['flagposts'] = 90;
$a->config['public_server']['flagpostsexpire'] = 146;
-Set these in your .htconfig.php file. By default nothing is defined in case the plugin is activated accidentally.
+Set these in your .htconfig.php file. By default nothing is defined in case the addon is activated accidentally.
They can be ommitted or set to 0 to disable each option.
The default values are those used by friendica.eu, change these as desired.
diff --git a/public_server/public_server.php b/public_server/public_server.php
index 0ea029b3..2c096568 100644
--- a/public_server/public_server.php
+++ b/public_server/public_server.php
@@ -1,31 +1,30 @@
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\Config;
use Friendica\Model\User;
function public_server_install() {
- register_hook('register_account', 'addon/public_server/public_server.php', 'public_server_register_account');
- register_hook('cron', 'addon/public_server/public_server.php', 'public_server_cron');
- register_hook('enotify','addon/public_server/public_server.php', 'public_server_enotify');
- register_hook('logged_in', 'addon/public_server/public_server.php', 'public_server_login');
+ Addon::registerHook('register_account', 'addon/public_server/public_server.php', 'public_server_register_account');
+ Addon::registerHook('cron', 'addon/public_server/public_server.php', 'public_server_cron');
+ Addon::registerHook('enotify','addon/public_server/public_server.php', 'public_server_enotify');
+ Addon::registerHook('logged_in', 'addon/public_server/public_server.php', 'public_server_login');
}
function public_server_uninstall() {
- unregister_hook('register_account', 'addon/public_server/public_server.php', 'public_server_register_account');
- unregister_hook('cron', 'addon/public_server/public_server.php', 'public_server_cron');
- unregister_hook('enotify','addon/public_server/public_server.php', 'public_server_enotify');
- unregister_hook('logged_in', 'addon/public_server/public_server.php', 'public_server_login');
+ Addon::unregisterHook('register_account', 'addon/public_server/public_server.php', 'public_server_register_account');
+ Addon::unregisterHook('cron', 'addon/public_server/public_server.php', 'public_server_cron');
+ Addon::unregisterHook('enotify','addon/public_server/public_server.php', 'public_server_enotify');
+ Addon::unregisterHook('logged_in', 'addon/public_server/public_server.php', 'public_server_login');
}
function public_server_register_account($a,$b) {
@@ -142,8 +141,8 @@ function public_server_login($a,$b) {
);
}
-function public_server_plugin_admin_post ( &$a ) {
- check_form_security_token_redirectOnErr('/admin/plugins/publicserver', 'publicserver');
+function public_server_addon_admin_post ( &$a ) {
+ check_form_security_token_redirectOnErr('/admin/addons/publicserver', 'publicserver');
$expiredays = (( x($_POST, 'expiredays') ) ? notags(trim($_POST['expiredays'] )) : '');
$expireposts = (( x($_POST, 'expireposts') ) ? notags(trim($_POST['expireposts'] )) : '');
$nologin = (( x($_POST, 'nologin') ) ? notags(trim($_POST['nologin'] )) : '');
@@ -158,7 +157,7 @@ function public_server_plugin_admin_post ( &$a ) {
Config::set( 'public_server','flagpostsexpire',$flagpostsexpire );
info( t('Settings saved').EOL );
}
-function public_server_plugin_admin ( &$a, &$o) {
+function public_server_addon_admin ( &$a, &$o) {
$token = get_form_security_token("publicserver");
$t = get_markup_template( "admin.tpl", "addon/public_server");
$o = replace_macros($t, [
diff --git a/pumpio/lang/C/messages.po b/pumpio/lang/C/messages.po
index 84ce856f..a35f0410 100644
--- a/pumpio/lang/C/messages.po
+++ b/pumpio/lang/C/messages.po
@@ -59,7 +59,7 @@ msgid "Import the remote timeline"
msgstr ""
#: pumpio.php:255
-msgid "Enable pump.io Post Plugin"
+msgid "Enable pump.io Post Addon"
msgstr ""
#: pumpio.php:260
diff --git a/pumpio/lang/cs/messages.po b/pumpio/lang/cs/messages.po
index 157699e3..f5f9f35c 100644
--- a/pumpio/lang/cs/messages.po
+++ b/pumpio/lang/cs/messages.po
@@ -61,8 +61,8 @@ msgid "Import the remote timeline"
msgstr "Importovat vzdálenou časovou osu"
#: pumpio.php:255
-msgid "Enable pump.io Post Plugin"
-msgstr "Aktivovat pump.io Post Plugin"
+msgid "Enable pump.io Post Addon"
+msgstr "Aktivovat pump.io Post Addon"
#: pumpio.php:260
msgid "Post to pump.io by default"
diff --git a/pumpio/lang/cs/strings.php b/pumpio/lang/cs/strings.php
index 6af0c813..e5bc749d 100644
--- a/pumpio/lang/cs/strings.php
+++ b/pumpio/lang/cs/strings.php
@@ -15,7 +15,7 @@ $a->strings["pump.io username (without the servername)"] = "uživatelské jméno
$a->strings["pump.io servername (without \"http://\" or \"https://\" )"] = "jméno serveru pump.io (bez \"http://\" nebo \"https://\" )";
$a->strings["Authenticate your pump.io connection"] = "Přihlásit ke spojení na pump.io";
$a->strings["Import the remote timeline"] = "Importovat vzdálenou časovou osu";
-$a->strings["Enable pump.io Post Plugin"] = "Aktivovat pump.io Post Plugin";
+$a->strings["Enable pump.io Post Addon"] = "Aktivovat pump.io Post Addon";
$a->strings["Post to pump.io by default"] = "Defaultní umístění na pump.oi ";
$a->strings["Should posts be public?"] = "Mají být příspěvky veřejné?";
$a->strings["Mirror all public posts"] = "Zrcadlit všechny veřejné příspěvky";
diff --git a/pumpio/lang/de/messages.po b/pumpio/lang/de/messages.po
index 4a85f793..acfb87fa 100644
--- a/pumpio/lang/de/messages.po
+++ b/pumpio/lang/de/messages.po
@@ -61,8 +61,8 @@ msgid "Import the remote timeline"
msgstr "Importiere die entfernte Zeitleiste"
#: pumpio.php:255
-msgid "Enable pump.io Post Plugin"
-msgstr "Pump.io-Post-Plugin aktivieren"
+msgid "Enable pump.io Post Addon"
+msgstr "Pump.io-Post-Addon aktivieren"
#: pumpio.php:260
msgid "Post to pump.io by default"
diff --git a/pumpio/lang/de/strings.php b/pumpio/lang/de/strings.php
index 91c1735c..4f2c8c88 100644
--- a/pumpio/lang/de/strings.php
+++ b/pumpio/lang/de/strings.php
@@ -15,7 +15,7 @@ $a->strings["pump.io username (without the servername)"] = " Pump.io Nutzername
$a->strings["pump.io servername (without \"http://\" or \"https://\" )"] = " Pump.io Servername (ohne \"http://\" oder \"https://\" )";
$a->strings["Authenticate your pump.io connection"] = "Authentifiziere deine Pump.io Verbindung";
$a->strings["Import the remote timeline"] = "Importiere die entfernte Zeitleiste";
-$a->strings["Enable pump.io Post Plugin"] = "Pump.io-Post-Plugin aktivieren";
+$a->strings["Enable pump.io Post Addon"] = "Pump.io-Post-Addon aktivieren";
$a->strings["Post to pump.io by default"] = "Standardmäßig bei Pump.io veröffentlichen";
$a->strings["Should posts be public?"] = "Sollen Nachrichten öffentlich sein ?";
$a->strings["Mirror all public posts"] = "Spiegle alle öffentlichen Nachrichten";
diff --git a/pumpio/lang/es/messages.po b/pumpio/lang/es/messages.po
index dd381626..86981996 100644
--- a/pumpio/lang/es/messages.po
+++ b/pumpio/lang/es/messages.po
@@ -61,8 +61,8 @@ msgid "Import the remote timeline"
msgstr "Importar la línea de tiempo remota"
#: pumpio.php:255
-msgid "Enable pump.io Post Plugin"
-msgstr "Habilitar Plugin de publicación de Pump.io"
+msgid "Enable pump.io Post Addon"
+msgstr "Habilitar Addon de publicación de Pump.io"
#: pumpio.php:260
msgid "Post to pump.io by default"
diff --git a/pumpio/lang/es/strings.php b/pumpio/lang/es/strings.php
index 8f0a8bfb..df9630b2 100644
--- a/pumpio/lang/es/strings.php
+++ b/pumpio/lang/es/strings.php
@@ -15,7 +15,7 @@ $a->strings["pump.io username (without the servername)"] = "Nombre de usuario de
$a->strings["pump.io servername (without \"http://\" or \"https://\" )"] = "Nombre de servidor de Pump.io (sin \"http://\" o \"https://\" )";
$a->strings["Authenticate your pump.io connection"] = "Autenticar su conexión de Pump.io";
$a->strings["Import the remote timeline"] = "Importar la línea de tiempo remota";
-$a->strings["Enable pump.io Post Plugin"] = "Habilitar Plugin de publicación de Pump.io";
+$a->strings["Enable pump.io Post Addon"] = "Habilitar Addon de publicación de Pump.io";
$a->strings["Post to pump.io by default"] = "Publicar en Pump.io por defecto";
$a->strings["Should posts be public?"] = "¿Deberían de ser públicas las entradas?";
$a->strings["Mirror all public posts"] = "Reflejar todas las entradas públicas";
diff --git a/pumpio/lang/fr/messages.po b/pumpio/lang/fr/messages.po
index 9258d619..28c5891f 100644
--- a/pumpio/lang/fr/messages.po
+++ b/pumpio/lang/fr/messages.po
@@ -62,7 +62,7 @@ msgid "Import the remote timeline"
msgstr "Importer la timeline distante"
#: pumpio.php:255
-msgid "Enable pump.io Post Plugin"
+msgid "Enable pump.io Post Addon"
msgstr ""
#: pumpio.php:260
diff --git a/pumpio/lang/fr/strings.php b/pumpio/lang/fr/strings.php
index 3f933173..3e69c272 100644
--- a/pumpio/lang/fr/strings.php
+++ b/pumpio/lang/fr/strings.php
@@ -15,7 +15,7 @@ $a->strings["pump.io username (without the servername)"] = "Nom d'utilisateur pu
$a->strings["pump.io servername (without \"http://\" or \"https://\" )"] = "";
$a->strings["Authenticate your pump.io connection"] = "";
$a->strings["Import the remote timeline"] = "Importer la timeline distante";
-$a->strings["Enable pump.io Post Plugin"] = "";
+$a->strings["Enable pump.io Post Addon"] = "";
$a->strings["Post to pump.io by default"] = "Publier sur pump.io par défaut";
$a->strings["Should posts be public?"] = "Les messages devraient être publiques ?";
$a->strings["Mirror all public posts"] = "";
diff --git a/pumpio/lang/it/messages.po b/pumpio/lang/it/messages.po
index 3529a080..9e98acfd 100644
--- a/pumpio/lang/it/messages.po
+++ b/pumpio/lang/it/messages.po
@@ -61,8 +61,8 @@ msgid "Import the remote timeline"
msgstr "Importa la timeline remota"
#: pumpio.php:255
-msgid "Enable pump.io Post Plugin"
-msgstr "Abilita il plugin di invio ad pump.io"
+msgid "Enable pump.io Post Addon"
+msgstr "Abilita iladdondi invio ad pump.io"
#: pumpio.php:260
msgid "Post to pump.io by default"
diff --git a/pumpio/lang/it/strings.php b/pumpio/lang/it/strings.php
index 3a26670a..087a188a 100644
--- a/pumpio/lang/it/strings.php
+++ b/pumpio/lang/it/strings.php
@@ -15,7 +15,7 @@ $a->strings["pump.io username (without the servername)"] = "nome utente pump.io
$a->strings["pump.io servername (without \"http://\" or \"https://\" )"] = "nome del server pump.io (senza \"http://\" o \"https://\")";
$a->strings["Authenticate your pump.io connection"] = "Autentica la tua connessione pump.io";
$a->strings["Import the remote timeline"] = "Importa la timeline remota";
-$a->strings["Enable pump.io Post Plugin"] = "Abilita il plugin di invio ad pump.io";
+$a->strings["Enable pump.io Post Addon"] = "Abilita il addon di invio ad pump.io";
$a->strings["Post to pump.io by default"] = "Invia sempre a pump.io";
$a->strings["Should posts be public?"] = "I messaggi devono essere pubblici?";
$a->strings["Mirror all public posts"] = "Clona tutti i messaggi pubblici";
diff --git a/pumpio/lang/pt-br/messages.po b/pumpio/lang/pt-br/messages.po
index 8f02e040..bceaa2fe 100644
--- a/pumpio/lang/pt-br/messages.po
+++ b/pumpio/lang/pt-br/messages.po
@@ -61,7 +61,7 @@ msgid "Import the remote timeline"
msgstr "Importar a linha do tempo remota"
#: pumpio.php:255
-msgid "Enable pump.io Post Plugin"
+msgid "Enable pump.io Post Addon"
msgstr "Habilitar plug-in para publicar no Pump.io"
#: pumpio.php:260
diff --git a/pumpio/lang/pt-br/strings.php b/pumpio/lang/pt-br/strings.php
index 56890a66..e93516b4 100644
--- a/pumpio/lang/pt-br/strings.php
+++ b/pumpio/lang/pt-br/strings.php
@@ -15,7 +15,7 @@ $a->strings["pump.io username (without the servername)"] = "Nome de usuário no
$a->strings["pump.io servername (without \"http://\" or \"https://\" )"] = "";
$a->strings["Authenticate your pump.io connection"] = "";
$a->strings["Import the remote timeline"] = "Importar a linha do tempo remota";
-$a->strings["Enable pump.io Post Plugin"] = "Habilitar plug-in para publicar no Pump.io";
+$a->strings["Enable pump.io Post Addon"] = "Habilitar plug-in para publicar no Pump.io";
$a->strings["Post to pump.io by default"] = "Publicar no Pump.io por padrão";
$a->strings["Should posts be public?"] = "";
$a->strings["Mirror all public posts"] = "";
diff --git a/pumpio/lang/ro/messages.po b/pumpio/lang/ro/messages.po
index ae3f945b..7ac8ef7f 100644
--- a/pumpio/lang/ro/messages.po
+++ b/pumpio/lang/ro/messages.po
@@ -60,7 +60,7 @@ msgid "Import the remote timeline"
msgstr "Importare cronologie la distanță"
#: pumpio.php:255
-msgid "Enable pump.io Post Plugin"
+msgid "Enable pump.io Post Addon"
msgstr "Activare Modul Postare pump.io"
#: pumpio.php:260
diff --git a/pumpio/lang/ro/strings.php b/pumpio/lang/ro/strings.php
index bd8bf5f1..b0ee9a25 100644
--- a/pumpio/lang/ro/strings.php
+++ b/pumpio/lang/ro/strings.php
@@ -15,7 +15,7 @@ $a->strings["pump.io username (without the servername)"] = "Utilizator pump.io (
$a->strings["pump.io servername (without \"http://\" or \"https://\" )"] = "Nume server pump.io (fără \"http://\" ori \"https://\" )";
$a->strings["Authenticate your pump.io connection"] = "Autentificați-vă conectarea la pump.io";
$a->strings["Import the remote timeline"] = "Importare cronologie la distanță";
-$a->strings["Enable pump.io Post Plugin"] = "Activare Modul Postare pump.io";
+$a->strings["Enable pump.io Post Addon"] = "Activare Modul Postare pump.io";
$a->strings["Post to pump.io by default"] = "Postați implicit pe pump.io";
$a->strings["Should posts be public?"] = "Postările ar trebui sa fie publice?";
$a->strings["Mirror all public posts"] = "Reproducere pentru toate postările publice";
diff --git a/pumpio/pumpio.php b/pumpio/pumpio.php
index 6aaa0565..be4db5fa 100644
--- a/pumpio/pumpio.php
+++ b/pumpio/pumpio.php
@@ -5,6 +5,7 @@
* Version: 0.2
* Author: Michael Vogel
*/
+use Friendica\Core\Addon;
use Friendica\Core\Config;
use Friendica\Core\PConfig;
use Friendica\Core\Worker;
@@ -22,25 +23,25 @@ require_once "mod/share.php";
define('PUMPIO_DEFAULT_POLL_INTERVAL', 5); // given in minutes
function pumpio_install() {
- register_hook('post_local', 'addon/pumpio/pumpio.php', 'pumpio_post_local');
- register_hook('notifier_normal', 'addon/pumpio/pumpio.php', 'pumpio_send');
- register_hook('jot_networks', 'addon/pumpio/pumpio.php', 'pumpio_jot_nets');
- register_hook('connector_settings', 'addon/pumpio/pumpio.php', 'pumpio_settings');
- register_hook('connector_settings_post', 'addon/pumpio/pumpio.php', 'pumpio_settings_post');
- register_hook('cron', 'addon/pumpio/pumpio.php', 'pumpio_cron');
- register_hook('queue_predeliver', 'addon/pumpio/pumpio.php', 'pumpio_queue_hook');
- register_hook('check_item_notification','addon/pumpio/pumpio.php', 'pumpio_check_item_notification');
+ Addon::registerHook('post_local', 'addon/pumpio/pumpio.php', 'pumpio_post_local');
+ Addon::registerHook('notifier_normal', 'addon/pumpio/pumpio.php', 'pumpio_send');
+ Addon::registerHook('jot_networks', 'addon/pumpio/pumpio.php', 'pumpio_jot_nets');
+ Addon::registerHook('connector_settings', 'addon/pumpio/pumpio.php', 'pumpio_settings');
+ Addon::registerHook('connector_settings_post', 'addon/pumpio/pumpio.php', 'pumpio_settings_post');
+ Addon::registerHook('cron', 'addon/pumpio/pumpio.php', 'pumpio_cron');
+ Addon::registerHook('queue_predeliver', 'addon/pumpio/pumpio.php', 'pumpio_queue_hook');
+ Addon::registerHook('check_item_notification','addon/pumpio/pumpio.php', 'pumpio_check_item_notification');
}
function pumpio_uninstall() {
- unregister_hook('post_local', 'addon/pumpio/pumpio.php', 'pumpio_post_local');
- unregister_hook('notifier_normal', 'addon/pumpio/pumpio.php', 'pumpio_send');
- unregister_hook('jot_networks', 'addon/pumpio/pumpio.php', 'pumpio_jot_nets');
- unregister_hook('connector_settings', 'addon/pumpio/pumpio.php', 'pumpio_settings');
- unregister_hook('connector_settings_post', 'addon/pumpio/pumpio.php', 'pumpio_settings_post');
- unregister_hook('cron', 'addon/pumpio/pumpio.php', 'pumpio_cron');
- unregister_hook('queue_predeliver', 'addon/pumpio/pumpio.php', 'pumpio_queue_hook');
- unregister_hook('check_item_notification','addon/pumpio/pumpio.php', 'pumpio_check_item_notification');
+ Addon::unregisterHook('post_local', 'addon/pumpio/pumpio.php', 'pumpio_post_local');
+ Addon::unregisterHook('notifier_normal', 'addon/pumpio/pumpio.php', 'pumpio_send');
+ Addon::unregisterHook('jot_networks', 'addon/pumpio/pumpio.php', 'pumpio_jot_nets');
+ Addon::unregisterHook('connector_settings', 'addon/pumpio/pumpio.php', 'pumpio_settings');
+ Addon::unregisterHook('connector_settings_post', 'addon/pumpio/pumpio.php', 'pumpio_settings_post');
+ Addon::unregisterHook('cron', 'addon/pumpio/pumpio.php', 'pumpio_cron');
+ Addon::unregisterHook('queue_predeliver', 'addon/pumpio/pumpio.php', 'pumpio_queue_hook');
+ Addon::unregisterHook('check_item_notification','addon/pumpio/pumpio.php', 'pumpio_check_item_notification');
}
function pumpio_module() {}
@@ -275,7 +276,7 @@ function pumpio_settings(&$a,&$s) {
$s .= '';
$s .= '
';
- $s .= '';
+ $s .= '';
$s .= '';
$s .= '
';
diff --git a/qcomment/qcomment.php b/qcomment/qcomment.php
index f4b95184..447f8abf 100644
--- a/qcomment/qcomment.php
+++ b/qcomment/qcomment.php
@@ -9,7 +9,7 @@
*
* Provides a set of text "snippets" which can be inserted into a comment window by clicking on them.
* First enable the addon in the system admin panel.
- * Then each person can tailor their choice of words in Settings->Plugin Settings in the Qcomment
+ * Then each person can tailor their choice of words in Settings->Addon Settings in the Qcomment
* pane. Initially no qcomments are provided, but on viewing the settings page, a default set of
* of words is suggested. These can be accepted (click Submit) or edited first. Each text line represents
* a different qcomment.
@@ -19,19 +19,19 @@
* them to open the comment window fully and insert the qcomment. Then "Submit" will submit it.
*
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\PConfig;
function qcomment_install() {
- register_hook('plugin_settings', 'addon/qcomment/qcomment.php', 'qcomment_addon_settings');
- register_hook('plugin_settings_post', 'addon/qcomment/qcomment.php', 'qcomment_addon_settings_post');
+ Addon::registerHook('addon_settings', 'addon/qcomment/qcomment.php', 'qcomment_addon_settings');
+ Addon::registerHook('addon_settings_post', 'addon/qcomment/qcomment.php', 'qcomment_addon_settings_post');
}
function qcomment_uninstall() {
- unregister_hook('plugin_settings', 'addon/qcomment/qcomment.php', 'qcomment_addon_settings');
- unregister_hook('plugin_settings_post', 'addon/qcomment/qcomment.php', 'qcomment_addon_settings_post');
+ Addon::unregisterHook('addon_settings', 'addon/qcomment/qcomment.php', 'qcomment_addon_settings');
+ Addon::unregisterHook('addon_settings_post', 'addon/qcomment/qcomment.php', 'qcomment_addon_settings_post');
}
diff --git a/randplace/lang/C/messages.po b/randplace/lang/C/messages.po
index 3494eafd..3d2ed587 100644
--- a/randplace/lang/C/messages.po
+++ b/randplace/lang/C/messages.po
@@ -22,7 +22,7 @@ msgid "Randplace Settings"
msgstr ""
#: randplace.php:171
-msgid "Enable Randplace Plugin"
+msgid "Enable Randplace Addon"
msgstr ""
#: randplace.php:177
diff --git a/randplace/lang/ca/strings.php b/randplace/lang/ca/strings.php
index 4e2fe763..120fab8c 100644
--- a/randplace/lang/ca/strings.php
+++ b/randplace/lang/ca/strings.php
@@ -1,5 +1,5 @@
strings["Randplace Settings"] = "Configuració de Randplace";
-$a->strings["Enable Randplace Plugin"] = "Habilitar el Plugin de Randplace";
+$a->strings["Enable Randplace Addon"] = "Habilitar el Addon de Randplace";
$a->strings["Submit"] = "Enviar";
diff --git a/randplace/lang/cs/messages.po b/randplace/lang/cs/messages.po
index 6cc09f7d..09032861 100644
--- a/randplace/lang/cs/messages.po
+++ b/randplace/lang/cs/messages.po
@@ -24,8 +24,8 @@ msgid "Randplace Settings"
msgstr "Randplace Nastavení"
#: randplace.php:171
-msgid "Enable Randplace Plugin"
-msgstr "Povolit Randplace Plugin"
+msgid "Enable Randplace Addon"
+msgstr "Povolit Randplace Addon"
#: randplace.php:177
msgid "Save Settings"
diff --git a/randplace/lang/cs/strings.php b/randplace/lang/cs/strings.php
index dae496fc..a5a72e9e 100644
--- a/randplace/lang/cs/strings.php
+++ b/randplace/lang/cs/strings.php
@@ -6,5 +6,5 @@ function string_plural_select_cs($n){
}}
;
$a->strings["Randplace Settings"] = "Randplace Nastavení";
-$a->strings["Enable Randplace Plugin"] = "Povolit Randplace Plugin";
+$a->strings["Enable Randplace Addon"] = "Povolit Randplace Addon";
$a->strings["Save Settings"] = "Uložit Nastavení";
diff --git a/randplace/lang/de/messages.po b/randplace/lang/de/messages.po
index 8735e20d..c575242f 100644
--- a/randplace/lang/de/messages.po
+++ b/randplace/lang/de/messages.po
@@ -24,8 +24,8 @@ msgid "Randplace Settings"
msgstr "Randplace-Einstellungen"
#: randplace.php:171
-msgid "Enable Randplace Plugin"
-msgstr "Randplace-Plugin aktivieren"
+msgid "Enable Randplace Addon"
+msgstr "Randplace-Addon aktivieren"
#: randplace.php:177
msgid "Save Settings"
diff --git a/randplace/lang/de/strings.php b/randplace/lang/de/strings.php
index 29bec858..5a5b69f3 100644
--- a/randplace/lang/de/strings.php
+++ b/randplace/lang/de/strings.php
@@ -6,5 +6,5 @@ function string_plural_select_de($n){
}}
;
$a->strings["Randplace Settings"] = "Randplace-Einstellungen";
-$a->strings["Enable Randplace Plugin"] = "Randplace-Plugin aktivieren";
+$a->strings["Enable Randplace Addon"] = "Randplace-Addon aktivieren";
$a->strings["Save Settings"] = "Einstellungen speichern";
diff --git a/randplace/lang/eo/strings.php b/randplace/lang/eo/strings.php
index 45502093..38e6ebfa 100644
--- a/randplace/lang/eo/strings.php
+++ b/randplace/lang/eo/strings.php
@@ -1,5 +1,5 @@
strings["Randplace Settings"] = "Randplace agordoj.";
-$a->strings["Enable Randplace Plugin"] = "Aktivigi la Randplace kromprogramon.";
+$a->strings["Enable Randplace Addon"] = "Aktivigi la Randplace kromprogramon.";
$a->strings["Submit"] = "Sendi";
diff --git a/randplace/lang/es/messages.po b/randplace/lang/es/messages.po
index 0b63aa17..7f0a1047 100644
--- a/randplace/lang/es/messages.po
+++ b/randplace/lang/es/messages.po
@@ -24,8 +24,8 @@ msgid "Randplace Settings"
msgstr "Ajustes de Randplace"
#: randplace.php:171
-msgid "Enable Randplace Plugin"
-msgstr "Habilitar el Plugin de Randplace"
+msgid "Enable Randplace Addon"
+msgstr "Habilitar el Addon de Randplace"
#: randplace.php:177
msgid "Submit"
diff --git a/randplace/lang/es/strings.php b/randplace/lang/es/strings.php
index 716845ac..b196c6b8 100644
--- a/randplace/lang/es/strings.php
+++ b/randplace/lang/es/strings.php
@@ -6,5 +6,5 @@ function string_plural_select_es($n){
}}
;
$a->strings["Randplace Settings"] = "Ajustes de Randplace";
-$a->strings["Enable Randplace Plugin"] = "Habilitar el Plugin de Randplace";
+$a->strings["Enable Randplace Addon"] = "Habilitar el Addon de Randplace";
$a->strings["Submit"] = "Enviar";
diff --git a/randplace/lang/fr/strings.php b/randplace/lang/fr/strings.php
index f85b1cba..f9d354b4 100644
--- a/randplace/lang/fr/strings.php
+++ b/randplace/lang/fr/strings.php
@@ -1,5 +1,5 @@
strings["Randplace Settings"] = "Réglages de Randplace";
-$a->strings["Enable Randplace Plugin"] = "Activer l'extension Randplace";
+$a->strings["Enable Randplace Addon"] = "Activer l'extension Randplace";
$a->strings["Submit"] = "Envoyer";
diff --git a/randplace/lang/is/strings.php b/randplace/lang/is/strings.php
index 924285d4..85e49238 100644
--- a/randplace/lang/is/strings.php
+++ b/randplace/lang/is/strings.php
@@ -1,5 +1,5 @@
strings["Randplace Settings"] = "Stilla Randplace";
-$a->strings["Enable Randplace Plugin"] = "Kveikja á Randplace einingu";
+$a->strings["Enable Randplace Addon"] = "Kveikja á Randplace einingu";
$a->strings["Submit"] = "Senda inn";
diff --git a/randplace/lang/it/messages.po b/randplace/lang/it/messages.po
index d2fa8903..0b54be4c 100644
--- a/randplace/lang/it/messages.po
+++ b/randplace/lang/it/messages.po
@@ -24,8 +24,8 @@ msgid "Randplace Settings"
msgstr "Impostazioni \"Posizione casuale\""
#: randplace.php:171
-msgid "Enable Randplace Plugin"
-msgstr "Abilita il plugin \"Posizione casuale\""
+msgid "Enable Randplace Addon"
+msgstr "Abilita il addon \"Posizione casuale\""
#: randplace.php:177
msgid "Submit"
diff --git a/randplace/lang/it/strings.php b/randplace/lang/it/strings.php
index 08e17fa7..97dfe38a 100644
--- a/randplace/lang/it/strings.php
+++ b/randplace/lang/it/strings.php
@@ -6,5 +6,5 @@ function string_plural_select_it($n){
}}
;
$a->strings["Randplace Settings"] = "Impostazioni \"Posizione casuale\"";
-$a->strings["Enable Randplace Plugin"] = "Abilita il plugin \"Posizione casuale\"";
+$a->strings["Enable Randplace Addon"] = "Abilita il addon \"Posizione casuale\"";
$a->strings["Submit"] = "Invia";
diff --git a/randplace/lang/nb-no/strings.php b/randplace/lang/nb-no/strings.php
index 16518f39..0675219c 100644
--- a/randplace/lang/nb-no/strings.php
+++ b/randplace/lang/nb-no/strings.php
@@ -1,5 +1,5 @@
strings["Randplace Settings"] = "Tilfeldig plassering";
-$a->strings["Enable Randplace Plugin"] = "Aktiver Tilfeldig plassering-tillegget";
+$a->strings["Enable Randplace Addon"] = "Aktiver Tilfeldig plassering-tillegget";
$a->strings["Submit"] = "Lagre";
diff --git a/randplace/lang/pl/strings.php b/randplace/lang/pl/strings.php
index 3f1b2f9f..4166face 100644
--- a/randplace/lang/pl/strings.php
+++ b/randplace/lang/pl/strings.php
@@ -1,5 +1,5 @@
strings["Randplace Settings"] = "Ustawienia Randplace";
-$a->strings["Enable Randplace Plugin"] = "Włącz Randplace Plugin";
+$a->strings["Enable Randplace Addon"] = "Włącz Randplace Addon";
$a->strings["Submit"] = "Potwierdź";
diff --git a/randplace/lang/pt-br/strings.php b/randplace/lang/pt-br/strings.php
index 1f010b42..b41c865d 100644
--- a/randplace/lang/pt-br/strings.php
+++ b/randplace/lang/pt-br/strings.php
@@ -1,5 +1,5 @@
strings["Randplace Settings"] = "Configurações do Randplace";
-$a->strings["Enable Randplace Plugin"] = "Habilitar o plugin Randplace";
+$a->strings["Enable Randplace Addon"] = "Habilitar o addon Randplace";
$a->strings["Submit"] = "Enviar";
diff --git a/randplace/lang/ro/messages.po b/randplace/lang/ro/messages.po
index 1138665f..f900373f 100644
--- a/randplace/lang/ro/messages.po
+++ b/randplace/lang/ro/messages.po
@@ -23,7 +23,7 @@ msgid "Randplace Settings"
msgstr "Configurări Randplace"
#: randplace.php:171
-msgid "Enable Randplace Plugin"
+msgid "Enable Randplace Addon"
msgstr "Activare Modul Randplace"
#: randplace.php:177
diff --git a/randplace/lang/ro/strings.php b/randplace/lang/ro/strings.php
index 9ef0274f..81607079 100644
--- a/randplace/lang/ro/strings.php
+++ b/randplace/lang/ro/strings.php
@@ -6,5 +6,5 @@ function string_plural_select_ro($n){
}}
;
$a->strings["Randplace Settings"] = "Configurări Randplace";
-$a->strings["Enable Randplace Plugin"] = "Activare Modul Randplace";
+$a->strings["Enable Randplace Addon"] = "Activare Modul Randplace";
$a->strings["Save Settings"] = "Salvare Configurări";
diff --git a/randplace/lang/ru/strings.php b/randplace/lang/ru/strings.php
index 482c4ed0..46733dc6 100644
--- a/randplace/lang/ru/strings.php
+++ b/randplace/lang/ru/strings.php
@@ -1,5 +1,5 @@
strings["Randplace Settings"] = "Настройки Случайного места";
-$a->strings["Enable Randplace Plugin"] = "Включить Randplace плагин";
+$a->strings["Enable Randplace Addon"] = "Включить Randplace плагин";
$a->strings["Submit"] = "Подтвердить";
diff --git a/randplace/lang/sv/strings.php b/randplace/lang/sv/strings.php
index eec3a7bd..c47a51ca 100644
--- a/randplace/lang/sv/strings.php
+++ b/randplace/lang/sv/strings.php
@@ -1,5 +1,5 @@
strings["Randplace Settings"] = "Randplace Settings";
-$a->strings["Enable Randplace Plugin"] = "Enable Randplace Plugin";
+$a->strings["Enable Randplace Addon"] = "Enable Randplace Addon";
$a->strings["Submit"] = "Spara";
diff --git a/randplace/lang/zh-cn/strings.php b/randplace/lang/zh-cn/strings.php
index 5b96f086..2b9b82e3 100644
--- a/randplace/lang/zh-cn/strings.php
+++ b/randplace/lang/zh-cn/strings.php
@@ -1,5 +1,5 @@
strings["Randplace Settings"] = "随意下设置";
-$a->strings["Enable Randplace Plugin"] = "使随意下插件能用";
+$a->strings["Enable Randplace Addon"] = "使随意下插件能用";
$a->strings["Submit"] = "提交";
diff --git a/randplace/randplace.php b/randplace/randplace.php
index b696bed2..96e549a6 100644
--- a/randplace/randplace.php
+++ b/randplace/randplace.php
@@ -1,7 +1,7 @@
*
@@ -11,37 +11,37 @@
* Addons are registered with the system through the admin
* panel.
*
- * When registration is detected, the system calls the plugin
+ * When registration is detected, the system calls the addon
* name_install() function, located in 'addon/name/name.php',
* where 'name' is the name of the addon.
* If the addon is removed from the configuration list, the
* system will call the name_uninstall() function.
*
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\PConfig;
function randplace_install() {
/**
*
- * Our demo plugin will attach in three places.
+ * Our demo addon will attach in three places.
* The first is just prior to storing a local post.
*
*/
- register_hook('post_local', 'addon/randplace/randplace.php', 'randplace_post_hook');
+ Addon::registerHook('post_local', 'addon/randplace/randplace.php', 'randplace_post_hook');
/**
*
- * Then we'll attach into the plugin settings page, and also the
+ * Then we'll attach into the addon settings page, and also the
* settings post hook so that we can create and update
* user preferences.
*
*/
- register_hook('plugin_settings', 'addon/randplace/randplace.php', 'randplace_settings');
- register_hook('plugin_settings_post', 'addon/randplace/randplace.php', 'randplace_settings_post');
+ Addon::registerHook('addon_settings', 'addon/randplace/randplace.php', 'randplace_settings');
+ Addon::registerHook('addon_settings_post', 'addon/randplace/randplace.php', 'randplace_settings_post');
logger("installed randplace");
}
@@ -57,9 +57,9 @@ function randplace_uninstall() {
*
*/
- unregister_hook('post_local', 'addon/randplace/randplace.php', 'randplace_post_hook');
- unregister_hook('plugin_settings', 'addon/randplace/randplace.php', 'randplace_settings');
- unregister_hook('plugin_settings_post', 'addon/randplace/randplace.php', 'randplace_settings_post');
+ Addon::unregisterHook('post_local', 'addon/randplace/randplace.php', 'randplace_post_hook');
+ Addon::unregisterHook('addon_settings', 'addon/randplace/randplace.php', 'randplace_settings');
+ Addon::unregisterHook('addon_settings_post', 'addon/randplace/randplace.php', 'randplace_settings_post');
logger("removed randplace");
@@ -74,7 +74,7 @@ function randplace_post_hook($a, &$item) {
* An item was posted on the local system.
* We are going to look for specific items:
* - A status post by a profile owner
- * - The profile owner must have allowed our plugin
+ * - The profile owner must have allowed our addon
*
*/
@@ -142,7 +142,7 @@ function randplace_settings_post($a,$post) {
/**
*
- * Called from the Plugin Setting form.
+ * Called from the Addon Setting form.
* Add our own settings info to the page.
*
*/
@@ -169,7 +169,7 @@ function randplace_settings(&$a,&$s) {
$s .= '
';
$s .= '
' . t('Randplace Settings') . '
';
$s .= '
';
- $s .= '';
+ $s .= '';
$s .= '';
$s .= '
';
diff --git a/remote_permissions/README.md b/remote_permissions/README.md
index b9e38582..33e106ce 100644
--- a/remote_permissions/README.md
+++ b/remote_permissions/README.md
@@ -1,8 +1,8 @@
-The Remote Permissions plugin enables recipients of private posts to see who else has received the post. This can be beneficial on community servers where people may want to modify the way they speak depending on who can see their comments to the post.
+The Remote Permissions addon enables recipients of private posts to see who else has received the post. This can be beneficial on community servers where people may want to modify the way they speak depending on who can see their comments to the post.
-Note that since Friendica is federated, the local hub may have posts that originated elsewhere. In that case, the plugin has no way of knowing all the recipients of the post, and it must settle for finding out who else can see it on the local hub.
+Note that since Friendica is federated, the local hub may have posts that originated elsewhere. In that case, the addon has no way of knowing all the recipients of the post, and it must settle for finding out who else can see it on the local hub.
-The hub admin can specify one of two behaviors for this plugin:
+The hub admin can specify one of two behaviors for this addon:
* **Global:** every private post on the local hub will show all recipients (or at least the ones it can discover) of the post to any other users on the local hub
* **Individual:** only private posts from those users on the local hub who "opt-in" will show the post recipients. None of the private posts that originated elsewhere will show even partial lists of post recipients
diff --git a/remote_permissions/remote_permissions.php b/remote_permissions/remote_permissions.php
index c7e51286..408316e6 100644
--- a/remote_permissions/remote_permissions.php
+++ b/remote_permissions/remote_permissions.php
@@ -6,20 +6,20 @@
* Author: Zach
*
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\Config;
use Friendica\Core\PConfig;
function remote_permissions_install() {
- register_hook('lockview_content', 'addon/remote_permissions/remote_permissions.php', 'remote_permissions_content');
- register_hook('plugin_settings', 'addon/remote_permissions/remote_permissions.php', 'remote_permissions_settings');
- register_hook('plugin_settings_post', 'addon/remote_permissions/remote_permissions.php', 'remote_permissions_settings_post');
+ Addon::registerHook('lockview_content', 'addon/remote_permissions/remote_permissions.php', 'remote_permissions_content');
+ Addon::registerHook('addon_settings', 'addon/remote_permissions/remote_permissions.php', 'remote_permissions_settings');
+ Addon::registerHook('addon_settings_post', 'addon/remote_permissions/remote_permissions.php', 'remote_permissions_settings_post');
}
function remote_permissions_uninstall() {
- unregister_hook('lockview_content', 'addon/remote_permissions/remote_permissions.php', 'remote_permissions_content');
- unregister_hook('plugin_settings', 'addon/remote_permissions/remote_permissions.php', 'remote_permissions_settings');
- unregister_hook('plugin_settings_post', 'addon/remote_permissions/remote_permissions.php', 'remote_permissions_settings_post');
+ Addon::unregisterHook('lockview_content', 'addon/remote_permissions/remote_permissions.php', 'remote_permissions_content');
+ Addon::unregisterHook('addon_settings', 'addon/remote_permissions/remote_permissions.php', 'remote_permissions_settings');
+ Addon::unregisterHook('addon_settings_post', 'addon/remote_permissions/remote_permissions.php', 'remote_permissions_settings_post');
}
function remote_permissions_settings(&$a,&$o) {
@@ -192,7 +192,7 @@ function remote_permissions_content($a, $item_copy) {
return;
}
-function remote_permissions_plugin_admin(&$a, &$o){
+function remote_permissions_addon_admin(&$a, &$o){
$t = get_markup_template( "admin.tpl", "addon/remote_permissions/" );
$o = replace_macros($t, [
'$submit' => t('Save Settings'),
@@ -201,7 +201,7 @@ function remote_permissions_plugin_admin(&$a, &$o){
]);
}
-function remote_permissions_plugin_admin_post(&$a){
+function remote_permissions_addon_admin_post(&$a){
$choice = ((x($_POST,'remotepermschoice')) ? notags(trim($_POST['remotepermschoice'])) : '');
Config::set('remote_perms','global',($choice == 1 ? 1 : 0));
info( t('Settings updated.'). EOL );
diff --git a/rendertime/rendertime.php b/rendertime/rendertime.php
index 1a2a962f..0789f546 100644
--- a/rendertime/rendertime.php
+++ b/rendertime/rendertime.php
@@ -1,6 +1,4 @@
*
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\Config;
function rendertime_install() {
- register_hook('page_end', 'addon/rendertime/rendertime.php', 'rendertime_page_end');
+ Addon::registerHook('page_end', 'addon/rendertime/rendertime.php', 'rendertime_page_end');
}
function rendertime_uninstall() {
- unregister_hook('init_1', 'addon/rendertime/rendertime.php', 'rendertime_init_1');
- unregister_hook('page_end', 'addon/rendertime/rendertime.php', 'rendertime_page_end');
+ Addon::unregisterHook('init_1', 'addon/rendertime/rendertime.php', 'rendertime_init_1');
+ Addon::unregisterHook('page_end', 'addon/rendertime/rendertime.php', 'rendertime_page_end');
}
function rendertime_init_1(&$a) {
diff --git a/securemail/securemail.php b/securemail/securemail.php
index 68fc24ff..e62b6076 100644
--- a/securemail/securemail.php
+++ b/securemail/securemail.php
@@ -7,6 +7,7 @@
*/
use Friendica\App;
+use Friendica\Core\Addon;
use Friendica\Core\PConfig;
use Friendica\Util\Emailer;
@@ -23,19 +24,19 @@ require_once 'openpgp_crypt_symmetric.php';
function securemail_install() {
- register_hook('plugin_settings', 'addon/securemail/securemail.php', 'securemail_settings');
- register_hook('plugin_settings_post', 'addon/securemail/securemail.php', 'securemail_settings_post');
+ Addon::registerHook('addon_settings', 'addon/securemail/securemail.php', 'securemail_settings');
+ Addon::registerHook('addon_settings_post', 'addon/securemail/securemail.php', 'securemail_settings_post');
- register_hook('emailer_send_prepare', 'addon/securemail/securemail.php', 'securemail_emailer_send_prepare');
+ Addon::registerHook('emailer_send_prepare', 'addon/securemail/securemail.php', 'securemail_emailer_send_prepare');
logger('installed securemail');
}
function securemail_uninstall() {
- unregister_hook('plugin_settings', 'addon/securemail/securemail.php', 'securemail_settings');
- unregister_hook('plugin_settings_post', 'addon/securemail/securemail.php', 'securemail_settings_post');
+ Addon::unregisterHook('addon_settings', 'addon/securemail/securemail.php', 'securemail_settings');
+ Addon::unregisterHook('addon_settings_post', 'addon/securemail/securemail.php', 'securemail_settings_post');
- unregister_hook('emailer_send_prepare', 'addon/securemail/securemail.php', 'securemail_emailer_send_prepare');
+ Addon::unregisterHook('emailer_send_prepare', 'addon/securemail/securemail.php', 'securemail_emailer_send_prepare');
logger('removed securemail');
}
@@ -43,7 +44,7 @@ function securemail_uninstall() {
/**
* @brief Build user settings form
*
- * @link https://github.com/friendica/friendica/blob/develop/doc/Plugins.md#plugin_settings 'plugin_settings' hook
+ * @link https://github.com/friendica/friendica/blob/develop/doc/Addons.md#addon_settings 'addon_settings' hook
*
* @param App $a App instance
* @param string $s output html
@@ -72,7 +73,7 @@ function securemail_settings(App &$a, &$s){
/**
* @brief Handle data from user settings form
*
- * @link https://github.com/friendica/friendica/blob/develop/doc/Plugins.md#plugin_settings_post 'plugin_settings_post' hook
+ * @link https://github.com/friendica/friendica/blob/develop/doc/Addons.md#addon_settings_post 'addon_settings_post' hook
*
* @param App $a App instance
* @param array $b hook data
@@ -137,7 +138,7 @@ function securemail_settings_post(App &$a, array &$b){
/**
* @brief Encrypt notification emails text
*
- * @link https://github.com/friendica/friendica/blob/develop/doc/Plugins.md#emailer_send_prepare 'emailer_send_prepare' hook
+ * @link https://github.com/friendica/friendica/blob/develop/doc/Addons.md#emailer_send_prepare 'emailer_send_prepare' hook
*
* @param App $a App instance
* @param array $b hook data
diff --git a/showmore/showmore.php b/showmore/showmore.php
index 9bddab63..f6e5028c 100644
--- a/showmore/showmore.php
+++ b/showmore/showmore.php
@@ -7,19 +7,19 @@
* based upon NSFW from Mike Macgirvin
*
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\PConfig;
function showmore_install() {
- register_hook('prepare_body', 'addon/showmore/showmore.php', 'showmore_prepare_body');
- register_hook('plugin_settings', 'addon/showmore/showmore.php', 'showmore_addon_settings');
- register_hook('plugin_settings_post', 'addon/showmore/showmore.php', 'showmore_addon_settings_post');
+ Addon::registerHook('prepare_body', 'addon/showmore/showmore.php', 'showmore_prepare_body');
+ Addon::registerHook('addon_settings', 'addon/showmore/showmore.php', 'showmore_addon_settings');
+ Addon::registerHook('addon_settings_post', 'addon/showmore/showmore.php', 'showmore_addon_settings_post');
}
function showmore_uninstall() {
- unregister_hook('prepare_body', 'addon/showmore/showmore.php', 'showmore_prepare_body');
- unregister_hook('plugin_settings', 'addon/showmore/showmore.php', 'showmore_addon_settings');
- unregister_hook('plugin_settings_post', 'addon/showmore/showmore.php', 'showmore_addon_settings_post');
+ Addon::unregisterHook('prepare_body', 'addon/showmore/showmore.php', 'showmore_prepare_body');
+ Addon::unregisterHook('addon_settings', 'addon/showmore/showmore.php', 'showmore_addon_settings');
+ Addon::unregisterHook('addon_settings_post', 'addon/showmore/showmore.php', 'showmore_addon_settings_post');
}
function showmore_addon_settings(&$a,&$s) {
diff --git a/smiley_pack/lang/smiley_pack_es/smiley_pack_es.php b/smiley_pack/lang/smiley_pack_es/smiley_pack_es.php
index fb4bce13..47566380 100644
--- a/smiley_pack/lang/smiley_pack_es/smiley_pack_es.php
+++ b/smiley_pack/lang/smiley_pack_es/smiley_pack_es.php
@@ -6,17 +6,14 @@
* Author: Thomas Willingham (based on Mike Macgirvin's Adult Smile template)
* All smileys from sites offering them as Public Domain
*/
-
-/**
-
-*/
+use Friendica\Core\Addon;
function smiley_pack_es_install() {
- register_hook('smilie', 'addon/smiley_pack_es/smiley_pack_es.php', 'smiley_pack_smilies_es');
+ Addon::registerHook('smilie', 'addon/smiley_pack_es/smiley_pack_es.php', 'smiley_pack_smilies_es');
}
function smiley_pack_es_uninstall() {
- unregister_hook('smilie', 'addon/smiley_pack_es/smiley_pack_es.php', 'smiley_pack_smilies');
+ Addon::unregisterHook('smilie', 'addon/smiley_pack_es/smiley_pack_es.php', 'smiley_pack_smilies');
}
diff --git a/smiley_pack/lang/smiley_pack_fr/smiley_pack_fr.php b/smiley_pack/lang/smiley_pack_fr/smiley_pack_fr.php
index 3ae70879..282c0dde 100644
--- a/smiley_pack/lang/smiley_pack_fr/smiley_pack_fr.php
+++ b/smiley_pack/lang/smiley_pack_fr/smiley_pack_fr.php
@@ -8,13 +8,14 @@
*
*
*/
+use Friendica\Core\Addon;
function smiley_pack_fr_install() {
- register_hook('smilie', 'addon/smiley_pack_fr/smiley_pack_fr.php', 'smiley_pack_fr_smilies');
+ Addon::registerHook('smilie', 'addon/smiley_pack_fr/smiley_pack_fr.php', 'smiley_pack_fr_smilies');
}
function smiley_pack_fr_uninstall() {
- unregister_hook('smilie', 'addon/smiley_pack_fr/smiley_pack_fr.php', 'smiley_pack_fr_smilies');
+ Addon::unregisterHook('smilie', 'addon/smiley_pack_fr/smiley_pack_fr.php', 'smiley_pack_fr_smilies');
}
diff --git a/smiley_pack/smiley_pack.php b/smiley_pack/smiley_pack.php
index 4d49b7c0..ea3490eb 100644
--- a/smiley_pack/smiley_pack.php
+++ b/smiley_pack/smiley_pack.php
@@ -7,16 +7,14 @@
* All smileys from sites offering them as Public Domain
*/
-/**
-
-*/
+use Friendica\Core\Addon;
function smiley_pack_install() {
- register_hook('smilie', 'addon/smiley_pack/smiley_pack.php', 'smiley_pack_smilies');
+ Addon::registerHook('smilie', 'addon/smiley_pack/smiley_pack.php', 'smiley_pack_smilies');
}
function smiley_pack_uninstall() {
- unregister_hook('smilie', 'addon/smiley_pack/smiley_pack.php', 'smiley_pack_smilies');
+ Addon::unregisterHook('smilie', 'addon/smiley_pack/smiley_pack.php', 'smiley_pack_smilies');
}
diff --git a/smileybutton/smileybutton.php b/smileybutton/smileybutton.php
index d922a6b1..4aea34d8 100644
--- a/smileybutton/smileybutton.php
+++ b/smileybutton/smileybutton.php
@@ -5,11 +5,11 @@
* Version: 0.2
* Author: Johannes Schwab
*/
-
+use Friendica\Core\Addon;
function smileybutton_install() {
//Register hooks
- register_hook('jot_tool', 'addon/smileybutton/smileybutton.php', 'show_button');
+ Addon::registerHook('jot_tool', 'addon/smileybutton/smileybutton.php', 'show_button');
logger("installed smileybutton");
}
@@ -17,7 +17,7 @@ function smileybutton_install() {
function smileybutton_uninstall() {
//Delet registered hooks
- unregister_hook('jot_tool', 'addon/smileybutton/smileybutton.php', 'show_button');
+ Addon::unregisterHook('jot_tool', 'addon/smileybutton/smileybutton.php', 'show_button');
logger("removed smileybutton");
}
diff --git a/smilies_adult/smilies_adult.php b/smilies_adult/smilies_adult.php
index 82b30a98..bb673f23 100644
--- a/smilies_adult/smilies_adult.php
+++ b/smilies_adult/smilies_adult.php
@@ -8,13 +8,14 @@
* This is a template for how to extend the "smily" code.
*
*/
+use Friendica\Core\Addon;
function smilies_adult_install() {
- register_hook('smilie', 'addon/smilies_adult/smilies_adult.php', 'smilies_adult_smilies');
+ Addon::registerHook('smilie', 'addon/smilies_adult/smilies_adult.php', 'smilies_adult_smilies');
}
function smilies_adult_uninstall() {
- unregister_hook('smilie', 'addon/smilies_adult/smilies_adult.php', 'smilies_adult_smilies');
+ Addon::unregisterHook('smilie', 'addon/smilies_adult/smilies_adult.php', 'smilies_adult_smilies');
}
diff --git a/sniper/sniper.php b/sniper/sniper.php
index 59812cba..ffebedb3 100644
--- a/sniper/sniper.php
+++ b/sniper/sniper.php
@@ -1,7 +1,7 @@
*/
-
+use Friendica\Core\Addon;
function sniper_install() {
- register_hook('app_menu', 'addon/sniper/sniper.php', 'sniper_app_menu');
+ Addon::registerHook('app_menu', 'addon/sniper/sniper.php', 'sniper_app_menu');
}
function sniper_uninstall() {
- unregister_hook('app_menu', 'addon/sniper/sniper.php', 'sniper_app_menu');
+ Addon::unregisterHook('app_menu', 'addon/sniper/sniper.php', 'sniper_app_menu');
}
diff --git a/startpage/startpage.php b/startpage/startpage.php
index b0ee04cb..872fb234 100644
--- a/startpage/startpage.php
+++ b/startpage/startpage.php
@@ -6,20 +6,20 @@
* Author: Mike Macgirvin
*
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\PConfig;
function startpage_install() {
- register_hook('home_init', 'addon/startpage/startpage.php', 'startpage_home_init');
- register_hook('plugin_settings', 'addon/startpage/startpage.php', 'startpage_settings');
- register_hook('plugin_settings_post', 'addon/startpage/startpage.php', 'startpage_settings_post');
+ Addon::registerHook('home_init', 'addon/startpage/startpage.php', 'startpage_home_init');
+ Addon::registerHook('addon_settings', 'addon/startpage/startpage.php', 'startpage_settings');
+ Addon::registerHook('addon_settings_post', 'addon/startpage/startpage.php', 'startpage_settings_post');
}
function startpage_uninstall() {
- unregister_hook('home_init', 'addon/startpage/startpage.php', 'startpage_home_init');
- unregister_hook('plugin_settings', 'addon/startpage/startpage.php', 'startpage_settings');
- unregister_hook('plugin_settings_post', 'addon/startpage/startpage.php', 'startpage_settings_post');
+ Addon::unregisterHook('home_init', 'addon/startpage/startpage.php', 'startpage_home_init');
+ Addon::unregisterHook('addon_settings', 'addon/startpage/startpage.php', 'startpage_settings');
+ Addon::unregisterHook('addon_settings_post', 'addon/startpage/startpage.php', 'startpage_settings_post');
}
@@ -54,7 +54,7 @@ function startpage_settings_post($a,$post) {
/**
*
- * Called from the Plugin Setting form.
+ * Called from the Addon Setting form.
* Add our own settings info to the page.
*
*/
diff --git a/statusnet/README.md b/statusnet/README.md
index 5042e413..0f246750 100644
--- a/statusnet/README.md
+++ b/statusnet/README.md
@@ -12,7 +12,7 @@ Requirements
Due to the distributed nature of the GNU Social network, each user who wishes to
forward public messages to a GNU Social account has to get the OAuth credentials
for themselves, which makes this addon a little bit more user unfriendly than
-the Twitter Plugin is. Nothing too geeky though!
+the Twitter Addon is. Nothing too geeky though!
The inclusion of a shorturl for the original posting in cases when the message
was longer than the maximal allowed notice length requires it, that you have
@@ -57,9 +57,9 @@ During the registration of the OAuth client remember the following:
After the required credentials for the application are stored in the
configuration you have to actually connect your friendica account with
GNU Social. To do so follow the Sign in with GNU Social button, allow the access
-and copy the security code into the plugin configuration. Friendica will then
+and copy the security code into the addon configuration. Friendica will then
try to acquire the final OAuth credentials from the API, if successful the
-plugin settings will allow you to select to post your public messages to your
+addon settings will allow you to select to post your public messages to your
GNU Social account.
License
diff --git a/statusnet/statusnet.php b/statusnet/statusnet.php
index 9158052a..3d708389 100644
--- a/statusnet/statusnet.php
+++ b/statusnet/statusnet.php
@@ -47,6 +47,7 @@ require_once 'include/enotify.php';
use Friendica\App;
use Friendica\Content\OEmbed;
+use Friendica\Core\Addon;
use Friendica\Core\Config;
use Friendica\Core\PConfig;
use Friendica\Model\GContact;
@@ -145,32 +146,32 @@ class StatusNetOAuth extends TwitterOAuth
function statusnet_install()
{
// we need some hooks, for the configuration and for sending tweets
- register_hook('connector_settings', 'addon/statusnet/statusnet.php', 'statusnet_settings');
- register_hook('connector_settings_post', 'addon/statusnet/statusnet.php', 'statusnet_settings_post');
- register_hook('notifier_normal', 'addon/statusnet/statusnet.php', 'statusnet_post_hook');
- register_hook('post_local', 'addon/statusnet/statusnet.php', 'statusnet_post_local');
- register_hook('jot_networks', 'addon/statusnet/statusnet.php', 'statusnet_jot_nets');
- register_hook('cron', 'addon/statusnet/statusnet.php', 'statusnet_cron');
- register_hook('prepare_body', 'addon/statusnet/statusnet.php', 'statusnet_prepare_body');
- register_hook('check_item_notification', 'addon/statusnet/statusnet.php', 'statusnet_check_item_notification');
+ Addon::registerHook('connector_settings', 'addon/statusnet/statusnet.php', 'statusnet_settings');
+ Addon::registerHook('connector_settings_post', 'addon/statusnet/statusnet.php', 'statusnet_settings_post');
+ Addon::registerHook('notifier_normal', 'addon/statusnet/statusnet.php', 'statusnet_post_hook');
+ Addon::registerHook('post_local', 'addon/statusnet/statusnet.php', 'statusnet_post_local');
+ Addon::registerHook('jot_networks', 'addon/statusnet/statusnet.php', 'statusnet_jot_nets');
+ Addon::registerHook('cron', 'addon/statusnet/statusnet.php', 'statusnet_cron');
+ Addon::registerHook('prepare_body', 'addon/statusnet/statusnet.php', 'statusnet_prepare_body');
+ Addon::registerHook('check_item_notification', 'addon/statusnet/statusnet.php', 'statusnet_check_item_notification');
logger("installed GNU Social");
}
function statusnet_uninstall()
{
- unregister_hook('connector_settings', 'addon/statusnet/statusnet.php', 'statusnet_settings');
- unregister_hook('connector_settings_post', 'addon/statusnet/statusnet.php', 'statusnet_settings_post');
- unregister_hook('notifier_normal', 'addon/statusnet/statusnet.php', 'statusnet_post_hook');
- unregister_hook('post_local', 'addon/statusnet/statusnet.php', 'statusnet_post_local');
- unregister_hook('jot_networks', 'addon/statusnet/statusnet.php', 'statusnet_jot_nets');
- unregister_hook('cron', 'addon/statusnet/statusnet.php', 'statusnet_cron');
- unregister_hook('prepare_body', 'addon/statusnet/statusnet.php', 'statusnet_prepare_body');
- unregister_hook('check_item_notification', 'addon/statusnet/statusnet.php', 'statusnet_check_item_notification');
+ Addon::unregisterHook('connector_settings', 'addon/statusnet/statusnet.php', 'statusnet_settings');
+ Addon::unregisterHook('connector_settings_post', 'addon/statusnet/statusnet.php', 'statusnet_settings_post');
+ Addon::unregisterHook('notifier_normal', 'addon/statusnet/statusnet.php', 'statusnet_post_hook');
+ Addon::unregisterHook('post_local', 'addon/statusnet/statusnet.php', 'statusnet_post_local');
+ Addon::unregisterHook('jot_networks', 'addon/statusnet/statusnet.php', 'statusnet_jot_nets');
+ Addon::unregisterHook('cron', 'addon/statusnet/statusnet.php', 'statusnet_cron');
+ Addon::unregisterHook('prepare_body', 'addon/statusnet/statusnet.php', 'statusnet_prepare_body');
+ Addon::unregisterHook('check_item_notification', 'addon/statusnet/statusnet.php', 'statusnet_check_item_notification');
// old setting - remove only
- unregister_hook('post_local_end', 'addon/statusnet/statusnet.php', 'statusnet_post_hook');
- unregister_hook('plugin_settings', 'addon/statusnet/statusnet.php', 'statusnet_settings');
- unregister_hook('plugin_settings_post', 'addon/statusnet/statusnet.php', 'statusnet_settings_post');
+ Addon::unregisterHook('post_local_end', 'addon/statusnet/statusnet.php', 'statusnet_post_hook');
+ Addon::unregisterHook('addon_settings', 'addon/statusnet/statusnet.php', 'statusnet_settings');
+ Addon::unregisterHook('addon_settings_post', 'addon/statusnet/statusnet.php', 'statusnet_settings_post');
}
function statusnet_check_item_notification(App $a, &$notification_data)
@@ -706,7 +707,7 @@ function statusnet_post_hook(App $a, &$b)
}
}
-function statusnet_plugin_admin_post(App $a)
+function statusnet_addon_admin_post(App $a)
{
$sites = [];
@@ -738,7 +739,7 @@ function statusnet_plugin_admin_post(App $a)
$sites = Config::set('statusnet', 'sites', $sites);
}
-function statusnet_plugin_admin(App $a, &$o)
+function statusnet_addon_admin(App $a, &$o)
{
$sites = Config::get('statusnet', 'sites');
$sitesform = [];
diff --git a/superblock/superblock.php b/superblock/superblock.php
index c33c699d..b6d19de4 100644
--- a/superblock/superblock.php
+++ b/superblock/superblock.php
@@ -8,27 +8,27 @@
* Author: Mike Macgirvin
*
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\PConfig;
function superblock_install() {
- register_hook('plugin_settings', 'addon/superblock/superblock.php', 'superblock_addon_settings');
- register_hook('plugin_settings_post', 'addon/superblock/superblock.php', 'superblock_addon_settings_post');
- register_hook('conversation_start', 'addon/superblock/superblock.php', 'superblock_conversation_start');
- register_hook('item_photo_menu', 'addon/superblock/superblock.php', 'superblock_item_photo_menu');
- register_hook('enotify_store', 'addon/superblock/superblock.php', 'superblock_enotify_store');
+ Addon::registerHook('addon_settings', 'addon/superblock/superblock.php', 'superblock_addon_settings');
+ Addon::registerHook('addon_settings_post', 'addon/superblock/superblock.php', 'superblock_addon_settings_post');
+ Addon::registerHook('conversation_start', 'addon/superblock/superblock.php', 'superblock_conversation_start');
+ Addon::registerHook('item_photo_menu', 'addon/superblock/superblock.php', 'superblock_item_photo_menu');
+ Addon::registerHook('enotify_store', 'addon/superblock/superblock.php', 'superblock_enotify_store');
}
function superblock_uninstall() {
- unregister_hook('plugin_settings', 'addon/superblock/superblock.php', 'superblock_addon_settings');
- unregister_hook('plugin_settings_post', 'addon/superblock/superblock.php', 'superblock_addon_settings_post');
- unregister_hook('conversation_start', 'addon/superblock/superblock.php', 'superblock_conversation_start');
- unregister_hook('item_photo_menu', 'addon/superblock/superblock.php', 'superblock_item_photo_menu');
- unregister_hook('enotify_store', 'addon/superblock/superblock.php', 'superblock_enotify_store');
+ Addon::unregisterHook('addon_settings', 'addon/superblock/superblock.php', 'superblock_addon_settings');
+ Addon::unregisterHook('addon_settings_post', 'addon/superblock/superblock.php', 'superblock_addon_settings_post');
+ Addon::unregisterHook('conversation_start', 'addon/superblock/superblock.php', 'superblock_conversation_start');
+ Addon::unregisterHook('item_photo_menu', 'addon/superblock/superblock.php', 'superblock_item_photo_menu');
+ Addon::unregisterHook('enotify_store', 'addon/superblock/superblock.php', 'superblock_enotify_store');
}
diff --git a/testdrive/README.md b/testdrive/README.md
index 3d735dea..edc63ed5 100644
--- a/testdrive/README.md
+++ b/testdrive/README.md
@@ -2,7 +2,7 @@ TestDrive
=========
-Testdrive is a Friendica plugin which implements automatic account expiration so that a site may be used as a public
+Testdrive is a Friendica addon which implements automatic account expiration so that a site may be used as a public
test bed.
When an account is created on the site, it is given a hard expiration date of
@@ -11,11 +11,11 @@ When an account is created on the site, it is given a hard expiration date of
$a->config['testdrive']['expiredays'] = 30;
Set this in your .htconfig.php file to allow a 30 day test drive period. By default no expiration period is defined
-in case the plugin is activated accidentally.
+in case the addon is activated accidentally.
-There is no opportunity to extend an expired account using this plugin. Expiration is final. Other plugins may be created
-which charge for service and extend the expiration as long as a balance is maintained. This plugin is purely for creating
+There is no opportunity to extend an expired account using this addon. Expiration is final. Other addons may be created
+which charge for service and extend the expiration as long as a balance is maintained. This addon is purely for creating
a limited use test site.
An email warning will be sent out approximately five days before the expiration occurs. Once it occurs logins and many
diff --git a/testdrive/testdrive.php b/testdrive/testdrive.php
index 6203f3cd..f28d8d55 100644
--- a/testdrive/testdrive.php
+++ b/testdrive/testdrive.php
@@ -2,31 +2,31 @@
/**
* Name: testdrive
- * Description: Sample Friendica plugin/addon for creating a test drive Friendica site with automatic account expiration.
+ * Description: Sample Friendica addon for creating a test drive Friendica site with automatic account expiration.
* Version: 1.0
* Author: Mike Macgirvin
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\Config;
use Friendica\Model\User;
function testdrive_install() {
- register_hook('register_account', 'addon/testdrive/testdrive.php', 'testdrive_register_account');
- register_hook('cron', 'addon/testdrive/testdrive.php', 'testdrive_cron');
- register_hook('enotify','addon/testdrive/testdrive.php', 'testdrive_enotify');
- register_hook('globaldir_update','addon/testdrive/testdrive.php', 'testdrive_globaldir_update');
+ Addon::registerHook('register_account', 'addon/testdrive/testdrive.php', 'testdrive_register_account');
+ Addon::registerHook('cron', 'addon/testdrive/testdrive.php', 'testdrive_cron');
+ Addon::registerHook('enotify','addon/testdrive/testdrive.php', 'testdrive_enotify');
+ Addon::registerHook('globaldir_update','addon/testdrive/testdrive.php', 'testdrive_globaldir_update');
}
function testdrive_uninstall() {
- unregister_hook('register_account', 'addon/testdrive/testdrive.php', 'testdrive_register_account');
- unregister_hook('cron', 'addon/testdrive/testdrive.php', 'testdrive_cron');
- unregister_hook('enotify','addon/testdrive/testdrive.php', 'testdrive_enotify');
- unregister_hook('globaldir_update','addon/testdrive/testdrive.php', 'testdrive_globaldir_update');
+ Addon::unregisterHook('register_account', 'addon/testdrive/testdrive.php', 'testdrive_register_account');
+ Addon::unregisterHook('cron', 'addon/testdrive/testdrive.php', 'testdrive_cron');
+ Addon::unregisterHook('enotify','addon/testdrive/testdrive.php', 'testdrive_enotify');
+ Addon::unregisterHook('globaldir_update','addon/testdrive/testdrive.php', 'testdrive_globaldir_update');
}
diff --git a/tictac/tictac.php b/tictac/tictac.php
index 99737841..f928fd5e 100644
--- a/tictac/tictac.php
+++ b/tictac/tictac.php
@@ -5,14 +5,14 @@
* Version: 1.0
* Author: Mike Macgirvin
*/
-
+use Friendica\Core\Addon;
function tictac_install() {
- register_hook('app_menu', 'addon/tictac/tictac.php', 'tictac_app_menu');
+ Addon::registerHook('app_menu', 'addon/tictac/tictac.php', 'tictac_app_menu');
}
function tictac_uninstall() {
- unregister_hook('app_menu', 'addon/tictac/tictac.php', 'tictac_app_menu');
+ Addon::unregisterHook('app_menu', 'addon/tictac/tictac.php', 'tictac_app_menu');
}
diff --git a/tumblr/README.md b/tumblr/README.md
index fb20dac2..57ca145a 100644
--- a/tumblr/README.md
+++ b/tumblr/README.md
@@ -4,7 +4,7 @@ Installation
[Register](http://www.tumblr.com/oauth/apps) an application and use (your server name)/addon/tumblr/callback.php as
callback URL
-After the registration please enter the values for "Consumer Key" and "Consumer Secret" in the [administration](admin/plugins/tumblr).
+After the registration please enter the values for "Consumer Key" and "Consumer Secret" in the [administration](admin/addons/tumblr).
Notice
------
diff --git a/tumblr/lang/C/messages.po b/tumblr/lang/C/messages.po
index b826c030..d2e4a909 100644
--- a/tumblr/lang/C/messages.po
+++ b/tumblr/lang/C/messages.po
@@ -42,7 +42,7 @@ msgid "(Re-)Authenticate your tumblr page"
msgstr ""
#: tumblr.php:192
-msgid "Enable Tumblr Post Plugin"
+msgid "Enable Tumblr Post Addon"
msgstr ""
#: tumblr.php:197
diff --git a/tumblr/lang/ca/strings.php b/tumblr/lang/ca/strings.php
index b1766618..9ded80d2 100644
--- a/tumblr/lang/ca/strings.php
+++ b/tumblr/lang/ca/strings.php
@@ -6,7 +6,7 @@ $a->strings["return to the connector page"] = "";
$a->strings["Post to Tumblr"] = "Publica-ho al Tumblr";
$a->strings["Tumblr Post Settings"] = "Configuració d'Enviaments de Tumblr";
$a->strings["(Re-)Authenticate your tumblr page"] = "";
-$a->strings["Enable Tumblr Post Plugin"] = "Habilita el plugin de enviaments de Tumblr";
+$a->strings["Enable Tumblr Post Addon"] = "Habilita el addon de enviaments de Tumblr";
$a->strings["Post to Tumblr by default"] = "Enviar a Tumblr per defecte";
$a->strings["Post to page:"] = "";
$a->strings["You are not authenticated to tumblr"] = "";
diff --git a/tumblr/lang/cs/messages.po b/tumblr/lang/cs/messages.po
index 83d24f70..a084ca65 100644
--- a/tumblr/lang/cs/messages.po
+++ b/tumblr/lang/cs/messages.po
@@ -44,7 +44,7 @@ msgid "(Re-)Authenticate your tumblr page"
msgstr "(Znovu) přihlásit k Vaší tumblr stránce"
#: tumblr.php:198
-msgid "Enable Tumblr Post Plugin"
+msgid "Enable Tumblr Post Addon"
msgstr "Povolit rozšíření Tumbir"
#: tumblr.php:203
diff --git a/tumblr/lang/cs/strings.php b/tumblr/lang/cs/strings.php
index 43673188..8a8741d2 100644
--- a/tumblr/lang/cs/strings.php
+++ b/tumblr/lang/cs/strings.php
@@ -11,7 +11,7 @@ $a->strings["return to the connector page"] = "návrat ke stránce konektor";
$a->strings["Post to Tumblr"] = "Příspěvek na Tumbir";
$a->strings["Tumblr Export"] = "Tumbir export";
$a->strings["(Re-)Authenticate your tumblr page"] = "(Znovu) přihlásit k Vaší tumblr stránce";
-$a->strings["Enable Tumblr Post Plugin"] = "Povolit rozšíření Tumbir";
+$a->strings["Enable Tumblr Post Addon"] = "Povolit rozšíření Tumbir";
$a->strings["Post to Tumblr by default"] = "Standardně posílat příspěvky na Tumbir";
$a->strings["Post to page:"] = "Příspěvek ke stránce:";
$a->strings["You are not authenticated to tumblr"] = "Nyní nejste přihlášen k tumblr.";
diff --git a/tumblr/lang/de/messages.po b/tumblr/lang/de/messages.po
index d4040002..aa3c16cf 100644
--- a/tumblr/lang/de/messages.po
+++ b/tumblr/lang/de/messages.po
@@ -44,8 +44,8 @@ msgid "(Re-)Authenticate your tumblr page"
msgstr "(Re-)Authentifizierung deiner tumblr Seite"
#: tumblr.php:192
-msgid "Enable Tumblr Post Plugin"
-msgstr "Tumblr-Post-Plugin aktivieren"
+msgid "Enable Tumblr Post Addon"
+msgstr "Tumblr-Post-Addon aktivieren"
#: tumblr.php:197
msgid "Post to Tumblr by default"
diff --git a/tumblr/lang/de/strings.php b/tumblr/lang/de/strings.php
index 9ba39987..87fd5c50 100644
--- a/tumblr/lang/de/strings.php
+++ b/tumblr/lang/de/strings.php
@@ -11,7 +11,7 @@ $a->strings["return to the connector page"] = "zurück zur Connector Seite";
$a->strings["Post to Tumblr"] = "Auf Tumblr veröffentlichen";
$a->strings["Tumblr Post Settings"] = "Tumblr-Beitragseinstellungen";
$a->strings["(Re-)Authenticate your tumblr page"] = "(Re-)Authentifizierung deiner tumblr Seite";
-$a->strings["Enable Tumblr Post Plugin"] = "Tumblr-Post-Plugin aktivieren";
+$a->strings["Enable Tumblr Post Addon"] = "Tumblr-Post-Addon aktivieren";
$a->strings["Post to Tumblr by default"] = "Standardmäßig bei Tumblr veröffentlichen";
$a->strings["Post to page:"] = "Auf tumblr veröffentlichen";
$a->strings["You are not authenticated to tumblr"] = "Du bist gegenüber tumblr nicht authentifiziert";
diff --git a/tumblr/lang/eo/strings.php b/tumblr/lang/eo/strings.php
index 375ea292..12caadbf 100644
--- a/tumblr/lang/eo/strings.php
+++ b/tumblr/lang/eo/strings.php
@@ -3,6 +3,6 @@
$a->strings["Permission denied."] = "Malpermesita.";
$a->strings["Post to Tumblr"] = "Afiŝi al Tumblr";
$a->strings["Tumblr Post Settings"] = "Agordoj pri afiŝoj ĉe Tumblr";
-$a->strings["Enable Tumblr Post Plugin"] = "Ŝalti la kromprogramon por Tumblr afiŝoj";
+$a->strings["Enable Tumblr Post Addon"] = "Ŝalti la kromprogramon por Tumblr afiŝoj";
$a->strings["Post to Tumblr by default"] = "Defaŭlte afiŝi ĉe Tumblr";
$a->strings["Submit"] = "Sendi";
diff --git a/tumblr/lang/es/messages.po b/tumblr/lang/es/messages.po
index 2f2eb431..5993bd53 100644
--- a/tumblr/lang/es/messages.po
+++ b/tumblr/lang/es/messages.po
@@ -44,8 +44,8 @@ msgid "(Re-)Authenticate your tumblr page"
msgstr "(Re-)autenticar su página de tumblr"
#: tumblr.php:192
-msgid "Enable Tumblr Post Plugin"
-msgstr "Habilite el plugin Tumblr Post"
+msgid "Enable Tumblr Post Addon"
+msgstr "Habilite el addon Tumblr Post"
#: tumblr.php:197
msgid "Post to Tumblr by default"
diff --git a/tumblr/lang/es/strings.php b/tumblr/lang/es/strings.php
index 3a6e5ce9..12d3d2d2 100644
--- a/tumblr/lang/es/strings.php
+++ b/tumblr/lang/es/strings.php
@@ -11,7 +11,7 @@ $a->strings["return to the connector page"] = "Vuelva a la página del conector"
$a->strings["Post to Tumblr"] = "Publicar en Tumblr";
$a->strings["Tumblr Post Settings"] = "Ajustes de publicación de Tumblr";
$a->strings["(Re-)Authenticate your tumblr page"] = "(Re-)autenticar su página de tumblr";
-$a->strings["Enable Tumblr Post Plugin"] = "Habilite el plugin Tumblr Post";
+$a->strings["Enable Tumblr Post Addon"] = "Habilite el addon Tumblr Post";
$a->strings["Post to Tumblr by default"] = "Publique en Tumblr por defecto";
$a->strings["Post to page:"] = "Publicar en página:";
$a->strings["You are not authenticated to tumblr"] = "No está autenticado en tumblr";
diff --git a/tumblr/lang/fr/strings.php b/tumblr/lang/fr/strings.php
index e23f85f7..c4d50431 100644
--- a/tumblr/lang/fr/strings.php
+++ b/tumblr/lang/fr/strings.php
@@ -3,6 +3,6 @@
$a->strings["Permission denied."] = "Permission refusée.";
$a->strings["Post to Tumblr"] = "Publier sur Tumblr";
$a->strings["Tumblr Post Settings"] = "Réglages de Tumblr";
-$a->strings["Enable Tumblr Post Plugin"] = "Activer l'extension Tumblr";
+$a->strings["Enable Tumblr Post Addon"] = "Activer l'extension Tumblr";
$a->strings["Post to Tumblr by default"] = "Publier sur Tumblr par défaut";
$a->strings["Submit"] = "Envoyer";
diff --git a/tumblr/lang/is/strings.php b/tumblr/lang/is/strings.php
index cdd3d836..a477e8a6 100644
--- a/tumblr/lang/is/strings.php
+++ b/tumblr/lang/is/strings.php
@@ -3,6 +3,6 @@
$a->strings["Permission denied."] = "Heimild ekki veitt.";
$a->strings["Post to Tumblr"] = "Senda fæslu til Tumblr";
$a->strings["Tumblr Post Settings"] = "Tumblr færslu stillingar";
-$a->strings["Enable Tumblr Post Plugin"] = "Leyfa Tumblr færslu viðbót";
+$a->strings["Enable Tumblr Post Addon"] = "Leyfa Tumblr færslu viðbót";
$a->strings["Post to Tumblr by default"] = "Senda færslu á Tumblr sjálfvirkt";
$a->strings["Submit"] = "Senda inn";
diff --git a/tumblr/lang/it/messages.po b/tumblr/lang/it/messages.po
index 11d5752a..581d2d78 100644
--- a/tumblr/lang/it/messages.po
+++ b/tumblr/lang/it/messages.po
@@ -44,8 +44,8 @@ msgid "(Re-)Authenticate your tumblr page"
msgstr "(Ri)Autenticati con la tua pagina Tumblr"
#: tumblr.php:192
-msgid "Enable Tumblr Post Plugin"
-msgstr "Abilita Plugin Tumblr"
+msgid "Enable Tumblr Post Addon"
+msgstr "Abilita Addon Tumblr"
#: tumblr.php:197
msgid "Post to Tumblr by default"
diff --git a/tumblr/lang/it/strings.php b/tumblr/lang/it/strings.php
index 2c49b0f1..bda33389 100644
--- a/tumblr/lang/it/strings.php
+++ b/tumblr/lang/it/strings.php
@@ -11,7 +11,7 @@ $a->strings["return to the connector page"] = "ritorna alla pagina del connettor
$a->strings["Post to Tumblr"] = "Invia a Tumblr";
$a->strings["Tumblr Post Settings"] = "Impostazioni di invio a Tumblr";
$a->strings["(Re-)Authenticate your tumblr page"] = "(Ri)Autenticati con la tua pagina Tumblr";
-$a->strings["Enable Tumblr Post Plugin"] = "Abilita Plugin Tumblr";
+$a->strings["Enable Tumblr Post Addon"] = "Abilita Addon Tumblr";
$a->strings["Post to Tumblr by default"] = "Invia sempre a Tumblr";
$a->strings["Post to page:"] = "Invia alla pagina:";
$a->strings["You are not authenticated to tumblr"] = "Non sei autenticato su Tumblr";
diff --git a/tumblr/lang/nb-no/strings.php b/tumblr/lang/nb-no/strings.php
index 73312854..024c5517 100644
--- a/tumblr/lang/nb-no/strings.php
+++ b/tumblr/lang/nb-no/strings.php
@@ -3,6 +3,6 @@
$a->strings["Permission denied."] = "Ingen tilgang.";
$a->strings["Post to Tumblr"] = "";
$a->strings["Tumblr Post Settings"] = "";
-$a->strings["Enable Tumblr Post Plugin"] = "";
+$a->strings["Enable Tumblr Post Addon"] = "";
$a->strings["Post to Tumblr by default"] = "";
$a->strings["Submit"] = "Lagre";
diff --git a/tumblr/lang/pl/strings.php b/tumblr/lang/pl/strings.php
index 819c7c20..b01dddb6 100644
--- a/tumblr/lang/pl/strings.php
+++ b/tumblr/lang/pl/strings.php
@@ -6,7 +6,7 @@ $a->strings["return to the connector page"] = "";
$a->strings["Post to Tumblr"] = "Opublikuj na Tumblrze";
$a->strings["Tumblr Post Settings"] = "Ustawienia postu Tumblr";
$a->strings["(Re-)Authenticate your tumblr page"] = "";
-$a->strings["Enable Tumblr Post Plugin"] = "Zezwól na wtyczkę postu Tumblr";
+$a->strings["Enable Tumblr Post Addon"] = "Zezwól na wtyczkę postu Tumblr";
$a->strings["Post to Tumblr by default"] = "Post do Tumblr przez standard";
$a->strings["Post to page:"] = "Napisz na stronę:";
$a->strings["You are not authenticated to tumblr"] = "";
diff --git a/tumblr/lang/pt-br/messages.po b/tumblr/lang/pt-br/messages.po
index 6c80433e..a0de33ad 100644
--- a/tumblr/lang/pt-br/messages.po
+++ b/tumblr/lang/pt-br/messages.po
@@ -44,7 +44,7 @@ msgid "(Re-)Authenticate your tumblr page"
msgstr "(Re)autenticar sua página no Tumblr"
#: tumblr.php:192
-msgid "Enable Tumblr Post Plugin"
+msgid "Enable Tumblr Post Addon"
msgstr "Habilitar plug-in para publicar no Tumblr"
#: tumblr.php:197
diff --git a/tumblr/lang/pt-br/strings.php b/tumblr/lang/pt-br/strings.php
index e800cd71..f77c85f2 100644
--- a/tumblr/lang/pt-br/strings.php
+++ b/tumblr/lang/pt-br/strings.php
@@ -11,7 +11,7 @@ $a->strings["return to the connector page"] = "voltar à página de conectores";
$a->strings["Post to Tumblr"] = "Publicar no Tumblr";
$a->strings["Tumblr Post Settings"] = "Configurações de publicação no Tumblr";
$a->strings["(Re-)Authenticate your tumblr page"] = "(Re)autenticar sua página no Tumblr";
-$a->strings["Enable Tumblr Post Plugin"] = "Habilitar plug-in para publicar no Tumblr";
+$a->strings["Enable Tumblr Post Addon"] = "Habilitar plug-in para publicar no Tumblr";
$a->strings["Post to Tumblr by default"] = "Publicar no Tumblr por padrão";
$a->strings["Post to page:"] = "Publicar na página:";
$a->strings["You are not authenticated to tumblr"] = "Você não se autenticou no Tumblr";
diff --git a/tumblr/lang/ro/messages.po b/tumblr/lang/ro/messages.po
index 46748edd..4f3fba64 100644
--- a/tumblr/lang/ro/messages.po
+++ b/tumblr/lang/ro/messages.po
@@ -43,7 +43,7 @@ msgid "(Re-)Authenticate your tumblr page"
msgstr "(Re- )Autentificare pagină tumblr "
#: tumblr.php:198
-msgid "Enable Tumblr Post Plugin"
+msgid "Enable Tumblr Post Addon"
msgstr "Activare Modul Postare pe Tumblr "
#: tumblr.php:203
diff --git a/tumblr/lang/ro/strings.php b/tumblr/lang/ro/strings.php
index 7262ca4c..60f96432 100644
--- a/tumblr/lang/ro/strings.php
+++ b/tumblr/lang/ro/strings.php
@@ -11,7 +11,7 @@ $a->strings["return to the connector page"] = "revenire la pagina de conectare";
$a->strings["Post to Tumblr"] = "Postați pe Tumblr";
$a->strings["Tumblr Export"] = "Export Tumblr";
$a->strings["(Re-)Authenticate your tumblr page"] = "(Re- )Autentificare pagină tumblr ";
-$a->strings["Enable Tumblr Post Plugin"] = "Activare Modul Postare pe Tumblr ";
+$a->strings["Enable Tumblr Post Addon"] = "Activare Modul Postare pe Tumblr ";
$a->strings["Post to Tumblr by default"] = "Postați implicit pe Tumblr";
$a->strings["Post to page:"] = "Postare pe pagina:";
$a->strings["You are not authenticated to tumblr"] = "Nu sunteți autentificat pe tumblr.";
diff --git a/tumblr/lang/ru/strings.php b/tumblr/lang/ru/strings.php
index 21d77245..cccb32c3 100644
--- a/tumblr/lang/ru/strings.php
+++ b/tumblr/lang/ru/strings.php
@@ -3,6 +3,6 @@
$a->strings["Permission denied."] = "Нет разрешения.";
$a->strings["Post to Tumblr"] = "Написать в Tumblr";
$a->strings["Tumblr Post Settings"] = "Tumblr Настройки сообщения";
-$a->strings["Enable Tumblr Post Plugin"] = "Включить Tumblr плагин сообщений";
+$a->strings["Enable Tumblr Post Addon"] = "Включить Tumblr плагин сообщений";
$a->strings["Post to Tumblr by default"] = "Сообщение Tumblr по умолчанию";
$a->strings["Submit"] = "Подтвердить";
diff --git a/tumblr/lang/zh-cn/strings.php b/tumblr/lang/zh-cn/strings.php
index 0956e13e..da62cdba 100644
--- a/tumblr/lang/zh-cn/strings.php
+++ b/tumblr/lang/zh-cn/strings.php
@@ -6,7 +6,7 @@ $a->strings["return to the connector page"] = "会连接器页";
$a->strings["Post to Tumblr"] = "发送到Tumblr";
$a->strings["Tumblr Post Settings"] = "Tumblr发送设置";
$a->strings["(Re-)Authenticate your tumblr page"] = "再认证您的tumblr页";
-$a->strings["Enable Tumblr Post Plugin"] = "使Tumblr发送插件能够";
+$a->strings["Enable Tumblr Post Addon"] = "使Tumblr发送插件能够";
$a->strings["Post to Tumblr by default"] = "默认地给Tumblr发送";
$a->strings["Post to page:"] = "放在页:";
$a->strings["You are not authenticated to tumblr"] = "tumblr没证明您是真的";
diff --git a/tumblr/tumblr.php b/tumblr/tumblr.php
index a056bd09..ff218d0a 100644
--- a/tumblr/tumblr.php
+++ b/tumblr/tumblr.php
@@ -11,23 +11,24 @@
require_once('library/OAuth1.php');
require_once('addon/tumblr/tumblroauth/tumblroauth.php');
+use Friendica\Core\Addon;
use Friendica\Core\Config;
use Friendica\Core\PConfig;
function tumblr_install() {
- register_hook('post_local', 'addon/tumblr/tumblr.php', 'tumblr_post_local');
- register_hook('notifier_normal', 'addon/tumblr/tumblr.php', 'tumblr_send');
- register_hook('jot_networks', 'addon/tumblr/tumblr.php', 'tumblr_jot_nets');
- register_hook('connector_settings', 'addon/tumblr/tumblr.php', 'tumblr_settings');
- register_hook('connector_settings_post', 'addon/tumblr/tumblr.php', 'tumblr_settings_post');
+ Addon::registerHook('post_local', 'addon/tumblr/tumblr.php', 'tumblr_post_local');
+ Addon::registerHook('notifier_normal', 'addon/tumblr/tumblr.php', 'tumblr_send');
+ Addon::registerHook('jot_networks', 'addon/tumblr/tumblr.php', 'tumblr_jot_nets');
+ Addon::registerHook('connector_settings', 'addon/tumblr/tumblr.php', 'tumblr_settings');
+ Addon::registerHook('connector_settings_post', 'addon/tumblr/tumblr.php', 'tumblr_settings_post');
}
function tumblr_uninstall() {
- unregister_hook('post_local', 'addon/tumblr/tumblr.php', 'tumblr_post_local');
- unregister_hook('notifier_normal', 'addon/tumblr/tumblr.php', 'tumblr_send');
- unregister_hook('jot_networks', 'addon/tumblr/tumblr.php', 'tumblr_jot_nets');
- unregister_hook('connector_settings', 'addon/tumblr/tumblr.php', 'tumblr_settings');
- unregister_hook('connector_settings_post', 'addon/tumblr/tumblr.php', 'tumblr_settings_post');
+ Addon::unregisterHook('post_local', 'addon/tumblr/tumblr.php', 'tumblr_post_local');
+ Addon::unregisterHook('notifier_normal', 'addon/tumblr/tumblr.php', 'tumblr_send');
+ Addon::unregisterHook('jot_networks', 'addon/tumblr/tumblr.php', 'tumblr_jot_nets');
+ Addon::unregisterHook('connector_settings', 'addon/tumblr/tumblr.php', 'tumblr_settings');
+ Addon::unregisterHook('connector_settings_post', 'addon/tumblr/tumblr.php', 'tumblr_settings_post');
}
function tumblr_module() {}
@@ -57,7 +58,7 @@ function tumblr_content(&$a) {
return $o;
}
-function tumblr_plugin_admin(&$a, &$o){
+function tumblr_addon_admin(&$a, &$o){
$t = get_markup_template( "admin.tpl", "addon/tumblr/" );
$o = replace_macros($t, [
@@ -68,7 +69,7 @@ function tumblr_plugin_admin(&$a, &$o){
]);
}
-function tumblr_plugin_admin_post(&$a){
+function tumblr_addon_admin_post(&$a){
$consumer_key = ((x($_POST,'consumer_key')) ? notags(trim($_POST['consumer_key'])) : '');
$consumer_secret = ((x($_POST,'consumer_secret')) ? notags(trim($_POST['consumer_secret'])): '');
Config::set('tumblr','consumer_key',$consumer_key);
@@ -217,7 +218,7 @@ function tumblr_settings(&$a,&$s) {
$s .= '
';
$s .= '
';
- $s .= '';
+ $s .= '';
$s .= '';
$s .= '
';
diff --git a/twitter/README.md b/twitter/README.md
index edfc8138..7936f894 100644
--- a/twitter/README.md
+++ b/twitter/README.md
@@ -1,4 +1,4 @@
-Twitter Plugin
+Twitter Addon
==============
Main authors Tobias Diekershoff and Michael Vogel.
@@ -12,9 +12,9 @@ The addon can also mirror a users Tweets into the ~friendica wall.
Installation
------------
-To use this plugin you have to register an [application](https://apps.twitter.com/) for your friendica instance on Twitter. Please leave the field "Callback URL" empty.
+To use this addon you have to register an [application](https://apps.twitter.com/) for your friendica instance on Twitter. Please leave the field "Callback URL" empty.
-After the registration please enter the values for "Consumer Key" and "Consumer Secret" in the [administration](admin/plugins/twitter).
+After the registration please enter the values for "Consumer Key" and "Consumer Secret" in the [administration](admin/addons/twitter).
Where to find
-------------
diff --git a/twitter/lang/C/messages.po b/twitter/lang/C/messages.po
index fa058ba4..95c07141 100644
--- a/twitter/lang/C/messages.po
+++ b/twitter/lang/C/messages.po
@@ -37,7 +37,7 @@ msgstr ""
#: twitter.php:183
msgid ""
-"At this Friendica instance the Twitter plugin was enabled but you have not "
+"At this Friendica instance the Twitter addon was enabled but you have not "
"yet connected your account to your Twitter account. To do so click the "
"button below to get a PIN from Twitter which you have to copy into the input "
"box below and submit the form. Only your public posts will "
diff --git a/twitter/lang/ca/strings.php b/twitter/lang/ca/strings.php
index 203c9a1f..bc53d4c8 100644
--- a/twitter/lang/ca/strings.php
+++ b/twitter/lang/ca/strings.php
@@ -4,7 +4,7 @@ $a->strings["Post to Twitter"] = "Publica-ho al Twitter";
$a->strings["Twitter settings updated."] = "La configuració de Twitter actualitzada.";
$a->strings["Twitter Posting Settings"] = "Configuració d'Enviaments per a Twitter";
$a->strings["No consumer key pair for Twitter found. Please contact your site administrator."] = "No s'ha pogut emparellar cap clau \"consumer key\" per a Twitter. Si us plau, poseu-vos en contacte amb l'administrador del lloc.";
-$a->strings["At this Friendica instance the Twitter plugin was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter."] = "En aquesta instància Friendica el plugin Twitter va ser habilitat, però encara no ha connectat el compte al seu compte de Twitter. Per a això feu clic al botó de sota per obtenir un PIN de Twitter que ha de copiar a la casella de sota i enviar el formulari. Només els missatges públics es publicaran a Twitter.";
+$a->strings["At this Friendica instance the Twitter addon was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter."] = "En aquesta instància Friendica el addon Twitter va ser habilitat, però encara no ha connectat el compte al seu compte de Twitter. Per a això feu clic al botó de sota per obtenir un PIN de Twitter que ha de copiar a la casella de sota i enviar el formulari. Només els missatges públics es publicaran a Twitter.";
$a->strings["Log in with Twitter"] = "Accedeixi com en Twitter";
$a->strings["Copy the PIN from Twitter here"] = "Copieu el codi PIN de Twitter aquí";
$a->strings["Submit"] = "Enviar";
diff --git a/twitter/lang/cs/messages.po b/twitter/lang/cs/messages.po
index f893d731..5e35bae6 100644
--- a/twitter/lang/cs/messages.po
+++ b/twitter/lang/cs/messages.po
@@ -39,12 +39,12 @@ msgstr "Nenalezen žádný spotřebitelský páru klíčů pro Twitter. Obraťte
#: twitter.php:264
msgid ""
-"At this Friendica instance the Twitter plugin was enabled but you have not "
+"At this Friendica instance the Twitter addon was enabled but you have not "
"yet connected your account to your Twitter account. To do so click the "
"button below to get a PIN from Twitter which you have to copy into the input"
" box below and submit the form. Only your public posts will"
" be posted to Twitter."
-msgstr "Na této Friendica instanci je sice povolen Twitter plugin, ale vy jste si ještě nenastavili svůj Twitter účet. Svůj účet si můžete nastavit kliknutím na tlačítko níže k získání PINu z Vašeho Twitteru, který si zkopírujte do níže uvedeného vstupního pole a odešlete formulář. Pouze vaše veřejné příspěvky budou zaslány na Twitter."
+msgstr "Na této Friendica instanci je sice povolen Twitter addon, ale vy jste si ještě nenastavili svůj Twitter účet. Svůj účet si můžete nastavit kliknutím na tlačítko níže k získání PINu z Vašeho Twitteru, který si zkopírujte do níže uvedeného vstupního pole a odešlete formulář. Pouze vaše veřejné příspěvky budou zaslány na Twitter."
#: twitter.php:265
msgid "Log in with Twitter"
diff --git a/twitter/lang/cs/strings.php b/twitter/lang/cs/strings.php
index 8de4b130..6561b6b8 100644
--- a/twitter/lang/cs/strings.php
+++ b/twitter/lang/cs/strings.php
@@ -9,7 +9,7 @@ $a->strings["Post to Twitter"] = "Poslat příspěvek na Twitter";
$a->strings["Twitter settings updated."] = "Nastavení Twitteru aktualizováno.";
$a->strings["Twitter Import/Export/Mirror"] = "Twitter Import/Export/Zrcadlení";
$a->strings["No consumer key pair for Twitter found. Please contact your site administrator."] = "Nenalezen žádný spotřebitelský páru klíčů pro Twitter. Obraťte se na administrátora webu.";
-$a->strings["At this Friendica instance the Twitter plugin was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter."] = "Na této Friendica instanci je sice povolen Twitter plugin, ale vy jste si ještě nenastavili svůj Twitter účet. Svůj účet si můžete nastavit kliknutím na tlačítko níže k získání PINu z Vašeho Twitteru, který si zkopírujte do níže uvedeného vstupního pole a odešlete formulář. Pouze vaše veřejné příspěvky budou zaslány na Twitter.";
+$a->strings["At this Friendica instance the Twitter addon was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter."] = "Na této Friendica instanci je sice povolen Twitter addon, ale vy jste si ještě nenastavili svůj Twitter účet. Svůj účet si můžete nastavit kliknutím na tlačítko níže k získání PINu z Vašeho Twitteru, který si zkopírujte do níže uvedeného vstupního pole a odešlete formulář. Pouze vaše veřejné příspěvky budou zaslány na Twitter.";
$a->strings["Log in with Twitter"] = "Přihlásit se s Twitter";
$a->strings["Copy the PIN from Twitter here"] = "Zkopírujte sem PIN z Twitteru";
$a->strings["Save Settings"] = "Uložit Nastavení";
diff --git a/twitter/lang/de/messages.po b/twitter/lang/de/messages.po
index 5ec80d64..b17031a7 100644
--- a/twitter/lang/de/messages.po
+++ b/twitter/lang/de/messages.po
@@ -39,12 +39,12 @@ msgstr "Kein Consumer Schlüsselpaar für Twitter gefunden. Bitte wende dich an
#: twitter.php:264
msgid ""
-"At this Friendica instance the Twitter plugin was enabled but you have not "
+"At this Friendica instance the Twitter addon was enabled but you have not "
"yet connected your account to your Twitter account. To do so click the "
"button below to get a PIN from Twitter which you have to copy into the input"
" box below and submit the form. Only your public posts will"
" be posted to Twitter."
-msgstr "Auf diesem Friendica-Server wurde das Twitter-Plugin aktiviert, aber du hast deinen Account noch nicht mit deinem Twitter-Account verbunden. Klicke dazu auf die Schaltfläche unten. Du erhältst dann eine PIN von Twitter, die du dann in das Eingabefeld unten einfügst. Denk daran, den Senden-Knopf zu drücken! Nur öffentliche Beiträge werden bei Twitter veröffentlicht."
+msgstr "Auf diesem Friendica-Server wurde das Twitter-Addon aktiviert, aber du hast deinen Account noch nicht mit deinem Twitter-Account verbunden. Klicke dazu auf die Schaltfläche unten. Du erhältst dann eine PIN von Twitter, die du dann in das Eingabefeld unten einfügst. Denk daran, den Senden-Knopf zu drücken! Nur öffentliche Beiträge werden bei Twitter veröffentlicht."
#: twitter.php:265
msgid "Log in with Twitter"
diff --git a/twitter/lang/de/strings.php b/twitter/lang/de/strings.php
index 997bf55f..69083a2b 100644
--- a/twitter/lang/de/strings.php
+++ b/twitter/lang/de/strings.php
@@ -9,7 +9,7 @@ $a->strings["Post to Twitter"] = "An Twitter senden";
$a->strings["Twitter settings updated."] = "Twitter Einstellungen aktualisiert.";
$a->strings["Twitter Import/Export/Mirror"] = "Twitter Import/Export/Spiegeln";
$a->strings["No consumer key pair for Twitter found. Please contact your site administrator."] = "Kein Consumer Schlüsselpaar für Twitter gefunden. Bitte wende dich an den Administrator der Seite.";
-$a->strings["At this Friendica instance the Twitter plugin was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter."] = "Auf diesem Friendica-Server wurde das Twitter-Plugin aktiviert, aber du hast deinen Account noch nicht mit deinem Twitter-Account verbunden. Klicke dazu auf die Schaltfläche unten. Du erhältst dann eine PIN von Twitter, die du dann in das Eingabefeld unten einfügst. Denk daran, den Senden-Knopf zu drücken! Nur öffentliche Beiträge werden bei Twitter veröffentlicht.";
+$a->strings["At this Friendica instance the Twitter addon was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter."] = "Auf diesem Friendica-Server wurde das Twitter-Addon aktiviert, aber du hast deinen Account noch nicht mit deinem Twitter-Account verbunden. Klicke dazu auf die Schaltfläche unten. Du erhältst dann eine PIN von Twitter, die du dann in das Eingabefeld unten einfügst. Denk daran, den Senden-Knopf zu drücken! Nur öffentliche Beiträge werden bei Twitter veröffentlicht.";
$a->strings["Log in with Twitter"] = "bei Twitter anmelden";
$a->strings["Copy the PIN from Twitter here"] = "Kopiere die Twitter-PIN hier her";
$a->strings["Save Settings"] = "Einstellungen speichern";
diff --git a/twitter/lang/eo/strings.php b/twitter/lang/eo/strings.php
index cce714e7..0dbedd82 100644
--- a/twitter/lang/eo/strings.php
+++ b/twitter/lang/eo/strings.php
@@ -4,7 +4,7 @@ $a->strings["Post to Twitter"] = "Afiŝi ĉe Twitter";
$a->strings["Twitter settings updated."] = "Ĝisdatigis Twitter agordojn.";
$a->strings["Twitter Posting Settings"] = "Agordoj por afiŝi ĉe Twitter";
$a->strings["No consumer key pair for Twitter found. Please contact your site administrator."] = "Ne trovis klientajn ŝlosilojn por Twitter. Bonvolu kontakti vian retejan administranton.";
-$a->strings["At this Friendica instance the Twitter plugin was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter."] = "Je ĉi tiu Friendica retejo, la Twitter kromprogramo jam estas ŝaltita, sed via konto anokoraŭ ne estas konektita kun via Twitter konto. Por fari tion, klaku la supran butonon por atingi nombrokodon de Twitter, kion vi kopiu en la supran eniga ĉelo, kaj sendu la formularon. Nur viaj publikaj afiŝoj estas plusendota al Twitter. ";
+$a->strings["At this Friendica instance the Twitter addon was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter."] = "Je ĉi tiu Friendica retejo, la Twitter kromprogramo jam estas ŝaltita, sed via konto anokoraŭ ne estas konektita kun via Twitter konto. Por fari tion, klaku la supran butonon por atingi nombrokodon de Twitter, kion vi kopiu en la supran eniga ĉelo, kaj sendu la formularon. Nur viaj publikaj afiŝoj estas plusendota al Twitter. ";
$a->strings["Log in with Twitter"] = "Ensaluti kun Twitter";
$a->strings["Copy the PIN from Twitter here"] = "Alglui la PIN de Twitter ĉi tie";
$a->strings["Submit"] = "Sendi";
diff --git a/twitter/lang/es/messages.po b/twitter/lang/es/messages.po
index 6cb69948..739ac523 100644
--- a/twitter/lang/es/messages.po
+++ b/twitter/lang/es/messages.po
@@ -39,12 +39,12 @@ msgstr "No hay par de claves para encuentro de Twitter."
#: twitter.php:183
msgid ""
-"At this Friendica instance the Twitter plugin was enabled but you have not "
+"At this Friendica instance the Twitter addon was enabled but you have not "
"yet connected your account to your Twitter account. To do so click the "
"button below to get a PIN from Twitter which you have to copy into the input"
" box below and submit the form. Only your public posts will"
" be posted to Twitter."
-msgstr "En esta petición de Friendica el plugin de Twitter estaba activo pero usted no ha conectado aún su cuenta con la cuenta de Twitter. Para hacerlo click en el botón de abajo para obtener un PIN desde Twitter que tiene que copiar en la caja de texto de abajo y enviar el formulario. Sólo sus entradas públicas serán posteadas en Twitter"
+msgstr "En esta petición de Friendica el addon de Twitter estaba activo pero usted no ha conectado aún su cuenta con la cuenta de Twitter. Para hacerlo click en el botón de abajo para obtener un PIN desde Twitter que tiene que copiar en la caja de texto de abajo y enviar el formulario. Sólo sus entradas públicas serán posteadas en Twitter"
#: twitter.php:184
msgid "Log in with Twitter"
diff --git a/twitter/lang/es/strings.php b/twitter/lang/es/strings.php
index c1168e4a..812e646b 100644
--- a/twitter/lang/es/strings.php
+++ b/twitter/lang/es/strings.php
@@ -9,7 +9,7 @@ $a->strings["Post to Twitter"] = "Entrada para Twitter";
$a->strings["Twitter settings updated."] = "Ajustes de Twitter actualizados.";
$a->strings["Twitter Posting Settings"] = "Ajustes de publicación de Twitter";
$a->strings["No consumer key pair for Twitter found. Please contact your site administrator."] = "No hay par de claves para encuentro de Twitter.";
-$a->strings["At this Friendica instance the Twitter plugin was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter."] = "En esta petición de Friendica el plugin de Twitter estaba activo pero usted no ha conectado aún su cuenta con la cuenta de Twitter. Para hacerlo click en el botón de abajo para obtener un PIN desde Twitter que tiene que copiar en la caja de texto de abajo y enviar el formulario. Sólo sus entradas públicas serán posteadas en Twitter";
+$a->strings["At this Friendica instance the Twitter addon was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter."] = "En esta petición de Friendica el addon de Twitter estaba activo pero usted no ha conectado aún su cuenta con la cuenta de Twitter. Para hacerlo click en el botón de abajo para obtener un PIN desde Twitter que tiene que copiar en la caja de texto de abajo y enviar el formulario. Sólo sus entradas públicas serán posteadas en Twitter";
$a->strings["Log in with Twitter"] = "Iniciar sesión con Twitter";
$a->strings["Copy the PIN from Twitter here"] = "Copie el PIN de Twitter aquí";
$a->strings["Submit"] = "Enviar";
diff --git a/twitter/lang/fr/messages.po b/twitter/lang/fr/messages.po
index abddb85f..6b898264 100644
--- a/twitter/lang/fr/messages.po
+++ b/twitter/lang/fr/messages.po
@@ -40,7 +40,7 @@ msgstr ""
#: twitter.php:183
msgid ""
-"At this Friendica instance the Twitter plugin was enabled but you have not "
+"At this Friendica instance the Twitter addon was enabled but you have not "
"yet connected your account to your Twitter account. To do so click the "
"button below to get a PIN from Twitter which you have to copy into the input"
" box below and submit the form. Only your public posts will"
diff --git a/twitter/lang/fr/strings.php b/twitter/lang/fr/strings.php
index de9e80a0..d79c5cf9 100644
--- a/twitter/lang/fr/strings.php
+++ b/twitter/lang/fr/strings.php
@@ -9,7 +9,7 @@ $a->strings["Post to Twitter"] = "Publier sur Twitter";
$a->strings["Twitter settings updated."] = "Paramètres Twitter mis à jour.";
$a->strings["Twitter Posting Settings"] = "Paramètres Twitter de publication";
$a->strings["No consumer key pair for Twitter found. Please contact your site administrator."] = "";
-$a->strings["At this Friendica instance the Twitter plugin was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter."] = "";
+$a->strings["At this Friendica instance the Twitter addon was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter."] = "";
$a->strings["Log in with Twitter"] = "Se connecter avec Twitter";
$a->strings["Copy the PIN from Twitter here"] = "Copier le PIN de Twitter ici";
$a->strings["Submit"] = "Soumettre";
diff --git a/twitter/lang/is/strings.php b/twitter/lang/is/strings.php
index edd7809b..66d1836d 100644
--- a/twitter/lang/is/strings.php
+++ b/twitter/lang/is/strings.php
@@ -4,7 +4,7 @@ $a->strings["Post to Twitter"] = "Senda færslu á Twitter";
$a->strings["Twitter settings updated."] = "Stillingar Twitter uppfærðar.";
$a->strings["Twitter Posting Settings"] = "Twitter færslu stillingar";
$a->strings["No consumer key pair for Twitter found. Please contact your site administrator."] = "Ekkert notenda lykils par fyrir Twitter fundið. Hafðu samband við kerfisstjórann.";
-$a->strings["At this Friendica instance the Twitter plugin was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter."] = "";
+$a->strings["At this Friendica instance the Twitter addon was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter."] = "";
$a->strings["Log in with Twitter"] = "Innskrá með Twitter";
$a->strings["Copy the PIN from Twitter here"] = "Afrita PIN frá Twitter hingað";
$a->strings["Submit"] = "Senda inn";
diff --git a/twitter/lang/it/messages.po b/twitter/lang/it/messages.po
index ef14b5bb..75f71963 100644
--- a/twitter/lang/it/messages.po
+++ b/twitter/lang/it/messages.po
@@ -39,12 +39,12 @@ msgstr "Nessuna coppia di chiavi per Twitter trovata. Contatta l'amministratore
#: twitter.php:183
msgid ""
-"At this Friendica instance the Twitter plugin was enabled but you have not "
+"At this Friendica instance the Twitter addon was enabled but you have not "
"yet connected your account to your Twitter account. To do so click the "
"button below to get a PIN from Twitter which you have to copy into the input"
" box below and submit the form. Only your public posts will"
" be posted to Twitter."
-msgstr "Il plugin Twitter è abilitato ma non hai ancora collegato i tuoi account Friendica e Twitter. Per farlo, clicca il bottone qui sotto per ricevere un PIN da Twitter che dovrai copiare nel campo qui sotto. Solo i tuoi post pubblici saranno inviati a Twitter."
+msgstr "Il addon Twitter è abilitato ma non hai ancora collegato i tuoi account Friendica e Twitter. Per farlo, clicca il bottone qui sotto per ricevere un PIN da Twitter che dovrai copiare nel campo qui sotto. Solo i tuoi post pubblici saranno inviati a Twitter."
#: twitter.php:184
msgid "Log in with Twitter"
diff --git a/twitter/lang/it/strings.php b/twitter/lang/it/strings.php
index 446c7de2..c41dc547 100644
--- a/twitter/lang/it/strings.php
+++ b/twitter/lang/it/strings.php
@@ -9,7 +9,7 @@ $a->strings["Post to Twitter"] = "Invia a Twitter";
$a->strings["Twitter settings updated."] = "Impostazioni di Twitter aggiornate.";
$a->strings["Twitter Posting Settings"] = "Impostazioni di invio a Twitter";
$a->strings["No consumer key pair for Twitter found. Please contact your site administrator."] = "Nessuna coppia di chiavi per Twitter trovata. Contatta l'amministratore del sito.";
-$a->strings["At this Friendica instance the Twitter plugin was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter."] = "Il plugin Twitter è abilitato ma non hai ancora collegato i tuoi account Friendica e Twitter. Per farlo, clicca il bottone qui sotto per ricevere un PIN da Twitter che dovrai copiare nel campo qui sotto. Solo i tuoi post pubblici saranno inviati a Twitter.";
+$a->strings["At this Friendica instance the Twitter addon was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter."] = "Il addon Twitter è abilitato ma non hai ancora collegato i tuoi account Friendica e Twitter. Per farlo, clicca il bottone qui sotto per ricevere un PIN da Twitter che dovrai copiare nel campo qui sotto. Solo i tuoi post pubblici saranno inviati a Twitter.";
$a->strings["Log in with Twitter"] = "Accedi con Twitter";
$a->strings["Copy the PIN from Twitter here"] = "Copia il PIN da Twitter qui";
$a->strings["Submit"] = "Invia";
diff --git a/twitter/lang/nb-no/strings.php b/twitter/lang/nb-no/strings.php
index 00a0f111..6330249c 100644
--- a/twitter/lang/nb-no/strings.php
+++ b/twitter/lang/nb-no/strings.php
@@ -4,7 +4,7 @@ $a->strings["Post to Twitter"] = "Post til Twitter";
$a->strings["Twitter settings updated."] = "Twitter-innstilinger oppdatert.";
$a->strings["Twitter Posting Settings"] = "Innstillinger for posting til Twitter";
$a->strings["No consumer key pair for Twitter found. Please contact your site administrator."] = "Ingen \"consumer key pair\" for Twitter funnet. Vennligst kontakt stedets administrator.";
-$a->strings["At this Friendica instance the Twitter plugin was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter."] = "Ved denne Friendica-forekomsten er Twitter-tillegget aktivert, men du har ennå ikke tilkoblet din konto til din Twitter-konto. For å gjøre det, klikk på knappen nedenfor for å få en PIN-kode fra Twitter som du må kopiere inn i feltet nedenfor og sende inn skjemaet. Bare dine offentlige innlegg vil bli lagt inn på Twitter. ";
+$a->strings["At this Friendica instance the Twitter addon was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter."] = "Ved denne Friendica-forekomsten er Twitter-tillegget aktivert, men du har ennå ikke tilkoblet din konto til din Twitter-konto. For å gjøre det, klikk på knappen nedenfor for å få en PIN-kode fra Twitter som du må kopiere inn i feltet nedenfor og sende inn skjemaet. Bare dine offentlige innlegg vil bli lagt inn på Twitter. ";
$a->strings["Log in with Twitter"] = "Logg inn via Twitter";
$a->strings["Copy the PIN from Twitter here"] = "Kopier PIN-kode fra Twitter hit";
$a->strings["Submit"] = "Lagre";
diff --git a/twitter/lang/pl/strings.php b/twitter/lang/pl/strings.php
index 54d3acae..3afb1506 100644
--- a/twitter/lang/pl/strings.php
+++ b/twitter/lang/pl/strings.php
@@ -4,7 +4,7 @@ $a->strings["Post to Twitter"] = "Post na Twitter";
$a->strings["Twitter settings updated."] = "Zaktualizowano ustawienia Twittera.";
$a->strings["Twitter Posting Settings"] = "Ustawienia wpisów z Twittera";
$a->strings["No consumer key pair for Twitter found. Please contact your site administrator."] = "Nie znaleziono pary dla Twittera. Proszę skontaktować się z admininstratorem strony.";
-$a->strings["At this Friendica instance the Twitter plugin was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter."] = "";
+$a->strings["At this Friendica instance the Twitter addon was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter."] = "";
$a->strings["Log in with Twitter"] = "Zaloguj się przez Twitter";
$a->strings["Copy the PIN from Twitter here"] = "Skopiuj tutaj PIN z Twittera";
$a->strings["Submit"] = "Potwierdź";
diff --git a/twitter/lang/pt-br/messages.po b/twitter/lang/pt-br/messages.po
index df121428..56630fec 100644
--- a/twitter/lang/pt-br/messages.po
+++ b/twitter/lang/pt-br/messages.po
@@ -39,7 +39,7 @@ msgstr "Não foi encontrado nenhum par de \"consumer keys\" para o Twitter. Por
#: twitter.php:183
msgid ""
-"At this Friendica instance the Twitter plugin was enabled but you have not "
+"At this Friendica instance the Twitter addon was enabled but you have not "
"yet connected your account to your Twitter account. To do so click the "
"button below to get a PIN from Twitter which you have to copy into the input"
" box below and submit the form. Only your public posts will"
diff --git a/twitter/lang/pt-br/strings.php b/twitter/lang/pt-br/strings.php
index edc4b916..698b761e 100644
--- a/twitter/lang/pt-br/strings.php
+++ b/twitter/lang/pt-br/strings.php
@@ -9,7 +9,7 @@ $a->strings["Post to Twitter"] = "Publicar no Twitter";
$a->strings["Twitter settings updated."] = "As configurações do Twitter foram atualizadas.";
$a->strings["Twitter Posting Settings"] = "Configurações de publicação no Twitter";
$a->strings["No consumer key pair for Twitter found. Please contact your site administrator."] = "Não foi encontrado nenhum par de \"consumer keys\" para o Twitter. Por favor, entre em contato com a administração do site.";
-$a->strings["At this Friendica instance the Twitter plugin was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter."] = "O plug-in do Twitter está habilitado nesta instância do Friendica, mas você ainda não conectou sua conta aqui à sua conta no Twitter. Para fazer isso, clique no botão abaixo. Você vai receber um código de verificação do Twitter. Copie-o para o campo abaixo e envie o formulário. Apenas os seus posts públicos serão publicados no Twitter.";
+$a->strings["At this Friendica instance the Twitter addon was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter."] = "O plug-in do Twitter está habilitado nesta instância do Friendica, mas você ainda não conectou sua conta aqui à sua conta no Twitter. Para fazer isso, clique no botão abaixo. Você vai receber um código de verificação do Twitter. Copie-o para o campo abaixo e envie o formulário. Apenas os seus posts públicos serão publicados no Twitter.";
$a->strings["Log in with Twitter"] = "Entrar com o Twitter";
$a->strings["Copy the PIN from Twitter here"] = "Cole o código de verificação do Twitter aqui";
$a->strings["Submit"] = "Enviar";
diff --git a/twitter/lang/ro/messages.po b/twitter/lang/ro/messages.po
index 27e0d553..46407c73 100644
--- a/twitter/lang/ro/messages.po
+++ b/twitter/lang/ro/messages.po
@@ -38,7 +38,7 @@ msgstr "Nici o pereche de chei de utilizator pentru Twitter nu a fost găsită.
#: twitter.php:264
msgid ""
-"At this Friendica instance the Twitter plugin was enabled but you have not "
+"At this Friendica instance the Twitter addon was enabled but you have not "
"yet connected your account to your Twitter account. To do so click the "
"button below to get a PIN from Twitter which you have to copy into the input"
" box below and submit the form. Only your public posts will"
diff --git a/twitter/lang/ro/strings.php b/twitter/lang/ro/strings.php
index d941d001..36a36e8c 100644
--- a/twitter/lang/ro/strings.php
+++ b/twitter/lang/ro/strings.php
@@ -9,7 +9,7 @@ $a->strings["Post to Twitter"] = "Postați pe Twitter";
$a->strings["Twitter settings updated."] = "Configurările Twitter au fost actualizate.";
$a->strings["Twitter Import/Export/Mirror"] = "Import/Export/Clonare Twitter";
$a->strings["No consumer key pair for Twitter found. Please contact your site administrator."] = "Nici o pereche de chei de utilizator pentru Twitter nu a fost găsită. Vă rugăm să vă contactați administratorul de site.";
-$a->strings["At this Friendica instance the Twitter plugin was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter."] = "Pe această sesiune Friendica, modulul Twitter era activat, dar încă nu v-ați conectat contul la profilul dvs. Twitter. Pentru aceasta apăsați pe butonul de mai jos pentru a obține un PIN de pe Twitter pe care va trebui să îl copiați în caseta de introducere mai jos şi trimiteți formularul. Numai postările dumneavoastră publice vor fi postate pe Twitter.";
+$a->strings["At this Friendica instance the Twitter addon was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter."] = "Pe această sesiune Friendica, modulul Twitter era activat, dar încă nu v-ați conectat contul la profilul dvs. Twitter. Pentru aceasta apăsați pe butonul de mai jos pentru a obține un PIN de pe Twitter pe care va trebui să îl copiați în caseta de introducere mai jos şi trimiteți formularul. Numai postările dumneavoastră publice vor fi postate pe Twitter.";
$a->strings["Log in with Twitter"] = "Autentificare prin Twitter";
$a->strings["Copy the PIN from Twitter here"] = "Copiați aici PIN-ul de la Twitter";
$a->strings["Save Settings"] = "Salvare Configurări";
diff --git a/twitter/lang/ru/messages.po b/twitter/lang/ru/messages.po
index 9418282a..911b2e08 100644
--- a/twitter/lang/ru/messages.po
+++ b/twitter/lang/ru/messages.po
@@ -39,7 +39,7 @@ msgstr "Не найдено пары потребительских ключей
#: twitter.php:183
msgid ""
-"At this Friendica instance the Twitter plugin was enabled but you have not "
+"At this Friendica instance the Twitter addon was enabled but you have not "
"yet connected your account to your Twitter account. To do so click the "
"button below to get a PIN from Twitter which you have to copy into the input"
" box below and submit the form. Only your public posts will"
diff --git a/twitter/lang/ru/strings.php b/twitter/lang/ru/strings.php
index c2210cbb..39e61e4e 100644
--- a/twitter/lang/ru/strings.php
+++ b/twitter/lang/ru/strings.php
@@ -9,7 +9,7 @@ $a->strings["Post to Twitter"] = "Отправить в Twitter";
$a->strings["Twitter settings updated."] = "Настройки Twitter обновлены.";
$a->strings["Twitter Posting Settings"] = "Настройка отправки сообщений в Twitter";
$a->strings["No consumer key pair for Twitter found. Please contact your site administrator."] = "Не найдено пары потребительских ключей для Twitter. Пожалуйста, обратитесь к администратору сайта.";
-$a->strings["At this Friendica instance the Twitter plugin was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter."] = "Чтобы подключиться к Twitter аккаунту, нажмите на кнопку ниже, чтобы получить код безопасности от Twitter, который нужно скопировать в поле ввода ниже, и отправить форму. Только ваши публичные сообщения будут отправляться на Twitter.";
+$a->strings["At this Friendica instance the Twitter addon was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter."] = "Чтобы подключиться к Twitter аккаунту, нажмите на кнопку ниже, чтобы получить код безопасности от Twitter, который нужно скопировать в поле ввода ниже, и отправить форму. Только ваши публичные сообщения будут отправляться на Twitter.";
$a->strings["Log in with Twitter"] = "Войдите через Twitter";
$a->strings["Copy the PIN from Twitter here"] = "Скопируйте PIN с Twitter сюда";
$a->strings["Submit"] = "Подтвердить";
diff --git a/twitter/lang/sv/strings.php b/twitter/lang/sv/strings.php
index 02cb3fdd..3f9d77c8 100644
--- a/twitter/lang/sv/strings.php
+++ b/twitter/lang/sv/strings.php
@@ -3,7 +3,7 @@
$a->strings["Post to Twitter"] = "Lägg in på Twitter";
$a->strings["Twitter Posting Settings"] = "Inställningar för inlägg på Twitter";
$a->strings["No consumer key pair for Twitter found. Please contact your site administrator."] = "No consumer key pair for Twitter found. Please contact your site administrator.";
-$a->strings["At this Friendica instance the Twitter plugin was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter."] = "At this Friendica instance the Twitter plugin was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter.";
+$a->strings["At this Friendica instance the Twitter addon was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter."] = "At this Friendica instance the Twitter addon was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter.";
$a->strings["Copy the PIN from Twitter here"] = "Ange PIN-koden från Twitter här";
$a->strings["Submit"] = "Spara";
$a->strings["Currently connected to: "] = "Ansluten till: ";
diff --git a/twitter/lang/zh-cn/strings.php b/twitter/lang/zh-cn/strings.php
index 9f8f7058..402534c1 100644
--- a/twitter/lang/zh-cn/strings.php
+++ b/twitter/lang/zh-cn/strings.php
@@ -4,7 +4,7 @@ $a->strings["Post to Twitter"] = "发送到在Twitter";
$a->strings["Twitter settings updated."] = "Twitter设置更新了。";
$a->strings["Twitter Posting Settings"] = "Twitter发送设置";
$a->strings["No consumer key pair for Twitter found. Please contact your site administrator."] = "找不到Twitter的消费钥匙双。请联系您的网页行政人员。";
-$a->strings["At this Friendica instance the Twitter plugin was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter."] = "在这个Friendica网站使Twitter插件可用的可您还没有把您的账户和您Twitter账户连通。为这做点击下边的按钮得到密码从Twitter您要粘贴在下边的输入框和提交。只您的公开文章被发送到Twitter。";
+$a->strings["At this Friendica instance the Twitter addon was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter."] = "在这个Friendica网站使Twitter插件可用的可您还没有把您的账户和您Twitter账户连通。为这做点击下边的按钮得到密码从Twitter您要粘贴在下边的输入框和提交。只您的公开文章被发送到Twitter。";
$a->strings["Log in with Twitter"] = "用Twitter登记";
$a->strings["Copy the PIN from Twitter here"] = "复制Twitter密码这儿";
$a->strings["Submit"] = "提交";
diff --git a/twitter/twitter.php b/twitter/twitter.php
index 807445b6..a33415d8 100644
--- a/twitter/twitter.php
+++ b/twitter/twitter.php
@@ -33,7 +33,7 @@
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
-/* Twitter Plugin for Friendica
+/* Twitter Addon for Friendica
*
* Author: Tobias Diekershoff
* tobias.diekershoff@gmx.net
@@ -41,7 +41,7 @@
* License:3-clause BSD license
*
* Configuration:
- * To use this plugin you need a OAuth Consumer key pair (key & secret)
+ * To use this addon you need a OAuth Consumer key pair (key & secret)
* you can get it from Twitter at https://twitter.com/apps
*
* Register your Friendica site as "Client" application with "Read & Write" access
@@ -53,15 +53,16 @@
* $a->config['twitter']['consumerkey'] = 'your consumer_key here';
* $a->config['twitter']['consumersecret'] = 'your consumer_secret here';
*
- * To activate the plugin itself add it to the $a->config['system']['addon']
+ * To activate the addon itself add it to the $a->config['system']['addon']
* setting. After this, your user can configure their Twitter account settings
- * from "Settings -> Plugin Settings".
+ * from "Settings -> Addon Settings".
*
* Requirements: PHP5, curl [Slinky library]
*/
use Friendica\App;
use Friendica\Content\OEmbed;
+use Friendica\Core\Addon;
use Friendica\Core\Config;
use Friendica\Core\PConfig;
use Friendica\Core\Worker;
@@ -78,38 +79,38 @@ define('TWITTER_DEFAULT_POLL_INTERVAL', 5); // given in minutes
function twitter_install()
{
// we need some hooks, for the configuration and for sending tweets
- register_hook('connector_settings', 'addon/twitter/twitter.php', 'twitter_settings');
- register_hook('connector_settings_post', 'addon/twitter/twitter.php', 'twitter_settings_post');
- register_hook('post_local', 'addon/twitter/twitter.php', 'twitter_post_local');
- register_hook('notifier_normal', 'addon/twitter/twitter.php', 'twitter_post_hook');
- register_hook('jot_networks', 'addon/twitter/twitter.php', 'twitter_jot_nets');
- register_hook('cron', 'addon/twitter/twitter.php', 'twitter_cron');
- register_hook('queue_predeliver', 'addon/twitter/twitter.php', 'twitter_queue_hook');
- register_hook('follow', 'addon/twitter/twitter.php', 'twitter_follow');
- register_hook('expire', 'addon/twitter/twitter.php', 'twitter_expire');
- register_hook('prepare_body', 'addon/twitter/twitter.php', 'twitter_prepare_body');
- register_hook('check_item_notification', 'addon/twitter/twitter.php', 'twitter_check_item_notification');
+ Addon::registerHook('connector_settings', 'addon/twitter/twitter.php', 'twitter_settings');
+ Addon::registerHook('connector_settings_post', 'addon/twitter/twitter.php', 'twitter_settings_post');
+ Addon::registerHook('post_local', 'addon/twitter/twitter.php', 'twitter_post_local');
+ Addon::registerHook('notifier_normal', 'addon/twitter/twitter.php', 'twitter_post_hook');
+ Addon::registerHook('jot_networks', 'addon/twitter/twitter.php', 'twitter_jot_nets');
+ Addon::registerHook('cron', 'addon/twitter/twitter.php', 'twitter_cron');
+ Addon::registerHook('queue_predeliver', 'addon/twitter/twitter.php', 'twitter_queue_hook');
+ Addon::registerHook('follow', 'addon/twitter/twitter.php', 'twitter_follow');
+ Addon::registerHook('expire', 'addon/twitter/twitter.php', 'twitter_expire');
+ Addon::registerHook('prepare_body', 'addon/twitter/twitter.php', 'twitter_prepare_body');
+ Addon::registerHook('check_item_notification', 'addon/twitter/twitter.php', 'twitter_check_item_notification');
logger("installed twitter");
}
function twitter_uninstall()
{
- unregister_hook('connector_settings', 'addon/twitter/twitter.php', 'twitter_settings');
- unregister_hook('connector_settings_post', 'addon/twitter/twitter.php', 'twitter_settings_post');
- unregister_hook('post_local', 'addon/twitter/twitter.php', 'twitter_post_local');
- unregister_hook('notifier_normal', 'addon/twitter/twitter.php', 'twitter_post_hook');
- unregister_hook('jot_networks', 'addon/twitter/twitter.php', 'twitter_jot_nets');
- unregister_hook('cron', 'addon/twitter/twitter.php', 'twitter_cron');
- unregister_hook('queue_predeliver', 'addon/twitter/twitter.php', 'twitter_queue_hook');
- unregister_hook('follow', 'addon/twitter/twitter.php', 'twitter_follow');
- unregister_hook('expire', 'addon/twitter/twitter.php', 'twitter_expire');
- unregister_hook('prepare_body', 'addon/twitter/twitter.php', 'twitter_prepare_body');
- unregister_hook('check_item_notification', 'addon/twitter/twitter.php', 'twitter_check_item_notification');
+ Addon::unregisterHook('connector_settings', 'addon/twitter/twitter.php', 'twitter_settings');
+ Addon::unregisterHook('connector_settings_post', 'addon/twitter/twitter.php', 'twitter_settings_post');
+ Addon::unregisterHook('post_local', 'addon/twitter/twitter.php', 'twitter_post_local');
+ Addon::unregisterHook('notifier_normal', 'addon/twitter/twitter.php', 'twitter_post_hook');
+ Addon::unregisterHook('jot_networks', 'addon/twitter/twitter.php', 'twitter_jot_nets');
+ Addon::unregisterHook('cron', 'addon/twitter/twitter.php', 'twitter_cron');
+ Addon::unregisterHook('queue_predeliver', 'addon/twitter/twitter.php', 'twitter_queue_hook');
+ Addon::unregisterHook('follow', 'addon/twitter/twitter.php', 'twitter_follow');
+ Addon::unregisterHook('expire', 'addon/twitter/twitter.php', 'twitter_expire');
+ Addon::unregisterHook('prepare_body', 'addon/twitter/twitter.php', 'twitter_prepare_body');
+ Addon::unregisterHook('check_item_notification', 'addon/twitter/twitter.php', 'twitter_check_item_notification');
// old setting - remove only
- unregister_hook('post_local_end', 'addon/twitter/twitter.php', 'twitter_post_hook');
- unregister_hook('plugin_settings', 'addon/twitter/twitter.php', 'twitter_settings');
- unregister_hook('plugin_settings_post', 'addon/twitter/twitter.php', 'twitter_settings_post');
+ Addon::unregisterHook('post_local_end', 'addon/twitter/twitter.php', 'twitter_post_hook');
+ Addon::unregisterHook('addon_settings', 'addon/twitter/twitter.php', 'twitter_settings');
+ Addon::unregisterHook('addon_settings_post', 'addon/twitter/twitter.php', 'twitter_settings_post');
}
function twitter_check_item_notification(App $a, &$notification_data)
@@ -300,7 +301,7 @@ function twitter_settings(App $a, &$s)
/* * *
* make some nice form
*/
- $s .= '
' . t('At this Friendica instance the Twitter plugin was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter.') . '
';
+ $s .= '
' . t('At this Friendica instance the Twitter addon was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter.') . '
';
$s .= '';
$s .= '
';
$s .= '';
@@ -640,7 +641,7 @@ function twitter_post_hook(App $a, &$b)
}
}
-function twitter_plugin_admin_post(App $a)
+function twitter_addon_admin_post(App $a)
{
$consumerkey = x($_POST, 'consumerkey') ? notags(trim($_POST['consumerkey'])) : '';
$consumersecret = x($_POST, 'consumersecret') ? notags(trim($_POST['consumersecret'])) : '';
@@ -649,7 +650,7 @@ function twitter_plugin_admin_post(App $a)
info(t('Settings updated.') . EOL);
}
-function twitter_plugin_admin(App $a, &$o)
+function twitter_addon_admin(App $a, &$o)
{
$t = get_markup_template("admin.tpl", "addon/twitter/");
diff --git a/unicode_smilies/unicode_smilies.php b/unicode_smilies/unicode_smilies.php
index 85077c45..faa553cc 100644
--- a/unicode_smilies/unicode_smilies.php
+++ b/unicode_smilies/unicode_smilies.php
@@ -5,15 +5,15 @@
* Version: 1.0
* Author: Michael Vogel
*/
-
+use Friendica\Core\Addon;
use Friendica\Content\Smilies;
function unicode_smilies_install() {
- register_hook('smilie', 'addon/unicode_smilies/unicode_smilies.php', 'unicode_smilies_smilies');
+ Addon::registerHook('smilie', 'addon/unicode_smilies/unicode_smilies.php', 'unicode_smilies_smilies');
}
function unicode_smilies_uninstall() {
- unregister_hook('smilie', 'addon/unicode_smilies/unicode_smilies.php', 'unicode_smilies_smilies');
+ Addon::unregisterHook('smilie', 'addon/unicode_smilies/unicode_smilies.php', 'unicode_smilies_smilies');
}
function unicode_smilies_smilies(&$a,&$b) {
diff --git a/viewsrc/viewsrc.php b/viewsrc/viewsrc.php
index 623ed89d..cf1b33a7 100644
--- a/viewsrc/viewsrc.php
+++ b/viewsrc/viewsrc.php
@@ -1,6 +1,4 @@
*
*/
+use Friendica\Core\Addon;
function viewsrc_install() {
- register_hook('item_photo_menu', 'addon/viewsrc/viewsrc.php', 'viewsrc_item_photo_menu');
- register_hook('page_end', 'addon/viewsrc/viewsrc.php', 'viewsrc_page_end');
+ Addon::registerHook('item_photo_menu', 'addon/viewsrc/viewsrc.php', 'viewsrc_item_photo_menu');
+ Addon::registerHook('page_end', 'addon/viewsrc/viewsrc.php', 'viewsrc_page_end');
}
function viewsrc_uninstall() {
- unregister_hook('item_photo_menu', 'addon/viewsrc/viewsrc.php', 'viewsrc_item_photo_menu');
- unregister_hook('page_end', 'addon/viewsrc/viewsrc.php', 'viewsrc_page_end');
+ Addon::unregisterHook('item_photo_menu', 'addon/viewsrc/viewsrc.php', 'viewsrc_item_photo_menu');
+ Addon::unregisterHook('page_end', 'addon/viewsrc/viewsrc.php', 'viewsrc_page_end');
}
diff --git a/webrtc/README.md b/webrtc/README.md
index 4f6c55ca..2b5c9ed0 100644
--- a/webrtc/README.md
+++ b/webrtc/README.md
@@ -1,8 +1,8 @@
-WebRTC Plugin
+WebRTC Addon
=============
This is a quick and dirty addon to add a [webrtc][1] website as an app. As webrtc
-advances so rapidly there is s a chance this plugin will be obsolete. Webrtc is
+advances so rapidly there is s a chance this addon will be obsolete. Webrtc is
a new video and audio conferencing tool that is browser to browser
communication, no need to download specific software for just conferencing.
There are many different webrtc instances and because of the technology it is
@@ -10,7 +10,7 @@ really a person 2 person communication, using the server to only signal who
wants to talk to who, the actual transfer of the audio and video is directly
between the participants.
-If you would like to try this plugin please download one of the following
+If you would like to try this addon please download one of the following
either Chrome/Chromium 25 or higher or Firefox 21 or higher. Then test it by
visiting a known webrtc instance (i.e. [live.mayfirst.org](https://live.mayfirst.org)) create a
room, you should be asked to share your camera and microphone (firefox will let
diff --git a/webrtc/lang/it/messages.po b/webrtc/lang/it/messages.po
index ae800a32..31610b50 100644
--- a/webrtc/lang/it/messages.po
+++ b/webrtc/lang/it/messages.po
@@ -56,4 +56,4 @@ msgstr "WebRTC è un sistema di conferenza audio/video che funziona con Firefox
msgid ""
"Please contact your friendica admin and send a reminder to configure the "
"WebRTC addon."
-msgstr "Contatta il tuo amministratore Friendica e ricordagli di configurare il plugin WebRTC."
+msgstr "Contatta il tuo amministratore Friendica e ricordagli di configurare il addonWebRTC."
diff --git a/webrtc/lang/it/strings.php b/webrtc/lang/it/strings.php
index 7eb1f2f4..cb86cd3a 100644
--- a/webrtc/lang/it/strings.php
+++ b/webrtc/lang/it/strings.php
@@ -12,4 +12,4 @@ $a->strings["Page your users will create a WebRTC chat room on. For example you
$a->strings["Settings updated."] = "Impostazioni aggiornate.";
$a->strings["Video Chat"] = "Chat Video";
$a->strings["WebRTC is a video and audio conferencing tool that works with Firefox (version 21 and above) and Chrome/Chromium (version 25 and above). Just create a new chat room and send the link to someone you want to chat with."] = "WebRTC è un sistema di conferenza audio/video che funziona con Firefox (dalla versione 21) e Chrome/Chromium (dalla versione 25).\nCrea semplicemente una nuova stanza e invia il link alla persona con cui vuoi parlare.";
-$a->strings["Please contact your friendica admin and send a reminder to configure the WebRTC addon."] = "Contatta il tuo amministratore Friendica e ricordagli di configurare il plugin WebRTC.";
+$a->strings["Please contact your friendica admin and send a reminder to configure the WebRTC addon."] = "Contatta il tuo amministratore Friendica e ricordagli di configurare il addon WebRTC.";
diff --git a/webrtc/webrtc.php b/webrtc/webrtc.php
index 1588847d..a71bac2a 100644
--- a/webrtc/webrtc.php
+++ b/webrtc/webrtc.php
@@ -6,15 +6,15 @@
* Author: Stephen Mahood
* Author: Tobias Diekershoff
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\Config;
function webrtc_install() {
- register_hook('app_menu', 'addon/webrtc/webrtc.php', 'webrtc_app_menu');
+ Addon::registerHook('app_menu', 'addon/webrtc/webrtc.php', 'webrtc_app_menu');
}
function webrtc_uninstall() {
- unregister_hook('app_menu', 'addon/webrtc/webrtc.php', 'webrtc_app_menu');
+ Addon::unregisterHook('app_menu', 'addon/webrtc/webrtc.php', 'webrtc_app_menu');
}
@@ -22,14 +22,14 @@ function webrtc_app_menu($a,&$b) {
$b['app_menu'][] = '
";
$o .= call_user_func($a->argv[1].'_widget_help');
diff --git a/windowsphonepush/lang/C/messages.po b/windowsphonepush/lang/C/messages.po
index b6a10a74..8643694a 100644
--- a/windowsphonepush/lang/C/messages.po
+++ b/windowsphonepush/lang/C/messages.po
@@ -26,7 +26,7 @@ msgid "WindowsPhonePush Settings"
msgstr ""
#: windowsphonepush.php:117
-msgid "Enable WindowsPhonePush Plugin"
+msgid "Enable WindowsPhonePush Addon"
msgstr ""
#: windowsphonepush.php:122
diff --git a/windowsphonepush/lang/de/messages.po b/windowsphonepush/lang/de/messages.po
index 672ab3f2..58bf87cf 100644
--- a/windowsphonepush/lang/de/messages.po
+++ b/windowsphonepush/lang/de/messages.po
@@ -28,8 +28,8 @@ msgid "WindowsPhonePush Settings"
msgstr "WindowsPhonePush Einstellungen"
#: windowsphonepush.php:117
-msgid "Enable WindowsPhonePush Plugin"
-msgstr "Aktiviere WindowsPhonePush Plugin"
+msgid "Enable WindowsPhonePush Addon"
+msgstr "Aktiviere WindowsPhonePush Addon"
#: windowsphonepush.php:122
msgid "Push text of new item"
diff --git a/windowsphonepush/lang/de/strings.php b/windowsphonepush/lang/de/strings.php
index 5dbbafc2..e03a0bd7 100644
--- a/windowsphonepush/lang/de/strings.php
+++ b/windowsphonepush/lang/de/strings.php
@@ -7,6 +7,6 @@ function string_plural_select_de($n){
;
$a->strings["WindowsPhonePush settings updated."] = "WindowsPhonePush Einstellungen aktualisiert.";
$a->strings["WindowsPhonePush Settings"] = "WindowsPhonePush Einstellungen";
-$a->strings["Enable WindowsPhonePush Plugin"] = "Aktiviere WindowsPhonePush Plugin";
+$a->strings["Enable WindowsPhonePush Addon"] = "Aktiviere WindowsPhonePush Addon";
$a->strings["Push text of new item"] = "Text senden";
$a->strings["Save Settings"] = "Einstellungen speichern";
diff --git a/windowsphonepush/lang/es/messages.po b/windowsphonepush/lang/es/messages.po
index 7d561c21..52d8e807 100644
--- a/windowsphonepush/lang/es/messages.po
+++ b/windowsphonepush/lang/es/messages.po
@@ -28,8 +28,8 @@ msgid "WindowsPhonePush Settings"
msgstr "Ajustes de WindowsPhonePush"
#: windowsphonepush.php:117
-msgid "Enable WindowsPhonePush Plugin"
-msgstr "Habilitar Plugin de WindowsPhonePush"
+msgid "Enable WindowsPhonePush Addon"
+msgstr "Habilitar Addon de WindowsPhonePush"
#: windowsphonepush.php:122
msgid "Push text of new item"
diff --git a/windowsphonepush/lang/es/strings.php b/windowsphonepush/lang/es/strings.php
index 22a5c4c5..b1a1bd37 100644
--- a/windowsphonepush/lang/es/strings.php
+++ b/windowsphonepush/lang/es/strings.php
@@ -7,6 +7,6 @@ function string_plural_select_es($n){
;
$a->strings["WindowsPhonePush settings updated."] = "Ajustes de WindowsPhonePush actualizados.";
$a->strings["WindowsPhonePush Settings"] = "Ajustes de WindowsPhonePush";
-$a->strings["Enable WindowsPhonePush Plugin"] = "Habilitar Plugin de WindowsPhonePush";
+$a->strings["Enable WindowsPhonePush Addon"] = "Habilitar Addon de WindowsPhonePush";
$a->strings["Push text of new item"] = "Empujar texto de nuevo objeto";
$a->strings["Save Settings"] = "Guardar Ajustes";
diff --git a/windowsphonepush/lang/fr/messages.po b/windowsphonepush/lang/fr/messages.po
index 612f4d6c..b1b9a65c 100644
--- a/windowsphonepush/lang/fr/messages.po
+++ b/windowsphonepush/lang/fr/messages.po
@@ -28,7 +28,7 @@ msgid "WindowsPhonePush Settings"
msgstr "Paramètres WindowsPhonePush"
#: windowsphonepush.php:117
-msgid "Enable WindowsPhonePush Plugin"
+msgid "Enable WindowsPhonePush Addon"
msgstr "Activer le greffon WindowsPhonePush"
#: windowsphonepush.php:122
diff --git a/windowsphonepush/lang/fr/strings.php b/windowsphonepush/lang/fr/strings.php
index 8edca6fc..bff0edb3 100644
--- a/windowsphonepush/lang/fr/strings.php
+++ b/windowsphonepush/lang/fr/strings.php
@@ -7,6 +7,6 @@ function string_plural_select_fr($n){
;
$a->strings["WindowsPhonePush settings updated."] = "Paramètres WindowsPhonePush mis à jour";
$a->strings["WindowsPhonePush Settings"] = "Paramètres WindowsPhonePush";
-$a->strings["Enable WindowsPhonePush Plugin"] = "Activer le greffon WindowsPhonePush";
+$a->strings["Enable WindowsPhonePush Addon"] = "Activer le greffon WindowsPhonePush";
$a->strings["Push text of new item"] = "Pousse le texte du nouvel élément";
$a->strings["Save Settings"] = "Sauvegarde des paramètres";
diff --git a/windowsphonepush/lang/it/messages.po b/windowsphonepush/lang/it/messages.po
index be085107..d51b5732 100644
--- a/windowsphonepush/lang/it/messages.po
+++ b/windowsphonepush/lang/it/messages.po
@@ -28,8 +28,8 @@ msgid "WindowsPhonePush Settings"
msgstr "Impostazioni WindowsPhonePush"
#: windowsphonepush.php:117
-msgid "Enable WindowsPhonePush Plugin"
-msgstr "Abilita plugin WindowsPhonePush"
+msgid "Enable WindowsPhonePush Addon"
+msgstr "Abilita addon WindowsPhonePush"
#: windowsphonepush.php:122
msgid "Push text of new item"
diff --git a/windowsphonepush/lang/it/strings.php b/windowsphonepush/lang/it/strings.php
index a472a7c1..ca76a09d 100644
--- a/windowsphonepush/lang/it/strings.php
+++ b/windowsphonepush/lang/it/strings.php
@@ -7,6 +7,6 @@ function string_plural_select_it($n){
;
$a->strings["WindowsPhonePush settings updated."] = "Impostazioni WindowsPhonePush aggiornate.";
$a->strings["WindowsPhonePush Settings"] = "Impostazioni WindowsPhonePush";
-$a->strings["Enable WindowsPhonePush Plugin"] = "Abilita plugin WindowsPhonePush";
+$a->strings["Enable WindowsPhonePush Addon"] = "Abilita addon WindowsPhonePush";
$a->strings["Push text of new item"] = "Notifica il testo dei nuovi elementi";
$a->strings["Save Settings"] = "Salva Impostazioni";
diff --git a/windowsphonepush/lang/ro/messages.po b/windowsphonepush/lang/ro/messages.po
index 3b55d4a4..cbef36da 100644
--- a/windowsphonepush/lang/ro/messages.po
+++ b/windowsphonepush/lang/ro/messages.po
@@ -28,8 +28,8 @@ msgid "WindowsPhonePush Settings"
msgstr "Configurare WindowsPhonePush"
#: windowsphonepush.php:117
-msgid "Enable WindowsPhonePush Plugin"
-msgstr "Activare Plugin WindowsPhonePush"
+msgid "Enable WindowsPhonePush Addon"
+msgstr "Activare Addon WindowsPhonePush"
#: windowsphonepush.php:122
msgid "Push text of new item"
diff --git a/windowsphonepush/lang/ro/strings.php b/windowsphonepush/lang/ro/strings.php
index 1c29eaba..819ef6fe 100644
--- a/windowsphonepush/lang/ro/strings.php
+++ b/windowsphonepush/lang/ro/strings.php
@@ -7,6 +7,6 @@ function string_plural_select_ro($n){
;
$a->strings["WindowsPhonePush settings updated."] = "Configurări WindowsPhonePush actualizate.";
$a->strings["WindowsPhonePush Settings"] = "Configurare WindowsPhonePush";
-$a->strings["Enable WindowsPhonePush Plugin"] = "Activare Plugin WindowsPhonePush";
+$a->strings["Enable WindowsPhonePush Addon"] = "Activare Addon WindowsPhonePush";
$a->strings["Push text of new item"] = "Tastează textul noului element";
$a->strings["Save Settings"] = "Salvare Configurări";
diff --git a/windowsphonepush/windowsphonepush.php b/windowsphonepush/windowsphonepush.php
index 66b23a7c..861bb7af 100644
--- a/windowsphonepush/windowsphonepush.php
+++ b/windowsphonepush/windowsphonepush.php
@@ -10,7 +10,7 @@
* Pre-requisite: Windows Phone mobile device (at least WP 7.0)
* Friendica mobile app on Windows Phone
*
- * When plugin is installed, the system calls the plugin
+ * When addon is installed, the system calls the addon
* name_install() function, located in 'addon/name/name.php',
* where 'name' is the name of the addon.
* If the addon is removed from the configuration list, the
@@ -26,24 +26,25 @@
* count only unseen elements which are not type=activity (likes and dislikes not seen as new elements)
*/
use Friendica\App;
+use Friendica\Core\Addon;
use Friendica\Core\PConfig;
use Friendica\Model\User;
function windowsphonepush_install()
{
- /* Our plugin will attach in three places.
+ /* Our addon will attach in three places.
* The first is within cron - so the push notifications will be
* sent every 10 minutes (or whatever is set in crontab).
*/
- register_hook('cron', 'addon/windowsphonepush/windowsphonepush.php', 'windowsphonepush_cron');
+ Addon::registerHook('cron', 'addon/windowsphonepush/windowsphonepush.php', 'windowsphonepush_cron');
- /* Then we'll attach into the plugin settings page, and also the
+ /* Then we'll attach into the addon settings page, and also the
* settings post hook so that we can create and update
- * user preferences. User shall be able to activate the plugin and
+ * user preferences. User shall be able to activate the addon and
* define whether he allows pushing first characters of item text
*/
- register_hook('plugin_settings', 'addon/windowsphonepush/windowsphonepush.php', 'windowsphonepush_settings');
- register_hook('plugin_settings_post', 'addon/windowsphonepush/windowsphonepush.php', 'windowsphonepush_settings_post');
+ Addon::registerHook('addon_settings', 'addon/windowsphonepush/windowsphonepush.php', 'windowsphonepush_settings');
+ Addon::registerHook('addon_settings_post', 'addon/windowsphonepush/windowsphonepush.php', 'windowsphonepush_settings_post');
logger("installed windowsphonepush");
}
@@ -53,9 +54,9 @@ function windowsphonepush_uninstall()
/* uninstall unregisters any hooks created with register_hook
* during install. Don't delete data in table `pconfig`.
*/
- unregister_hook('cron', 'addon/windowsphonepush/windowsphonepush.php', 'windowsphonepush_cron');
- unregister_hook('plugin_settings', 'addon/windowsphonepush/windowsphonepush.php', 'windowsphonepush_settings');
- unregister_hook('plugin_settings_post', 'addon/windowsphonepush/windowsphonepush.php', 'windowsphonepush_settings_post');
+ Addon::unregisterHook('cron', 'addon/windowsphonepush/windowsphonepush.php', 'windowsphonepush_cron');
+ Addon::unregisterHook('addon_settings', 'addon/windowsphonepush/windowsphonepush.php', 'windowsphonepush_settings');
+ Addon::unregisterHook('addon_settings_post', 'addon/windowsphonepush/windowsphonepush.php', 'windowsphonepush_settings_post');
logger("removed windowsphonepush");
}
@@ -88,7 +89,7 @@ function windowsphonepush_settings_post($a, $post)
info(t('WindowsPhonePush settings updated.') . EOL);
}
-/* Called from the Plugin Setting form.
+/* Called from the Addon Setting form.
* Add our own settings info to the page.
*/
function windowsphonepush_settings(&$a, &$s)
@@ -114,7 +115,7 @@ function windowsphonepush_settings(&$a, &$s)
$s .= '
' . t('WindowsPhonePush Settings') . '
';
$s .= '
';
- $s .= '';
+ $s .= '';
$s .= '';
$s .= '
';
@@ -135,12 +136,12 @@ function windowsphonepush_settings(&$a, &$s)
return;
}
-/* Cron function used to regularly check all users on the server with active windowsphonepushplugin and send
+/* Cron function used to regularly check all users on the server with active windowsphonepushaddon and send
* notifications to the Microsoft servers and consequently to the Windows Phone device
*/
function windowsphonepush_cron()
{
- // retrieve all UID's for which the plugin windowsphonepush is enabled and loop through every user
+ // retrieve all UID's for which the addon windowsphonepush is enabled and loop through every user
$r = q("SELECT * FROM `pconfig` WHERE `cat` = 'windowsphonepush' AND `k` = 'enable' AND `v` = 1");
if (count($r)) {
foreach ($r as $rr) {
@@ -151,7 +152,7 @@ function windowsphonepush_cron()
// pushing only possible if device_url (the URI on Microsoft server) is available or not "NA" (which will be sent
// by app if user has switched the server setting in app - sending blank not possible as this would return an update error)
if (( $device_url == "" ) || ( $device_url == "NA" )) {
- // no Device-URL for the user availabe, but plugin is enabled --> write info to Logger
+ // no Device-URL for the user availabe, but addon is enabled --> write info to Logger
logger("WARN: windowsphonepush is enable for user " . $rr['uid'] . ", but no Device-URL is specified for the user.");
} else {
// retrieve the number of unseen items and the id of the latest one (if there are more than
@@ -392,7 +393,7 @@ function windowsphonepush_updatesettings()
return "Not Authenticated";
}
- // no updating if user hasn't enabled the plugin
+ // no updating if user hasn't enabled the addon
$enable = PConfig::get(local_user(), 'windowsphonepush', 'enable');
if (!$enable) {
return "Plug-in not enabled";
@@ -433,7 +434,7 @@ function windowsphonepush_updatecounterunseen()
return "Not Authenticated";
}
- // no updating if user hasn't enabled the plugin
+ // no updating if user hasn't enabled the addon
$enable = PConfig::get(local_user(), 'windowsphonepush', 'enable');
if (!$enable) {
return "Plug-in not enabled";
diff --git a/wppost/lang/C/messages.po b/wppost/lang/C/messages.po
index 27baa960..92bc721d 100644
--- a/wppost/lang/C/messages.po
+++ b/wppost/lang/C/messages.po
@@ -26,7 +26,7 @@ msgid "Wordpress Export"
msgstr ""
#: wppost.php:87
-msgid "Enable WordPress Post Plugin"
+msgid "Enable WordPress Post Addon"
msgstr ""
#: wppost.php:92
diff --git a/wppost/lang/ca/strings.php b/wppost/lang/ca/strings.php
index 2856b55c..fb8f7d65 100644
--- a/wppost/lang/ca/strings.php
+++ b/wppost/lang/ca/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to Wordpress"] = "Publica-ho al Wordpress";
$a->strings["WordPress Post Settings"] = "Configuració d'enviaments a WordPress";
-$a->strings["Enable WordPress Post Plugin"] = "Habilitar Configuració d'Enviaments a WordPress";
+$a->strings["Enable WordPress Post Addon"] = "Habilitar Configuració d'Enviaments a WordPress";
$a->strings["WordPress username"] = "Nom d'usuari de WordPress";
$a->strings["WordPress password"] = "Contrasenya de WordPress";
$a->strings["WordPress API URL"] = "WordPress API URL";
diff --git a/wppost/lang/cs/messages.po b/wppost/lang/cs/messages.po
index 992a95db..d2571365 100644
--- a/wppost/lang/cs/messages.po
+++ b/wppost/lang/cs/messages.po
@@ -28,7 +28,7 @@ msgid "Wordpress Export"
msgstr "Wordpress Export"
#: wppost.php:86
-msgid "Enable WordPress Post Plugin"
+msgid "Enable WordPress Post Addon"
msgstr "Povolit rozšíření na WordPress"
#: wppost.php:91
diff --git a/wppost/lang/cs/strings.php b/wppost/lang/cs/strings.php
index 00352ce7..45783422 100644
--- a/wppost/lang/cs/strings.php
+++ b/wppost/lang/cs/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_cs($n){
;
$a->strings["Post to Wordpress"] = "Příspěvky do WordPress";
$a->strings["Wordpress Export"] = "Wordpress Export";
-$a->strings["Enable WordPress Post Plugin"] = "Povolit rozšíření na WordPress";
+$a->strings["Enable WordPress Post Addon"] = "Povolit rozšíření na WordPress";
$a->strings["WordPress username"] = "WordPress uživatelské jméno";
$a->strings["WordPress password"] = "WordPress heslo";
$a->strings["WordPress API URL"] = "URL adresa API WordPress";
diff --git a/wppost/lang/de/messages.po b/wppost/lang/de/messages.po
index 57dde23f..eb10db40 100644
--- a/wppost/lang/de/messages.po
+++ b/wppost/lang/de/messages.po
@@ -30,8 +30,8 @@ msgid "Wordpress Export"
msgstr "Wordpress Export"
#: wppost.php:87
-msgid "Enable WordPress Post Plugin"
-msgstr "WordPress Plugin aktivieren"
+msgid "Enable WordPress Post Addon"
+msgstr "WordPress Addon aktivieren"
#: wppost.php:92
msgid "WordPress username"
diff --git a/wppost/lang/de/strings.php b/wppost/lang/de/strings.php
index 9cdc292a..57ae6afe 100644
--- a/wppost/lang/de/strings.php
+++ b/wppost/lang/de/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_de($n){
;
$a->strings["Post to Wordpress"] = "Bei WordPress veröffentlichen";
$a->strings["Wordpress Export"] = "Wordpress Export";
-$a->strings["Enable WordPress Post Plugin"] = "WordPress Plugin aktivieren";
+$a->strings["Enable WordPress Post Addon"] = "WordPress Addon aktivieren";
$a->strings["WordPress username"] = "WordPress-Benutzername";
$a->strings["WordPress password"] = "WordPress-Passwort";
$a->strings["WordPress API URL"] = "WordPress-API-URL";
diff --git a/wppost/lang/eo/strings.php b/wppost/lang/eo/strings.php
index 7c786666..04130d73 100644
--- a/wppost/lang/eo/strings.php
+++ b/wppost/lang/eo/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to Wordpress"] = "Afiŝi al Wordpress";
$a->strings["WordPress Post Settings"] = "Agordoj por WordPress afiŝojn";
-$a->strings["Enable WordPress Post Plugin"] = "Ŝalti la Wordpress-afiŝo kromprogramon";
+$a->strings["Enable WordPress Post Addon"] = "Ŝalti la Wordpress-afiŝo kromprogramon";
$a->strings["WordPress username"] = "WordPress salutnomo";
$a->strings["WordPress password"] = "WordPress pasvorto";
$a->strings["WordPress API URL"] = "Wordpress API URL adreso";
diff --git a/wppost/lang/es/messages.po b/wppost/lang/es/messages.po
index baac8034..0c555a7f 100644
--- a/wppost/lang/es/messages.po
+++ b/wppost/lang/es/messages.po
@@ -28,8 +28,8 @@ msgid "Wordpress Export"
msgstr "Exportar a Wordpress"
#: wppost.php:87
-msgid "Enable WordPress Post Plugin"
-msgstr "Habilitar Plugin de publicación de WordPress"
+msgid "Enable WordPress Post Addon"
+msgstr "Habilitar Addon de publicación de WordPress"
#: wppost.php:92
msgid "WordPress username"
diff --git a/wppost/lang/es/strings.php b/wppost/lang/es/strings.php
index 13753311..fab68021 100644
--- a/wppost/lang/es/strings.php
+++ b/wppost/lang/es/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_es($n){
;
$a->strings["Post to Wordpress"] = "Publicar en Wordpress";
$a->strings["Wordpress Export"] = "Exportar a Wordpress";
-$a->strings["Enable WordPress Post Plugin"] = "Habilitar Plugin de publicación de WordPress";
+$a->strings["Enable WordPress Post Addon"] = "Habilitar Addon de publicación de WordPress";
$a->strings["WordPress username"] = "Nombre de usuario de WordPress";
$a->strings["WordPress password"] = "Contraseña de WordPress";
$a->strings["WordPress API URL"] = "URL de API de WordPress";
diff --git a/wppost/lang/fr/strings.php b/wppost/lang/fr/strings.php
index 9cd4456f..ed511397 100644
--- a/wppost/lang/fr/strings.php
+++ b/wppost/lang/fr/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to Wordpress"] = "Poster sur WordPress";
$a->strings["WordPress Post Settings"] = "Réglages WordPress";
-$a->strings["Enable WordPress Post Plugin"] = "Activer l'extension WordPress";
+$a->strings["Enable WordPress Post Addon"] = "Activer l'extension WordPress";
$a->strings["WordPress username"] = "Utilisateur WordPress";
$a->strings["WordPress password"] = "Mot de passe WordPress";
$a->strings["WordPress API URL"] = "URL de l'API WordPress";
diff --git a/wppost/lang/is/strings.php b/wppost/lang/is/strings.php
index 0b7f3fe7..bca63d56 100644
--- a/wppost/lang/is/strings.php
+++ b/wppost/lang/is/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to Wordpress"] = "Senda færslu á Wordpress";
$a->strings["WordPress Post Settings"] = "Wordpress Post stillingar";
-$a->strings["Enable WordPress Post Plugin"] = "Kveikja á WordPress Post viðbót";
+$a->strings["Enable WordPress Post Addon"] = "Kveikja á WordPress Post viðbót";
$a->strings["WordPress username"] = "Wordpress aðgangsorð";
$a->strings["WordPress password"] = "Wordpress aðgagnsorð";
$a->strings["WordPress API URL"] = "Slóð á Wordpress API";
diff --git a/wppost/lang/it/messages.po b/wppost/lang/it/messages.po
index 2369d955..00bed78a 100644
--- a/wppost/lang/it/messages.po
+++ b/wppost/lang/it/messages.po
@@ -28,8 +28,8 @@ msgid "Wordpress Export"
msgstr ""
#: wppost.php:87
-msgid "Enable WordPress Post Plugin"
-msgstr "Abilita il plugin di invio a Wordpress"
+msgid "Enable WordPress Post Addon"
+msgstr "Abilita il addon di invio a Wordpress"
#: wppost.php:92
msgid "WordPress username"
diff --git a/wppost/lang/it/strings.php b/wppost/lang/it/strings.php
index 3f616900..8df1bd08 100644
--- a/wppost/lang/it/strings.php
+++ b/wppost/lang/it/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_it($n){
;
$a->strings["Post to Wordpress"] = "Invia a Wordpress";
$a->strings["Wordpress Export"] = "";
-$a->strings["Enable WordPress Post Plugin"] = "Abilita il plugin di invio a Wordpress";
+$a->strings["Enable WordPress Post Addon"] = "Abilita il addon di invio a Wordpress";
$a->strings["WordPress username"] = "Nome utente Wordpress";
$a->strings["WordPress password"] = "Password Wordpress";
$a->strings["WordPress API URL"] = "Indirizzo API Wordpress";
diff --git a/wppost/lang/nb-no/strings.php b/wppost/lang/nb-no/strings.php
index 5c840e67..3d125aa6 100644
--- a/wppost/lang/nb-no/strings.php
+++ b/wppost/lang/nb-no/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to Wordpress"] = "";
$a->strings["WordPress Post Settings"] = "";
-$a->strings["Enable WordPress Post Plugin"] = "";
+$a->strings["Enable WordPress Post Addon"] = "";
$a->strings["WordPress username"] = "";
$a->strings["WordPress password"] = "";
$a->strings["WordPress API URL"] = "";
diff --git a/wppost/lang/pl/strings.php b/wppost/lang/pl/strings.php
index 201ead1d..ab2df6a7 100644
--- a/wppost/lang/pl/strings.php
+++ b/wppost/lang/pl/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to Wordpress"] = "Opublikuj na Wordpress";
$a->strings["WordPress Post Settings"] = "Ustawienia wpisów WorldPress";
-$a->strings["Enable WordPress Post Plugin"] = "Włącz plugin wpisów WorldPress";
+$a->strings["Enable WordPress Post Addon"] = "Włącz addon wpisów WorldPress";
$a->strings["WordPress username"] = "nazwa użytkownika WordPress";
$a->strings["WordPress password"] = "hasło WordPress";
$a->strings["WordPress API URL"] = "WordPress API URL";
diff --git a/wppost/lang/pt-br/messages.po b/wppost/lang/pt-br/messages.po
index 3d2ad0ff..b011d0c2 100644
--- a/wppost/lang/pt-br/messages.po
+++ b/wppost/lang/pt-br/messages.po
@@ -28,7 +28,7 @@ msgid "WordPress Post Settings"
msgstr "Configurações de publicação no WordPress"
#: wppost.php:78
-msgid "Enable WordPress Post Plugin"
+msgid "Enable WordPress Post Addon"
msgstr "Habilitar plug-in para publicar no WordPress"
#: wppost.php:83
diff --git a/wppost/lang/pt-br/strings.php b/wppost/lang/pt-br/strings.php
index dbb6eb1f..fc59fcb3 100644
--- a/wppost/lang/pt-br/strings.php
+++ b/wppost/lang/pt-br/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_pt_br($n){
;
$a->strings["Post to Wordpress"] = "Publicar no Wordpress";
$a->strings["WordPress Post Settings"] = "Configurações de publicação no WordPress";
-$a->strings["Enable WordPress Post Plugin"] = "Habilitar plug-in para publicar no WordPress";
+$a->strings["Enable WordPress Post Addon"] = "Habilitar plug-in para publicar no WordPress";
$a->strings["WordPress username"] = "Nome de usuário no WordPress";
$a->strings["WordPress password"] = "Senha do WordPress";
$a->strings["WordPress API URL"] = "";
diff --git a/wppost/lang/ro/messages.po b/wppost/lang/ro/messages.po
index d329836d..a239bcb5 100644
--- a/wppost/lang/ro/messages.po
+++ b/wppost/lang/ro/messages.po
@@ -27,7 +27,7 @@ msgid "Wordpress Export"
msgstr "Export pe Wordpress"
#: wppost.php:86
-msgid "Enable WordPress Post Plugin"
+msgid "Enable WordPress Post Addon"
msgstr "Activare Modul Postare pe Wordpress"
#: wppost.php:91
diff --git a/wppost/lang/ro/strings.php b/wppost/lang/ro/strings.php
index 86835bc3..fcd0efa4 100644
--- a/wppost/lang/ro/strings.php
+++ b/wppost/lang/ro/strings.php
@@ -7,7 +7,7 @@ function string_plural_select_ro($n){
;
$a->strings["Post to Wordpress"] = "Postați pe Wordpress";
$a->strings["Wordpress Export"] = "Export pe Wordpress";
-$a->strings["Enable WordPress Post Plugin"] = "Activare Modul Postare pe Wordpress";
+$a->strings["Enable WordPress Post Addon"] = "Activare Modul Postare pe Wordpress";
$a->strings["WordPress username"] = "Utilizator WordPress ";
$a->strings["WordPress password"] = "Parolă WordPress ";
$a->strings["WordPress API URL"] = "URL Cheie API WordPress";
diff --git a/wppost/lang/ru/strings.php b/wppost/lang/ru/strings.php
index f193addc..5eefa639 100644
--- a/wppost/lang/ru/strings.php
+++ b/wppost/lang/ru/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to Wordpress"] = "Сообщение для Wordpress";
$a->strings["WordPress Post Settings"] = "Настройки сообщений для Wordpress";
-$a->strings["Enable WordPress Post Plugin"] = "Включить WordPress плагин сообщений";
+$a->strings["Enable WordPress Post Addon"] = "Включить WordPress плагин сообщений";
$a->strings["WordPress username"] = "WordPress Имя пользователя";
$a->strings["WordPress password"] = "WordPress паролъ";
$a->strings["WordPress API URL"] = "WordPress API URL";
diff --git a/wppost/lang/zh-cn/strings.php b/wppost/lang/zh-cn/strings.php
index 74db6306..9ac233fd 100644
--- a/wppost/lang/zh-cn/strings.php
+++ b/wppost/lang/zh-cn/strings.php
@@ -2,7 +2,7 @@
$a->strings["Post to Wordpress"] = "发送到Wordpress";
$a->strings["WordPress Post Settings"] = "Wordpress发送设置";
-$a->strings["Enable WordPress Post Plugin"] = "使Wordpress发送插件可用";
+$a->strings["Enable WordPress Post Addon"] = "使Wordpress发送插件可用";
$a->strings["WordPress username"] = "Wordpress用户名";
$a->strings["WordPress password"] = "Wordpress密码";
$a->strings["WordPress API URL"] = "WordPress API URL";
diff --git a/wppost/wppost.php b/wppost/wppost.php
index 22032c90..af371af1 100644
--- a/wppost/wppost.php
+++ b/wppost/wppost.php
@@ -6,28 +6,28 @@
* Version: 1.1
* Author: Mike Macgirvin
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\PConfig;
function wppost_install() {
- register_hook('post_local', 'addon/wppost/wppost.php', 'wppost_post_local');
- register_hook('notifier_normal', 'addon/wppost/wppost.php', 'wppost_send');
- register_hook('jot_networks', 'addon/wppost/wppost.php', 'wppost_jot_nets');
- register_hook('connector_settings', 'addon/wppost/wppost.php', 'wppost_settings');
- register_hook('connector_settings_post', 'addon/wppost/wppost.php', 'wppost_settings_post');
+ Addon::registerHook('post_local', 'addon/wppost/wppost.php', 'wppost_post_local');
+ Addon::registerHook('notifier_normal', 'addon/wppost/wppost.php', 'wppost_send');
+ Addon::registerHook('jot_networks', 'addon/wppost/wppost.php', 'wppost_jot_nets');
+ Addon::registerHook('connector_settings', 'addon/wppost/wppost.php', 'wppost_settings');
+ Addon::registerHook('connector_settings_post', 'addon/wppost/wppost.php', 'wppost_settings_post');
}
function wppost_uninstall() {
- unregister_hook('post_local', 'addon/wppost/wppost.php', 'wppost_post_local');
- unregister_hook('notifier_normal', 'addon/wppost/wppost.php', 'wppost_send');
- unregister_hook('jot_networks', 'addon/wppost/wppost.php', 'wppost_jot_nets');
- unregister_hook('connector_settings', 'addon/wppost/wppost.php', 'wppost_settings');
- unregister_hook('connector_settings_post', 'addon/wppost/wppost.php', 'wppost_settings_post');
+ Addon::unregisterHook('post_local', 'addon/wppost/wppost.php', 'wppost_post_local');
+ Addon::unregisterHook('notifier_normal', 'addon/wppost/wppost.php', 'wppost_send');
+ Addon::unregisterHook('jot_networks', 'addon/wppost/wppost.php', 'wppost_jot_nets');
+ Addon::unregisterHook('connector_settings', 'addon/wppost/wppost.php', 'wppost_settings');
+ Addon::unregisterHook('connector_settings_post', 'addon/wppost/wppost.php', 'wppost_settings_post');
// obsolete - remove
- unregister_hook('post_local_end', 'addon/wppost/wppost.php', 'wppost_send');
- unregister_hook('plugin_settings', 'addon/wppost/wppost.php', 'wppost_settings');
- unregister_hook('plugin_settings_post', 'addon/wppost/wppost.php', 'wppost_settings_post');
+ Addon::unregisterHook('post_local_end', 'addon/wppost/wppost.php', 'wppost_send');
+ Addon::unregisterHook('addon_settings', 'addon/wppost/wppost.php', 'wppost_settings');
+ Addon::unregisterHook('addon_settings_post', 'addon/wppost/wppost.php', 'wppost_settings_post');
}
@@ -86,7 +86,7 @@ function wppost_settings(&$a,&$s) {
$s .= '
\n"),__p+="\n";return __p}}),define("tpl!trimmed_chat",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='\n'+((__t=num_unread)==null?"":__t)+'\n\n '+((__t=title)==null?"":__t)+"\n\n";return __p}}),define("tpl!vcard",[],function(){return function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='\n';return __p}}),define("converse-templates",["tpl!action","tpl!add_contact_dropdown","tpl!add_contact_form","tpl!change_status_message","tpl!chat_status","tpl!chatarea","tpl!chatbox","tpl!chatroom","tpl!chatroom_form","tpl!chatroom_password_form","tpl!chatroom_sidebar","tpl!chatrooms_tab","tpl!chats_panel","tpl!choose_status","tpl!contacts_panel","tpl!contacts_tab","tpl!controlbox","tpl!controlbox_toggle","tpl!field","tpl!form_captcha","tpl!form_checkbox","tpl!form_input","tpl!form_select","tpl!form_textarea","tpl!form_username","tpl!group_header","tpl!info","tpl!login_panel","tpl!login_tab","tpl!message","tpl!new_day","tpl!occupant","tpl!pending_contact","tpl!pending_contacts","tpl!register_panel","tpl!register_tab","tpl!registration_form","tpl!registration_request","tpl!requesting_contact","tpl!requesting_contacts","tpl!room_description","tpl!room_item","tpl!room_panel","tpl!roster","tpl!roster_item","tpl!search_contact","tpl!select_option","tpl!status_option","tpl!toggle_chats","tpl!toolbar","tpl!trimmed_chat","tpl!vcard"],function(){return{action:arguments[0],add_contact_dropdown:arguments[1],add_contact_form:arguments[2],change_status_message:arguments[3],chat_status:arguments[4],chatarea:arguments[5],chatbox:arguments[6],chatroom:arguments[7],chatroom_form:arguments[8],chatroom_password_form:arguments[9],chatroom_sidebar:arguments[10],chatrooms_tab:arguments[11],chats_panel:arguments[12],choose_status:arguments[13],contacts_panel:arguments[14],contacts_tab:arguments[15],controlbox:arguments[16],controlbox_toggle:arguments[17],field:arguments[18],form_captcha:arguments[19],form_checkbox:arguments[20],form_input:arguments[21],form_select:arguments[22],form_textarea:arguments[23],form_username:arguments[24],group_header:arguments[25],info:arguments[26],login_panel:arguments[27],login_tab:arguments[28],message:arguments[29],new_day:arguments[30],occupant:arguments[31],pending_contact:arguments[32],pending_contacts:arguments[33],register_panel:arguments[34],register_tab:arguments[35],registration_form:arguments[36],registration_request:arguments[37],requesting_contact:arguments[38],requesting_contacts:arguments[39],room_description:arguments[40],room_item:arguments[41],room_panel:arguments[42],roster:arguments[43],roster_item:arguments[44],search_contact:arguments[45],select_option:arguments[46],status_option:arguments[47],toggle_chats:arguments[48],toolbar:arguments[49],trimmed_chat:arguments[50],vcard:arguments[51]}}),function(e,t){function l(e){return f.PF.compile(e||"nplurals=2; plural=(n != 1);")}function c(e,t){this._key=e,this._i18n=t}var n=Array.prototype,r=Object.prototype,i=n.slice,s=r.hasOwnProperty,o=n.forEach,u={},a={forEach:function(e,t,n){var r,i,a;if(e===null)return;if(o&&e.forEach===o)e.forEach(t,n);else if(e.length===+e.length){for(r=0,i=e.length;r=p.length?(this.options.missing_key_callback&&this.options.missing_key_callback(o),d=[null,n,r],d[l(c)(i)+1]):(d=p[h],d?d:(d=[null,n,r],d[l(c)(i)+1]))}});var h=function(){function e(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function t(e,t){for(var n=[];t>0;n[--t]=e);return n.join("")}var n=function(){return n.cache.hasOwnProperty(arguments[0])||(n.cache[arguments[0]]=n.parse(arguments[0])),n.format.call(null,n.cache[arguments[0]],arguments)};return n.format=function(n,r){var i=1,s=n.length,o="",u,a=[],f,l,c,p,d,v;for(f=0;f=0?"+"+u:u,d=c[4]?c[4]=="0"?"0":c[4].charAt(1):" ",v=c[6]-String(u).length,p=c[6]?t(d,v):"",a.push(c[5]?u+p:p+u)}}return a.join("")},n.cache={},n.parse=function(e){var t=e,n=[],r=[],i=0;while(t){if((n=/^[^\x25]+/.exec(t))!==null)r.push(n[0]);else if((n=/^\x25{2}/.exec(t))!==null)r.push("%");else{if((n=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(t))===null)throw"[sprintf] huh?";if(n[2]){i|=1;var s=[],o=n[2],u=[];if((u=/^([a-z_][a-z_\d]*)/i.exec(o))===null)throw"[sprintf] huh?";s.push(u[1]);while((o=o.substring(u[0].length))!=="")if((u=/^\.([a-z_][a-z_\d]*)/i.exec(o))!==null)s.push(u[1]);else{if((u=/^\[(\d+)\]/.exec(o))===null)throw"[sprintf] huh?";s.push(u[1])}n[2]=s}else i|=2;if(i===3)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";r.push(n)}t=t.substring(n[0].length)}return r},n}(),p=function(e,t){return t.unshift(e),h.apply(null,t)};f.parse_plural=function(e,t){return e=e.replace(/n/g,t),f.parse_expression(e)},f.sprintf=function(e,t){return{}.toString.call(t)=="[object Array]"?p(e,[].slice.call(t)):h.apply(this,[].slice.call(arguments))},f.prototype.sprintf=function(){return f.sprintf.apply(this,arguments)},f.PF={},f.PF.parse=function(e){var t=f.PF.extractPluralExpr(e);return f.PF.parser.parse.call(f.PF.parser,t)},f.PF.compile=function(e){function t(e){return e===!0?1:e?e:0}var n=f.PF.parse(e);return function(e){return t(f.PF.interpreter(n)(e))}},f.PF.interpreter=function(e){return function(t){var n;switch(e.type){case"GROUP":return f.PF.interpreter(e.expr)(t);case"TERNARY":if(f.PF.interpreter(e.expr)(t))return f.PF.interpreter(e.truthy)(t);return f.PF.interpreter(e.falsey)(t);case"OR":return f.PF.interpreter(e.left)(t)||f.PF.interpreter(e.right)(t);case"AND":return f.PF.interpreter(e.left)(t)&&f.PF.interpreter(e.right)(t);case"LT":return f.PF.interpreter(e.left)(t)f.PF.interpreter(e.right)(t);case"LTE":return f.PF.interpreter(e.left)(t)<=f.PF.interpreter(e.right)(t);case"GTE":return f.PF.interpreter(e.left)(t)>=f.PF.interpreter(e.right)(t);case"EQ":return f.PF.interpreter(e.left)(t)==f.PF.interpreter(e.right)(t);case"NEQ":return f.PF.interpreter(e.left)(t)!=f.PF.interpreter(e.right)(t);case"MOD":return f.PF.interpreter(e.left)(t)%f.PF.interpreter(e.right)(t);case"VAR":return t;case"NUM":return e.val;default:throw new Error("Invalid Token found.")}}},f.PF.extractPluralExpr=function(e){e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),/;\s*$/.test(e)||(e=e.concat(";"));var t=/nplurals\=(\d+);/,n=/plural\=(.*);/,r=e.match(t),i={},s;if(r.length>1){i.nplurals=r[1],e=e.replace(t,""),s=e.match(n);if(!(s&&s.length>1))throw new Error("`plural` expression not found: "+e);return s[1]}throw new Error("nplurals not found in plural_forms string: "+e)},f.PF.parser=function(){var e={trace:function(){},yy:{},symbols_:{error:2,expressions:3,e:4,EOF:5,"?":6,":":7,"||":8,"&&":9,"<":10,"<=":11,">":12,">=":13,"!=":14,"==":15,"%":16,"(":17,")":18,n:19,NUMBER:20,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",6:"?",7:":",8:"||",9:"&&",10:"<",11:"<=",12:">",13:">=",14:"!=",15:"==",16:"%",17:"(",18:")",19:"n",20:"NUMBER"},productions_:[0,[3,2],[4,5],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,1],[4,1]],performAction:function(t,n,r,i,s,o,u){var a=o.length-1;switch(s){case 1:return{type:"GROUP",expr:o[a-1]};case 2:this.$={type:"TERNARY",expr:o[a-4],truthy:o[a-2],falsey:o[a]};break;case 3:this.$={type:"OR",left:o[a-2],right:o[a]};break;case 4:this.$={type:"AND",left:o[a-2],right:o[a]};break;case 5:this.$={type:"LT",left:o[a-2],right:o[a]};break;case 6:this.$={type:"LTE",left:o[a-2],right:o[a]};break;case 7:this.$={type:"GT",left:o[a-2],right:o[a]};break;case 8:this.$={type:"GTE",left:o[a-2],right:o[a]};break;case 9:this.$={type:"NEQ",left:o[a-2],right:o[a]};break;case 10:this.$={type:"EQ",left:o[a-2],right:o[a]};break;case 11:this.$={type:"MOD",left:o[a-2],right:o[a]};break;case 12:this.$={type:"GROUP",expr:o[a-1]};break;case 13:this.$={type:"VAR"};break;case 14:this.$={type:"NUM",val:Number(t)}}},table:[{3:1,4:2,17:[1,3],19:[1,4],20:[1,5]},{1:[3]},{5:[1,6],6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{4:17,17:[1,3],19:[1,4],20:[1,5]},{5:[2,13],6:[2,13],7:[2,13],8:[2,13],9:[2,13],10:[2,13],11:[2,13],12:[2,13],13:[2,13],14:[2,13],15:[2,13],16:[2,13],18:[2,13]},{5:[2,14],6:[2,14],7:[2,14],8:[2,14],9:[2,14],10:[2,14],11:[2,14],12:[2,14],13:[2,14],14:[2,14],15:[2,14],16:[2,14],18:[2,14]},{1:[2,1]},{4:18,17:[1,3],19:[1,4],20:[1,5]},{4:19,17:[1,3],19:[1,4],20:[1,5]},{4:20,17:[1,3],19:[1,4],20:[1,5]},{4:21,17:[1,3],19:[1,4],20:[1,5]},{4:22,17:[1,3],19:[1,4],20:[1,5]},{4:23,17:[1,3],19:[1,4],20:[1,5]},{4:24,17:[1,3],19:[1,4],20:[1,5]},{4:25,17:[1,3],19:[1,4],20:[1,5]},{4:26,17:[1,3],19:[1,4],20:[1,5]},{4:27,17:[1,3],19:[1,4],20:[1,5]},{6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[1,28]},{6:[1,7],7:[1,29],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{5:[2,3],6:[2,3],7:[2,3],8:[2,3],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,3]},{5:[2,4],6:[2,4],7:[2,4],8:[2,4],9:[2,4],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,4]},{5:[2,5],6:[2,5],7:[2,5],8:[2,5],9:[2,5],10:[2,5],11:[2,5],12:[2,5],13:[2,5],14:[2,5],15:[2,5],16:[1,16],18:[2,5]},{5:[2,6],6:[2,6],7:[2,6],8:[2,6],9:[2,6],10:[2,6],11:[2,6],12:[2,6],13:[2,6],14:[2,6],15:[2,6],16:[1,16],18:[2,6]},{5:[2,7],6:[2,7],7:[2,7],8:[2,7],9:[2,7],10:[2,7],11:[2,7],12:[2,7],13:[2,7],14:[2,7],15:[2,7],16:[1,16],18:[2,7]},{5:[2,8],6:[2,8],7:[2,8],8:[2,8],9:[2,8],10:[2,8],11:[2,8],12:[2,8],13:[2,8],14:[2,8],15:[2,8],16:[1,16],18:[2,8]},{5:[2,9],6:[2,9],7:[2,9],8:[2,9],9:[2,9],10:[2,9],11:[2,9],12:[2,9],13:[2,9],14:[2,9],15:[2,9],16:[1,16],18:[2,9]},{5:[2,10],6:[2,10],7:[2,10],8:[2,10],9:[2,10],10:[2,10],11:[2,10],12:[2,10],13:[2,10],14:[2,10],15:[2,10],16:[1,16],18:[2,10]},{5:[2,11],6:[2,11],7:[2,11],8:[2,11],9:[2,11],10:[2,11],11:[2,11],12:[2,11],13:[2,11],14:[2,11],15:[2,11],16:[2,11],18:[2,11]},{5:[2,12],6:[2,12],7:[2,12],8:[2,12],9:[2,12],10:[2,12],11:[2,12],12:[2,12],13:[2,12],14:[2,12],15:[2,12],16:[2,12],18:[2,12]},{4:30,17:[1,3],19:[1,4],20:[1,5]},{5:[2,2],6:[1,7],7:[2,2],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,2]}],defaultActions:{6:[2,1]},parseError:function(t,n){throw new Error(t)},parse:function(t){function d(e){r.length=r.length-2*e,i.length=i.length-e,s.length=s.length-e}function v(){var e;return e=n.lexer.lex()||1,typeof e!="number"&&(e=n.symbols_[e]||e),e}var n=this,r=[0],i=[null],s=[],o=this.table,u="",a=0,f=0,l=0,c=2,h=1;this.lexer.setInput(t),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,typeof this.lexer.yylloc=="undefined"&&(this.lexer.yylloc={});var p=this.lexer.yylloc;s.push(p),typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);var m,g,y,b,w,E,S={},x,T,N,C;for(;;){y=r[r.length-1],this.defaultActions[y]?b=this.defaultActions[y]:(m==null&&(m=v()),b=o[y]&&o[y][m]);if(typeof b=="undefined"||!b.length||!b[0]){if(!l){C=[];for(x in o[y])this.terminals_[x]&&x>2&&C.push("'"+this.terminals_[x]+"'");var k="";this.lexer.showPosition?k="Parse error on line "+(a+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+C.join(", ")+", got '"+this.terminals_[m]+"'":k="Parse error on line "+(a+1)+": Unexpected "+(m==1?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(k,{text:this.lexer.match,token:this.terminals_[m]||m,line:this.lexer.yylineno,loc:p,expected:C})}if(l==3){if(m==h)throw new Error(k||"Parsing halted.");f=this.lexer.yyleng,u=this.lexer.yytext,a=this.lexer.yylineno,p=this.lexer.yylloc,m=v()}for(;;){if(c.toString()in o[y])break;if(y==0)throw new Error(k||"Parsing halted.");d(1),y=r[r.length-1]}g=m,m=c,y=r[r.length-1],b=o[y]&&o[y][c],l=3}if(b[0]instanceof Array&&b.length>1)throw new Error("Parse Error: multiple actions possible at state: "+y+", token: "+m);switch(b[0]){case 1:r.push(m),i.push(this.lexer.yytext),s.push(this.lexer.yylloc),r.push(b[1]),m=null,g?(m=g,g=null):(f=this.lexer.yyleng,u=this.lexer.yytext,a=this.lexer.yylineno,p=this.lexer.yylloc,l>0&&l--);break;case 2:T=this.productions_[b[1]][1],S.$=i[i.length-T],S._$={first_line:s[s.length-(T||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(T||1)].first_column,last_column:s[s.length-1].last_column},E=this.performAction.call(S,u,f,a,this.yy,b[1],i,s);if(typeof E!="undefined")return E;T&&(r=r.slice(0,-1*T*2),i=i.slice(0,-1*T),s=s.slice(0,-1*T)),r.push(this.productions_[b[1]][0]),i.push(S.$),s.push(S._$),N=o[r[r.length-2]][r[r.length-1]],r.push(N);break;case 3:return!0}}return!0}},t=function(){var e={EOF:1,parseError:function(t,n){if(!this.yy.parseError)throw new Error(t);this.yy.parseError(t,n)},setInput:function(e){return this._input=e,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this},input:function(){var e=this._input[0];this.yytext+=e,this.yyleng++,this.match+=e,this.matched+=e;var t=e.match(/\n/);return t&&this.yylineno++,this._input=this._input.slice(1),e},unput:function(e){return this._input=e+this._input,this},more:function(){return this._more=!0,this},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=(new Array(e.length+1)).join("-");return e+this.upcomingInput()+"\n"+t+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r;this._more||(this.yytext="",this.match="");var i=this._currentRules();for(var s=0;s=/,/^,/^>/,/^!=/,/^==/,/^%/,/^\(/,/^\)/,/^$/,/^./],e.conditions={INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],inclusive:!0}},e}();return e.lexer=t,e}(),typeof exports!="undefined"?(typeof module!="undefined"&&module.exports&&(exports=module.exports=f),exports.Jed=f):(typeof define=="function"&&define.amd&&define("jed",[],function(){return f}),e.Jed=f)}(this),define("text!af",[],function(){return'{\n "domain": "converse",\n "locale_data": {\n "converse": {\n "": {\n "domain": "converse",\n "lang": "af"\n },\n " e.g. conversejs.org": [\n null,\n "bv. conversejs.org"\n ],\n "unencrypted": [\n null,\n "nie-privaat"\n ],\n "unverified": [\n null,\n "onbevestig"\n ],\n "verified": [\n null,\n "privaat"\n ],\n "finished": [\n null,\n "afgesluit"\n ],\n "This contact is busy": [\n null,\n "Hierdie persoon is besig"\n ],\n "This contact is online": [\n null,\n "Hierdie persoon is aanlyn"\n ],\n "This contact is offline": [\n null,\n "Hierdie persoon is aflyn"\n ],\n "This contact is unavailable": [\n null,\n "Hierdie persoon is onbeskikbaar"\n ],\n "This contact is away for an extended period": [\n null,\n "Hierdie persoon is vir lank afwesig"\n ],\n "This contact is away": [\n null,\n "Hierdie persoon is afwesig"\n ],\n "Click to hide these contacts": [\n null,\n "Klik om hierdie kontakte te verskuil"\n ],\n "My contacts": [\n null,\n "My kontakte"\n ],\n "Pending contacts": [\n null,\n "Hangende kontakte"\n ],\n "Contact requests": [\n null,\n "Kontak versoeke"\n ],\n "Ungrouped": [\n null,\n "Ongegroepeer"\n ],\n "Contacts": [\n null,\n "Kontakte"\n ],\n "Groups": [\n null,\n "Groepe"\n ],\n "Attempting to reconnect in 5 seconds": [\n null,\n ""\n ],\n "Error": [\n null,\n "Fout"\n ],\n "Connecting": [\n null,\n "Verbind tans"\n ],\n "Authenticating": [\n null,\n "Besig om te bekragtig"\n ],\n "Authentication Failed": [\n null,\n "Bekragtiging het gefaal"\n ],\n "Re-establishing encrypted session": [\n null,\n "Herstel versleutelde sessie"\n ],\n "Generating private key.": [\n null,\n "Genereer private sleutel."\n ],\n "Your browser might become unresponsive.": [\n null,\n "U webblaaier mag tydelik onreageerbaar word."\n ],\n "Authentication request from %1$s\\n\\nYour chat contact is attempting to verify your identity, by asking you the question below.\\n\\n%2$s": [\n null,\n "Identiteitbevestigingsversoek van %1$s\\n\\nU gespreksmaat probeer om u identiteit te bevestig, deur die volgende vraag te vra \\n\\n%2$s"\n ],\n "Could not verify this user\'s identify.": [\n null,\n "Kon nie hierdie gebruiker se identitied bevestig nie."\n ],\n "Exchanging private key with contact.": [\n null,\n "Sleutels word met gespreksmaat uitgeruil."\n ],\n "Close this chat box": [\n null,\n "Klik om hierdie kletskas toe te maak"\n ],\n "Minimize this chat box": [\n null,\n "Minimeer hierdie kletskas"\n ],\n "View more information on this person": [\n null,\n "Wys meer inligting aangaande hierdie persoon"\n ],\n "Personal message": [\n null,\n "Persoonlike boodskap"\n ],\n "Are you sure you want to clear the messages from this room?": [\n null,\n "Is u seker dat u die boodskappe in hierdie kamer wil verwyder?"\n ],\n "me": [\n null,\n "ek"\n ],\n "is typing": [\n null,\n "tik tans"\n ],\n "has stopped typing": [\n null,\n "het opgehou tik"\n ],\n "has gone away": [\n null,\n "het weggegaan"\n ],\n "Show this menu": [\n null,\n "Vertoon hierdie keuselys"\n ],\n "Write in the third person": [\n null,\n "Skryf in die derde persoon"\n ],\n "Remove messages": [\n null,\n "Verwyder boodskappe"\n ],\n "Are you sure you want to clear the messages from this chat box?": [\n null,\n "Is u seker u wil die boodskappe in hierdie kletskas uitvee?"\n ],\n "Your message could not be sent": [\n null,\n "U boodskap kon nie gestuur word nie"\n ],\n "We received an unencrypted message": [\n null,\n "Ons het \'n onversleutelde boodskap ontvang"\n ],\n "We received an unreadable encrypted message": [\n null,\n "Ons het \'n onleesbare versleutelde boodskap ontvang"\n ],\n "Here are the fingerprints, please confirm them with %1$s, outside of this chat.\\n\\nFingerprint for you, %2$s: %3$s\\n\\nFingerprint for %1$s: %4$s\\n\\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.": [\n null,\n "Hier is die vingerafdrukke, bevestig hulle met %1$s, buite hierdie kletskanaal \\n\\nU vingerafdruk, %2$s: %3$s\\n\\nVingerafdruk vir %1$s: %4$s\\n\\nIndien u die vingerafdrukke bevestig het, klik OK, andersinds klik Kanselleer"\n ],\n "You will be prompted to provide a security question and then an answer to that question.\\n\\nYour contact will then be prompted the same question and if they type the exact same answer (case sensitive), their identity will be verified.": [\n null,\n "Daar sal van u verwag word om \'n sekuriteitsvraag te stel, en dan ook die antwoord tot daardie vraag te verskaf.\\n\\nU gespreksmaat sal dan daardie vraag gestel word, en indien hulle presies dieselfde antwoord (lw. hoofletters tel) verskaf, sal hul identiteit bevestig wees."\n ],\n "What is your security question?": [\n null,\n "Wat is u sekuriteitsvraag?"\n ],\n "What is the answer to the security question?": [\n null,\n "Wat is die antwoord tot die sekuriteitsvraag?"\n ],\n "Invalid authentication scheme provided": [\n null,\n "Ongeldige verifikasiemetode verskaf"\n ],\n "has gone offline": [\n null,\n "is nou aflyn"\n ],\n "is busy": [\n null,\n "is besig"\n ],\n "Your messages are not encrypted anymore": [\n null,\n "U boodskappe is nie meer versleutel nie"\n ],\n "Your messages are now encrypted but your contact\'s identity has not been verified.": [\n null,\n "U boodskappe is now versleutel maar u gespreksmaat se identiteit is nog onseker."\n ],\n "Your contact\'s identify has been verified.": [\n null,\n "U gespreksmaat se identiteit is bevestig."\n ],\n "Your contact has ended encryption on their end, you should do the same.": [\n null,\n "U gespreksmaat het versleuteling gestaak, u behoort nou dieselfde te doen."\n ],\n "Your messages are not encrypted. Click here to enable OTR encryption.": [\n null,\n "U boodskappe is nie versleutel nie. Klik hier om OTR versleuteling te aktiveer."\n ],\n "Your messages are encrypted, but your contact has not been verified.": [\n null,\n "U boodskappe is versleutel, maar u gespreksmaat se identiteit is not onseker."\n ],\n "Your messages are encrypted and your contact verified.": [\n null,\n "U boodskappe is versleutel en u gespreksmaat se identiteit bevestig."\n ],\n "Your contact has closed their end of the private session, you should do the same": [\n null,\n "U gespreksmaat het die private sessie gestaak. U behoort dieselfde te doen"\n ],\n "Clear all messages": [\n null,\n "Vee alle boodskappe uit"\n ],\n "End encrypted conversation": [\n null,\n "Beëindig versleutelde gesprek"\n ],\n "Insert a smiley": [\n null,\n ""\n ],\n "Hide the list of occupants": [\n null,\n "Verskuil die lys van deelnemers"\n ],\n "Refresh encrypted conversation": [\n null,\n "Verfris versleutelde gesprek"\n ],\n "Start a call": [\n null,\n "Begin \'n oproep"\n ],\n "Start encrypted conversation": [\n null,\n "Begin versleutelde gesprek"\n ],\n "Verify with fingerprints": [\n null,\n "Bevestig met vingerafdrukke"\n ],\n "Verify with SMP": [\n null,\n "Bevestig met SMP"\n ],\n "What\'s this?": [\n null,\n "Wat is hierdie?"\n ],\n "Online": [\n null,\n "Aangemeld"\n ],\n "Busy": [\n null,\n "Besig"\n ],\n "Away": [\n null,\n "Afwesig"\n ],\n "Offline": [\n null,\n "Afgemeld"\n ],\n "Log out": [\n null,\n "Meld af"\n ],\n "Contact name": [\n null,\n "Kontaknaam"\n ],\n "Search": [\n null,\n "Soek"\n ],\n "e.g. user@example.com": [\n null,\n ""\n ],\n "Add": [\n null,\n "Voeg by"\n ],\n "Click to add new chat contacts": [\n null,\n "Klik om nuwe kletskontakte by te voeg"\n ],\n "Add a contact": [\n null,\n "Voeg \'n kontak by"\n ],\n "No users found": [\n null,\n "Geen gebruikers gevind"\n ],\n "Click to add as a chat contact": [\n null,\n "Klik om as kletskontak by te voeg"\n ],\n "Room name": [\n null,\n "Kamer naam"\n ],\n "Nickname": [\n null,\n "Bynaam"\n ],\n "Server": [\n null,\n "Bediener"\n ],\n "Join Room": [\n null,\n "Betree kamer"\n ],\n "Show rooms": [\n null,\n "Wys kamers"\n ],\n "Rooms": [\n null,\n "Kamers"\n ],\n "No rooms on %1$s": [\n null,\n "Geen kamers op %1$s"\n ],\n "Rooms on %1$s": [\n null,\n "Kamers op %1$s"\n ],\n "Click to open this room": [\n null,\n "Klik om hierdie kletskamer te open"\n ],\n "Show more information on this room": [\n null,\n "Wys meer inligting aangaande hierdie kletskamer"\n ],\n "Description:": [\n null,\n "Beskrywing:"\n ],\n "Occupants:": [\n null,\n "Deelnemers:"\n ],\n "Features:": [\n null,\n "Eienskappe:"\n ],\n "Requires authentication": [\n null,\n "Benodig magtiging"\n ],\n "Hidden": [\n null,\n "Verskuil"\n ],\n "Requires an invitation": [\n null,\n "Benodig \'n uitnodiging"\n ],\n "Moderated": [\n null,\n "Gemodereer"\n ],\n "Non-anonymous": [\n null,\n "Nie-anoniem"\n ],\n "Open room": [\n null,\n "Oop kletskamer"\n ],\n "Permanent room": [\n null,\n "Permanente kamer"\n ],\n "Public": [\n null,\n "Publiek"\n ],\n "Semi-anonymous": [\n null,\n "Deels anoniem"\n ],\n "Temporary room": [\n null,\n "Tydelike kamer"\n ],\n "Unmoderated": [\n null,\n "Ongemodereer"\n ],\n "This user is a moderator": [\n null,\n "Hierdie gebruiker is \'n moderator"\n ],\n "This user can send messages in this room": [\n null,\n "Hierdie gebruiker kan boodskappe na die kamer stuur"\n ],\n "This user can NOT send messages in this room": [\n null,\n "Hierdie gebruiker kan NIE boodskappe na die kamer stuur nie"\n ],\n "Invite...": [\n null,\n "Nooi uit..."\n ],\n "Occupants": [\n null,\n "Deelnemers"\n ],\n "You are about to invite %1$s to the chat room \\"%2$s\\". ": [\n null,\n "U is op die punt om %1$s na die kletskamer \\"%2$s\\" uit te nooi."\n ],\n "You may optionally include a message, explaining the reason for the invitation.": [\n null,\n "U mag na keuse \'n boodskap insluit, om bv. die rede vir die uitnodiging te staaf."\n ],\n "Message": [\n null,\n "Boodskap"\n ],\n "Error: could not execute the command": [\n null,\n "Fout: kon nie die opdrag uitvoer nie"\n ],\n "Error: the \\"": [\n null,\n ""\n ],\n "Change user\'s affiliation to admin": [\n null,\n ""\n ],\n "Ban user from room": [\n null,\n "Verban gebruiker uit hierdie kletskamer"\n ],\n "Change user role to occupant": [\n null,\n "Verander gebruiker se rol na lid"\n ],\n "Kick user from room": [\n null,\n "Skop gebruiker uit hierdie kletskamer"\n ],\n "Write in 3rd person": [\n null,\n "Skryf in die derde persoon"\n ],\n "Grant membership to a user": [\n null,\n "Verleen lidmaatskap aan \'n gebruiker"\n ],\n "Remove user\'s ability to post messages": [\n null,\n "Verwyder gebruiker se vermoë om boodskappe te plaas"\n ],\n "Change your nickname": [\n null,\n "Verander u bynaam"\n ],\n "Grant moderator role to user": [\n null,\n "Verleen moderator rol aan gebruiker"\n ],\n "Grant ownership of this room": [\n null,\n "Verleen eienaarskap van hierdie kamer"\n ],\n "Revoke user\'s membership": [\n null,\n "Herroep gebruiker se lidmaatskap"\n ],\n "Set room topic": [\n null,\n "Stel onderwerp vir kletskamer"\n ],\n "Allow muted user to post messages": [\n null,\n "Laat stilgemaakte gebruiker toe om weer boodskappe te plaas"\n ],\n "Save": [\n null,\n "Stoor"\n ],\n "Cancel": [\n null,\n "Kanseleer"\n ],\n "An error occurred while trying to save the form.": [\n null,\n "A fout het voorgekom terwyl probeer is om die vorm te stoor."\n ],\n "This chatroom requires a password": [\n null,\n "Hiedie kletskamer benodig \'n wagwoord"\n ],\n "Password: ": [\n null,\n "Wagwoord:"\n ],\n "Submit": [\n null,\n "Dien in"\n ],\n "This room is not anonymous": [\n null,\n "Hierdie vertrek is nie anoniem nie"\n ],\n "This room now shows unavailable members": [\n null,\n "Hierdie vertrek wys nou onbeskikbare lede"\n ],\n "This room does not show unavailable members": [\n null,\n "Hierdie vertrek wys nie onbeskikbare lede nie"\n ],\n "Non-privacy-related room configuration has changed": [\n null,\n "Nie-privaatheidverwante kamer instellings het verander"\n ],\n "Room logging is now enabled": [\n null,\n "Kamer log is nou aangeskakel"\n ],\n "Room logging is now disabled": [\n null,\n "Kamer log is nou afgeskakel"\n ],\n "This room is now non-anonymous": [\n null,\n "Hiedie kamer is nou nie anoniem nie"\n ],\n "This room is now semi-anonymous": [\n null,\n "Hierdie kamer is nou gedeeltelik anoniem"\n ],\n "This room is now fully-anonymous": [\n null,\n "Hierdie kamer is nou ten volle anoniem"\n ],\n "A new room has been created": [\n null,\n "\'n Nuwe kamer is geskep"\n ],\n "You have been banned from this room": [\n null,\n "Jy is uit die kamer verban"\n ],\n "You have been kicked from this room": [\n null,\n "Jy is uit die kamer geskop"\n ],\n "You have been removed from this room because of an affiliation change": [\n null,\n "Jy is vanuit die kamer verwyder a.g.v \'n verandering van affiliasie"\n ],\n "You have been removed from this room because the room has changed to members-only and you\'re not a member": [\n null,\n "Jy is vanuit die kamer verwyder omdat die kamer nou slegs tot lede beperk word en jy nie \'n lid is nie."\n ],\n "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [\n null,\n "Jy is van hierdie kamer verwyder aangesien die MUC (Multi-user chat) diens nou afgeskakel word."\n ],\n "%1$s has been banned": [\n null,\n "%1$s is verban"\n ],\n "%1$s\'s nickname has changed": [\n null,\n "%1$s se bynaam het verander"\n ],\n "%1$s has been kicked out": [\n null,\n "%1$s is uitgeskop"\n ],\n "%1$s has been removed because of an affiliation change": [\n null,\n "%1$s is verwyder a.g.v \'n verandering van affiliasie"\n ],\n "%1$s has been removed for not being a member": [\n null,\n "%1$s is nie \'n lid nie, en dus verwyder"\n ],\n "Your nickname has been automatically changed to: %1$s": [\n null,\n "U bynaam is outomaties verander na: %1$s"\n ],\n "Your nickname has been changed to: %1$s": [\n null,\n "U bynaam is verander na: %1$s"\n ],\n "The reason given is: \\"": [\n null,\n "Die gegewe rede is: \\""\n ],\n "You are not on the member list of this room": [\n null,\n "Jy is nie op die ledelys van hierdie kamer nie"\n ],\n "No nickname was specified": [\n null,\n "Geen bynaam verskaf nie"\n ],\n "You are not allowed to create new rooms": [\n null,\n "Jy word nie toegelaat om nog kamers te skep nie"\n ],\n "Your nickname doesn\'t conform to this room\'s policies": [\n null,\n "Jou bynaam voldoen nie aan die kamer se beleid nie"\n ],\n "Your nickname is already taken": [\n null,\n "Jou bynaam is reeds geneem"\n ],\n "This room does not (yet) exist": [\n null,\n "Hierdie kamer bestaan tans (nog) nie"\n ],\n "This room has reached it\'s maximum number of occupants": [\n null,\n "Hierdie kamer het sy maksimum aantal deelnemers bereik"\n ],\n "Topic set by %1$s to: %2$s": [\n null,\n "Onderwerp deur %1$s bygewerk na: %2$s"\n ],\n "%1$s has invited you to join a chat room: %2$s": [\n null,\n "%1$s het u uitgenooi om die kletskamer %2$s te besoek"\n ],\n "%1$s has invited you to join a chat room: %2$s, and left the following reason: \\"%3$s\\"": [\n null,\n "%1$s het u uitgenooi om die kletskamer %2$s te besoek, en het die volgende rede verskaf: \\"%3$s\\""\n ],\n "Click to restore this chat": [\n null,\n "Klik om hierdie klets te herstel"\n ],\n "Minimized": [\n null,\n "Geminimaliseer"\n ],\n "Click to remove this contact": [\n null,\n "Klik om hierdie kontak te verwyder"\n ],\n "Click to accept this contact request": [\n null,\n "Klik om hierdie kontakversoek te aanvaar"\n ],\n "Click to decline this contact request": [\n null,\n "Klik om hierdie kontakversoek te weier"\n ],\n "Click to chat with this contact": [\n null,\n "Klik om met hierdie kontak te klets"\n ],\n "Name": [\n null,\n ""\n ],\n "Are you sure you want to remove this contact?": [\n null,\n "Is u seker u wil hierdie gespreksmaat verwyder?"\n ],\n "Sorry, there was an error while trying to remove ": [\n null,\n ""\n ],\n "Are you sure you want to decline this contact request?": [\n null,\n "Is u seker dat u hierdie persoon se versoek wil afkeur?"\n ],\n "Sorry, there was an error while trying to add ": [\n null,\n ""\n ],\n "This client does not allow presence subscriptions": [\n null,\n ""\n ],\n "Type to filter": [\n null,\n "Tik om te filtreer"\n ],\n "I am %1$s": [\n null,\n "Ek is %1$s"\n ],\n "Click here to write a custom status message": [\n null,\n "Klik hier om jou eie statusboodskap te skryf"\n ],\n "Click to change your chat status": [\n null,\n "Klik om jou klets-status te verander"\n ],\n "Custom status": [\n null,\n "Doelgemaakte status"\n ],\n "online": [\n null,\n "aangemeld"\n ],\n "busy": [\n null,\n "besig"\n ],\n "away for long": [\n null,\n "vir lank afwesig"\n ],\n "away": [\n null,\n "afwesig"\n ],\n "offline": [\n null,\n "afgemeld"\n ],\n "Your XMPP provider\'s domain name:": [\n null,\n "U XMPP-verskaffer se domein naam:"\n ],\n "Fetch registration form": [\n null,\n "Haal die registrasie form"\n ],\n "Tip: A list of public XMPP providers is available": [\n null,\n "Wenk: A lys van publieke XMPP-verskaffers is beskikbaar"\n ],\n "here": [\n null,\n "hier"\n ],\n "Register": [\n null,\n "Registreer"\n ],\n "Sorry, the given provider does not support in band account registration. Please try with a different provider.": [\n null,\n "Jammer, die gekose verskaffer ondersteun nie in-band registrasie nie.Probeer weer met \'n ander verskaffer."\n ],\n "Requesting a registration form from the XMPP server": [\n null,\n "Vra tans die XMPP-bediener vir \'n registrasie vorm"\n ],\n "Something went wrong while establishing a connection with \\"%1$s\\". Are you sure it exists?": [\n null,\n "Iets het fout geloop tydens koppeling met \\"%1$s\\". Is u seker dat dit bestaan?"\n ],\n "Now logging you in": [\n null,\n "U word nou aangemeld"\n ],\n "Registered successfully": [\n null,\n "Suksesvol geregistreer"\n ],\n "Return": [\n null,\n "Terug"\n ],\n "XMPP Username:": [\n null,\n "XMPP Gebruikersnaam:"\n ],\n "Password:": [\n null,\n "Wagwoord"\n ],\n "Click here to log in anonymously": [\n null,\n "Klik hier om anoniem aan te meld"\n ],\n "Log In": [\n null,\n "Meld aan"\n ],\n "user@server": [\n null,\n "gebruiker@bediener"\n ],\n "password": [\n null,\n "wagwoord"\n ],\n "Sign in": [\n null,\n "Teken in"\n ],\n "Toggle chat": [\n null,\n "Klets"\n ]\n }\n }\n}'}),define("text!de",[],function(){return'{\n "domain": "converse",\n "locale_data": {\n "converse": {\n "": {\n "domain": "converse",\n "plural_forms": "nplurals=2; plural=(n != 1);",\n "lang": "de"\n },\n " e.g. conversejs.org": [\n null,\n "z. B. conversejs.org"\n ],\n "unencrypted": [\n null,\n "unverschlüsselt"\n ],\n "unverified": [\n null,\n "nicht verifiziert"\n ],\n "verified": [\n null,\n "verifiziert"\n ],\n "finished": [\n null,\n "erledigt"\n ],\n "This contact is busy": [\n null,\n "Dieser Kontakt ist beschäftigt"\n ],\n "This contact is online": [\n null,\n "Dieser Kontakt ist online"\n ],\n "This contact is offline": [\n null,\n "Dieser Kontakt ist offline"\n ],\n "This contact is unavailable": [\n null,\n "Dieser Kontakt ist nicht verfügbar"\n ],\n "This contact is away for an extended period": [\n null,\n "Dieser Kontakt ist für längere Zeit abwesend"\n ],\n "This contact is away": [\n null,\n "Dieser Kontakt ist abwesend"\n ],\n "Click to hide these contacts": [\n null,\n "Hier klicken um diese Kontakte zu verstecken"\n ],\n "My contacts": [\n null,\n "Meine Kontakte"\n ],\n "Pending contacts": [\n null,\n "Unbestätigte Kontakte"\n ],\n "Contact requests": [\n null,\n "Kontaktanfragen"\n ],\n "Ungrouped": [\n null,\n "Ungruppiert"\n ],\n "Contacts": [\n null,\n "Kontakte"\n ],\n "Groups": [\n null,\n "Gruppen"\n ],\n "Attempting to reconnect in 5 seconds": [\n null,\n ""\n ],\n "Error": [\n null,\n "Fehler"\n ],\n "Connecting": [\n null,\n "Verbindungsaufbau …"\n ],\n "Authenticating": [\n null,\n "Authentifizierung"\n ],\n "Authentication Failed": [\n null,\n "Authentifizierung gescheitert"\n ],\n "Re-establishing encrypted session": [\n null,\n "Verschlüsselte Sitzung wiederherstellen"\n ],\n "Generating private key.": [\n null,\n "Generiere privaten Schlüssel."\n ],\n "Your browser might become unresponsive.": [\n null,\n "Ihr Browser könnte langsam reagieren."\n ],\n "Authentication request from %1$s\\n\\nYour chat contact is attempting to verify your identity, by asking you the question below.\\n\\n%2$s": [\n null,\n "Authentifizierungsanfrage von %1$s\\n\\nIhr Kontakt möchte durch die folgende Frage Ihre Identität verifizieren:\\n\\n%2$s"\n ],\n "Could not verify this user\'s identify.": [\n null,\n "Die Identität des Benutzers konnte nicht verifiziert werden."\n ],\n "Exchanging private key with contact.": [\n null,\n "Tausche private Schlüssel mit Kontakt aus."\n ],\n "Minimize this chat box": [\n null,\n ""\n ],\n "Personal message": [\n null,\n "Persönliche Nachricht"\n ],\n "Are you sure you want to clear the messages from this room?": [\n null,\n "Sind Sie sicher, dass Sie alle Nachrichten in diesem Raum löschen möchten?"\n ],\n "me": [\n null,\n "Ich"\n ],\n "is typing": [\n null,\n "tippt"\n ],\n "has stopped typing": [\n null,\n "tippt nicht mehr"\n ],\n "has gone away": [\n null,\n "ist jetzt abwesend"\n ],\n "Show this menu": [\n null,\n "Dieses Menü anzeigen"\n ],\n "Write in the third person": [\n null,\n "In der dritten Person schreiben"\n ],\n "Remove messages": [\n null,\n "Nachrichten entfernen"\n ],\n "Are you sure you want to clear the messages from this chat box?": [\n null,\n "Sind Sie sicher, dass Sie alle Nachrichten dieses Chats löschen möchten?"\n ],\n "Your message could not be sent": [\n null,\n "Ihre Nachricht konnte nicht gesendet werden"\n ],\n "We received an unencrypted message": [\n null,\n "Wir haben eine unverschlüsselte Nachricht empfangen"\n ],\n "We received an unreadable encrypted message": [\n null,\n "Wir haben eine unlesbare Nachricht empfangen"\n ],\n "Here are the fingerprints, please confirm them with %1$s, outside of this chat.\\n\\nFingerprint for you, %2$s: %3$s\\n\\nFingerprint for %1$s: %4$s\\n\\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.": [\n null,\n ""\n ],\n "You will be prompted to provide a security question and then an answer to that question.\\n\\nYour contact will then be prompted the same question and if they type the exact same answer (case sensitive), their identity will be verified.": [\n null,\n ""\n ],\n "What is your security question?": [\n null,\n ""\n ],\n "What is the answer to the security question?": [\n null,\n ""\n ],\n "Invalid authentication scheme provided": [\n null,\n ""\n ],\n "is busy": [\n null,\n "ist beschäftigt"\n ],\n "Your messages are not encrypted anymore": [\n null,\n ""\n ],\n "Your messages are now encrypted but your contact\'s identity has not been verified.": [\n null,\n ""\n ],\n "Your contact\'s identify has been verified.": [\n null,\n ""\n ],\n "Your contact has ended encryption on their end, you should do the same.": [\n null,\n ""\n ],\n "Your messages are not encrypted. Click here to enable OTR encryption.": [\n null,\n ""\n ],\n "Your messages are encrypted, but your contact has not been verified.": [\n null,\n ""\n ],\n "Your messages are encrypted and your contact verified.": [\n null,\n ""\n ],\n "Your contact has closed their end of the private session, you should do the same": [\n null,\n ""\n ],\n "Clear all messages": [\n null,\n "Alle Nachrichten löschen"\n ],\n "End encrypted conversation": [\n null,\n ""\n ],\n "Insert a smiley": [\n null,\n ""\n ],\n "Refresh encrypted conversation": [\n null,\n ""\n ],\n "Start a call": [\n null,\n ""\n ],\n "Start encrypted conversation": [\n null,\n ""\n ],\n "Verify with fingerprints": [\n null,\n ""\n ],\n "Verify with SMP": [\n null,\n ""\n ],\n "What\'s this?": [\n null,\n "Was ist das?"\n ],\n "Online": [\n null,\n "Online"\n ],\n "Busy": [\n null,\n "Beschäftigt"\n ],\n "Away": [\n null,\n "Abwesend"\n ],\n "Offline": [\n null,\n "Abgemeldet"\n ],\n "Log out": [\n null,\n "Abmelden"\n ],\n "Contact name": [\n null,\n "Name des Kontakts"\n ],\n "Search": [\n null,\n "Suche"\n ],\n "e.g. user@example.com": [\n null,\n ""\n ],\n "Add": [\n null,\n "Hinzufügen"\n ],\n "Click to add new chat contacts": [\n null,\n "Hier klicken um neuen Kontakt hinzuzufügen"\n ],\n "Add a contact": [\n null,\n "Kontakt hinzufügen"\n ],\n "No users found": [\n null,\n "Keine Benutzer gefunden"\n ],\n "Click to add as a chat contact": [\n null,\n "Hier klicken um als Kontakt hinzuzufügen"\n ],\n "Room name": [\n null,\n "Raumname"\n ],\n "Nickname": [\n null,\n "Spitzname"\n ],\n "Server": [\n null,\n "Server"\n ],\n "Join Room": [\n null,\n "Raum betreten"\n ],\n "Show rooms": [\n null,\n "Räume anzeigen"\n ],\n "Rooms": [\n null,\n "Räume"\n ],\n "No rooms on %1$s": [\n null,\n "Keine Räume auf %1$s"\n ],\n "Rooms on %1$s": [\n null,\n "Räume auf %1$s"\n ],\n "Click to open this room": [\n null,\n "Hier klicken um diesen Raum zu öffnen"\n ],\n "Show more information on this room": [\n null,\n "Mehr Information über diesen Raum zeigen"\n ],\n "Description:": [\n null,\n "Beschreibung"\n ],\n "Occupants:": [\n null,\n "Teilnehmer"\n ],\n "Features:": [\n null,\n "Funktionen:"\n ],\n "Requires authentication": [\n null,\n "Authentifizierung erforderlich"\n ],\n "Hidden": [\n null,\n "Versteckt"\n ],\n "Requires an invitation": [\n null,\n "Einladung erforderlich"\n ],\n "Moderated": [\n null,\n "Moderiert"\n ],\n "Non-anonymous": [\n null,\n "Nicht anonym"\n ],\n "Open room": [\n null,\n "Offener Raum"\n ],\n "Permanent room": [\n null,\n "Dauerhafter Raum"\n ],\n "Public": [\n null,\n "Öffentlich"\n ],\n "Semi-anonymous": [\n null,\n "Teils anonym"\n ],\n "Temporary room": [\n null,\n "Vorübergehender Raum"\n ],\n "Unmoderated": [\n null,\n "Unmoderiert"\n ],\n "This user is a moderator": [\n null,\n "Dieser Benutzer ist ein Moderator"\n ],\n "This user can send messages in this room": [\n null,\n "Dieser Benutzer kann Nachrichten in diesem Raum verschicken"\n ],\n "This user can NOT send messages in this room": [\n null,\n "Dieser Benutzer kann keine Nachrichten in diesem Raum verschicken"\n ],\n "Invite...": [\n null,\n "Einladen..."\n ],\n "Occupants": [\n null,\n "Teilnehmer"\n ],\n "You are about to invite %1$s to the chat room \\"%2$s\\". ": [\n null,\n ""\n ],\n "You may optionally include a message, explaining the reason for the invitation.": [\n null,\n ""\n ],\n "Message": [\n null,\n "Nachricht"\n ],\n "Error: could not execute the command": [\n null,\n "Fehler: Konnte den Befehl nicht ausführen"\n ],\n "Error: the \\"": [\n null,\n ""\n ],\n "Change user\'s affiliation to admin": [\n null,\n ""\n ],\n "Ban user from room": [\n null,\n "Verbanne einen Benutzer aus dem Raum."\n ],\n "Kick user from room": [\n null,\n "Werfe einen Benutzer aus dem Raum."\n ],\n "Write in 3rd person": [\n null,\n "In der dritten Person schreiben"\n ],\n "Grant membership to a user": [\n null,\n ""\n ],\n "Remove user\'s ability to post messages": [\n null,\n ""\n ],\n "Change your nickname": [\n null,\n "Spitznamen ändern"\n ],\n "Grant moderator role to user": [\n null,\n ""\n ],\n "Grant ownership of this room": [\n null,\n "Besitzrechte an diesem Raum vergeben"\n ],\n "Revoke user\'s membership": [\n null,\n ""\n ],\n "Set room topic": [\n null,\n "Chatraum Thema festlegen"\n ],\n "Allow muted user to post messages": [\n null,\n ""\n ],\n "Save": [\n null,\n "Speichern"\n ],\n "Cancel": [\n null,\n "Abbrechen"\n ],\n "An error occurred while trying to save the form.": [\n null,\n "Beim Speichern des Formulars ist ein Fehler aufgetreten."\n ],\n "This chatroom requires a password": [\n null,\n "Dieser Raum erfordert ein Passwort"\n ],\n "Password: ": [\n null,\n "Passwort: "\n ],\n "Submit": [\n null,\n "Abschicken"\n ],\n "This room is not anonymous": [\n null,\n "Dieser Raum ist nicht anonym"\n ],\n "This room now shows unavailable members": [\n null,\n "Dieser Raum zeigt jetzt nicht verfügbare Mitglieder an"\n ],\n "This room does not show unavailable members": [\n null,\n "Dieser Raum zeigt jetzt nicht verfügbare Mitglieder nicht an"\n ],\n "Non-privacy-related room configuration has changed": [\n null,\n "Die Raumkonfiguration hat sich geändert (nicht Privatsphäre relevant)"\n ],\n "Room logging is now enabled": [\n null,\n "Nachrichten in diesem Raum werden ab jetzt protokolliert."\n ],\n "Room logging is now disabled": [\n null,\n "Nachrichten in diesem Raum werden nicht mehr protokolliert."\n ],\n "This room is now non-anonymous": [\n null,\n "Dieser Raum ist jetzt nicht anonym"\n ],\n "This room is now semi-anonymous": [\n null,\n "Dieser Raum ist jetzt teils anonym"\n ],\n "This room is now fully-anonymous": [\n null,\n "Dieser Raum ist jetzt anonym"\n ],\n "A new room has been created": [\n null,\n "Ein neuer Raum wurde erstellt"\n ],\n "You have been banned from this room": [\n null,\n "Sie sind aus diesem Raum verbannt worden"\n ],\n "You have been kicked from this room": [\n null,\n "Sie wurden aus diesem Raum hinausgeworfen"\n ],\n "You have been removed from this room because of an affiliation change": [\n null,\n "Sie wurden wegen einer Zugehörigkeitsänderung entfernt"\n ],\n "You have been removed from this room because the room has changed to members-only and you\'re not a member": [\n null,\n "Sie wurden aus diesem Raum entfernt, da Sie kein Mitglied sind."\n ],\n "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [\n null,\n "Sie wurden aus diesem Raum entfernt, da der MUC (Multi-User Chat) Dienst gerade heruntergefahren wird."\n ],\n "%1$s has been banned": [\n null,\n "%1$s ist verbannt worden"\n ],\n "%1$s\'s nickname has changed": [\n null,\n "%1$s hat den Spitznamen geändert"\n ],\n "%1$s has been kicked out": [\n null,\n "%1$s wurde hinausgeworfen"\n ],\n "%1$s has been removed because of an affiliation change": [\n null,\n "%1$s wurde wegen einer Zugehörigkeitsänderung entfernt"\n ],\n "%1$s has been removed for not being a member": [\n null,\n "%1$s ist kein Mitglied und wurde daher entfernt"\n ],\n "Your nickname has been automatically changed to: %1$s": [\n null,\n "Ihr Spitzname wurde automatisiert geändert zu: %1$s"\n ],\n "Your nickname has been changed to: %1$s": [\n null,\n "Ihr Spitzname wurde geändert zu: %1$s"\n ],\n "The reason given is: \\"": [\n null,\n "Die angegebene Begründung lautet: \\""\n ],\n "You are not on the member list of this room": [\n null,\n "Sie sind nicht auf der Mitgliederliste dieses Raums"\n ],\n "No nickname was specified": [\n null,\n "Kein Spitzname festgelegt"\n ],\n "You are not allowed to create new rooms": [\n null,\n "Es ist Ihnen nicht erlaubt neue Räume anzulegen"\n ],\n "Your nickname doesn\'t conform to this room\'s policies": [\n null,\n "Ungültiger Spitzname"\n ],\n "Your nickname is already taken": [\n null,\n "Ihre Spitzname existiert bereits."\n ],\n "This room does not (yet) exist": [\n null,\n "Dieser Raum existiert (noch) nicht"\n ],\n "This room has reached it\'s maximum number of occupants": [\n null,\n "Dieser Raum hat die maximale Mitgliederanzahl erreicht"\n ],\n "Topic set by %1$s to: %2$s": [\n null,\n "%1$s hat das Thema zu \\"%2$s\\" geändert"\n ],\n "%1$s has invited you to join a chat room: %2$s": [\n null,\n "%1$s hat Sie in den Raum \\"%2$s\\" eingeladen"\n ],\n "%1$s has invited you to join a chat room: %2$s, and left the following reason: \\"%3$s\\"": [\n null,\n "%1$s hat Sie in den Raum \\"%2$s\\" eingeladen. Begründung: \\"%3$s\\""\n ],\n "Click to restore this chat": [\n null,\n "Hier klicken um diesen Chat wiederherzustellen"\n ],\n "Minimized": [\n null,\n "Minimiert"\n ],\n "Click to remove this contact": [\n null,\n "Hier klicken um diesen Kontakt zu entfernen"\n ],\n "Click to accept this contact request": [\n null,\n "Hier klicken um diese Kontaktanfrage zu akzeptieren"\n ],\n "Click to decline this contact request": [\n null,\n "Hier klicken um diese Kontaktanfrage zu abzulehnen"\n ],\n "Click to chat with this contact": [\n null,\n "Hier klicken um mit diesem Kontakt zu chatten"\n ],\n "Name": [\n null,\n ""\n ],\n "Are you sure you want to remove this contact?": [\n null,\n "Wollen Sie diesen Kontakt wirklich entfernen?"\n ],\n "Sorry, there was an error while trying to remove ": [\n null,\n ""\n ],\n "Are you sure you want to decline this contact request?": [\n null,\n "Wollen Sie diese Kontaktanfrage wirklich ablehnen?"\n ],\n "Sorry, there was an error while trying to add ": [\n null,\n ""\n ],\n "This client does not allow presence subscriptions": [\n null,\n ""\n ],\n "Type to filter": [\n null,\n "Tippen um zu filtern"\n ],\n "I am %1$s": [\n null,\n "Ich bin %1$s"\n ],\n "Click here to write a custom status message": [\n null,\n "Hier klicken um Statusnachricht zu ändern"\n ],\n "Click to change your chat status": [\n null,\n "Hier klicken um Status zu ändern"\n ],\n "Custom status": [\n null,\n "Statusnachricht"\n ],\n "online": [\n null,\n "online"\n ],\n "busy": [\n null,\n "beschäftigt"\n ],\n "away for long": [\n null,\n "länger abwesend"\n ],\n "away": [\n null,\n "abwesend"\n ],\n "Your XMPP provider\'s domain name:": [\n null,\n ""\n ],\n "Fetch registration form": [\n null,\n ""\n ],\n "Tip: A list of public XMPP providers is available": [\n null,\n ""\n ],\n "here": [\n null,\n ""\n ],\n "Register": [\n null,\n ""\n ],\n "Sorry, the given provider does not support in band account registration. Please try with a different provider.": [\n null,\n ""\n ],\n "Requesting a registration form from the XMPP server": [\n null,\n ""\n ],\n "Something went wrong while establishing a connection with \\"%1$s\\". Are you sure it exists?": [\n null,\n ""\n ],\n "Now logging you in": [\n null,\n ""\n ],\n "Registered successfully": [\n null,\n ""\n ],\n "Return": [\n null,\n "Zurück"\n ],\n "The provider rejected your registration attempt. Please check the values you entered for correctness.": [\n null,\n ""\n ],\n "XMPP Username:": [\n null,\n "XMPP Benutzername"\n ],\n "Password:": [\n null,\n "Passwort:"\n ],\n "Click here to log in anonymously": [\n null,\n "Hier klicken um anonym anzumelden"\n ],\n "Log In": [\n null,\n "Anmelden"\n ],\n "user@server": [\n null,\n ""\n ],\n "Sign in": [\n null,\n "Anmelden"\n ],\n "Toggle chat": [\n null,\n "Chat ein-/ausblenden"\n ]\n }\n }\n}'}),define("text!en",[],function(){return'{\n "domain": "converse",\n "locale_data": {\n "converse": {\n "": {\n "domain": "converse",\n "plural_forms": "nplurals=2; plural=(n != 1);",\n "lang": "en"\n },\n " e.g. conversejs.org": [\n null,\n ""\n ],\n "unencrypted": [\n null,\n ""\n ],\n "unverified": [\n null,\n ""\n ],\n "verified": [\n null,\n ""\n ],\n "finished": [\n null,\n ""\n ],\n "This contact is busy": [\n null,\n ""\n ],\n "This contact is online": [\n null,\n ""\n ],\n "This contact is offline": [\n null,\n ""\n ],\n "This contact is unavailable": [\n null,\n ""\n ],\n "This contact is away for an extended period": [\n null,\n ""\n ],\n "This contact is away": [\n null,\n ""\n ],\n "Click to hide these contacts": [\n null,\n ""\n ],\n "My contacts": [\n null,\n ""\n ],\n "Pending contacts": [\n null,\n ""\n ],\n "Contact requests": [\n null,\n ""\n ],\n "Ungrouped": [\n null,\n ""\n ],\n "Contacts": [\n null,\n ""\n ],\n "Groups": [\n null,\n ""\n ],\n "Attempting to reconnect in 5 seconds": [\n null,\n ""\n ],\n "Error": [\n null,\n ""\n ],\n "Connecting": [\n null,\n ""\n ],\n "Authenticating": [\n null,\n ""\n ],\n "Authentication Failed": [\n null,\n ""\n ],\n "Re-establishing encrypted session": [\n null,\n ""\n ],\n "Generating private key.": [\n null,\n ""\n ],\n "Your browser might become unresponsive.": [\n null,\n ""\n ],\n "Authentication request from %1$s\\n\\nYour chat contact is attempting to verify your identity, by asking you the question below.\\n\\n%2$s": [\n null,\n ""\n ],\n "Could not verify this user\'s identify.": [\n null,\n ""\n ],\n "Exchanging private key with contact.": [\n null,\n ""\n ],\n "Close this chat box": [\n null,\n ""\n ],\n "Minimize this chat box": [\n null,\n ""\n ],\n "Personal message": [\n null,\n ""\n ],\n "Are you sure you want to clear the messages from this room?": [\n null,\n ""\n ],\n "me": [\n null,\n ""\n ],\n "is typing": [\n null,\n ""\n ],\n "has stopped typing": [\n null,\n ""\n ],\n "has gone away": [\n null,\n ""\n ],\n "Show this menu": [\n null,\n "Show this menu"\n ],\n "Write in the third person": [\n null,\n "Write in the third person"\n ],\n "Remove messages": [\n null,\n "Remove messages"\n ],\n "Are you sure you want to clear the messages from this chat box?": [\n null,\n ""\n ],\n "Your message could not be sent": [\n null,\n ""\n ],\n "We received an unencrypted message": [\n null,\n ""\n ],\n "We received an unreadable encrypted message": [\n null,\n ""\n ],\n "Here are the fingerprints, please confirm them with %1$s, outside of this chat.\\n\\nFingerprint for you, %2$s: %3$s\\n\\nFingerprint for %1$s: %4$s\\n\\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.": [\n null,\n ""\n ],\n "You will be prompted to provide a security question and then an answer to that question.\\n\\nYour contact will then be prompted the same question and if they type the exact same answer (case sensitive), their identity will be verified.": [\n null,\n ""\n ],\n "What is your security question?": [\n null,\n ""\n ],\n "What is the answer to the security question?": [\n null,\n ""\n ],\n "Invalid authentication scheme provided": [\n null,\n ""\n ],\n "has gone offline": [\n null,\n ""\n ],\n "is busy": [\n null,\n ""\n ],\n "Your messages are not encrypted anymore": [\n null,\n ""\n ],\n "Your messages are now encrypted but your contact\'s identity has not been verified.": [\n null,\n ""\n ],\n "Your contact\'s identify has been verified.": [\n null,\n ""\n ],\n "Your contact has ended encryption on their end, you should do the same.": [\n null,\n ""\n ],\n "Your messages are not encrypted. Click here to enable OTR encryption.": [\n null,\n ""\n ],\n "Your messages are encrypted, but your contact has not been verified.": [\n null,\n ""\n ],\n "Your messages are encrypted and your contact verified.": [\n null,\n ""\n ],\n "Your contact has closed their end of the private session, you should do the same": [\n null,\n ""\n ],\n "Clear all messages": [\n null,\n ""\n ],\n "End encrypted conversation": [\n null,\n ""\n ],\n "Insert a smiley": [\n null,\n ""\n ],\n "Hide the list of occupants": [\n null,\n ""\n ],\n "Refresh encrypted conversation": [\n null,\n ""\n ],\n "Start a call": [\n null,\n ""\n ],\n "Start encrypted conversation": [\n null,\n ""\n ],\n "Verify with fingerprints": [\n null,\n ""\n ],\n "Verify with SMP": [\n null,\n ""\n ],\n "What\'s this?": [\n null,\n ""\n ],\n "Online": [\n null,\n ""\n ],\n "Busy": [\n null,\n ""\n ],\n "Away": [\n null,\n ""\n ],\n "Offline": [\n null,\n ""\n ],\n "Log out": [\n null,\n ""\n ],\n "Contact name": [\n null,\n ""\n ],\n "Search": [\n null,\n ""\n ],\n "e.g. user@example.com": [\n null,\n ""\n ],\n "Add": [\n null,\n ""\n ],\n "Click to add new chat contacts": [\n null,\n ""\n ],\n "Add a contact": [\n null,\n ""\n ],\n "No users found": [\n null,\n ""\n ],\n "Click to add as a chat contact": [\n null,\n ""\n ],\n "Room name": [\n null,\n ""\n ],\n "Nickname": [\n null,\n ""\n ],\n "Server": [\n null,\n "Server"\n ],\n "Join Room": [\n null,\n ""\n ],\n "Show rooms": [\n null,\n ""\n ],\n "Rooms": [\n null,\n ""\n ],\n "No rooms on %1$s": [\n null,\n ""\n ],\n "Rooms on %1$s": [\n null,\n "Rooms on %1$s"\n ],\n "Click to open this room": [\n null,\n "Click to open this room"\n ],\n "Show more information on this room": [\n null,\n "Show more information on this room"\n ],\n "Description:": [\n null,\n "Description:"\n ],\n "Occupants:": [\n null,\n "Occupants:"\n ],\n "Features:": [\n null,\n "Features:"\n ],\n "Requires authentication": [\n null,\n "Requires authentication"\n ],\n "Hidden": [\n null,\n "Hidden"\n ],\n "Requires an invitation": [\n null,\n "Requires an invitation"\n ],\n "Moderated": [\n null,\n "Moderated"\n ],\n "Non-anonymous": [\n null,\n "Non-anonymous"\n ],\n "Open room": [\n null,\n "Open room"\n ],\n "Permanent room": [\n null,\n "Permanent room"\n ],\n "Public": [\n null,\n "Public"\n ],\n "Semi-anonymous": [\n null,\n "Semi-anonymous"\n ],\n "Temporary room": [\n null,\n "Temporary room"\n ],\n "Unmoderated": [\n null,\n "Unmoderated"\n ],\n "This user is a moderator": [\n null,\n "This user is a moderator"\n ],\n "This user can send messages in this room": [\n null,\n "This user can send messages in this room"\n ],\n "This user can NOT send messages in this room": [\n null,\n "This user can NOT send messages in this room"\n ],\n "Invite...": [\n null,\n ""\n ],\n "Occupants": [\n null,\n ""\n ],\n "You are about to invite %1$s to the chat room \\"%2$s\\". ": [\n null,\n ""\n ],\n "You may optionally include a message, explaining the reason for the invitation.": [\n null,\n ""\n ],\n "Message": [\n null,\n "Message"\n ],\n "Error: could not execute the command": [\n null,\n ""\n ],\n "Error: the \\"": [\n null,\n ""\n ],\n "Change user\'s affiliation to admin": [\n null,\n ""\n ],\n "Ban user from room": [\n null,\n ""\n ],\n "Change user role to occupant": [\n null,\n ""\n ],\n "Kick user from room": [\n null,\n ""\n ],\n "Write in 3rd person": [\n null,\n ""\n ],\n "Grant membership to a user": [\n null,\n ""\n ],\n "Remove user\'s ability to post messages": [\n null,\n ""\n ],\n "Change your nickname": [\n null,\n ""\n ],\n "Grant moderator role to user": [\n null,\n ""\n ],\n "Grant ownership of this room": [\n null,\n ""\n ],\n "Revoke user\'s membership": [\n null,\n ""\n ],\n "Set room topic": [\n null,\n ""\n ],\n "Allow muted user to post messages": [\n null,\n ""\n ],\n "Save": [\n null,\n "Save"\n ],\n "Cancel": [\n null,\n "Cancel"\n ],\n "An error occurred while trying to save the form.": [\n null,\n "An error occurred while trying to save the form."\n ],\n "This chatroom requires a password": [\n null,\n "This chatroom requires a password"\n ],\n "Password: ": [\n null,\n "Password: "\n ],\n "Submit": [\n null,\n "Submit"\n ],\n "This room is not anonymous": [\n null,\n "This room is not anonymous"\n ],\n "This room now shows unavailable members": [\n null,\n "This room now shows unavailable members"\n ],\n "This room does not show unavailable members": [\n null,\n "This room does not show unavailable members"\n ],\n "Non-privacy-related room configuration has changed": [\n null,\n "Non-privacy-related room configuration has changed"\n ],\n "Room logging is now enabled": [\n null,\n "Room logging is now enabled"\n ],\n "Room logging is now disabled": [\n null,\n "Room logging is now disabled"\n ],\n "This room is now non-anonymous": [\n null,\n "This room is now non-anonymous"\n ],\n "This room is now semi-anonymous": [\n null,\n "This room is now semi-anonymous"\n ],\n "This room is now fully-anonymous": [\n null,\n "This room is now fully-anonymous"\n ],\n "A new room has been created": [\n null,\n "A new room has been created"\n ],\n "You have been banned from this room": [\n null,\n "You have been banned from this room"\n ],\n "You have been kicked from this room": [\n null,\n "You have been kicked from this room"\n ],\n "You have been removed from this room because of an affiliation change": [\n null,\n "You have been removed from this room because of an affiliation change"\n ],\n "You have been removed from this room because the room has changed to members-only and you\'re not a member": [\n null,\n "You have been removed from this room because the room has changed to members-only and you\'re not a member"\n ],\n "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [\n null,\n "You have been removed from this room because the MUC (Multi-user chat) service is being shut down."\n ],\n "%1$s has been banned": [\n null,\n "%1$s has been banned"\n ],\n "%1$s\'s nickname has changed": [\n null,\n ""\n ],\n "%1$s has been kicked out": [\n null,\n "%1$s has been kicked out"\n ],\n "%1$s has been removed because of an affiliation change": [\n null,\n "%1$s has been removed because of an affiliation change"\n ],\n "%1$s has been removed for not being a member": [\n null,\n "%1$s has been removed for not being a member"\n ],\n "Your nickname has been automatically changed to: %1$s": [\n null,\n ""\n ],\n "Your nickname has been changed to: %1$s": [\n null,\n ""\n ],\n "The reason given is: \\"": [\n null,\n ""\n ],\n "You are not on the member list of this room": [\n null,\n "You are not on the member list of this room"\n ],\n "No nickname was specified": [\n null,\n "No nickname was specified"\n ],\n "You are not allowed to create new rooms": [\n null,\n "You are not allowed to create new rooms"\n ],\n "Your nickname doesn\'t conform to this room\'s policies": [\n null,\n "Your nickname doesn\'t conform to this room\'s policies"\n ],\n "Your nickname is already taken": [\n null,\n "Your nickname is already taken"\n ],\n "This room does not (yet) exist": [\n null,\n "This room does not (yet) exist"\n ],\n "This room has reached it\'s maximum number of occupants": [\n null,\n "This room has reached it\'s maximum number of occupants"\n ],\n "Topic set by %1$s to: %2$s": [\n null,\n "Topic set by %1$s to: %2$s"\n ],\n "%1$s has invited you to join a chat room: %2$s": [\n null,\n ""\n ],\n "%1$s has invited you to join a chat room: %2$s, and left the following reason: \\"%3$s\\"": [\n null,\n ""\n ],\n "Click to restore this chat": [\n null,\n ""\n ],\n "Minimized": [\n null,\n ""\n ],\n "Click to remove this contact": [\n null,\n "Click to remove this contact"\n ],\n "Click to accept this contact request": [\n null,\n ""\n ],\n "Click to decline this contact request": [\n null,\n ""\n ],\n "Click to chat with this contact": [\n null,\n "Click to chat with this contact"\n ],\n "Name": [\n null,\n ""\n ],\n "Are you sure you want to remove this contact?": [\n null,\n ""\n ],\n "Sorry, there was an error while trying to remove ": [\n null,\n ""\n ],\n "Are you sure you want to decline this contact request?": [\n null,\n ""\n ],\n "Sorry, there was an error while trying to add ": [\n null,\n ""\n ],\n "This client does not allow presence subscriptions": [\n null,\n ""\n ],\n "Type to filter": [\n null,\n ""\n ],\n "I am %1$s": [\n null,\n "I am %1$s"\n ],\n "Click here to write a custom status message": [\n null,\n "Click here to write a custom status message"\n ],\n "Click to change your chat status": [\n null,\n "Click to change your chat status"\n ],\n "Custom status": [\n null,\n "Custom status"\n ],\n "online": [\n null,\n "online"\n ],\n "busy": [\n null,\n "busy"\n ],\n "away for long": [\n null,\n "away for long"\n ],\n "away": [\n null,\n "away"\n ],\n "Your XMPP provider\'s domain name:": [\n null,\n ""\n ],\n "Fetch registration form": [\n null,\n ""\n ],\n "Tip: A list of public XMPP providers is available": [\n null,\n ""\n ],\n "here": [\n null,\n ""\n ],\n "Register": [\n null,\n ""\n ],\n "Sorry, the given provider does not support in band account registration. Please try with a different provider.": [\n null,\n ""\n ],\n "Requesting a registration form from the XMPP server": [\n null,\n ""\n ],\n "Something went wrong while establishing a connection with \\"%1$s\\". Are you sure it exists?": [\n null,\n ""\n ],\n "Now logging you in": [\n null,\n ""\n ],\n "Registered successfully": [\n null,\n ""\n ],\n "Return": [\n null,\n ""\n ],\n "The provider rejected your registration attempt. Please check the values you entered for correctness.": [\n null,\n ""\n ],\n "XMPP Username:": [\n null,\n ""\n ],\n "Password:": [\n null,\n "Password:"\n ],\n "Click here to log in anonymously": [\n null,\n "Click here to log in anonymously"\n ],\n "Log In": [\n null,\n "Log In"\n ],\n "user@server": [\n null,\n ""\n ],\n "Sign in": [\n null,\n "Sign in"\n ],\n "Toggle chat": [\n null,\n ""\n ]\n }\n }\n}'}),define("text!es",[],function(){return'{\n "domain": "converse",\n "locale_data": {\n "converse": {\n "": {\n "domain": "converse",\n "plural_forms": "nplurals=2; plural=(n != 1);",\n "lang": "es"\n },\n " e.g. conversejs.org": [\n null,\n ""\n ],\n "unencrypted": [\n null,\n "texto plano"\n ],\n "unverified": [\n null,\n "sin verificar"\n ],\n "verified": [\n null,\n "verificado"\n ],\n "finished": [\n null,\n "finalizado"\n ],\n "This contact is busy": [\n null,\n "Este contacto está ocupado"\n ],\n "This contact is online": [\n null,\n "Este contacto está en línea"\n ],\n "This contact is offline": [\n null,\n "Este contacto está desconectado"\n ],\n "This contact is unavailable": [\n null,\n "Este contacto no está disponible"\n ],\n "This contact is away for an extended period": [\n null,\n "Este contacto está ausente por un largo periodo de tiempo"\n ],\n "This contact is away": [\n null,\n "Este contacto está ausente"\n ],\n "My contacts": [\n null,\n "Mis contactos"\n ],\n "Pending contacts": [\n null,\n "Contactos pendientes"\n ],\n "Contact requests": [\n null,\n "Solicitudes de contacto"\n ],\n "Ungrouped": [\n null,\n ""\n ],\n "Contacts": [\n null,\n "Contactos"\n ],\n "Groups": [\n null,\n ""\n ],\n "Attempting to reconnect in 5 seconds": [\n null,\n ""\n ],\n "Error": [\n null,\n "Error"\n ],\n "Connecting": [\n null,\n "Conectando"\n ],\n "Authenticating": [\n null,\n "Autenticando"\n ],\n "Authentication Failed": [\n null,\n "La autenticación falló"\n ],\n "Re-establishing encrypted session": [\n null,\n "Re-estableciendo sesión cifrada"\n ],\n "Generating private key.": [\n null,\n "Generando llave privada"\n ],\n "Your browser might become unresponsive.": [\n null,\n "Su navegador podría dejar de responder por un momento"\n ],\n "Could not verify this user\'s identify.": [\n null,\n "No se pudo verificar la identidad de este usuario"\n ],\n "Minimize this chat box": [\n null,\n ""\n ],\n "Personal message": [\n null,\n "Mensaje personal"\n ],\n "Are you sure you want to clear the messages from this room?": [\n null,\n "¿Está seguro de querer limpiar los mensajes de esta sala?"\n ],\n "me": [\n null,\n "yo"\n ],\n "is typing": [\n null,\n ""\n ],\n "has stopped typing": [\n null,\n ""\n ],\n "Show this menu": [\n null,\n "Mostrar este menú"\n ],\n "Write in the third person": [\n null,\n "Escribir en tercera persona"\n ],\n "Remove messages": [\n null,\n "Eliminar mensajes"\n ],\n "Are you sure you want to clear the messages from this chat box?": [\n null,\n "¿Está seguro de querer limpiar los mensajes de esta conversación?"\n ],\n "Your message could not be sent": [\n null,\n "Su mensaje no se pudo enviar"\n ],\n "We received an unencrypted message": [\n null,\n "Se recibío un mensaje sin cifrar"\n ],\n "We received an unreadable encrypted message": [\n null,\n "Se recibío un mensaje cifrado corrupto"\n ],\n "Here are the fingerprints, please confirm them with %1$s, outside of this chat.\\n\\nFingerprint for you, %2$s: %3$s\\n\\nFingerprint for %1$s: %4$s\\n\\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.": [\n null,\n "Por favor confirme los identificadores de %1$s fuera de este chat.\\n\\nSu identificador es, %2$s: %3$s\\n\\nEl identificador de %1$s es: %4$s\\n\\nDespués de confirmar los identificadores haga click en OK, cancele si no concuerdan."\n ],\n "What is your security question?": [\n null,\n "Introduzca su pregunta de seguridad"\n ],\n "What is the answer to the security question?": [\n null,\n "Introduzca la respuesta a su pregunta de seguridad"\n ],\n "Invalid authentication scheme provided": [\n null,\n "Esquema de autenticación inválido"\n ],\n "Your messages are not encrypted anymore": [\n null,\n "Sus mensajes han dejado de cifrarse"\n ],\n "Your messages are not encrypted. Click here to enable OTR encryption.": [\n null,\n "Sus mensajes no están cifrados. Haga click aquí para habilitar el cifrado OTR"\n ],\n "End encrypted conversation": [\n null,\n "Finalizar sesión cifrada"\n ],\n "Insert a smiley": [\n null,\n ""\n ],\n "Hide the list of occupants": [\n null,\n ""\n ],\n "Refresh encrypted conversation": [\n null,\n "Actualizar sesión cifrada"\n ],\n "Start a call": [\n null,\n ""\n ],\n "Start encrypted conversation": [\n null,\n "Iniciar sesión cifrada"\n ],\n "Verify with fingerprints": [\n null,\n "Verificar con identificadores"\n ],\n "Verify with SMP": [\n null,\n "Verificar con SMP"\n ],\n "What\'s this?": [\n null,\n "¿Qué es esto?"\n ],\n "Online": [\n null,\n "En línea"\n ],\n "Busy": [\n null,\n "Ocupado"\n ],\n "Away": [\n null,\n "Ausente"\n ],\n "Offline": [\n null,\n "Desconectado"\n ],\n "Contact name": [\n null,\n "Nombre de contacto"\n ],\n "Search": [\n null,\n "Búsqueda"\n ],\n "e.g. user@example.com": [\n null,\n ""\n ],\n "Add": [\n null,\n "Agregar"\n ],\n "Click to add new chat contacts": [\n null,\n "Haga click para agregar nuevos contactos al chat"\n ],\n "Add a contact": [\n null,\n "Agregar un contacto"\n ],\n "No users found": [\n null,\n "Sin usuarios encontrados"\n ],\n "Click to add as a chat contact": [\n null,\n "Haga click para agregar como contacto de chat"\n ],\n "Room name": [\n null,\n "Nombre de sala"\n ],\n "Nickname": [\n null,\n "Apodo"\n ],\n "Server": [\n null,\n "Servidor"\n ],\n "Show rooms": [\n null,\n "Mostrar salas"\n ],\n "Rooms": [\n null,\n "Salas"\n ],\n "No rooms on %1$s": [\n null,\n "Sin salas en %1$s"\n ],\n "Rooms on %1$s": [\n null,\n "Salas en %1$s"\n ],\n "Click to open this room": [\n null,\n "Haga click para abrir esta sala"\n ],\n "Show more information on this room": [\n null,\n "Mostrar más información en esta sala"\n ],\n "Description:": [\n null,\n "Descripción"\n ],\n "Occupants:": [\n null,\n "Ocupantes:"\n ],\n "Features:": [\n null,\n "Características:"\n ],\n "Requires authentication": [\n null,\n "Autenticación requerida"\n ],\n "Hidden": [\n null,\n "Oculto"\n ],\n "Requires an invitation": [\n null,\n "Requiere una invitación"\n ],\n "Moderated": [\n null,\n "Moderado"\n ],\n "Non-anonymous": [\n null,\n "No anónimo"\n ],\n "Open room": [\n null,\n "Abrir sala"\n ],\n "Permanent room": [\n null,\n "Sala permanente"\n ],\n "Public": [\n null,\n "Pública"\n ],\n "Semi-anonymous": [\n null,\n "Semi anónimo"\n ],\n "Temporary room": [\n null,\n "Sala temporal"\n ],\n "Unmoderated": [\n null,\n "Sin moderar"\n ],\n "This user is a moderator": [\n null,\n "Este usuario es un moderador"\n ],\n "This user can send messages in this room": [\n null,\n "Este usuario puede enviar mensajes en esta sala"\n ],\n "This user can NOT send messages in this room": [\n null,\n "Este usuario NO puede enviar mensajes en esta"\n ],\n "Invite...": [\n null,\n ""\n ],\n "You are about to invite %1$s to the chat room \\"%2$s\\". ": [\n null,\n ""\n ],\n "You may optionally include a message, explaining the reason for the invitation.": [\n null,\n ""\n ],\n "Message": [\n null,\n "Mensaje"\n ],\n "Error: could not execute the command": [\n null,\n ""\n ],\n "Error: the \\"": [\n null,\n ""\n ],\n "Change user\'s affiliation to admin": [\n null,\n ""\n ],\n "Change user role to occupant": [\n null,\n ""\n ],\n "Grant membership to a user": [\n null,\n ""\n ],\n "Remove user\'s ability to post messages": [\n null,\n ""\n ],\n "Change your nickname": [\n null,\n ""\n ],\n "Grant moderator role to user": [\n null,\n ""\n ],\n "Revoke user\'s membership": [\n null,\n ""\n ],\n "Allow muted user to post messages": [\n null,\n ""\n ],\n "Save": [\n null,\n "Guardar"\n ],\n "Cancel": [\n null,\n "Cancelar"\n ],\n "An error occurred while trying to save the form.": [\n null,\n "Un error ocurrío mientras se guardaba el formulario."\n ],\n "This chatroom requires a password": [\n null,\n "Esta sala de chat requiere una contraseña."\n ],\n "Password: ": [\n null,\n "Contraseña: "\n ],\n "Submit": [\n null,\n "Enviar"\n ],\n "This room is not anonymous": [\n null,\n "Esta sala no es para usuarios anónimos"\n ],\n "This room now shows unavailable members": [\n null,\n "Esta sala ahora muestra los miembros no disponibles"\n ],\n "This room does not show unavailable members": [\n null,\n "Esta sala no muestra los miembros no disponibles"\n ],\n "Non-privacy-related room configuration has changed": [\n null,\n "Una configuración de la sala no relacionada con la privacidad ha sido cambiada"\n ],\n "Room logging is now enabled": [\n null,\n "El registro de la sala ahora está habilitado"\n ],\n "Room logging is now disabled": [\n null,\n "El registro de la sala ahora está deshabilitado"\n ],\n "This room is now non-anonymous": [\n null,\n "Esta sala ahora es pública"\n ],\n "This room is now semi-anonymous": [\n null,\n "Esta sala ahora es semi-anónima"\n ],\n "This room is now fully-anonymous": [\n null,\n "Esta sala ahora es completamente anónima"\n ],\n "A new room has been created": [\n null,\n "Una nueva sala ha sido creada"\n ],\n "You have been banned from this room": [\n null,\n "Usted ha sido bloqueado de esta sala"\n ],\n "You have been kicked from this room": [\n null,\n "Usted ha sido expulsado de esta sala"\n ],\n "You have been removed from this room because of an affiliation change": [\n null,\n "Usted ha sido eliminado de esta sala debido a un cambio de afiliación"\n ],\n "You have been removed from this room because the room has changed to members-only and you\'re not a member": [\n null,\n "Usted ha sido eliminado de esta sala debido a que la sala cambio su configuración a solo-miembros y usted no es un miembro"\n ],\n "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [\n null,\n "Usted ha sido eliminado de esta sala debido a que el servicio MUC (Multi-user chat) está deshabilitado."\n ],\n "%1$s has been banned": [\n null,\n "%1$s ha sido bloqueado"\n ],\n "%1$s has been kicked out": [\n null,\n "%1$s ha sido expulsado"\n ],\n "%1$s has been removed because of an affiliation change": [\n null,\n "%1$s ha sido eliminado debido a un cambio de afiliación"\n ],\n "%1$s has been removed for not being a member": [\n null,\n "%1$s ha sido eliminado debido a que no es miembro"\n ],\n "The reason given is: \\"": [\n null,\n ""\n ],\n "You are not on the member list of this room": [\n null,\n "Usted no está en la lista de miembros de esta sala"\n ],\n "No nickname was specified": [\n null,\n "Sin apodo especificado"\n ],\n "You are not allowed to create new rooms": [\n null,\n "Usted no esta autorizado para crear nuevas salas"\n ],\n "Your nickname doesn\'t conform to this room\'s policies": [\n null,\n "Su apodo no se ajusta a la política de esta sala"\n ],\n "Your nickname is already taken": [\n null,\n "Su apodo ya ha sido tomando por otro usuario"\n ],\n "This room does not (yet) exist": [\n null,\n "Esta sala (aún) no existe"\n ],\n "This room has reached it\'s maximum number of occupants": [\n null,\n "Esta sala ha alcanzado su número máximo de ocupantes"\n ],\n "Topic set by %1$s to: %2$s": [\n null,\n "Tema fijado por %1$s a: %2$s"\n ],\n "%1$s has invited you to join a chat room: %2$s": [\n null,\n ""\n ],\n "%1$s has invited you to join a chat room: %2$s, and left the following reason: \\"%3$s\\"": [\n null,\n ""\n ],\n "Click to restore this chat": [\n null,\n "Haga click para eliminar este contacto"\n ],\n "Minimized": [\n null,\n "Minimizado"\n ],\n "Click to remove this contact": [\n null,\n "Haga click para eliminar este contacto"\n ],\n "Click to chat with this contact": [\n null,\n "Haga click para conversar con este contacto"\n ],\n "Name": [\n null,\n ""\n ],\n "Are you sure you want to remove this contact?": [\n null,\n "¿Esta seguro de querer eliminar este contacto?"\n ],\n "Sorry, there was an error while trying to remove ": [\n null,\n ""\n ],\n "Sorry, there was an error while trying to add ": [\n null,\n ""\n ],\n "This client does not allow presence subscriptions": [\n null,\n ""\n ],\n "Type to filter": [\n null,\n ""\n ],\n "I am %1$s": [\n null,\n "Estoy %1$s"\n ],\n "Click here to write a custom status message": [\n null,\n "Haga click para escribir un mensaje de estatus personalizado"\n ],\n "Click to change your chat status": [\n null,\n "Haga click para cambiar su estatus de chat"\n ],\n "Custom status": [\n null,\n "Personalizar estatus"\n ],\n "online": [\n null,\n "en línea"\n ],\n "busy": [\n null,\n "ocupado"\n ],\n "away for long": [\n null,\n "ausente por mucho tiempo"\n ],\n "away": [\n null,\n "ausente"\n ],\n "Your XMPP provider\'s domain name:": [\n null,\n ""\n ],\n "Fetch registration form": [\n null,\n ""\n ],\n "Tip: A list of public XMPP providers is available": [\n null,\n ""\n ],\n "here": [\n null,\n ""\n ],\n "Register": [\n null,\n ""\n ],\n "Sorry, the given provider does not support in band account registration. Please try with a different provider.": [\n null,\n ""\n ],\n "Requesting a registration form from the XMPP server": [\n null,\n ""\n ],\n "Something went wrong while establishing a connection with \\"%1$s\\". Are you sure it exists?": [\n null,\n ""\n ],\n "Now logging you in": [\n null,\n ""\n ],\n "Registered successfully": [\n null,\n ""\n ],\n "Return": [\n null,\n ""\n ],\n "The provider rejected your registration attempt. Please check the values you entered for correctness.": [\n null,\n ""\n ],\n "Password:": [\n null,\n "Contraseña:"\n ],\n "Log In": [\n null,\n "Iniciar sesión"\n ],\n "user@server": [\n null,\n ""\n ],\n "Sign in": [\n null,\n "Registrar"\n ],\n "Toggle chat": [\n null,\n "Chat"\n ]\n }\n }\n}'}),define("text!fr",[],function(){return'{\n "domain": "converse",\n "locale_data": {\n "converse": {\n "": {\n "domain": "converse",\n "plural_forms": "nplurals=2; plural=(n != 1);",\n "lang": "fr"\n },\n " e.g. conversejs.org": [\n null,\n ""\n ],\n "unencrypted": [\n null,\n "non crypté"\n ],\n "unverified": [\n null,\n "non vérifié"\n ],\n "verified": [\n null,\n "vérifié"\n ],\n "finished": [\n null,\n "terminé"\n ],\n "This contact is busy": [\n null,\n "Ce contact est occupé"\n ],\n "This contact is online": [\n null,\n "Ce contact est connecté"\n ],\n "This contact is offline": [\n null,\n "Ce contact est déconnecté"\n ],\n "This contact is unavailable": [\n null,\n "Ce contact est indisponible"\n ],\n "This contact is away for an extended period": [\n null,\n "Ce contact est absent"\n ],\n "This contact is away": [\n null,\n "Ce contact est absent"\n ],\n "Click to hide these contacts": [\n null,\n "Cliquez pour cacher ces contacts"\n ],\n "My contacts": [\n null,\n "Mes contacts"\n ],\n "Pending contacts": [\n null,\n "Contacts en attente"\n ],\n "Contact requests": [\n null,\n "Demandes de contacts"\n ],\n "Ungrouped": [\n null,\n "Sans groupe"\n ],\n "Contacts": [\n null,\n "Contacts"\n ],\n "Groups": [\n null,\n "Groupes"\n ],\n "Attempting to reconnect in 5 seconds": [\n null,\n ""\n ],\n "Error": [\n null,\n "Erreur"\n ],\n "Connecting": [\n null,\n "Connexion"\n ],\n "Authenticating": [\n null,\n "Authentification"\n ],\n "Authentication Failed": [\n null,\n "L\'authentification a échoué"\n ],\n "Re-establishing encrypted session": [\n null,\n "Rétablissement de la session encryptée"\n ],\n "Generating private key.": [\n null,\n "Génération de la clé privée"\n ],\n "Your browser might become unresponsive.": [\n null,\n "Votre navigateur pourrait ne plus répondre"\n ],\n "Authentication request from %1$s\\n\\nYour chat contact is attempting to verify your identity, by asking you the question below.\\n\\n%2$s": [\n null,\n "Demande d\'authentification de %1$s\\n\\nVotre contact tente de vérifier votre identité, en vous posant la question ci-dessous.\\n\\n%2$s"\n ],\n "Could not verify this user\'s identify.": [\n null,\n "L\'identité de cet utilisateur ne peut pas être vérifiée"\n ],\n "Exchanging private key with contact.": [\n null,\n "Échange de clé privée avec le contact"\n ],\n "Minimize this chat box": [\n null,\n ""\n ],\n "Personal message": [\n null,\n "Message personnel"\n ],\n "Are you sure you want to clear the messages from this room?": [\n null,\n "Etes-vous sûr de vouloir supprimer les messages de ce salon ?"\n ],\n "me": [\n null,\n "moi"\n ],\n "is typing": [\n null,\n "écrit"\n ],\n "has stopped typing": [\n null,\n "a arrêté d\'écrire"\n ],\n "has gone away": [\n null,\n "est parti"\n ],\n "Show this menu": [\n null,\n "Afficher ce menu"\n ],\n "Write in the third person": [\n null,\n "Écrire à la troisième personne"\n ],\n "Remove messages": [\n null,\n "Effacer les messages"\n ],\n "Are you sure you want to clear the messages from this chat box?": [\n null,\n "Êtes-vous sûr de vouloir supprimer les messages de cette conversation?"\n ],\n "Your message could not be sent": [\n null,\n "Votre message ne peut pas être envoyé"\n ],\n "We received an unencrypted message": [\n null,\n "Un message non crypté a été reçu"\n ],\n "We received an unreadable encrypted message": [\n null,\n "Un message crypté illisible a été reçu"\n ],\n "Here are the fingerprints, please confirm them with %1$s, outside of this chat.\\n\\nFingerprint for you, %2$s: %3$s\\n\\nFingerprint for %1$s: %4$s\\n\\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.": [\n null,\n "Voici les empreintes de sécurité, veuillez les confirmer avec %1$s, en dehors de ce chat.\\n\\nEmpreinte pour vous, %2$s: %3$s\\n\\nEmpreinte pour %1$s: %4$s\\n\\nSi vous avez confirmé que les empreintes correspondent, cliquez OK, sinon cliquez Annuler."\n ],\n "You will be prompted to provide a security question and then an answer to that question.\\n\\nYour contact will then be prompted the same question and if they type the exact same answer (case sensitive), their identity will be verified.": [\n null,\n "Vous allez être invité à fournir une question de sécurité et une réponse à cette question.\\n\\nVotre contact devra répondre à la même question et s\'il fournit la même réponse (sensible à la casse), son identité sera vérifiée."\n ],\n "What is your security question?": [\n null,\n "Quelle est votre question de sécurité?"\n ],\n "What is the answer to the security question?": [\n null,\n "Quelle est la réponse à la question de sécurité?"\n ],\n "Invalid authentication scheme provided": [\n null,\n "Schéma d\'authentification fourni non valide"\n ],\n "has gone offline": [\n null,\n "s\'est déconnecté"\n ],\n "is busy": [\n null,\n "est occupé"\n ],\n "Your messages are not encrypted anymore": [\n null,\n "Vos messages ne sont plus cryptés"\n ],\n "Your messages are now encrypted but your contact\'s identity has not been verified.": [\n null,\n "Vos messages sont maintenant cryptés mais l\'identité de votre contact n\'a pas econre été véfifiée"\n ],\n "Your contact\'s identify has been verified.": [\n null,\n "L\'identité de votre contact a été vérifiée"\n ],\n "Your contact has ended encryption on their end, you should do the same.": [\n null,\n "Votre contact a arrêté le cryptage de son côté, vous devriez le faire aussi"\n ],\n "Your messages are not encrypted. Click here to enable OTR encryption.": [\n null,\n "Vos messges ne sont pas cryptés. Cliquez ici pour activer le cryptage OTR"\n ],\n "Your messages are encrypted, but your contact has not been verified.": [\n null,\n "Vos messges sont cryptés, mais votre contact n\'a pas été vérifié"\n ],\n "Your messages are encrypted and your contact verified.": [\n null,\n "Vos messages sont cryptés et votre contact est vérifié"\n ],\n "Your contact has closed their end of the private session, you should do the same": [\n null,\n "Votre contact a fermé la session privée de son côté, vous devriez le faire aussi"\n ],\n "Clear all messages": [\n null,\n "Supprimer tous les messages"\n ],\n "End encrypted conversation": [\n null,\n "Terminer la conversation cryptée"\n ],\n "Insert a smiley": [\n null,\n ""\n ],\n "Refresh encrypted conversation": [\n null,\n "Actualiser la conversation cryptée"\n ],\n "Start a call": [\n null,\n "Démarrer un appel"\n ],\n "Start encrypted conversation": [\n null,\n "Démarrer une conversation cryptée"\n ],\n "Verify with fingerprints": [\n null,\n "Vérifier par empreintes de sécurité"\n ],\n "Verify with SMP": [\n null,\n "Vérifier par Question/Réponse"\n ],\n "What\'s this?": [\n null,\n "Qu\'est-ce qu\'une conversation cryptée?"\n ],\n "Online": [\n null,\n "En ligne"\n ],\n "Busy": [\n null,\n "Occupé"\n ],\n "Away": [\n null,\n "Absent"\n ],\n "Offline": [\n null,\n "Déconnecté"\n ],\n "Log out": [\n null,\n "Se déconnecter"\n ],\n "Contact name": [\n null,\n "Nom du contact"\n ],\n "Search": [\n null,\n "Rechercher"\n ],\n "e.g. user@example.com": [\n null,\n ""\n ],\n "Add": [\n null,\n "Ajouter"\n ],\n "Click to add new chat contacts": [\n null,\n "Cliquez pour ajouter de nouveaux contacts"\n ],\n "Add a contact": [\n null,\n "Ajouter un contact"\n ],\n "No users found": [\n null,\n "Aucun utilisateur trouvé"\n ],\n "Click to add as a chat contact": [\n null,\n "Cliquer pour ajouter aux contacts"\n ],\n "Room name": [\n null,\n "Nom du salon"\n ],\n "Nickname": [\n null,\n "Alias"\n ],\n "Server": [\n null,\n "Serveur"\n ],\n "Join Room": [\n null,\n "Rejoindre"\n ],\n "Show rooms": [\n null,\n "Afficher les salons"\n ],\n "Rooms": [\n null,\n "Salons"\n ],\n "No rooms on %1$s": [\n null,\n "Aucun salon dans %1$s"\n ],\n "Rooms on %1$s": [\n null,\n "Salons dans %1$s"\n ],\n "Click to open this room": [\n null,\n "Cliquer pour ouvrir ce salon"\n ],\n "Show more information on this room": [\n null,\n "Afficher davantage d\'informations sur ce salon"\n ],\n "Description:": [\n null,\n "Description:"\n ],\n "Occupants:": [\n null,\n "Participants:"\n ],\n "Features:": [\n null,\n "Caractéristiques:"\n ],\n "Requires authentication": [\n null,\n "Nécessite une authentification"\n ],\n "Hidden": [\n null,\n "Masqué"\n ],\n "Requires an invitation": [\n null,\n "Nécessite une invitation"\n ],\n "Moderated": [\n null,\n "Modéré"\n ],\n "Non-anonymous": [\n null,\n "Non-anonyme"\n ],\n "Open room": [\n null,\n "Ouvrir un salon"\n ],\n "Permanent room": [\n null,\n "Salon permanent"\n ],\n "Public": [\n null,\n "Public"\n ],\n "Semi-anonymous": [\n null,\n "Semi-anonyme"\n ],\n "Temporary room": [\n null,\n "Salon temporaire"\n ],\n "Unmoderated": [\n null,\n "Non modéré"\n ],\n "This user is a moderator": [\n null,\n "Cet utilisateur est modérateur"\n ],\n "This user can send messages in this room": [\n null,\n "Cet utilisateur peut envoyer des messages dans ce salon"\n ],\n "This user can NOT send messages in this room": [\n null,\n "Cet utilisateur ne peut PAS envoyer de messages dans ce salon"\n ],\n "Invite...": [\n null,\n "Inviter..."\n ],\n "Occupants": [\n null,\n "Participants:"\n ],\n "You are about to invite %1$s to the chat room \\"%2$s\\". ": [\n null,\n "Vous vous apprêtez à inviter %1$s dans le salon \\"%2$s\\". "\n ],\n "You may optionally include a message, explaining the reason for the invitation.": [\n null,\n "Vous pouvez facultativement ajouter un message, expliquant la raison de cette invitation."\n ],\n "Message": [\n null,\n "Message"\n ],\n "Error: could not execute the command": [\n null,\n "Erreur: la commande ne peut pas être exécutée"\n ],\n "Error: the \\"": [\n null,\n ""\n ],\n "Change user\'s affiliation to admin": [\n null,\n "Changer le rôle de l\'utilisateur en administrateur"\n ],\n "Ban user from room": [\n null,\n "Bannir l\'utilisateur du salon"\n ],\n "Kick user from room": [\n null,\n "Expulser l\'utilisateur du salon"\n ],\n "Write in 3rd person": [\n null,\n "Écrire à la troisième personne"\n ],\n "Grant membership to a user": [\n null,\n "Autoriser l\'utilisateur à être membre"\n ],\n "Remove user\'s ability to post messages": [\n null,\n "Retirer le droit d\'envoyer des messages"\n ],\n "Change your nickname": [\n null,\n "Changer votre alias"\n ],\n "Grant moderator role to user": [\n null,\n "Changer le rôle de l\'utilisateur en modérateur"\n ],\n "Grant ownership of this room": [\n null,\n "Accorder la propriété à ce salon"\n ],\n "Revoke user\'s membership": [\n null,\n "Révoquer l\'utilisateur des membres"\n ],\n "Set room topic": [\n null,\n "Indiquer le sujet du salon"\n ],\n "Allow muted user to post messages": [\n null,\n "Autoriser les utilisateurs muets à poster des messages"\n ],\n "Save": [\n null,\n "Enregistrer"\n ],\n "Cancel": [\n null,\n "Annuler"\n ],\n "An error occurred while trying to save the form.": [\n null,\n "Une erreur est survenue lors de l\'enregistrement du formulaire."\n ],\n "This chatroom requires a password": [\n null,\n "Ce salon nécessite un mot de passe."\n ],\n "Password: ": [\n null,\n "Mot de passe: "\n ],\n "Submit": [\n null,\n "Soumettre"\n ],\n "This room is not anonymous": [\n null,\n "Ce salon n\'est pas anonyme"\n ],\n "This room now shows unavailable members": [\n null,\n "Ce salon affiche maintenant les membres indisponibles"\n ],\n "This room does not show unavailable members": [\n null,\n "Ce salon n\'affiche pas les membres indisponibles"\n ],\n "Non-privacy-related room configuration has changed": [\n null,\n "Les paramètres du salon non liés à la confidentialité ont été modifiés"\n ],\n "Room logging is now enabled": [\n null,\n "Le logging du salon est activé"\n ],\n "Room logging is now disabled": [\n null,\n "Le logging du salon est désactivé"\n ],\n "This room is now non-anonymous": [\n null,\n "Ce salon est maintenant non-anonyme"\n ],\n "This room is now semi-anonymous": [\n null,\n "Ce salon est maintenant semi-anonyme"\n ],\n "This room is now fully-anonymous": [\n null,\n "Ce salon est maintenant entièrement anonyme"\n ],\n "A new room has been created": [\n null,\n "Un nouveau salon a été créé"\n ],\n "You have been banned from this room": [\n null,\n "Vous avez été banni de ce salon"\n ],\n "You have been kicked from this room": [\n null,\n "Vous avez été expulsé de ce salon"\n ],\n "You have been removed from this room because of an affiliation change": [\n null,\n "Vous avez été retiré de ce salon du fait d\'un changement d\'affiliation"\n ],\n "You have been removed from this room because the room has changed to members-only and you\'re not a member": [\n null,\n "Vous avez été retiré de ce salon parce que ce salon est devenu réservé aux membres et vous n\'êtes pas membre"\n ],\n "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [\n null,\n "Vous avez été retiré de ce salon parce que le service de chat multi-utilisateur a été désactivé."\n ],\n "%1$s has been banned": [\n null,\n "%1$s a été banni"\n ],\n "%1$s\'s nickname has changed": [\n null,\n "%1$s a changé son nom"\n ],\n "%1$s has been kicked out": [\n null,\n "%1$s a été expulsé"\n ],\n "%1$s has been removed because of an affiliation change": [\n null,\n "%1$s a été supprimé à cause d\'un changement d\'affiliation"\n ],\n "%1$s has been removed for not being a member": [\n null,\n "%1$s a été supprimé car il n\'est pas membre"\n ],\n "Your nickname has been automatically changed to: %1$s": [\n null,\n "Votre alias a été modifié automatiquement en: %1$s"\n ],\n "Your nickname has been changed to: %1$s": [\n null,\n "Votre alias a été modifié en: %1$s"\n ],\n "The reason given is: \\"": [\n null,\n "La raison indiquée est: \\""\n ],\n "You are not on the member list of this room": [\n null,\n "Vous n\'êtes pas dans la liste des membres de ce salon"\n ],\n "No nickname was specified": [\n null,\n "Aucun alias n\'a été indiqué"\n ],\n "You are not allowed to create new rooms": [\n null,\n "Vous n\'êtes pas autorisé à créer des salons"\n ],\n "Your nickname doesn\'t conform to this room\'s policies": [\n null,\n "Votre alias n\'est pas conforme à la politique de ce salon"\n ],\n "Your nickname is already taken": [\n null,\n "Votre alias est déjà utilisé"\n ],\n "This room does not (yet) exist": [\n null,\n "Ce salon n\'existe pas encore"\n ],\n "This room has reached it\'s maximum number of occupants": [\n null,\n "Ce salon a atteint la limite maximale d\'occupants"\n ],\n "Topic set by %1$s to: %2$s": [\n null,\n "Le sujet \'%2$s\' a été défini par %1$s"\n ],\n "%1$s has invited you to join a chat room: %2$s": [\n null,\n "%1$s vous invite à rejoindre le salon: %2$s"\n ],\n "%1$s has invited you to join a chat room: %2$s, and left the following reason: \\"%3$s\\"": [\n null,\n "%1$s vous invite à rejoindre le salon: %2$s, avec le message suivant:\\"%3$s\\""\n ],\n "Click to restore this chat": [\n null,\n "Cliquez pour afficher cette discussion"\n ],\n "Minimized": [\n null,\n "Réduit(s)"\n ],\n "Click to remove this contact": [\n null,\n "Cliquez pour supprimer ce contact"\n ],\n "Click to accept this contact request": [\n null,\n "Cliquez pour accepter la demande de ce contact"\n ],\n "Click to decline this contact request": [\n null,\n "Cliquez pour refuser la demande de ce contact"\n ],\n "Click to chat with this contact": [\n null,\n "Cliquez pour discuter avec ce contact"\n ],\n "Name": [\n null,\n ""\n ],\n "Are you sure you want to remove this contact?": [\n null,\n "Êtes-vous sûr de vouloir supprimer ce contact?"\n ],\n "Sorry, there was an error while trying to remove ": [\n null,\n ""\n ],\n "Are you sure you want to decline this contact request?": [\n null,\n "Êtes-vous sûr de vouloir refuser la demande de ce contact?"\n ],\n "Sorry, there was an error while trying to add ": [\n null,\n ""\n ],\n "This client does not allow presence subscriptions": [\n null,\n ""\n ],\n "Type to filter": [\n null,\n "Filtrer"\n ],\n "I am %1$s": [\n null,\n "Je suis %1$s"\n ],\n "Click here to write a custom status message": [\n null,\n "Cliquez ici pour indiquer votre statut personnel"\n ],\n "Click to change your chat status": [\n null,\n "Cliquez pour changer votre statut"\n ],\n "Custom status": [\n null,\n "Statut personnel"\n ],\n "online": [\n null,\n "en ligne"\n ],\n "busy": [\n null,\n "occupé"\n ],\n "away for long": [\n null,\n "absent pour une longue durée"\n ],\n "away": [\n null,\n "absent"\n ],\n "Your XMPP provider\'s domain name:": [\n null,\n "Votre domaine XMPP:"\n ],\n "Fetch registration form": [\n null,\n "Récupération du formulaire d\'enregistrement"\n ],\n "Tip: A list of public XMPP providers is available": [\n null,\n "Astuce: Une liste publique de fournisseurs XMPP est disponible"\n ],\n "here": [\n null,\n "ici"\n ],\n "Register": [\n null,\n "S\'enregistrer"\n ],\n "Sorry, the given provider does not support in band account registration. Please try with a different provider.": [\n null,\n "Désolé, le fournisseur indiqué ne supporte pas l\'enregistrement de compte en ligne. Merci d\'essayer avec un autre fournisseur."\n ],\n "Requesting a registration form from the XMPP server": [\n null,\n "Demande du formulaire enregistrement au serveur XMPP"\n ],\n "Something went wrong while establishing a connection with \\"%1$s\\". Are you sure it exists?": [\n null,\n "Quelque chose a échoué lors de l\'établissement de la connexion avec \\"%1$s\\". Êtes-vous sure qu\'il existe ?"\n ],\n "Now logging you in": [\n null,\n "En cours de connexion"\n ],\n "Registered successfully": [\n null,\n "Enregistré avec succès"\n ],\n "Return": [\n null,\n "Retourner"\n ],\n "XMPP Username:": [\n null,\n "Nom d\'utilisateur XMPP/Jabber"\n ],\n "Password:": [\n null,\n "Mot de passe:"\n ],\n "Click here to log in anonymously": [\n null,\n "Cliquez ici pour se connecter anonymement"\n ],\n "Log In": [\n null,\n "Se connecter"\n ],\n "user@server": [\n null,\n ""\n ],\n "Sign in": [\n null,\n "S\'inscrire"\n ],\n "Toggle chat": [\n null,\n "Ouvrir IM"\n ]\n }\n }\n}'}),define("text!he",[],function(){return'{\n "domain": "converse",\n "locale_data": {\n "converse": {\n "": {\n "domain": "converse",\n "plural_forms": "nplurals=2; plural=(n != 1);",\n "lang": "he"\n },\n " e.g. conversejs.org": [\n null,\n " למשל conversejs.org"\n ],\n "unencrypted": [\n null,\n "לא מוצפנת"\n ],\n "unverified": [\n null,\n "לא מאומתת"\n ],\n "verified": [\n null,\n "מאומתת"\n ],\n "finished": [\n null,\n "מוגמרת"\n ],\n "This contact is busy": [\n null,\n "איש קשר זה עסוק"\n ],\n "This contact is online": [\n null,\n "איש קשר זה מקוון"\n ],\n "This contact is offline": [\n null,\n "איש קשר זה אינו מקוון"\n ],\n "This contact is unavailable": [\n null,\n "איש קשר זה לא זמין"\n ],\n "This contact is away for an extended period": [\n null,\n "איש קשר זה נעדר למשך זמן ממושך"\n ],\n "This contact is away": [\n null,\n "איש קשר זה הינו נעדר"\n ],\n "Click to hide these contacts": [\n null,\n "לחץ כדי להסתיר את אנשי קשר אלה"\n ],\n "My contacts": [\n null,\n "האנשי קשר שלי"\n ],\n "Pending contacts": [\n null,\n "אנשי קשר ממתינים"\n ],\n "Contact requests": [\n null,\n "בקשות איש קשר"\n ],\n "Ungrouped": [\n null,\n "ללא קבוצה"\n ],\n "Contacts": [\n null,\n "אנשי קשר"\n ],\n "Groups": [\n null,\n "קבוצות"\n ],\n "Attempting to reconnect in 5 seconds": [\n null,\n "מנסה להתחבר בעוד 5 שניות"\n ],\n "Error": [\n null,\n "שגיאה"\n ],\n "Connecting": [\n null,\n "כעת מתחבר"\n ],\n "Authenticating": [\n null,\n "כעת מאמת"\n ],\n "Authentication Failed": [\n null,\n "אימות נכשל"\n ],\n "Re-establishing encrypted session": [\n null,\n "בסס מחדש ישיבה מוצפנת"\n ],\n "Generating private key.": [\n null,\n "כעת מפיק מפתח פרטי."\n ],\n "Your browser might become unresponsive.": [\n null,\n "הדפדפן שלך עשוי שלא להגיב."\n ],\n "Authentication request from %1$s\\n\\nYour chat contact is attempting to verify your identity, by asking you the question below.\\n\\n%2$s": [\n null,\n "בקשת אימות מאת %1$s\\n\\nהאיש קשר שלך מנסה לאמת את הזהות שלך, בעזרת שאילת השאלה שלהלן.\\n\\n%2$s"\n ],\n "Could not verify this user\'s identify.": [\n null,\n "לא היתה אפשרות לאמת את זהות משתמש זה."\n ],\n "Exchanging private key with contact.": [\n null,\n "מחליף מפתח פרטי עם איש קשר."\n ],\n "Minimize this chat box": [\n null,\n ""\n ],\n "Personal message": [\n null,\n "הודעה אישית"\n ],\n "Are you sure you want to clear the messages from this room?": [\n null,\n "האם אתה בטוח כי ברצונך לטהר את ההודעות מתוך חדר זה?"\n ],\n "me": [\n null,\n "אני"\n ],\n "is typing": [\n null,\n "מקליד(ה) כעת"\n ],\n "has stopped typing": [\n null,\n "חדל(ה) להקליד"\n ],\n "has gone away": [\n null,\n "נעדר(ת)"\n ],\n "Show this menu": [\n null,\n "הצג את תפריט זה"\n ],\n "Write in the third person": [\n null,\n "כתוב בגוף השלישי"\n ],\n "Remove messages": [\n null,\n "הסר הודעות"\n ],\n "Are you sure you want to clear the messages from this chat box?": [\n null,\n "האם אתה בטוח כי ברצונך לטהר את ההודעות מתוך תיבת שיחה זה?"\n ],\n "Your message could not be sent": [\n null,\n "ההודעה שלך לא היתה יכולה להישלח"\n ],\n "We received an unencrypted message": [\n null,\n "אנחנו קיבלנו הודעה לא מוצפנת"\n ],\n "We received an unreadable encrypted message": [\n null,\n "אנחנו קיבלנו הודעה מוצפנת לא קריאה"\n ],\n "Here are the fingerprints, please confirm them with %1$s, outside of this chat.\\n\\nFingerprint for you, %2$s: %3$s\\n\\nFingerprint for %1$s: %4$s\\n\\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.": [\n null,\n "הרי טביעות האצבע, אנא אמת אותן עם %1$s, מחוץ לשיחה זו.\\n\\nטביעת אצבע עבורך, %2$s: %3$s\\n\\nטביעת אצבע עבור %1$s: %4$s\\n\\nהיה ואימתת כי טביעות האצבע תואמות, לחץ אישור (OK), אחרת לחץ ביטול (Cancel)."\n ],\n "You will be prompted to provide a security question and then an answer to that question.\\n\\nYour contact will then be prompted the same question and if they type the exact same answer (case sensitive), their identity will be verified.": [\n null,\n "אתה תתבקש לספק שאלת אבטחה ולאחריה תשובה לשאלה הזו.\\n\\nהאיש קשר יתבקש עובר זאת לאותה שאלת אבטחה ואם אלו יקלידו את אותה התשובה במדויק (case sensitive), זהותם תאומת."\n ],\n "What is your security question?": [\n null,\n "מהי שאלת האבטחה שלך?"\n ],\n "What is the answer to the security question?": [\n null,\n "מהי התשובה לשאלת האבטחה?"\n ],\n "Invalid authentication scheme provided": [\n null,\n "סופקה סכימת אימות שגויה"\n ],\n "has gone offline": [\n null,\n "כבר לא מקוון"\n ],\n "is busy": [\n null,\n "עסוק(ה) כעת"\n ],\n "Your messages are not encrypted anymore": [\n null,\n "ההודעות שלך אינן מוצפנות עוד"\n ],\n "Your messages are now encrypted but your contact\'s identity has not been verified.": [\n null,\n "ההודעות שלך מוצפנות כעת אך זהות האיש קשר שלך טרם אומתה."\n ],\n "Your contact\'s identify has been verified.": [\n null,\n "זהות האיש קשר שלך אומתה."\n ],\n "Your contact has ended encryption on their end, you should do the same.": [\n null,\n "האיש קשר סיים הצפנה בקצה שלהם, עליך לעשות זאת גם כן."\n ],\n "Your messages are not encrypted. Click here to enable OTR encryption.": [\n null,\n "ההודעות שלך אינן מוצפנות. לחץ כאן כדי לאפשר OTR."\n ],\n "Your messages are encrypted, but your contact has not been verified.": [\n null,\n "ההודעות שלך מוצפנות כעת, אך האיש קשר שלך טרם אומת."\n ],\n "Your messages are encrypted and your contact verified.": [\n null,\n "ההודעות שלך מוצפנות כעת והאיש קשר שלך אומת."\n ],\n "Your contact has closed their end of the private session, you should do the same": [\n null,\n "האיש קשר סגר את קצה ישיבה פרטית שלהם, עליך לעשות זאת גם כן"\n ],\n "Clear all messages": [\n null,\n "טהר את כל ההודעות"\n ],\n "End encrypted conversation": [\n null,\n "סיים ישיבה מוצפנת"\n ],\n "Insert a smiley": [\n null,\n "הכנס סמיילי"\n ],\n "Refresh encrypted conversation": [\n null,\n "רענן ישיבה מוצפנת"\n ],\n "Start a call": [\n null,\n "התחל שיחה"\n ],\n "Start encrypted conversation": [\n null,\n "התחל ישיבה מוצפנת"\n ],\n "Verify with fingerprints": [\n null,\n "אמת בעזרת טביעות אצבע"\n ],\n "Verify with SMP": [\n null,\n "אמת בעזרת SMP"\n ],\n "What\'s this?": [\n null,\n "מה זה?"\n ],\n "Online": [\n null,\n "מקוון"\n ],\n "Busy": [\n null,\n "עסוק"\n ],\n "Away": [\n null,\n "נעדר"\n ],\n "Offline": [\n null,\n "לא מקוון"\n ],\n "Log out": [\n null,\n "התנתקות"\n ],\n "Contact name": [\n null,\n "שם איש קשר"\n ],\n "Search": [\n null,\n "חיפוש"\n ],\n "e.g. user@example.com": [\n null,\n "למשל user@example.com"\n ],\n "Add": [\n null,\n "הוסף"\n ],\n "Click to add new chat contacts": [\n null,\n "לחץ כדי להוסיף אנשי קשר שיחה חדשים"\n ],\n "Add a contact": [\n null,\n "הוסף איש קשר"\n ],\n "No users found": [\n null,\n "לא נמצאו משתמשים"\n ],\n "Click to add as a chat contact": [\n null,\n "לחץ כדי להוסיף בתור איש קשר שיחה"\n ],\n "Room name": [\n null,\n "שם חדר"\n ],\n "Nickname": [\n null,\n "שם כינוי"\n ],\n "Server": [\n null,\n "שרת"\n ],\n "Join Room": [\n null,\n "הצטרף לחדר"\n ],\n "Show rooms": [\n null,\n "הצג חדרים"\n ],\n "Rooms": [\n null,\n "חדרים"\n ],\n "No rooms on %1$s": [\n null,\n "אין חדרים על %1$s"\n ],\n "Rooms on %1$s": [\n null,\n "חדרים על %1$s"\n ],\n "Click to open this room": [\n null,\n "לחץ כדי לפתוח את חדר זה"\n ],\n "Show more information on this room": [\n null,\n "הצג עוד מידע אודות חדר זה"\n ],\n "Description:": [\n null,\n "תיאור:"\n ],\n "Occupants:": [\n null,\n "נוכחים:"\n ],\n "Features:": [\n null,\n "תכונות:"\n ],\n "Requires authentication": [\n null,\n "מצריך אישור"\n ],\n "Hidden": [\n null,\n "נסתר"\n ],\n "Requires an invitation": [\n null,\n "מצריך הזמנה"\n ],\n "Moderated": [\n null,\n "מבוקר"\n ],\n "Non-anonymous": [\n null,\n "לא-אנונימי"\n ],\n "Open room": [\n null,\n "חדר פתוח"\n ],\n "Permanent room": [\n null,\n "חדר צמיתה"\n ],\n "Public": [\n null,\n "פומבי"\n ],\n "Semi-anonymous": [\n null,\n "אנונימי-למחצה"\n ],\n "Temporary room": [\n null,\n "חדר זמני"\n ],\n "Unmoderated": [\n null,\n "לא מבוקר"\n ],\n "This user is a moderator": [\n null,\n "משתמש זה הינו אחראי"\n ],\n "This user can send messages in this room": [\n null,\n "משתמש זה מסוגל לשלוח הודעות בתוך חדר זה"\n ],\n "This user can NOT send messages in this room": [\n null,\n "משתמש זה ﬥﬡ מסוגל לשלוח הודעות בתוך חדר זה"\n ],\n "Invite...": [\n null,\n "הזמנה..."\n ],\n "Occupants": [\n null,\n "נוכחים"\n ],\n "You are about to invite %1$s to the chat room \\"%2$s\\". ": [\n null,\n "אתה עומד להזמין את %1$s לחדר שיחה \\"%2$s\\". "\n ],\n "You may optionally include a message, explaining the reason for the invitation.": [\n null,\n "באפשרותך להכליל הודעה, אשר מסבירה את הסיבה להזמנה."\n ],\n "Message": [\n null,\n "הודעה"\n ],\n "Error: could not execute the command": [\n null,\n "שגיאה: לא היתה אפשרות לבצע פקודה"\n ],\n "Error: the \\"": [\n null,\n ""\n ],\n "Change user\'s affiliation to admin": [\n null,\n "שנה סינוף משתמש למנהל"\n ],\n "Ban user from room": [\n null,\n "אסור משתמש מתוך חדר"\n ],\n "Kick user from room": [\n null,\n "בעט משתמש מתוך חדר"\n ],\n "Write in 3rd person": [\n null,\n "כתוב בגוף שלישי"\n ],\n "Grant membership to a user": [\n null,\n "הענק חברות למשתמש"\n ],\n "Remove user\'s ability to post messages": [\n null,\n "הסר יכולת משתמש לפרסם הודעות"\n ],\n "Change your nickname": [\n null,\n "שנה את השם כינוי שלך"\n ],\n "Grant moderator role to user": [\n null,\n "הענק תפקיד אחראי למשתמש"\n ],\n "Grant ownership of this room": [\n null,\n "הענק בעלות על חדר זה"\n ],\n "Revoke user\'s membership": [\n null,\n "שלול חברות משתמש"\n ],\n "Set room topic": [\n null,\n "קבע נושא חדר"\n ],\n "Allow muted user to post messages": [\n null,\n "התר למשתמש מושתק לפרסם הודעות"\n ],\n "Save": [\n null,\n "שמור"\n ],\n "Cancel": [\n null,\n "ביטול"\n ],\n "An error occurred while trying to save the form.": [\n null,\n "אירעה שגיאה במהלך ניסיון שמירת הטופס."\n ],\n "This chatroom requires a password": [\n null,\n "חדר שיחה זה מצריך סיסמה"\n ],\n "Password: ": [\n null,\n "סיסמה: "\n ],\n "Submit": [\n null,\n "שלח"\n ],\n "This room is not anonymous": [\n null,\n "חדר זה אינו אנונימי"\n ],\n "This room now shows unavailable members": [\n null,\n "חדר זה כעת מציג חברים לא זמינים"\n ],\n "This room does not show unavailable members": [\n null,\n "חדר זה לא מציג חברים לא זמינים"\n ],\n "Non-privacy-related room configuration has changed": [\n null,\n "תצורת חדר אשר לא-קשורה-בפרטיות שונתה"\n ],\n "Room logging is now enabled": [\n null,\n "יומן חדר הינו מופעל כעת"\n ],\n "Room logging is now disabled": [\n null,\n "יומן חדר הינו מנוטרל כעת"\n ],\n "This room is now non-anonymous": [\n null,\n "חדר זה אינו אנונימי כעת"\n ],\n "This room is now semi-anonymous": [\n null,\n "חדר זה הינו אנונימי-למחצה כעת"\n ],\n "This room is now fully-anonymous": [\n null,\n "חדר זה הינו אנונימי-לחלוטין כעת"\n ],\n "A new room has been created": [\n null,\n "חדר חדש נוצר"\n ],\n "You have been banned from this room": [\n null,\n "נאסרת מתוך חדר זה"\n ],\n "You have been kicked from this room": [\n null,\n "נבעטת מתוך חדר זה"\n ],\n "You have been removed from this room because of an affiliation change": [\n null,\n "הוסרת מתוך חדר זה משום שינוי שיוך"\n ],\n "You have been removed from this room because the room has changed to members-only and you\'re not a member": [\n null,\n "הוסרת מתוך חדר זה משום שהחדר שונה לחברים-בלבד ואינך במעמד של חבר"\n ],\n "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [\n null,\n "הוסרת מתוך חדר זה משום ששירות שמ״מ (שיחה מרובת משתמשים) זה כעת מצוי בהליכי סגירה."\n ],\n "%1$s has been banned": [\n null,\n "%1$s נאסר(ה)"\n ],\n "%1$s\'s nickname has changed": [\n null,\n "השם כינוי של%1$s השתנה"\n ],\n "%1$s has been kicked out": [\n null,\n "%1$s נבעט(ה)"\n ],\n "%1$s has been removed because of an affiliation change": [\n null,\n "%1$s הוסרה(ה) משום שינוי שיוך"\n ],\n "%1$s has been removed for not being a member": [\n null,\n "%1$s הוסר(ה) משום אי הימצאות במסגרת מעמד של חבר"\n ],\n "Your nickname has been automatically changed to: %1$s": [\n null,\n "השם כינוי שלך שונה אוטומטית בשם: %1$s"\n ],\n "Your nickname has been changed to: %1$s": [\n null,\n "השם כינוי שלך שונה בשם: %1$s"\n ],\n "The reason given is: \\"": [\n null,\n "הסיבה שניתנה היא: \\""\n ],\n "You are not on the member list of this room": [\n null,\n "אינך ברשימת החברים של חדר זה"\n ],\n "No nickname was specified": [\n null,\n "לא צוין שום שם כינוי"\n ],\n "You are not allowed to create new rooms": [\n null,\n "אין לך רשות ליצור חדרים חדשים"\n ],\n "Your nickname doesn\'t conform to this room\'s policies": [\n null,\n "השם כינוי שלך לא תואם את המדינויות של חדר זה"\n ],\n "Your nickname is already taken": [\n null,\n "השם כינוי שלך הינו תפוס"\n ],\n "This room does not (yet) exist": [\n null,\n "חדר זה (עדיין) לא קיים"\n ],\n "This room has reached it\'s maximum number of occupants": [\n null,\n "חדר זה הגיע לסף הנוכחים המרבי שלו"\n ],\n "Topic set by %1$s to: %2$s": [\n null,\n "נושא חדר זה נקבע על ידי %1$s אל: %2$s"\n ],\n "%1$s has invited you to join a chat room: %2$s": [\n null,\n "%1$s הזמינך להצטרף לחדר שיחה: %2$s"\n ],\n "%1$s has invited you to join a chat room: %2$s, and left the following reason: \\"%3$s\\"": [\n null,\n "%1$s הזמינך להצטרף לחדר שיחה: %2$s, והשאיר את הסיבה הבאה: \\"%3$s\\""\n ],\n "Click to restore this chat": [\n null,\n "לחץ כדי לשחזר את שיחה זו"\n ],\n "Minimized": [\n null,\n "ממוזער"\n ],\n "Click to remove this contact": [\n null,\n "לחץ כדי להסיר את איש קשר זה"\n ],\n "Click to accept this contact request": [\n null,\n "לחץ כדי לקבל את בקשת איש קשר זה"\n ],\n "Click to decline this contact request": [\n null,\n "לחץ כדי לסרב את בקשת איש קשר זה"\n ],\n "Click to chat with this contact": [\n null,\n "לחץ כדי לשוחח עם איש קשר זה"\n ],\n "Name": [\n null,\n "שם"\n ],\n "Are you sure you want to remove this contact?": [\n null,\n "האם אתה בטוח כי ברצונך להסיר את איש קשר זה?"\n ],\n "Sorry, there was an error while trying to remove ": [\n null,\n "מצטערים, היתה שגיאה במהלך ניסיון להסיר את "\n ],\n "Are you sure you want to decline this contact request?": [\n null,\n "האם אתה בטוח כי ברצונך לסרב את בקשת איש קשר זה?"\n ],\n "Sorry, there was an error while trying to add ": [\n null,\n "מצטערים, היתה שגיאה במהלך ניסיון הוספת "\n ],\n "This client does not allow presence subscriptions": [\n null,\n "לקוח זה לא מתיר הרשמות נוכחות"\n ],\n "Type to filter": [\n null,\n "הקלד כדי לסנן"\n ],\n "I am %1$s": [\n null,\n "מצבי כעת הינו %1$s"\n ],\n "Click here to write a custom status message": [\n null,\n "לחץ כאן כדי לכתוב הודעת מצב מותאמת"\n ],\n "Click to change your chat status": [\n null,\n "לחץ כדי לשנות את הודעת השיחה שלך"\n ],\n "Custom status": [\n null,\n "מצב מותאם"\n ],\n "online": [\n null,\n "מקוון"\n ],\n "busy": [\n null,\n "עסוק"\n ],\n "away for long": [\n null,\n "נעדר לזמן מה"\n ],\n "away": [\n null,\n "נעדר"\n ],\n "offline": [\n null,\n "לא מקוון"\n ],\n "Your XMPP provider\'s domain name:": [\n null,\n "שם מתחם של ספק XMPP שלך:"\n ],\n "Fetch registration form": [\n null,\n "משוך טופס הרשמה"\n ],\n "Tip: A list of public XMPP providers is available": [\n null,\n "טיפ: רשימה פומבית של ספקי XMPP הינה זמינה"\n ],\n "here": [\n null,\n "כאן"\n ],\n "Register": [\n null,\n "הירשם"\n ],\n "Sorry, the given provider does not support in band account registration. Please try with a different provider.": [\n null,\n "מצטערים, הספק שניתן לא תומך ברישום חשבונות in band. אנא נסה עם ספק אחר."\n ],\n "Requesting a registration form from the XMPP server": [\n null,\n "כעת מבקש טופס הרשמה מתוך שרת XMPP"\n ],\n "Something went wrong while establishing a connection with \\"%1$s\\". Are you sure it exists?": [\n null,\n "משהו השתבש במהלך ביסוס חיבור עם \\"%1$s\\". האם אתה בטוח כי זה קיים?"\n ],\n "Now logging you in": [\n null,\n "כעת מחבר אותך פנימה"\n ],\n "Registered successfully": [\n null,\n "נרשם בהצלחה"\n ],\n "Return": [\n null,\n "חזור"\n ],\n "XMPP Username:": [\n null,\n "שם משתמש XMPP:"\n ],\n "Password:": [\n null,\n "סיסמה:"\n ],\n "Click here to log in anonymously": [\n null,\n "לחץ כאן כדי להתחבר באופן אנונימי"\n ],\n "Log In": [\n null,\n "כניסה"\n ],\n "user@server": [\n null,\n ""\n ],\n "password": [\n null,\n "סיסמה"\n ],\n "Sign in": [\n null,\n "התחברות"\n ],\n "Toggle chat": [\n null,\n "הפעל שיח"\n ]\n }\n }\n}'}),define("text!hu",[],function(){return'{\n "domain": "converse",\n "locale_data": {\n "converse": {\n "": {\n "domain": "converse",\n "lang": "hu"\n },\n " e.g. conversejs.org": [\n null,\n ""\n ],\n "unencrypted": [\n null,\n "titkosítatlan"\n ],\n "unverified": [\n null,\n "nem hitelesített"\n ],\n "verified": [\n null,\n "hitelesített"\n ],\n "finished": [\n null,\n "befejezett"\n ],\n "This contact is busy": [\n null,\n "Elfoglalt"\n ],\n "This contact is online": [\n null,\n "Elérhető"\n ],\n "This contact is offline": [\n null,\n "Nincs bejelentkezve"\n ],\n "This contact is unavailable": [\n null,\n "Elérhetetlen"\n ],\n "This contact is away for an extended period": [\n null,\n "Hosszabb ideje távol"\n ],\n "This contact is away": [\n null,\n "Távol"\n ],\n "Click to hide these contacts": [\n null,\n "A csevegő partnerek elrejtése"\n ],\n "My contacts": [\n null,\n "Kapcsolataim"\n ],\n "Pending contacts": [\n null,\n "Függőben levő kapcsolatok"\n ],\n "Contact requests": [\n null,\n "Kapcsolatnak jelölés"\n ],\n "Ungrouped": [\n null,\n "Nincs csoportosítva"\n ],\n "Contacts": [\n null,\n "Kapcsolatok"\n ],\n "Groups": [\n null,\n "Csoportok"\n ],\n "Attempting to reconnect in 5 seconds": [\n null,\n ""\n ],\n "Error": [\n null,\n "Hiba"\n ],\n "Connecting": [\n null,\n "Kapcsolódás"\n ],\n "Authenticating": [\n null,\n "Azonosítás"\n ],\n "Authentication Failed": [\n null,\n "Azonosítási hiba"\n ],\n "Re-establishing encrypted session": [\n null,\n "Titkosított kapcsolat újraépítése"\n ],\n "Generating private key.": [\n null,\n "Privát kulcs generálása"\n ],\n "Your browser might become unresponsive.": [\n null,\n "Előfordulhat, hogy a böngésző futása megáll."\n ],\n "Authentication request from %1$s\\n\\nYour chat contact is attempting to verify your identity, by asking you the question below.\\n\\n%2$s": [\n null,\n "Azonosítási kérés érkezett: %1$s\\n\\nA csevegő partnere hitelesítést kér a következő kérdés megválaszolásával:\\n\\n%2$s"\n ],\n "Could not verify this user\'s identify.": [\n null,\n "A felhasználó ellenőrzése sikertelen."\n ],\n "Exchanging private key with contact.": [\n null,\n "Privát kulcs cseréje..."\n ],\n "Minimize this chat box": [\n null,\n ""\n ],\n "Personal message": [\n null,\n "Személyes üzenet"\n ],\n "Are you sure you want to clear the messages from this room?": [\n null,\n "Törölni szeretné az üzeneteket ebből a szobából?"\n ],\n "me": [\n null,\n "Én"\n ],\n "is typing": [\n null,\n "gépel..."\n ],\n "has stopped typing": [\n null,\n "már nem gépel"\n ],\n "Show this menu": [\n null,\n "Mutasd a menüt"\n ],\n "Write in the third person": [\n null,\n "Írjon egyes szám harmadik személyben"\n ],\n "Remove messages": [\n null,\n "Üzenetek törlése"\n ],\n "Are you sure you want to clear the messages from this chat box?": [\n null,\n "Törölni szeretné az eddigi üzeneteket?"\n ],\n "Your message could not be sent": [\n null,\n "Az üzenet elküldése nem sikerült"\n ],\n "We received an unencrypted message": [\n null,\n "Titkosítatlan üzenet érkezett"\n ],\n "We received an unreadable encrypted message": [\n null,\n "Visszafejthetetlen titkosított üzenet érkezett"\n ],\n "Here are the fingerprints, please confirm them with %1$s, outside of this chat.\\n\\nFingerprint for you, %2$s: %3$s\\n\\nFingerprint for %1$s: %4$s\\n\\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.": [\n null,\n "Újjlenyomatok megerősítése.\\n\\nAz Ön újjlenyomata, %2$s: %3$s\\n\\nA csevegő partnere újjlenyomata, %1$s: %4$s\\n\\nAmennyiben az újjlenyomatok biztosan egyeznek, klikkeljen az OK, ellenkező esetben a Mégsem gombra."\n ],\n "You will be prompted to provide a security question and then an answer to that question.\\n\\nYour contact will then be prompted the same question and if they type the exact same answer (case sensitive), their identity will be verified.": [\n null,\n "Elsőként egy biztonsági kérdést kell majd feltennie és megválaszolnia.\\n\\nMajd a csevegő partnerének is megjelenik ez a kérdés. Végül ha a válaszok azonosak lesznek (kis- nagybetű érzékeny), a partner hitelesítetté válik."\n ],\n "What is your security question?": [\n null,\n "Mi legyen a biztonsági kérdés?"\n ],\n "What is the answer to the security question?": [\n null,\n "Mi a válasz a biztonsági kérdésre?"\n ],\n "Invalid authentication scheme provided": [\n null,\n "Érvénytelen hitelesítési séma."\n ],\n "Your messages are not encrypted anymore": [\n null,\n "Az üzenetek mostantól már nem titkosítottak"\n ],\n "Your messages are now encrypted but your contact\'s identity has not been verified.": [\n null,\n "Az üzenetek titikosítva vannak, de a csevegő partnerét még nem hitelesítette."\n ],\n "Your contact\'s identify has been verified.": [\n null,\n "A csevegő partnere hitelesítve lett."\n ],\n "Your contact has ended encryption on their end, you should do the same.": [\n null,\n "A csevegő partnere kikapcsolta a titkosítást, így Önnek is ezt kellene tennie."\n ],\n "Your messages are not encrypted. Click here to enable OTR encryption.": [\n null,\n "Az üzenetek titkosítatlanok. OTR titkosítás aktiválása."\n ],\n "Your messages are encrypted, but your contact has not been verified.": [\n null,\n "Az üzenetek titikosítottak, de a csevegő partnere még nem hitelesített."\n ],\n "Your messages are encrypted and your contact verified.": [\n null,\n "Az üzenetek titikosítottak és a csevegő partnere hitelesített."\n ],\n "Your contact has closed their end of the private session, you should do the same": [\n null,\n "A csevegő partnere lezárta a magán beszélgetést"\n ],\n "Clear all messages": [\n null,\n "Üzenetek törlése"\n ],\n "End encrypted conversation": [\n null,\n "Titkosított kapcsolat vége"\n ],\n "Insert a smiley": [\n null,\n ""\n ],\n "Refresh encrypted conversation": [\n null,\n "A titkosított kapcsolat frissítése"\n ],\n "Start a call": [\n null,\n "Hívás indítása"\n ],\n "Start encrypted conversation": [\n null,\n "Titkosított beszélgetés indítása"\n ],\n "Verify with fingerprints": [\n null,\n "Ellenőrzés újjlenyomattal"\n ],\n "Verify with SMP": [\n null,\n "Ellenőrzés SMP-vel"\n ],\n "What\'s this?": [\n null,\n "Mi ez?"\n ],\n "Online": [\n null,\n "Elérhető"\n ],\n "Busy": [\n null,\n "Foglalt"\n ],\n "Away": [\n null,\n "Távol"\n ],\n "Offline": [\n null,\n "Nem elérhető"\n ],\n "Log out": [\n null,\n "Kilépés"\n ],\n "Contact name": [\n null,\n "Partner neve"\n ],\n "Search": [\n null,\n "Keresés"\n ],\n "e.g. user@example.com": [\n null,\n ""\n ],\n "Add": [\n null,\n "Hozzáad"\n ],\n "Click to add new chat contacts": [\n null,\n "Új csevegő partner hozzáadása"\n ],\n "Add a contact": [\n null,\n "Új partner felvétele"\n ],\n "No users found": [\n null,\n "Nincs felhasználó"\n ],\n "Click to add as a chat contact": [\n null,\n "Felvétel a csevegő partnerek közé"\n ],\n "Room name": [\n null,\n "Szoba neve"\n ],\n "Nickname": [\n null,\n "Becenév"\n ],\n "Server": [\n null,\n "Szerver"\n ],\n "Show rooms": [\n null,\n "Létező szobák"\n ],\n "Rooms": [\n null,\n "Szobák"\n ],\n "No rooms on %1$s": [\n null,\n "Nincs csevegő szoba a(z) %1$s szerveren"\n ],\n "Rooms on %1$s": [\n null,\n "Csevegő szobák a(z) %1$s szerveren:"\n ],\n "Click to open this room": [\n null,\n "Belépés a csevegő szobába"\n ],\n "Show more information on this room": [\n null,\n "További információk a csevegő szobáról"\n ],\n "Description:": [\n null,\n "Leírás:"\n ],\n "Occupants:": [\n null,\n "Jelenlevők:"\n ],\n "Features:": [\n null,\n "Tulajdonságok:"\n ],\n "Requires authentication": [\n null,\n "Azonosítás szükséges"\n ],\n "Hidden": [\n null,\n "Rejtett"\n ],\n "Requires an invitation": [\n null,\n "Meghívás szükséges"\n ],\n "Moderated": [\n null,\n "Moderált"\n ],\n "Non-anonymous": [\n null,\n "NEM névtelen"\n ],\n "Open room": [\n null,\n "Nyitott szoba"\n ],\n "Permanent room": [\n null,\n "Állandó szoba"\n ],\n "Public": [\n null,\n "Nyílvános"\n ],\n "Semi-anonymous": [\n null,\n "Félig névtelen"\n ],\n "Temporary room": [\n null,\n "Ideiglenes szoba"\n ],\n "Unmoderated": [\n null,\n "Moderálatlan"\n ],\n "This user is a moderator": [\n null,\n "Ez a felhasználó egy moderátor"\n ],\n "This user can send messages in this room": [\n null,\n "Ez a felhasználó küldhet üzenetet ebbe a szobába"\n ],\n "This user can NOT send messages in this room": [\n null,\n "Ez a felhasználó NEM küldhet üzenetet ebbe a szobába"\n ],\n "Invite...": [\n null,\n "Meghívás..."\n ],\n "Occupants": [\n null,\n "Jelenlevők"\n ],\n "You are about to invite %1$s to the chat room \\"%2$s\\". ": [\n null,\n "%1$s meghívott a \\"%2$s\\" csevegő szobába. "\n ],\n "Message": [\n null,\n "Üzenet"\n ],\n "Error: could not execute the command": [\n null,\n "Hiba: A parancs nem értelmezett"\n ],\n "Error: the \\"": [\n null,\n ""\n ],\n "Change user\'s affiliation to admin": [\n null,\n ""\n ],\n "Ban user from room": [\n null,\n "Felhasználó kitíltása a csevegő szobából"\n ],\n "Kick user from room": [\n null,\n "Felhasználó kiléptetése a csevegő szobából"\n ],\n "Write in 3rd person": [\n null,\n "Írjon egyes szám harmadik személyben"\n ],\n "Grant membership to a user": [\n null,\n ""\n ],\n "Remove user\'s ability to post messages": [\n null,\n "A felhasználó nem küldhet üzeneteket"\n ],\n "Change your nickname": [\n null,\n "Becenév módosítása"\n ],\n "Grant moderator role to user": [\n null,\n ""\n ],\n "Revoke user\'s membership": [\n null,\n ""\n ],\n "Set room topic": [\n null,\n "Csevegőszoba téma beállítás"\n ],\n "Allow muted user to post messages": [\n null,\n "Elnémított felhasználók is küldhetnek üzeneteket"\n ],\n "Save": [\n null,\n "Ment"\n ],\n "Cancel": [\n null,\n "Mégsem"\n ],\n "An error occurred while trying to save the form.": [\n null,\n "Hiba történt az adatok mentése közben."\n ],\n "This chatroom requires a password": [\n null,\n "A csevegő szoba belépéshez jelszó szükséges"\n ],\n "Password: ": [\n null,\n "Jelszó: "\n ],\n "Submit": [\n null,\n "Küldés"\n ],\n "This room is not anonymous": [\n null,\n "Ez a szoba NEM névtelen"\n ],\n "This room now shows unavailable members": [\n null,\n "Ez a szoba mutatja az elérhetetlen tagokat"\n ],\n "This room does not show unavailable members": [\n null,\n "Ez a szoba nem mutatja az elérhetetlen tagokat"\n ],\n "Non-privacy-related room configuration has changed": [\n null,\n "A szoba általános konfigurációja módosult"\n ],\n "Room logging is now enabled": [\n null,\n "A szobába a belépés lehetséges"\n ],\n "Room logging is now disabled": [\n null,\n "A szobába a belépés szünetel"\n ],\n "This room is now non-anonymous": [\n null,\n "Ez a szoba most NEM névtelen"\n ],\n "This room is now semi-anonymous": [\n null,\n "Ez a szoba most félig névtelen"\n ],\n "This room is now fully-anonymous": [\n null,\n "Ez a szoba most teljesen névtelen"\n ],\n "A new room has been created": [\n null,\n "Létrejött egy új csevegő szoba"\n ],\n "You have been banned from this room": [\n null,\n "Ki lettél tíltva ebből a szobából"\n ],\n "You have been kicked from this room": [\n null,\n "Ki lettél dobva ebből a szobából"\n ],\n "You have been removed from this room because of an affiliation change": [\n null,\n "Taglista módosítás miatt kiléptettünk a csevegő szobából"\n ],\n "You have been removed from this room because the room has changed to members-only and you\'re not a member": [\n null,\n "Kiléptettünk a csevegő szobából, mert mostantól csak a taglistán szereplők lehetnek jelen"\n ],\n "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [\n null,\n "Kiléptettünk a csevegő szobából, mert a MUC (Multi-User Chat) szolgáltatás leállításra került."\n ],\n "%1$s has been banned": [\n null,\n "A szobából kitíltva: %1$s"\n ],\n "%1$s\'s nickname has changed": [\n null,\n "%1$s beceneve módosult"\n ],\n "%1$s has been kicked out": [\n null,\n "A szobából kidobva: %1$s"\n ],\n "%1$s has been removed because of an affiliation change": [\n null,\n "Taglista módosítás miatt a szobából kiléptetve: %1$s"\n ],\n "%1$s has been removed for not being a member": [\n null,\n "A taglistán nem szerepel így a szobából kiléptetve: %1$s"\n ],\n "Your nickname has been automatically changed to: %1$s": [\n null,\n "A beceneved módosításra került a következőre: %1$s"\n ],\n "Your nickname has been changed to: %1$s": [\n null,\n "A beceneved a következőre módosult: %1$s"\n ],\n "The reason given is: \\"": [\n null,\n "Az indok: \\""\n ],\n "You are not on the member list of this room": [\n null,\n "Nem szerepelsz a csevegő szoba taglistáján"\n ],\n "No nickname was specified": [\n null,\n "Nem lett megadva becenév"\n ],\n "You are not allowed to create new rooms": [\n null,\n "Nem lehet új csevegő szobát létrehozni"\n ],\n "Your nickname doesn\'t conform to this room\'s policies": [\n null,\n "A beceneved ütközik a csevegő szoba szabályzataival"\n ],\n "Your nickname is already taken": [\n null,\n "A becenevedet már valaki használja"\n ],\n "This room does not (yet) exist": [\n null,\n "Ez a szoba (még) nem létezik"\n ],\n "This room has reached it\'s maximum number of occupants": [\n null,\n "Ez a csevegő szoba elérte a maximális jelenlévők számát"\n ],\n "Topic set by %1$s to: %2$s": [\n null,\n "A következő témát állította be %1$s: %2$s"\n ],\n "%1$s has invited you to join a chat room: %2$s": [\n null,\n "%1$s meghívott a(z) %2$s csevegő szobába"\n ],\n "%1$s has invited you to join a chat room: %2$s, and left the following reason: \\"%3$s\\"": [\n null,\n "%1$s meghívott a(z) %2$s csevegő szobába. Indok: \\"%3$s\\""\n ],\n "Click to restore this chat": [\n null,\n "A csevegés visszaállítása"\n ],\n "Minimized": [\n null,\n "Lezárva"\n ],\n "Click to remove this contact": [\n null,\n "Partner törlése"\n ],\n "Click to accept this contact request": [\n null,\n "Elogadása a partnerlistába történő felvételnek"\n ],\n "Click to decline this contact request": [\n null,\n "Megtagadása a partnerlistába történő felvételnek"\n ],\n "Click to chat with this contact": [\n null,\n "Csevegés indítása ezzel a partnerünkkel"\n ],\n "Name": [\n null,\n ""\n ],\n "Are you sure you want to remove this contact?": [\n null,\n "Valóban törölni szeretné a csevegő partnerét?"\n ],\n "Sorry, there was an error while trying to remove ": [\n null,\n ""\n ],\n "Are you sure you want to decline this contact request?": [\n null,\n "Valóban elutasítja ezt a kapcsolat felvételi kérést?"\n ],\n "Sorry, there was an error while trying to add ": [\n null,\n ""\n ],\n "This client does not allow presence subscriptions": [\n null,\n ""\n ],\n "Type to filter": [\n null,\n "Írjon be pár betűt"\n ],\n "I am %1$s": [\n null,\n "%1$s vagyok"\n ],\n "Click here to write a custom status message": [\n null,\n "Egyedi státusz üzenet írása"\n ],\n "Click to change your chat status": [\n null,\n "Saját státusz beállítása"\n ],\n "Custom status": [\n null,\n "Egyedi státusz"\n ],\n "online": [\n null,\n "Elérhető"\n ],\n "busy": [\n null,\n "Elfoglalt"\n ],\n "away for long": [\n null,\n "Hosszú ideje távol"\n ],\n "away": [\n null,\n "Távol"\n ],\n "Your XMPP provider\'s domain name:": [\n null,\n "Az XMPP szolgáltató domain neve:"\n ],\n "Fetch registration form": [\n null,\n "Regisztrációs űrlap"\n ],\n "Tip: A list of public XMPP providers is available": [\n null,\n "Tipp: A nyílvános XMPP szolgáltatókról egy lista elérhető"\n ],\n "here": [\n null,\n "itt"\n ],\n "Register": [\n null,\n "Regisztráció"\n ],\n "Sorry, the given provider does not support in band account registration. Please try with a different provider.": [\n null,\n "A megadott szolgáltató nem támogatja a csevegőn keresztüli regisztrációt. Próbáljon meg egy másikat."\n ],\n "Requesting a registration form from the XMPP server": [\n null,\n "Regisztrációs űrlap lekérése az XMPP szervertől"\n ],\n "Something went wrong while establishing a connection with \\"%1$s\\". Are you sure it exists?": [\n null,\n "Hiba történt a(z) \\"%1$s\\" kapcsolódásakor. Biztos benne, hogy ez létező kiszolgáló?"\n ],\n "Now logging you in": [\n null,\n "Belépés..."\n ],\n "Registered successfully": [\n null,\n "Sikeres regisztráció"\n ],\n "Return": [\n null,\n "Visza"\n ],\n "XMPP Username:": [\n null,\n "XMPP/Jabber azonosító:"\n ],\n "Password:": [\n null,\n "Jelszó:"\n ],\n "Log In": [\n null,\n "Belépés"\n ],\n "user@server": [\n null,\n ""\n ],\n "Sign in": [\n null,\n "Belépés"\n ],\n "Toggle chat": [\n null,\n "Csevegő ablak"\n ]\n }\n }\n}'}),define("text!id",[],function(){return'{\n "domain": "converse",\n "locale_data": {\n "converse": {\n "": {\n "domain": "converse",\n "lang": "id"\n },\n " e.g. conversejs.org": [\n null,\n ""\n ],\n "unencrypted": [\n null,\n "tak dienkripsi"\n ],\n "unverified": [\n null,\n "tak diverifikasi"\n ],\n "verified": [\n null,\n "diverifikasi"\n ],\n "finished": [\n null,\n "selesai"\n ],\n "This contact is busy": [\n null,\n "Teman ini sedang sibuk"\n ],\n "This contact is online": [\n null,\n "Teman ini terhubung"\n ],\n "This contact is offline": [\n null,\n "Teman ini tidak terhubung"\n ],\n "This contact is unavailable": [\n null,\n "Teman ini tidak tersedia"\n ],\n "This contact is away for an extended period": [\n null,\n "Teman ini tidak di tempat untuk waktu yang lama"\n ],\n "This contact is away": [\n null,\n "Teman ini tidak di tempat"\n ],\n "My contacts": [\n null,\n "Teman saya"\n ],\n "Pending contacts": [\n null,\n "Teman yang menunggu"\n ],\n "Contact requests": [\n null,\n "Permintaan pertemanan"\n ],\n "Ungrouped": [\n null,\n ""\n ],\n "Contacts": [\n null,\n "Teman"\n ],\n "Groups": [\n null,\n ""\n ],\n "Attempting to reconnect in 5 seconds": [\n null,\n ""\n ],\n "Error": [\n null,\n "Kesalahan"\n ],\n "Connecting": [\n null,\n "Menyambung"\n ],\n "Authenticating": [\n null,\n "Melakukan otentikasi"\n ],\n "Authentication Failed": [\n null,\n "Otentikasi gagal"\n ],\n "Re-establishing encrypted session": [\n null,\n "Menyambung kembali sesi terenkripsi"\n ],\n "Generating private key.": [\n null,\n ""\n ],\n "Your browser might become unresponsive.": [\n null,\n ""\n ],\n "Could not verify this user\'s identify.": [\n null,\n "Tak dapat melakukan verifikasi identitas pengguna ini."\n ],\n "Exchanging private key with contact.": [\n null,\n ""\n ],\n "Minimize this chat box": [\n null,\n ""\n ],\n "Personal message": [\n null,\n "Pesan pribadi"\n ],\n "me": [\n null,\n "saya"\n ],\n "is typing": [\n null,\n ""\n ],\n "has stopped typing": [\n null,\n ""\n ],\n "Show this menu": [\n null,\n "Tampilkan menu ini"\n ],\n "Write in the third person": [\n null,\n "Tulis ini menggunakan bahasa pihak ketiga"\n ],\n "Remove messages": [\n null,\n "Hapus pesan"\n ],\n "Are you sure you want to clear the messages from this chat box?": [\n null,\n ""\n ],\n "Your message could not be sent": [\n null,\n "Pesan anda tak dapat dikirim"\n ],\n "We received an unencrypted message": [\n null,\n "Kami menerima pesan terenkripsi"\n ],\n "We received an unreadable encrypted message": [\n null,\n "Kami menerima pesan terenkripsi yang gagal dibaca"\n ],\n "Here are the fingerprints, please confirm them with %1$s, outside of this chat.\\n\\nFingerprint for you, %2$s: %3$s\\n\\nFingerprint for %1$s: %4$s\\n\\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.": [\n null,\n "Ini adalah sidik jari anda, konfirmasikan bersama mereka dengan %1$s, di luar percakapan ini.\\n\\nSidik jari untuk anda, %2$s: %3$s\\n\\nSidik jari untuk %1$s: %4$s\\n\\nJika anda bisa mengkonfirmasi sidik jadi cocok, klik Lanjutkan, jika tidak klik Batal."\n ],\n "What is your security question?": [\n null,\n "Apakah pertanyaan keamanan anda?"\n ],\n "What is the answer to the security question?": [\n null,\n "Apa jawaban dari pertanyaan keamanan tersebut?"\n ],\n "Invalid authentication scheme provided": [\n null,\n "Skema otentikasi salah"\n ],\n "Your messages are not encrypted anymore": [\n null,\n "Pesan anda tidak lagi terenkripsi"\n ],\n "Your messages are not encrypted. Click here to enable OTR encryption.": [\n null,\n "Pesan anda tak terenkripsi. Klik di sini untuk menyalakan enkripsi OTR."\n ],\n "End encrypted conversation": [\n null,\n "Sudahi percakapan terenkripsi"\n ],\n "Insert a smiley": [\n null,\n ""\n ],\n "Hide the list of occupants": [\n null,\n ""\n ],\n "Refresh encrypted conversation": [\n null,\n "Setel ulang percakapan terenkripsi"\n ],\n "Start a call": [\n null,\n ""\n ],\n "Start encrypted conversation": [\n null,\n "Mulai sesi terenkripsi"\n ],\n "Verify with fingerprints": [\n null,\n "Verifikasi menggunakan sidik jari"\n ],\n "Verify with SMP": [\n null,\n "Verifikasi menggunakan SMP"\n ],\n "What\'s this?": [\n null,\n "Apakah ini?"\n ],\n "Online": [\n null,\n "Terhubung"\n ],\n "Busy": [\n null,\n "Sibuk"\n ],\n "Away": [\n null,\n "Pergi"\n ],\n "Offline": [\n null,\n "Tak Terhubung"\n ],\n "Contact name": [\n null,\n "Nama teman"\n ],\n "Search": [\n null,\n "Cari"\n ],\n "e.g. user@example.com": [\n null,\n ""\n ],\n "Add": [\n null,\n "Tambah"\n ],\n "Click to add new chat contacts": [\n null,\n "Klik untuk menambahkan teman baru"\n ],\n "Add a contact": [\n null,\n "Tambah teman"\n ],\n "No users found": [\n null,\n "Pengguna tak ditemukan"\n ],\n "Click to add as a chat contact": [\n null,\n "Klik untuk menambahkan sebagai teman"\n ],\n "Room name": [\n null,\n "Nama ruangan"\n ],\n "Nickname": [\n null,\n "Nama panggilan"\n ],\n "Server": [\n null,\n "Server"\n ],\n "Show rooms": [\n null,\n "Perlihatkan ruangan"\n ],\n "Rooms": [\n null,\n "Ruangan"\n ],\n "No rooms on %1$s": [\n null,\n "Tak ada ruangan di %1$s"\n ],\n "Rooms on %1$s": [\n null,\n "Ruangan di %1$s"\n ],\n "Click to open this room": [\n null,\n "Klik untuk membuka ruangan ini"\n ],\n "Show more information on this room": [\n null,\n "Tampilkan informasi ruangan ini"\n ],\n "Description:": [\n null,\n "Keterangan:"\n ],\n "Occupants:": [\n null,\n "Penghuni:"\n ],\n "Features:": [\n null,\n "Fitur:"\n ],\n "Requires authentication": [\n null,\n "Membutuhkan otentikasi"\n ],\n "Hidden": [\n null,\n "Tersembunyi"\n ],\n "Requires an invitation": [\n null,\n "Membutuhkan undangan"\n ],\n "Moderated": [\n null,\n "Dimoderasi"\n ],\n "Non-anonymous": [\n null,\n "Tidak anonim"\n ],\n "Open room": [\n null,\n "Ruangan terbuka"\n ],\n "Permanent room": [\n null,\n "Ruangan permanen"\n ],\n "Public": [\n null,\n "Umum"\n ],\n "Semi-anonymous": [\n null,\n "Semi-anonim"\n ],\n "Temporary room": [\n null,\n "Ruangan sementara"\n ],\n "Unmoderated": [\n null,\n "Tak dimoderasi"\n ],\n "This user is a moderator": [\n null,\n "Pengguna ini adalah moderator"\n ],\n "This user can send messages in this room": [\n null,\n "Pengguna ini dapat mengirim pesan di ruangan ini"\n ],\n "This user can NOT send messages in this room": [\n null,\n "Pengguna ini tak dapat mengirim pesan di ruangan ini"\n ],\n "Invite...": [\n null,\n ""\n ],\n "You are about to invite %1$s to the chat room \\"%2$s\\". ": [\n null,\n ""\n ],\n "You may optionally include a message, explaining the reason for the invitation.": [\n null,\n ""\n ],\n "Message": [\n null,\n "Pesan"\n ],\n "Error: could not execute the command": [\n null,\n ""\n ],\n "Error: the \\"": [\n null,\n ""\n ],\n "Change user\'s affiliation to admin": [\n null,\n ""\n ],\n "Change user role to occupant": [\n null,\n ""\n ],\n "Grant membership to a user": [\n null,\n ""\n ],\n "Remove user\'s ability to post messages": [\n null,\n ""\n ],\n "Change your nickname": [\n null,\n ""\n ],\n "Grant moderator role to user": [\n null,\n ""\n ],\n "Revoke user\'s membership": [\n null,\n ""\n ],\n "Allow muted user to post messages": [\n null,\n ""\n ],\n "Save": [\n null,\n "Simpan"\n ],\n "Cancel": [\n null,\n "Batal"\n ],\n "An error occurred while trying to save the form.": [\n null,\n "Kesalahan terjadi saat menyimpan formulir ini."\n ],\n "This chatroom requires a password": [\n null,\n "Ruangan ini membutuhkan kata sandi"\n ],\n "Password: ": [\n null,\n "Kata sandi: "\n ],\n "Submit": [\n null,\n "Kirim"\n ],\n "This room is not anonymous": [\n null,\n "Ruangan ini tidak anonim"\n ],\n "This room now shows unavailable members": [\n null,\n "Ruangan ini menampilkan anggota yang tak tersedia"\n ],\n "This room does not show unavailable members": [\n null,\n "Ruangan ini tidak menampilkan anggota yang tak tersedia"\n ],\n "Non-privacy-related room configuration has changed": [\n null,\n "Konfigurasi ruangan yang tak berhubungan dengan privasi telah diubah"\n ],\n "Room logging is now enabled": [\n null,\n "Pencatatan di ruangan ini sekarang dinyalakan"\n ],\n "Room logging is now disabled": [\n null,\n "Pencatatan di ruangan ini sekarang dimatikan"\n ],\n "This room is now non-anonymous": [\n null,\n "Ruangan ini sekarang tak-anonim"\n ],\n "This room is now semi-anonymous": [\n null,\n "Ruangan ini sekarang semi-anonim"\n ],\n "This room is now fully-anonymous": [\n null,\n "Ruangan ini sekarang anonim"\n ],\n "A new room has been created": [\n null,\n "Ruangan baru telah dibuat"\n ],\n "You have been banned from this room": [\n null,\n "Anda telah dicekal dari ruangan ini"\n ],\n "You have been kicked from this room": [\n null,\n "Anda telah ditendang dari ruangan ini"\n ],\n "You have been removed from this room because of an affiliation change": [\n null,\n "Anda telah dihapus dari ruangan ini karena perubahan afiliasi"\n ],\n "You have been removed from this room because the room has changed to members-only and you\'re not a member": [\n null,\n "Anda telah dihapus dari ruangan ini karena ruangan ini hanya terbuka untuk anggota dan anda bukan anggota"\n ],\n "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [\n null,\n "Anda telah dihapus dari ruangan ini karena layanan MUC (Multi-user chat) telah dimatikan."\n ],\n "%1$s has been banned": [\n null,\n "%1$s telah dicekal"\n ],\n "%1$s has been kicked out": [\n null,\n "%1$s telah ditendang keluar"\n ],\n "%1$s has been removed because of an affiliation change": [\n null,\n "%1$s telah dihapus karena perubahan afiliasi"\n ],\n "%1$s has been removed for not being a member": [\n null,\n "%1$s telah dihapus karena bukan anggota"\n ],\n "The reason given is: \\"": [\n null,\n ""\n ],\n "You are not on the member list of this room": [\n null,\n "Anda bukan anggota dari ruangan ini"\n ],\n "No nickname was specified": [\n null,\n "Nama panggilan belum ditentukan"\n ],\n "You are not allowed to create new rooms": [\n null,\n "Anda tak diizinkan untuk membuat ruangan baru"\n ],\n "Your nickname doesn\'t conform to this room\'s policies": [\n null,\n "Nama panggilan anda tidak sesuai aturan ruangan ini"\n ],\n "Your nickname is already taken": [\n null,\n "Nama panggilan anda telah digunakan orang lain"\n ],\n "This room does not (yet) exist": [\n null,\n "Ruangan ini belum dibuat"\n ],\n "This room has reached it\'s maximum number of occupants": [\n null,\n "Ruangan ini telah mencapai jumlah penghuni maksimum"\n ],\n "Topic set by %1$s to: %2$s": [\n null,\n "Topik diganti oleh %1$s menjadi: %2$s"\n ],\n "%1$s has invited you to join a chat room: %2$s": [\n null,\n ""\n ],\n "%1$s has invited you to join a chat room: %2$s, and left the following reason: \\"%3$s\\"": [\n null,\n ""\n ],\n "Minimized": [\n null,\n ""\n ],\n "Click to remove this contact": [\n null,\n "Klik untuk menghapus teman ini"\n ],\n "Click to chat with this contact": [\n null,\n "Klik untuk mulai perbinjangan dengan teman ini"\n ],\n "Name": [\n null,\n ""\n ],\n "Sorry, there was an error while trying to remove ": [\n null,\n ""\n ],\n "Sorry, there was an error while trying to add ": [\n null,\n ""\n ],\n "This client does not allow presence subscriptions": [\n null,\n ""\n ],\n "Type to filter": [\n null,\n ""\n ],\n "I am %1$s": [\n null,\n "Saya %1$s"\n ],\n "Click here to write a custom status message": [\n null,\n "Klik untuk menulis status kustom"\n ],\n "Click to change your chat status": [\n null,\n "Klik untuk mengganti status"\n ],\n "Custom status": [\n null,\n "Status kustom"\n ],\n "online": [\n null,\n "terhubung"\n ],\n "busy": [\n null,\n "sibuk"\n ],\n "away for long": [\n null,\n "lama tak di tempat"\n ],\n "away": [\n null,\n "tak di tempat"\n ],\n "Your XMPP provider\'s domain name:": [\n null,\n ""\n ],\n "Fetch registration form": [\n null,\n ""\n ],\n "Tip: A list of public XMPP providers is available": [\n null,\n ""\n ],\n "here": [\n null,\n ""\n ],\n "Register": [\n null,\n ""\n ],\n "Sorry, the given provider does not support in band account registration. Please try with a different provider.": [\n null,\n ""\n ],\n "Requesting a registration form from the XMPP server": [\n null,\n ""\n ],\n "Something went wrong while establishing a connection with \\"%1$s\\". Are you sure it exists?": [\n null,\n ""\n ],\n "Now logging you in": [\n null,\n ""\n ],\n "Registered successfully": [\n null,\n ""\n ],\n "Return": [\n null,\n ""\n ],\n "The provider rejected your registration attempt. Please check the values you entered for correctness.": [\n null,\n ""\n ],\n "Password:": [\n null,\n "Kata sandi:"\n ],\n "Log In": [\n null,\n "Masuk"\n ],\n "user@server": [\n null,\n ""\n ],\n "Sign in": [\n null,\n "Masuk"\n ],\n "Toggle chat": [\n null,\n ""\n ]\n }\n }\n}'}),define("text!it",[],function(){return'{\n "domain": "converse",\n "locale_data": {\n "converse": {\n "": {\n "domain": "converse",\n "plural_forms": "nplurals=2; plural=(n != 1);",\n "lang": "it"\n },\n " e.g. conversejs.org": [\n null,\n "es. conversejs.org"\n ],\n "unencrypted": [\n null,\n "non criptato"\n ],\n "unverified": [\n null,\n "non verificato"\n ],\n "verified": [\n null,\n "verificato"\n ],\n "finished": [\n null,\n "finito"\n ],\n "This contact is busy": [\n null,\n "Questo contatto è occupato"\n ],\n "This contact is online": [\n null,\n "Questo contatto è online"\n ],\n "This contact is offline": [\n null,\n "Questo contatto è offline"\n ],\n "This contact is unavailable": [\n null,\n "Questo contatto non è disponibile"\n ],\n "This contact is away for an extended period": [\n null,\n "Il contatto è away da un lungo periodo"\n ],\n "This contact is away": [\n null,\n "Questo contatto è away"\n ],\n "Click to hide these contacts": [\n null,\n "Clicca per nascondere questi contatti"\n ],\n "My contacts": [\n null,\n "I miei contatti"\n ],\n "Pending contacts": [\n null,\n "Contatti in attesa"\n ],\n "Contact requests": [\n null,\n "Richieste dei contatti"\n ],\n "Ungrouped": [\n null,\n "Senza Gruppo"\n ],\n "Contacts": [\n null,\n "Contatti"\n ],\n "Groups": [\n null,\n "Gruppi"\n ],\n "Attempting to reconnect in 5 seconds": [\n null,\n "Attendi riconversione in 5 secondi"\n ],\n "Error": [\n null,\n "Errore"\n ],\n "Connecting": [\n null,\n "Connessione in corso"\n ],\n "Authenticating": [\n null,\n "Autenticazione in corso"\n ],\n "Authentication Failed": [\n null,\n "Autenticazione fallita"\n ],\n "Re-establishing encrypted session": [\n null,\n ""\n ],\n "Generating private key.": [\n null,\n ""\n ],\n "Your browser might become unresponsive.": [\n null,\n ""\n ],\n "Authentication request from %1$s\\n\\nYour chat contact is attempting to verify your identity, by asking you the question below.\\n\\n%2$s": [\n null,\n ""\n ],\n "Could not verify this user\'s identify.": [\n null,\n ""\n ],\n "Exchanging private key with contact.": [\n null,\n ""\n ],\n "Minimize this chat box": [\n null,\n ""\n ],\n "Personal message": [\n null,\n "Messaggio personale"\n ],\n "Are you sure you want to clear the messages from this room?": [\n null,\n "Sei sicuro di voler pulire i messaggi da questa stanza?"\n ],\n "me": [\n null,\n "me"\n ],\n "is typing": [\n null,\n "sta scrivendo"\n ],\n "has stopped typing": [\n null,\n "ha smesso di scrivere"\n ],\n "has gone away": [\n null,\n ""\n ],\n "Show this menu": [\n null,\n "Mostra questo menu"\n ],\n "Write in the third person": [\n null,\n "Scrivi in terza persona"\n ],\n "Remove messages": [\n null,\n "Rimuovi messaggi"\n ],\n "Are you sure you want to clear the messages from this chat box?": [\n null,\n ""\n ],\n "Your message could not be sent": [\n null,\n ""\n ],\n "We received an unencrypted message": [\n null,\n ""\n ],\n "We received an unreadable encrypted message": [\n null,\n ""\n ],\n "Here are the fingerprints, please confirm them with %1$s, outside of this chat.\\n\\nFingerprint for you, %2$s: %3$s\\n\\nFingerprint for %1$s: %4$s\\n\\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.": [\n null,\n ""\n ],\n "You will be prompted to provide a security question and then an answer to that question.\\n\\nYour contact will then be prompted the same question and if they type the exact same answer (case sensitive), their identity will be verified.": [\n null,\n ""\n ],\n "What is your security question?": [\n null,\n ""\n ],\n "What is the answer to the security question?": [\n null,\n ""\n ],\n "Invalid authentication scheme provided": [\n null,\n ""\n ],\n "has gone offline": [\n null,\n ""\n ],\n "is busy": [\n null,\n "è occupato"\n ],\n "Your messages are not encrypted anymore": [\n null,\n ""\n ],\n "Your messages are now encrypted but your contact\'s identity has not been verified.": [\n null,\n ""\n ],\n "Your contact\'s identify has been verified.": [\n null,\n ""\n ],\n "Your contact has ended encryption on their end, you should do the same.": [\n null,\n ""\n ],\n "Your messages are not encrypted. Click here to enable OTR encryption.": [\n null,\n ""\n ],\n "Your messages are encrypted, but your contact has not been verified.": [\n null,\n ""\n ],\n "Your messages are encrypted and your contact verified.": [\n null,\n ""\n ],\n "Your contact has closed their end of the private session, you should do the same": [\n null,\n ""\n ],\n "Clear all messages": [\n null,\n "Pulisci tutti i messaggi"\n ],\n "End encrypted conversation": [\n null,\n ""\n ],\n "Insert a smiley": [\n null,\n ""\n ],\n "Hide the list of occupants": [\n null,\n ""\n ],\n "Refresh encrypted conversation": [\n null,\n ""\n ],\n "Start a call": [\n null,\n ""\n ],\n "Start encrypted conversation": [\n null,\n ""\n ],\n "Verify with fingerprints": [\n null,\n ""\n ],\n "Verify with SMP": [\n null,\n ""\n ],\n "What\'s this?": [\n null,\n ""\n ],\n "Online": [\n null,\n "In linea"\n ],\n "Busy": [\n null,\n "Occupato"\n ],\n "Away": [\n null,\n "Assente"\n ],\n "Offline": [\n null,\n "Non in linea"\n ],\n "Log out": [\n null,\n "Logo out"\n ],\n "Contact name": [\n null,\n "Nome del contatto"\n ],\n "Search": [\n null,\n "Cerca"\n ],\n "e.g. user@example.com": [\n null,\n "es. user@example.com"\n ],\n "Add": [\n null,\n "Aggiungi"\n ],\n "Click to add new chat contacts": [\n null,\n "Clicca per aggiungere nuovi contatti alla chat"\n ],\n "Add a contact": [\n null,\n "Aggiungi contatti"\n ],\n "No users found": [\n null,\n "Nessun utente trovato"\n ],\n "Click to add as a chat contact": [\n null,\n "Clicca per aggiungere il contatto alla chat"\n ],\n "Room name": [\n null,\n "Nome stanza"\n ],\n "Nickname": [\n null,\n "Soprannome"\n ],\n "Server": [\n null,\n "Server"\n ],\n "Join Room": [\n null,\n "Entra nella Stanza"\n ],\n "Show rooms": [\n null,\n "Mostra stanze"\n ],\n "Rooms": [\n null,\n "Stanze"\n ],\n "No rooms on %1$s": [\n null,\n "Nessuna stanza su %1$s"\n ],\n "Rooms on %1$s": [\n null,\n "Stanze su %1$s"\n ],\n "Click to open this room": [\n null,\n "Clicca per aprire questa stanza"\n ],\n "Show more information on this room": [\n null,\n "Mostra più informazioni su questa stanza"\n ],\n "Description:": [\n null,\n "Descrizione:"\n ],\n "Occupants:": [\n null,\n "Utenti presenti:"\n ],\n "Features:": [\n null,\n "Funzionalità:"\n ],\n "Requires authentication": [\n null,\n "Richiede autenticazione"\n ],\n "Hidden": [\n null,\n "Nascosta"\n ],\n "Requires an invitation": [\n null,\n "Richiede un invito"\n ],\n "Moderated": [\n null,\n "Moderata"\n ],\n "Non-anonymous": [\n null,\n "Non-anonima"\n ],\n "Open room": [\n null,\n "Stanza aperta"\n ],\n "Permanent room": [\n null,\n "Stanza permanente"\n ],\n "Public": [\n null,\n "Pubblica"\n ],\n "Semi-anonymous": [\n null,\n "Semi-anonima"\n ],\n "Temporary room": [\n null,\n "Stanza temporanea"\n ],\n "Unmoderated": [\n null,\n "Non moderata"\n ],\n "This user is a moderator": [\n null,\n "Questo utente è un moderatore"\n ],\n "This user can send messages in this room": [\n null,\n "Questo utente può inviare messaggi in questa stanza"\n ],\n "This user can NOT send messages in this room": [\n null,\n "Questo utente NON può inviare messaggi in questa stanza"\n ],\n "Invite...": [\n null,\n "Invita…"\n ],\n "Occupants": [\n null,\n "Occupanti"\n ],\n "You are about to invite %1$s to the chat room \\"%2$s\\". ": [\n null,\n ""\n ],\n "You may optionally include a message, explaining the reason for the invitation.": [\n null,\n ""\n ],\n "Message": [\n null,\n "Messaggio"\n ],\n "Error: could not execute the command": [\n null,\n ""\n ],\n "Error: the \\"": [\n null,\n ""\n ],\n "Change user\'s affiliation to admin": [\n null,\n ""\n ],\n "Ban user from room": [\n null,\n "Bandisci utente dalla stanza"\n ],\n "Change user role to occupant": [\n null,\n ""\n ],\n "Kick user from room": [\n null,\n "Espelli utente dalla stanza"\n ],\n "Write in 3rd person": [\n null,\n "Scrivi in terza persona"\n ],\n "Grant membership to a user": [\n null,\n ""\n ],\n "Remove user\'s ability to post messages": [\n null,\n ""\n ],\n "Change your nickname": [\n null,\n ""\n ],\n "Grant moderator role to user": [\n null,\n ""\n ],\n "Revoke user\'s membership": [\n null,\n ""\n ],\n "Set room topic": [\n null,\n "Cambia oggetto della stanza"\n ],\n "Allow muted user to post messages": [\n null,\n ""\n ],\n "Save": [\n null,\n "Salva"\n ],\n "Cancel": [\n null,\n "Annulla"\n ],\n "An error occurred while trying to save the form.": [\n null,\n "Errore durante il salvataggio del modulo"\n ],\n "This chatroom requires a password": [\n null,\n "Questa stanza richiede una password"\n ],\n "Password: ": [\n null,\n "Password: "\n ],\n "Submit": [\n null,\n "Invia"\n ],\n "This room is not anonymous": [\n null,\n "Questa stanza non è anonima"\n ],\n "This room now shows unavailable members": [\n null,\n "Questa stanza mostra i membri non disponibili al momento"\n ],\n "This room does not show unavailable members": [\n null,\n "Questa stanza non mostra i membri non disponibili"\n ],\n "Non-privacy-related room configuration has changed": [\n null,\n "Una configurazione della stanza non legata alla privacy è stata modificata"\n ],\n "Room logging is now enabled": [\n null,\n "La registrazione è abilitata nella stanza"\n ],\n "Room logging is now disabled": [\n null,\n "La registrazione è disabilitata nella stanza"\n ],\n "This room is now non-anonymous": [\n null,\n "Questa stanza è non-anonima"\n ],\n "This room is now semi-anonymous": [\n null,\n "Questa stanza è semi-anonima"\n ],\n "This room is now fully-anonymous": [\n null,\n "Questa stanza è completamente-anonima"\n ],\n "A new room has been created": [\n null,\n "Una nuova stanza è stata creata"\n ],\n "You have been banned from this room": [\n null,\n "Sei stato bandito da questa stanza"\n ],\n "You have been kicked from this room": [\n null,\n "Sei stato espulso da questa stanza"\n ],\n "You have been removed from this room because of an affiliation change": [\n null,\n "Sei stato rimosso da questa stanza a causa di un cambio di affiliazione"\n ],\n "You have been removed from this room because the room has changed to members-only and you\'re not a member": [\n null,\n "Sei stato rimosso da questa stanza poiché ora la stanza accetta solo membri"\n ],\n "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [\n null,\n "Sei stato rimosso da questa stanza poiché il servizio MUC (Chat multi utente) è in fase di spegnimento"\n ],\n "%1$s has been banned": [\n null,\n "%1$s è stato bandito"\n ],\n "%1$s\'s nickname has changed": [\n null,\n "%1$s nickname è cambiato"\n ],\n "%1$s has been kicked out": [\n null,\n "%1$s è stato espulso"\n ],\n "%1$s has been removed because of an affiliation change": [\n null,\n "%1$s è stato rimosso a causa di un cambio di affiliazione"\n ],\n "%1$s has been removed for not being a member": [\n null,\n "%1$s è stato rimosso in quanto non membro"\n ],\n "Your nickname has been automatically changed to: %1$s": [\n null,\n "Il tuo nickname è stato cambiato automaticamente in: %1$s"\n ],\n "Your nickname has been changed to: %1$s": [\n null,\n "Il tuo nickname è stato cambiato: %1$s"\n ],\n "The reason given is: \\"": [\n null,\n ""\n ],\n "You are not on the member list of this room": [\n null,\n "Non sei nella lista dei membri di questa stanza"\n ],\n "No nickname was specified": [\n null,\n "Nessun soprannome specificato"\n ],\n "You are not allowed to create new rooms": [\n null,\n "Non ti è permesso creare nuove stanze"\n ],\n "Your nickname doesn\'t conform to this room\'s policies": [\n null,\n "Il tuo soprannome non è conforme alle regole di questa stanza"\n ],\n "Your nickname is already taken": [\n null,\n "Il tuo soprannome è già utilizzato"\n ],\n "This room does not (yet) exist": [\n null,\n "Questa stanza non esiste (per ora)"\n ],\n "This room has reached it\'s maximum number of occupants": [\n null,\n "Questa stanza ha raggiunto il limite massimo di utenti"\n ],\n "Topic set by %1$s to: %2$s": [\n null,\n "Topic impostato da %1$s a: %2$s"\n ],\n "%1$s has invited you to join a chat room: %2$s": [\n null,\n "%1$s ti ha invitato a partecipare a una chat room: %2$s"\n ],\n "%1$s has invited you to join a chat room: %2$s, and left the following reason: \\"%3$s\\"": [\n null,\n "%1$s ti ha invitato a partecipare a una chat room: %2$s, e ha lasciato il seguente motivo: “%3$s”"\n ],\n "Click to restore this chat": [\n null,\n "Clicca per ripristinare questa chat"\n ],\n "Minimized": [\n null,\n "Ridotto"\n ],\n "Click to remove this contact": [\n null,\n "Clicca per rimuovere questo contatto"\n ],\n "Click to accept this contact request": [\n null,\n "Clicca per accettare questa richiesta di contatto"\n ],\n "Click to decline this contact request": [\n null,\n "Clicca per rifiutare questa richiesta di contatto"\n ],\n "Click to chat with this contact": [\n null,\n "Clicca per parlare con questo contatto"\n ],\n "Name": [\n null,\n "Nome"\n ],\n "Are you sure you want to remove this contact?": [\n null,\n "Sei sicuro di voler rimuovere questo contatto?"\n ],\n "Sorry, there was an error while trying to remove ": [\n null,\n "Si è verificato un errore durante il tentativo di rimozione"\n ],\n "Are you sure you want to decline this contact request?": [\n null,\n "Sei sicuro dirifiutare questa richiesta di contatto?"\n ],\n "Sorry, there was an error while trying to add ": [\n null,\n "Si è verificato un errore durante il tentativo di aggiunta"\n ],\n "This client does not allow presence subscriptions": [\n null,\n "Questo client non consente sottoscrizioni di presenza"\n ],\n "Type to filter": [\n null,\n ""\n ],\n "I am %1$s": [\n null,\n "Sono %1$s"\n ],\n "Click here to write a custom status message": [\n null,\n "Clicca qui per scrivere un messaggio di stato personalizzato"\n ],\n "Click to change your chat status": [\n null,\n "Clicca per cambiare il tuo stato"\n ],\n "Custom status": [\n null,\n "Stato personalizzato"\n ],\n "online": [\n null,\n "in linea"\n ],\n "busy": [\n null,\n "occupato"\n ],\n "away for long": [\n null,\n "assente da molto"\n ],\n "away": [\n null,\n "assente"\n ],\n "offline": [\n null,\n "offline"\n ],\n "Your XMPP provider\'s domain name:": [\n null,\n "Nome del dominio del provider XMPP:"\n ],\n "Fetch registration form": [\n null,\n "Recupero il modulo di registrazione"\n ],\n "Tip: A list of public XMPP providers is available": [\n null,\n "Suggerimento: È disponibile un elenco di provider XMPP pubblici"\n ],\n "here": [\n null,\n "qui"\n ],\n "Register": [\n null,\n "Registra"\n ],\n "Sorry, the given provider does not support in band account registration. Please try with a different provider.": [\n null,\n "Siamo spiacenti, il provider specificato non supporta la registrazione di account. Si prega di provare con un altro provider."\n ],\n "Requesting a registration form from the XMPP server": [\n null,\n "Sto richiedendo un modulo di registrazione al server XMPP"\n ],\n "Something went wrong while establishing a connection with \\"%1$s\\". Are you sure it exists?": [\n null,\n "Qualcosa è andato storto durante la connessione con “%1$s”. Sei sicuro che esiste?"\n ],\n "Now logging you in": [\n null,\n ""\n ],\n "Registered successfully": [\n null,\n "Registrazione riuscita"\n ],\n "Return": [\n null,\n ""\n ],\n "XMPP Username:": [\n null,\n "XMPP Username:"\n ],\n "Password:": [\n null,\n "Password:"\n ],\n "Click here to log in anonymously": [\n null,\n "Clicca per entrare anonimo"\n ],\n "Log In": [\n null,\n "Entra"\n ],\n "user@server": [\n null,\n "user@server"\n ],\n "password": [\n null,\n "Password"\n ],\n "Sign in": [\n null,\n "Accesso"\n ],\n "Toggle chat": [\n null,\n "Attiva/disattiva chat"\n ]\n }\n }\n}'}),define("text!ja",[],function(){return'{\n "domain": "converse",\n "locale_data": {\n "converse": {\n "": {\n "domain": "converse",\n "plural_forms": "nplurals=1; plural=0;",\n "lang": "JA"\n },\n " e.g. conversejs.org": [\n null,\n ""\n ],\n "unencrypted": [\n null,\n "暗号化されていません"\n ],\n "unverified": [\n null,\n "検証されていません"\n ],\n "verified": [\n null,\n "検証されました"\n ],\n "finished": [\n null,\n "完了"\n ],\n "This contact is busy": [\n null,\n "この相手先は取り込み中です"\n ],\n "This contact is online": [\n null,\n "この相手先は在席しています"\n ],\n "This contact is offline": [\n null,\n "この相手先はオフラインです"\n ],\n "This contact is unavailable": [\n null,\n "この相手先は不通です"\n ],\n "This contact is away for an extended period": [\n null,\n "この相手先は不在です"\n ],\n "This contact is away": [\n null,\n "この相手先は離席中です"\n ],\n "My contacts": [\n null,\n "相手先一覧"\n ],\n "Pending contacts": [\n null,\n "保留中の相手先"\n ],\n "Contact requests": [\n null,\n "会話に呼び出し"\n ],\n "Ungrouped": [\n null,\n ""\n ],\n "Contacts": [\n null,\n "相手先"\n ],\n "Groups": [\n null,\n ""\n ],\n "Attempting to reconnect in 5 seconds": [\n null,\n ""\n ],\n "Error": [\n null,\n "エラー"\n ],\n "Connecting": [\n null,\n "接続中です"\n ],\n "Authenticating": [\n null,\n "認証中"\n ],\n "Authentication Failed": [\n null,\n "認証に失敗"\n ],\n "Re-establishing encrypted session": [\n null,\n "暗号化セッションの再接続"\n ],\n "Generating private key.": [\n null,\n ""\n ],\n "Your browser might become unresponsive.": [\n null,\n ""\n ],\n "Could not verify this user\'s identify.": [\n null,\n "このユーザーの本人性を検証できませんでした。"\n ],\n "Exchanging private key with contact.": [\n null,\n ""\n ],\n "Minimize this chat box": [\n null,\n ""\n ],\n "Personal message": [\n null,\n "私信"\n ],\n "me": [\n null,\n "私"\n ],\n "is typing": [\n null,\n ""\n ],\n "has stopped typing": [\n null,\n ""\n ],\n "Show this menu": [\n null,\n "このメニューを表示"\n ],\n "Write in the third person": [\n null,\n "第三者に書く"\n ],\n "Remove messages": [\n null,\n "メッセージを削除"\n ],\n "Are you sure you want to clear the messages from this chat box?": [\n null,\n ""\n ],\n "Your message could not be sent": [\n null,\n "メッセージを送信できませんでした"\n ],\n "We received an unencrypted message": [\n null,\n "暗号化されていないメッセージを受信しました"\n ],\n "We received an unreadable encrypted message": [\n null,\n "読めない暗号化メッセージを受信しました"\n ],\n "Here are the fingerprints, please confirm them with %1$s, outside of this chat.\\n\\nFingerprint for you, %2$s: %3$s\\n\\nFingerprint for %1$s: %4$s\\n\\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.": [\n null,\n "これは鍵指紋です。チャット以外の方法でこれらを %1$s と確認してください。\\n\\nあなた %2$s の鍵指紋: %3$s\\n\\n%1$s の鍵指紋: %4$s\\n\\n確認して、鍵指紋が正しければ「OK」を、正しくなければ「キャンセル」をクリックしてください。"\n ],\n "What is your security question?": [\n null,\n "秘密の質問はなんですか?"\n ],\n "What is the answer to the security question?": [\n null,\n "秘密の質問の答はなんですか?"\n ],\n "Invalid authentication scheme provided": [\n null,\n "認証の方式が正しくありません"\n ],\n "Your messages are not encrypted anymore": [\n null,\n "メッセージはもう暗号化されません"\n ],\n "Your messages are not encrypted. Click here to enable OTR encryption.": [\n null,\n "メッセージは暗号化されません。OTR 暗号化を有効にするにはここをクリックしてください。"\n ],\n "End encrypted conversation": [\n null,\n "暗号化された会話を終了"\n ],\n "Insert a smiley": [\n null,\n ""\n ],\n "Hide the list of occupants": [\n null,\n ""\n ],\n "Refresh encrypted conversation": [\n null,\n "暗号化された会話をリフレッシュ"\n ],\n "Start a call": [\n null,\n ""\n ],\n "Start encrypted conversation": [\n null,\n "暗号化された会話を開始"\n ],\n "Verify with fingerprints": [\n null,\n "鍵指紋で検証"\n ],\n "Verify with SMP": [\n null,\n "SMP で検証"\n ],\n "What\'s this?": [\n null,\n "これは何ですか?"\n ],\n "Online": [\n null,\n "オンライン"\n ],\n "Busy": [\n null,\n "取り込み中"\n ],\n "Away": [\n null,\n "離席中"\n ],\n "Offline": [\n null,\n "オフライン"\n ],\n "Contact name": [\n null,\n "名前"\n ],\n "Search": [\n null,\n "検索"\n ],\n "e.g. user@example.com": [\n null,\n ""\n ],\n "Add": [\n null,\n "追加"\n ],\n "Click to add new chat contacts": [\n null,\n "クリックして新しいチャットの相手先を追加"\n ],\n "Add a contact": [\n null,\n "相手先を追加"\n ],\n "No users found": [\n null,\n "ユーザーが見つかりません"\n ],\n "Click to add as a chat contact": [\n null,\n "クリックしてチャットの相手先として追加"\n ],\n "Room name": [\n null,\n "談話室の名前"\n ],\n "Nickname": [\n null,\n "ニックネーム"\n ],\n "Server": [\n null,\n "サーバー"\n ],\n "Show rooms": [\n null,\n "談話室一覧を見る"\n ],\n "Rooms": [\n null,\n "談話室"\n ],\n "No rooms on %1$s": [\n null,\n "%1$s に談話室はありません"\n ],\n "Rooms on %1$s": [\n null,\n "%1$s の談話室一覧"\n ],\n "Click to open this room": [\n null,\n "クリックしてこの談話室を開く"\n ],\n "Show more information on this room": [\n null,\n "この談話室についての詳細を見る"\n ],\n "Description:": [\n null,\n "説明: "\n ],\n "Occupants:": [\n null,\n "入室者:"\n ],\n "Features:": [\n null,\n "特徴:"\n ],\n "Requires authentication": [\n null,\n "認証の要求"\n ],\n "Hidden": [\n null,\n "非表示"\n ],\n "Requires an invitation": [\n null,\n "招待の要求"\n ],\n "Moderated": [\n null,\n "発言制限"\n ],\n "Non-anonymous": [\n null,\n "非匿名"\n ],\n "Open room": [\n null,\n "開放談話室"\n ],\n "Permanent room": [\n null,\n "常設談話室"\n ],\n "Public": [\n null,\n "公開談話室"\n ],\n "Semi-anonymous": [\n null,\n "半匿名"\n ],\n "Temporary room": [\n null,\n "臨時談話室"\n ],\n "Unmoderated": [\n null,\n "発言制限なし"\n ],\n "This user is a moderator": [\n null,\n "このユーザーは司会者です"\n ],\n "This user can send messages in this room": [\n null,\n "このユーザーはこの談話室で発言できます"\n ],\n "This user can NOT send messages in this room": [\n null,\n "このユーザーはこの談話室で発言できません"\n ],\n "Invite...": [\n null,\n ""\n ],\n "You are about to invite %1$s to the chat room \\"%2$s\\". ": [\n null,\n ""\n ],\n "You may optionally include a message, explaining the reason for the invitation.": [\n null,\n ""\n ],\n "Message": [\n null,\n "メッセージ"\n ],\n "Error: could not execute the command": [\n null,\n ""\n ],\n "Error: the \\"": [\n null,\n ""\n ],\n "Change user\'s affiliation to admin": [\n null,\n ""\n ],\n "Change user role to occupant": [\n null,\n ""\n ],\n "Grant membership to a user": [\n null,\n ""\n ],\n "Remove user\'s ability to post messages": [\n null,\n ""\n ],\n "Change your nickname": [\n null,\n ""\n ],\n "Grant moderator role to user": [\n null,\n ""\n ],\n "Revoke user\'s membership": [\n null,\n ""\n ],\n "Allow muted user to post messages": [\n null,\n ""\n ],\n "Save": [\n null,\n "保存"\n ],\n "Cancel": [\n null,\n "キャンセル"\n ],\n "An error occurred while trying to save the form.": [\n null,\n "フォームを保存する際にエラーが発生しました。"\n ],\n "This chatroom requires a password": [\n null,\n "この談話室にはパスワードが必要です"\n ],\n "Password: ": [\n null,\n "パスワード:"\n ],\n "Submit": [\n null,\n "送信"\n ],\n "This room is not anonymous": [\n null,\n "この談話室は非匿名です"\n ],\n "This room now shows unavailable members": [\n null,\n "この談話室はメンバー以外にも見えます"\n ],\n "This room does not show unavailable members": [\n null,\n "この談話室はメンバー以外には見えません"\n ],\n "Non-privacy-related room configuration has changed": [\n null,\n "談話室の設定(プライバシーに無関係)が変更されました"\n ],\n "Room logging is now enabled": [\n null,\n "談話室の記録を取りはじめます"\n ],\n "Room logging is now disabled": [\n null,\n "談話室の記録を止めます"\n ],\n "This room is now non-anonymous": [\n null,\n "この談話室はただいま非匿名です"\n ],\n "This room is now semi-anonymous": [\n null,\n "この談話室はただいま半匿名です"\n ],\n "This room is now fully-anonymous": [\n null,\n "この談話室はただいま匿名です"\n ],\n "A new room has been created": [\n null,\n "新しい談話室が作成されました"\n ],\n "You have been banned from this room": [\n null,\n "この談話室から締め出されました"\n ],\n "You have been kicked from this room": [\n null,\n "この談話室から蹴り出されました"\n ],\n "You have been removed from this room because of an affiliation change": [\n null,\n "分掌の変更のため、この談話室から削除されました"\n ],\n "You have been removed from this room because the room has changed to members-only and you\'re not a member": [\n null,\n "談話室がメンバー制に変更されました。メンバーではないため、この談話室から削除されました"\n ],\n "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [\n null,\n "MUC(グループチャット)のサービスが停止したため、この談話室から削除されました。"\n ],\n "%1$s has been banned": [\n null,\n "%1$s を締め出しました"\n ],\n "%1$s has been kicked out": [\n null,\n "%1$s を蹴り出しました"\n ],\n "%1$s has been removed because of an affiliation change": [\n null,\n "分掌の変更のため、%1$s を削除しました"\n ],\n "%1$s has been removed for not being a member": [\n null,\n "メンバーでなくなったため、%1$s を削除しました"\n ],\n "The reason given is: \\"": [\n null,\n ""\n ],\n "You are not on the member list of this room": [\n null,\n "この談話室のメンバー一覧にいません"\n ],\n "No nickname was specified": [\n null,\n "ニックネームがありません"\n ],\n "You are not allowed to create new rooms": [\n null,\n "新しい談話室を作成する権限がありません"\n ],\n "Your nickname doesn\'t conform to this room\'s policies": [\n null,\n "ニックネームがこの談話室のポリシーに従っていません"\n ],\n "Your nickname is already taken": [\n null,\n "ニックネームは既に使われています"\n ],\n "This room does not (yet) exist": [\n null,\n "この談話室は存在しません"\n ],\n "This room has reached it\'s maximum number of occupants": [\n null,\n "この談話室は入室者数の上限に達しています"\n ],\n "Topic set by %1$s to: %2$s": [\n null,\n "%1$s が話題を設定しました: %2$s"\n ],\n "%1$s has invited you to join a chat room: %2$s": [\n null,\n ""\n ],\n "%1$s has invited you to join a chat room: %2$s, and left the following reason: \\"%3$s\\"": [\n null,\n ""\n ],\n "Minimized": [\n null,\n ""\n ],\n "Click to remove this contact": [\n null,\n "クリックしてこの相手先を削除"\n ],\n "Click to chat with this contact": [\n null,\n "クリックしてこの相手先とチャット"\n ],\n "Name": [\n null,\n ""\n ],\n "Sorry, there was an error while trying to remove ": [\n null,\n ""\n ],\n "Sorry, there was an error while trying to add ": [\n null,\n ""\n ],\n "This client does not allow presence subscriptions": [\n null,\n ""\n ],\n "Type to filter": [\n null,\n ""\n ],\n "I am %1$s": [\n null,\n "私はいま %1$s"\n ],\n "Click here to write a custom status message": [\n null,\n "状況メッセージを入力するには、ここをクリック"\n ],\n "Click to change your chat status": [\n null,\n "クリックして、在席状況を変更"\n ],\n "Custom status": [\n null,\n "独自の在席状況"\n ],\n "online": [\n null,\n "在席"\n ],\n "busy": [\n null,\n "取り込み中"\n ],\n "away for long": [\n null,\n "不在"\n ],\n "away": [\n null,\n "離席中"\n ],\n "Your XMPP provider\'s domain name:": [\n null,\n ""\n ],\n "Fetch registration form": [\n null,\n ""\n ],\n "Tip: A list of public XMPP providers is available": [\n null,\n ""\n ],\n "here": [\n null,\n ""\n ],\n "Register": [\n null,\n ""\n ],\n "Sorry, the given provider does not support in band account registration. Please try with a different provider.": [\n null,\n ""\n ],\n "Requesting a registration form from the XMPP server": [\n null,\n ""\n ],\n "Something went wrong while establishing a connection with \\"%1$s\\". Are you sure it exists?": [\n null,\n ""\n ],\n "Now logging you in": [\n null,\n ""\n ],\n "Registered successfully": [\n null,\n ""\n ],\n "Return": [\n null,\n ""\n ],\n "The provider rejected your registration attempt. Please check the values you entered for correctness.": [\n null,\n ""\n ],\n "Password:": [\n null,\n "パスワード:"\n ],\n "Log In": [\n null,\n "ログイン"\n ],\n "user@server": [\n null,\n ""\n ],\n "Sign in": [\n null,\n "サインイン"\n ],\n "Toggle chat": [\n null,\n ""\n ]\n }\n }\n}'}),define("text!nb",[],function(){return'{\n "domain": "converse",\n "locale_data": {\n "converse": {\n "": {\n "domain": "converse",\n "plural_forms": "nplurals=2; plural=(n != 1);",\n "lang": "nb"\n },\n " e.g. conversejs.org": [\n null,\n ""\n ],\n "unencrypted": [\n null,\n "ukryptertß"\n ],\n "unverified": [\n null,\n "uverifisert"\n ],\n "verified": [\n null,\n "verifisert"\n ],\n "finished": [\n null,\n "ferdig"\n ],\n "This contact is busy": [\n null,\n "Denne kontakten er opptatt"\n ],\n "This contact is online": [\n null,\n "Kontakten er pålogget"\n ],\n "This contact is offline": [\n null,\n "Kontakten er avlogget"\n ],\n "This contact is unavailable": [\n null,\n "Kontakten er utilgjengelig"\n ],\n "This contact is away for an extended period": [\n null,\n "Kontakten er borte for en lengre periode"\n ],\n "This contact is away": [\n null,\n "Kontakten er borte"\n ],\n "Click to hide these contacts": [\n null,\n "Klikk for å skjule disse kontaktene"\n ],\n "My contacts": [\n null,\n "Mine Kontakter"\n ],\n "Pending contacts": [\n null,\n "Kontakter som venter på godkjenning"\n ],\n "Contact requests": [\n null,\n "Kontaktforespørsler"\n ],\n "Ungrouped": [\n null,\n "Ugrupperte"\n ],\n "Contacts": [\n null,\n "Kontakter"\n ],\n "Groups": [\n null,\n "Grupper"\n ],\n "Attempting to reconnect in 5 seconds": [\n null,\n ""\n ],\n "Error": [\n null,\n "Feil"\n ],\n "Connecting": [\n null,\n "Kobler til"\n ],\n "Authenticating": [\n null,\n "Godkjenner"\n ],\n "Authentication Failed": [\n null,\n "Godkjenning mislyktes"\n ],\n "Re-establishing encrypted session": [\n null,\n "Gjenopptar kryptert økt"\n ],\n "Generating private key.": [\n null,\n "Genererer privat nøkkel"\n ],\n "Your browser might become unresponsive.": [\n null,\n "Din nettleser kan bli uresponsiv"\n ],\n "Authentication request from %1$s\\n\\nYour chat contact is attempting to verify your identity, by asking you the question below.\\n\\n%2$s": [\n null,\n "Godkjenningsforespørsel fra %1$s\\n\\nDin nettpratkontakt forsøker å bekrefte din identitet, ved å spørre deg spørsmålet under.\\n\\n%2$s"\n ],\n "Could not verify this user\'s identify.": [\n null,\n "Kunne ikke bekrefte denne brukerens identitet"\n ],\n "Exchanging private key with contact.": [\n null,\n "Bytter private nøkler med kontakt"\n ],\n "Minimize this chat box": [\n null,\n ""\n ],\n "Personal message": [\n null,\n "Personlig melding"\n ],\n "Are you sure you want to clear the messages from this room?": [\n null,\n "Er du sikker på at du vil fjerne meldingene fra dette rommet?"\n ],\n "me": [\n null,\n "meg"\n ],\n "is typing": [\n null,\n "skriver"\n ],\n "has stopped typing": [\n null,\n "har stoppet å skrive"\n ],\n "Show this menu": [\n null,\n "Viser denne menyen"\n ],\n "Write in the third person": [\n null,\n "Skriv i tredjeperson"\n ],\n "Remove messages": [\n null,\n "Fjern meldinger"\n ],\n "Are you sure you want to clear the messages from this chat box?": [\n null,\n "Er du sikker på at du vil fjerne meldingene fra denne meldingsboksen?"\n ],\n "Your message could not be sent": [\n null,\n "Beskjeden din kunne ikke sendes"\n ],\n "We received an unencrypted message": [\n null,\n "Vi mottok en ukryptert beskjed"\n ],\n "We received an unreadable encrypted message": [\n null,\n "Vi mottok en uleselig melding"\n ],\n "Here are the fingerprints, please confirm them with %1$s, outside of this chat.\\n\\nFingerprint for you, %2$s: %3$s\\n\\nFingerprint for %1$s: %4$s\\n\\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.": [\n null,\n "Here are the fingerprints, please confirm them with %1$s, outside of this chat.\\n\\nFingerprint for you, %2$s: %3$s\\n\\nFingerprint for %1$s: %4$s\\n\\nOm du har bekreftet at avtrykkene matcher, klikk OK. I motsatt fall, trykk Avbryt."\n ],\n "You will be prompted to provide a security question and then an answer to that question.\\n\\nYour contact will then be prompted the same question and if they type the exact same answer (case sensitive), their identity will be verified.": [\n null,\n "Du vil bli spurt etter å tilby et sikkerhetsspørsmål og siden svare på dette.\\n\\nDin kontakt vil så bli spurt om det samme spørsmålet, og om de svarer det nøyaktig samme svaret (det er forskjell på små og store bokstaver), vil identiteten verifiseres."\n ],\n "What is your security question?": [\n null,\n "Hva er ditt Sikkerhetsspørsmål?"\n ],\n "What is the answer to the security question?": [\n null,\n "Hva er svaret på ditt Sikkerhetsspørsmål?"\n ],\n "Invalid authentication scheme provided": [\n null,\n "Du har vedlagt en ugyldig godkjenningsplan."\n ],\n "Your messages are not encrypted anymore": [\n null,\n "Dine meldinger er ikke kryptert lenger."\n ],\n "Your messages are now encrypted but your contact\'s identity has not been verified.": [\n null,\n "Dine meldinger er nå krypterte, men identiteten til din kontakt har ikke blitt verifisert."\n ],\n "Your contact\'s identify has been verified.": [\n null,\n "Din kontakts identitet har blitt verifisert."\n ],\n "Your contact has ended encryption on their end, you should do the same.": [\n null,\n "Din kontakt har avsluttet kryptering i sin ende, dette burde du også gjøre."\n ],\n "Your messages are not encrypted. Click here to enable OTR encryption.": [\n null,\n "Dine meldinger er ikke krypterte. Klikk her for å aktivere OTR-kryptering."\n ],\n "Your messages are encrypted, but your contact has not been verified.": [\n null,\n "Dine meldinger er krypterte, men din kontakt har ikke blitt verifisert."\n ],\n "Your messages are encrypted and your contact verified.": [\n null,\n "Dine meldinger er krypterte og din kontakt er verifisert."\n ],\n "Your contact has closed their end of the private session, you should do the same": [\n null,\n "Din kontakt har avsluttet økten i sin ende, dette burde du også gjøre."\n ],\n "Clear all messages": [\n null,\n "Fjern alle meldinger"\n ],\n "End encrypted conversation": [\n null,\n "Avslutt kryptert økt"\n ],\n "Insert a smiley": [\n null,\n ""\n ],\n "Refresh encrypted conversation": [\n null,\n "Last inn kryptert samtale på nytt"\n ],\n "Start a call": [\n null,\n "Start en samtale"\n ],\n "Start encrypted conversation": [\n null,\n "Start en kryptert samtale"\n ],\n "Verify with fingerprints": [\n null,\n "Verifiser med Avtrykk"\n ],\n "Verify with SMP": [\n null,\n "Verifiser med SMP"\n ],\n "What\'s this?": [\n null,\n "Hva er dette?"\n ],\n "Online": [\n null,\n "Pålogget"\n ],\n "Busy": [\n null,\n "Opptatt"\n ],\n "Away": [\n null,\n "Borte"\n ],\n "Offline": [\n null,\n "Avlogget"\n ],\n "Log out": [\n null,\n "Logg Av"\n ],\n "Contact name": [\n null,\n "Kontaktnavn"\n ],\n "Search": [\n null,\n "Søk"\n ],\n "e.g. user@example.com": [\n null,\n ""\n ],\n "Add": [\n null,\n "Legg Til"\n ],\n "Click to add new chat contacts": [\n null,\n "Klikk for å legge til nye meldingskontakter"\n ],\n "Add a contact": [\n null,\n "Legg til en Kontakt"\n ],\n "No users found": [\n null,\n "Ingen brukere funnet"\n ],\n "Click to add as a chat contact": [\n null,\n "Klikk for å legge til som meldingskontakt"\n ],\n "Room name": [\n null,\n "Romnavn"\n ],\n "Nickname": [\n null,\n "Kallenavn"\n ],\n "Server": [\n null,\n "Server"\n ],\n "Show rooms": [\n null,\n "Vis Rom"\n ],\n "Rooms": [\n null,\n "Rom"\n ],\n "No rooms on %1$s": [\n null,\n "Ingen rom på %1$s"\n ],\n "Rooms on %1$s": [\n null,\n "Rom på %1$s"\n ],\n "Click to open this room": [\n null,\n "Klikk for å åpne dette rommet"\n ],\n "Show more information on this room": [\n null,\n "Vis mer informasjon om dette rommet"\n ],\n "Description:": [\n null,\n "Beskrivelse:"\n ],\n "Occupants:": [\n null,\n "Brukere her:"\n ],\n "Features:": [\n null,\n "Egenskaper:"\n ],\n "Requires authentication": [\n null,\n "Krever Godkjenning"\n ],\n "Hidden": [\n null,\n "Skjult"\n ],\n "Requires an invitation": [\n null,\n "Krever en invitasjon"\n ],\n "Moderated": [\n null,\n "Moderert"\n ],\n "Non-anonymous": [\n null,\n "Ikke-Anonym"\n ],\n "Open room": [\n null,\n "Åpent Rom"\n ],\n "Permanent room": [\n null,\n "Permanent Rom"\n ],\n "Public": [\n null,\n "Alle"\n ],\n "Semi-anonymous": [\n null,\n "Semi-anonymt"\n ],\n "Temporary room": [\n null,\n "Midlertidig Rom"\n ],\n "Unmoderated": [\n null,\n "Umoderert"\n ],\n "This user is a moderator": [\n null,\n "Denne brukeren er moderator"\n ],\n "This user can send messages in this room": [\n null,\n "Denne brukeren kan skrive meldinger i dette rommet"\n ],\n "This user can NOT send messages in this room": [\n null,\n "Denne brukeren kan IKKE sende meldinger i dette rommet"\n ],\n "Invite...": [\n null,\n "Invitér..."\n ],\n "Occupants": [\n null,\n "Brukere her:"\n ],\n "You are about to invite %1$s to the chat room \\"%2$s\\". ": [\n null,\n "Du er i ferd med å invitere %1$s til samtalerommet \\"%2$s\\". "\n ],\n "You may optionally include a message, explaining the reason for the invitation.": [\n null,\n "Du kan eventuelt inkludere en melding og forklare årsaken til invitasjonen."\n ],\n "Message": [\n null,\n "Melding"\n ],\n "Error: could not execute the command": [\n null,\n "Feil: kunne ikke utføre kommandoen"\n ],\n "Error: the \\"": [\n null,\n ""\n ],\n "Change user\'s affiliation to admin": [\n null,\n ""\n ],\n "Ban user from room": [\n null,\n "Utesteng bruker fra rommet"\n ],\n "Kick user from room": [\n null,\n "Kast ut bruker fra rommet"\n ],\n "Write in 3rd person": [\n null,\n "Skriv i tredjeperson"\n ],\n "Grant membership to a user": [\n null,\n ""\n ],\n "Remove user\'s ability to post messages": [\n null,\n "Fjern brukerens muligheter til å skrive meldinger"\n ],\n "Change your nickname": [\n null,\n "Endre ditt kallenavn"\n ],\n "Grant moderator role to user": [\n null,\n ""\n ],\n "Revoke user\'s membership": [\n null,\n ""\n ],\n "Set room topic": [\n null,\n "Endre rommets emne"\n ],\n "Allow muted user to post messages": [\n null,\n "Tillat stumme brukere å skrive meldinger"\n ],\n "Save": [\n null,\n "Lagre"\n ],\n "Cancel": [\n null,\n "Avbryt"\n ],\n "An error occurred while trying to save the form.": [\n null,\n "En feil skjedde under lagring av skjemaet."\n ],\n "This chatroom requires a password": [\n null,\n "Dette rommet krever et passord"\n ],\n "Password: ": [\n null,\n "Passord:"\n ],\n "Submit": [\n null,\n "Send"\n ],\n "This room is not anonymous": [\n null,\n "Dette rommet er ikke anonymt"\n ],\n "This room now shows unavailable members": [\n null,\n "Dette rommet viser nå utilgjengelige medlemmer"\n ],\n "This room does not show unavailable members": [\n null,\n "Dette rommet viser ikke utilgjengelige medlemmer"\n ],\n "Non-privacy-related room configuration has changed": [\n null,\n "Ikke-personvernsrelatert romkonfigurasjon har blitt endret"\n ],\n "Room logging is now enabled": [\n null,\n "Romlogging er nå aktivert"\n ],\n "Room logging is now disabled": [\n null,\n "Romlogging er nå deaktivert"\n ],\n "This room is now non-anonymous": [\n null,\n "Dette rommet er nå ikke-anonymt"\n ],\n "This room is now semi-anonymous": [\n null,\n "Dette rommet er nå semi-anonymt"\n ],\n "This room is now fully-anonymous": [\n null,\n "Dette rommet er nå totalt anonymt"\n ],\n "A new room has been created": [\n null,\n "Et nytt rom har blitt opprettet"\n ],\n "You have been banned from this room": [\n null,\n "Du har blitt utestengt fra dette rommet"\n ],\n "You have been kicked from this room": [\n null,\n "Du ble kastet ut av dette rommet"\n ],\n "You have been removed from this room because of an affiliation change": [\n null,\n "Du har blitt fjernet fra dette rommet på grunn av en holdningsendring"\n ],\n "You have been removed from this room because the room has changed to members-only and you\'re not a member": [\n null,\n "Du har blitt fjernet fra dette rommet fordi rommet nå kun tillater medlemmer, noe du ikke er."\n ],\n "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [\n null,\n "Du har blitt fjernet fra dette rommet fordi MBC (Multi-Bruker-Chat)-tjenesten er stengt ned."\n ],\n "%1$s has been banned": [\n null,\n "%1$s har blitt utestengt"\n ],\n "%1$s\'s nickname has changed": [\n null,\n "%1$s sitt kallenavn er endret"\n ],\n "%1$s has been kicked out": [\n null,\n "%1$s ble kastet ut"\n ],\n "%1$s has been removed because of an affiliation change": [\n null,\n "%1$s har blitt fjernet på grunn av en holdningsendring"\n ],\n "%1$s has been removed for not being a member": [\n null,\n "%1$s har blitt fjernet på grunn av at han/hun ikke er medlem"\n ],\n "Your nickname has been automatically changed to: %1$s": [\n null,\n "Ditt kallenavn har blitt automatisk endret til %1$s "\n ],\n "Your nickname has been changed to: %1$s": [\n null,\n "Ditt kallenavn har blitt endret til %1$s "\n ],\n "The reason given is: \\"": [\n null,\n "Årsaken som er oppgitt er: \\""\n ],\n "You are not on the member list of this room": [\n null,\n "Du er ikke på medlemslisten til dette rommet"\n ],\n "No nickname was specified": [\n null,\n "Ingen kallenavn var spesifisert"\n ],\n "You are not allowed to create new rooms": [\n null,\n "Du har ikke tillatelse til å opprette nye rom"\n ],\n "Your nickname doesn\'t conform to this room\'s policies": [\n null,\n "Ditt kallenavn er ikke i samsvar med rommets regler"\n ],\n "Your nickname is already taken": [\n null,\n "Kallenavnet er allerede tatt"\n ],\n "This room does not (yet) exist": [\n null,\n "Dette rommet eksisterer ikke (enda)"\n ],\n "This room has reached it\'s maximum number of occupants": [\n null,\n "Dette rommet har nådd maksimalt antall brukere"\n ],\n "Topic set by %1$s to: %2$s": [\n null,\n "Emnet ble endret den %1$s til: %2$s"\n ],\n "%1$s has invited you to join a chat room: %2$s": [\n null,\n "%1$s har invitert deg til å bli med i chatterommet: %2$s"\n ],\n "%1$s has invited you to join a chat room: %2$s, and left the following reason: \\"%3$s\\"": [\n null,\n "%1$s har invitert deg til å bli med i chatterommet: %2$s, og forlot selv av følgende grunn: \\"%3$s\\""\n ],\n "Click to restore this chat": [\n null,\n "Klikk for å gjenopprette denne samtalen"\n ],\n "Minimized": [\n null,\n "Minimert"\n ],\n "Click to remove this contact": [\n null,\n "Klikk for å fjerne denne kontakten"\n ],\n "Click to accept this contact request": [\n null,\n "Klikk for å Godta denne kontaktforespørselen"\n ],\n "Click to decline this contact request": [\n null,\n "Klikk for å avslå denne kontaktforespørselen"\n ],\n "Click to chat with this contact": [\n null,\n "Klikk for å chatte med denne kontakten"\n ],\n "Name": [\n null,\n ""\n ],\n "Are you sure you want to remove this contact?": [\n null,\n "Er du sikker på at du vil fjerne denne kontakten?"\n ],\n "Sorry, there was an error while trying to remove ": [\n null,\n ""\n ],\n "Are you sure you want to decline this contact request?": [\n null,\n "Er du sikker på at du vil avslå denne kontaktforespørselen?"\n ],\n "Sorry, there was an error while trying to add ": [\n null,\n ""\n ],\n "This client does not allow presence subscriptions": [\n null,\n ""\n ],\n "Type to filter": [\n null,\n "Skriv til filter"\n ],\n "I am %1$s": [\n null,\n "Jeg er %1$s"\n ],\n "Click here to write a custom status message": [\n null,\n "Klikk her for å skrive en personlig statusmelding"\n ],\n "Click to change your chat status": [\n null,\n "Klikk for å endre din meldingsstatus"\n ],\n "Custom status": [\n null,\n "Personlig status"\n ],\n "online": [\n null,\n "pålogget"\n ],\n "busy": [\n null,\n "opptatt"\n ],\n "away for long": [\n null,\n "borte lenge"\n ],\n "away": [\n null,\n "borte"\n ],\n "Your XMPP provider\'s domain name:": [\n null,\n "Din XMPP-tilbyders domenenavn:"\n ],\n "Fetch registration form": [\n null,\n "Hent registreringsskjema"\n ],\n "Tip: A list of public XMPP providers is available": [\n null,\n "Tips: En liste med offentlige XMPP-tilbydere er tilgjengelig"\n ],\n "here": [\n null,\n "her"\n ],\n "Register": [\n null,\n "Registrér deg"\n ],\n "Sorry, the given provider does not support in band account registration. Please try with a different provider.": [\n null,\n "Beklager, den valgte tilbyderen støtter ikke in band kontoregistrering. Vennligst prøv igjen med en annen tilbyder. "\n ],\n "Requesting a registration form from the XMPP server": [\n null,\n "Spør etter registreringsskjema fra XMPP-tjeneren"\n ],\n "Something went wrong while establishing a connection with \\"%1$s\\". Are you sure it exists?": [\n null,\n "Noe gikk galt under etablering av forbindelse med \\"%1$s\\". Er du sikker på at denne eksisterer?"\n ],\n "Now logging you in": [\n null,\n "Logger deg inn"\n ],\n "Registered successfully": [\n null,\n "Registrering var vellykket"\n ],\n "Return": [\n null,\n "Tilbake"\n ],\n "XMPP Username:": [\n null,\n "XMPP Brukernavn:"\n ],\n "Password:": [\n null,\n "Passord:"\n ],\n "Log In": [\n null,\n "Logg inn"\n ],\n "user@server": [\n null,\n ""\n ],\n "Sign in": [\n null,\n "Innlogging"\n ],\n "Toggle chat": [\n null,\n "Endre chatten"\n ]\n }\n }\n}'}),define("text!nl",[],function(){return'{\n "domain": "converse",\n "locale_data": {\n "converse": {\n "": {\n "domain": "converse",\n "plural_forms": "nplurals=2; plural=(n != 1);",\n "lang": "nl"\n },\n " e.g. conversejs.org": [\n null,\n ""\n ],\n "unencrypted": [\n null,\n "ongecodeerde"\n ],\n "unverified": [\n null,\n "niet geverifieerd"\n ],\n "verified": [\n null,\n "geverifieerd"\n ],\n "finished": [\n null,\n "klaar"\n ],\n "This contact is busy": [\n null,\n "Contact is bezet"\n ],\n "This contact is online": [\n null,\n "Contact is online"\n ],\n "This contact is offline": [\n null,\n "Contact is offline"\n ],\n "This contact is unavailable": [\n null,\n "Contact is niet beschikbaar"\n ],\n "This contact is away for an extended period": [\n null,\n "Contact is afwezig voor lange periode"\n ],\n "This contact is away": [\n null,\n "Conact is afwezig"\n ],\n "My contacts": [\n null,\n "Mijn contacts"\n ],\n "Pending contacts": [\n null,\n "Conacten in afwachting van"\n ],\n "Contact requests": [\n null,\n "Contact uitnodiging"\n ],\n "Ungrouped": [\n null,\n ""\n ],\n "Contacts": [\n null,\n "Contacten"\n ],\n "Groups": [\n null,\n ""\n ],\n "Attempting to reconnect in 5 seconds": [\n null,\n ""\n ],\n "Error": [\n null,\n "Error"\n ],\n "Connecting": [\n null,\n "Verbinden"\n ],\n "Authenticating": [\n null,\n "Authenticeren"\n ],\n "Authentication Failed": [\n null,\n "Authenticeren mislukt"\n ],\n "Re-establishing encrypted session": [\n null,\n "Bezig versleutelde sessie te herstellen"\n ],\n "Generating private key.": [\n null,\n ""\n ],\n "Your browser might become unresponsive.": [\n null,\n ""\n ],\n "Authentication request from %1$s\\n\\nYour chat contact is attempting to verify your identity, by asking you the question below.\\n\\n%2$s": [\n null,\n ""\n ],\n "Could not verify this user\'s identify.": [\n null,\n "Niet kon de identiteit van deze gebruiker niet identificeren."\n ],\n "Exchanging private key with contact.": [\n null,\n ""\n ],\n "Minimize this chat box": [\n null,\n ""\n ],\n "Personal message": [\n null,\n "Persoonlijk bericht"\n ],\n "me": [\n null,\n "ikzelf"\n ],\n "Show this menu": [\n null,\n "Toon dit menu"\n ],\n "Write in the third person": [\n null,\n "Schrijf in de 3de persoon"\n ],\n "Remove messages": [\n null,\n "Verwijder bericht"\n ],\n "Are you sure you want to clear the messages from this chat box?": [\n null,\n ""\n ],\n "Your message could not be sent": [\n null,\n "Je bericht kon niet worden verzonden"\n ],\n "We received an unencrypted message": [\n null,\n "We ontvingen een unencrypted bericht "\n ],\n "We received an unreadable encrypted message": [\n null,\n "We ontvangen een onleesbaar unencrypted bericht"\n ],\n "Here are the fingerprints, please confirm them with %1$s, outside of this chat.\\n\\nFingerprint for you, %2$s: %3$s\\n\\nFingerprint for %1$s: %4$s\\n\\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.": [\n null,\n ""\n ],\n "You will be prompted to provide a security question and then an answer to that question.\\n\\nYour contact will then be prompted the same question and if they type the exact same answer (case sensitive), their identity will be verified.": [\n null,\n ""\n ],\n "What is your security question?": [\n null,\n "Wat is jou sericury vraag?"\n ],\n "What is the answer to the security question?": [\n null,\n "Wat is het antwoord op de security vraag?"\n ],\n "Invalid authentication scheme provided": [\n null,\n ""\n ],\n "Your messages are not encrypted anymore": [\n null,\n "Je berichten zijn niet meer encrypted"\n ],\n "Your messages are not encrypted. Click here to enable OTR encryption.": [\n null,\n "Jou bericht is niet encrypted. KLik hier om ORC encrytion aan te zetten."\n ],\n "End encrypted conversation": [\n null,\n "Beeindig encrypted gesprek"\n ],\n "Insert a smiley": [\n null,\n ""\n ],\n "Hide the list of occupants": [\n null,\n ""\n ],\n "Refresh encrypted conversation": [\n null,\n "Ververs encrypted gesprek"\n ],\n "Start a call": [\n null,\n ""\n ],\n "Start encrypted conversation": [\n null,\n "Start encrypted gesprek"\n ],\n "Verify with fingerprints": [\n null,\n ""\n ],\n "Verify with SMP": [\n null,\n ""\n ],\n "What\'s this?": [\n null,\n "Wat is dit?"\n ],\n "Online": [\n null,\n "Online"\n ],\n "Busy": [\n null,\n "Bezet"\n ],\n "Away": [\n null,\n "Afwezig"\n ],\n "Offline": [\n null,\n ""\n ],\n "Contact name": [\n null,\n "Contact naam"\n ],\n "Search": [\n null,\n "Zoeken"\n ],\n "e.g. user@example.com": [\n null,\n ""\n ],\n "Add": [\n null,\n "Toevoegen"\n ],\n "Click to add new chat contacts": [\n null,\n "Klik om nieuwe contacten toe te voegen"\n ],\n "Add a contact": [\n null,\n "Voeg contact toe"\n ],\n "No users found": [\n null,\n "Geen gebruikers gevonden"\n ],\n "Click to add as a chat contact": [\n null,\n "Klik om contact toe te voegen"\n ],\n "Room name": [\n null,\n "Room naam"\n ],\n "Nickname": [\n null,\n "Nickname"\n ],\n "Server": [\n null,\n "Server"\n ],\n "Show rooms": [\n null,\n "Toon rooms"\n ],\n "Rooms": [\n null,\n "Rooms"\n ],\n "No rooms on %1$s": [\n null,\n "Geen room op %1$s"\n ],\n "Rooms on %1$s": [\n null,\n "Room op %1$s"\n ],\n "Click to open this room": [\n null,\n "Klik om room te openen"\n ],\n "Show more information on this room": [\n null,\n "Toon meer informatie over deze room"\n ],\n "Description:": [\n null,\n "Beschrijving"\n ],\n "Occupants:": [\n null,\n "Deelnemers:"\n ],\n "Features:": [\n null,\n "Functies:"\n ],\n "Requires authentication": [\n null,\n "Verificatie vereist"\n ],\n "Hidden": [\n null,\n "Verborgen"\n ],\n "Requires an invitation": [\n null,\n "Veriest een uitnodiging"\n ],\n "Moderated": [\n null,\n "Gemodereerd"\n ],\n "Non-anonymous": [\n null,\n "Niet annoniem"\n ],\n "Open room": [\n null,\n "Open room"\n ],\n "Permanent room": [\n null,\n "Blijvend room"\n ],\n "Public": [\n null,\n "Publiek"\n ],\n "Semi-anonymous": [\n null,\n "Semi annoniem"\n ],\n "Temporary room": [\n null,\n "Tijdelijke room"\n ],\n "Unmoderated": [\n null,\n "Niet gemodereerd"\n ],\n "This user is a moderator": [\n null,\n "Dit is een moderator"\n ],\n "This user can send messages in this room": [\n null,\n "Deze gebruiker kan berichten sturen in deze room"\n ],\n "This user can NOT send messages in this room": [\n null,\n "Deze gebruiker kan NIET een bericht sturen in deze room"\n ],\n "Invite...": [\n null,\n ""\n ],\n "You are about to invite %1$s to the chat room \\"%2$s\\". ": [\n null,\n ""\n ],\n "You may optionally include a message, explaining the reason for the invitation.": [\n null,\n ""\n ],\n "Message": [\n null,\n "Bericht"\n ],\n "Error: could not execute the command": [\n null,\n ""\n ],\n "Error: the \\"": [\n null,\n ""\n ],\n "Change user\'s affiliation to admin": [\n null,\n ""\n ],\n "Change user role to occupant": [\n null,\n ""\n ],\n "Grant membership to a user": [\n null,\n ""\n ],\n "Remove user\'s ability to post messages": [\n null,\n ""\n ],\n "Change your nickname": [\n null,\n ""\n ],\n "Grant moderator role to user": [\n null,\n ""\n ],\n "Revoke user\'s membership": [\n null,\n ""\n ],\n "Allow muted user to post messages": [\n null,\n ""\n ],\n "Save": [\n null,\n "Opslaan"\n ],\n "Cancel": [\n null,\n "Annuleren"\n ],\n "An error occurred while trying to save the form.": [\n null,\n "Een error tijdens het opslaan van het formulier."\n ],\n "This chatroom requires a password": [\n null,\n "Chatroom heeft een wachtwoord"\n ],\n "Password: ": [\n null,\n "Wachtwoord: "\n ],\n "Submit": [\n null,\n "Indienen"\n ],\n "This room is not anonymous": [\n null,\n "Deze room is niet annoniem"\n ],\n "This room now shows unavailable members": [\n null,\n ""\n ],\n "This room does not show unavailable members": [\n null,\n ""\n ],\n "Non-privacy-related room configuration has changed": [\n null,\n ""\n ],\n "Room logging is now enabled": [\n null,\n ""\n ],\n "Room logging is now disabled": [\n null,\n ""\n ],\n "This room is now non-anonymous": [\n null,\n "Deze room is nu niet annoniem"\n ],\n "This room is now semi-anonymous": [\n null,\n "Deze room is nu semie annoniem"\n ],\n "This room is now fully-anonymous": [\n null,\n "Deze room is nu volledig annoniem"\n ],\n "A new room has been created": [\n null,\n "Een nieuwe room is gemaakt"\n ],\n "You have been banned from this room": [\n null,\n "Je bent verbannen uit deze room"\n ],\n "You have been kicked from this room": [\n null,\n "Je bent uit de room gegooid"\n ],\n "You have been removed from this room because of an affiliation change": [\n null,\n ""\n ],\n "You have been removed from this room because the room has changed to members-only and you\'re not a member": [\n null,\n ""\n ],\n "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [\n null,\n ""\n ],\n "%1$s has been banned": [\n null,\n "%1$s is verbannen"\n ],\n "%1$s has been kicked out": [\n null,\n "%1$s has been kicked out"\n ],\n "%1$s has been removed because of an affiliation change": [\n null,\n ""\n ],\n "%1$s has been removed for not being a member": [\n null,\n ""\n ],\n "The reason given is: \\"": [\n null,\n ""\n ],\n "You are not on the member list of this room": [\n null,\n "Je bent niet een gebruiker van deze room"\n ],\n "No nickname was specified": [\n null,\n "Geen nickname ingegeven"\n ],\n "You are not allowed to create new rooms": [\n null,\n "Je bent niet toegestaan nieuwe rooms te maken"\n ],\n "Your nickname doesn\'t conform to this room\'s policies": [\n null,\n "Je nickname is niet conform policy"\n ],\n "Your nickname is already taken": [\n null,\n "Je nickname bestaat al"\n ],\n "This room does not (yet) exist": [\n null,\n "Deze room bestaat niet"\n ],\n "This room has reached it\'s maximum number of occupants": [\n null,\n "Deze room heeft het maximale aantal gebruikers"\n ],\n "Topic set by %1$s to: %2$s": [\n null,\n ""\n ],\n "%1$s has invited you to join a chat room: %2$s": [\n null,\n ""\n ],\n "%1$s has invited you to join a chat room: %2$s, and left the following reason: \\"%3$s\\"": [\n null,\n ""\n ],\n "Minimized": [\n null,\n ""\n ],\n "Click to remove this contact": [\n null,\n "Klik om contact te verwijderen"\n ],\n "Click to chat with this contact": [\n null,\n "Klik om te chatten met contact"\n ],\n "Name": [\n null,\n ""\n ],\n "Sorry, there was an error while trying to remove ": [\n null,\n ""\n ],\n "Sorry, there was an error while trying to add ": [\n null,\n ""\n ],\n "This client does not allow presence subscriptions": [\n null,\n ""\n ],\n "Type to filter": [\n null,\n ""\n ],\n "I am %1$s": [\n null,\n "Ik ben %1$s"\n ],\n "Click here to write a custom status message": [\n null,\n "Klik hier om custom status bericht te maken"\n ],\n "Click to change your chat status": [\n null,\n "Klik hier om status te wijzigen"\n ],\n "Custom status": [\n null,\n ""\n ],\n "online": [\n null,\n "online"\n ],\n "busy": [\n null,\n "bezet"\n ],\n "away for long": [\n null,\n "afwezig lange tijd"\n ],\n "away": [\n null,\n "afwezig"\n ],\n "Your XMPP provider\'s domain name:": [\n null,\n ""\n ],\n "Fetch registration form": [\n null,\n ""\n ],\n "Tip: A list of public XMPP providers is available": [\n null,\n ""\n ],\n "here": [\n null,\n ""\n ],\n "Register": [\n null,\n ""\n ],\n "Sorry, the given provider does not support in band account registration. Please try with a different provider.": [\n null,\n ""\n ],\n "Requesting a registration form from the XMPP server": [\n null,\n ""\n ],\n "Something went wrong while establishing a connection with \\"%1$s\\". Are you sure it exists?": [\n null,\n ""\n ],\n "Now logging you in": [\n null,\n ""\n ],\n "Registered successfully": [\n null,\n ""\n ],\n "Return": [\n null,\n ""\n ],\n "The provider rejected your registration attempt. Please check the values you entered for correctness.": [\n null,\n ""\n ],\n "Password:": [\n null,\n "Wachtwoord:"\n ],\n "Log In": [\n null,\n "Aanmelden"\n ],\n "user@server": [\n null,\n ""\n ],\n "Sign in": [\n null,\n "Aanmelden"\n ],\n "Toggle chat": [\n null,\n ""\n ]\n }\n }\n}'}),define("text!pl",[],function(){return'{\n "domain": "converse",\n "locale_data": {\n "converse": {\n "": {\n "domain": "converse",\n "plural_forms": "nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);",\n "lang": "pl"\n },\n " e.g. conversejs.org": [\n null,\n "np. conversejs.org"\n ],\n "unencrypted": [\n null,\n "nieszyfrowane"\n ],\n "unverified": [\n null,\n "niezweryfikowane"\n ],\n "verified": [\n null,\n "zweryfikowane"\n ],\n "finished": [\n null,\n "zakończone"\n ],\n "This contact is busy": [\n null,\n "Kontakt jest zajęty"\n ],\n "This contact is online": [\n null,\n "Kontakt jest połączony"\n ],\n "This contact is offline": [\n null,\n "Kontakt jest niepołączony"\n ],\n "This contact is unavailable": [\n null,\n "Kontakt jest niedostępny"\n ],\n "This contact is away for an extended period": [\n null,\n "Kontakt jest nieobecny przez dłuższą chwilę"\n ],\n "This contact is away": [\n null,\n "Kontakt jest nieobecny"\n ],\n "Click to hide these contacts": [\n null,\n "Kliknij aby schować te kontakty"\n ],\n "My contacts": [\n null,\n "Moje kontakty"\n ],\n "Pending contacts": [\n null,\n "Kontakty oczekujące"\n ],\n "Contact requests": [\n null,\n "Zaproszenia do kontaktu"\n ],\n "Ungrouped": [\n null,\n "Niezgrupowane"\n ],\n "Contacts": [\n null,\n "Kontakty"\n ],\n "Groups": [\n null,\n "Grupy"\n ],\n "Attempting to reconnect in 5 seconds": [\n null,\n ""\n ],\n "Error": [\n null,\n "Błąd"\n ],\n "Connecting": [\n null,\n "Łączę się"\n ],\n "Authenticating": [\n null,\n "Autoryzacja"\n ],\n "Authentication Failed": [\n null,\n "Autoryzacja nie powiodła się"\n ],\n "Re-establishing encrypted session": [\n null,\n "Przywrócenie sesji szyfrowanej"\n ],\n "Generating private key.": [\n null,\n "Generuję klucz prywatny."\n ],\n "Your browser might become unresponsive.": [\n null,\n "Twoja przeglądarka może nieco zwolnić."\n ],\n "Authentication request from %1$s\\n\\nYour chat contact is attempting to verify your identity, by asking you the question below.\\n\\n%2$s": [\n null,\n "Prośba o autoryzację od %1$s\\n\\nKontakt próbuje zweryfikować twoją tożsamość, zadając ci pytanie poniżej.\\n\\n%2$s"\n ],\n "Could not verify this user\'s identify.": [\n null,\n "Nie jestem w stanie zweryfikować tożsamości kontaktu."\n ],\n "Exchanging private key with contact.": [\n null,\n "Wymieniam klucze szyfrujące z kontaktem."\n ],\n "Minimize this chat box": [\n null,\n ""\n ],\n "Personal message": [\n null,\n "Wiadomość osobista"\n ],\n "Are you sure you want to clear the messages from this room?": [\n null,\n "Potwierdź czy rzeczywiście chcesz wyczyścić wiadomości z tego pokoju?"\n ],\n "me": [\n null,\n "ja"\n ],\n "is typing": [\n null,\n "pisze"\n ],\n "has stopped typing": [\n null,\n "przestał pisać"\n ],\n "has gone away": [\n null,\n "uciekł"\n ],\n "Show this menu": [\n null,\n "Pokaż menu"\n ],\n "Write in the third person": [\n null,\n "Pisz w trzeciej osobie"\n ],\n "Remove messages": [\n null,\n "Usuń wiadomość"\n ],\n "Are you sure you want to clear the messages from this chat box?": [\n null,\n "Potwierdź czy rzeczywiście chcesz wyczyścić wiadomości z okienka rozmowy?"\n ],\n "Your message could not be sent": [\n null,\n "Twoja wiadomość nie została wysłana"\n ],\n "We received an unencrypted message": [\n null,\n "Otrzymaliśmy niezaszyfrowaną wiadomość"\n ],\n "We received an unreadable encrypted message": [\n null,\n "Otrzymaliśmy nieczytelną zaszyfrowaną wiadomość"\n ],\n "Here are the fingerprints, please confirm them with %1$s, outside of this chat.\\n\\nFingerprint for you, %2$s: %3$s\\n\\nFingerprint for %1$s: %4$s\\n\\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.": [\n null,\n "Oto odciski palców, potwiedź je proszę z %1$s używając innego sposobuwymiany informacji niż ta rozmowa.\\n\\nOdcisk palca dla ciebie, %2$s: %3$s\\n\\nOdcisk palca dla %1$s: %4$s\\n\\nJeśli odciski palców zostały potwierdzone, kliknij OK, w inny wypadku kliknij Anuluj."\n ],\n "You will be prompted to provide a security question and then an answer to that question.\\n\\nYour contact will then be prompted the same question and if they type the exact same answer (case sensitive), their identity will be verified.": [\n null,\n "Poprosimy cię o podanie pytania sprawdzającego i odpowiedzi na nie.\\n\\nTwój kontakt zostanie poproszony później o odpowiedź na to samo pytanie i jeśli udzieli tej samej odpowiedzi (ważna jest wielkość liter), tożsamość zostanie zwerfikowana."\n ],\n "What is your security question?": [\n null,\n "Jakie jest pytanie bezpieczeństwa?"\n ],\n "What is the answer to the security question?": [\n null,\n "Jaka jest odpowiedź na pytanie bezpieczeństwa?"\n ],\n "Invalid authentication scheme provided": [\n null,\n "Niewłaściwy schemat autoryzacji"\n ],\n "has gone offline": [\n null,\n "wyłączył się"\n ],\n "is busy": [\n null,\n "zajęty"\n ],\n "Your messages are not encrypted anymore": [\n null,\n "Twoje wiadomości nie są już szyfrowane"\n ],\n "Your messages are now encrypted but your contact\'s identity has not been verified.": [\n null,\n "Wiadomości są teraz szyfrowane, ale tożsamość kontaktu nie została zweryfikowana."\n ],\n "Your contact\'s identify has been verified.": [\n null,\n "Tożsamość kontaktu została zweryfikowana"\n ],\n "Your contact has ended encryption on their end, you should do the same.": [\n null,\n "Kontakt zakończył sesję szyfrowaną, powinieneś zrobić to samo."\n ],\n "Your messages are not encrypted. Click here to enable OTR encryption.": [\n null,\n "Twoje wiadomości nie są szyfrowane. Kliknij, aby uruchomić szyfrowanie OTR"\n ],\n "Your messages are encrypted, but your contact has not been verified.": [\n null,\n "Wiadomości są szyfrowane, ale tożsamość kontaktu nie została zweryfikowana."\n ],\n "Your messages are encrypted and your contact verified.": [\n null,\n "Wiadomości są szyfrowane i tożsamość kontaktu została zweryfikowana."\n ],\n "Your contact has closed their end of the private session, you should do the same": [\n null,\n "Kontakt zakończył prywatną rozmowę i ty zrób to samo"\n ],\n "Clear all messages": [\n null,\n "Wyczyść wszystkie wiadomości"\n ],\n "End encrypted conversation": [\n null,\n "Zakończ szyfrowaną rozmowę"\n ],\n "Insert a smiley": [\n null,\n "Wstaw uśmieszek"\n ],\n "Refresh encrypted conversation": [\n null,\n "Odśwież szyfrowaną rozmowę"\n ],\n "Start a call": [\n null,\n "Zadzwoń"\n ],\n "Start encrypted conversation": [\n null,\n "Rozpocznij szyfrowaną rozmowę"\n ],\n "Verify with fingerprints": [\n null,\n "Zweryfikuj za pomocą odcisków palców"\n ],\n "Verify with SMP": [\n null,\n "Zweryfikuj za pomocą SMP"\n ],\n "What\'s this?": [\n null,\n "Co to jest?"\n ],\n "Online": [\n null,\n "Dostępny"\n ],\n "Busy": [\n null,\n "Zajęty"\n ],\n "Away": [\n null,\n "Nieobecny"\n ],\n "Offline": [\n null,\n "Rozłączony"\n ],\n "Log out": [\n null,\n "Wyloguj"\n ],\n "Contact name": [\n null,\n "Nazwa kontaktu"\n ],\n "Search": [\n null,\n "Szukaj"\n ],\n "e.g. user@example.com": [\n null,\n "np. user@example.com"\n ],\n "Add": [\n null,\n "Dodaj"\n ],\n "Click to add new chat contacts": [\n null,\n "Kliknij aby dodać nowe kontakty"\n ],\n "Add a contact": [\n null,\n "Dodaj kontakt"\n ],\n "No users found": [\n null,\n "Nie znaleziono użytkowników"\n ],\n "Click to add as a chat contact": [\n null,\n "Kliknij aby dodać jako kontakt"\n ],\n "Room name": [\n null,\n "Nazwa pokoju"\n ],\n "Nickname": [\n null,\n "Ksywka"\n ],\n "Server": [\n null,\n "Serwer"\n ],\n "Join Room": [\n null,\n "Wejdź do pokoju"\n ],\n "Show rooms": [\n null,\n "Pokaż pokoje"\n ],\n "Rooms": [\n null,\n "Pokoje"\n ],\n "No rooms on %1$s": [\n null,\n "Brak jest pokojów na %1$s"\n ],\n "Rooms on %1$s": [\n null,\n "Pokoje na %1$s"\n ],\n "Click to open this room": [\n null,\n "Kliknij aby wejść do pokoju"\n ],\n "Show more information on this room": [\n null,\n "Pokaż więcej informacji o pokoju"\n ],\n "Description:": [\n null,\n "Opis:"\n ],\n "Occupants:": [\n null,\n "Uczestnicy:"\n ],\n "Features:": [\n null,\n "Możliwości:"\n ],\n "Requires authentication": [\n null,\n "Wymaga autoryzacji"\n ],\n "Hidden": [\n null,\n "Ukryty"\n ],\n "Requires an invitation": [\n null,\n "Wymaga zaproszenia"\n ],\n "Moderated": [\n null,\n "Moderowany"\n ],\n "Non-anonymous": [\n null,\n "Nieanonimowy"\n ],\n "Open room": [\n null,\n "Otwarty pokój"\n ],\n "Permanent room": [\n null,\n "Stały pokój"\n ],\n "Public": [\n null,\n "Publiczny"\n ],\n "Semi-anonymous": [\n null,\n "Półanonimowy"\n ],\n "Temporary room": [\n null,\n "Pokój tymczasowy"\n ],\n "Unmoderated": [\n null,\n "Niemoderowany"\n ],\n "This user is a moderator": [\n null,\n "Ten człowiek jest moderatorem"\n ],\n "This user can send messages in this room": [\n null,\n "Ten człowiek może rozmawiać w niejszym pokoju"\n ],\n "This user can NOT send messages in this room": [\n null,\n "Ten człowiek nie może rozmawiać w niniejszym pokoju"\n ],\n "Invite...": [\n null,\n "Zaproś..."\n ],\n "Occupants": [\n null,\n "Uczestników"\n ],\n "You are about to invite %1$s to the chat room \\"%2$s\\". ": [\n null,\n "Zamierzasz zaprosić %1$s do pokoju rozmów \\"%2$s\\". "\n ],\n "You may optionally include a message, explaining the reason for the invitation.": [\n null,\n "Masz opcjonalną możliwość dołączenia wiadomości, która wyjaśni przyczynę zaproszenia."\n ],\n "Message": [\n null,\n "Wiadomość:"\n ],\n "Error: could not execute the command": [\n null,\n "Błąd: nie potrafię uruchomić polecenia"\n ],\n "Error: the \\"": [\n null,\n "Błąd: \\""\n ],\n "Change user\'s affiliation to admin": [\n null,\n "Przyznaj prawa administratora"\n ],\n "Ban user from room": [\n null,\n "Zablokuj dostępu do pokoju"\n ],\n "Kick user from room": [\n null,\n "Wykop z pokoju"\n ],\n "Write in 3rd person": [\n null,\n "Pisz w trzeciej osobie"\n ],\n "Grant membership to a user": [\n null,\n "Przyznaj członkowstwo "\n ],\n "Remove user\'s ability to post messages": [\n null,\n "Zablokuj człowiekowi możliwość rozmowy"\n ],\n "Change your nickname": [\n null,\n "Zmień ksywkę"\n ],\n "Grant moderator role to user": [\n null,\n "Przyznaj prawa moderatora"\n ],\n "Grant ownership of this room": [\n null,\n "Uczyń właścicielem pokoju"\n ],\n "Revoke user\'s membership": [\n null,\n "Usuń z listy członków"\n ],\n "Set room topic": [\n null,\n "Ustaw temat pokoju"\n ],\n "Allow muted user to post messages": [\n null,\n "Pozwól uciszonemu człowiekowi na rozmowę"\n ],\n "Save": [\n null,\n "Zachowaj"\n ],\n "Cancel": [\n null,\n "Anuluj"\n ],\n "An error occurred while trying to save the form.": [\n null,\n "Wystąpił błąd w czasie próby zachowania formularza."\n ],\n "This chatroom requires a password": [\n null,\n "Pokój rozmów wymaga podania hasła"\n ],\n "Password: ": [\n null,\n "Hasło:"\n ],\n "Submit": [\n null,\n "Wyślij"\n ],\n "This room is not anonymous": [\n null,\n "Pokój nie jest anonimowy"\n ],\n "This room now shows unavailable members": [\n null,\n "Pokój pokazuje niedostępnych rozmówców"\n ],\n "This room does not show unavailable members": [\n null,\n "Ten pokój nie wyświetla niedostępnych członków"\n ],\n "Non-privacy-related room configuration has changed": [\n null,\n "Ustawienia pokoju nie związane z prywatnością zostały zmienione"\n ],\n "Room logging is now enabled": [\n null,\n "Zostało włączone zapisywanie rozmów w pokoju"\n ],\n "Room logging is now disabled": [\n null,\n "Zostało wyłączone zapisywanie rozmów w pokoju"\n ],\n "This room is now non-anonymous": [\n null,\n "Pokój stał się nieanonimowy"\n ],\n "This room is now semi-anonymous": [\n null,\n "Pokój stał się półanonimowy"\n ],\n "This room is now fully-anonymous": [\n null,\n "Pokój jest teraz w pełni anonimowy"\n ],\n "A new room has been created": [\n null,\n "Został utworzony nowy pokój"\n ],\n "You have been banned from this room": [\n null,\n "Jesteś niemile widziany w tym pokoju"\n ],\n "You have been kicked from this room": [\n null,\n "Zostałeś wykopany z pokoju"\n ],\n "You have been removed from this room because of an affiliation change": [\n null,\n "Zostałeś usunięty z pokoju ze względu na zmianę przynależności"\n ],\n "You have been removed from this room because the room has changed to members-only and you\'re not a member": [\n null,\n "Zostałeś usunięty z pokoju ze względu na to, że pokój zmienił się na wymagający członkowstwa, a ty nie jesteś członkiem"\n ],\n "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [\n null,\n "Zostałeś usunięty z pokoju ze względu na to, że serwis MUC(Multi-user chat) został wyłączony."\n ],\n "%1$s has been banned": [\n null,\n "%1$s został zbanowany"\n ],\n "%1$s\'s nickname has changed": [\n null,\n "%1$s zmienił ksywkę"\n ],\n "%1$s has been kicked out": [\n null,\n "%1$s został wykopany"\n ],\n "%1$s has been removed because of an affiliation change": [\n null,\n "%1$s został usunięty z powodu zmiany przynależności"\n ],\n "%1$s has been removed for not being a member": [\n null,\n "%1$s został usunięty ze względu na to, że nie jest członkiem"\n ],\n "Your nickname has been automatically changed to: %1$s": [\n null,\n "Twoja ksywka została automatycznie zmieniona na: %1$s"\n ],\n "Your nickname has been changed to: %1$s": [\n null,\n "Twoja ksywka została zmieniona na: %1$s"\n ],\n "The reason given is: \\"": [\n null,\n "Podana przyczyna to: \\""\n ],\n "You are not on the member list of this room": [\n null,\n "Nie jesteś członkiem tego pokoju rozmów"\n ],\n "No nickname was specified": [\n null,\n "Nie podałeś ksywki"\n ],\n "You are not allowed to create new rooms": [\n null,\n "Nie masz uprawnień do tworzenia nowych pokojów rozmów"\n ],\n "Your nickname doesn\'t conform to this room\'s policies": [\n null,\n "Twoja ksywka nie jest zgodna z regulaminem pokoju"\n ],\n "Your nickname is already taken": [\n null,\n "Twoja ksywka jest już w użyciu"\n ],\n "This room does not (yet) exist": [\n null,\n "Ten pokój (jeszcze) nie istnieje"\n ],\n "This room has reached it\'s maximum number of occupants": [\n null,\n "Pokój przekroczył dozwoloną ilość rozmówców"\n ],\n "Topic set by %1$s to: %2$s": [\n null,\n "Temat ustawiony przez %1$s na: %2$s"\n ],\n "%1$s has invited you to join a chat room: %2$s": [\n null,\n "%1$s zaprosił(a) cię do wejścia do pokoju rozmów %2$s"\n ],\n "%1$s has invited you to join a chat room: %2$s, and left the following reason: \\"%3$s\\"": [\n null,\n "%1$s zaprosił cię do pokoju: %2$s, podając następujący powód: \\"%3$s\\""\n ],\n "Click to restore this chat": [\n null,\n "Kliknij aby powrócić do rozmowy"\n ],\n "Minimized": [\n null,\n "Zminimalizowany"\n ],\n "Click to remove this contact": [\n null,\n "Kliknij aby usunąć kontakt"\n ],\n "Click to accept this contact request": [\n null,\n "Klknij aby zaakceptować życzenie nawiązania kontaktu"\n ],\n "Click to decline this contact request": [\n null,\n "Kliknij aby odrzucić życzenie nawiązania kontaktu"\n ],\n "Click to chat with this contact": [\n null,\n "Kliknij aby porozmawiać z kontaktem"\n ],\n "Name": [\n null,\n "Nazwa"\n ],\n "Are you sure you want to remove this contact?": [\n null,\n "Czy potwierdzasz zamiar usnunięcia tego kontaktu?"\n ],\n "Sorry, there was an error while trying to remove ": [\n null,\n "Wystąpił błąd w trakcie próby usunięcia "\n ],\n "Are you sure you want to decline this contact request?": [\n null,\n "Czy potwierdzasz odrzucenie chęci nawiązania kontaktu?"\n ],\n "Sorry, there was an error while trying to add ": [\n null,\n "Wystąpił błąd w czasie próby dodania "\n ],\n "This client does not allow presence subscriptions": [\n null,\n "Klient nie umożliwia subskrybcji obecności"\n ],\n "Type to filter": [\n null,\n "Zacznij pisać, aby odfiltrować"\n ],\n "I am %1$s": [\n null,\n "Jestem %1$s"\n ],\n "Click here to write a custom status message": [\n null,\n "Kliknij aby wpisać nowy status"\n ],\n "Click to change your chat status": [\n null,\n "Kliknij aby zmienić status rozmowy"\n ],\n "Custom status": [\n null,\n "Własny status"\n ],\n "online": [\n null,\n "dostępny"\n ],\n "busy": [\n null,\n "zajęty"\n ],\n "away for long": [\n null,\n "dłużej nieobecny"\n ],\n "away": [\n null,\n "nieobecny"\n ],\n "offline": [\n null,\n "rozłączony"\n ],\n "Your XMPP provider\'s domain name:": [\n null,\n "Domena twojego dostawcy XMPP:"\n ],\n "Fetch registration form": [\n null,\n "Pobierz formularz rejestracyjny"\n ],\n "Tip: A list of public XMPP providers is available": [\n null,\n "Wskazówka: dostępna jest lista publicznych dostawców XMPP"\n ],\n "here": [\n null,\n "tutaj"\n ],\n "Register": [\n null,\n "Zarejestruj"\n ],\n "Sorry, the given provider does not support in band account registration. Please try with a different provider.": [\n null,\n "Przepraszamy, ale podany dostawca nie obsługuje rejestracji. Spróbuj wskazać innego dostawcę."\n ],\n "Requesting a registration form from the XMPP server": [\n null,\n "Pobieranie formularza rejestracyjnego z serwera XMPP"\n ],\n "Something went wrong while establishing a connection with \\"%1$s\\". Are you sure it exists?": [\n null,\n "Coś nie zadziałało przy próbie połączenia z \\"%1$s\\". Jesteś pewien że istnieje?"\n ],\n "Now logging you in": [\n null,\n "Teraz jesteś logowany"\n ],\n "Registered successfully": [\n null,\n "Szczęśliwie zarejestrowany"\n ],\n "Return": [\n null,\n "Powrót"\n ],\n "The provider rejected your registration attempt. Please check the values you entered for correctness.": [\n null,\n "Dostawca odrzucił twoją próbę rejestracji. Sprawdź proszę poprawność danych które zostały wprowadzone."\n ],\n "XMPP Username:": [\n null,\n "Nazwa użytkownika XMPP:"\n ],\n "Password:": [\n null,\n "Hasło:"\n ],\n "Click here to log in anonymously": [\n null,\n "Kliknij tutaj aby zalogować się anonimowo"\n ],\n "Log In": [\n null,\n "Zaloguj się"\n ],\n "user@server": [\n null,\n "user@server"\n ],\n "password": [\n null,\n "hasło"\n ],\n "Sign in": [\n null,\n "Zarejestruj się"\n ],\n "Toggle chat": [\n null,\n "Przełącz rozmowę"\n ]\n }\n }\n}'}),define("text!pt_BR",[],function(){return'{\n "domain": "converse",\n "locale_data": {\n "converse": {\n "": {\n "domain": "converse",\n "plural_forms": "nplurals=2; plural=(n > 1);",\n "lang": "pt_BR"\n },\n " e.g. conversejs.org": [\n null,\n ""\n ],\n "unencrypted": [\n null,\n "não-criptografado"\n ],\n "unverified": [\n null,\n "não-verificado"\n ],\n "verified": [\n null,\n "verificado"\n ],\n "finished": [\n null,\n "finalizado"\n ],\n "This contact is busy": [\n null,\n "Este contato está ocupado"\n ],\n "This contact is online": [\n null,\n "Este contato está online"\n ],\n "This contact is offline": [\n null,\n "Este contato está offline"\n ],\n "This contact is unavailable": [\n null,\n "Este contato está indisponível"\n ],\n "This contact is away for an extended period": [\n null,\n "Este contato está ausente por um longo período"\n ],\n "This contact is away": [\n null,\n "Este contato está ausente"\n ],\n "My contacts": [\n null,\n "Meus contatos"\n ],\n "Pending contacts": [\n null,\n "Contados pendentes"\n ],\n "Contact requests": [\n null,\n "Solicitação de contatos"\n ],\n "Ungrouped": [\n null,\n ""\n ],\n "Contacts": [\n null,\n "Contatos"\n ],\n "Groups": [\n null,\n ""\n ],\n "Attempting to reconnect in 5 seconds": [\n null,\n ""\n ],\n "Error": [\n null,\n "Erro"\n ],\n "Connecting": [\n null,\n "Conectando"\n ],\n "Authenticating": [\n null,\n "Autenticando"\n ],\n "Authentication Failed": [\n null,\n "Falha de autenticação"\n ],\n "Re-establishing encrypted session": [\n null,\n "Reestabelecendo sessão criptografada"\n ],\n "Generating private key.": [\n null,\n "Gerando chave-privada."\n ],\n "Your browser might become unresponsive.": [\n null,\n "Seu navegador pode parar de responder."\n ],\n "Could not verify this user\'s identify.": [\n null,\n "Não foi possível verificar a identidade deste usuário."\n ],\n "Minimize this chat box": [\n null,\n ""\n ],\n "Personal message": [\n null,\n "Mensagem pessoal"\n ],\n "me": [\n null,\n "eu"\n ],\n "Show this menu": [\n null,\n "Mostrar o menu"\n ],\n "Write in the third person": [\n null,\n "Escrever em terceira pessoa"\n ],\n "Remove messages": [\n null,\n "Remover mensagens"\n ],\n "Are you sure you want to clear the messages from this chat box?": [\n null,\n "Tem certeza que deseja limpar as mensagens dessa caixa?"\n ],\n "Your message could not be sent": [\n null,\n "Sua mensagem não pode ser enviada"\n ],\n "We received an unencrypted message": [\n null,\n "Recebemos uma mensagem não-criptografada"\n ],\n "We received an unreadable encrypted message": [\n null,\n "Recebemos uma mensagem não-criptografada ilegível"\n ],\n "Here are the fingerprints, please confirm them with %1$s, outside of this chat.\\n\\nFingerprint for you, %2$s: %3$s\\n\\nFingerprint for %1$s: %4$s\\n\\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.": [\n null,\n "Aqui estão as assinaturas digitais, por favor confirme elas com %1$s, fora deste chat.\\n\\nAssinatura para você, %2$s: %3$s\\n\\nAssinatura para %1$s: %4$s\\n\\nSe você tiver confirmado que as assinaturas conferem, clique OK, caso contrário, clique Cancelar."\n ],\n "What is your security question?": [\n null,\n "Qual é a sua pergunta de segurança?"\n ],\n "What is the answer to the security question?": [\n null,\n "Qual é a resposta para a pergunta de segurança?"\n ],\n "Invalid authentication scheme provided": [\n null,\n "Schema de autenticação fornecido é inválido"\n ],\n "Your messages are not encrypted anymore": [\n null,\n "Suas mensagens não estão mais criptografadas"\n ],\n "Your messages are not encrypted. Click here to enable OTR encryption.": [\n null,\n "Suas mensagens não estão criptografadas. Clique aqui para habilitar criptografia OTR."\n ],\n "End encrypted conversation": [\n null,\n "Finalizar conversa criptografada"\n ],\n "Insert a smiley": [\n null,\n ""\n ],\n "Hide the list of occupants": [\n null,\n ""\n ],\n "Refresh encrypted conversation": [\n null,\n "Atualizar conversa criptografada"\n ],\n "Start a call": [\n null,\n ""\n ],\n "Start encrypted conversation": [\n null,\n "Iniciar conversa criptografada"\n ],\n "Verify with fingerprints": [\n null,\n "Verificar com assinatura digital"\n ],\n "Verify with SMP": [\n null,\n "Verificar com SMP"\n ],\n "What\'s this?": [\n null,\n "O que é isso?"\n ],\n "Online": [\n null,\n "Online"\n ],\n "Busy": [\n null,\n "Ocupado"\n ],\n "Away": [\n null,\n "Ausente"\n ],\n "Offline": [\n null,\n "Offline"\n ],\n "Contact name": [\n null,\n "Nome do contato"\n ],\n "Search": [\n null,\n "Procurar"\n ],\n "e.g. user@example.com": [\n null,\n ""\n ],\n "Add": [\n null,\n "Adicionar"\n ],\n "Click to add new chat contacts": [\n null,\n "Clique para adicionar novos contatos ao chat"\n ],\n "Add a contact": [\n null,\n "Adicionar contato"\n ],\n "No users found": [\n null,\n "Não foram encontrados usuários"\n ],\n "Click to add as a chat contact": [\n null,\n "Clique para adicionar como um contato do chat"\n ],\n "Room name": [\n null,\n "Nome da sala"\n ],\n "Nickname": [\n null,\n "Apelido"\n ],\n "Server": [\n null,\n "Server"\n ],\n "Show rooms": [\n null,\n "Mostar salas"\n ],\n "Rooms": [\n null,\n "Salas"\n ],\n "No rooms on %1$s": [\n null,\n "Sem salas em %1$s"\n ],\n "Rooms on %1$s": [\n null,\n "Salas em %1$s"\n ],\n "Click to open this room": [\n null,\n "CLique para abrir a sala"\n ],\n "Show more information on this room": [\n null,\n "Mostrar mais informações nessa sala"\n ],\n "Description:": [\n null,\n "Descrição:"\n ],\n "Occupants:": [\n null,\n "Ocupantes:"\n ],\n "Features:": [\n null,\n "Recursos:"\n ],\n "Requires authentication": [\n null,\n "Requer autenticação"\n ],\n "Hidden": [\n null,\n "Escondido"\n ],\n "Requires an invitation": [\n null,\n "Requer um convite"\n ],\n "Moderated": [\n null,\n "Moderado"\n ],\n "Non-anonymous": [\n null,\n "Não anônimo"\n ],\n "Open room": [\n null,\n "Sala aberta"\n ],\n "Permanent room": [\n null,\n "Sala permanente"\n ],\n "Public": [\n null,\n "Público"\n ],\n "Semi-anonymous": [\n null,\n "Semi anônimo"\n ],\n "Temporary room": [\n null,\n "Sala temporária"\n ],\n "Unmoderated": [\n null,\n "Sem moderação"\n ],\n "This user is a moderator": [\n null,\n "Esse usuário é o moderador"\n ],\n "This user can send messages in this room": [\n null,\n "Esse usuário pode enviar mensagens nessa sala"\n ],\n "This user can NOT send messages in this room": [\n null,\n "Esse usuário NÃO pode enviar mensagens nessa sala"\n ],\n "Invite...": [\n null,\n ""\n ],\n "You are about to invite %1$s to the chat room \\"%2$s\\". ": [\n null,\n ""\n ],\n "You may optionally include a message, explaining the reason for the invitation.": [\n null,\n ""\n ],\n "Message": [\n null,\n "Mensagem"\n ],\n "Error: could not execute the command": [\n null,\n ""\n ],\n "Error: the \\"": [\n null,\n ""\n ],\n "Change user\'s affiliation to admin": [\n null,\n ""\n ],\n "Change user role to occupant": [\n null,\n ""\n ],\n "Grant membership to a user": [\n null,\n ""\n ],\n "Remove user\'s ability to post messages": [\n null,\n ""\n ],\n "Change your nickname": [\n null,\n ""\n ],\n "Grant moderator role to user": [\n null,\n ""\n ],\n "Revoke user\'s membership": [\n null,\n ""\n ],\n "Allow muted user to post messages": [\n null,\n ""\n ],\n "Save": [\n null,\n "Salvar"\n ],\n "Cancel": [\n null,\n "Cancelar"\n ],\n "An error occurred while trying to save the form.": [\n null,\n "Ocorreu um erro enquanto tentava salvar o formulário"\n ],\n "This chatroom requires a password": [\n null,\n "Esse chat precisa de senha"\n ],\n "Password: ": [\n null,\n "Senha: "\n ],\n "Submit": [\n null,\n "Enviar"\n ],\n "This room is not anonymous": [\n null,\n "Essa sala não é anônima"\n ],\n "This room now shows unavailable members": [\n null,\n "Agora esta sala mostra membros indisponíveis"\n ],\n "This room does not show unavailable members": [\n null,\n "Essa sala não mostra membros indisponíveis"\n ],\n "Non-privacy-related room configuration has changed": [\n null,\n "Configuraçõs não relacionadas à privacidade mudaram"\n ],\n "Room logging is now enabled": [\n null,\n "O log da sala está ativado"\n ],\n "Room logging is now disabled": [\n null,\n "O log da sala está desativado"\n ],\n "This room is now non-anonymous": [\n null,\n "Esse sala é não anônima"\n ],\n "This room is now semi-anonymous": [\n null,\n "Essa sala agora é semi anônima"\n ],\n "This room is now fully-anonymous": [\n null,\n "Essa sala agora é totalmente anônima"\n ],\n "A new room has been created": [\n null,\n "Uma nova sala foi criada"\n ],\n "You have been banned from this room": [\n null,\n "Você foi banido dessa sala"\n ],\n "You have been kicked from this room": [\n null,\n "Você foi expulso dessa sala"\n ],\n "You have been removed from this room because of an affiliation change": [\n null,\n "Você foi removido da sala devido a uma mudança de associação"\n ],\n "You have been removed from this room because the room has changed to members-only and you\'re not a member": [\n null,\n "Você foi removido da sala porque ela foi mudada para somente membrose você não é um membro"\n ],\n "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [\n null,\n "Você foi removido da sala devido a MUC (Multi-user chat)o serviço está sendo desligado"\n ],\n "%1$s has been banned": [\n null,\n "%1$s foi banido"\n ],\n "%1$s has been kicked out": [\n null,\n "%1$s foi expulso"\n ],\n "%1$s has been removed because of an affiliation change": [\n null,\n "%1$s foi removido por causa de troca de associação"\n ],\n "%1$s has been removed for not being a member": [\n null,\n "%1$s foi removido por não ser um membro"\n ],\n "The reason given is: \\"": [\n null,\n ""\n ],\n "You are not on the member list of this room": [\n null,\n "Você não é membro dessa sala"\n ],\n "No nickname was specified": [\n null,\n "Você não escolheu um apelido "\n ],\n "You are not allowed to create new rooms": [\n null,\n "Você não tem permitição de criar novas salas"\n ],\n "Your nickname doesn\'t conform to this room\'s policies": [\n null,\n "Seu apelido não está de acordo com as regras da sala"\n ],\n "Your nickname is already taken": [\n null,\n "Seu apelido já foi escolhido"\n ],\n "This room does not (yet) exist": [\n null,\n "A sala não existe (ainda)"\n ],\n "This room has reached it\'s maximum number of occupants": [\n null,\n "A sala atingiu o número máximo de ocupantes"\n ],\n "Topic set by %1$s to: %2$s": [\n null,\n "Topico definido por %1$s para: %2$s"\n ],\n "%1$s has invited you to join a chat room: %2$s": [\n null,\n ""\n ],\n "%1$s has invited you to join a chat room: %2$s, and left the following reason: \\"%3$s\\"": [\n null,\n ""\n ],\n "Minimized": [\n null,\n "Minimizado"\n ],\n "Click to remove this contact": [\n null,\n "Clique para remover o contato"\n ],\n "Click to chat with this contact": [\n null,\n "Clique para conversar com o contato"\n ],\n "Name": [\n null,\n ""\n ],\n "Sorry, there was an error while trying to remove ": [\n null,\n ""\n ],\n "Sorry, there was an error while trying to add ": [\n null,\n ""\n ],\n "This client does not allow presence subscriptions": [\n null,\n ""\n ],\n "Type to filter": [\n null,\n ""\n ],\n "I am %1$s": [\n null,\n "Estou %1$s"\n ],\n "Click here to write a custom status message": [\n null,\n "Clique aqui para customizar a mensagem de status"\n ],\n "Click to change your chat status": [\n null,\n "Clique para mudar seu status no chat"\n ],\n "Custom status": [\n null,\n "Status customizado"\n ],\n "online": [\n null,\n "online"\n ],\n "busy": [\n null,\n "ocupado"\n ],\n "away for long": [\n null,\n "ausente a bastante tempo"\n ],\n "away": [\n null,\n "ausente"\n ],\n "Your XMPP provider\'s domain name:": [\n null,\n ""\n ],\n "Fetch registration form": [\n null,\n ""\n ],\n "Tip: A list of public XMPP providers is available": [\n null,\n ""\n ],\n "here": [\n null,\n ""\n ],\n "Register": [\n null,\n ""\n ],\n "Sorry, the given provider does not support in band account registration. Please try with a different provider.": [\n null,\n ""\n ],\n "Requesting a registration form from the XMPP server": [\n null,\n ""\n ],\n "Something went wrong while establishing a connection with \\"%1$s\\". Are you sure it exists?": [\n null,\n ""\n ],\n "Now logging you in": [\n null,\n ""\n ],\n "Registered successfully": [\n null,\n ""\n ],\n "Return": [\n null,\n ""\n ],\n "The provider rejected your registration attempt. Please check the values you entered for correctness.": [\n null,\n ""\n ],\n "Password:": [\n null,\n "Senha:"\n ],\n "Log In": [\n null,\n "Entrar"\n ],\n "user@server": [\n null,\n ""\n ],\n "Sign in": [\n null,\n "Conectar-se"\n ],\n "Toggle chat": [\n null,\n "Alternar bate-papo"\n ]\n }\n }\n}'}),define("text!ru",[],function(){return'{\n "domain": "converse",\n "locale_data": {\n "converse": {\n "": {\n "domain": "converse",\n "lang": "ru"\n },\n " e.g. conversejs.org": [\n null,\n ""\n ],\n "unencrypted": [\n null,\n "не зашифровано"\n ],\n "unverified": [\n null,\n "непроверено"\n ],\n "verified": [\n null,\n "проверено"\n ],\n "finished": [\n null,\n "закончено"\n ],\n "This contact is busy": [\n null,\n "Занят"\n ],\n "This contact is online": [\n null,\n "В сети"\n ],\n "This contact is offline": [\n null,\n "Не в сети"\n ],\n "This contact is unavailable": [\n null,\n "Не доступен"\n ],\n "This contact is away for an extended period": [\n null,\n "На долго отошёл"\n ],\n "This contact is away": [\n null,\n "Отошёл"\n ],\n "My contacts": [\n null,\n "Контакты"\n ],\n "Pending contacts": [\n null,\n "Собеседники ожидающие авторизации"\n ],\n "Contact requests": [\n null,\n "Запросы на авторизацию"\n ],\n "Ungrouped": [\n null,\n ""\n ],\n "Contacts": [\n null,\n "Контакты"\n ],\n "Groups": [\n null,\n ""\n ],\n "Attempting to reconnect in 5 seconds": [\n null,\n ""\n ],\n "Error": [\n null,\n "Ошибка"\n ],\n "Connecting": [\n null,\n "Соединение"\n ],\n "Authenticating": [\n null,\n "Авторизация"\n ],\n "Authentication Failed": [\n null,\n "Не удалось авторизоваться"\n ],\n "Re-establishing encrypted session": [\n null,\n ""\n ],\n "Generating private key.": [\n null,\n ""\n ],\n "Your browser might become unresponsive.": [\n null,\n ""\n ],\n "Authentication request from %1$s\\n\\nYour chat contact is attempting to verify your identity, by asking you the question below.\\n\\n%2$s": [\n null,\n ""\n ],\n "Could not verify this user\'s identify.": [\n null,\n ""\n ],\n "Exchanging private key with contact.": [\n null,\n ""\n ],\n "Minimize this chat box": [\n null,\n ""\n ],\n "Personal message": [\n null,\n "Введите сообщение"\n ],\n "me": [\n null,\n "Я"\n ],\n "is typing": [\n null,\n ""\n ],\n "has stopped typing": [\n null,\n ""\n ],\n "Show this menu": [\n null,\n "Показать это меню"\n ],\n "Write in the third person": [\n null,\n ""\n ],\n "Remove messages": [\n null,\n "Удалить сообщения"\n ],\n "Are you sure you want to clear the messages from this chat box?": [\n null,\n ""\n ],\n "Your message could not be sent": [\n null,\n "Ваше сообщение не послано"\n ],\n "We received an unencrypted message": [\n null,\n ""\n ],\n "We received an unreadable encrypted message": [\n null,\n ""\n ],\n "Here are the fingerprints, please confirm them with %1$s, outside of this chat.\\n\\nFingerprint for you, %2$s: %3$s\\n\\nFingerprint for %1$s: %4$s\\n\\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.": [\n null,\n ""\n ],\n "You will be prompted to provide a security question and then an answer to that question.\\n\\nYour contact will then be prompted the same question and if they type the exact same answer (case sensitive), their identity will be verified.": [\n null,\n ""\n ],\n "What is your security question?": [\n null,\n ""\n ],\n "What is the answer to the security question?": [\n null,\n ""\n ],\n "Invalid authentication scheme provided": [\n null,\n ""\n ],\n "Your messages are not encrypted anymore": [\n null,\n "Ваши сообщения больше не шифруются"\n ],\n "Your contact has ended encryption on their end, you should do the same.": [\n null,\n ""\n ],\n "Your messages are not encrypted. Click here to enable OTR encryption.": [\n null,\n "Ваши сообщения не шифруются. Нажмите здесь чтобы настроить шифрование."\n ],\n "Your contact has closed their end of the private session, you should do the same": [\n null,\n ""\n ],\n "End encrypted conversation": [\n null,\n ""\n ],\n "Insert a smiley": [\n null,\n ""\n ],\n "Hide the list of occupants": [\n null,\n ""\n ],\n "Refresh encrypted conversation": [\n null,\n ""\n ],\n "Start a call": [\n null,\n ""\n ],\n "Start encrypted conversation": [\n null,\n ""\n ],\n "Verify with fingerprints": [\n null,\n ""\n ],\n "Verify with SMP": [\n null,\n ""\n ],\n "What\'s this?": [\n null,\n "Что это?"\n ],\n "Online": [\n null,\n "В сети"\n ],\n "Busy": [\n null,\n "Занят"\n ],\n "Away": [\n null,\n "Отошёл"\n ],\n "Offline": [\n null,\n "Не в сети"\n ],\n "Contact name": [\n null,\n "Имя контакта"\n ],\n "Search": [\n null,\n "Поиск"\n ],\n "e.g. user@example.com": [\n null,\n ""\n ],\n "Add": [\n null,\n "Добавить"\n ],\n "Click to add new chat contacts": [\n null,\n "Добавить новую конференцию"\n ],\n "Add a contact": [\n null,\n "Добавть контакт"\n ],\n "No users found": [\n null,\n "Пользователи не найдены"\n ],\n "Click to add as a chat contact": [\n null,\n "Добавить контакт"\n ],\n "Room name": [\n null,\n "Имя конференции"\n ],\n "Nickname": [\n null,\n "Псевдоним"\n ],\n "Server": [\n null,\n "Сервер"\n ],\n "Show rooms": [\n null,\n "Обновить"\n ],\n "Rooms": [\n null,\n "Конфер."\n ],\n "No rooms on %1$s": [\n null,\n "Нет доступных конференций %1$s"\n ],\n "Rooms on %1$s": [\n null,\n "Конференции %1$s:"\n ],\n "Click to open this room": [\n null,\n "Зайти в конференцию"\n ],\n "Show more information on this room": [\n null,\n "Показать больше информации об этой конференции"\n ],\n "Description:": [\n null,\n "Описание:"\n ],\n "Occupants:": [\n null,\n "Участники:"\n ],\n "Features:": [\n null,\n "Свойства:"\n ],\n "Requires authentication": [\n null,\n "Требуется авторизация"\n ],\n "Hidden": [\n null,\n "Скрыто"\n ],\n "Requires an invitation": [\n null,\n "Требуется приглашение"\n ],\n "Moderated": [\n null,\n "Модерируемая"\n ],\n "Non-anonymous": [\n null,\n "Не анонимная"\n ],\n "Open room": [\n null,\n "Открыть конференцию"\n ],\n "Permanent room": [\n null,\n "Перманентная конференция"\n ],\n "Public": [\n null,\n "Публичный"\n ],\n "Semi-anonymous": [\n null,\n "Частично анонимная"\n ],\n "Temporary room": [\n null,\n "Временная конференция"\n ],\n "Unmoderated": [\n null,\n "Немодерируемая"\n ],\n "This user is a moderator": [\n null,\n "Модератор"\n ],\n "This user can send messages in this room": [\n null,\n "Собеседник"\n ],\n "This user can NOT send messages in this room": [\n null,\n "Пользователь не может посылать сообщения в эту комнату"\n ],\n "Invite...": [\n null,\n ""\n ],\n "You are about to invite %1$s to the chat room \\"%2$s\\". ": [\n null,\n ""\n ],\n "You may optionally include a message, explaining the reason for the invitation.": [\n null,\n ""\n ],\n "Message": [\n null,\n "Сообщение"\n ],\n "Error: could not execute the command": [\n null,\n ""\n ],\n "Error: the \\"": [\n null,\n ""\n ],\n "Change user\'s affiliation to admin": [\n null,\n ""\n ],\n "Change user role to occupant": [\n null,\n ""\n ],\n "Write in 3rd person": [\n null,\n ""\n ],\n "Grant membership to a user": [\n null,\n ""\n ],\n "Remove user\'s ability to post messages": [\n null,\n ""\n ],\n "Change your nickname": [\n null,\n ""\n ],\n "Grant moderator role to user": [\n null,\n ""\n ],\n "Revoke user\'s membership": [\n null,\n ""\n ],\n "Allow muted user to post messages": [\n null,\n ""\n ],\n "Save": [\n null,\n "Сохранить"\n ],\n "Cancel": [\n null,\n "Отменить"\n ],\n "An error occurred while trying to save the form.": [\n null,\n "При сохранение формы произошла ошибка."\n ],\n "This chatroom requires a password": [\n null,\n "Для доступа в конфер. необходим пароль."\n ],\n "Password: ": [\n null,\n "Пароль: "\n ],\n "Submit": [\n null,\n "Отправить"\n ],\n "This room is not anonymous": [\n null,\n "Эта комната не анонимная"\n ],\n "This room now shows unavailable members": [\n null,\n "Эта комната показывает доступных собеседников"\n ],\n "This room does not show unavailable members": [\n null,\n "Эта комната не показывает недоступных собеседников"\n ],\n "Non-privacy-related room configuration has changed": [\n null,\n ""\n ],\n "Room logging is now enabled": [\n null,\n ""\n ],\n "Room logging is now disabled": [\n null,\n ""\n ],\n "This room is now non-anonymous": [\n null,\n "Эта комната не анонимная"\n ],\n "This room is now semi-anonymous": [\n null,\n "Эта комната частично анонимная"\n ],\n "This room is now fully-anonymous": [\n null,\n "Эта комната стала полностью анонимной"\n ],\n "A new room has been created": [\n null,\n "Новая комната была создана"\n ],\n "You have been banned from this room": [\n null,\n "Вам запрещено подключатся к этой конференции"\n ],\n "You have been kicked from this room": [\n null,\n "Вам запрещено подключатся к этой конференции"\n ],\n "You have been removed from this room because of an affiliation change": [\n null,\n "%1$s удалён потому что изменились права"\n ],\n "You have been removed from this room because the room has changed to members-only and you\'re not a member": [\n null,\n "Вы отключены от этой конференции потому что режим изменился: только-участники"\n ],\n "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [\n null,\n "Вы отключены от этой конференции потому что сервись конференций выключен."\n ],\n "%1$s has been banned": [\n null,\n "%1$s забанен"\n ],\n "%1$s has been kicked out": [\n null,\n "%1$s выдворен"\n ],\n "%1$s has been removed because of an affiliation change": [\n null,\n "%1$s has been removed because of an affiliation change"\n ],\n "%1$s has been removed for not being a member": [\n null,\n "%1$s удалён потому что не участник"\n ],\n "The reason given is: \\"": [\n null,\n ""\n ],\n "You are not on the member list of this room": [\n null,\n "Вас нет в списке этой конференции"\n ],\n "No nickname was specified": [\n null,\n "Вы не указали псевдоним"\n ],\n "You are not allowed to create new rooms": [\n null,\n "Вы не имеете права создавать конфер."\n ],\n "Your nickname doesn\'t conform to this room\'s policies": [\n null,\n "Псевдоним не согласуется с правилами конфер."\n ],\n "Your nickname is already taken": [\n null,\n "Ваш ник уже используется другим пользователем"\n ],\n "This room does not (yet) exist": [\n null,\n "Эта комната не существует"\n ],\n "This room has reached it\'s maximum number of occupants": [\n null,\n "Конференция достигла максимального количества участников"\n ],\n "Topic set by %1$s to: %2$s": [\n null,\n "Тема %2$s устатновлена %1$s"\n ],\n "%1$s has invited you to join a chat room: %2$s": [\n null,\n ""\n ],\n "%1$s has invited you to join a chat room: %2$s, and left the following reason: \\"%3$s\\"": [\n null,\n ""\n ],\n "Minimized": [\n null,\n ""\n ],\n "Click to remove this contact": [\n null,\n "Удалить контакт"\n ],\n "Click to chat with this contact": [\n null,\n "Начать общение"\n ],\n "Name": [\n null,\n ""\n ],\n "Sorry, there was an error while trying to remove ": [\n null,\n ""\n ],\n "Sorry, there was an error while trying to add ": [\n null,\n ""\n ],\n "This client does not allow presence subscriptions": [\n null,\n ""\n ],\n "Type to filter": [\n null,\n ""\n ],\n "I am %1$s": [\n null,\n "%1$s"\n ],\n "Click here to write a custom status message": [\n null,\n "Редактировать произвольный статус"\n ],\n "Click to change your chat status": [\n null,\n "Изменить ваш статус"\n ],\n "Custom status": [\n null,\n "Произвольный статус"\n ],\n "online": [\n null,\n "на связи"\n ],\n "busy": [\n null,\n "занят"\n ],\n "away for long": [\n null,\n "отошёл на долго"\n ],\n "away": [\n null,\n "отошёл"\n ],\n "Your XMPP provider\'s domain name:": [\n null,\n ""\n ],\n "Fetch registration form": [\n null,\n ""\n ],\n "Tip: A list of public XMPP providers is available": [\n null,\n ""\n ],\n "here": [\n null,\n ""\n ],\n "Register": [\n null,\n ""\n ],\n "Sorry, the given provider does not support in band account registration. Please try with a different provider.": [\n null,\n ""\n ],\n "Requesting a registration form from the XMPP server": [\n null,\n ""\n ],\n "Something went wrong while establishing a connection with \\"%1$s\\". Are you sure it exists?": [\n null,\n ""\n ],\n "Now logging you in": [\n null,\n ""\n ],\n "Registered successfully": [\n null,\n ""\n ],\n "Return": [\n null,\n ""\n ],\n "The provider rejected your registration attempt. Please check the values you entered for correctness.": [\n null,\n ""\n ],\n "Password:": [\n null,\n "Пароль:"\n ],\n "Log In": [\n null,\n "Войти"\n ],\n "user@server": [\n null,\n ""\n ],\n "Sign in": [\n null,\n "Подписать"\n ],\n "Toggle chat": [\n null,\n ""\n ]\n }\n }\n}'}),define("text!uk",[],function(){return'{\n "domain": "converse",\n "locale_data": {\n "converse": {\n "": {\n "domain": "converse",\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 "lang": "uk"\n },\n " e.g. conversejs.org": [\n null,\n " напр. conversejs.org"\n ],\n "unencrypted": [\n null,\n "некриптовано"\n ],\n "unverified": [\n null,\n "неперевірено"\n ],\n "verified": [\n null,\n "перевірено"\n ],\n "finished": [\n null,\n "завершено"\n ],\n "This contact is busy": [\n null,\n "Цей контакт зайнятий"\n ],\n "This contact is online": [\n null,\n "Цей контакт на зв\'язку"\n ],\n "This contact is offline": [\n null,\n "Цей контакт поза мережею"\n ],\n "This contact is unavailable": [\n null,\n "Цей контакт недоступний"\n ],\n "This contact is away for an extended period": [\n null,\n "Цей контакт відсутній тривалий час"\n ],\n "This contact is away": [\n null,\n "Цей контакт відсутній"\n ],\n "Click to hide these contacts": [\n null,\n "Клацніть, щоб приховати ці контакти"\n ],\n "My contacts": [\n null,\n "Мої контакти"\n ],\n "Pending contacts": [\n null,\n "Контакти в очікуванні"\n ],\n "Contact requests": [\n null,\n "Запити контакту"\n ],\n "Ungrouped": [\n null,\n "Негруповані"\n ],\n "Contacts": [\n null,\n "Контакти"\n ],\n "Groups": [\n null,\n "Групи"\n ],\n "Attempting to reconnect in 5 seconds": [\n null,\n ""\n ],\n "Error": [\n null,\n "Помилка"\n ],\n "Connecting": [\n null,\n "Під\'єднуюсь"\n ],\n "Authenticating": [\n null,\n "Автентикуюсь"\n ],\n "Authentication Failed": [\n null,\n "Автентикація невдала"\n ],\n "Re-establishing encrypted session": [\n null,\n "Перевстановлюю криптований сеанс"\n ],\n "Generating private key.": [\n null,\n "Генерація приватного ключа."\n ],\n "Your browser might become unresponsive.": [\n null,\n "Ваш браузер може підвиснути."\n ],\n "Authentication request from %1$s\\n\\nYour chat contact is attempting to verify your identity, by asking you the question below.\\n\\n%2$s": [\n null,\n "Запит автентикації від %1$s\\n\\nВаш контакт в чаті намагається встановити Вашу особу і просить відповісти на питання нижче.\\n\\n%2$s"\n ],\n "Could not verify this user\'s identify.": [\n null,\n "Не можу перевірити автентичність цього користувача."\n ],\n "Exchanging private key with contact.": [\n null,\n "Обмін приватним ключем з контактом."\n ],\n "Minimize this chat box": [\n null,\n ""\n ],\n "Personal message": [\n null,\n "Персональна вісточка"\n ],\n "Are you sure you want to clear the messages from this room?": [\n null,\n "Ви впевнені, що хочете очистити повідомлення з цієї кімнати?"\n ],\n "me": [\n null,\n "я"\n ],\n "is typing": [\n null,\n "друкує"\n ],\n "has stopped typing": [\n null,\n "припинив друкувати"\n ],\n "has gone away": [\n null,\n "пішов геть"\n ],\n "Show this menu": [\n null,\n "Показати це меню"\n ],\n "Write in the third person": [\n null,\n "Писати від третьої особи"\n ],\n "Remove messages": [\n null,\n "Видалити повідомлення"\n ],\n "Are you sure you want to clear the messages from this chat box?": [\n null,\n "Ви впевнені, що хочете очистити повідомлення з цього вікна чату?"\n ],\n "Your message could not be sent": [\n null,\n "Ваше повідомлення не може бути надіслане"\n ],\n "We received an unencrypted message": [\n null,\n "Ми отримали некриптоване повідомлення"\n ],\n "We received an unreadable encrypted message": [\n null,\n "Ми отримали нечитабельне криптоване повідомлення"\n ],\n "Here are the fingerprints, please confirm them with %1$s, outside of this chat.\\n\\nFingerprint for you, %2$s: %3$s\\n\\nFingerprint for %1$s: %4$s\\n\\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.": [\n null,\n "Ось відбитки, будь-ласка, підтвердіть їх з %1$s, за межами цього чату.\\n\\nВідбиток для Вас, %2$s: %3$s\\n\\nВідбиток для %1$s: %4$s\\n\\nЯкщо Ви підтверджуєте відповідність відбитка, клацніть Гаразд, інакше клацніть Відміна."\n ],\n "You will be prompted to provide a security question and then an answer to that question.\\n\\nYour contact will then be prompted the same question and if they type the exact same answer (case sensitive), their identity will be verified.": [\n null,\n "Вас запитають таємне питання і відповідь на нього.\\n\\nПотім Вашого контакта запитають те саме питання, і якщо вони введуть ту саму відповідь (враховуючи регістр), їх особи будуть перевірені."\n ],\n "What is your security question?": [\n null,\n "Яке Ваше таємне питання?"\n ],\n "What is the answer to the security question?": [\n null,\n "Яка відповідь на таємне питання?"\n ],\n "Invalid authentication scheme provided": [\n null,\n "Надана некоректна схема автентикації"\n ],\n "has gone offline": [\n null,\n "тепер поза мережею"\n ],\n "is busy": [\n null,\n "зайнятий"\n ],\n "Your messages are not encrypted anymore": [\n null,\n "Ваші повідомлення більше не криптуються"\n ],\n "Your messages are now encrypted but your contact\'s identity has not been verified.": [\n null,\n "Ваші повідомлення вже криптуються, але особа Вашого контакту не перевірена."\n ],\n "Your contact\'s identify has been verified.": [\n null,\n "Особу Вашого контакту перевірено."\n ],\n "Your contact has ended encryption on their end, you should do the same.": [\n null,\n "Ваш контакт припинив криптування зі свого боку, Вам слід зробити те саме."\n ],\n "Your messages are not encrypted. Click here to enable OTR encryption.": [\n null,\n "Ваші повідомлення не криптуються. Клацніть тут, щоб увімкнути OTR-криптування."\n ],\n "Your messages are encrypted, but your contact has not been verified.": [\n null,\n "Ваші повідомлення криптуються, але Ваш контакт не був перевірений."\n ],\n "Your messages are encrypted and your contact verified.": [\n null,\n "Ваші повідомлення криптуються і Ваш контакт перевірено."\n ],\n "Your contact has closed their end of the private session, you should do the same": [\n null,\n "Ваш контакт закрив зі свого боку приватну сесію, Вам слід зробити те ж саме"\n ],\n "Clear all messages": [\n null,\n "Очистити всі повідомлення"\n ],\n "End encrypted conversation": [\n null,\n "Завершити криптовану розмову"\n ],\n "Insert a smiley": [\n null,\n ""\n ],\n "Refresh encrypted conversation": [\n null,\n "Оновити криптовану розмову"\n ],\n "Start a call": [\n null,\n "Почати виклик"\n ],\n "Start encrypted conversation": [\n null,\n "Почати криптовану розмову"\n ],\n "Verify with fingerprints": [\n null,\n "Перевірити за відбитками"\n ],\n "Verify with SMP": [\n null,\n "Перевірити за SMP"\n ],\n "What\'s this?": [\n null,\n "Що це?"\n ],\n "Online": [\n null,\n "На зв\'язку"\n ],\n "Busy": [\n null,\n "Зайнятий"\n ],\n "Away": [\n null,\n "Далеко"\n ],\n "Offline": [\n null,\n "Поза мережею"\n ],\n "Log out": [\n null,\n "Вийти"\n ],\n "Contact name": [\n null,\n "Назва контакту"\n ],\n "Search": [\n null,\n "Пошук"\n ],\n "e.g. user@example.com": [\n null,\n ""\n ],\n "Add": [\n null,\n "Додати"\n ],\n "Click to add new chat contacts": [\n null,\n "Клацніть, щоб додати нові контакти до чату"\n ],\n "Add a contact": [\n null,\n "Додати контакт"\n ],\n "No users found": [\n null,\n "Жодного користувача не знайдено"\n ],\n "Click to add as a chat contact": [\n null,\n "Клацніть, щоб додати як чат-контакт"\n ],\n "Room name": [\n null,\n "Назва кімнати"\n ],\n "Nickname": [\n null,\n "Прізвисько"\n ],\n "Server": [\n null,\n "Сервер"\n ],\n "Join Room": [\n null,\n "Приєднатися до кімнати"\n ],\n "Show rooms": [\n null,\n "Показати кімнати"\n ],\n "Rooms": [\n null,\n "Кімнати"\n ],\n "No rooms on %1$s": [\n null,\n "Жодної кімнати на %1$s"\n ],\n "Rooms on %1$s": [\n null,\n "Кімнати на %1$s"\n ],\n "Click to open this room": [\n null,\n "Клацніть, щоб увійти в цю кімнату"\n ],\n "Show more information on this room": [\n null,\n "Показати більше інформації про цю кімату"\n ],\n "Description:": [\n null,\n "Опис:"\n ],\n "Occupants:": [\n null,\n "Присутні:"\n ],\n "Features:": [\n null,\n "Особливості:"\n ],\n "Requires authentication": [\n null,\n "Вимагає автентикації"\n ],\n "Hidden": [\n null,\n "Прихована"\n ],\n "Requires an invitation": [\n null,\n "Вимагає запрошення"\n ],\n "Moderated": [\n null,\n "Модерована"\n ],\n "Non-anonymous": [\n null,\n "Не-анонімні"\n ],\n "Open room": [\n null,\n "Увійти в кімнату"\n ],\n "Permanent room": [\n null,\n "Постійна кімната"\n ],\n "Public": [\n null,\n "Публічна"\n ],\n "Semi-anonymous": [\n null,\n "Напів-анонімна"\n ],\n "Temporary room": [\n null,\n "Тимчасова кімната"\n ],\n "Unmoderated": [\n null,\n "Немодерована"\n ],\n "This user is a moderator": [\n null,\n "Цей користувач є модератором"\n ],\n "This user can send messages in this room": [\n null,\n "Цей користувач може слати повідомлення в цій кімнаті"\n ],\n "This user can NOT send messages in this room": [\n null,\n "Цей користувач НЕ МОЖЕ слати повідомлення в цій кімнаті"\n ],\n "Invite...": [\n null,\n "Запросіть..."\n ],\n "Occupants": [\n null,\n "Учасники"\n ],\n "You are about to invite %1$s to the chat room \\"%2$s\\". ": [\n null,\n "Ви запрошуєте %1$s до чату \\"%2$s\\". "\n ],\n "You may optionally include a message, explaining the reason for the invitation.": [\n null,\n "Ви можете опціонально додати повідомлення, щоб пояснити причину запрошення."\n ],\n "Message": [\n null,\n "Повідомлення"\n ],\n "Error: could not execute the command": [\n null,\n "Помилка: Не можу виконати команду"\n ],\n "Error: the \\"": [\n null,\n ""\n ],\n "Change user\'s affiliation to admin": [\n null,\n "Призначити користувача адміністратором"\n ],\n "Ban user from room": [\n null,\n "Заблокувати і викинути з кімнати"\n ],\n "Kick user from room": [\n null,\n "Викинути з кімнати"\n ],\n "Write in 3rd person": [\n null,\n "Писати в 3-й особі"\n ],\n "Grant membership to a user": [\n null,\n "Надати членство користувачу"\n ],\n "Remove user\'s ability to post messages": [\n null,\n "Забрати можливість слати повідомлення"\n ],\n "Change your nickname": [\n null,\n "Змінити Ваше прізвисько"\n ],\n "Grant moderator role to user": [\n null,\n "Надати права модератора"\n ],\n "Grant ownership of this room": [\n null,\n "Передати у власність цю кімнату"\n ],\n "Revoke user\'s membership": [\n null,\n "Забрати членство в користувача"\n ],\n "Set room topic": [\n null,\n "Встановити тему кімнати"\n ],\n "Allow muted user to post messages": [\n null,\n "Дозволити безголосому користувачу слати повідомлення"\n ],\n "Save": [\n null,\n "Зберегти"\n ],\n "Cancel": [\n null,\n "Відміна"\n ],\n "An error occurred while trying to save the form.": [\n null,\n "Трапилася помилка при спробі зберегти форму."\n ],\n "This chatroom requires a password": [\n null,\n "Ця кімната вимагає пароль"\n ],\n "Password: ": [\n null,\n "Пароль:"\n ],\n "Submit": [\n null,\n "Надіслати"\n ],\n "This room is not anonymous": [\n null,\n "Ця кімната не є анонімною"\n ],\n "This room now shows unavailable members": [\n null,\n "Ця кімната вже показує недоступних учасників"\n ],\n "This room does not show unavailable members": [\n null,\n "Ця кімната не показує недоступних учасників"\n ],\n "Non-privacy-related room configuration has changed": [\n null,\n "Змінено конфігурацію кімнати, не повязану з приватністю"\n ],\n "Room logging is now enabled": [\n null,\n "Журналювання кімнати тепер ввімкнено"\n ],\n "Room logging is now disabled": [\n null,\n "Журналювання кімнати тепер вимкнено"\n ],\n "This room is now non-anonymous": [\n null,\n "Ця кімната тепер не-анонімна"\n ],\n "This room is now semi-anonymous": [\n null,\n "Ця кімната тепер напів-анонімна"\n ],\n "This room is now fully-anonymous": [\n null,\n "Ця кімната тепер повністю анонімна"\n ],\n "A new room has been created": [\n null,\n "Створено нову кімнату"\n ],\n "You have been banned from this room": [\n null,\n "Вам заблокували доступ до цієї кімнати"\n ],\n "You have been kicked from this room": [\n null,\n "Вас викинули з цієї кімнати"\n ],\n "You have been removed from this room because of an affiliation change": [\n null,\n "Вас видалено з кімнати у зв\'язку зі змінами власності кімнати"\n ],\n "You have been removed from this room because the room has changed to members-only and you\'re not a member": [\n null,\n "Вас видалено з цієї кімнати, оскільки вона тепер вимагає членства, а Ви ним не є її членом"\n ],\n "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [\n null,\n "Вас видалено з цієї кімнати, тому що MUC (Чат-сервіс) припиняє роботу."\n ],\n "%1$s has been banned": [\n null,\n "%1$s заблоковано"\n ],\n "%1$s\'s nickname has changed": [\n null,\n "Прізвисько %1$s змінено"\n ],\n "%1$s has been kicked out": [\n null,\n "%1$s було викинуто звідси"\n ],\n "%1$s has been removed because of an affiliation change": [\n null,\n "%1$s було видалено через зміни власності кімнати"\n ],\n "%1$s has been removed for not being a member": [\n null,\n "%1$s було виделано через відсутність членства"\n ],\n "Your nickname has been automatically changed to: %1$s": [\n null,\n "Ваше прізвисько було автоматично змінене на: %1$s"\n ],\n "Your nickname has been changed to: %1$s": [\n null,\n "Ваше прізвисько було змінене на: %1$s"\n ],\n "The reason given is: \\"": [\n null,\n "Причиною вказано: \\""\n ],\n "You are not on the member list of this room": [\n null,\n "Ви не є у списку членів цієї кімнати"\n ],\n "No nickname was specified": [\n null,\n "Не вказане прізвисько"\n ],\n "You are not allowed to create new rooms": [\n null,\n "Вам не дозволено створювати нові кімнати"\n ],\n "Your nickname doesn\'t conform to this room\'s policies": [\n null,\n "Ваше прізвисько не відповідає політиці кімнати"\n ],\n "Your nickname is already taken": [\n null,\n "Таке прізвисько вже зайняте"\n ],\n "This room does not (yet) exist": [\n null,\n "Такої кімнати (поки) не існує"\n ],\n "This room has reached it\'s maximum number of occupants": [\n null,\n "Ця кімната досягнула максимуму учасників"\n ],\n "Topic set by %1$s to: %2$s": [\n null,\n "Тема встановлена %1$s: %2$s"\n ],\n "%1$s has invited you to join a chat room: %2$s": [\n null,\n "%1$s запрошує вас приєднатись до чату: %2$s"\n ],\n "%1$s has invited you to join a chat room: %2$s, and left the following reason: \\"%3$s\\"": [\n null,\n "%1$s запрошує Вас приєднатись до чату: %2$s, аргументує ось як: \\"%3$s\\""\n ],\n "Click to restore this chat": [\n null,\n "Клацніть, щоб відновити цей чат"\n ],\n "Minimized": [\n null,\n "Мінімізовано"\n ],\n "Click to remove this contact": [\n null,\n "Клацніть, щоб видалити цей контакт"\n ],\n "Click to accept this contact request": [\n null,\n "Клацніть, щоб прийняти цей запит контакту"\n ],\n "Click to decline this contact request": [\n null,\n "Клацніть, щоб відхилити цей запит контакту"\n ],\n "Click to chat with this contact": [\n null,\n "Клацніть, щоб почати розмову з цим контактом"\n ],\n "Name": [\n null,\n ""\n ],\n "Are you sure you want to remove this contact?": [\n null,\n "Ви впевнені, що хочете видалити цей контакт?"\n ],\n "Sorry, there was an error while trying to remove ": [\n null,\n ""\n ],\n "Are you sure you want to decline this contact request?": [\n null,\n "Ви впевнені, що хочете відхилити цей запит контакту?"\n ],\n "Sorry, there was an error while trying to add ": [\n null,\n ""\n ],\n "This client does not allow presence subscriptions": [\n null,\n ""\n ],\n "Type to filter": [\n null,\n "Друкуйте для фільтру"\n ],\n "I am %1$s": [\n null,\n "Я %1$s"\n ],\n "Click here to write a custom status message": [\n null,\n "Клацніть тут, щоб створити власний статус"\n ],\n "Click to change your chat status": [\n null,\n "Клацніть, щоб змінити статус в чаті"\n ],\n "Custom status": [\n null,\n "Власний статус"\n ],\n "online": [\n null,\n "на зв\'язку"\n ],\n "busy": [\n null,\n "зайнятий"\n ],\n "away for long": [\n null,\n "давно відсутній"\n ],\n "away": [\n null,\n "відсутній"\n ],\n "Your XMPP provider\'s domain name:": [\n null,\n "Домен Вашого провайдера XMPP:"\n ],\n "Fetch registration form": [\n null,\n "Отримати форму реєстрації"\n ],\n "Tip: A list of public XMPP providers is available": [\n null,\n "Порада: доступний перелік публічних XMPP-провайдерів"\n ],\n "here": [\n null,\n "тут"\n ],\n "Register": [\n null,\n "Реєстрація"\n ],\n "Sorry, the given provider does not support in band account registration. Please try with a different provider.": [\n null,\n "Вибачте, вказаний провайдер не підтримує реєстрації онлайн. Спробуйте іншого провайдера."\n ],\n "Requesting a registration form from the XMPP server": [\n null,\n "Запитую форму реєстрації з XMPP сервера"\n ],\n "Something went wrong while establishing a connection with \\"%1$s\\". Are you sure it exists?": [\n null,\n "Щось пішло не так при встановленні зв\'язку з \\"%1$s\\". Ви впевнені, що такий існує?"\n ],\n "Now logging you in": [\n null,\n "Входимо"\n ],\n "Registered successfully": [\n null,\n "Успішно зареєстровано"\n ],\n "Return": [\n null,\n "Вернутися"\n ],\n "XMPP Username:": [\n null,\n "XMPP адреса:"\n ],\n "Password:": [\n null,\n "Пароль:"\n ],\n "Log In": [\n null,\n "Ввійти"\n ],\n "user@server": [\n null,\n ""\n ],\n "Sign in": [\n null,\n "Вступити"\n ],\n "Toggle chat": [\n null,\n "Включити чат"\n ]\n }\n }\n}'}),define("text!zh",[],function(){return'{\n "domain": "converse",\n "locale_data": {\n "converse": {\n "": {\n "domain": "converse",\n "lang": "zh"\n },\n " e.g. conversejs.org": [\n null,\n ""\n ],\n "unencrypted": [\n null,\n "未加密"\n ],\n "unverified": [\n null,\n "未验证"\n ],\n "verified": [\n null,\n "已验证"\n ],\n "finished": [\n null,\n "结束了"\n ],\n "This contact is busy": [\n null,\n "对方忙碌中"\n ],\n "This contact is online": [\n null,\n "对方在线中"\n ],\n "This contact is offline": [\n null,\n "对方已下线"\n ],\n "This contact is unavailable": [\n null,\n "对方免打扰"\n ],\n "This contact is away for an extended period": [\n null,\n "对方暂时离开"\n ],\n "This contact is away": [\n null,\n "对方离开"\n ],\n "My contacts": [\n null,\n "我的好友列表"\n ],\n "Pending contacts": [\n null,\n "保留中的联系人"\n ],\n "Contact requests": [\n null,\n "来自好友的请求"\n ],\n "Ungrouped": [\n null,\n ""\n ],\n "Contacts": [\n null,\n "联系人"\n ],\n "Groups": [\n null,\n ""\n ],\n "Attempting to reconnect in 5 seconds": [\n null,\n ""\n ],\n "Error": [\n null,\n "错误"\n ],\n "Connecting": [\n null,\n "连接中"\n ],\n "Authenticating": [\n null,\n "验证中"\n ],\n "Authentication Failed": [\n null,\n "验证失败"\n ],\n "Re-establishing encrypted session": [\n null,\n "重新建立加密会话"\n ],\n "Generating private key.": [\n null,\n "正在生成私钥"\n ],\n "Your browser might become unresponsive.": [\n null,\n "您的浏览器可能会暂时无响应"\n ],\n "Could not verify this user\'s identify.": [\n null,\n "无法验证对方信息。"\n ],\n "Minimize this chat box": [\n null,\n ""\n ],\n "Personal message": [\n null,\n "私信"\n ],\n "me": [\n null,\n "我"\n ],\n "is typing": [\n null,\n ""\n ],\n "has stopped typing": [\n null,\n ""\n ],\n "Show this menu": [\n null,\n "显示此项菜单"\n ],\n "Write in the third person": [\n null,\n "以第三者身份写"\n ],\n "Remove messages": [\n null,\n "移除消息"\n ],\n "Are you sure you want to clear the messages from this chat box?": [\n null,\n "你确定清除此次的聊天记录吗?"\n ],\n "Your message could not be sent": [\n null,\n "您的消息无法送出"\n ],\n "We received an unencrypted message": [\n null,\n "我们收到了一条未加密的信息"\n ],\n "We received an unreadable encrypted message": [\n null,\n "我们收到一条无法读取的信息"\n ],\n "Here are the fingerprints, please confirm them with %1$s, outside of this chat.\\n\\nFingerprint for you, %2$s: %3$s\\n\\nFingerprint for %1$s: %4$s\\n\\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.": [\n null,\n "这里是指纹。请与 %1$s 确认。\\n\\n您的 %2$s 指纹: %3$s\\n\\n%1$s 的指纹: %4$s\\n\\n如果确认符合,请点击OK,否则点击取消"\n ],\n "What is your security question?": [\n null,\n "您的安全问题是?"\n ],\n "What is the answer to the security question?": [\n null,\n "此安全问题的答案是?"\n ],\n "Invalid authentication scheme provided": [\n null,\n "非法的认证方式"\n ],\n "Your messages are not encrypted anymore": [\n null,\n "您的消息将不再被加密"\n ],\n "Your messages are not encrypted. Click here to enable OTR encryption.": [\n null,\n "您的消息未加密。点击这里来启用OTR加密"\n ],\n "End encrypted conversation": [\n null,\n "结束加密的会话"\n ],\n "Insert a smiley": [\n null,\n ""\n ],\n "Hide the list of occupants": [\n null,\n ""\n ],\n "Refresh encrypted conversation": [\n null,\n "刷新加密的会话"\n ],\n "Start a call": [\n null,\n ""\n ],\n "Start encrypted conversation": [\n null,\n "开始加密的会话"\n ],\n "Verify with fingerprints": [\n null,\n "验证指纹"\n ],\n "Verify with SMP": [\n null,\n "验证SMP"\n ],\n "What\'s this?": [\n null,\n "这是什么?"\n ],\n "Online": [\n null,\n "在线"\n ],\n "Busy": [\n null,\n "忙碌中"\n ],\n "Away": [\n null,\n "离开"\n ],\n "Offline": [\n null,\n "离线"\n ],\n "Contact name": [\n null,\n "联系人名称"\n ],\n "Search": [\n null,\n "搜索"\n ],\n "e.g. user@example.com": [\n null,\n ""\n ],\n "Add": [\n null,\n "添加"\n ],\n "Click to add new chat contacts": [\n null,\n "点击添加新联系人"\n ],\n "Add a contact": [\n null,\n "添加联系人"\n ],\n "No users found": [\n null,\n "未找到用户"\n ],\n "Click to add as a chat contact": [\n null,\n "点击添加为好友"\n ],\n "Room name": [\n null,\n "聊天室名称"\n ],\n "Nickname": [\n null,\n "昵称"\n ],\n "Server": [\n null,\n "服务器"\n ],\n "Show rooms": [\n null,\n "显示所有聊天室"\n ],\n "Rooms": [\n null,\n "聊天室"\n ],\n "No rooms on %1$s": [\n null,\n "%1$s 上没有聊天室"\n ],\n "Rooms on %1$s": [\n null,\n "%1$s 上的聊天室"\n ],\n "Click to open this room": [\n null,\n "打开聊天室"\n ],\n "Show more information on this room": [\n null,\n "显示次聊天室的更多信息"\n ],\n "Description:": [\n null,\n "描述: "\n ],\n "Occupants:": [\n null,\n "成员:"\n ],\n "Features:": [\n null,\n "特性:"\n ],\n "Requires authentication": [\n null,\n "需要验证"\n ],\n "Hidden": [\n null,\n "隐藏的"\n ],\n "Requires an invitation": [\n null,\n "需要被邀请"\n ],\n "Moderated": [\n null,\n "发言受限"\n ],\n "Non-anonymous": [\n null,\n "非匿名"\n ],\n "Open room": [\n null,\n "打开聊天室"\n ],\n "Permanent room": [\n null,\n "永久聊天室"\n ],\n "Public": [\n null,\n "公开的"\n ],\n "Semi-anonymous": [\n null,\n "半匿名"\n ],\n "Temporary room": [\n null,\n "临时聊天室"\n ],\n "Unmoderated": [\n null,\n "无发言限制"\n ],\n "This user is a moderator": [\n null,\n "此用户是主持人"\n ],\n "This user can send messages in this room": [\n null,\n "此用户在这房间里可发消息"\n ],\n "This user can NOT send messages in this room": [\n null,\n "此用户不可在此房间发消息"\n ],\n "Invite...": [\n null,\n ""\n ],\n "You are about to invite %1$s to the chat room \\"%2$s\\". ": [\n null,\n ""\n ],\n "You may optionally include a message, explaining the reason for the invitation.": [\n null,\n ""\n ],\n "Message": [\n null,\n "信息"\n ],\n "Error: could not execute the command": [\n null,\n ""\n ],\n "Error: the \\"": [\n null,\n ""\n ],\n "Change user\'s affiliation to admin": [\n null,\n ""\n ],\n "Change user role to occupant": [\n null,\n ""\n ],\n "Grant membership to a user": [\n null,\n ""\n ],\n "Remove user\'s ability to post messages": [\n null,\n ""\n ],\n "Change your nickname": [\n null,\n ""\n ],\n "Grant moderator role to user": [\n null,\n ""\n ],\n "Revoke user\'s membership": [\n null,\n ""\n ],\n "Allow muted user to post messages": [\n null,\n ""\n ],\n "Save": [\n null,\n "保存"\n ],\n "Cancel": [\n null,\n "取消"\n ],\n "An error occurred while trying to save the form.": [\n null,\n "保存表单是出错。"\n ],\n "This chatroom requires a password": [\n null,\n "此聊天室需要密码"\n ],\n "Password: ": [\n null,\n "密码:"\n ],\n "Submit": [\n null,\n "发送"\n ],\n "This room is not anonymous": [\n null,\n "此为非匿名聊天室"\n ],\n "This room now shows unavailable members": [\n null,\n "此聊天室显示不可用用户"\n ],\n "This room does not show unavailable members": [\n null,\n "此聊天室不显示不可用用户"\n ],\n "Non-privacy-related room configuration has changed": [\n null,\n "此聊天室设置(非私密性)已改变"\n ],\n "Room logging is now enabled": [\n null,\n "聊天室聊天记录已启用"\n ],\n "Room logging is now disabled": [\n null,\n "聊天室聊天记录已禁用"\n ],\n "This room is now non-anonymous": [\n null,\n "此聊天室非匿名"\n ],\n "This room is now semi-anonymous": [\n null,\n "此聊天室半匿名"\n ],\n "This room is now fully-anonymous": [\n null,\n "此聊天室完全匿名"\n ],\n "A new room has been created": [\n null,\n "新聊天室已创建"\n ],\n "You have been banned from this room": [\n null,\n "您已被此聊天室禁止入内"\n ],\n "You have been kicked from this room": [\n null,\n "您已被踢出次房间"\n ],\n "You have been removed from this room because of an affiliation change": [\n null,\n "由于关系变化,您已被移除此房间"\n ],\n "You have been removed from this room because the room has changed to members-only and you\'re not a member": [\n null,\n "您已被移除此房间因为此房间更改为只允许成员加入,而您非成员"\n ],\n "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [\n null,\n "由于服务不可用,您已被移除此房间。"\n ],\n "%1$s has been banned": [\n null,\n "%1$s 已被禁止"\n ],\n "%1$s has been kicked out": [\n null,\n "%1$s 已被踢出"\n ],\n "%1$s has been removed because of an affiliation change": [\n null,\n "由于关系解除、%1$s 已被移除"\n ],\n "%1$s has been removed for not being a member": [\n null,\n "由于不是成员、%1$s 已被移除"\n ],\n "The reason given is: \\"": [\n null,\n ""\n ],\n "You are not on the member list of this room": [\n null,\n "您并非此房间成员"\n ],\n "No nickname was specified": [\n null,\n "未指定昵称"\n ],\n "You are not allowed to create new rooms": [\n null,\n "您可此创建新房间了"\n ],\n "Your nickname doesn\'t conform to this room\'s policies": [\n null,\n "您的昵称不符合此房间标准"\n ],\n "Your nickname is already taken": [\n null,\n "您的昵称已被占用"\n ],\n "This room does not (yet) exist": [\n null,\n "此房间不存在"\n ],\n "This room has reached it\'s maximum number of occupants": [\n null,\n "此房间人数已达上线"\n ],\n "Topic set by %1$s to: %2$s": [\n null,\n "%1$s 设置话题为: %2$s"\n ],\n "%1$s has invited you to join a chat room: %2$s": [\n null,\n ""\n ],\n "%1$s has invited you to join a chat room: %2$s, and left the following reason: \\"%3$s\\"": [\n null,\n ""\n ],\n "Minimized": [\n null,\n "最小化的"\n ],\n "Click to remove this contact": [\n null,\n "点击移除联系人"\n ],\n "Click to chat with this contact": [\n null,\n "点击与对方交谈"\n ],\n "Name": [\n null,\n ""\n ],\n "Sorry, there was an error while trying to remove ": [\n null,\n ""\n ],\n "Sorry, there was an error while trying to add ": [\n null,\n ""\n ],\n "This client does not allow presence subscriptions": [\n null,\n ""\n ],\n "Type to filter": [\n null,\n ""\n ],\n "I am %1$s": [\n null,\n "我现在%1$s"\n ],\n "Click here to write a custom status message": [\n null,\n "点击这里,填写状态信息"\n ],\n "Click to change your chat status": [\n null,\n "点击这里改变聊天状态"\n ],\n "Custom status": [\n null,\n "DIY状态"\n ],\n "online": [\n null,\n "在线"\n ],\n "busy": [\n null,\n "忙碌"\n ],\n "away for long": [\n null,\n "长时间离开"\n ],\n "away": [\n null,\n "离开"\n ],\n "Your XMPP provider\'s domain name:": [\n null,\n ""\n ],\n "Fetch registration form": [\n null,\n ""\n ],\n "Tip: A list of public XMPP providers is available": [\n null,\n ""\n ],\n "here": [\n null,\n ""\n ],\n "Register": [\n null,\n ""\n ],\n "Sorry, the given provider does not support in band account registration. Please try with a different provider.": [\n null,\n ""\n ],\n "Requesting a registration form from the XMPP server": [\n null,\n ""\n ],\n "Something went wrong while establishing a connection with \\"%1$s\\". Are you sure it exists?": [\n null,\n ""\n ],\n "Now logging you in": [\n null,\n ""\n ],\n "Registered successfully": [\n null,\n ""\n ],\n "Return": [\n null,\n ""\n ],\n "The provider rejected your registration attempt. Please check the values you entered for correctness.": [\n null,\n ""\n ],\n "Password:": [\n null,\n "密码:"\n ],\n "Log In": [\n null,\n "登录"\n ],\n "user@server": [\n null,\n ""\n ],\n "Sign in": [\n null,\n "登录"\n ],\n "Toggle chat": [\n null,\n "折叠聊天窗口"\n ]\n }\n }\n}'}),function(e,t){define("locales",["jquery","jed","text!af","text!de","text!en","text!es","text!fr","text!he","text!hu","text!id","text!it","text!ja","text!nb","text!nl","text!pl","text!pt_BR","text!ru","text!uk","text!zh"],function(t,n){return e.locales={af:arguments[2],de:arguments[3],en:arguments[4],es:arguments[5],fr:arguments[6],he:arguments[7],hu:arguments[8],id:arguments[9],it:arguments[10],ja:arguments[11],nb:arguments[12],nl:arguments[13],pl:arguments[14],"pt-br":arguments[15],ru:arguments[16],uk:arguments[17],zh:arguments[18]},e.locales})}(this),function(e,t){typeof define=="function"&&define.amd?define("utils",["jquery","underscore","converse-templates","locales"],t):e.utils=t(jQuery,_,templates)}(this,function(e,t,n,r){"use strict";var i={"text-private":"password","text-single":"text",fixed:"label","boolean":"checkbox",hidden:"hidden","jid-multi":"textarea","list-single":"dropdown","list-multi":"dropdown"};e.expr[":"].emptyVal=function(e){return e.value===""},e.fn.hasScrollBar=function(){return e.contains(document,this.get(0))?this.parent().height()0&&this.each(function(t,n){var r=e(n).html(),i=r.match(/\b(https?:\/\/|www\.|https?:\/\/www\.)[^\s<]{2,200}\b/g);if(i)for(t=0;t"+i[t]+"")}e(n).html(r)}),this},e.fn.addEmoticons=function(t){return t&&this.length>0&&this.each(function(t,n){var r=e(n).html();r=r.replace(/>:\)/g,''),r=r.replace(/:\)/g,''),r=r.replace(/:\-\)/g,''),r=r.replace(/;\)/g,''),r=r.replace(/;\-\)/g,''),r=r.replace(/:D/g,''),r=r.replace(/:\-D/g,''),r=r.replace(/:P/g,''),r=r.replace(/:\-P/g,''),r=r.replace(/:p/g,''),r=r.replace(/:\-p/g,''),r=r.replace(/8\)/g,''),r=r.replace(/:S/g,''),r=r.replace(/:\\/g,''),r=r.replace(/:\/ /g,''),r=r.replace(/>:\(/g,''),r=r.replace(/:\(/g,''),r=r.replace(/:\-\(/g,''),r=r.replace(/:O/g,''),r=r.replace(/:\-O/g,''),r=r.replace(/\=\-O/g,''),r=r.replace(/\(\^.\^\)b/g,''),r=r.replace(/<3/g,''),e(n).html(r)}),this};var s={__:function(t){typeof this.i18n=="undefined"&&(this.i18n=r.en),typeof this.i18n=="string"&&(this.i18n=e.parseJSON(this.i18n)),typeof this.jed=="undefined"&&(this.jed=new Jed(this.i18n));var n=this.jed.translate(t);return arguments.length>1?n.fetch.apply(n,[].slice.call(arguments,1)):n.fetch()},___:function(e){return e},webForm2xForm:function(t){var r=e(t),i;if(r.is("[type=checkbox]"))i=r.is(":checked")&&1||0;else if(r.is("textarea")){i=[];var s=r.val().split("\n");for(var o=0;o=0,required:r.find("required").length}));return n.form_select({name:r.attr("var"),label:r.attr("label"),options:o.join(""),multiple:r.attr("type")==="list-multi",required:r.find("required").length})}if(r.attr("type")==="fixed")return e('
').text(e)),this.scrollDown()},clearChatRoomMessages:function(e){typeof e!="undefined"&&e.stopPropagation();var t=confirm(q("Are you sure you want to clear the messages from this room?"));return t===!0&&this.$content.empty(),this},addSpinner:function(){this.$content.first().hasClass("spinner")||this.$content.prepend('')},clearSpinner:function(){this.$content.children(":first").is("span.spinner")&&this.$content.children(":first").remove()},prependDayIndicator:function(e){var t=l(e).startOf("day");this.$content.prepend(m.templates.new_day({isodate:t.format(),datestring:t.format("dddd MMM Do YYYY")}))},appendMessage:function(e){f.compose(f.debounce(this.scrollDown.bind(this),50),this.$content.append.bind(this.$content))(this.renderMessage(e))},showMessage:function(e){var n=this.$content.children(".chat-message:first"),r=n.data("isodate"),i,s,o,u,a,c;if(!r){this.appendMessage(e);return}s=l(e.time)||l,i=this.$content.children(".chat-message:last").data("isodate");if(typeof i!="undefined"&&(s.isAfter(i)||s.isSame(i))){s.isAfter(i,"day")&&(o=l(s).startOf("day"),this.$content.append(m.templates.new_day({isodate:s.format(),datestring:s.format("dddd MMM Do YYYY")}))),this.appendMessage(e);return}typeof r!="undefined"&&(s.isBefore(r)||s.isSame(r)&&!s.isSame(i))?(n.prev().length===0&&this.prependDayIndicator(r),s.isBefore(r,"day")?(f.compose(this.scrollDownMessageHeight.bind(this),function(e){return this.$content.prepend(e),e}.bind(this))(this.renderMessage(e)),this.prependDayIndicator(s)):f.compose(this.scrollDownMessageHeight.bind(this),function(e){return e.insertBefore(n),e})(this.renderMessage(e))):(s=s.format(),u=this.$content.children(".chat-message"),a=f.map(u,function(e){return t(e).data("isodate")}),a.push(s),a.sort(),c=a.indexOf(s)-1,f.compose(this.scrollDownMessageHeight.bind(this),function(e){return e.insertAfter(this.$content.find('.chat-message[data-isodate="'+a[c]+'"]')),e}.bind(this))(this.renderMessage(e)))},renderMessage:function(e){var n=l(e.time)||l,r=e.message,i=r.match(/^\/(.*?)(?: (.*))?$/),s=this.model.get("fullname")||e.fullname,o=e.delayed&&"delayed"||"",u,a;return i&&i[1]==="me"?(r=r.replace(/^\/me/,""),u=m.templates.action,a=s):(u=m.templates.message,a=e.sender==="me"&&q("me")||s),this.$content.find("div.chat-event").remove(),this.is_chatroom&&e.sender==="them"&&(new RegExp("\\b"+this.model.get("nick")+"\\b")).test(r)&&(o+=" mentioned"),t(u({msgid:e.msgid,sender:e.sender,time:n.format("hh:mm"),isodate:n.format(),username:a,message:"",extra_classes:o})).children(".chat-msg-content").first().text(r).addHyperlinks().addEmoticons(m.visible_toolbar_buttons.emoticons).parent()},showHelpMessages:function(e,n,r){var i,s=e.length;for(i=0;i'+e[i]+""));return r===!0?this.$content.append(''):r===!1&&this.$content.find("span.spinner").remove(),this.scrollDown()},onMessageAdded:function(e){typeof this.clear_status_timeout!="undefined"&&(clearTimeout(this.clear_status_timeout),delete this.clear_status_timeout);if(!e.get("message")){if(e.get("chat_state")===D){this.showStatusNotification(e.get("fullname")+" "+q("is typing")),this.clear_status_timeout=setTimeout(this.clearStatusNotification.bind(this),1e4);return}if(e.get("chat_state")===P){this.showStatusNotification(e.get("fullname")+" "+q("has stopped typing"));return}if(f.contains([O,M],e.get("chat_state"))){this.$content.find("div.chat-event").remove();return}if(e.get("chat_state")===H){this.showStatusNotification(e.get("fullname")+" "+q("has gone away"));return}}else this.showMessage(f.clone(e.attributes));e.get("sender")!=="me"&&m.windowState==="blur"&&m.incrementMsgCounter(),!this.model.get("minimized")&&!this.$el.is(":visible")&&f.debounce(this.show.bind(this),100)()},sendMessage:function(e){var t=this.model.get("jid"),n=r({from:m.connection.jid,to:t,type:"chat",id:e.get("msgid")}).c("body").t(e.get("message")).up().c(M,{xmlns:a.NS.CHATSTATES}).up();this.model.get("otr_status")!==T&&n.c("private",{xmlns:a.NS.CARBONS}),m.connection.send(n),m.forward_messages&&m.connection.send(r({to:m.bare_jid,type:"chat",id:e.get("msgid")}).c("forwarded",{xmlns:"urn:xmpp:forward:0"}).c("delay",{xmns:"urn:xmpp:delay",stamp:(new Date).getTime()}).up().cnode(n.tree()))},onMessageSubmitted:function(e){if(!m.connection.authenticated)return this.showHelpMessages(["Sorry, the connection has been lost, and your message could not be sent"],"error");var t=e.replace(/^\s*/,"").match(/^\/(.*)\s*$/),n;if(t){if(t[1]==="clear")return this.clearMessages();if(t[1]==="help"){n=["/help:"+q("Show this menu")+"","/me:"+q("Write in the third person")+"","/clear:"+q("Remove messages")+""],this.showHelpMessages(n);return}if(m.allow_otr&&t[1]==="endotr")return this.endOTR();if(m.allow_otr&&t[1]==="otr")return this.model.initiateOTR()}if(f.contains([N,C],this.model.get("otr_status")))this.model.otr.sendMsg(e),this.model.trigger("showSentOTRMessage",e);else{var r=m.xmppstatus.get("fullname");r=f.isEmpty(r)?m.bare_jid:r;var i=this.model.messages.create({fullname:r,sender:"me",time:l().format(),message:e});this.sendMessage(i)}},sendChatState:function(){m.connection.send(r({to:this.model.get("jid"),type:"chat"}).c(this.model.get("chat_state"),{xmlns:a.NS.CHATSTATES}))},setChatState:function(e,t){return typeof this.chat_state_timeout!="undefined"&&(clearTimeout(this.chat_state_timeout),delete this.chat_state_timeout),e===D?this.chat_state_timeout=setTimeout(this.setChatState.bind(this),m.TIMEOUTS.PAUSED,P):e===P&&(this.chat_state_timeout=setTimeout(this.setChatState.bind(this),m.TIMEOUTS.INACTIVE,O)),!t&&this.model.get("chat_state")!==e&&this.model.set("chat_state",e),this},keyPressed:function(e){var n=t(e.target),r;e.keyCode===L.ENTER?(e.preventDefault(),r=n.val(),n.val("").focus(),r!==""&&(this.model.get("chatroom")?this.onChatRoomMessageSubmitted(r):this.onMessageSubmitted(r),m.emit("messageSend",r)),this.setChatState(M)):this.model.get("chatroom")||this.setChatState(D,e.keyCode===L.FORWARD_SLASH)},onStartVerticalResize:function(e){if(!m.allow_dragresize)return!0;this.height=this.$el.children(".box-flyout").height(),m.resizing={chatbox:this,direction:"top"},this.prev_pageY=e.pageY},onStartHorizontalResize:function(e){if(!m.allow_dragresize)return!0;this.width=this.$el.children(".box-flyout").width(),m.resizing={chatbox:this,direction:"left"},this.prev_pageX=e.pageX},onStartDiagonalResize:function(e){this.onStartHorizontalResize(e),this.onStartVerticalResize(e),m.resizing.direction="topleft"},setChatBoxHeight:function(e){this.model.get("minimized")||(e?e=m.applyDragResistance(e,this.model.get("default_height"))+"px":e="",this.$el.children(".box-flyout")[0].style.height=e)},setChatBoxWidth:function(e){this.model.get("minimized")||(e?e=m.applyDragResistance(e,this.model.get("default_width"))+"px":e="",this.$el[0].style.width=e,this.$el.children(".box-flyout")[0].style.width=e)},resizeChatBox:function(e){var t;m.resizing.direction.indexOf("top")===0&&(t=e.pageY-this.prev_pageY,t&&(this.height=this.height-t>(this.model.get("min_height")||0)?this.height-t:this.model.get("min_height"),this.prev_pageY=e.pageY,this.setChatBoxHeight(this.height))),m.resizing.direction.indexOf("left")!==-1&&(t=this.prev_pageX-e.pageX,t&&(this.width=this.width+t>(this.model.get("min_width")||0)?this.width+t:this.model.get("min_width"),this.prev_pageX=e.pageX,this.setChatBoxWidth(this.width)))},clearMessages:function(e){e&&e.preventDefault&&e.preventDefault();var t=confirm(q("Are you sure you want to clear the messages from this chat box?"));return t===!0&&(this.$content.empty(),this.model.messages.reset(),this.model.messages.browserStorage._clear()),this},insertEmoticon:function(e){e.stopPropagation(),this.$el.find(".toggle-smiley ul").slideToggle(200);var n=this.$el.find("textarea.chat-textarea"),r=n.val(),i=t(e.target);i=i.is("a")?i:i.children("a"),r&&r[r.length-1]!==" "&&(r+=" "),n.focus().val(r+i.data("emoticon")+" ")},toggleEmoticonMenu:function(e){e.stopPropagation(),this.$el.find(".toggle-smiley ul").slideToggle(200)},toggleOTRMenu:function(e){e.stopPropagation(),this.$el.find(".toggle-otr ul").slideToggle(200)},showOTRError:function(e){e==="Message cannot be sent at this time."?this.showHelpMessages([q("Your message could not be sent")],"error"):e==="Received an unencrypted message."?this.showHelpMessages([q("We received an unencrypted message")],"error"):e==="Received an unreadable encrypted message."?this.showHelpMessages([q("We received an unreadable encrypted message")],"error"):this.showHelpMessages(["Encryption error occured: "+e],"error"),m.log("OTR ERROR:"+e)},startOTRFromToolbar:function(e){t(e.target).parent().parent().slideUp(),e.stopPropagation(),this.model.initiateOTR()},endOTR:function(e){typeof e!="undefined"&&(e.preventDefault(),e.stopPropagation()),this.model.endOTR()},authOTR:function(e){var n=t(e.target).data().scheme,r,i,s;n==="fingerprint"?(r=confirm(q("Here are the fingerprints, please confirm them with %1$s, outside of this chat.\n\nFingerprint for you, %2$s: %3$s\n\nFingerprint for %1$s: %4$s\n\nIf you have confirmed that the fingerprints match, click OK, otherwise click Cancel.",[this.model.get("fullname"),m.xmppstatus.get("fullname")||m.bare_jid,this.model.otr.priv.fingerprint(),this.model.otr.their_priv_pk.fingerprint()])),r===!0?this.model.save({otr_status:C}):this.model.save({otr_status:N})):n==="smp"?(alert(q("You will be prompted to provide a security question and then an answer to that question.\n\nYour contact will then be prompted the same question and if they type the exact same answer (case sensitive), their identity will be verified.")),i=prompt(q("What is your security question?")),i&&(s=prompt(q("What is the answer to the security question?")),this.model.otr.smpSecret(s,i))):this.showHelpMessages([q("Invalid authentication scheme provided")],"error")},toggleCall:function(e){e.stopPropagation(),m.emit("callButtonClicked",{connection:m.connection,model:this.model})},onChatStatusChanged:function(e){var t=e.get("chat_status"),n=e.get("fullname");n=f.isEmpty(n)?e.get("jid"):n,this.$el.is(":visible")&&(t==="offline"?this.showStatusNotification(n+" "+q("has gone offline")):t==="away"?this.showStatusNotification(n+" "+q("has gone away")):t==="dnd"?this.showStatusNotification(n+" "+q("is busy")):t==="online"&&this.$el.find("div.chat-event").remove()),m.emit("contactStatusChanged",e.attributes,e.get("chat_status"))},onStatusChanged:function(e){this.showStatusMessage(),m.emit("contactStatusMessageChanged",e.attributes,e.get("status"))},onOTRStatusChanged:function(){this.renderToolbar().informOTRChange()},onMinimizedChanged:function(e){e.get("minimized")?this.hide():this.maximize()},showStatusMessage:function(e){return e=e||this.model.get("status"),typeof e=="string"&&this.$el.find("p.user-custom-message").text(e).attr("title",e),this},close:function(e){return e&&e.preventDefault&&e.preventDefault(),m.connection.connected?(this.model.destroy(),this.setChatState(O)):this.hide(),m.emit("chatBoxClosed",this),this},maximize:function(){var e=m.chatboxviews;this.$el.insertAfter(e.get("controlbox").$el).show("fast",function(){e.trimChats(this),m.refreshWebkit(),this.setChatState(M).focus(),m.emit("chatBoxMaximized",this)}.bind(this))},minimize:function(e){e&&e.preventDefault&&e.preventDefault(),this.setChatState(O).model.minimize(),this.$el.hide("fast",m.refreshwebkit),m.emit("chatBoxMinimized",this)},updateVCard:function(){if(!this.use_vcards)return this;var e=this.model.get("jid"),t=m.roster.get(e);return t&&!t.get("vcard_updated")&&m.getVCard(e,function(e,t,n,r,i,s){this.model.save({fullname:n||t,url:s,image_type:i,image:r})}.bind(this),function(){m.log("ChatBoxView.initialize: An error occured while fetching vcard")}),this},informOTRChange:function(){var e=this.model.toJSON(),t=[];return e.otr_status===T?t.push(q("Your messages are not encrypted anymore")):e.otr_status===N?t.push(q("Your messages are now encrypted but your contact's identity has not been verified.")):e.otr_status===C?t.push(q("Your contact's identify has been verified.")):e.otr_status===k&&t.push(q("Your contact has ended encryption on their end, you should do the same.")),this.showHelpMessages(t,"info",!1)},renderToolbar:function(){if(m.show_toolbar){var e=this.model.toJSON();e.otr_status===T?e.otr_tooltip=q("Your messages are not encrypted. Click here to enable OTR encryption."):e.otr_status===N?e.otr_tooltip=q("Your messages are encrypted, but your contact has not been verified."):e.otr_status===C?e.otr_tooltip=q("Your messages are encrypted and your contact verified."):e.otr_status===k&&(e.otr_tooltip=q("Your contact has closed their end of the private session, you should do the same")),this.$el.find(".chat-toolbar").html(m.templates.toolbar(f.extend(e,{FINISHED:k,UNENCRYPTED:T,UNVERIFIED:N,VERIFIED:C,allow_otr:m.allow_otr&&!this.is_chatroom,label_clear:q("Clear all messages"),label_end_encrypted_conversation:q("End encrypted conversation"),label_insert_smiley:q("Insert a smiley"),label_hide_occupants:q("Hide the list of occupants"),label_refresh_encrypted_conversation:q("Refresh encrypted conversation"),label_start_call:q("Start a call"),label_start_encrypted_conversation:q("Start encrypted conversation"),label_verify_with_fingerprints:q("Verify with fingerprints"),label_verify_with_smp:q("Verify with SMP"),label_whats_this:q("What's this?"),otr_status_class:U[e.otr_status],otr_translated_status:z[e.otr_status],show_call_button:m.visible_toolbar_buttons.call,show_clear_button:m.visible_toolbar_buttons.clear,show_emoticons:m.visible_toolbar_buttons.emoticons,show_occupants_toggle:this.is_chatroom&&m.visible_toolbar_buttons.toggle_occupants})))}return this},renderAvatar:function(){if(!this.model.get("image"))return;var e="data:"+this.model.get("image_type")+";base64,"+this.model.get("image"),n=t('').get(0);if(!n.getContext||!n.getContext("2d"))return this;var r=n.getContext("2d"),i=new Image;return i.onload=function(){var e=i.width/i.height;e<1?r.drawImage(i,0,0,32,32*(1/e)):r.drawImage(i,0,0,32,32*e)},i.src=e,this.$el.find(".chat-title").before(n),this},focus:function(){return this.$el.find(".chat-textarea").focus(),m.emit("chatBoxFocused",this),this},hide:function(){return this.$el.is(":visible")&&this.$el.css("opacity")==="1"&&(this.$el.hide(),m.refreshWebkit()),this},show:function(e){return this.$el.is(":visible")&&this.$el.css("opacity")==="1"?this.focus():(this.initDragResize().setDimensions(),this.$el.fadeIn(function(){typeof e=="function"&&e.apply(this,arguments),m.connection.connected&&this.model.save(),this.setChatState(M),this.scrollDown().focus()}.bind(this)),this)},scrollDownMessageHeight:function(e){return this.$content.is(":visible")&&this.$content.scrollTop(this.$content.scrollTop()+e[0].scrollHeight),this},scrollDown:function(){return this.$content.is(":visible")&&this.$content.scrollTop(this.$content[0].scrollHeight),this}}),this.ContactsPanel=Backbone.View.extend({tagName:"div",className:"controlbox-pane",id:"users",events:{"click a.toggle-xmpp-contact-form":"toggleContactForm","submit form.add-xmpp-contact":"addContactFromForm","submit form.search-xmpp-contact":"searchContacts","click a.subscribe-to-user":"addContactFromList"},initialize:function(e){e.$parent.append(this.$el),this.$tabs=e.$parent.parent().find("#controlbox-tabs")},render:function(){var e,t=m.templates.contacts_panel({label_online:q("Online"),label_busy:q("Busy"),label_away:q("Away"),label_offline:q("Offline"),label_logout:q("Log out"),allow_logout:m.allow_logout});return this.$tabs.append(m.templates.contacts_tab({label_contacts:G})),m.xhr_user_search?e=m.templates.search_contact({label_contact_name:q("Contact name"),label_search:q("Search")}):e=m.templates.add_contact_form({label_contact_username:q("e.g. user@example.com"),label_add:q("Add")}),m.allow_contact_requests&&(t+=m.templates.add_contact_dropdown({label_click_to_chat:q("Click to add new chat contacts"),label_add_contact:q("Add a contact")})),this.$el.html(t),this.$el.find(".search-xmpp ul").append(e),this},toggleContactForm:function(e){e.preventDefault(),this.$el.find(".search-xmpp").toggle("fast",function(){t(this).is(":visible")&&t(this).find("input.username").focus()})},searchContacts:function(e){e.preventDefault(),t.getJSON(m.xhr_user_search_url+"?q="+t(e.target).find("input.username").val(),function(e){var n=t(".search-xmpp ul");n.find("li.found-user").remove(),n.find("li.chat-info").remove(),e.length||n.append('
"+q("Rooms on %1$s",this.model.get("muc_domain"))+"
"),s=document.createDocumentFragment();for(i=0;i'),this.model.save({muc_domain:r}),this.updateRoomsList()},showRoomInfo:function(e){var n=e.target,r=t(n).parent("dd"),i=r.find("div.room-info");i.length?i.remove():(r.find("span.spinner").remove(),r.append(''),m.connection.disco.info(t(n).attr("data-room-jid"),null,function(e){var n=t(e);r.find("span.spinner").replaceWith(m.templates.room_description({desc:n.find('field[var="muc#roominfo_description"] value').text(),occ:n.find('field[var="muc#roominfo_occupants"] value').text(),hidden:n.find('feature[var="muc_hidden"]').length,membersonly:n.find('feature[var="muc_membersonly"]').length,moderated:n.find('feature[var="muc_moderated"]').length,nonanonymous:n.find('feature[var="muc_nonanonymous"]').length,open:n.find('feature[var="muc_open"]').length,passwordprotected:n.find('feature[var="muc_passwordprotected"]').length,persistent:n.find('feature[var="muc_persistent"]').length,publicroom:n.find('feature[var="muc_public"]').length,semianonymous:n.find('feature[var="muc_semianonymous"]').length,temporary:n.find('feature[var="muc_temporary"]').length,unmoderated:n.find('feature[var="muc_unmoderated"]').length,label_desc:q("Description:"),label_occ:q("Occupants:"),label_features:q("Features:"),label_requires_auth:q("Requires authentication"),label_hidden:q("Hidden"),label_requires_invite:q("Requires an invitation"),label_moderated:q("Moderated"),label_non_anon:q("Non-anonymous"),label_open_room:q("Open room"),label_permanent_room:q("Permanent room"),label_public:q("Public"),label_semi_anon:q("Semi-anonymous"),label_temp_room:q("Temporary room"),label_unmoderated:q("Unmoderated")}))}.bind(this)))},createChatRoom:function(e){e.preventDefault();var n,r,i,s,o,u=this.$el.find("input.new-chatroom-nick"),f=u.val(),l;f?u.removeClass("error"):u.addClass("error");if(e.type==="click")n=t(e.target).text(),o=t(e.target).attr("data-room-jid");else{r=this.$el.find("input.new-chatroom-name"),s=this.$el.find("input.new-chatroom-server"),i=s.val(),n=r.val().trim(),r.val("");if(!n||!i){n||r.addClass("error"),i||s.addClass("error");return}o=a.escapeNode(n.toLowerCase())+"@"+i,r.removeClass("error"),s.removeClass("error"),this.model.save({muc_domain:i})}if(!f)return;l=m.chatboxviews.showChat({id:o,jid:o,name:n||a.unescapeNode(a.getNodeFromJid(o)),nick:f,chatroom:!0,box_id:h(o)})},setDomain:function(e){this.model.save({muc_domain:e.target.value})},setNick:function(e){this.model.save({nick:e.target.value})}}),this.ControlBoxView=m.ChatBoxView.extend({tagName:"div",className:"chatbox",id:"controlbox",events:{"click a.close-chatbox-button":"close","click ul#controlbox-tabs li a":"switchTab","mousedown .dragresize-top":"onStartVerticalResize","mousedown .dragresize-left":"onStartHorizontalResize","mousedown .dragresize-topleft":"onStartDiagonalResize"},initialize:function(){this.$el.insertAfter(m.controlboxtoggle.$el),t(window).on("resize",f.debounce(this.setDimensions.bind(this),100)),this.model.on("change:connected",this.onConnected,this),this.model.on("destroy",this.hide,this),this.model.on("hide",this.hide,this),this.model.on("show",this.show,this),this.model.on("change:closed",this.ensureClosedState,this),this.render(),this.model.get("connected")&&this.initRoster(),this.model.get("closed")?this.hide():this.show()},render:function(){return!m.connection.connected||!m.connection.authenticated||m.connection.disconnecting?this.renderLoginPanel():(!this.contactspanel||!this.contactspanel.$el.is(":visible"))&&this.renderContactsPanel(),this},giveFeedback:function(e,t){var n=this.$(".conn-feedback");n.addClass("conn-feedback").text(e),t&&n.addClass(t)},onConnected:function(){if(this.model.get("connected")){this.render().initRoster(),m.features.off("add",this.featureAdded,this),m.features.on("add",this.featureAdded,this);var e=m.features.findWhere({"var":a.NS.MUC});e&&this.featureAdded(e)}},initRoster:function(){m.roster=new m.RosterContacts,m.roster.browserStorage=new Backbone.BrowserStorage[m.storage](h("converse.contacts-"+m.bare_jid));var e=new m.RosterGroups;return e.browserStorage=new Backbone.BrowserStorage[m.storage](h("converse.roster.groups"+m.bare_jid)),m.rosterview=new m.RosterView({model:e}),this.contactspanel.$el.append(m.rosterview.$el),m.rosterview.render().fetch().update(),this},renderLoginPanel:function(){var e=this.$(".conn-feedback");this.$el.html(m.templates.controlbox(this.model.toJSON()));var t={$parent:this.$el.find(".controlbox-panes"),model:this};return this.loginpanel?(this.loginpanel.delegateEvents().initialize(t),m.allow_registration&&this.registerpanel.delegateEvents().initialize(t)):(this.loginpanel=new m.LoginPanel(t),m.allow_registration&&(this.registerpanel=new m.RegisterPanel(t))),this.loginpanel.render(),m.allow_registration&&this.registerpanel.render().$el.hide(),this.initDragResize().setDimensions(),e.length&&e.text()!==q("Connecting")&&this.$(".conn-feedback").replaceWith(e),this},renderContactsPanel:function(){this.$el.html(m.templates.controlbox(this.model.toJSON())),this.contactspanel=new m.ContactsPanel({$parent:this.$el.find(".controlbox-panes")}),this.contactspanel.render(),m.xmppstatusview=new m.XMPPStatusView({model:m.xmppstatus}),m.xmppstatusview.render(),m.allow_muc&&(this.roomspanel=new m.RoomsPanel({$parent:this.$el.find(".controlbox-panes"),model:new(Backbone.Model.extend({id:h("converse.roomspanel"+m.bare_jid),browserStorage:new Backbone.BrowserStorage[m.storage](h("converse.roomspanel"+m.bare_jid))}))}),this.roomspanel.render().model.fetch(),this.roomspanel.model.get("nick")||this.roomspanel.model.save({nick:a.getNodeFromJid(m.bare_jid)})),this.initDragResize().setDimensions()},close:function(e){return e&&e.preventDefault&&e.preventDefault(),m.connection.connected?this.model.save({closed:!0}):this.model.trigger("hide"),m.emit("controlBoxClosed",this),this},ensureClosedState:function(){this.model.get("closed")?this.hide():this.show()},hide:function(e){return this.$el.hide("fast",function(){m.refreshWebkit(),m.emit("chatBoxClosed",this),m.controlboxtoggle.show(function(){typeof e=="function"&&e()})}),this},show:function(){return m.controlboxtoggle.hide(function(){this.$el.show("fast",function(){m.rosterview&&m.rosterview.update(),m.refreshWebkit()}.bind(this)),m.emit("controlBoxOpened",this)}.bind(this)),this},featureAdded:function(e){if(e.get("var")===a.NS.MUC&&m.allow_muc){this.roomspanel.model.save({muc_domain:e.get("from")});var t=this.$el.find("input.new-chatroom-server");t.is(":focus")||t.val(this.roomspanel.model.get("muc_domain"))}},switchTab:function(e){e&&e.preventDefault&&e.preventDefault();var n=t(e.target),r=n.parent().siblings("li").children("a"),i=t(n.attr("href"));return t(r.attr("href")).hide(),r.removeClass("current"),n.addClass("current"),i.show(),this},showHelpMessages:function(e){return}}),this.ChatRoomOccupant=Backbone.Model,this.ChatRoomOccupantView=Backbone.View.extend({tagName:"li",initialize:function(){this.model.on("add",this.render,this),this.model.on("change",this.render,this),this.model.on("destroy",this.destroy,this)},render:function(){var e=m.templates.occupant(f.extend(this.model.toJSON(),{desc_moderator:q("This user is a moderator"),desc_occupant:q("This user can send messages in this room"),desc_visitor:q("This user can NOT send messages in this room")}));return this.$el.replaceWith(e),this.setElement(e,!0),this},destroy:function(){this.$el.remove()}}),this.ChatRoomOccupants=Backbone.Collection.extend({model:m.ChatRoomOccupant}),this.ChatRoomOccupantsView=Backbone.Overview.extend({tagName:"div",className:"occupants",initialize:function(){this.model.on("add",this.onOccupantAdded,this)},render:function(){return this.$el.html(m.templates.chatroom_sidebar({label_invitation:q("Invite..."),label_occupants:q("Occupants")})),this.initInviteWidget()},onOccupantAdded:function(e){var t=this.get(e.get("id"));t?(delete t.model,t.model=e,t.initialize()):t=this.add(e.get("id"),new m.ChatRoomOccupantView({model:e})),this.$(".occupant-list").append(t.render().$el)},parsePresence:function(e){var t=a.getResourceFromJid(e.getAttribute("from")),n={id:t,nick:t,type:e.getAttribute("type"),states:[]};return f.each(e.childNodes,function(e){switch(e.nodeName){case"status":n.status=e.textContent||null;break;case"show":n.show=e.textContent||null;break;case"x":e.getAttribute("xmlns")===a.NS.MUC_USER&&f.each(e.childNodes,function(e){switch(e.nodeName){case"item":n.affiliation=e.getAttribute("affiliation"),n.role=e.getAttribute("role"),n.jid=e.getAttribute("jid"),n.nick=e.getAttribute("nick")||n.nick;break;case"status":e.getAttribute("code")&&n.states.push(e.getAttribute("code"))}})}}),n},updateOccupantsOnPresence:function(e){var t,n=this.parsePresence(e);switch(n.type){case"error":return!0;case"unavailable":t=this.model.get(n.id),t&&t.destroy();break;default:t=this.model.get(n.id),t?t.save(n):this.model.create(n)}},initInviteWidget:function(){var e=this.$("input.invited-contact");return e.typeahead({minLength:1,highlight:!0},{name:"contacts-dataset",source:function(e,t){var n=[];f.each(m.roster.filter(p(["fullname","jid"],e)),function(e){n.push({value:e.get("fullname"),jid:e.get("jid")})}),t(n)},templates:{suggestion:f.template('
{{value}}
')}}),e.on("typeahead:selected",function(e,n,r){var i=prompt(q(R('You are about to invite %1$s to the chat room "%2$s". '),n.value,this.model.get("id"))+q("You may optionally include a message, explaining the reason for the invitation."));i!==null&&this.chatroomview.directInvite(n.jid,i),t(e.target).typeahead("val","")}.bind(this)),this}}),this.ChatRoomView=m.ChatBoxView.extend({length:300,tagName:"div",className:"chatbox chatroom",events:{"click .close-chatbox-button":"close","click .toggle-chatbox-button":"minimize","click .configure-chatroom-button":"configureChatRoom","click .toggle-smiley":"toggleEmoticonMenu","click .toggle-smiley ul li":"insertEmoticon","click .toggle-clear":"clearChatRoomMessages","click .toggle-call":"toggleCall","click .toggle-occupants a":"toggleOccupants","keypress textarea.chat-textarea":"keyPressed","mousedown .dragresize-top":"onStartVerticalResize","mousedown .dragresize-left":"onStartHorizontalResize","mousedown .dragresize-topleft":"onStartDiagonalResize"},is_chatroom:!0,initialize:function(){t(window).on("resize",f.debounce(this.setDimensions.bind(this),100)),this.model.messages.on("add",this.onMessageAdded,this),this.model.on("change:minimized",function(e){e.get("minimized")?this.hide():this.maximize()},this),this.model.on("destroy",function(){this.hide().leave()},this),this.occupantsview=new m.ChatRoomOccupantsView({model:new m.ChatRoomOccupants({nick:this.model.get("nick")})});var e=h("converse.occupants"+m.bare_jid+this.model.get("id")+this.model.get("nick"));this.occupantsview.model.browserStorage=new Backbone.BrowserStorage[m.storage](e),this.occupantsview.chatroomview=this,this.render().$el.hide(),this.occupantsview.model.fetch({add:!0}),this.join(null,{maxstanzas:m.muc_history_max_stanzas}),this.fetchMessages(),m.emit("chatRoomOpened",this),this.$el.insertAfter(m.chatboxviews.get("controlbox").$el),this.model.get("minimized")?this.hide():this.show()},render:function(){return this.$el.attr("id",this.model.get("box_id")).html(m.templates.chatroom(this.model.toJSON())),this.renderChatArea(),this.$content.on("scroll",f.debounce(this.onScroll.bind(this),100)),this.setWidth(),setTimeout(m.refreshWebkit,50),this},renderChatArea:function(){return this.$(".chat-area").length||(this.$(".chatroom-body").empty().append(m.templates.chatarea({show_toolbar:m.show_toolbar,label_message:q("Message")})).append(this.occupantsview.render().$el),this.renderToolbar(),this.$content=this.$el.find(".chat-content")),this.toggleOccupants(null,!0),this},toggleOccupants:function(e,t){e&&(e.preventDefault(),e.stopPropagation()),t&&this.model.set({hidden_occupants:!this.model.get("hidden_occupants")});var n=this.$(".icon-hide-users");this.model.get("hidden_occupants")?(this.model.save({hidden_occupants:!1}),n.removeClass("icon-show-users").addClass("icon-hide-users"),this.$(".chat-area").removeClass("full"),this.$("div.occupants").removeClass("hidden"),this.scrollDown()):(this.model.save({hidden_occupants:!0}),n.removeClass("icon-hide-users").addClass("icon-show-users"),this.$(".occupants").addClass("hidden"),this.$(".chat-area").addClass("full"),this.scrollDown())},directInvite:function(e,t){var n={xmlns:"jabber:x:conference",jid:this.model.get("jid")};t!==null&&(n.reason=t),this.model.get("password")&&(n.password=this.model.get("password"));var i=r({from:m.connection.jid,to:e,id:m.connection.getUniqueId()}).c("x",n);m.connection.send(i),m.emit("roomInviteSent",this,e,t)},onCommandError:function(e){this.showStatusNotification(q("Error: could not execute the command"),!0)},sendChatRoomMessage:function(e){var t=m.connection.getUniqueId(),n=r({to:this.model.get("jid"),from:m.connection.jid,type:"groupchat",id:t}).c("body").t(e).up().c("x",{xmlns:"jabber:x:event"}).c("composing");m.connection.send(n);var i=m.xmppstatus.get("fullname");this.model.messages.create({fullname:f.isEmpty(i)?m.bare_jid:i,sender:"me",time:l().format(),message:e,msgid:t})},setAffiliation:function(e,t,r,i,o,u){var f=s("item",{jid:t,affiliation:r}),l=n({to:e,type:"set"}).c("query",{xmlns:a.NS.MUC_ADMIN}).cnode(f.node);return i!==null&&l.c("reason",i),m.connection.sendIQ(l.tree(),o,u)},modifyRole:function(e,t,r,i,o,u){var f=s("item",{nick:t,role:r}),l=n({to:e,type:"set"}).c("query",{xmlns:a.NS.MUC_ADMIN}).cnode(f.node);return i!==null&&l.c("reason",i),m.connection.sendIQ(l.tree(),o,u)},member:function(e,t,n,r,i){return this.setAffiliation(e,t,"member",n,r,i)},revoke:function(e,t,n,r,i){return this.setAffiliation(e,t,"none",n,r,i)},owner:function(e,t,n,r,i){return this.setAffiliation(e,t,"owner",n,r,i)},admin:function(e,t,n,r,i){return this.setAffiliation(e,t,"admin",n,r,i)},validateRoleChangeCommand:function(e,t){return t.length<1||t.length>2?(this.showStatusNotification(q('Error: the "'+e+"\" command takes two arguments, the user's nickname and optionally a reason."),!0),!1):!0},onChatRoomMessageSubmitted:function(e){var t=e.replace(/^\s*/,"").match(/^\/(.*?)(?: (.*))?$/)||[!1,"",""],n=t[2]&&t[2].splitOnce(" ")||[];switch(t[1]){case"admin":if(!this.validateRoleChangeCommand(t[1],n))break;this.setAffiliation(this.model.get("jid"),n[0],"admin",n[1],undefined,this.onCommandError.bind(this));break;case"ban":if(!this.validateRoleChangeCommand(t[1],n))break;this.setAffiliation(this.model.get("jid"),n[0],"outcast",n[1],undefined,this.onCommandError.bind(this));break;case"clear":this.clearChatRoomMessages();break;case"deop":if(!this.validateRoleChangeCommand(t[1],n))break;this.modifyRole(this.model.get("jid"),n[0],"occupant",n[1],undefined,this.onCommandError.bind(this));break;case"help":this.showHelpMessages(["/admin: "+q("Change user's affiliation to admin"),"/ban: "+q("Ban user from room"),"/clear: "+q("Remove messages"),"/deop: "+q("Change user role to occupant"),"/help: "+q("Show this menu"),"/kick: "+q("Kick user from room"),"/me: "+q("Write in 3rd person"),"/member: "+q("Grant membership to a user"),"/mute: "+q("Remove user's ability to post messages"),"/nick: "+q("Change your nickname"),"/op: "+q("Grant moderator role to user"),"/owner: "+q("Grant ownership of this room"),"/revoke: "+q("Revoke user's membership"),"/topic: "+q("Set room topic"),"/voice: "+q("Allow muted user to post messages")]);break;case"kick":if(!this.validateRoleChangeCommand(t[1],n))break;this.modifyRole(this.model.get("jid"),n[0],"none",n[1],undefined,this.onCommandError.bind(this));break;case"mute":if(!this.validateRoleChangeCommand(t[1],n))break;this.modifyRole(this.model.get("jid"),n[0],"visitor",n[1],undefined,this.onCommandError.bind(this));break;case"member":if(!this.validateRoleChangeCommand(t[1],n))break;this.setAffiliation(this.model.get("jid"),n[0],"member",n[1],undefined,this.onCommandError.bind(this));break;case"nick":m.connection.send(i({from:m.connection.jid,to:this.getRoomJIDAndNick(t[2]),id:m.connection.getUniqueId()}).tree());break;case"owner":if(!this.validateRoleChangeCommand(t[1],n))break;this.setAffiliation(this.model.get("jid"),n[0],"owner",n[1],undefined,this.onCommandError.bind(this));break;case"op":if(!this.validateRoleChangeCommand(t[1],n))break;this.modifyRole(this.model.get("jid"),n[0],"moderator",n[1],undefined,this.onCommandError.bind(this));break;case"revoke":if(!this.validateRoleChangeCommand(t[1],n))break;this.setAffiliation(this.model.get("jid"),n[0],"none",n[1],undefined,this.onCommandError.bind(this));break;case"topic":m.connection.send(r({to:this.model.get("jid"),from:m.connection.jid,type:"groupchat"}).c("subject",{xmlns:"jabber:client"}).t(t[2]).tree());break;case"voice":if(!this.validateRoleChangeCommand(t[1],n))break;this.modifyRole(this.model.get("jid"),n[0],"occupant",n[1],undefined,this.onCommandError.bind(this));break;default:this.sendChatRoomMessage(e)}},handleMUCStanza:function(e){var n,r,i,s=e.getAttribute("from"),o=t(e).find('[xmlns="'+a.NS.MAM+'"]').length>0;if(!s||this.model.get("id")!==s.split("/")[0]||o)return!0;if(e.nodeName==="message")f.compose(this.onChatRoomMessage.bind(this),this.showStatusMessages.bind(this))(e);else if(e.nodeName==="presence"){r=e.getElementsByTagName("x");if(r.length>0)for(i=0;i").text(o)),u&&u!==o&&r.append(t('
"),r=n.children("fieldset:last"),r.append(''),r.append(''),r.find("input[type=button]").on("click",this.cancelConfiguration.bind(this)),n.on("submit",this.saveConfiguration.bind(this))},sendConfiguration:function(e,t,r){var i=n({to:this.model.get("jid"),type:"set"}).c("query",{xmlns:a.NS.MUC_OWNER}).c("x",{xmlns:a.NS.XFORM,type:"submit"});return f.each(e,function(e){i.cnode(e).up()}),m.connection.sendIQ(i.tree(),t,r)},saveConfiguration:function(e){e.preventDefault();var n=this,r=t(e.target).find(":input:not([type=button]):not([type=submit])"),i=r.length,s=[];r.each(function(){s.push(c.webForm2xForm(this)),--i||n.sendConfiguration(s,n.onConfigSaved.bind(n),n.onErrorConfigSaved.bind(n))}),this.$el.find("div.chatroom-form-container").hide(function(){t(this).remove(),n.$el.find(".chat-area").removeClass("hidden"),n.$el.find(".occupants").removeClass("hidden")})},onConfigSaved:function(e){},onErrorConfigSaved:function(e){this.showStatusNotification(q("An error occurred while trying to save the form."))},cancelConfiguration:function(e){e.preventDefault();var n=this;this.$el.find("div.chatroom-form-container").hide(function(){t(this).remove(),n.$el.find(".chat-area").removeClass("hidden"),n.$el.find(".occupants").removeClass("hidden")})},configureChatRoom:function(e){e.preventDefault();if(this.$el.find("div.chatroom-form-container").length)return;this.$(".chatroom-body").children().addClass("hidden"),this.$(".chatroom-body").append(m.templates.chatroom_form()),m.connection.sendIQ(n({to:this.model.get("jid"),type:"get"}).c("query",{xmlns:a.NS.MUC_OWNER}).tree(),this.renderConfigurationForm.bind(this))},submitPassword:function(e){e.preventDefault();var t=this.$el.find(".chatroom-form").find("input[type=password]").val();this.$el.find(".chatroom-form-container").replaceWith(''),this.join(t)},renderPasswordForm:function(){this.$(".chatroom-body").children().hide(),this.$("span.centered.spinner").remove(),this.$(".chatroom-body").append(m.templates.chatroom_password_form({heading:q("This chatroom requires a password"),label_password:q("Password: "),label_submit:q("Submit")})),this.$(".chatroom-form").on("submit",this.submitPassword.bind(this))},showDisconnectMessage:function(e){this.$(".chat-area").hide(),this.$(".occupants").hide(),this.$("span.centered.spinner").remove(),this.$(".chatroom-body").append(t("
"+e+"
"))},infoMessages:{100:q("This room is not anonymous"),102:q("This room now shows unavailable members"),103:q("This room does not show unavailable members"),104:q("Non-privacy-related room configuration has changed"),170:q("Room logging is now enabled"),171:q("Room logging is now disabled"),172:q("This room is now non-anonymous"),173:q("This room is now semi-anonymous"),174:q("This room is now fully-anonymous"),201:q("A new room has been created")},disconnectMessages:{301:q("You have been banned from this room"),307:q("You have been kicked from this room"),321:q("You have been removed from this room because of an affiliation change"),322:q("You have been removed from this room because the room has changed to members-only and you're not a member"),332:q("You have been removed from this room because the MUC (Multi-user chat) service is being shut down.")},actionInfoMessages:{301:R("%1$s has been banned"),303:R("%1$s's nickname has changed"),307:R("%1$s has been kicked out"),321:R("%1$s has been removed because of an affiliation change"),322:R("%1$s has been removed for not being a member")},newNicknameMessages:{210:R("Your nickname has been automatically changed to: %1$s"),303:R("Your nickname has been changed to: %1$s")},showStatusMessages:function(e,n){var r=t(e),i=[],s=[],o=[];r.find('x[xmlns="'+a.NS.MUC_USER+'"]').each(function(e,u){var l=t(u).find("item");a.getBareJidFromJid(l.attr("jid"))===m.bare_jid&&l.attr("affiliation")==="owner"&&this.$el.find("a.configure-chatroom-button").show(),t(u).find("item reason").each(function(e,n){t(n).text()&&o.push(t(n).text())}),t(u).find("status").each(function(e,o){var u=o.getAttribute("code"),c=a.unescapeNode(a.getResourceFromJid(r.attr("from")));n&&u==="210"?s.push(q(this.newNicknameMessages[u],c)):n&&u==="303"?s.push(q(this.newNicknameMessages[u],l.attr("nick"))):n&&f.contains(f.keys(this.disconnectMessages),u)?i.push(this.disconnectMessages[u]):!n&&f.contains(f.keys(this.actionInfoMessages),u)?s.push(q(this.actionInfoMessages[u],c)):f.contains(f.keys(this.infoMessages),u)?s.push(this.infoMessages[u]):u!=="110"&&t(o).text()&&s.push(t(o).text())}.bind(this))}.bind(this));if(i.length>0){for(w=0;w0,s=n.find("forwarded"),o;s.length&&(n=s.children("message"),o=s.children("delay"),i=o.length>0);var u=n.children("body").text(),f=n.attr("from"),l=n.attr("id"),c=a.getResourceFromJid(f),h=c&&a.unescapeNode(c)||"",p=n.children("subject").text();return l&&this.model.messages.findWhere({msgid:l})?!0:(p&&(this.$el.find(".chatroom-topic").text(p).attr("title",p),this.$content.append(m.templates.info({message:q("Topic set by %1$s to: %2$s",h,p)}))),h===""?!0:(this.model.createMessage(n,o,r),!i&&h!==this.model.get("nick")&&(new RegExp("\\b"+this.model.get("nick")+"\\b")).test(u)&&m.playNotification(),h!==this.model.get("nick")&&m.emit("message",e),!0))}}),this.ChatBoxes=Backbone.Collection.extend({model:m.ChatBox,comparator:"time_opened",registerMessageHandler:function(){m.connection.addHandler(function(e){return this.onMessage(e),!0}.bind(this),null,"message","chat"),m.connection.addHandler(function(e){return this.onInvite(e),!0}.bind(this),"jabber:x:conference","message")},onConnected:function(){this.browserStorage=new Backbone.BrowserStorage[m.storage](h("converse.chatboxes-"+m.bare_jid)),this.registerMessageHandler(),this.fetch({add:!0,success:function(e,t){e.each(function(e){e.get("id")!=="controlbox"&&!e.get("minimized")&&e.trigger("show")}),f.include(f.pluck(t,"id"),"controlbox")||this.add({id:"controlbox",box_id:"controlbox"}),this.get("controlbox").save({connected:!0})}.bind(this)})},isOnlyChatStateNotification:function(e){return e.find("body").length===0&&(e.find(M).length!==0||e.find(D).length!==0||e.find(O).length!==0||e.find(P).length!==0||e.find(H).length!==0)},onInvite:function(e){var n=t(e),r=n.children('x[xmlns="jabber:x:conference"]'),i=a.getBareJidFromJid(n.attr("from")),s=r.attr("jid"),o=r.attr("reason"),u=m.roster.get(i),l;o?l=confirm(q(R('%1$s has invited you to join a chat room: %2$s, and left the following reason: "%3$s"'),u.get("fullname"),s,o)):l=confirm(q(R("%1$s has invited you to join a chat room: %2$s"),u.get("fullname"),s));if(l===!0){var c=m.chatboxviews.showChat({id:s,jid:s,name:a.unescapeNode(a.getNodeFromJid(s)),nick:a.unescapeNode(a.getNodeFromJid(m.connection.jid)),chatroom:!0,box_id:h(s),password:r.attr("password")});f.contains([a.Status.CONNECTING,a.Status.CONNECTED],c.get("connection_status"))||m.chatboxviews.get(s).join(null)}},onMessage:function(e){var n=t(e),r,i,s,o,u,f,l,c,h,p=n.attr("from"),d=n.attr("to"),v=a.getResourceFromJid(d),g=n.find('result[xmlns="'+a.NS.MAM+'"]').attr("id");return v&&v!==m.resource?(m.log("Ignore incoming message intended for a different resource: "+d,"info"),!0):p===m.connection.jid?(m.log("Ignore incoming message sent from this client's JID: "+p,"info"),!0):(i=n.find("forwarded"),i.length&&(n=i.children("message"),s=i.children("delay"),p=n.attr("from"),d=n.attr("to")),o=a.getBareJidFromJid(p),u=a.getResourceFromJid(p),f=o===m.bare_jid,l=n.attr("id"),f?(r=a.getBareJidFromJid(d),h=a.getResourceFromJid(d)):(r=o,h=u),c=this.getChatBox(r,n.find("body").length>0),c?l&&c.messages.findWhere({msgid:l})?!0:(!this.isOnlyChatStateNotification(n)&&!f&&!i.length&&m.playNotification(),c.receiveMessage(n,s,g),m.roster.addResource(r,h),m.emit("message",e),!0):!0)},getChatBox:function(e,t){var n=a.getBareJidFromJid(e),r=this.get(n);if(!r&&t){var i=m.roster.get(n);if(i===undefined){m.log("Could not get roster item for JID "+n,"error");return}r=this.create({id:n,jid:n,fullname:f.isEmpty(i.get("fullname"))?e:i.get("fullname"),image_type:i.get("image_type"),image:i.get("image"),url:i.get("url")})}return r}}),this.ChatBoxViews=Backbone.Overview.extend({initialize:function(){this.model.on("add",this.onChatBoxAdded,this),this.model.on("change:minimized",function(e){e.get("minimized")===!0?this.trimChats():this.trimChats(this.get(e.get("id")))},this)},_ensureElement:function(){if(!this.el){var e=t("#conversejs");e.length||(e=t('
'),this.render().update(),this},registerRosterHandler:function(){m.connection.addHandler(m.roster.onRosterPush.bind(m.roster),a.NS.ROSTER,"iq","set")},registerRosterXHandler:function(){var e=0;m.connection.addHandler(function(n){return window.setTimeout(function(){m.connection.flush(),m.roster.subscribeToSuggestedItems.bind(m.roster)(n)},e),e+=t(n).find("item").length*250,!0},a.NS.ROSTERX,"message",null)},registerPresenceHandler:function(){m.connection.addHandler(function(e){return m.roster.presenceHandler(e),!0}.bind(this),null,"presence",null)},onGroupAdd:function(e){var t=new m.RosterGroupView({model:e});this.add(e.get("name"),t.render()),this.positionGroup(t)},onContactAdd:function(e){this.addRosterContact(e).update(),e.get("vcard_updated")||m.getVCard(e.get("jid"))},onContactChange:function(e){this.updateChatBox(e).update(),f.has(e.changed,"subscription")&&(e.changed.subscription==="from"?this.addContactToGroup(e,J):f.contains(["both","to"],e.get("subscription"))&&this.addExistingContact(e)),f.has(e.changed,"ask")&&e.changed.ask==="subscribe"&&this.addContactToGroup(e,J),f.has(e.changed,"subscription")&&e.changed.requesting==="true"&&this.addContactToGroup(e,K),this.liveFilter()},updateChatBox:function(e){var t=m.chatboxes.get(e.get("jid")),n={};return t?(f.has(e.changed,"chat_status")&&(n.chat_status=e.get("chat_status")),f.has(e.changed,"status")&&(n.status=e.get("status")),t.save(n),this):this},positionFetchedGroups:function(e,t,n){e.sort(),e.each(function(e,t){var n=this.get(e.get("name"));n||(n=new m.RosterGroupView({model:e}),this.add(e.get("name"),n.render())),t===0?this.$roster.append(n.$el):this.appendGroup(n)}.bind(this))},positionGroup:function(e){var n=this.$roster.find(".roster-group"),r=n.length?this.model.indexOf(e.model):0;return r===0?this.$roster.prepend(e.$el):r===this.model.length-1?this.appendGroup(e):t(n.eq(r)).before(e.$el),this},appendGroup:function(e){var t=this.$roster.find(".roster-group").last(),n=t.siblings("dd");return n.length>0?n.last().after(e.$el):t.after(e.$el),this},getGroup:function(e){var t=this.get(e);return t?t.model:this.model.create({name:e,id:h(e)})},addContactToGroup:function(e,t){this.getGroup(t).contacts.add(e)},addExistingContact:function(e){var t;m.roster_groups?(t=e.get("groups"),t.length===0&&(t=[Q])):t=[V],f.each(t,f.bind(this.addContactToGroup,this,e))},addRosterContact:function(e){return e.get("subscription")==="both"||e.get("subscription")==="to"?this.addExistingContact(e):e.get("ask")==="subscribe"||e.get("subscription")==="from"?this.addContactToGroup(e,J):e.get("requesting")===!0&&this.addContactToGroup(e,K),this}}),this.XMPPStatus=Backbone.Model.extend({initialize:function(){this.set({status:this.getStatus()}),this.on("change",function(e){this.get("fullname")===undefined&&m.getVCard(null,function(e,t,n,r,i,s){this.save({fullname:n})}.bind(this)),f.has(e.changed,"status")&&m.emit("statusChanged",this.get("status")),f.has(e.changed,"status_message")&&m.emit("statusMessageChanged",this.get("status_message"))}.bind(this))},constructPresence:function(e,t){typeof e=="undefined"&&(e=this.get("status")||"online"),typeof t=="undefined"&&(t=this.get("status_message"));var n;return e==="unavailable"||e==="probe"||e==="error"||e==="unsubscribe"||e==="unsubscribed"||e==="subscribe"||e==="subscribed"?n=i({type:e}):e==="offline"?(n=i({type:"unavailable"}),t&&n.c("show").t(e)):(e==="online"?n=i():n=i().c("show").t(e).up(),t&&n.c("status").t(t)),n},sendPresence:function(e,t){m.connection.send(this.constructPresence(e,t))},setStatus:function(e){this.sendPresence(e),this.save({status:e})},getStatus:function(){return this.get("status")||"online"},setStatusMessage:function(e){this.sendPresence(this.getStatus(),e);var n=this.get("status_message");this.save({status_message:e}),this.xhr_custom_status&&t.ajax({url:this.xhr_custom_status_url,type:"POST",data:{msg:e}}),n===e&&this.trigger("update-status-ui",this)}}),this.XMPPStatusView=Backbone.View.extend({el:"span#xmpp-status-holder",events:{"click a.choose-xmpp-status":"toggleOptions","click #fancy-xmpp-status-select a.change-xmpp-status-message":"renderStatusChangeForm","submit #set-custom-xmpp-status":"setStatusMessage","click .dropdown dd ul li a":"setStatus"},initialize:function(){this.model.on("change:status",this.updateStatusUI,this),this.model.on("change:status_message",this.updateStatusUI,this),this.model.on("update-status-ui",this.updateStatusUI,this)},render:function(){var e=this.$el.find("select#select-xmpp-status"),n=this.model.get("status")||"offline",r=t("option",e),i,s=[];return this.$el.html(m.templates.choose_status()),this.$el.find("#fancy-xmpp-status-select").html(m.templates.chat_status({status_message:this.model.get("status_message")||q("I am %1$s",this.getPrettyStatus(n)),chat_status:n,desc_custom_status:q("Click here to write a custom status message"),desc_change_status:q("Click to change your chat status")})),r.each(function(){s.push(m.templates.status_option({value:t(this).val(),text:this.text}))}),i=this.$el.find("#target dd ul").hide(),i.append(s.join("")),e.remove(),this},toggleOptions:function(e){e.preventDefault(),t(e.target).parent().parent().siblings("dd").find("ul").toggle("fast")},renderStatusChangeForm:function(e){e.preventDefault();var t=this.model.get("status")||"offline",n=m.templates.change_status_message({status_message:t,label_custom_status:q("Custom status"),label_save:q("Save")}),r=this.$el.find(".xmpp-status");r.parent().addClass("no-border"),r.replaceWith(n),this.$el.find(".custom-xmpp-status").focus().focus()},setStatusMessage:function(e){e.preventDefault(),this.model.setStatusMessage(t(e.target).find("input").val())},setStatus:function(e){e.preventDefault();var n=t(e.target),r=n.attr("data-value");r==="logout"?(this.$el.find(".dropdown dd ul").hide(),m.logOut()):(this.model.setStatus(r),this.$el.find(".dropdown dd ul").hide())},getPrettyStatus:function(e){return e==="chat"?q("online"):e==="dnd"?q("busy"):e==="xa"?q("away for long"):e==="away"?q("away"):e==="offline"?q("offline"):q(e)||q("online")},updateStatusUI:function(e){var t=e.get("status"),n=e.get("status_message")||q("I am %1$s",this.getPrettyStatus(t));this.$el.find("#fancy-xmpp-status-select").removeClass("no-border").html(m.templates.chat_status({chat_status:t,status_message:n,desc_custom_status:q("Click here to write a custom status message"),desc_change_status:q("Click to change your chat status")}))}}),this.Session=Backbone.Model,this.Feature=Backbone.Model,this.Features=Backbone.Collection.extend({model:m.Feature,initialize:function(){this.addClientIdentities().addClientFeatures(),this.browserStorage=new Backbone.BrowserStorage[m.storage](h("converse.features"+m.bare_jid)),this.on("add",this.onFeatureAdded,this),this.browserStorage.records.length===0?(m.connection.disco.info(m.domain,null,this.onInfo.bind(this)),m.connection.disco.items(m.domain,null,this.onItems.bind(this))):this.fetch({add:!0})},onFeatureAdded:function(e){var t=e.get("preferences")||{};m.emit("serviceDiscovered",e),e.get("var")===a.NS.MAM&&t["default"]!==m.message_archiving&&m.connection.sendIQ(n({type:"get"}).c("prefs",{xmlns:a.NS.MAM}),f.bind(this.onMAMPreferences,this,e),f.bind(this.onMAMError,this,e))},onMAMPreferences:function(e,r){var i=t(r).find('prefs[xmlns="'+a.NS.MAM+'"]'),s=i.attr("default"),o;s!==m.message_archiving?(o=n({type:"set"}).c("prefs",{xmlns:a.NS.MAM,"default":m.message_archiving}),i.children().each(function(e,t){o.cnode(t).up()}),m.connection.sendIQ(o,f.bind(function(e,t){e.save({preferences:{"default":m.message_archiving}})},this,e),f.bind(this.onMAMError,this,e))):e.save({preferences:{"default":m.message_archiving}})},onMAMError:function(e){t(e).find("feature-not-implemented").length?m.log("Message Archive Management (XEP-0313) not supported by this browser"):(m.log("An error occured while trying to set archiving preferences."),m.log(e))},addClientIdentities:function(){return m.connection.disco.addIdentity("client","web","Converse.js"),this},addClientFeatures:function(){return m.connection.disco.addFeature("jabber:x:conference"),m.connection.disco.addFeature(a.NS.BOSH),m.connection.disco.addFeature(a.NS.CHATSTATES),m.connection.disco.addFeature(a.NS.DISCO_INFO),m.connection.disco.addFeature(a.NS.MAM),m.connection.disco.addFeature(a.NS.ROSTERX),m.use_vcards&&m.connection.disco.addFeature(a.NS.VCARD),m.allow_muc&&m.connection.disco.addFeature(a.NS.MUC),m.message_carbons&&m.connection.disco.addFeature(a.NS.CARBONS),this},onItems:function(e){t(e).find("query item").each(function(e,n){m.connection.disco.info(t(n).attr("jid"),null,this.onInfo.bind(this))}.bind(this))},onInfo:function(e){var n=t(e);if(n.find("identity[category=server][type=im]").length===0&&n.find("identity[category=conference][type=text]").length===0)return;n.find("feature").each(function(e,r){var i=t(r).attr("var");this[i]=!0,this.create({"var":i,from:n.attr("from")})}.bind(this))}}),this.RegisterPanel=Backbone.View.extend({tagName:"div",id:"register",className:"controlbox-pane",events:{"submit form#converse-register":"onProviderChosen"},initialize:function(e){this.reset(),this.$parent=e.$parent,this.$tabs=e.$parent.parent().find("#controlbox-tabs"),this.registerHooks()},render:function(){return this.$parent.append(this.$el.html(m.templates.register_panel({label_domain:q("Your XMPP provider's domain name:"),label_register:q("Fetch registration form"),help_providers:q("Tip: A list of public XMPP providers is available"),help_providers_link:q("here"),href_providers:m.providers_link,domain_placeholder:m.domain_placeholder}))),this.$tabs.append(m.templates.register_tab({label_register:q("Register")})),this},registerHooks:function(){var e=m.connection,t=e._connect_cb.bind(e);e._connect_cb=function(e,n,r){this._registering?this.getRegistrationFields(e,n,r)&&(this._registering=!1):t(e,n,r)}.bind(this)},getRegistrationFields:function(e,t,r){m.log("sendQueryStanza was called");var i=m.connection;i.connected=!0;var s=i._proto._reqToData(e);if(!s)return;if(i._proto._connect_cb(s)===a.Status.CONNFAIL)return!1;var o=s.getElementsByTagName("register"),u=s.getElementsByTagName("mechanism");return o.length===0&&u.length===0?(i._proto._no_auth_received(t),!1):o.length===0?(i._changeConnectStatus(a.Status.REGIFAIL,q("Sorry, the given provider does not support in band account registration. Please try with a different provider.")),!0):(i._addSysHandler(this.onRegistrationFields.bind(this),null,"iq",null,null),i.send(n({type:"get"}).c("query",{xmlns:a.NS.REGISTER}).tree()),!0)},onRegistrationFields:function(e){return e.getElementsByTagName("query").length!==1?(m.connection._changeConnectStatus(a.Status.REGIFAIL,"unknown"),!1):(this.setFields(e),this.renderRegistrationForm(e),!1)},reset:function(e){var t={fields:{},urls:[],title:"",instructions:"",registered:!1,_registering:!1,domain:null,form_type:null};f.extend(this,t),e&&f.extend(this,f.pick(e,Object.keys(t)))},onProviderChosen:function(e){e&&e.preventDefault&&e.preventDefault();var n=t(e.target),r=n.find("input[name=domain]"),i=r.val();if(!i){r.addClass("error");return}return n.find("input[type=submit]").hide().after(m.templates.registration_request({cancel:q("Cancel"),info_message:q("Requesting a registration form from the XMPP server")})),n.find("button.cancel").on("click",this.cancelRegistration.bind(this)),this.reset({domain:a.getDomainFromJid(i),_registering:!0}),m.connection.connect(this.domain,"",this.onRegistering.bind(this)),!1},giveFeedback:function(e,n){this.$(".reg-feedback").attr("class","reg-feedback").text(e),n&&t(".reg-feedback").addClass(n)},onRegistering:function(e,n){var r;m.log("onRegistering"),f.contains([a.Status.DISCONNECTED,a.Status.CONNFAIL,a.Status.REGIFAIL,a.Status.NOTACCEPTABLE,a.Status.CONFLICT],e)?(m.log("Problem during registration: Strophe.Status is: "+e),this.cancelRegistration(),n?this.giveFeedback(n,"error"):this.giveFeedback(q('Something went wrong while establishing a connection with "%1$s". Are you sure it exists?',this.domain),"error")):e===a.Status.REGISTERED&&(m.log("Registered successfully."),m.connection.reset(),r=this,this.$("form").hide(function(){t(this).replaceWith(''),r.fields.password&&r.fields.username?(m.connection.connect(r.fields.username.toLowerCase()+"@"+r.domain.toLowerCase(),r.fields.password,m.onConnectStatusChanged),m.chatboxviews.get("controlbox").switchTab({target:r.$tabs.find(".current")}).giveFeedback(q("Now logging you in"))):m.chatboxviews.get("controlbox").renderLoginPanel().giveFeedback(q("Registered successfully")),r.reset()}))},renderRegistrationForm:function(n){var r=this.$("form"),i=t(n),s,o;r.empty().append(m.templates.registration_form({domain:this.domain,title:this.title,instructions:this.instructions})),this.form_type==="xform"?(s=i.find("field"),f.each(s,function(e){r.append(c.xForm2webForm.bind(this,t(e),i))}.bind(this))):(f.each(Object.keys(this.fields),function(n){n==="username"?o=e.form_username({domain:" @"+this.domain,name:n,type:"text",label:n,value:"",required:1}):(r.append(""),o=t(''),(n==="password"||n==="email")&&o.attr("type",n)),r.append(o)}.bind(this)),f.each(this.urls,function(e){r.append(t('').attr("href",e).text(e))}.bind(this))),this.fields?(r.append(''),r.on("submit",this.submitRegistrationForm.bind(this)),r.append(''),r.find("input[type=button]").on("click",this.cancelRegistration.bind(this))):(r.append(''),r.find("input[type=button]").on("click",this.cancelRegistration.bind(this)))},reportErrors:function(e){var n=this.$("form"),r,i=t(e).find("error text"),s=n.find(".form-errors");s.length?s.empty():(r='',n.find("p.instructions").length?n.find("p.instructions").append(r):n.prepend(r),s=n.find(".form-errors")),i.each(function(e,n){s.append(t("
").text(t(n).text()))}),i.length||s.append(t("
").text(q("The provider rejected your registration attempt. Please check the values you entered for correctness."))),s.show()},cancelRegistration:function(e){e&&e.preventDefault&&e.preventDefault(),m.connection.reset(),this.render()},submitRegistrationForm:function(e){e&&e.preventDefault&&e.preventDefault();var r=this.$("input.required:emptyVal");if(r.length){r.addClass("error");return}var i=t(e.target).find(":input:not([type=button]):not([type=submit])"),s=n({type:"set"}).c("query",{xmlns:a.NS.REGISTER});this.form_type==="xform"?(s.c("x",{xmlns:a.NS.XFORM,type:"submit"}),i.each(function(){s.cnode(c.webForm2xForm(this)).up()})):i.each(function(){var e=t(this);s.c(e.attr("name"),{},e.val())}),m.connection._addSysHandler(this._onRegisterIQ.bind(this),null,"iq",null,null),m.connection.send(s),this.setFields(s.tree())},setFields:function(e){var n=t(e).find("query"),r;n.length>0&&(r=n.find('x[xmlns="'+a.NS.XFORM+'"]'),r.length>0?this._setFieldsFromXForm(r):this._setFieldsFromLegacy(n))},_setFieldsFromLegacy:function(e){e.children().each(function(e,n){var r=t(n);if(n.tagName.toLowerCase()==="instructions"){this.instructions=a.getText(n);return}if(n.tagName.toLowerCase()==="x"){r.attr("xmlns")==="jabber:x:oob"&&r.find("url").each(function(e,n){this.urls.push(t(n).text())}.bind(this));return}this.fields[n.tagName.toLowerCase()]=a.getText(n)}.bind(this)),this.form_type="legacy"},_setFieldsFromXForm:function(e){this.title=e.find("title").text(),this.instructions=e.find("instructions").text(),e.find("field").each(function(e,n){var r=n.getAttribute("var");r?this.fields[r.toLowerCase()]=t(n).children("value").text():m.log("WARNING: Found field we couldn't parse")}.bind(this)),this.form_type="xform"},_onRegisterIQ:function(e){var t=null,n=e.getElementsByTagName("query");n.length>0&&(n=n[0]);if(e.getAttribute("type")==="error"){m.log("Registration failed."),t=e.getElementsByTagName("error");if(t.length!==1)return m.connection._changeConnectStatus(a.Status.REGIFAIL,"unknown"),!1;t=t[0].firstChild.tagName.toLowerCase(),t==="conflict"?m.connection._changeConnectStatus(a.Status.CONFLICT,t):t==="not-acceptable"?m.connection._changeConnectStatus(a.Status.NOTACCEPTABLE,t):m.connection._changeConnectStatus(a.Status.REGIFAIL,t),this.reportErrors(e)}else m.connection._changeConnectStatus(a.Status.REGISTERED,null);return!1},remove:function(){this.$tabs.empty(),this.$el.parent().empty()}}),this.LoginPanel=Backbone.View.extend({tagName:"div",id:"login-dialog",className:"controlbox-pane",events:{"submit form#converse-login":"authenticate"},initialize:function(e){e.$parent.html(this.$el.html(m.templates.login_panel({LOGIN:E,ANONYMOUS:S,PREBIND:x,auto_login:m.auto_login,authentication:m.authentication,label_username:q("XMPP Username:"),label_password:q("Password:"),label_anon_login:q("Click here to log in anonymously"),label_login:q("Log In"),placeholder_username:q("user@server"),placeholder_password:q("password")}))),this.$tabs=e.$parent.parent().find("#controlbox-tabs")},render:function(){return this.$tabs.append(m.templates.login_tab({label_sign_in:q("Sign in")})),this.$el.find("input#jid").focus(),this.$el.is(":visible")||this.$el.show(),this},authenticate:function(e){e&&e.preventDefault&&e.preventDefault();var n=t(e.target);if(m.authentication===S){this.connect(n,m.jid,null);return}var r=n.find("input[name=jid]"),i=r.val(),s=n.find("input[name=password]"),o=s.val(),u=!1;i||(u=!0,r.addClass("error")),o||(u=!0,s.addClass("error"));if(u)return;return this.connect(n,i,o),!1},connect:function(e,t,n){var r;e&&e.find("input[type=submit]").hide().after(''),t&&(r=a.getResourceFromJid(t),r?t=a.getBareJidFromJid(t).toLowerCase()+"/"+a.getResourceFromJid(t):t=t.toLowerCase()+"/converse.js-"+Math.floor(Math.random()*139749825).toString()),m.connection.connect(t,n,m.onConnectStatusChanged)},remove:function(){this.$tabs.empty(),this.$el.parent().empty()}}),this.ControlBoxToggle=Backbone.View.extend({tagName:"a",className:"toggle-controlbox",id:"toggle-controlbox",events:{click:"onClick"},attributes:{href:"#"},initialize:function(){this.render()},render:function(){return t("#conversejs").prepend(this.$el.html(m.templates.controlbox_toggle({label_toggle:q("Toggle chat")}))),this.$el.hide(),this},hide:function(e){this.$el.fadeOut("fast",e)},show:function(e){this.$el.show("fast",e)},showControlBox:function(){var e=m.chatboxes.get("controlbox");e||(e=m.addControlBox()),m.connection.connected?e.save({closed:!1}):e.trigger("show")},onClick:function(e){e.preventDefault();if(t("div#controlbox").is(":visible")){var n=m.chatboxes.get("controlbox");m.connection.connected?n.save({closed:!0}):n.trigger("hide")}else this.showControlBox()}}),this.addControlBox=function(){return this.chatboxes.add({id:"controlbox",box_id:"controlbox",closed:!this.show_controlbox_by_default})},this.setUpXMLLogging=function(){this.debug&&(this.connection.xmlInput=function(e){m.log(e)},this.connection.xmlOutput=function(e){m.log(e)})},this.startNewBOSHSession=function(){t.ajax({url:this.prebind_url,type:"GET",success:function(e){this.connection.attach(e.jid,e.sid,e.rid,this.onConnectStatusChanged)}.bind(this),error:function(e){delete this.connection,this.emit("noResumeableSession")}.bind(this)})},this.attemptPreboundSession=function(e){if(!this.keepalive){if(this.jid&&this.sid&&this.rid)return this.connection.attach(this.jid,this.sid,this.rid,this.onConnectStatusChanged);throw new Error("initConnection: If you use prebind and not keepalive, then you MUST supply JID, RID and SID values")}if(!this.jid)throw new Error("initConnection: when using 'keepalive' with 'prebind, you must supply the JID of the current user.");try{return this.connection.restore(this.jid,this.onConnectStatusChanged)}catch(t){m.log("Could not restore session for jid: "+this.jid+" Error message: "+t.message)}this.prebind_url?this.startNewBOSHSession():(delete this.connection,this.emit("noResumeableSession"))},this.attemptNonPreboundSession=function(){if(this.keepalive)try{return this.connection.restore(undefined,this.onConnectStatusChanged)}catch(e){m.log("Could not restore sessions. Error message: "+e.message)}if(this.auto_login){if(!this.jid)throw new Error("initConnection: If you use auto_login, you also need to provide a jid value");if(this.authentication===S)this.connection.connect(this.jid.toLowerCase(),null,this.onConnectStatusChanged);else if(this.authentication===E){if(!this.password)throw new Error("initConnection: If you use auto_login and authentication='login' then you also need to provide a password.");this.jid=a.getBareJidFromJid(this.jid).toLowerCase()+"/"+a.getResourceFromJid(this.jid),this.connection.connect(this.jid,this.password,this.onConnectStatusChanged)}}},this.initConnection=function(){if(this.connection&&this.connection.connected)this.setUpXMLLogging(),this.onConnected();else{if(!this.bosh_service_url&&!this.websocket_url)throw new Error("initConnection: you must supply a value for either the bosh_service_url or websocket_url or both.");if(("WebSocket"in window||"MozWebSocket"in window)&&this.websocket_url)this.connection=new a.Connection(this.websocket_url);else{if(!this.bosh_service_url)throw new Error("initConnection: this browser does not support websockets and bosh_service_url wasn't specified.");this.connection=new a.Connection(this.bosh_service_url,{keepalive:this.keepalive})}this.setUpXMLLogging(),this.authentication===x?this.attemptPreboundSession():this.attemptNonPreboundSession()}},this._tearDown=function(){return this.initial_presence_sent=!1,this.roster&&this.roster.off().reset(),this.rosterview&&(this.rosterview.unregisterHandlers(),this.rosterview.model.off().reset(),this.rosterview.undelegateEvents().remove()),this.chatboxes.remove(),this.features&&this.features.reset(),this.minimized_chats&&(this.minimized_chats.undelegateEvents().model.reset(),this.minimized_chats.removeAll(),this.minimized_chats.tearDown().remove(),delete this.minimized_chats),this},this._initialize=function(){return this.chatboxes=new this.ChatBoxes,this.chatboxviews=new this.ChatBoxViews({model:this.chatboxes}),this.controlboxtoggle=new this.ControlBoxToggle,this.otr=new this.OTR,this.initSession(),this.initConnection(),this.connection&&this.addControlBox(),this},this._overrideAttribute=function(e,t){var n=t.overrides[e];typeof n=="function"?(typeof t._super=="undefined"&&(t._super={converse:m}),t._super[e]=m[e].bind(m),m[e]=n.bind(t)):m[e]=n},this._extendObject=function(e,t){e.prototype._super||(e.prototype._super={converse:m}),f.each(t,function(t,n){n==="events"?e.prototype[n]=f.extend(t,e.prototype[n]):(typeof t=="function"&&(e.prototype._super[n]=e.prototype[n]),e.prototype[n]=t)})},this._initializePlugins=function(){f.each(this.plugins,function(e){e.converse=m,f.each(Object.keys(e.overrides),function(t){var n=e.overrides[t];typeof n=="object"?this._extendObject(m[t],n):this._overrideAttribute(t,e)}.bind(this)),typeof e.initialize=="function"?e.initialize.bind(e)(this):e.bind(this)(this)}.bind(this))},d.connection&&(this.connection=d.connection),this._initializePlugins(),this._initialize(),this.registerGlobalEventHandlers(),m.emit("initialized")};var y=function(e){if(!e)return;var t=d.chatboxviews.get(e.get("jid"));return{close:t.close.bind(t),endOTR:e.endOTR.bind(e),focus:t.focus.bind(t),get:e.get.bind(e),initiateOTR:e.initiateOTR.bind(e),is_chatroom:e.is_chatroom,maximize:e.maximize.bind(e),minimize:e.minimize.bind(e),open:t.show.bind(t),set:e.set.bind(e)}},b={initialize:function(e,t){d.initialize(e,t)},disconnect:function(){d.connection.disconnect()},account:{logout:function(){d.logOut()}},user:{logout:function(){d.logOut()},status:{get:function(){return d.xmppstatus.get("status")},set:function(e,t){var n={status:e};if(!f.contains(f.keys(g),e))throw new Error("Invalid availability value. See https://xmpp.org/rfcs/rfc3921.html#rfc.section.2.2.2.1");typeof t=="string"&&(n.status_message=t),d.xmppstatus.save(n)},message:{get:function(){return d.xmppstatus.get("status_message")},set:function(e){d.xmppstatus.save({status_message:e})}}}},settings:{get:function(e){if(f.contains(Object.keys(d.default_settings),e))return d[e]},set:function(e,t){var n={};typeof e=="object"?f.extend(d,f.pick(e,Object.keys(d.default_settings))):typeof e=="string"&&(n[e]=t,f.extend(d,f.pick(n,Object.keys(d.default_settings))))}},contacts:{get:function(e){var t=function(e){var t=d.roster.get(a.getBareJidFromJid(e));return t?t.attributes:null};if(typeof e=="undefined")e=d.roster.pluck("jid");else if(typeof e=="string")return t(e);return f.map(e,t)},add:function(e,t){if(typeof e!="string"||e.indexOf("@")<0)throw new TypeError("contacts.add: invalid jid");d.roster.addAndSubscribe(e,f.isEmpty(t)?e:t)}},chats:{open:function(e){var t;return typeof e=="undefined"?(d.log("chats.open: You need to provide at least one JID","error"),null):typeof e=="string"?(t=y(d.chatboxes.getChatBox(e,!0)),t.open(),t):f.map(e,function(e){return t=y(d.chatboxes.getChatBox(e,!0)),t.open(),t})},get:function(e){return typeof e=="undefined"?(d.log("chats.get: You need to provide at least one JID","error"),null):typeof e=="string"?y(d.chatboxes.getChatBox(e,!0)):f.map(e,f.partial(f.compose(y,d.chatboxes.getChatBox.bind(d.chatboxes)),f,!0))}},archive:{query:function(e,r,i){var s,o=[];typeof e=="function"&&(r=e,i=r);if(!d.features.findWhere({"var":a.NS.MAM}))throw new Error("This server does not support XEP-0313, Message Archive Management");var u=d.connection.getUniqueId(),c={type:"set"};if(typeof e!="undefined"&&e.groupchat){if(!e["with"])throw new Error('You need to specify a "with" value containing the chat room JID, when querying groupchat messages.');c.to=e["with"]}var h=n(c).c("query",{xmlns:a.NS.MAM,queryid:u});typeof e!="undefined"&&(h.c("x",{xmlns:a.NS.XFORM,type:"submit"}).c("field",{"var":"FORM_TYPE",type:"hidden"}).c("value").t(a.NS.MAM).up().up(),e["with"]&&!e.groupchat&&h.c("field",{"var":"with"}).c("value").t(e["with"]).up().up(),f.each(["start","end"],function(t){if(e[t]){s=l(e[t]);if(!s.isValid())throw new TypeError("archive.query: invalid date provided for: "+t);h.c("field",{"var":t}).c("value").t(s.format()).up().up()}}),h.up(),e instanceof a.RSM?h.cnode(e.toXML()):f.intersection(v,f.keys(e)).length&&h.cnode((new a.RSM(e)).toXML())),d.connection.addHandler(function(n){var i=t(n),s,l;if(typeof r=="function")return s=i.find('fin[xmlns="'+a.NS.MAM+'"]'),s.length?(l=new a.RSM({xml:s.find("set")[0]}),f.extend(l,f.pick(e,["max"])),f.extend(l,f.pick(e,m)),r(o,l),!1):(u===i.find("result").attr("queryid")&&o.push(n),!0);return!1},a.NS.MAM),d.connection.sendIQ(h,null,i)}},rooms:{open:function(e,t){t||(t=a.getNodeFromJid(d.bare_jid));if(typeof t!="string")throw new TypeError("rooms.open: invalid nick, must be string");var n=function(e){var n=d.chatboxes.get(e);return d.log("jid"),n||(n=d.chatboxviews.showChat({id:e,jid:e,name:a.unescapeNode(a.getNodeFromJid(e)),nick:t,chatroom:!0,box_id:h(e)})),y(d.chatboxes.getChatBox(e,!0))};if(typeof e=="undefined")throw new TypeError("rooms.open: You need to provide at least one JID");return typeof e=="string"?n(e):f.map(e,n)},get:function(e){if(typeof e=="undefined")throw new TypeError("rooms.get: You need to provide at least one JID");return typeof e=="string"?y(d.chatboxes.getChatBox(e,!0)):f.map(e,f.partial(y,f.bind(d.chatboxes.getChatBox,d.chatboxes,f,!0)))}},tokens:{get:function(e){if(!d.expose_rid_and_sid||typeof d.connection=="undefined")return null;if(e.toLowerCase()==="rid")return d.connection.rid||d.connection._proto.rid;if(e.toLowerCase()==="sid")return d.connection.sid||d.connection._proto.sid}},listen:{once:function(e,t){d.once(e,t)},on:function(e,t){d.on(e,t)},not:function(e,t){d.off(e,t)}},send:function(e){d.connection.send(e)},ping:function(e){d.ping(e)},plugins:{add:function(e,t){d.plugins[e]=t},remove:function(e){delete d.plugins[e]},override:function(e,t){d._overrideAttribute(e,t)},extend:function(e,t){d._extendObject(e,t)}},env:{$build:s,$iq:n,$msg:r,$pres:i,Strophe:a,_:f,b64_sha1:h,jQuery:t,moment:l}};return b});var config;typeof require=="undefined"&&(require={config:function(e){config=e}}),require.config({baseUrl:".",paths:{backbone:"components/backbone/backbone","backbone.browserStorage":"components/backbone.browserStorage/backbone.browserStorage","backbone.overview":"components/backbone.overview/backbone.overview","converse-dependencies":"src/deps-full","converse-templates":"src/templates",eventemitter:"components/otr/build/dep/eventemitter",jquery:"components/jquery/dist/jquery","jquery-private":"src/jquery-private","jquery.browser":"components/jquery.browser/dist/jquery.browser","jquery.easing":"components/jquery-easing-original/index",moment:"components/momentjs/moment",strophe:"components/strophejs/src/wrapper","strophe-base64":"components/strophejs/src/base64","strophe-bosh":"components/strophejs/src/bosh","strophe-core":"components/strophejs/src/core","strophe-md5":"components/strophejs/src/md5","strophe-polyfill":"components/strophejs/src/polyfills","strophe-sha1":"components/strophejs/src/sha1","strophe-websocket":"components/strophejs/src/websocket","strophe.disco":"components/strophejs-plugins/disco/strophe.disco","strophe.ping":"src/strophe.ping","strophe.rsm":"components/strophejs-plugins/rsm/strophe.rsm","strophe.vcard":"src/strophe.vcard",text:"components/requirejs-text/text",tpl:"components/requirejs-tpl-jcbrand/tpl",typeahead:"components/typeahead.js/index",underscore:"components/underscore/underscore",utils:"src/utils",polyfill:"src/polyfill",bigint:"src/bigint",crypto:"src/crypto","crypto.aes":"components/otr/vendor/cryptojs/aes","crypto.cipher-core":"components/otr/vendor/cryptojs/cipher-core","crypto.core":"components/otr/vendor/cryptojs/core","crypto.enc-base64":"components/otr/vendor/cryptojs/enc-base64","crypto.evpkdf":"components/crypto-js-evanvosberg/src/evpkdf","crypto.hmac":"components/otr/vendor/cryptojs/hmac","crypto.md5":"components/crypto-js-evanvosberg/src/md5","crypto.mode-ctr":"components/otr/vendor/cryptojs/mode-ctr","crypto.pad-nopadding":"components/otr/vendor/cryptojs/pad-nopadding","crypto.sha1":"components/otr/vendor/cryptojs/sha1","crypto.sha256":"components/otr/vendor/cryptojs/sha256",salsa20:"components/otr/build/dep/salsa20",otr:"src/otr",locales:"src/locales",jed:"components/jed/jed",af:"locale/af/LC_MESSAGES/converse.json",de:"locale/de/LC_MESSAGES/converse.json",en:"locale/en/LC_MESSAGES/converse.json",es:"locale/es/LC_MESSAGES/converse.json",fr:"locale/fr/LC_MESSAGES/converse.json",he:"locale/he/LC_MESSAGES/converse.json",hu:"locale/hu/LC_MESSAGES/converse.json",id:"locale/id/LC_MESSAGES/converse.json",it:"locale/it/LC_MESSAGES/converse.json",ja:"locale/ja/LC_MESSAGES/converse.json",nb:"locale/nb/LC_MESSAGES/converse.json",nl:"locale/nl/LC_MESSAGES/converse.json",pl:"locale/pl/LC_MESSAGES/converse.json",pt_BR:"locale/pt_BR/LC_MESSAGES/converse.json",ru:"locale/ru/LC_MESSAGES/converse.json",uk:"locale/uk/LC_MESSAGES/converse.json",zh:"locale/zh/LC_MESSAGES/converse.json",moment_with_locales:"src/moment_locales",moment_af:"components/momentjs/locale/af",moment_de:"components/momentjs/locale/de",moment_es:"components/momentjs/locale/es",moment_fr:"components/momentjs/locale/fr",moment_he:"components/momentjs/locale/he",moment_hu:"components/momentjs/locale/hu",moment_id:"components/momentjs/locale/id",moment_it:"components/momentjs/locale/it",moment_ja:"components/momentjs/locale/ja",moment_nb:"components/momentjs/locale/nb",moment_nl:"components/momentjs/locale/nl",moment_pl:"components/momentjs/locale/pl","moment_pt-br":"components/momentjs/locale/pt-br",moment_ru:"components/momentjs/locale/ru",moment_uk:"components/momentjs/locale/uk",moment_zh:"components/momentjs/locale/zh-cn",action:"src/templates/action",add_contact_dropdown:"src/templates/add_contact_dropdown",add_contact_form:"src/templates/add_contact_form",change_status_message:"src/templates/change_status_message",chat_status:"src/templates/chat_status",chatarea:"src/templates/chatarea",chatbox:"src/templates/chatbox",chatroom:"src/templates/chatroom",chatroom_form:"src/templates/chatroom_form",chatroom_password_form:"src/templates/chatroom_password_form",chatroom_sidebar:"src/templates/chatroom_sidebar",chatrooms_tab:"src/templates/chatrooms_tab",chats_panel:"src/templates/chats_panel",choose_status:"src/templates/choose_status",contacts_panel:"src/templates/contacts_panel",contacts_tab:"src/templates/contacts_tab",controlbox:"src/templates/controlbox",controlbox_toggle:"src/templates/controlbox_toggle",field:"src/templates/field",form_captcha:"src/templates/form_captcha",form_checkbox:"src/templates/form_checkbox",form_input:"src/templates/form_input",form_select:"src/templates/form_select",form_textarea:"src/templates/form_textarea",form_username:"src/templates/form_username",group_header:"src/templates/group_header",info:"src/templates/info",login_panel:"src/templates/login_panel",login_tab:"src/templates/login_tab",message:"src/templates/message",new_day:"src/templates/new_day",occupant:"src/templates/occupant",pending_contact:"src/templates/pending_contact",pending_contacts:"src/templates/pending_contacts",register_panel:"src/templates/register_panel",register_tab:"src/templates/register_tab",registration_form:"src/templates/registration_form",registration_request:"src/templates/registration_request",requesting_contact:"src/templates/requesting_contact",requesting_contacts:"src/templates/requesting_contacts",room_description:"src/templates/room_description",room_item:"src/templates/room_item",room_panel:"src/templates/room_panel",roster:"src/templates/roster",roster_item:"src/templates/roster_item",search_contact:"src/templates/search_contact",select_option:"src/templates/select_option",status_option:"src/templates/status_option",toggle_chats:"src/templates/toggle_chats",toolbar:"src/templates/toolbar",trimmed_chat:"src/templates/trimmed_chat",vcard:"src/templates/vcard"},map:{"*":{jquery:"jquery-private"},"jquery-private":{jquery:"jquery"}},tpl:{templateSettings:{evaluate:/\{\[([\s\S]+?)\]\}/g,interpolate:/\{\{([\s\S]+?)\}\}/g}},shim:{"crypto.aes":{deps:["crypto.cipher-core"]},"crypto.cipher-core":{deps:["crypto.enc-base64","crypto.evpkdf"]},"crypto.enc-base64":{deps:["crypto.core"]},"crypto.evpkdf":{deps:["crypto.md5"]},"crypto.hmac":{deps:["crypto.core"]},"crypto.md5":{deps:["crypto.core"]},"crypto.mode-ctr":{deps:["crypto.cipher-core"]},"crypto.pad-nopadding":{deps:["crypto.cipher-core"]},"crypto.sha1":{deps:["crypto.core"]},"crypto.sha256":{deps:["crypto.core"]},bigint:{deps:["crypto"]},"strophe.ping":{deps:["strophe"]},"strophe.register":{deps:["strophe"]},"strophe.vcard":{deps:["strophe"]}}}),typeof require=="function"&&require(["converse"],function(e){window.converse=e}),define("main",function(){});
\ No newline at end of file
diff --git a/xmpp/xmpp.php b/xmpp/xmpp.php
index ba8c27c7..2548005e 100644
--- a/xmpp/xmpp.php
+++ b/xmpp/xmpp.php
@@ -7,26 +7,27 @@
* Author: Michael Vogel
*/
use Friendica\App;
+use Friendica\Core\Addon;
use Friendica\Core\Config;
use Friendica\Core\PConfig;
function xmpp_install()
{
- register_hook('plugin_settings', 'addon/xmpp/xmpp.php', 'xmpp_plugin_settings');
- register_hook('plugin_settings_post', 'addon/xmpp/xmpp.php', 'xmpp_plugin_settings_post');
- register_hook('page_end', 'addon/xmpp/xmpp.php', 'xmpp_script');
- register_hook('logged_in', 'addon/xmpp/xmpp.php', 'xmpp_login');
+ Addon::registerHook('addon_settings', 'addon/xmpp/xmpp.php', 'xmpp_addon_settings');
+ Addon::registerHook('addon_settings_post', 'addon/xmpp/xmpp.php', 'xmpp_addon_settings_post');
+ Addon::registerHook('page_end', 'addon/xmpp/xmpp.php', 'xmpp_script');
+ Addon::registerHook('logged_in', 'addon/xmpp/xmpp.php', 'xmpp_login');
}
function xmpp_uninstall()
{
- unregister_hook('plugin_settings', 'addon/xmpp/xmpp.php', 'xmpp_plugin_settings');
- unregister_hook('plugin_settings_post', 'addon/xmpp/xmpp.php', 'xmpp_plugin_settings_post');
- unregister_hook('page_end', 'addon/xmpp/xmpp.php', 'xmpp_script');
- unregister_hook('logged_in', 'addon/xmpp/xmpp.php', 'xmpp_login');
+ Addon::unregisterHook('addon_settings', 'addon/xmpp/xmpp.php', 'xmpp_addon_settings');
+ Addon::unregisterHook('addon_settings_post', 'addon/xmpp/xmpp.php', 'xmpp_addon_settings_post');
+ Addon::unregisterHook('page_end', 'addon/xmpp/xmpp.php', 'xmpp_script');
+ Addon::unregisterHook('logged_in', 'addon/xmpp/xmpp.php', 'xmpp_login');
}
-function xmpp_plugin_settings_post()
+function xmpp_addon_settings_post()
{
if (!local_user() || (!x($_POST, 'xmpp-settings-submit'))) {
return;
@@ -38,7 +39,7 @@ function xmpp_plugin_settings_post()
info(t('XMPP settings updated.') . EOL);
}
-function xmpp_plugin_settings(App $a, &$s)
+function xmpp_addon_settings(App $a, &$s)
{
if (!local_user()) {
return;
@@ -99,7 +100,7 @@ function xmpp_login()
}
}
-function xmpp_plugin_admin(App $a, &$o)
+function xmpp_addon_admin(App $a, &$o)
{
$t = get_markup_template("admin.tpl", "addon/xmpp/");
@@ -110,7 +111,7 @@ function xmpp_plugin_admin(App $a, &$o)
]);
}
-function xmpp_plugin_admin_post()
+function xmpp_addon_admin_post()
{
$bosh_proxy = ((x($_POST, 'bosh_proxy')) ? trim($_POST['bosh_proxy']) : '');
$central_userbase = ((x($_POST, 'central_userbase')) ? intval($_POST['central_userbase']) : false);
diff --git a/yourls/README b/yourls/README
index 3950f027..e9b8227d 100644
--- a/yourls/README
+++ b/yourls/README
@@ -1,8 +1,8 @@
YourLS
For server admins only.
-Defines a YourLS url shortener for the Statusnet & Twitter plugins.
+Defines a YourLS url shortener for the Statusnet & Twitter addons.
-This plugin will not do anything else unless the Statusnet and/or Twitter plugins are installed.
+This addon will not do anything else unless the Statusnet and/or Twitter addons are installed.
-The message is entered in the admin account at Settings -> Plugin settings.
+The message is entered in the admin account at Settings -> Addon settings.
diff --git a/yourls/yourls.php b/yourls/yourls.php
index d5d6d234..84bfa8d7 100644
--- a/yourls/yourls.php
+++ b/yourls/yourls.php
@@ -3,24 +3,24 @@
/**
* Name: Yourls
- * Description: Defines a YourLS url shortener for the Statusnet & Twitter plugins
+ * Description: Defines a YourLS url shortener for the Statusnet & Twitter addons
* Version: 1.0
* Author: Keith Fernie
*
*/
-
+use Friendica\Core\Addon;
use Friendica\Core\Config;
function yourls_install() {
- register_hook('plugin_settings', 'addon/yourls/yourls.php', 'yourls_addon_settings');
- register_hook('plugin_settings_post', 'addon/yourls/yourls.php', 'yourls_addon_settings_post');
+ Addon::registerHook('addon_settings', 'addon/yourls/yourls.php', 'yourls_addon_settings');
+ Addon::registerHook('addon_settings_post', 'addon/yourls/yourls.php', 'yourls_addon_settings_post');
}
function yourls_uninstall() {
- unregister_hook('plugin_settings', 'addon/yourls/yourls.php', 'yourls_addon_settings');
- unregister_hook('plugin_settings_post', 'addon/yourls/yourls.php', 'yourls_addon_settings_post');
+ Addon::unregisterHook('addon_settings', 'addon/yourls/yourls.php', 'yourls_addon_settings');
+ Addon::unregisterHook('addon_settings_post', 'addon/yourls/yourls.php', 'yourls_addon_settings_post');
Config::set('yourls','url1',trim($_POST['']));
Config::set('yourls','username1',trim($_POST['']));
Config::set('yourls','password1',trim($_POST['']));