Merge remote-tracking branch 'upstream/develop' into develop

This commit is contained in:
Andy H 2018-03-25 10:33:25 +07:00
commit 3ff318b4c2
136 changed files with 1560 additions and 765 deletions

View file

@ -1,12 +1,6 @@
[main]
host = https://www.transifex.com
[friendica.addon_appnet_messagespo]
file_filter = appnet/lang/<lang>/messages.po
source_file = appnet/lang/C/messages.po
source_lang = en
type = PO
[friendica.addon_blackout_messagespo]
file_filter = blackout/lang/<lang>/messages.po
source_file = blackout/lang/C/messages.po
@ -37,12 +31,6 @@ source_file = buglink/lang/C/messages.po
source_lang = en
type = PO
[friendica.addon_cal_messagespo]
file_filter = cal/lang/<lang>/messages.po
source_file = cal/lang/C/messages.po
source_lang = en
type = PO
[friendica.addon_communityhome_messagespo]
file_filter = communityhome/lang/<lang>/messages.po
source_file = communityhome/lang/C/messages.po
@ -73,24 +61,12 @@ source_file = dwpost/lang/C/messages.po
source_lang = en
type = PO
[friendica.addon_editplain_messagespo]
file_filter = editplain/lang/<lang>/messages.po
source_file = editplain/lang/C/messages.po
source_lang = en
type = PO
[friendica.addon_forumdirectory_messagespo]
file_filter = forumdirectory/lang/<lang>/messages.po
source_file = forumdirectory/lang/C/messages.po
source_lang = en
type = PO
[friendica.addon_forumlist_messagespo]
file_filter = forumlist/lang/<lang>/messages.po
source_file = forumlist/lang/C/messages.po
source_lang = en
type = PO
[friendica.addon_fromapp_messagespo]
file_filter = fromapp/lang/<lang>/messages.po
source_file = fromapp/lang/C/messages.po
@ -115,12 +91,6 @@ source_file = gnot/lang/C/messages.po
source_lang = en
type = PO
[friendica.addon_gpluspost_messagespo]
file_filter = gpluspost/lang/<lang>/messages.po
source_file = gpluspost/lang/C/messages.po
source_lang = en
type = PO
[friendica.addon_gravatar_messagespo]
file_filter = gravatar/lang/<lang>/messages.po
source_file = gravatar/lang/C/messages.po
@ -301,6 +271,12 @@ source_file = rendertime/lang/C/messages.po
source_lang = en
type = PO
[friendica.addon_securemail_messagespo]
file_filter = securemail/lang/<lang>/messages.po
source_file = securemail/lang/C/messages.po
source_lang = en
type = PO
[friendica.addon_showmore_messagespo]
file_filter = showmore/lang/<lang>/messages.po
source_file = showmore/lang/C/messages.po
@ -313,12 +289,6 @@ source_file = smileybutton/lang/C/messages.po
source_lang = en
type = PO
[friendica.addon_snautofollow_messagespo]
file_filter = snautofollow/lang/<lang>/messages.po
source_file = snautofollow/lang/C/messages.po
source_lang = en
type = PO
[friendica.addon_startpage_messagespo]
file_filter = startpage/lang/<lang>/messages.po
source_file = startpage/lang/C/messages.po
@ -361,9 +331,9 @@ source_file = twitter/lang/C/messages.po
source_lang = en
type = PO
[friendica.addon_uhremotestorage_messagespo]
file_filter = uhremotestorage/lang/<lang>/messages.po
source_file = uhremotestorage/lang/C/messages.po
[friendica.addon_viewsrc_messagespo]
file_filter = viewsrc/lang/<lang>/messages.po
source_file = viewsrc/lang/C/messages.po
source_lang = en
type = PO
@ -385,6 +355,12 @@ source_file = wppost/lang/C/messages.po
source_lang = en
type = PO
[friendica.addon_xmpp_messagespo]
file_filter = xmpp/lang/<lang>/messages.po
source_file = xmpp/lang/C/messages.po
source_lang = en
type = PO
[friendica.addon_yourls_messagespo]
file_filter = yourls/lang/<lang>/messages.po
source_file = yourls/lang/C/messages.po

View file

@ -5,7 +5,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
util/composer.phar install -d addon
bin/composer.phar install -d addon
This will clone the entire repository in a directory called addon. They can now be activated in the addons section of your admin panel.

View file

@ -4,13 +4,13 @@
#
#
# Translators:
# fabrixxm <fabrix.xm@gmail.com>, 2014
# fabrixxm <fabrix.xm@gmail.com>, 2014,2018
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-06-22 13:18+0200\n"
"PO-Revision-Date: 2014-09-10 10:22+0000\n"
"PO-Revision-Date: 2018-03-19 19:50+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"

View file

@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-02-09 13:00+0100\n"
"PO-Revision-Date: 2018-02-17 11:24+0000\n"
"PO-Revision-Date: 2018-03-15 14:10+0000\n"
"Last-Translator: Andy H3 <andy@hubup.pro>\n"
"Language-Team: English (United Kingdom) (http://www.transifex.com/Friendica/friendica/language/en_GB/)\n"
"MIME-Version: 1.0\n"
@ -44,7 +44,7 @@ msgstr "Blockem settings saved."
#: blockem.php:140
#, php-format
msgid "Hidden content by %s - Click to open/close"
msgstr "Hidden content by %s - Show/hide"
msgstr "Hidden content by %s - Reveal/hide"
#: blockem.php:193
msgid "Unblock Author"

View file

@ -10,7 +10,7 @@ $a->strings["Hides user's content by collapsing posts. Also replaces their avata
$a->strings["Comma separated profile URLS:"] = "Comma separated profile URLs:";
$a->strings["Save Settings"] = "Save settings";
$a->strings["BLOCKEM Settings saved."] = "Blockem settings saved.";
$a->strings["Hidden content by %s - Click to open/close"] = "Hidden content by %s - Show/hide";
$a->strings["Hidden content by %s - Click to open/close"] = "Hidden content by %s - Reveal/hide";
$a->strings["Unblock Author"] = "Unblock author";
$a->strings["Block Author"] = "Block author";
$a->strings["blockem settings updated"] = "Blockem settings updated";

View file

@ -0,0 +1,59 @@
# ADDON blockem
# Copyright (C)
# This file is distributed under the same license as the Friendica blockem addon package.
#
#
# Translators:
# Andy H3 <andy@hubup.pro>, 2018
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-02-09 13:00+0100\n"
"PO-Revision-Date: 2018-03-15 14:14+0000\n"
"Last-Translator: Andy H3 <andy@hubup.pro>\n"
"Language-Team: English (United States) (http://www.transifex.com/Friendica/friendica/language/en_US/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: en_US\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: blockem.php:51 blockem.php:55
msgid "\"Blockem\""
msgstr "\"Blockem\""
#: blockem.php:59
msgid ""
"Hides user's content by collapsing posts. Also replaces their avatar with "
"generic image."
msgstr "Hides user's content by collapsing posts. Also replaces their avatar with generic image."
#: blockem.php:60
msgid "Comma separated profile URLS:"
msgstr "Comma separated profile URLs:"
#: blockem.php:64
msgid "Save Settings"
msgstr "Save settings"
#: blockem.php:77
msgid "BLOCKEM Settings saved."
msgstr "Blockem settings saved."
#: blockem.php:140
#, php-format
msgid "Hidden content by %s - Click to open/close"
msgstr "Hidden content by %s - Reveal/hide"
#: blockem.php:193
msgid "Unblock Author"
msgstr "Unblock author"
#: blockem.php:195
msgid "Block Author"
msgstr "Block author"
#: blockem.php:227
msgid "blockem settings updated"
msgstr "Blockem settings updated"

View file

@ -0,0 +1,16 @@
<?php
if(! function_exists("string_plural_select_en_us")) {
function string_plural_select_en_us($n){
return ($n != 1);;
}}
;
$a->strings["\"Blockem\""] = "\"Blockem\"";
$a->strings["Hides user's content by collapsing posts. Also replaces their avatar with generic image."] = "Hides user's content by collapsing posts. Also replaces their avatar with generic image.";
$a->strings["Comma separated profile URLS:"] = "Comma separated profile URLs:";
$a->strings["Save Settings"] = "Save settings";
$a->strings["BLOCKEM Settings saved."] = "Blockem settings saved.";
$a->strings["Hidden content by %s - Click to open/close"] = "Hidden content by %s - Reveal/hide";
$a->strings["Unblock Author"] = "Unblock author";
$a->strings["Block Author"] = "Block author";
$a->strings["blockem settings updated"] = "Blockem settings updated";

View file

@ -4,13 +4,13 @@
#
#
# Translators:
# fabrixxm <fabrix.xm@gmail.com>, 2014
# fabrixxm <fabrix.xm@gmail.com>, 2014,2018
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-06-22 13:18+0200\n"
"PO-Revision-Date: 2014-09-10 10:23+0000\n"
"POT-Creation-Date: 2018-02-09 13:00+0100\n"
"PO-Revision-Date: 2018-03-19 13:14+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"
@ -19,35 +19,41 @@ msgstr ""
"Language: it\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: blockem.php:53 blockem.php:57
#: blockem.php:51 blockem.php:55
msgid "\"Blockem\""
msgstr "\"Blockem\""
#: blockem.php:61
msgid "Comma separated profile URLS to block"
msgstr "Lista, separata da virgola, di indirizzi da bloccare"
#: blockem.php:59
msgid ""
"Hides user's content by collapsing posts. Also replaces their avatar with "
"generic image."
msgstr "Nascondi il contenuto degli utenti collassando i messaggi. Sostituisce anche gli avatar con un'immagine generica."
#: blockem.php:65
#: blockem.php:60
msgid "Comma separated profile URLS:"
msgstr "URL profili separati da virgola:"
#: blockem.php:64
msgid "Save Settings"
msgstr "Salva Impostazioni"
#: blockem.php:78
#: blockem.php:77
msgid "BLOCKEM Settings saved."
msgstr "Impostazioni BLOCKEM salvate."
#: blockem.php:142
#: blockem.php:140
#, php-format
msgid "Blocked %s - Click to open/close"
msgstr "%s bloccato - Clicca per aprire/chiudere"
msgid "Hidden content by %s - Click to open/close"
msgstr "Contenuto di %s nascosto - Clicca per aprire/chiudere"
#: blockem.php:197
#: blockem.php:193
msgid "Unblock Author"
msgstr "Sblocca autore"
#: blockem.php:199
#: blockem.php:195
msgid "Block Author"
msgstr "Blocca autore"
#: blockem.php:231
#: blockem.php:227
msgid "blockem settings updated"
msgstr "Impostazioni 'blockem' aggiornate."

View file

@ -6,10 +6,11 @@ function string_plural_select_it($n){
}}
;
$a->strings["\"Blockem\""] = "\"Blockem\"";
$a->strings["Comma separated profile URLS to block"] = "Lista, separata da virgola, di indirizzi da bloccare";
$a->strings["Hides user's content by collapsing posts. Also replaces their avatar with generic image."] = "Nascondi il contenuto degli utenti collassando i messaggi. Sostituisce anche gli avatar con un'immagine generica.";
$a->strings["Comma separated profile URLS:"] = "URL profili separati da virgola:";
$a->strings["Save Settings"] = "Salva Impostazioni";
$a->strings["BLOCKEM Settings saved."] = "Impostazioni BLOCKEM salvate.";
$a->strings["Blocked %s - Click to open/close"] = "%s bloccato - Clicca per aprire/chiudere";
$a->strings["Hidden content by %s - Click to open/close"] = "Contenuto di %s nascosto - Clicca per aprire/chiudere";
$a->strings["Unblock Author"] = "Sblocca autore";
$a->strings["Block Author"] = "Blocca autore";
$a->strings["blockem settings updated"] = "Impostazioni 'blockem' aggiornate.";

View file

@ -4,13 +4,13 @@
#
#
# Translators:
# fabrixxm <fabrix.xm@gmail.com>, 2014
# fabrixxm <fabrix.xm@gmail.com>, 2014,2018
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-06-22 13:18+0200\n"
"PO-Revision-Date: 2014-09-10 10:24+0000\n"
"PO-Revision-Date: 2018-03-19 13:21+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"
@ -29,7 +29,7 @@ msgstr "Esporta Blogger"
#: blogger.php:82
msgid "Enable Blogger Post Addon"
msgstr "Abilita il addon di invio a Blogger"
msgstr "Abilita il componente aggiuntivo di invio a Blogger"
#: blogger.php:87
msgid "Blogger username"

View file

@ -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 Addon"] = "Abilita il addon di invio a Blogger";
$a->strings["Enable Blogger Post Addon"] = "Abilita il componente aggiuntivo 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";

View file

@ -4,15 +4,15 @@
#
#
# Translators:
# fabrixxm <fabrix.xm@gmail.com>, 2014
# fabrixxm <fabrix.xm@gmail.com>, 2014,2018
# Sandro Santilli <strk@kbt.io>, 2015
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-06-22 13:18+0200\n"
"PO-Revision-Date: 2015-11-01 11:05+0000\n"
"Last-Translator: Sandro Santilli <strk@kbt.io>\n"
"PO-Revision-Date: 2018-03-19 13:21+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@ -62,7 +62,7 @@ msgstr "Autentica la tua connessione a Buffer"
#: buffer.php:146
msgid "Enable Buffer Post Addon"
msgstr "Abilita il addon di invio a Buffer"
msgstr "Abilita il componente aggiuntivo di invio a Buffer"
#: buffer.php:151
msgid "Post to Buffer by default"

View file

@ -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 Addon"] = "Abilita il addon di invio a Buffer";
$a->strings["Enable Buffer Post Addon"] = "Abilita il componente aggiuntivo 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:";

View file

@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-06-22 13:18+0200\n"
"PO-Revision-Date: 2014-09-10 10:27+0000\n"
"PO-Revision-Date: 2017-09-20 06:07+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"

View file

@ -1,34 +1,17 @@
Community Home
--------------
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
This addon overwrites the default home page shown to anonymous users.
On the sidebar there are the login form, last ten users (if they chose
to be in the 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 addon doesn't
honour your community page visibility site setting: the community
In the main content is shown the community stream. This addon doesn't
honor your community page visibility site setting: the community
stream is shown also if you have choose to not show the community page.
If 'home.html' is found in your friendica root, its content is inserted
If 'home.html' is found in your friendica root, its content is inserted
before community stream
Each elements can be show or not. At the moment, there is no admin page
for settings, so this settings must be added to yout .htconfig.php
$a->config['communityhome']['showcommunitystream'] = true;
$a->config['communityhome']['showlastlike'] = true;
$a->config['communityhome']['showlastphotos'] = true;
$a->config['communityhome']['showactiveusers'] = true;
$a->config['communityhome']['showlastusers'] = true;
If you don't want to show something, set it to false.
Note:
-----
- Default is "false". With no settings in .htconfig.php, nothing is
shown, except login form and content of 'home.html'
- Active users query can be heavy for db, and on some system don't work
By default no features are enabled, you can edit this addon's settings
through the admin panel.

View file

@ -1,40 +1,45 @@
<?php
/**
* Name: Community home
* Description: Show last community activity in homepage
* Version: 2.0
* Author: Fabio Comuni <http://kirgroup.com/profile/fabrixxm>
* Status: Unsupported
*/
use Friendica\App;
use Friendica\Core\Addon;
use Friendica\Core\Config;
use Friendica\Core\L10n;
use Friendica\Module\Login;
require_once('mod/community.php');
require_once 'mod/community.php';
function communityhome_install() {
function communityhome_install()
{
Addon::registerHook('home_content', 'addon/communityhome/communityhome.php', 'communityhome_home');
logger("installed communityhome");
}
function communityhome_uninstall() {
function communityhome_uninstall()
{
Addon::unregisterHook('home_content', 'addon/communityhome/communityhome.php', 'communityhome_home');
logger("removed communityhome");
}
function communityhome_getopts() {
function communityhome_getopts()
{
return [
'hidelogin'=>L10n::t('Hide login form'),
'showlastusers'=>L10n::t('Show last new users'),
'showactiveusers'=>L10n::t('Show last active users'),
'showlastphotos'=>L10n::t('Show last photos'),
'showlastlike'=>L10n::t('Show last liked items'),
'showcommunitystream'=>L10n::t('Show community stream')
'hidelogin' => L10n::t('Hide login form'),
'showlastusers' => L10n::t('Show last new users'),
'showlastphotos' => L10n::t('Show last photos'),
'showlastlike' => L10n::t('Show last liked items'),
'showcommunitystream' => L10n::t('Show community stream')
];
}
function communityhome_addon_admin(&$a, &$o)
function communityhome_addon_admin(App $a, &$o)
{
$tpl = get_markup_template('settings.tpl', 'addon/communityhome/');
@ -45,37 +50,37 @@ function communityhome_addon_admin(&$a, &$o)
];
foreach ($opts as $k => $v) {
$ctx['fields'][] = ['communityhome_'.$k, $v, Config::get('communityhome', $k)];
$ctx['fields'][] = ['communityhome_' . $k, $v, Config::get('communityhome', $k)];
}
$o = replace_macros($tpl, $ctx);
}
function communityhome_addon_admin_post(&$a, &$b)
function communityhome_addon_admin_post(App $a)
{
if (x($_POST, 'communityhome-submit')) {
$opts = communityhome_getopts();
foreach ($opts as $k => $v) {
Config::set('communityhome', $k, x($_POST, 'communityhome_'.$k));
Config::set('communityhome', $k, x($_POST, 'communityhome_' . $k));
}
}
}
function communityhome_home(&$a, &$o){
function communityhome_home(App $a, &$o)
{
// custom css
$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="'.$a->get_baseurl().'/addon/communityhome/communityhome.css" media="all" />';
$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . $a->get_baseurl() . '/addon/communityhome/communityhome.css" media="all" />';
if (!Config::get('communityhome','hidelogin')){
if (!Config::get('communityhome', 'hidelogin')) {
$aside = [
'$tab_1' => L10n::t('Login'),
'$tab_2' => L10n::t('OpenID'),
'$noOid' => Config::get('system','no_openid'),
'$noOid' => Config::get('system', 'no_openid'),
];
// login form
$aside['$login_title'] = L10n::t('Login');
$aside['$login_title'] = L10n::t('Login');
$aside['$login_form'] = Login::form($a->query_string, $a->config['register_policy'] == REGISTER_CLOSED ? false : true);
} else {
} else {
$aside = [
//'$tab_1' => L10n::t('Login'),
//'$tab_2' => L10n::t('OpenID'),
@ -84,26 +89,26 @@ function communityhome_home(&$a, &$o){
}
// last 12 users
if (Config::get('communityhome','showlastusers')){
if (Config::get('communityhome', 'showlastusers')) {
$aside['$lastusers_title'] = L10n::t('Latest users');
$aside['$lastusers_items'] = [];
$sql_extra = "";
$publish = (Config::get('system','publish_all') ? '' : " AND `publish` = 1 " );
$publish = (Config::get('system', 'publish_all') ? '' : " AND `publish` = 1 " );
$order = " ORDER BY `register_date` DESC ";
$r = q("SELECT `profile`.*, `profile`.`uid` AS `profile_uid`, `user`.`nickname`
FROM `profile` LEFT JOIN `user` ON `user`.`uid` = `profile`.`uid`
WHERE `is-default` = 1 $publish AND `user`.`blocked` = 0 $sql_extra $order LIMIT %d , %d ",
WHERE `is-default` = 1 $publish AND `user`.`blocked` = 0 $sql_extra $order LIMIT %d, %d ",
0,
12
);
# $tpl = file_get_contents( dirname(__file__).'/directory_item.tpl');
$tpl = get_markup_template( 'directory_item.tpl', 'addon/communityhome/' );
if(count($r)) {
# $tpl = file_get_contents( dirname(__file__).'/directory_item.tpl');
$tpl = get_markup_template('directory_item.tpl', 'addon/communityhome/');
if (count($r)) {
$photo = 'thumb';
foreach($r as $rr) {
foreach ($r as $rr) {
$profile_link = $a->get_baseurl() . '/profile/' . ((strlen($rr['nickname'])) ? $rr['nickname'] : $rr['profile_uid']);
$entry = replace_macros($tpl,[
$entry = replace_macros($tpl, [
'$id' => $rr['id'],
'$profile_link' => $profile_link,
'$photo' => $rr[$photo],
@ -113,41 +118,9 @@ function communityhome_home(&$a, &$o){
}
}
}
// 12 most active users (by posts and contacts)
// this query don't work on some mysql versions
if (Config::get('communityhome','showactiveusers')){
$r = q("SELECT `uni`.`contacts`,`uni`.`items`, `profile`.*, `profile`.`uid` AS `profile_uid`, `user`.`nickname` FROM
(SELECT COUNT(*) as `contacts`, `uid` FROM `contact` WHERE `self`=0 GROUP BY `uid`) AS `con`,
(SELECT COUNT(*) as `items`, `uid` FROM `item` WHERE `item`.`changed` > DATE(NOW() - INTERVAL 1 MONTH) AND `item`.`wall` = 1 GROUP BY `uid`) AS `ite`,
(
SELECT `contacts`,`items`,`ite`.`uid` FROM `con` RIGHT OUTER JOIN `ite` ON `con`.`uid`=`ite`.`uid`
UNION ALL
SELECT `contacts`,`items`,`con`.`uid` FROM `con` LEFT OUTER JOIN `ite` ON `con`.`uid`=`ite`.`uid`
) AS `uni`, `user`, `profile`
WHERE `uni`.`uid`=`user`.`uid`
AND `uni`.`uid`=`profile`.`uid` AND `profile`.`publish`=1
GROUP BY `uid`
ORDER BY `items` DESC,`contacts` DESC
LIMIT 0,10");
if($r && count($r)) {
$aside['$activeusers_title'] = L10n::t('Most active users');
$aside['$activeusers_items'] = [];
$photo = 'thumb';
foreach($r as $rr) {
$profile_link = $a->get_baseurl() . '/profile/' . ((strlen($rr['nickname'])) ? $rr['nickname'] : $rr['profile_uid']);
$entry = replace_macros($tpl,[
'$id' => $rr['id'],
'$profile_link' => $profile_link,
'$photo' => $rr[$photo],
'$photo_user' => sprintf("%s (%s posts, %s contacts)",$rr['name'], ($rr['items']?$rr['items']:'0'), ($rr['contacts']?$rr['contacts']:'0'))
]);
$aside['$activeusers_items'][] = $entry;
}
}
}
// last 12 photos
if (Config::get('communityhome','showlastphotos')){
if (Config::get('communityhome', 'showlastphotos')) {
$aside['$photos_title'] = L10n::t('Latest photos');
$aside['$photos_items'] = [];
$r = q("SELECT `photo`.`id`, `photo`.`resource-id`, `photo`.`scale`, `photo`.`desc`, `user`.`nickname`, `user`.`username` FROM
@ -161,19 +134,19 @@ function communityhome_home(&$a, &$o){
AND `user`.`hidewall` = 0
ORDER BY `photo`.`edited` DESC
LIMIT 0, 12",
dbesc(L10n::t('Contact Photos')),
dbesc(L10n::t('Profile Photos'))
);
dbesc(L10n::t('Contact Photos')),
dbesc(L10n::t('Profile Photos'))
);
if(count($r)) {
# $tpl = file_get_contents( dirname(__file__).'/directory_item.tpl');
$tpl = get_markup_template( 'directory_item.tpl', 'addon/communityhome/' );
foreach($r as $rr) {
if (count($r)) {
# $tpl = file_get_contents( dirname(__file__).'/directory_item.tpl');
$tpl = get_markup_template('directory_item.tpl', 'addon/communityhome/');
foreach ($r as $rr) {
$photo_page = $a->get_baseurl() . '/photos/' . $rr['nickname'] . '/image/' . $rr['resource-id'];
$photo_url = $a->get_baseurl() . '/photo/' . $rr['resource-id'] . '-' . $rr['scale'] .'.jpg';
$photo_url = $a->get_baseurl() . '/photo/' . $rr['resource-id'] . '-' . $rr['scale'] . '.jpg';
$entry = replace_macros($tpl,[
$entry = replace_macros($tpl, [
'$id' => $rr['id'],
'$profile_link' => $photo_page,
'$photo' => $photo_url,
@ -187,7 +160,7 @@ function communityhome_home(&$a, &$o){
}
// last 10 liked items
if (Config::get('communityhome','showlastlike')){
if (Config::get('communityhome', 'showlastlike')) {
$aside['$like_title'] = L10n::t('Latest likes');
$aside['$like_items'] = [];
$r = q("SELECT `T1`.`created`, `T1`.`liker`, `T1`.`liker-link`, `item`.* FROM
@ -198,17 +171,18 @@ function communityhome_home(&$a, &$o){
GROUP BY `uri`
ORDER BY `T1`.`created` DESC
LIMIT 0,10",
$a->get_baseurl(),$a->get_baseurl()
);
$a->get_baseurl(),
$a->get_baseurl()
);
foreach ($r as $rr) {
$author = '<a href="' . $rr['liker-link'] . '">' . $rr['liker'] . '</a>';
$objauthor = '<a href="' . $rr['author-link'] . '">' . $rr['author-name'] . '</a>';
$author = '<a href="' . $rr['liker-link'] . '">' . $rr['liker'] . '</a>';
$objauthor = '<a href="' . $rr['author-link'] . '">' . $rr['author-name'] . '</a>';
//var_dump($rr['verb'],$rr['object-type']); killme();
switch($rr['verb']){
switch ($rr['verb']) {
case 'http://activitystrea.ms/schema/1.0/post':
switch ($rr['object-type']){
switch ($rr['object-type']) {
case 'http://activitystrea.ms/schema/1.0/event':
$post_type = L10n::t('event');
break;
@ -217,9 +191,10 @@ function communityhome_home(&$a, &$o){
}
break;
default:
if ($rr['resource-id']){
if ($rr['resource-id']) {
$post_type = L10n::t('photo');
$m=[]; preg_match("/\[url=([^]]*)\]/", $rr['body'], $m);
$m = [];
preg_match("/\[url=([^]]*)\]/", $rr['body'], $m);
$rr['plink'] = $m[1];
} else {
$post_type = L10n::t('status');
@ -228,7 +203,6 @@ function communityhome_home(&$a, &$o){
$plink = '<a href="' . $rr['plink'] . '">' . $post_type . '</a>';
$aside['$like_items'][] = L10n::t('%1$s likes %2$s\'s %3$s', $author, $objauthor, $plink);
}
}
@ -236,19 +210,16 @@ function communityhome_home(&$a, &$o){
$tpl = get_markup_template('communityhome.tpl', 'addon/communityhome/');
$a->page['aside'] = replace_macros($tpl, $aside);
$o = '<h1>' . ((x($a->config,'sitename')) ? L10n::t("Welcome to %s", $a->config['sitename']) : "" ) . '</h1>';
$o = '<h1>' . ((x($a->config, 'sitename')) ? L10n::t("Welcome to %s", $a->config['sitename']) : "" ) . '</h1>';
if(file_exists('home.html'))
$o = file_get_contents('home.html');
if (file_exists('home.html')) $o = file_get_contents('home.html');
if (Config::get('communityhome','showcommunitystream')){
$oldset = Config::get('system','community_page_style');
if ($oldset == CP_NO_COMMUNITY_PAGE)
Config::set('system','community_page_style', CP_USERS_ON_SERVER);
if (Config::get('communityhome', 'showcommunitystream')) {
$oldset = Config::get('system', 'community_page_style');
if ($oldset == CP_NO_COMMUNITY_PAGE) Config::set('system', 'community_page_style', CP_USERS_ON_SERVER);
$o .= community_content($a,1);
$o .= community_content($a, 1);
if ($oldset == CP_NO_COMMUNITY_PAGE)
Config::set('system','community_page_style', $oldset);
if ($oldset == CP_NO_COMMUNITY_PAGE) Config::set('system', 'community_page_style', $oldset);
}
}

View file

@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2014-09-10 10:30+0000\n"
"PO-Revision-Date: 2017-09-20 06:07+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"

View file

@ -15,9 +15,9 @@
$("#tab_1").removeClass("active");
e.preventDefault();
return false;
});
});
</script>
{{if $noOid}}
@ -41,15 +41,6 @@
{{/if}}
{{if $activeusers_title}}
<h3>{{$activeusers_title}}</h3>
<div class='items-wrapper'>
{{foreach $activeusers_items as $i}}
{{$i}}
{{/foreach}}
</div>
{{/if}}
{{if $photos_title}}
<h3>{{$photos_title}}</h3>
<div class='items-wrapper'>

View file

@ -11,7 +11,7 @@ msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-09-25 17:17+0200\n"
"PO-Revision-Date: 2016-11-22 06:43+0000\n"
"PO-Revision-Date: 2017-09-20 06:07+0000\n"
"Last-Translator: Tobias Diekershoff <tobias.diekershoff@gmx.net>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"

View file

@ -4,13 +4,13 @@
#
#
# Translators:
# fabrixxm <fabrix.xm@gmail.com>, 2014
# fabrixxm <fabrix.xm@gmail.com>, 2014,2018
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2015-12-14 11:10+0000\n"
"PO-Revision-Date: 2018-03-19 13:21+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"
@ -188,7 +188,7 @@ msgid ""
"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 addon non è stata configurata correttamente. Contatta l'amministratore."
msgstr "La versione corrente di questo componente aggiuntivo non è stata configurata correttamente. Contatta l'amministratore."
#: friendica/main.php:239 common/wdcal_edit.inc.php:146
msgid "Calendar"

View file

@ -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 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["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 componente aggiuntivo 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";

View file

@ -9,6 +9,7 @@
require_once 'addon/diaspora/Diaspora_Connection.php';
use Friendica\Content\Text\BBCode;
use Friendica\Core\Addon;
use Friendica\Core\L10n;
use Friendica\Core\PConfig;
@ -303,10 +304,8 @@ function diaspora_send(&$a,&$b) {
$aspect = PConfig::get($b['uid'],'diaspora','aspect');
if ($handle && $password) {
logger('diaspora_send: all values seem to be okay', LOGGER_DEBUG);
require_once('include/bb2diaspora.php');
$tag_arr = [];
$tags = '';
$x = preg_match_all('/\#\[(.*?)\](.*?)\[/',$b['tag'],$matches,PREG_SET_ORDER);
@ -338,7 +337,7 @@ function diaspora_send(&$a,&$b) {
} while ($oldbody != $body);
// convert to markdown
$body = bb2diaspora($body);
$body = BBCode::toMarkdown($body);
// Adding the title
if(strlen($title))

View file

@ -4,13 +4,13 @@
#
#
# Translators:
# fabrixxm <fabrix.xm@gmail.com>, 2014
# fabrixxm <fabrix.xm@gmail.com>, 2014,2018
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-06-22 13:18+0200\n"
"PO-Revision-Date: 2014-09-10 11:57+0000\n"
"PO-Revision-Date: 2018-03-19 13:21+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"
@ -35,7 +35,7 @@ msgstr "Esporta Diaspora"
#: diaspora.php:163
msgid "Enable Diaspora Post Addon"
msgstr "Abilita il addon di invio a Diaspora"
msgstr "Abilita il componente aggiuntivo di invio a Diaspora"
#: diaspora.php:168
msgid "Diaspora username"

View file

@ -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 Addon"] = "Abilita il addon di invio a Diaspora";
$a->strings["Enable Diaspora Post Addon"] = "Abilita il componente aggiuntivo 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";

View file

@ -4,13 +4,13 @@
#
#
# Translators:
# fabrixxm <fabrix.xm@gmail.com>, 2014
# fabrixxm <fabrix.xm@gmail.com>, 2014,2018
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2014-10-22 07:54+0000\n"
"PO-Revision-Date: 2018-03-19 13:21+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"
@ -21,15 +21,15 @@ msgstr ""
#: dwpost.php:39
msgid "Post to Dreamwidth"
msgstr "Posta su Dreamwidth"
msgstr "Invia a Dreamwidth"
#: dwpost.php:70
msgid "Dreamwidth Post Settings"
msgstr "Impostazioni di invio a Dreamwidth"
msgstr "Impostazioni Invio a Dreeamwidth"
#: dwpost.php:72
msgid "Enable dreamwidth Post Addon"
msgstr "Abilita il addon di invio a Dreamwidth"
msgstr "Abilita il componente aggiuntivo di invio a Dreamwidth"
#: dwpost.php:77
msgid "dreamwidth username"
@ -45,4 +45,4 @@ msgstr "Invia sempre a Dreamwidth"
#: dwpost.php:93
msgid "Submit"
msgstr "Invia"
msgstr "Salva"

View file

@ -5,10 +5,10 @@ function string_plural_select_it($n){
return ($n != 1);;
}}
;
$a->strings["Post to Dreamwidth"] = "Posta su Dreamwidth";
$a->strings["Dreamwidth Post Settings"] = "Impostazioni di invio a Dreamwidth";
$a->strings["Enable dreamwidth Post Addon"] = "Abilita il addon di invio a Dreamwidth";
$a->strings["Post to Dreamwidth"] = "Invia a Dreamwidth";
$a->strings["Dreamwidth Post Settings"] = "Impostazioni Invio a Dreeamwidth";
$a->strings["Enable dreamwidth Post Addon"] = "Abilita il componente aggiuntivo 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";
$a->strings["Submit"] = "Invia";
$a->strings["Submit"] = "Salva";

View file

@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2014-09-10 12:04+0000\n"
"PO-Revision-Date: 2017-09-20 06:07+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"

View file

@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2015-08-31 10:11+0000\n"
"PO-Revision-Date: 2017-09-20 06:07+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"

View file

@ -11,7 +11,7 @@ msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-11-12 16:52+0000\n"
"PO-Revision-Date: 2017-01-18 10:38+0000\n"
"PO-Revision-Date: 2017-09-20 06:07+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"

View file

@ -4,13 +4,13 @@
#
#
# Translators:
# fabrixxm <fabrix.xm@gmail.com>, 2014-2015
# fabrixxm <fabrix.xm@gmail.com>, 2014-2015,2018
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2015-08-31 10:12+0000\n"
"PO-Revision-Date: 2018-03-19 13:22+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"
@ -29,7 +29,7 @@ msgstr "Impostazioni Geonames"
#: geonames.php:181
msgid "Enable Geonames Addon"
msgstr "Abilita addon Geonames"
msgstr "Abilita componente aggiuntivo Geonames"
#: geonames.php:187
msgid "Submit"

View file

@ -7,5 +7,5 @@ function string_plural_select_it($n){
;
$a->strings["Geonames settings updated."] = "Impostazioni di Geonames aggiornate.";
$a->strings["Geonames Settings"] = "Impostazioni Geonames";
$a->strings["Enable Geonames Addon"] = "Abilita addon Geonames";
$a->strings["Enable Geonames Addon"] = "Abilita componente aggiuntivo Geonames";
$a->strings["Submit"] = "Invia";

View file

@ -4,13 +4,13 @@
#
#
# Translators:
# fabrixxm <fabrix.xm@gmail.com>, 2014-2015
# fabrixxm <fabrix.xm@gmail.com>, 2014-2015,2018
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2015-08-31 10:12+0000\n"
"PO-Revision-Date: 2018-03-19 13:22+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"
@ -35,7 +35,7 @@ msgstr "Permetti di raggruppare le notifiche dei commenti in thread su Gmail e a
#: gnot.php:82
msgid "Enable this addon?"
msgstr "Abilita questo addon?"
msgstr "Abilita questo componente aggiuntivo?"
#: gnot.php:88
msgid "Submit"

View file

@ -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 addon?"] = "Abilita questo addon?";
$a->strings["Enable this addon?"] = "Abilita questo componente aggiuntivo?";
$a->strings["Submit"] = "Invia";
$a->strings["[Friendica:Notify] Comment to conversation #%d"] = "[Friendica:Notifica] Commento alla conversazione n° %d";

View file

@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2015-08-31 10:12+0000\n"
"PO-Revision-Date: 2017-09-20 06:08+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"

View file

@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2015-08-31 10:12+0000\n"
"PO-Revision-Date: 2017-09-20 06:08+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"

View file

@ -4,13 +4,13 @@
#
#
# Translators:
# fabrixxm <fabrix.xm@gmail.com>, 2014-2015
# fabrixxm <fabrix.xm@gmail.com>, 2014-2015,2018
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2015-08-31 10:15+0000\n"
"PO-Revision-Date: 2018-03-19 13:22+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"
@ -29,7 +29,7 @@ msgstr "Impostazioni post InsaneJournal"
#: ijpost.php:72
msgid "Enable InsaneJournal Post Addon"
msgstr "Abilita iladdondi invio a InsaneJournal"
msgstr "Abilita il componente aggiuntivo di invio a InsaneJournal"
#: ijpost.php:77
msgid "InsaneJournal username"

View file

@ -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 Addon"] = "Abilita il addon di invio a InsaneJournal";
$a->strings["Enable InsaneJournal Post Addon"] = "Abilita il componente aggiuntivo 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";

View file

@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2015-08-31 10:15+0000\n"
"PO-Revision-Date: 2017-09-20 06:08+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"
@ -40,7 +40,7 @@ msgid ""
"The impressum addon needs to be configured!<br />Please add at least the "
"<tt>owner</tt> variable to your config file. For other variables please "
"refer to the README file of the addon."
msgstr "IladdonColophon deve essere configurato!<br>Aggiungi almeno il Proprietario del sito."
msgstr "Il plugin Colophon deve essere configurato!<br>Aggiungi almeno il Proprietario del sito."
#: impressum.php:78
msgid "Settings updated."

View file

@ -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!<br />Please add at least the <tt>owner</tt> variable to your config file. For other variables please refer to the README file of the addon."] = "Il addon Colophon deve essere configurato!<br>Aggiungi almeno il Proprietario del sito.";
$a->strings["The impressum addon needs to be configured!<br />Please add at least the <tt>owner</tt> variable to your config file. For other variables please refer to the README file of the addon."] = "Il plugin Colophon deve essere configurato!<br>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.";

View file

@ -9,8 +9,8 @@ msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-06-22 13:18+0200\n"
"PO-Revision-Date: 2014-09-10 12:23+0000\n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2017-09-20 06:08+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"

View file

@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-07-08 13:17+0200\n"
"PO-Revision-Date: 2015-08-31 10:17+0000\n"
"PO-Revision-Date: 2017-09-20 06:08+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"

View file

@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2015-08-31 10:18+0000\n"
"PO-Revision-Date: 2017-09-20 06:08+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"
@ -21,11 +21,11 @@ msgstr ""
#: jappixmini.php:266
msgid "Jappix Mini addon settings"
msgstr "ImpostazioniaddonJappix Mini"
msgstr "Impostazioni plugin Jappix Mini"
#: jappixmini.php:268
msgid "Activate addon"
msgstr "Abilita addon"
msgstr "Abilita plugin"
#: jappixmini.php:271
msgid ""

View file

@ -5,8 +5,8 @@ function string_plural_select_it($n){
return ($n != 1);;
}}
;
$a->strings["Jappix Mini addon settings"] = "Impostazioni addon Jappix Mini";
$a->strings["Activate addon"] = "Abilita addon";
$a->strings["Jappix Mini addon settings"] = "Impostazioni plugin Jappix Mini";
$a->strings["Activate addon"] = "Abilita plugin";
$a->strings["Do <em>not</em> 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";

View file

@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2014-09-10 12:26+0000\n"
"PO-Revision-Date: 2017-09-20 06:08+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"

View file

@ -4,13 +4,13 @@
#
#
# Translators:
# fabrixxm <fabrix.xm@gmail.com>, 2015
# fabrixxm <fabrix.xm@gmail.com>, 2015,2018
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2015-08-31 11:55+0000\n"
"PO-Revision-Date: 2018-03-19 13:22+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"
@ -25,7 +25,7 @@ msgstr "Impostazioni Krynn"
#: krynn.php:152
msgid "Enable Krynn Addon"
msgstr "AbilitaaddonKrynn"
msgstr "Abilita componente aggiuntivo Krynn"
#: krynn.php:158
msgid "Submit"

View file

@ -6,5 +6,5 @@ function string_plural_select_it($n){
}}
;
$a->strings["Krynn Settings"] = "Impostazioni Krynn";
$a->strings["Enable Krynn Addon"] = "Abilita addon Krynn";
$a->strings["Enable Krynn Addon"] = "Abilita componente aggiuntivo Krynn";
$a->strings["Submit"] = "Invia";

View file

@ -11,7 +11,7 @@ msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-09-22 15:18+0200\n"
"PO-Revision-Date: 2015-12-14 10:47+0000\n"
"PO-Revision-Date: 2017-09-22 12:16+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"
@ -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 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."
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."
#: langfilter.php:46
msgid "Use the language filter"

View file

@ -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 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["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["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\"";

View file

@ -0,0 +1,70 @@
# ADDON langfilter
# Copyright (C)
# This file is distributed under the same license as the Friendica langfilter addon package.
#
#
# Translators:
# Karel Vandecandelaere <karel@dasrakel.eu>, 2018
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-09-22 15:18+0200\n"
"PO-Revision-Date: 2018-03-20 13:46+0000\n"
"Last-Translator: Karel Vandecandelaere <karel@dasrakel.eu>\n"
"Language-Team: Dutch (http://www.transifex.com/Friendica/friendica/language/nl/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: nl\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: langfilter.php:44
msgid "Language Filter"
msgstr "Taalfilter"
#: langfilter.php:45
msgid ""
"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."
msgstr "Deze addon probeert de taal van berichten automatisch te bepalen. Als het niet overeenkomt met een taal die jij spreekt (zie verder) zal het bericht worden verborgen. Onthoudt hierbij wel dat taaldetectie niet perfect is, vooral bij korte berichten."
#: langfilter.php:46
msgid "Use the language filter"
msgstr "Gebruik de taalfilter"
#: langfilter.php:47
msgid "I speak"
msgstr "Ik spreek"
#: langfilter.php:47
msgid ""
"List of abbreviations (iso2 codes) for languages you speak, comma separated."
" For example \"de,it\"."
msgstr "Lijst van afkortingen (ISO2 codes) voor talen die jij spreekt, door komma's gescheiden. Bijvoorbeeld \"de,it\"."
#: langfilter.php:48
msgid "Minimum confidence in language detection"
msgstr ""
#: langfilter.php:48
msgid ""
"Minimum confidence in language detection being correct, from 0 to 100. Posts"
" will not be filtered when the confidence of language detection is below "
"this percent value."
msgstr ""
#: langfilter.php:49
msgid "Save Settings"
msgstr "Instellingen opslaan"
#: langfilter.php:73
msgid "Language Filter Settings saved."
msgstr "Taalfilter-instellingen bijgewerkt."
#: langfilter.php:123
#, php-format
msgid "unspoken language %s - Click to open/close"
msgstr "niet gesproken taal %s - Klik om open/dicht te klappen"

View file

@ -0,0 +1,17 @@
<?php
if(! function_exists("string_plural_select_nl")) {
function string_plural_select_nl($n){
return ($n != 1);;
}}
;
$a->strings["Language Filter"] = "Taalfilter";
$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."] = "Deze addon probeert de taal van berichten automatisch te bepalen. Als het niet overeenkomt met een taal die jij spreekt (zie verder) zal het bericht worden verborgen. Onthoudt hierbij wel dat taaldetectie niet perfect is, vooral bij korte berichten.";
$a->strings["Use the language filter"] = "Gebruik de taalfilter";
$a->strings["I speak"] = "Ik spreek";
$a->strings["List of abbreviations (iso2 codes) for languages you speak, comma separated. For example \"de,it\"."] = "Lijst van afkortingen (ISO2 codes) voor talen die jij spreekt, door komma's gescheiden. Bijvoorbeeld \"de,it\".";
$a->strings["Minimum confidence in language detection"] = "";
$a->strings["Minimum confidence in language detection being correct, from 0 to 100. Posts will not be filtered when the confidence of language detection is below this percent value."] = "";
$a->strings["Save Settings"] = "Instellingen opslaan";
$a->strings["Language Filter Settings saved."] = "Taalfilter-instellingen bijgewerkt.";
$a->strings["unspoken language %s - Click to open/close"] = "niet gesproken taal %s - Klik om open/dicht te klappen";

View file

@ -4,13 +4,13 @@
#
#
# Translators:
# fabrixxm <fabrix.xm@gmail.com>, 2014-2015
# fabrixxm <fabrix.xm@gmail.com>, 2014-2015,2018
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2015-08-31 10:18+0000\n"
"PO-Revision-Date: 2018-03-19 13:22+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"
@ -29,7 +29,7 @@ msgstr "Impostazioni di invio a Libertree"
#: libertree.php:69
msgid "Enable Libertree Post Addon"
msgstr "Abilita iladdondi invio a Libertree"
msgstr "Abilita il componente aggiuntivo di invio a Libertree"
#: libertree.php:74
msgid "Libertree API token"

View file

@ -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 Addon"] = "Abilita il addon di invio a Libertree";
$a->strings["Enable Libertree Post Addon"] = "Abilita il componente aggiuntivo 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";

View file

@ -5,6 +5,8 @@
* Version: 1.0
* Author: Tony Baldwin <https://free-haven.org/u/tony>
*/
use Friendica\Content\Text\BBCode;
use Friendica\Core\Addon;
use Friendica\Core\L10n;
use Friendica\Core\PConfig;
@ -184,8 +186,6 @@ function libertree_send(&$a,&$b) {
$ltree_source .= " (".$b['app'].")";
if($ltree_url && $ltree_api_token && $ltree_blog && $ltree_source) {
require_once('include/bb2diaspora.php');
$tag_arr = [];
$tags = '';
$x = preg_match_all('/\#\[(.*?)\](.*?)\[/',$b['tag'],$matches,PREG_SET_ORDER);
@ -217,7 +217,7 @@ function libertree_send(&$a,&$b) {
} while ($oldbody != $body);
// convert to markdown
$body = bb2diaspora($body, false);
$body = BBCode::toMarkdown($body, false);
// Adding the title
if(strlen($title))

View file

@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2015-08-31 10:19+0000\n"
"PO-Revision-Date: 2017-09-20 06:08+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"

View file

@ -4,13 +4,13 @@
#
#
# Translators:
# fabrixxm <fabrix.xm@gmail.com>, 2014-2015
# fabrixxm <fabrix.xm@gmail.com>, 2014-2015,2018
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2015-08-31 10:19+0000\n"
"PO-Revision-Date: 2018-03-19 13:23+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"
@ -29,7 +29,7 @@ msgstr "Impostazioni invio a LiveJournal"
#: ljpost.php:72
msgid "Enable LiveJournal Post Addon"
msgstr "Abilita il addon di invio a LiveJournal"
msgstr "Abilita il componente aggiuntivo di invio a LiveJournal"
#: ljpost.php:77
msgid "LiveJournal username"

View file

@ -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 Addon"] = "Abilita il addon di invio a LiveJournal";
$a->strings["Enable LiveJournal Post Addon"] = "Abilita il componente aggiuntivo 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";

View file

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-06-23 14:45+0200\n"
"POT-Creation-Date: 2018-03-11 19:13+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -17,62 +17,80 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: mailstream.php:55
#: mailstream.php:77
msgid "From Address"
msgstr ""
#: mailstream.php:57
#: mailstream.php:79
msgid "Email address that stream items will appear to be from."
msgstr ""
#: mailstream.php:60 mailstream.php:282
#: mailstream.php:82 mailstream.php:380
msgid "Save Settings"
msgstr ""
#: mailstream.php:165
#: mailstream.php:223
msgid "Re:"
msgstr ""
#: mailstream.php:173
#: mailstream.php:231
msgid "Friendica post"
msgstr ""
#: mailstream.php:176
#: mailstream.php:234
msgid "Diaspora post"
msgstr ""
#: mailstream.php:183
#: mailstream.php:244
msgid "Feed item"
msgstr ""
#: mailstream.php:186
#: mailstream.php:247
msgid "Email"
msgstr ""
#: mailstream.php:188
#: mailstream.php:249
msgid "Friendica Item"
msgstr ""
#: mailstream.php:229
#: mailstream.php:293
msgid "Upstream"
msgstr ""
#: mailstream.php:230
#: mailstream.php:294
msgid "Local"
msgstr ""
#: mailstream.php:274
msgid "Email Address"
msgstr ""
#: mailstream.php:276
msgid "Leave blank to use your account email address"
msgstr ""
#: mailstream.php:279
#: mailstream.php:362
msgid "Enabled"
msgstr ""
#: mailstream.php:281
#: mailstream.php:366
msgid "Email Address"
msgstr ""
#: mailstream.php:368
msgid "Leave blank to use your account email address"
msgstr ""
#: mailstream.php:371
msgid "Exclude Likes"
msgstr ""
#: mailstream.php:373
msgid "Check this to omit mailing \"Like\" notifications"
msgstr ""
#: mailstream.php:376
msgid "Attach Images"
msgstr ""
#: mailstream.php:378
msgid ""
"Download images in posts and attach them to the email. Useful for reading "
"email while offline."
msgstr ""
#: mailstream.php:379
msgid "Mail Stream Settings"
msgstr ""

View file

@ -4,77 +4,96 @@
#
#
# Translators:
# Abrax <webmaster@a-zwenkau.de>, 2014
# Andreas H., 2014
# Tobias Diekershoff <tobias.diekershoff@gmx.net>, 2018
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-06-23 14:45+0200\n"
"PO-Revision-Date: 2014-10-14 09:25+0000\n"
"Last-Translator: Abrax <webmaster@a-zwenkau.de>\n"
"Language-Team: German (http://www.transifex.com/projects/p/friendica/language/de/)\n"
"POT-Creation-Date: 2018-03-11 19:13+0100\n"
"PO-Revision-Date: 2018-03-16 07:45+0000\n"
"Last-Translator: Tobias Diekershoff <tobias.diekershoff@gmx.net>\n"
"Language-Team: German (http://www.transifex.com/Friendica/friendica/language/de/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: de\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: mailstream.php:55
#: mailstream.php:77
msgid "From Address"
msgstr "Absender"
#: mailstream.php:57
#: mailstream.php:79
msgid "Email address that stream items will appear to be from."
msgstr "E-Mail-Adresse, die in hochgeladenen Artikeln erscheint."
#: mailstream.php:60 mailstream.php:282
#: mailstream.php:82 mailstream.php:380
msgid "Save Settings"
msgstr "Einstellungen speichern"
#: mailstream.php:165
#: mailstream.php:223
msgid "Re:"
msgstr "Re:"
#: mailstream.php:173
#: mailstream.php:231
msgid "Friendica post"
msgstr "Friendica Veröffentlichung"
#: mailstream.php:176
#: mailstream.php:234
msgid "Diaspora post"
msgstr "Diaspora Veröffentlichung"
#: mailstream.php:183
#: mailstream.php:244
msgid "Feed item"
msgstr "Artikel-Feed"
#: mailstream.php:186
#: mailstream.php:247
msgid "Email"
msgstr "E-Mail"
#: mailstream.php:188
#: mailstream.php:249
msgid "Friendica Item"
msgstr "Friendica Artikel"
#: mailstream.php:229
#: mailstream.php:293
msgid "Upstream"
msgstr "Upstream"
#: mailstream.php:230
#: mailstream.php:294
msgid "Local"
msgstr "Lokal"
#: mailstream.php:274
msgid "Email Address"
msgstr "E-Mail-Adresse"
#: mailstream.php:276
msgid "Leave blank to use your account email address"
msgstr "Leer lassen für Deine Konto-E-Mail-Addresse"
#: mailstream.php:279
#: mailstream.php:362
msgid "Enabled"
msgstr "eingeschaltet"
#: mailstream.php:281
#: mailstream.php:366
msgid "Email Address"
msgstr "E-Mail-Adresse"
#: mailstream.php:368
msgid "Leave blank to use your account email address"
msgstr "Leer lassen für Deine Konto-E-Mail-Addresse"
#: mailstream.php:371
msgid "Exclude Likes"
msgstr "Likes ignorieren"
#: mailstream.php:373
msgid "Check this to omit mailing \"Like\" notifications"
msgstr "Diese Option verhindert das versenden von \"Like\"-Benachrichtigungen per E-Mail."
#: mailstream.php:376
msgid "Attach Images"
msgstr "Bolder anhängen"
#: mailstream.php:378
msgid ""
"Download images in posts and attach them to the email. Useful for reading "
"email while offline."
msgstr "Sollen Bilder die im Beitrag eingebettet sind als Dateianhang in den E-Mails mit verschickt werden?"
#: mailstream.php:379
msgid "Mail Stream Settings"
msgstr "Mail-Nachrichten Einstellungen"

View file

@ -16,7 +16,11 @@ $a->strings["Email"] = "E-Mail";
$a->strings["Friendica Item"] = "Friendica Artikel";
$a->strings["Upstream"] = "Upstream";
$a->strings["Local"] = "Lokal";
$a->strings["Enabled"] = "eingeschaltet";
$a->strings["Email Address"] = "E-Mail-Adresse";
$a->strings["Leave blank to use your account email address"] = "Leer lassen für Deine Konto-E-Mail-Addresse";
$a->strings["Enabled"] = "eingeschaltet";
$a->strings["Exclude Likes"] = "Likes ignorieren";
$a->strings["Check this to omit mailing \"Like\" notifications"] = "Diese Option verhindert das versenden von \"Like\"-Benachrichtigungen per E-Mail.";
$a->strings["Attach Images"] = "Bolder anhängen";
$a->strings["Download images in posts and attach them to the email. Useful for reading email while offline."] = "Sollen Bilder die im Beitrag eingebettet sind als Dateianhang in den E-Mails mit verschickt werden?";
$a->strings["Mail Stream Settings"] = "Mail-Nachrichten Einstellungen";

View file

@ -4,13 +4,13 @@
#
#
# Translators:
# fabrixxm <fabrix.xm@gmail.com>, 2014
# fabrixxm <fabrix.xm@gmail.com>, 2014,2018
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-06-23 14:45+0200\n"
"PO-Revision-Date: 2014-09-10 13:02+0000\n"
"POT-Creation-Date: 2018-03-11 19:13+0100\n"
"PO-Revision-Date: 2018-03-19 13:12+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"
@ -19,62 +19,80 @@ msgstr ""
"Language: it\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: mailstream.php:55
#: mailstream.php:77
msgid "From Address"
msgstr "Indirizzo di invio"
#: mailstream.php:57
#: mailstream.php:79
msgid "Email address that stream items will appear to be from."
msgstr "Indirizzo email da cui i messaggi appariranno inviati"
#: mailstream.php:60 mailstream.php:282
#: mailstream.php:82 mailstream.php:380
msgid "Save Settings"
msgstr "Salva Impostazioni"
#: mailstream.php:165
#: mailstream.php:223
msgid "Re:"
msgstr "R:"
#: mailstream.php:173
#: mailstream.php:231
msgid "Friendica post"
msgstr "Messaggio Friendica"
#: mailstream.php:176
#: mailstream.php:234
msgid "Diaspora post"
msgstr "Messaggio Diaspora"
#: mailstream.php:183
#: mailstream.php:244
msgid "Feed item"
msgstr "Elemento da feed"
#: mailstream.php:186
#: mailstream.php:247
msgid "Email"
msgstr "Email"
#: mailstream.php:188
#: mailstream.php:249
msgid "Friendica Item"
msgstr "Elemento da Friendica"
#: mailstream.php:229
#: mailstream.php:293
msgid "Upstream"
msgstr "Upstream"
#: mailstream.php:230
#: mailstream.php:294
msgid "Local"
msgstr "Locale"
#: mailstream.php:274
msgid "Email Address"
msgstr "Indirizzo Email"
#: mailstream.php:276
msgid "Leave blank to use your account email address"
msgstr "Lascia in bianco per usare l'indirizzo email del tuo account"
#: mailstream.php:279
#: mailstream.php:362
msgid "Enabled"
msgstr "Abilitato"
#: mailstream.php:281
#: mailstream.php:366
msgid "Email Address"
msgstr "Indirizzo Email"
#: mailstream.php:368
msgid "Leave blank to use your account email address"
msgstr "Lascia in bianco per usare l'indirizzo email del tuo account"
#: mailstream.php:371
msgid "Exclude Likes"
msgstr "Escludi \"Mi Piace\""
#: mailstream.php:373
msgid "Check this to omit mailing \"Like\" notifications"
msgstr "Seleziona per evitare di inviare notifiche per \"Mi Piace\""
#: mailstream.php:376
msgid "Attach Images"
msgstr "Allega Immagini"
#: mailstream.php:378
msgid ""
"Download images in posts and attach them to the email. Useful for reading "
"email while offline."
msgstr "Scarica le immagini nei messaggi e le allega alle email. Utile per leggere le email mentre si è offline."
#: mailstream.php:379
msgid "Mail Stream Settings"
msgstr "Impostazioni Mail Stream"

View file

@ -16,7 +16,11 @@ $a->strings["Email"] = "Email";
$a->strings["Friendica Item"] = "Elemento da Friendica";
$a->strings["Upstream"] = "Upstream";
$a->strings["Local"] = "Locale";
$a->strings["Enabled"] = "Abilitato";
$a->strings["Email Address"] = "Indirizzo Email";
$a->strings["Leave blank to use your account email address"] = "Lascia in bianco per usare l'indirizzo email del tuo account";
$a->strings["Enabled"] = "Abilitato";
$a->strings["Exclude Likes"] = "Escludi \"Mi Piace\"";
$a->strings["Check this to omit mailing \"Like\" notifications"] = "Seleziona per evitare di inviare notifiche per \"Mi Piace\"";
$a->strings["Attach Images"] = "Allega Immagini";
$a->strings["Download images in posts and attach them to the email. Useful for reading email while offline."] = "Scarica le immagini nei messaggi e le allega alle email. Utile per leggere le email mentre si è offline.";
$a->strings["Mail Stream Settings"] = "Impostazioni Mail Stream";

View file

@ -1,5 +1,10 @@
<div class="settings-block">
<h3>{{$title}}</h3>
<span id="settings_mailstream_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose('settings_mailstream_expanded'); openClose('settings_mailstream_inflated');">
<h3>{{$title}}</h3>
</span>
<div id="settings_mailstream_expanded" class="settings-block" style="display: none;">
<span class="fakelink" onclick="openClose('settings_mailstream_expanded'); openClose('settings_mailstream_inflated');">
<h3>{{$title}}</h3>
</span>
{{include file="field_checkbox.tpl" field=$enabled}}
{{include file="field_input.tpl" field=$address}}
{{include file="field_checkbox.tpl" field=$nolikes}}

View file

@ -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 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["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."] = "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.";
$a->strings["Use the MathJax renderer"] = "Usa il render MathJax";
$a->strings["Submit"] = "Invia";
$a->strings["Settings updated."] = "Impostazioni aggiornate.";

View file

@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2015-08-31 10:20+0000\n"
"PO-Revision-Date: 2017-09-20 06:08+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"

View file

@ -19,7 +19,7 @@ You want to test it, but you don't want to create a new account? Take your fav
text editor (yeah emacs will do as well) and edit the newmemberwidget.php file.
In line 21 you will find a if clause, just add a ! infront of the
x(!_SESSION
x(!_SESSION
that will negate the requirement of being a new member, so don't forget the
remove that ! again after testing ;-)
@ -31,7 +31,7 @@ and copy it to lang/XX/message.po where XX is the language you want to
translate for (i.e. de, fr, nb-no). After you translated the content go to the
root of your friendica directory and run
php util/po2php.php addon/newmember/lang/XX/message.po
php bin/console po2php addon/newmember/lang/XX/message.po
to translate the message.po file into the strings.php file needed by friendica
to catch your translations.
@ -55,7 +55,7 @@ This addon is licensed under the [MIT License](http://opensource.org/licenses/MI
> Copyright (c) 2014 Tobias Diekershoff
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
>
>
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
>
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View file

@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-06-01 14:12+0200\n"
"PO-Revision-Date: 2014-09-10 14:12+0000\n"
"PO-Revision-Date: 2017-09-20 06:08+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"

View file

@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2015-08-31 10:21+0000\n"
"PO-Revision-Date: 2017-09-20 06:08+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"

View file

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"POT-Creation-Date: 2018-03-15 17:54+0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -17,41 +17,39 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: nsfw.php:78
msgid "Not Safe For Work (General Purpose Content Filter) settings"
#: nsfw.php:77 nsfw.php:81
msgid "Content Filter (NSFW and more)"
msgstr ""
#: nsfw.php:80
#: nsfw.php:85
msgid ""
"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."
"This addon searches for specified words/text in posts and collapses them. It "
"can be used to filter content tagged with for instance #NSFW that may be "
"deemed inappropriate at certain times or places, such as being at work. It "
"is also useful for hiding irrelevant or annoying content from direct view."
msgstr ""
#: nsfw.php:81
#: nsfw.php:86
msgid "Enable Content filter"
msgstr ""
#: nsfw.php:84
#: nsfw.php:89
msgid "Comma separated list of keywords to hide"
msgstr ""
#: nsfw.php:88
msgid "Submit"
#: nsfw.php:93
msgid "Save Settings"
msgstr ""
#: nsfw.php:89
#: nsfw.php:94
msgid "Use /expression/ to provide regular expressions"
msgstr ""
#: nsfw.php:105
#: nsfw.php:109
msgid "NSFW Settings saved."
msgstr ""
#: nsfw.php:157
#: nsfw.php:167
#, php-format
msgid "%s - Click to open/close"
msgstr ""

View file

@ -11,8 +11,8 @@ msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2018-01-24 16:10+0000\n"
"POT-Creation-Date: 2018-03-15 17:54+0700\n"
"PO-Revision-Date: 2018-03-16 19:59+0000\n"
"Last-Translator: Tobias Diekershoff <tobias.diekershoff@gmx.net>\n"
"Language-Team: German (http://www.transifex.com/Friendica/friendica/language/de/)\n"
"MIME-Version: 1.0\n"
@ -21,41 +21,39 @@ msgstr ""
"Language: de\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: nsfw.php:78
msgid "Not Safe For Work (General Purpose Content Filter) settings"
msgstr "Not Safe for Work (Filter für ungewollte Inhalte) Einstellungen:"
#: nsfw.php:77 nsfw.php:81
msgid "Content Filter (NSFW and more)"
msgstr "Inhaltsfilter (NSFW und mehr)"
#: nsfw.php:80
#: nsfw.php:85
msgid ""
"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 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. Du kannst beliebige Wörter in der Filterliste angeben und ihn so als allgemeinen Filter verwenden."
"This addon searches for specified words/text in posts and collapses them. It"
" can be used to filter content tagged with for instance #NSFW that may be "
"deemed inappropriate at certain times or places, such as being at work. It "
"is also useful for hiding irrelevant or annoying content from direct view."
msgstr "Dieses Addon sucht nach von dir definierten Wörtern bzw. Texten in Beiträgen und kollabiert diese wenn die Wörter gefunden werden. Damit können z.B. Inhalte gefiltert werden, die mit #NSFW (nicht für die Arbeit geeignet) gekennzeichnet sind. Außerdem ist es nützlich um irrelevante oder lästige Inhalte zu verbergen."
#: nsfw.php:81
#: nsfw.php:86
msgid "Enable Content filter"
msgstr "Aktiviere den Inhaltsfilter"
#: nsfw.php:84
#: nsfw.php:89
msgid "Comma separated list of keywords to hide"
msgstr "Durch Kommata getrennte Liste von Schlüsselwörtern die verborgen werden sollen"
#: nsfw.php:88
msgid "Submit"
msgstr "Senden"
#: nsfw.php:93
msgid "Save Settings"
msgstr "Einstellungen speichern"
#: nsfw.php:89
#: nsfw.php:94
msgid "Use /expression/ to provide regular expressions"
msgstr "Verwende /expression/ um Reguläre Ausdrücke zu verwenden"
#: nsfw.php:105
#: nsfw.php:109
msgid "NSFW Settings saved."
msgstr "NSFW-Einstellungen gespeichert"
#: nsfw.php:157
#: nsfw.php:167
#, php-format
msgid "%s - Click to open/close"
msgstr "%s Zum Öffnen/Schließen klicken"

View file

@ -5,11 +5,11 @@ function string_plural_select_de($n){
return ($n != 1);;
}}
;
$a->strings["Not Safe For Work (General Purpose Content Filter) settings"] = "Not Safe for Work (Filter für ungewollte Inhalte) Einstellungen:";
$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. Du kannst beliebige Wörter in der Filterliste angeben und ihn so als allgemeinen Filter verwenden.";
$a->strings["Content Filter (NSFW and more)"] = "Inhaltsfilter (NSFW und mehr)";
$a->strings["This addon searches for specified words/text in posts and collapses them. It can be used to filter content tagged with for instance #NSFW that may be deemed inappropriate at certain times or places, such as being at work. It is also useful for hiding irrelevant or annoying content from direct view."] = "Dieses Addon sucht nach von dir definierten Wörtern bzw. Texten in Beiträgen und kollabiert diese wenn die Wörter gefunden werden. Damit können z.B. Inhalte gefiltert werden, die mit #NSFW (nicht für die Arbeit geeignet) gekennzeichnet sind. Außerdem ist es nützlich um irrelevante oder lästige Inhalte zu verbergen.";
$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";
$a->strings["Save Settings"] = "Einstellungen speichern";
$a->strings["Use /expression/ to provide regular expressions"] = "Verwende /expression/ um Reguläre Ausdrücke zu verwenden";
$a->strings["NSFW Settings saved."] = "NSFW-Einstellungen gespeichert";
$a->strings["%s - Click to open/close"] = "%s Zum Öffnen/Schließen klicken";

View file

@ -0,0 +1,57 @@
# ADDON nsfw
# Copyright (C)
# This file is distributed under the same license as the Friendica nsfw addon package.
#
#
# Translators:
# Andy H3 <andy@hubup.pro>, 2018
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-03-15 17:54+0700\n"
"PO-Revision-Date: 2018-03-16 16:07+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: English (United Kingdom) (http://www.transifex.com/Friendica/friendica/language/en_GB/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: en_GB\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: nsfw.php:77 nsfw.php:81
msgid "Content Filter (NSFW and more)"
msgstr ""
#: nsfw.php:85
msgid ""
"This addon searches for specified words/text in posts and collapses them. It"
" can be used to filter content tagged with for instance #NSFW that may be "
"deemed inappropriate at certain times or places, such as being at work. It "
"is also useful for hiding irrelevant or annoying content from direct view."
msgstr ""
#: nsfw.php:86
msgid "Enable Content filter"
msgstr "Enable content filter"
#: nsfw.php:89
msgid "Comma separated list of keywords to hide"
msgstr "Comma separated list of keywords"
#: nsfw.php:93
msgid "Save Settings"
msgstr ""
#: nsfw.php:94
msgid "Use /expression/ to provide regular expressions"
msgstr "Use /expression/ for regular expressions."
#: nsfw.php:109
msgid "NSFW Settings saved."
msgstr "NSFW settings saved."
#: nsfw.php:167
#, php-format
msgid "%s - Click to open/close"
msgstr "%s - Reveal/hide"

View file

@ -0,0 +1,15 @@
<?php
if(! function_exists("string_plural_select_en_gb")) {
function string_plural_select_en_gb($n){
return ($n != 1);;
}}
;
$a->strings["Content Filter (NSFW and more)"] = "";
$a->strings["This addon searches for specified words/text in posts and collapses them. It can be used to filter content tagged with for instance #NSFW that may be deemed inappropriate at certain times or places, such as being at work. It is also useful for hiding irrelevant or annoying content from direct view."] = "";
$a->strings["Enable Content filter"] = "Enable content filter";
$a->strings["Comma separated list of keywords to hide"] = "Comma separated list of keywords";
$a->strings["Save Settings"] = "";
$a->strings["Use /expression/ to provide regular expressions"] = "Use /expression/ for regular expressions.";
$a->strings["NSFW Settings saved."] = "NSFW settings saved.";
$a->strings["%s - Click to open/close"] = "%s - Reveal/hide";

View file

@ -0,0 +1,57 @@
# ADDON nsfw
# Copyright (C)
# This file is distributed under the same license as the Friendica nsfw addon package.
#
#
# Translators:
# Andy H3 <andy@hubup.pro>, 2018
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-03-15 17:54+0700\n"
"PO-Revision-Date: 2018-03-16 16:07+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: English (United States) (http://www.transifex.com/Friendica/friendica/language/en_US/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: en_US\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: nsfw.php:77 nsfw.php:81
msgid "Content Filter (NSFW and more)"
msgstr ""
#: nsfw.php:85
msgid ""
"This addon searches for specified words/text in posts and collapses them. It"
" can be used to filter content tagged with for instance #NSFW that may be "
"deemed inappropriate at certain times or places, such as being at work. It "
"is also useful for hiding irrelevant or annoying content from direct view."
msgstr ""
#: nsfw.php:86
msgid "Enable Content filter"
msgstr "Enable content filter"
#: nsfw.php:89
msgid "Comma separated list of keywords to hide"
msgstr "Comma separated list of keywords"
#: nsfw.php:93
msgid "Save Settings"
msgstr ""
#: nsfw.php:94
msgid "Use /expression/ to provide regular expressions"
msgstr "Use /expression/ for regular expressions."
#: nsfw.php:109
msgid "NSFW Settings saved."
msgstr "NSFW settings saved."
#: nsfw.php:167
#, php-format
msgid "%s - Click to open/close"
msgstr "%s - Reveal/hide"

View file

@ -0,0 +1,15 @@
<?php
if(! function_exists("string_plural_select_en_us")) {
function string_plural_select_en_us($n){
return ($n != 1);;
}}
;
$a->strings["Content Filter (NSFW and more)"] = "";
$a->strings["This addon searches for specified words/text in posts and collapses them. It can be used to filter content tagged with for instance #NSFW that may be deemed inappropriate at certain times or places, such as being at work. It is also useful for hiding irrelevant or annoying content from direct view."] = "";
$a->strings["Enable Content filter"] = "Enable content filter";
$a->strings["Comma separated list of keywords to hide"] = "Comma separated list of keywords";
$a->strings["Save Settings"] = "";
$a->strings["Use /expression/ to provide regular expressions"] = "Use /expression/ for regular expressions.";
$a->strings["NSFW Settings saved."] = "NSFW settings saved.";
$a->strings["%s - Click to open/close"] = "%s - Reveal/hide";

View file

@ -4,13 +4,13 @@
#
#
# Translators:
# fabrixxm <fabrix.xm@gmail.com>, 2014-2015
# fabrixxm <fabrix.xm@gmail.com>, 2014-2015,2018
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2015-08-31 10:21+0000\n"
"POT-Creation-Date: 2018-03-15 17:54+0700\n"
"PO-Revision-Date: 2018-03-19 13:18+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"
@ -19,41 +19,39 @@ msgstr ""
"Language: it\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: nsfw.php:78
msgid "Not Safe For Work (General Purpose Content Filter) settings"
msgstr "Impostazioni per NSWF (Filtro Contenuti Generico)"
#: nsfw.php:77 nsfw.php:81
msgid "Content Filter (NSFW and more)"
msgstr "Filtro Contenuto (NSFW e altro)"
#: nsfw.php:80
#: nsfw.php:85
msgid ""
"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 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."
"This addon searches for specified words/text in posts and collapses them. It"
" can be used to filter content tagged with for instance #NSFW that may be "
"deemed inappropriate at certain times or places, such as being at work. It "
"is also useful for hiding irrelevant or annoying content from direct view."
msgstr "Questo componente aggiuntivo cerca per le parole specificate nei messaggi e li collassa. Può essere usato per filtrare contenuto taggato, per esempio, #NSFW (non sicuro per il lavoro), che puo' risultare inappropriato in certi orari o in certi luoghi, come appunto al lavoro. È anche utile per nascondere contenuto irrilevante o fastidioso."
#: nsfw.php:81
#: nsfw.php:86
msgid "Enable Content filter"
msgstr "Abilita il Filtro Contenuti"
#: nsfw.php:84
#: nsfw.php:89
msgid "Comma separated list of keywords to hide"
msgstr "Elenco separato da virgole di parole da nascondere"
#: nsfw.php:88
msgid "Submit"
msgstr "Invia"
#: nsfw.php:93
msgid "Save Settings"
msgstr "Salva Impostazioni"
#: nsfw.php:89
#: nsfw.php:94
msgid "Use /expression/ to provide regular expressions"
msgstr "Utilizza /espressione/ per inserire espressioni regolari"
#: nsfw.php:105
#: nsfw.php:109
msgid "NSFW Settings saved."
msgstr "Impostazioni NSFW salvate."
#: nsfw.php:157
#: nsfw.php:167
#, php-format
msgid "%s - Click to open/close"
msgstr "%s - Clicca per aprire / chiudere"

View file

@ -5,11 +5,11 @@ function string_plural_select_it($n){
return ($n != 1);;
}}
;
$a->strings["Not Safe For Work (General Purpose Content Filter) settings"] = "Impostazioni per NSWF (Filtro 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["Content Filter (NSFW and more)"] = "Filtro Contenuto (NSFW e altro)";
$a->strings["This addon searches for specified words/text in posts and collapses them. It can be used to filter content tagged with for instance #NSFW that may be deemed inappropriate at certain times or places, such as being at work. It is also useful for hiding irrelevant or annoying content from direct view."] = "Questo componente aggiuntivo cerca per le parole specificate nei messaggi e li collassa. Può essere usato per filtrare contenuto taggato, per esempio, #NSFW (non sicuro per il lavoro), che puo' risultare inappropriato in certi orari o in certi luoghi, come appunto al lavoro. È anche utile per nascondere contenuto irrilevante o fastidioso.";
$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";
$a->strings["Save Settings"] = "Salva Impostazioni";
$a->strings["Use /expression/ to provide regular expressions"] = "Utilizza /espressione/ per inserire espressioni regolari";
$a->strings["NSFW Settings saved."] = "Impostazioni NSFW salvate.";
$a->strings["%s - Click to open/close"] = "%s - Clicca per aprire / chiudere";

View file

@ -34,126 +34,125 @@ function nsfw_extract_photos($body)
{
$new_body = '';
$img_start = strpos($body,'src="data:');
$img_end = (($img_start !== false) ? strpos(substr($body,$img_start),'>') : false);
$img_start = strpos($body, 'src="data:');
$img_end = (($img_start !== false) ? strpos(substr($body, $img_start), '>') : false);
$cnt = 0;
while($img_end !== false) {
$img_end += $img_start;
$new_body = $new_body . substr($body,0,$img_start);
$new_body = $new_body . substr($body, 0, $img_start);
$cnt ++;
$body = substr($body,0,$img_end);
$body = substr($body, 0, $img_end);
$img_start = strpos($body,'src="data:');
$img_end = (($img_start !== false) ? strpos(substr($body,$img_start),'>') : false);
$img_start = strpos($body, 'src="data:');
$img_end = (($img_start !== false) ? strpos(substr($body, $img_start), '>') : false);
}
if(! $cnt)
if (!$cnt) {
return $body;
}
return $new_body;
}
function nsfw_addon_settings(&$a,&$s) {
if(! local_user())
function nsfw_addon_settings(&$a, &$s)
{
if (!local_user()) {
return;
}
/* Add our stylesheet to the page so we can make our settings look nice */
/* Add our stylesheet to the page so we can make our settings look nice */
$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . $a->get_baseurl() . '/addon/nsfw/nsfw.css' . '" media="all" />' . "\r\n";
$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . $a->get_baseurl() . '/addon/nsfw/nsfw.css' . '" media="all" />' . "\r\n";
$enable_checked = (intval(PConfig::get(local_user(),'nsfw','disable')) ? '' : ' checked="checked" ');
$words = PConfig::get(local_user(),'nsfw','words');
if(! $words)
$enable_checked = (intval(PConfig::get(local_user(), 'nsfw', 'disable')) ? '' : ' checked="checked" ');
$words = PConfig::get(local_user(), 'nsfw', 'words');
if (!$words) {
$words = 'nsfw,';
}
$s .= '<span id="settings_nsfw_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_nsfw_expanded\'); openClose(\'settings_nsfw_inflated\');">';
$s .= '<h3>' . L10n::t('Not Safe For Work (General Purpose Content Filter)') . '</h3>';
$s .= '</span>';
$s .= '<div id="settings_nsfw_expanded" class="settings-block" style="display: none;">';
$s .= '<span class="fakelink" onclick="openClose(\'settings_nsfw_expanded\'); openClose(\'settings_nsfw_inflated\');">';
$s .= '<h3>' . L10n::t('Not Safe For Work (General Purpose Content Filter)') . '</h3>';
$s .= '</span>';
$s .= '<span id="settings_nsfw_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_nsfw_expanded\'); openClose(\'settings_nsfw_inflated\');">';
$s .= '<h3>' . L10n::t('Content Filter (NSFW and more)') . '</h3>';
$s .= '</span>';
$s .= '<div id="settings_nsfw_expanded" class="settings-block" style="display: none;">';
$s .= '<span class="fakelink" onclick="openClose(\'settings_nsfw_expanded\'); openClose(\'settings_nsfw_inflated\');">';
$s .= '<h3>' . L10n::t('Content Filter (NSFW and more)') . '</h3>';
$s .= '</span>';
$s .= '<div id="nsfw-wrapper">';
$s .= '<p>' . L10n::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.') . '</p>';
$s .= '<label id="nsfw-enable-label" for="nsfw-enable">' . L10n::t('Enable Content filter') . ' </label>';
$s .= '<input id="nsfw-enable" type="checkbox" name="nsfw-enable" value="1"' . $enable_checked . ' />';
$s .= '<div id="nsfw-wrapper">';
$s .= '<p>' . L10n::t('This addon searches for specified words/text in posts and collapses them. It can be used to filter content tagged with for instance #NSFW that may be deemed inappropriate at certain times or places, such as being at work. It is also useful for hiding irrelevant or annoying content from direct view.') . '</p>';
$s .= '<label id="nsfw-enable-label" for="nsfw-enable">' . L10n::t('Enable Content filter') . ' </label>';
$s .= '<input id="nsfw-enable" type="checkbox" name="nsfw-enable" value="1"' . $enable_checked . ' />';
$s .= '<div class="clear"></div>';
$s .= '<label id="nsfw-label" for="nsfw-words">' . L10n::t('Comma separated list of keywords to hide') . ' </label>';
$s .= '<textarea id="nsfw-words" type="text" name="nsfw-words">' . $words .'</textarea>';
$s .= '</div><div class="clear"></div>';
$s .= '<label id="nsfw-label" for="nsfw-words">' . L10n::t('Comma separated list of keywords to hide') . ' </label>';
$s .= '<textarea id="nsfw-words" type="text" name="nsfw-words">' . $words .'</textarea>';
$s .= '</div><div class="clear"></div>';
$s .= '<div class="settings-submit-wrapper" ><input type="submit" id="nsfw-submit" name="nsfw-submit" class="settings-submit" value="' . L10n::t('Save Settings') . '" /></div>';
$s .= '<div class="settings-submit-wrapper" ><input type="submit" id="nsfw-submit" name="nsfw-submit" class="settings-submit" value="' . L10n::t('Save Settings') . '" /></div>';
$s .= '<div class="nsfw-desc">' . L10n::t('Use /expression/ to provide regular expressions') . '</div></div>';
return;
}
function nsfw_addon_settings_post(&$a,&$b) {
if(! local_user())
function nsfw_addon_settings_post(&$a, &$b)
{
if (!local_user()) {
return;
}
if($_POST['nsfw-submit']) {
PConfig::set(local_user(),'nsfw','words',trim($_POST['nsfw-words']));
$enable = ((x($_POST,'nsfw-enable')) ? intval($_POST['nsfw-enable']) : 0);
if ($_POST['nsfw-submit']) {
PConfig::set(local_user(), 'nsfw', 'words', trim($_POST['nsfw-words']));
$enable = (x($_POST,'nsfw-enable') ? intval($_POST['nsfw-enable']) : 0);
$disable = 1-$enable;
PConfig::set(local_user(),'nsfw','disable', $disable);
PConfig::set(local_user(), 'nsfw', 'disable', $disable);
info(L10n::t('NSFW Settings saved.') . EOL);
}
}
function nsfw_prepare_body(&$a,&$b) {
function nsfw_prepare_body(&$a, &$b)
{
// Don't do the check when there is a content warning
if (!empty($b['item']['content-warning'])) {
return;
}
$words = null;
if(PConfig::get(local_user(),'nsfw','disable'))
if (PConfig::get(local_user(), 'nsfw', 'disable')) {
return;
}
if(local_user()) {
$words = PConfig::get(local_user(),'nsfw','words');
if (local_user()) {
$words = PConfig::get(local_user(), 'nsfw', 'words');
}
if($words) {
$arr = explode(',',$words);
}
else {
if ($words) {
$arr = explode(',', $words);
} else {
$arr = ['nsfw'];
}
$found = false;
if(count($arr)) {
if (count($arr)) {
$body = $b['item']['title'] . "\n" . nsfw_extract_photos($b['html']);
foreach($arr as $word) {
foreach ($arr as $word) {
$word = trim($word);
if(! strlen($word)) {
if (!strlen($word)) {
continue;
}
if(strpos($word,'/') === 0) {
if(preg_match($word,$body)) {
if (strpos($word,'/') === 0) {
if (preg_match($word, $body)) {
$found = true;
break;
}
}
else {
if(stristr($body,$word)) {
} else {
if (stristr($body, $word)) {
$found = true;
break;
}
if(is_array($b['item']['tags']) && count($b['item']['tags'])) {
foreach($b['item']['tags'] as $t) {
if(stristr($t, '>' . $word . '<' )) {
if (is_array($b['item']['tags']) && count($b['item']['tags'])) {
foreach ($b['item']['tags'] as $t) {
if (stristr($t, '>' . $word . '<')) {
$found = true;
break;
}

View file

@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2015-08-31 10:21+0000\n"
"PO-Revision-Date: 2017-09-20 06:08+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"

View file

@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2015-08-31 10:21+0000\n"
"PO-Revision-Date: 2017-09-20 06:08+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"

View file

@ -12,13 +12,20 @@ use Friendica\Core\Addon;
use Friendica\Core\Cache;
use Friendica\Core\Config;
use Friendica\Core\L10n;
use Friendica\Core\System;
use Friendica\Util\Network;
const OSM_TMS = 'http://www.openstreetmap.org';
const OSM_NOM = 'http://nominatim.openstreetmap.org/search.php';
const OSM_ZOOM = 16;
const OSM_MARKER = 0;
function openstreetmap_install()
{
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('Map::getCoordinates', 'addon/openstreetmap/openstreetmap.php', 'openstreetmap_get_coordinates');
Addon::registerHook('page_header', 'addon/openstreetmap/openstreetmap.php', 'openstreetmap_alterheader');
logger("installed openstreetmap");
@ -29,6 +36,7 @@ function openstreetmap_uninstall()
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('Map::getCoordinates', 'addon/openstreetmap/openstreetmap.php', 'openstreetmap_get_coordinates');
Addon::unregisterHook('page_header', 'addon/openstreetmap/openstreetmap.php', 'openstreetmap_alterheader');
logger("removed openstreetmap");
@ -49,9 +57,9 @@ function openstreetmap_alterheader($a, &$navHtml)
* @param mixed $a
* @param array& $item
*/
function openstreetmap_location($a, &$item) {
if(! (strlen($item['location']) || strlen($item['coord']))) {
function openstreetmap_location($a, &$item)
{
if (!(strlen($item['location']) || strlen($item['coord']))) {
return;
}
@ -63,34 +71,25 @@ function openstreetmap_location($a, &$item) {
* ?mlat=lat&mlon=lon for markers.
*/
$tmsserver = Config::get('openstreetmap', 'tmsserver');
if(! $tmsserver) {
$tmsserver = 'http://www.openstreetmap.org';
}
$tmsserver = Config::get('openstreetmap', 'tmsserver', OSM_TMS);
$nomserver = Config::get('openstreetmap', 'nomserver', OSM_NOM);
$zoom = Config::get('openstreetmap', 'zoom', OSM_ZOOM);
$marker = Config::get('openstreetmap', 'marker', OSM_MARKER);
$nomserver = Config::get('openstreetmap', 'nomserver');
if(! $nomserver) {
$nomserver = 'http://nominatim.openstreetmap.org/search.php';
}
$zoom = Config::get('openstreetmap', 'zoom');
if(! $zoom) {
$zoom = 16;
}
$marker = Config::get('openstreetmap', 'marker');
if(! $marker) {
$marker = 0;
// This is needed since we stored an empty string in the config in previous versions
if (empty($nomserver)) {
$nomserver = OSM_NOM;
}
if ($item['coord'] != "") {
$coords = explode(' ', $item['coord']);
if(count($coords) > 1) {
if (count($coords) > 1) {
$lat = urlencode(round($coords[0], 5));
$lon = urlencode(round($coords[1], 5));
$target = $tmsserver;
if($marker > 0)
$target .= '?mlat='.$lat.'&mlon='.$lon;
if ($marker > 0) {
$target .= '?mlat=' . $lat . '&mlon=' . $lon;
}
$target .= '#map='.intval($zoom).'/'.$lat.'/'.$lon;
}
}
@ -108,46 +107,53 @@ function openstreetmap_location($a, &$item) {
$item['html'] = '<a target="map" title="'.$title.'" href= "'.$target.'">'.$title.'</a>';
}
function openstreetmap_get_coordinates($a, &$b)
{
$nomserver = Config::get('openstreetmap', 'nomserver', OSM_NOM);
// This is needed since we stored an empty string in the config in previous versions
if (empty($nomserver)) {
$nomserver = OSM_NOM;
}
$args = '?q=' . urlencode($b['location']) . '&format=json';
$cachekey = "openstreetmap:" . $b['location'];
$j = Cache::get($cachekey);
if (is_null($j)) {
$x = Network::curl($nomserver . $args);
if ($x['success']) {
$j = json_decode($x['body'], true);
Cache::set($cachekey, $j, CACHE_MONTH);
}
}
if (!empty($j[0]['lat']) && !empty($j[0]['lon'])) {
$b['lat'] = $j[0]['lat'];
$b['lon'] = $j[0]['lon'];
}
}
function openstreetmap_generate_named_map(&$a, &$b)
{
$nomserver = Config::get('openstreetmap', 'nomserver');
if(! $nomserver)
$nomserver = 'http://nominatim.openstreetmap.org/search.php';
$args = '?q=' . urlencode($b['location']) . '&format=json';
openstreetmap_get_coordinates($a, $b);
$x = Network::curl($nomserver . $args);
if($x['success']) {
$j = json_decode($x['body'],true);
if($j && is_array($j) && $j[0]['lat'] && $j[0]['lon']) {
$arr = ['lat' => $j[0]['lat'],'lon' => $j[0]['lon'],'location' => $b['location'], 'html' => ''];
openstreetmap_generate_map($a,$arr);
$b['html'] = $arr['html'];
}
if (!empty($b['lat']) && !empty($b['lon'])) {
openstreetmap_generate_map($a, $b);
}
}
function openstreetmap_generate_map(&$a, &$b)
{
$tmsserver = Config::get('openstreetmap', 'tmsserver');
if(! $tmsserver) {
$tmsserver = 'http://www.openstreetmap.org';
}
if(strpos(z_root(),'https:') !== false) {
$tmsserver = Config::get('openstreetmap', 'tmsserver', OSM_TMS);
if (strpos(z_root(), 'https:') !== false) {
$tmsserver = str_replace('http:','https:',$tmsserver);
}
$zoom = Config::get('openstreetmap', 'zoom');
if (!$zoom) {
$zoom = 16;
}
$marker = Config::get('openstreetmap', 'marker');
if (!$marker) {
$marker = 0;
}
$zoom = Config::get('openstreetmap', 'zoom', OSM_ZOOM);
$marker = Config::get('openstreetmap', 'marker', OSM_MARKER);
$lat = $b['lat']; // round($b['lat'], 5);
$lon = $b['lon']; // round($b['lon'], 5);
@ -155,10 +161,21 @@ function openstreetmap_generate_map(&$a, &$b)
logger('lat: ' . $lat, LOGGER_DATA);
logger('lon: ' . $lon, LOGGER_DATA);
$cardlink = '<a href="' . $tmsserver;
$b['html'] = '<iframe style="width:100%; height:300px; border:1px solid #ccc" src="' . $tmsserver . '/export/embed.html?bbox=' . ($lon - 0.01) . '%2C' . ($lat - 0.01) . '%2C' . ($lon + 0.01) . '%2C' . ($lat + 0.01) ;
if ($marker > 0) {
$cardlink .= '?mlat=' . $lat . '&mlon=' . $lon;
}
$b['html'] .= '&amp;layer=mapnik&amp;marker=' . $lat . '%2C' . $lon . '" style="border: 1px solid black"></iframe><br/><small><a href="' . $tmsserver . '/?mlat=' . $lat . '&mlon=' . $lon . '#map=16/' . $lat . '/' . $lon . '">' . (($b['location']) ? escape_tags($b['location']) : L10n::t('View Larger')) . '</a></small>';
$cardlink .= '#map=' . $zoom . '/' . $lat . '/' . $lon . '">' . ($b['location'] ? escape_tags($b['location']) : L10n::t('View Larger')) . '</a>';
if (empty($b['mode'])) {
$b['html'] = '<iframe style="width:100%; height:300px; border:1px solid #ccc" src="' . $tmsserver .
'/export/embed.html?bbox=' . ($lon - 0.01) . '%2C' . ($lat - 0.01) . '%2C' . ($lon + 0.01) . '%2C' . ($lat + 0.01) .
'&amp;layer=mapnik&amp;marker=' . $lat . '%2C' . $lon . '" style="border: 1px solid black"></iframe>' .
'<br/><small>' . $cardlink . '</small>';
} else {
$b['html'] .= '<br/>' . $cardlink;
}
logger('generate_map: ' . $b['html'], LOGGER_DATA);
}
@ -166,21 +183,14 @@ function openstreetmap_generate_map(&$a, &$b)
function openstreetmap_addon_admin(&$a, &$o)
{
$t = get_markup_template("admin.tpl", "addon/openstreetmap/");
$tmsserver = Config::get('openstreetmap', 'tmsserver');
if (!$tmsserver) {
$tmsserver = 'http://www.openstreetmap.org';
}
$nomserver = Config::get('openstreetmap', 'nomserver');
if (!$nomserver) {
$nomserver = 'http://nominatim.openstreetmap.org/search.php';
}
$zoom = Config::get('openstreetmap', 'zoom');
if (!$zoom) {
$zoom = 16;
}
$marker = Config::get('openstreetmap', 'marker');
if (!$marker) {
$marker = 0;
$tmsserver = Config::get('openstreetmap', 'tmsserver', OSM_TMS);
$nomserver = Config::get('openstreetmap', 'nomserver', OSM_NOM);
$zoom = Config::get('openstreetmap', 'zoom', OSM_ZOOM);
$marker = Config::get('openstreetmap', 'marker', OSM_MARKER);
// This is needed since we stored an empty string in the config in previous versions
if (empty($nomserver)) {
$nomserver = OSM_NOM;
}
$o = replace_macros($t, [
@ -194,13 +204,15 @@ function openstreetmap_addon_admin(&$a, &$o)
function openstreetmap_addon_admin_post(&$a)
{
$urltms = ((x($_POST, 'tmsserver')) ? notags(trim($_POST['tmsserver'])) : '');
$urlnom = ((x($_POST, 'nomserver')) ? notags(trim($_POST['nomserver'])) : '');
$zoom = ((x($_POST, 'zoom')) ? intval(trim($_POST['zoom'])) : '16');
$marker = ((x($_POST, 'marker')) ? intval(trim($_POST['marker'])) : '0');
$urltms = defaults($_POST, 'tmsserver', OSM_TMS);
$urlnom = defaults($_POST, 'nomserver', OSM_NOM);
$zoom = defaults($_POST, 'zoom', OSM_ZOOM);
$marker = defaults($_POST, 'marker', OSM_MARKER);
Config::set('openstreetmap', 'tmsserver', $urltms);
Config::set('openstreetmap', 'nomserver', $urlnom);
Config::set('openstreetmap', 'zoom', $zoom);
Config::set('openstreetmap', 'marker', $marker);
info(L10n::t('Settings updated.') . EOL);
}

View file

@ -1,5 +1,5 @@
{{include file="field_input.tpl" field=$tmsserver}}
<!-- {{include file="field_input.tpl" field=$nomserver}}-->
{{include file="field_input.tpl" field=$nomserver}}
{{include file="field_input.tpl" field=$zoom}}
{{include file="field_checkbox.tpl" field=$marker}}
<div class="submit"><input type="submit" name="openstreetmap" value="{{$submit}}"></div>

View file

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"POT-Creation-Date: 2018-03-11 18:52+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -17,14 +17,24 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: pageheader.php:50
#: pageheader.php:53
msgid "\"pageheader\" Settings"
msgstr ""
#: pageheader.php:55
msgid "Submit"
#: pageheader.php:54
msgid "Message"
msgstr ""
#: pageheader.php:68
#: pageheader.php:54
msgid ""
"Message to display on every page on this server (or put a pageheader.html "
"file in your docroot)"
msgstr ""
#: pageheader.php:55
msgid "Save Settings"
msgstr ""
#: pageheader.php:69
msgid "pageheader Settings saved."
msgstr ""

View file

@ -4,30 +4,41 @@
#
#
# Translators:
# Abrax <webmaster@a-zwenkau.de>, 2014
# bavatar <tobias.diekershoff@gmx.net>, 2014
# Andreas H., 2014
# Tobias Diekershoff <tobias.diekershoff@gmx.net>, 2014
# Tobias Diekershoff <tobias.diekershoff@gmx.net>, 2018
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2014-10-15 12:32+0000\n"
"Last-Translator: Abrax <webmaster@a-zwenkau.de>\n"
"Language-Team: German (http://www.transifex.com/projects/p/friendica/language/de/)\n"
"POT-Creation-Date: 2018-03-11 18:52+0100\n"
"PO-Revision-Date: 2018-03-16 07:42+0000\n"
"Last-Translator: Tobias Diekershoff <tobias.diekershoff@gmx.net>\n"
"Language-Team: German (http://www.transifex.com/Friendica/friendica/language/de/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: de\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: pageheader.php:50
#: pageheader.php:53
msgid "\"pageheader\" Settings"
msgstr "\"pageheader\"-Einstellungen"
#: pageheader.php:55
msgid "Submit"
msgstr "Senden"
#: pageheader.php:54
msgid "Message"
msgstr "Mitteilung"
#: pageheader.php:68
#: pageheader.php:54
msgid ""
"Message to display on every page on this server (or put a pageheader.html "
"file in your docroot)"
msgstr "Die Mitteilung, die auf jeder Seite dieses Knotens angezeigt werden soll (alternativ kann die Datei pageheader.html im Stammverzeichnis der Friendica Installation angelegt werden)."
#: pageheader.php:55
msgid "Save Settings"
msgstr "Einstellungen speichern"
#: pageheader.php:69
msgid "pageheader Settings saved."
msgstr "pageheader-Einstellungen gespeichert."

View file

@ -6,5 +6,7 @@ function string_plural_select_de($n){
}}
;
$a->strings["\"pageheader\" Settings"] = "\"pageheader\"-Einstellungen";
$a->strings["Submit"] = "Senden";
$a->strings["Message"] = "Mitteilung";
$a->strings["Message to display on every page on this server (or put a pageheader.html file in your docroot)"] = "Die Mitteilung, die auf jeder Seite dieses Knotens angezeigt werden soll (alternativ kann die Datei pageheader.html im Stammverzeichnis der Friendica Installation angelegt werden).";
$a->strings["Save Settings"] = "Einstellungen speichern";
$a->strings["pageheader Settings saved."] = "pageheader-Einstellungen gespeichert.";

View file

@ -4,13 +4,13 @@
#
#
# Translators:
# fabrixxm <fabrix.xm@gmail.com>, 2014-2015
# fabrixxm <fabrix.xm@gmail.com>, 2014-2015,2018
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2015-08-31 10:21+0000\n"
"POT-Creation-Date: 2018-03-11 18:52+0100\n"
"PO-Revision-Date: 2018-03-19 13:19+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"
@ -19,14 +19,24 @@ msgstr ""
"Language: it\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: pageheader.php:50
#: pageheader.php:53
msgid "\"pageheader\" Settings"
msgstr "Impostazioni \"Intestazione pagina\""
#: pageheader.php:55
msgid "Submit"
msgstr "Invia"
#: pageheader.php:54
msgid "Message"
msgstr "Messaggio"
#: pageheader.php:68
#: pageheader.php:54
msgid ""
"Message to display on every page on this server (or put a pageheader.html "
"file in your docroot)"
msgstr "Il messaggio da mostrare su ogni pagina di questo server (puoi anche aggiungere un file pageheader.html nella root)"
#: pageheader.php:55
msgid "Save Settings"
msgstr "Salva Impostazioni"
#: pageheader.php:69
msgid "pageheader Settings saved."
msgstr "Impostazioni \"Intestazione pagina\" salvate."

View file

@ -6,5 +6,7 @@ function string_plural_select_it($n){
}}
;
$a->strings["\"pageheader\" Settings"] = "Impostazioni \"Intestazione pagina\"";
$a->strings["Submit"] = "Invia";
$a->strings["Message"] = "Messaggio";
$a->strings["Message to display on every page on this server (or put a pageheader.html file in your docroot)"] = "Il messaggio da mostrare su ogni pagina di questo server (puoi anche aggiungere un file pageheader.html nella root)";
$a->strings["Save Settings"] = "Salva Impostazioni";
$a->strings["pageheader Settings saved."] = "Impostazioni \"Intestazione pagina\" salvate.";

View file

@ -48,14 +48,12 @@ function pageheader_addon_settings(&$a,&$s) {
if(! $words)
$words = '';
$s .= '<div class="settings-block">';
$s .= '<h3>' . L10n::t('"pageheader" Settings') . '</h3>';
$s .= '<div id="pageheader-wrapper">';
$s .= '<label id="pageheader-label" for="pageheader-words">' . L10n::t('Message to display on every page on this server (or put a pageheader.html file in your docroot)') . ' </label>';
$s .= '<textarea id="pageheader-words" type="text" name="pageheader-words">' . $words . '</textarea>';
$s .= '</div><div class="clear"></div>';
$s .= '<div class="settings-submit-wrapper" ><input type="submit" id="pageheader-submit" name="pageheader-submit" class="settings-submit" value="' . L10n::t('Save Settings') . '" /></div></div>';
$t = get_markup_template("settings.tpl", "addon/pageheader/");
$s .= replace_macros($t, [
'$title' => L10n::t('"pageheader" Settings'),
'$phwords' => ['pageheader-words', L10n::t('Message'), $words, L10n::t('Message to display on every page on this server (or put a pageheader.html file in your docroot)')],
'$submit' => L10n::t('Save Settings')
]);
return;

View file

@ -0,0 +1,14 @@
<span id="settings_pageheader_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose('settings_pageheader_expanded'); openClose('settings_pageheader_inflated');">
<h3>{{$title}}</h3>
</span>
<div id="settings_pageheader_expanded" class="settings-block" style="display: none;">
<span class="fakelink" onclick="openClose('settings_pageheader_expanded'); openClose('settings_pageheader_inflated');">
<h3>{{$title}}</h3>
</span>
{{include file="field_textarea.tpl" field=$phwords}}
<div class="settings-submit-wrapper" >
<input type="submit" id="pageheader-submit" name="pageheader-submit" class="settings-submit" value="{{$submit}}" />
</div>
</div>
<div class="clear"></div>

View file

@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-07-26 12:49+0200\n"
"PO-Revision-Date: 2015-08-31 10:22+0000\n"
"PO-Revision-Date: 2017-09-20 06:08+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"

View file

@ -4,13 +4,13 @@
#
#
# Translators:
# fabrixxm <fabrix.xm@gmail.com>, 2014-2015
# fabrixxm <fabrix.xm@gmail.com>, 2014-2015,2018
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2015-08-31 10:22+0000\n"
"PO-Revision-Date: 2018-03-19 13:25+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"
@ -25,7 +25,7 @@ msgstr "Impostazioni \"Pianeti\""
#: planets.php:152
msgid "Enable Planets Addon"
msgstr "Abilita il addon\"Pianeti\""
msgstr "Abilita il componente aggiuntivo Pianeti"
#: planets.php:158
msgid "Submit"

View file

@ -6,5 +6,5 @@ function string_plural_select_it($n){
}}
;
$a->strings["Planets Settings"] = "Impostazioni \"Pianeti\"";
$a->strings["Enable Planets Addon"] = "Abilita il addon \"Pianeti\"";
$a->strings["Enable Planets Addon"] = "Abilita il componente aggiuntivo Pianeti";
$a->strings["Submit"] = "Invia";

View file

@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2014-10-15 09:02+0000\n"
"PO-Revision-Date: 2017-09-20 06:08+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"

View file

@ -4,13 +4,13 @@
#
#
# Translators:
# fabrixxm <fabrix.xm@gmail.com>, 2014
# fabrixxm <fabrix.xm@gmail.com>, 2014,2018
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-06-23 14:45+0200\n"
"PO-Revision-Date: 2015-11-01 11:05+0000\n"
"PO-Revision-Date: 2018-03-19 13:25+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"
@ -62,7 +62,7 @@ msgstr "Importa la timeline remota"
#: pumpio.php:255
msgid "Enable pump.io Post Addon"
msgstr "Abilita iladdondi invio ad pump.io"
msgstr "Abilita il componente aggiuntivo di invio ad pump.io"
#: pumpio.php:260
msgid "Post to pump.io by default"

View file

@ -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 Addon"] = "Abilita il addon di invio ad pump.io";
$a->strings["Enable pump.io Post Addon"] = "Abilita il componente aggiuntivo 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";

View file

@ -7,6 +7,7 @@
*/
use Friendica\Content\Text\BBCode;
use Friendica\Content\Text\HTML;
use Friendica\Core\Addon;
use Friendica\Core\Config;
use Friendica\Core\L10n;
@ -782,8 +783,6 @@ function pumpio_fetchtimeline(&$a, $uid) {
$public = true;
if ($public && !stristr($post->generator->displayName, $application_name)) {
require_once('include/html2bbcode.php');
$_SESSION["authenticated"] = true;
$_SESSION["uid"] = $uid;
@ -798,11 +797,11 @@ function pumpio_fetchtimeline(&$a, $uid) {
}
if ($post->object->displayName != "")
$_REQUEST["title"] = html2bbcode($post->object->displayName);
$_REQUEST["title"] = HTML::toBBCode($post->object->displayName);
else
$_REQUEST["title"] = "";
$_REQUEST["body"] = html2bbcode($post->object->content);
$_REQUEST["body"] = HTML::toBBCode($post->object->content);
// To-Do: Picture has to be cached and stored locally
if ($post->object->fullImage->url != "") {
@ -1062,7 +1061,6 @@ function pumpio_dodelete(&$a, $uid, $self, $post, $own_id) {
function pumpio_dopost(&$a, $client, $uid, $self, $post, $own_id, $threadcompletion = true) {
require_once('include/items.php');
require_once('include/html2bbcode.php');
if (($post->verb == "like") || ($post->verb == "favorite"))
return pumpio_dolike($a, $uid, $self, $post, $own_id);
@ -1191,7 +1189,7 @@ function pumpio_dopost(&$a, $client, $uid, $self, $post, $own_id, $threadcomplet
$postarray['author-avatar'] = $post->actor->image->url;
$postarray['plink'] = $post->object->url;
$postarray['app'] = $post->generator->displayName;
$postarray['body'] = html2bbcode($post->object->content);
$postarray['body'] = HTML::toBBCode($post->object->content);
$postarray['object'] = json_encode($post);
if ($post->object->fullImage->url != "")

View file

@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2015-08-31 10:22+0000\n"
"PO-Revision-Date: 2017-09-20 06:08+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"

View file

@ -4,13 +4,13 @@
#
#
# Translators:
# fabrixxm <fabrix.xm@gmail.com>, 2014-2015
# fabrixxm <fabrix.xm@gmail.com>, 2014-2015,2018
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2015-08-31 10:22+0000\n"
"PO-Revision-Date: 2018-03-19 13:25+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"
@ -25,7 +25,7 @@ msgstr "Impostazioni \"Posizione casuale\""
#: randplace.php:171
msgid "Enable Randplace Addon"
msgstr "Abilita il addon \"Posizione casuale\""
msgstr "Abilita il componente aggiuntivo Posizione Casuale"
#: randplace.php:177
msgid "Submit"

View file

@ -6,5 +6,5 @@ function string_plural_select_it($n){
}}
;
$a->strings["Randplace Settings"] = "Impostazioni \"Posizione casuale\"";
$a->strings["Enable Randplace Addon"] = "Abilita il addon \"Posizione casuale\"";
$a->strings["Enable Randplace Addon"] = "Abilita il componente aggiuntivo Posizione Casuale";
$a->strings["Submit"] = "Invia";

View file

@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2015-08-31 10:23+0000\n"
"PO-Revision-Date: 2017-09-20 06:08+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"

View file

@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2014-09-10 14:32+0000\n"
"PO-Revision-Date: 2017-09-20 06:08+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"

View file

@ -0,0 +1,55 @@
# ADDON securemail
# Copyright (C)
# This file is distributed under the same license as the Friendica securemail addon package.
#
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-04-11 21:14+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Richard Zsemberi <rzsemberi@gmail.com>, 2018\n"
"Language-Team: German (https://www.transifex.com/Friendica/teams/12172/de/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: de\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: securemail.php:53
msgid "\"Secure Mail\" Settings"
msgstr "\"Secure Mail\" Einstellungen"
#: securemail.php:54
msgid "Save Settings"
msgstr "Einstellungen speichern"
#: securemail.php:55 securemail.php:76
msgid "Save and send test"
msgstr "Abspeichern und Test Senden"
#: securemail.php:56
msgid "Enable Secure Mail"
msgstr "Secure Mail aktivieren"
#: securemail.php:57
msgid "Public key"
msgstr "Öffentlicher Schlüssel"
#: securemail.php:57
msgid "Your public PGP key, ascii armored format"
msgstr "Dein öffentlicher PGP Schlüssel, im Ascii-Format"
#: securemail.php:74
msgid "Secure Mail Settings saved."
msgstr "Secure Mail Einstellungen gespeichert."
#: securemail.php:111
msgid "Test email sent"
msgstr "Test-Email gesendet"
#: securemail.php:113
msgid "There was an error sending the test email"
msgstr "Es gab ein Fehler beim Senden der Test-Email"

View file

@ -0,0 +1,16 @@
<?php
if(! function_exists("string_plural_select_de")) {
function string_plural_select_de($n){
return ($n != 1);;
}}
;
$a->strings["\"Secure Mail\" Settings"] = "\"Secure Mail\" Einstellungen";
$a->strings["Save Settings"] = "Einstellungen speichern";
$a->strings["Save and send test"] = "Abspeichern und Test Senden";
$a->strings["Enable Secure Mail"] = "Secure Mail aktivieren";
$a->strings["Public key"] = "Öffentlicher Schlüssel";
$a->strings["Your public PGP key, ascii armored format"] = "Dein öffentlicher PGP Schlüssel, im Ascii-Format";
$a->strings["Secure Mail Settings saved."] = "Secure Mail Einstellungen gespeichert.";
$a->strings["Test email sent"] = "Test-Email gesendet";
$a->strings["There was an error sending the test email"] = "Es gab ein Fehler beim Senden der Test-Email";

View file

@ -0,0 +1,55 @@
# ADDON securemail
# Copyright (C)
# This file is distributed under the same license as the Friendica securemail addon package.
#
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-04-11 21:14+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>, 2018\n"
"Language-Team: Italian (https://www.transifex.com/Friendica/teams/12172/it/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: it\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: securemail.php:53
msgid "\"Secure Mail\" Settings"
msgstr "Impostazioni Secure Mail"
#: securemail.php:54
msgid "Save Settings"
msgstr "Salva Impostazioni"
#: securemail.php:55 securemail.php:76
msgid "Save and send test"
msgstr "Salva e invia mail di prova"
#: securemail.php:56
msgid "Enable Secure Mail"
msgstr "Abilita Secure Mail"
#: securemail.php:57
msgid "Public key"
msgstr "Chiave pubblica"
#: securemail.php:57
msgid "Your public PGP key, ascii armored format"
msgstr "La tua chiave pubblica PGP, in formato ascii armored"
#: securemail.php:74
msgid "Secure Mail Settings saved."
msgstr "Impostazioni Secure Mail salvate."
#: securemail.php:111
msgid "Test email sent"
msgstr "Email di prova invata"
#: securemail.php:113
msgid "There was an error sending the test email"
msgstr "Si è verificato un errore durante l'invio dell'email di prova"

View file

@ -0,0 +1,16 @@
<?php
if(! function_exists("string_plural_select_it")) {
function string_plural_select_it($n){
return ($n != 1);;
}}
;
$a->strings["\"Secure Mail\" Settings"] = "Impostazioni Secure Mail";
$a->strings["Save Settings"] = "Salva Impostazioni";
$a->strings["Save and send test"] = "Salva e invia mail di prova";
$a->strings["Enable Secure Mail"] = "Abilita Secure Mail";
$a->strings["Public key"] = "Chiave pubblica";
$a->strings["Your public PGP key, ascii armored format"] = "La tua chiave pubblica PGP, in formato ascii armored";
$a->strings["Secure Mail Settings saved."] = "Impostazioni Secure Mail salvate.";
$a->strings["Test email sent"] = "Email di prova invata";
$a->strings["There was an error sending the test email"] = "Si è verificato un errore durante l'invio dell'email di prova";

View file

@ -0,0 +1,55 @@
# ADDON securemail
# Copyright (C)
# This file is distributed under the same license as the Friendica securemail addon package.
#
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-04-11 21:14+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: 朱陈锬 <tangenters@outlook.com>, 2018\n"
"Language-Team: Chinese (China) (https://www.transifex.com/Friendica/teams/12172/zh_CN/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: zh_CN\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: securemail.php:53
msgid "\"Secure Mail\" Settings"
msgstr "“加密邮件”设置"
#: securemail.php:54
msgid "Save Settings"
msgstr "保存设置"
#: securemail.php:55 securemail.php:76
msgid "Save and send test"
msgstr "保存并发送测试"
#: securemail.php:56
msgid "Enable Secure Mail"
msgstr "启用加密邮件"
#: securemail.php:57
msgid "Public key"
msgstr "公钥"
#: securemail.php:57
msgid "Your public PGP key, ascii armored format"
msgstr "您的 PGP 公钥,使用 ASCII 码格式"
#: securemail.php:74
msgid "Secure Mail Settings saved."
msgstr "加密邮件设置已保存。"
#: securemail.php:111
msgid "Test email sent"
msgstr "测试邮件发送"
#: securemail.php:113
msgid "There was an error sending the test email"
msgstr "发送测试电子邮件时发生错误"

View file

@ -0,0 +1,16 @@
<?php
if(! function_exists("string_plural_select_zh_cn")) {
function string_plural_select_zh_cn($n){
return 0;;
}}
;
$a->strings["\"Secure Mail\" Settings"] = "“加密邮件”设置";
$a->strings["Save Settings"] = "保存设置";
$a->strings["Save and send test"] = "保存并发送测试";
$a->strings["Enable Secure Mail"] = "启用加密邮件";
$a->strings["Public key"] = "公钥";
$a->strings["Your public PGP key, ascii armored format"] = "您的 PGP 公钥,使用 ASCII 码格式";
$a->strings["Secure Mail Settings saved."] = "加密邮件设置已保存。";
$a->strings["Test email sent"] = "测试邮件发送";
$a->strings["There was an error sending the test email"] = "发送测试电子邮件时发生错误";

View file

@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2015-08-31 10:23+0000\n"
"PO-Revision-Date: 2017-09-20 06:08+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"

View file

@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-06-23 14:45+0200\n"
"PO-Revision-Date: 2014-09-10 14:33+0000\n"
"PO-Revision-Date: 2017-09-20 06:08+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"

View file

@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2015-08-31 10:27+0000\n"
"PO-Revision-Date: 2017-09-20 06:08+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"

View file

@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-07-27 07:21+0200\n"
"PO-Revision-Date: 2015-08-31 10:27+0000\n"
"PO-Revision-Date: 2017-09-20 06:08+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"

View file

@ -38,11 +38,11 @@ define('STATUSNET_DEFAULT_POLL_INTERVAL', 5); // given in minutes
require_once __DIR__ . DIRECTORY_SEPARATOR . 'library' . DIRECTORY_SEPARATOR . 'statusnetoauth.php';
require_once 'include/enotify.php';
use Codebird\Codebird;
use CodebirdSN\CodebirdSN;
use Friendica\App;
use Friendica\Content\OEmbed;
use Friendica\Content\Text\BBCode;
use Friendica\Content\Text\HTML;
use Friendica\Content\Text\Plaintext;
use Friendica\Core\Addon;
use Friendica\Core\Config;
@ -582,7 +582,7 @@ function statusnet_post_hook(App $a, &$b)
// New code that is able to post pictures
require_once __DIR__ . DIRECTORY_SEPARATOR . 'library' . DIRECTORY_SEPARATOR . 'codebirdsn.php';
$cb = \CodebirdSN\CodebirdSN::getInstance();
$cb = CodebirdSN::getInstance();
$cb->setAPIEndpoint($api);
$cb->setConsumerKey($ckey, $csecret);
$cb->setToken($otoken, $osecret);
@ -1031,7 +1031,7 @@ function statusnet_fetchuser(App $a, $uid, $screen_name = "", $user_id = "")
require_once __DIR__ . DIRECTORY_SEPARATOR . 'library' . DIRECTORY_SEPARATOR . 'codebirdsn.php';
$cb = \CodebirdSN\CodebirdSN::getInstance();
$cb = CodebirdSN::getInstance();
$cb->setConsumerKey($ckey, $csecret);
$cb->setToken($otoken, $osecret);
@ -1068,8 +1068,6 @@ function statusnet_fetchuser(App $a, $uid, $screen_name = "", $user_id = "")
function statusnet_createpost(App $a, $uid, $post, $self, $create_user, $only_existing_contact)
{
require_once "include/html2bbcode.php";
logger("statusnet_createpost: start", LOGGER_DEBUG);
$api = PConfig::get($uid, 'statusnet', 'baseapi');
@ -1186,7 +1184,7 @@ function statusnet_createpost(App $a, $uid, $post, $self, $create_user, $only_ex
$postarray['allow_cid'] = '<' . $self['id'] . '>';
}
$postarray['body'] = html2bbcode($content->statusnet_html);
$postarray['body'] = HTML::toBBCode($content->statusnet_html);
$converted = statusnet_convertmsg($a, $postarray['body'], false);
$postarray['body'] = $converted["body"];

View file

@ -1,16 +1,16 @@
# ADDON blockem
# ADDON superblock
# Copyright (C)
# This file is distributed under the same license as the Friendica blockem addon package.
# This file is distributed under the same license as the Friendica superblock addon package.
#
#
# Translators:
# fabrixxm <fabrix.xm@gmail.com>, 2014-2015
# fabrixxm <fabrix.xm@gmail.com>, 2014-2015,2017
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2015-08-31 10:28+0000\n"
"POT-Creation-Date: 2017-04-21 08:45+0200\n"
"PO-Revision-Date: 2017-09-20 06:08+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"
@ -19,35 +19,26 @@ msgstr ""
"Language: it\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: blockem.php:51
msgid "\"Blockem\" Settings"
msgstr "Impostazioni \"Blockem\""
#: superblock.php:53 superblock.php:57
msgid "\"Superblock\""
msgstr "\"Superblocco\""
#: blockem.php:53
#: superblock.php:60
msgid "Comma separated profile URLS to block"
msgstr "Lista, separata da virgola, di indirizzi di profili da bloccare"
#: blockem.php:57
msgid "Submit"
msgstr "Invia"
#: superblock.php:64
msgid "Save Settings"
msgstr "Salva Impostazioni"
#: blockem.php:70
msgid "BLOCKEM Settings saved."
msgstr "Impostazioni \"Blockem\" salvate."
#: superblock.php:76
msgid "SUPERBLOCK Settings saved."
msgstr "Impostazioni \"Superblocco\" salvate."
#: blockem.php:105
#, php-format
msgid "Blocked %s - Click to open/close"
msgstr "%s bloccato - Clicca per aprire/chiudere"
#: superblock.php:148
msgid "Block Completely"
msgstr "Blocca Completamente"
#: blockem.php:160
msgid "Unblock Author"
msgstr "Sblocca autore"
#: blockem.php:162
msgid "Block Author"
msgstr "Blocca autore"
#: blockem.php:194
msgid "blockem settings updated"
msgstr "Impostazioni 'blockem' aggiornate."
#: superblock.php:168
msgid "superblock settings updated"
msgstr "impostazioni \"superblocco\" aggiornate."

View file

@ -5,11 +5,9 @@ function string_plural_select_it($n){
return ($n != 1);;
}}
;
$a->strings["\"Blockem\" Settings"] = "Impostazioni \"Blockem\"";
$a->strings["\"Superblock\""] = "\"Superblocco\"";
$a->strings["Comma separated profile URLS to block"] = "Lista, separata da virgola, di indirizzi di profili da bloccare";
$a->strings["Submit"] = "Invia";
$a->strings["BLOCKEM Settings saved."] = "Impostazioni \"Blockem\" salvate.";
$a->strings["Blocked %s - Click to open/close"] = "%s bloccato - Clicca per aprire/chiudere";
$a->strings["Unblock Author"] = "Sblocca autore";
$a->strings["Block Author"] = "Blocca autore";
$a->strings["blockem settings updated"] = "Impostazioni 'blockem' aggiornate.";
$a->strings["Save Settings"] = "Salva Impostazioni";
$a->strings["SUPERBLOCK Settings saved."] = "Impostazioni \"Superblocco\" salvate.";
$a->strings["Block Completely"] = "Blocca Completamente";
$a->strings["superblock settings updated"] = "impostazioni \"superblocco\" aggiornate.";

View file

@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-08-23 17:30+0200\n"
"PO-Revision-Date: 2015-08-31 10:28+0000\n"
"PO-Revision-Date: 2017-09-20 06:08+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"

View file

@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2014-09-10 14:43+0000\n"
"PO-Revision-Date: 2017-09-20 06:09+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"

View file

@ -4,13 +4,13 @@
#
#
# Translators:
# fabrixxm <fabrix.xm@gmail.com>, 2014-2015
# fabrixxm <fabrix.xm@gmail.com>, 2014-2015,2018
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2015-08-31 10:28+0000\n"
"PO-Revision-Date: 2018-03-19 13:25+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"
@ -45,7 +45,7 @@ msgstr "(Ri)Autenticati con la tua pagina Tumblr"
#: tumblr.php:192
msgid "Enable Tumblr Post Addon"
msgstr "Abilita Addon Tumblr"
msgstr "Abilita componente aggiuntivo di invio a Tumblr"
#: tumblr.php:197
msgid "Post to Tumblr by default"

View file

@ -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 Addon"] = "Abilita Addon Tumblr";
$a->strings["Enable Tumblr Post Addon"] = "Abilita componente aggiuntivo di invio a 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";

View file

@ -4,13 +4,13 @@
#
#
# Translators:
# fabrixxm <fabrix.xm@gmail.com>, 2014-2015
# fabrixxm <fabrix.xm@gmail.com>, 2014-2015,2018
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2015-08-31 10:29+0000\n"
"POT-Creation-Date: 2018-02-08 07:07+0100\n"
"PO-Revision-Date: 2018-03-19 13:09+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"
@ -19,105 +19,106 @@ msgstr ""
"Language: it\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: twitter.php:77
#: twitter.php:193
msgid "Post to Twitter"
msgstr "Invia a Twitter"
#: twitter.php:129
#: twitter.php:234
msgid ""
"You submitted an empty PIN, please Sign In with Twitter again to get a new "
"one."
msgstr "Hai inserito un PIN vuoto, autenticati con Twitter nuovamente per averne uno nuovo."
#: twitter.php:261
msgid "Twitter settings updated."
msgstr "Impostazioni di Twitter aggiornate."
#: twitter.php:157
msgid "Twitter Posting Settings"
msgstr "Impostazioni di invio a Twitter"
#: twitter.php:291 twitter.php:295
msgid "Twitter Import/Export/Mirror"
msgstr "Importa/Esporta/Clona Twitter"
#: twitter.php:164
#: twitter.php:302
msgid ""
"No consumer key pair for Twitter found. Please contact your site "
"administrator."
msgstr "Nessuna coppia di chiavi per Twitter trovata. Contatta l'amministratore del sito."
#: twitter.php:183
#: twitter.php:314
msgid ""
"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 <strong>public</strong> posts will"
" be posted to 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 <strong>pubblici</strong> saranno inviati a Twitter."
msgstr "Il componente aggiuntivo 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 <strong>pubblici</strong> saranno inviati a Twitter."
#: twitter.php:184
#: twitter.php:315
msgid "Log in with Twitter"
msgstr "Accedi con Twitter"
#: twitter.php:186
#: twitter.php:317
msgid "Copy the PIN from Twitter here"
msgstr "Copia il PIN da Twitter qui"
#: twitter.php:191 twitter.php:229 twitter.php:556
msgid "Submit"
msgstr "Invia"
#: twitter.php:322 twitter.php:364 twitter.php:642
msgid "Save Settings"
msgstr "Salva Impostazioni"
#: twitter.php:200
#: twitter.php:334
msgid "Currently connected to: "
msgstr "Al momento connesso con:"
#: twitter.php:201
#: twitter.php:335
msgid "Disconnect"
msgstr "Disconnetti"
#: twitter.php:345
msgid "Allow posting to Twitter"
msgstr "Permetti l'invio a Twitter"
#: twitter.php:345
msgid ""
"If enabled all your <strong>public</strong> postings can be posted to the "
"associated Twitter account. You can choose to do so by default (here) or for"
" every posting separately in the posting options when writing the entry."
msgstr "Se abilitato tutti i tuoi messaggi <strong>pubblici</strong> possono essere inviati all'account Twitter associato. Puoi scegliere di farlo sempre (qui) o ogni volta che invii, nelle impostazioni di privacy del messaggio."
#: twitter.php:203
#: twitter.php:348
msgid ""
"<strong>Note</strong>: Due your privacy settings (<em>Hide your profile "
"<strong>Note</strong>: Due to your privacy settings (<em>Hide your profile "
"details from unknown viewers?</em>) the link potentially included in public "
"postings relayed to Twitter will lead the visitor to a blank page informing "
"the visitor that the access to your profile has been restricted."
msgstr "<strong>Nota</strong>: A causa delle tue impostazioni di privacy(<em>Nascondi i dettagli del tuo profilo ai visitatori sconosciuti?</em>) il link potenzialmente incluse nei messaggi pubblici inviati a Twitter porterà i visitatori a una pagina bianca con una nota che li informa che l'accesso al tuo profilo è stato limitato."
msgstr "<strong>Nota</strong>: A causa delle tue impostazioni di privacy(<em>Nascondi i dettagli del tuo profilo ai visitatori sconosciuti?</em>) il link potenzialmente incluso nei messaggi pubblici inviati a Twitter porterà i visitatori a una pagina bianca con una nota che li informa che l'accesso al tuo profilo è stato limitato."
#: twitter.php:206
msgid "Allow posting to Twitter"
msgstr "Permetti l'invio a Twitter"
#: twitter.php:209
#: twitter.php:351
msgid "Send public postings to Twitter by default"
msgstr "Invia sempre i messaggi pubblici a Twitter"
#: twitter.php:213
msgid "Mirror all posts from twitter that are no replies or retweets"
msgstr "Clona tutti i messaggi da Twitter che non sono risposte or retweet"
#: twitter.php:354
msgid "Mirror all posts from twitter that are no replies"
msgstr "Clona tutti i messaggi da Twitter che non sono risposte"
#: twitter.php:217
msgid "Shortening method that optimizes the tweet"
msgstr "Metodo di accorciatura che ottimizza i tweet"
#: twitter.php:357
msgid "Import the remote timeline"
msgstr "Importa la timeline remota"
#: twitter.php:221
msgid "Send linked #-tags and @-names to Twitter"
msgstr "Invia i link dei #tag e dei @nomi a Twitter"
#: twitter.php:360
msgid "Automatically create contacts"
msgstr "Crea automaticamente i contatti"
#: twitter.php:226
msgid "Clear OAuth configuration"
msgstr "Rimuovi la configurazione OAuth"
#: twitter.php:619
msgid "Twitter post failed. Queued for retry."
msgstr "Invio a Twitter fallito. In coda per riprovare."
#: twitter.php:550
#: twitter.php:634
msgid "Settings updated."
msgstr "Impostazioni aggiornate."
#: twitter.php:558
#: twitter.php:644
msgid "Consumer key"
msgstr "Consumer key"
#: twitter.php:559
#: twitter.php:645
msgid "Consumer secret"
msgstr "Consumer secret"
#: twitter.php:560
msgid "Name of the Twitter Application"
msgstr "Nome dell'applicazione Twitter"
#: twitter.php:560
msgid ""
"set this to avoid mirroring postings from ~friendica back to ~friendica"
msgstr "imposta questo per evitare di clonare i messaggi da Friendica nuovamente in Friendica"

View file

@ -6,24 +6,24 @@ function string_plural_select_it($n){
}}
;
$a->strings["Post to Twitter"] = "Invia a Twitter";
$a->strings["You submitted an empty PIN, please Sign In with Twitter again to get a new one."] = "Hai inserito un PIN vuoto, autenticati con Twitter nuovamente per averne uno nuovo.";
$a->strings["Twitter settings updated."] = "Impostazioni di Twitter aggiornate.";
$a->strings["Twitter Posting Settings"] = "Impostazioni di invio a Twitter";
$a->strings["Twitter Import/Export/Mirror"] = "Importa/Esporta/Clona 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 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 <strong>public</strong> 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 <strong>pubblici</strong> 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 <strong>public</strong> posts will be posted to Twitter."] = "Il componente aggiuntivo 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 <strong>pubblici</strong> 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";
$a->strings["Save Settings"] = "Salva Impostazioni";
$a->strings["Currently connected to: "] = "Al momento connesso con:";
$a->strings["If enabled all your <strong>public</strong> postings can be posted to the associated Twitter account. You can choose to do so by default (here) or for every posting separately in the posting options when writing the entry."] = "Se abilitato tutti i tuoi messaggi <strong>pubblici</strong> possono essere inviati all'account Twitter associato. Puoi scegliere di farlo sempre (qui) o ogni volta che invii, nelle impostazioni di privacy del messaggio.";
$a->strings["<strong>Note</strong>: Due your privacy settings (<em>Hide your profile details from unknown viewers?</em>) the link potentially included in public postings relayed to Twitter will lead the visitor to a blank page informing the visitor that the access to your profile has been restricted."] = "<strong>Nota</strong>: A causa delle tue impostazioni di privacy(<em>Nascondi i dettagli del tuo profilo ai visitatori sconosciuti?</em>) il link potenzialmente incluse nei messaggi pubblici inviati a Twitter porterà i visitatori a una pagina bianca con una nota che li informa che l'accesso al tuo profilo è stato limitato.";
$a->strings["Disconnect"] = "Disconnetti";
$a->strings["Allow posting to Twitter"] = "Permetti l'invio a Twitter";
$a->strings["If enabled all your <strong>public</strong> postings can be posted to the associated Twitter account. You can choose to do so by default (here) or for every posting separately in the posting options when writing the entry."] = "Se abilitato tutti i tuoi messaggi <strong>pubblici</strong> possono essere inviati all'account Twitter associato. Puoi scegliere di farlo sempre (qui) o ogni volta che invii, nelle impostazioni di privacy del messaggio.";
$a->strings["<strong>Note</strong>: Due to your privacy settings (<em>Hide your profile details from unknown viewers?</em>) the link potentially included in public postings relayed to Twitter will lead the visitor to a blank page informing the visitor that the access to your profile has been restricted."] = "<strong>Nota</strong>: A causa delle tue impostazioni di privacy(<em>Nascondi i dettagli del tuo profilo ai visitatori sconosciuti?</em>) il link potenzialmente incluso nei messaggi pubblici inviati a Twitter porterà i visitatori a una pagina bianca con una nota che li informa che l'accesso al tuo profilo è stato limitato.";
$a->strings["Send public postings to Twitter by default"] = "Invia sempre i messaggi pubblici a Twitter";
$a->strings["Mirror all posts from twitter that are no replies or retweets"] = "Clona tutti i messaggi da Twitter che non sono risposte or retweet";
$a->strings["Shortening method that optimizes the tweet"] = "Metodo di accorciatura che ottimizza i tweet";
$a->strings["Send linked #-tags and @-names to Twitter"] = "Invia i link dei #tag e dei @nomi a Twitter";
$a->strings["Clear OAuth configuration"] = "Rimuovi la configurazione OAuth";
$a->strings["Mirror all posts from twitter that are no replies"] = "Clona tutti i messaggi da Twitter che non sono risposte";
$a->strings["Import the remote timeline"] = "Importa la timeline remota";
$a->strings["Automatically create contacts"] = "Crea automaticamente i contatti";
$a->strings["Twitter post failed. Queued for retry."] = "Invio a Twitter fallito. In coda per riprovare.";
$a->strings["Settings updated."] = "Impostazioni aggiornate.";
$a->strings["Consumer key"] = "Consumer key";
$a->strings["Consumer secret"] = "Consumer secret";
$a->strings["Name of the Twitter Application"] = "Nome dell'applicazione Twitter";
$a->strings["set this to avoid mirroring postings from ~friendica back to ~friendica"] = "imposta questo per evitare di clonare i messaggi da Friendica nuovamente in Friendica";

View file

@ -0,0 +1,23 @@
# ADDON viewsrc
# Copyright (C)
# This file is distributed under the same license as the Friendica viewsrc addon package.
#
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>, 2018\n"
"Language-Team: Italian (https://www.transifex.com/Friendica/teams/12172/it/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: it\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: viewsrc.php:39
msgid "View Source"
msgstr "Vedi Sorgente"

View file

@ -1,3 +1,8 @@
<?php
$a->strings["View Source"] = "Vedi sorgente";
<?php
if(! function_exists("string_plural_select_it")) {
function string_plural_select_it($n){
return ($n != 1);;
}}
;
$a->strings["View Source"] = "Vedi Sorgente";

View file

@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-06-23 14:45+0200\n"
"PO-Revision-Date: 2014-09-10 14:50+0000\n"
"PO-Revision-Date: 2017-09-20 06:09+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"
@ -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 addonWebRTC."
msgstr "Contatta il tuo amministratore Friendica e ricordagli di configurare il plugin WebRTC."

View file

@ -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 addon 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 plugin WebRTC.";

View file

@ -4,13 +4,13 @@
#
#
# Translators:
# fabrixxm <fabrix.xm@gmail.com>, 2014
# fabrixxm <fabrix.xm@gmail.com>, 2014,2018
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-10-26 15:02+0100\n"
"PO-Revision-Date: 2014-10-31 13:46+0000\n"
"PO-Revision-Date: 2018-03-19 13:26+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"
@ -29,7 +29,7 @@ msgstr "Impostazioni WindowsPhonePush"
#: windowsphonepush.php:117
msgid "Enable WindowsPhonePush Addon"
msgstr "Abilita addon WindowsPhonePush"
msgstr "Abilita componente aggiuntivo WindowsPhonePush"
#: windowsphonepush.php:122
msgid "Push text of new item"

View file

@ -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 Addon"] = "Abilita addon WindowsPhonePush";
$a->strings["Enable WindowsPhonePush Addon"] = "Abilita componente aggiuntivo WindowsPhonePush";
$a->strings["Push text of new item"] = "Notifica il testo dei nuovi elementi";
$a->strings["Save Settings"] = "Salva Impostazioni";

View file

@ -28,6 +28,7 @@
use Friendica\App;
use Friendica\Content\Text\BBCode;
use Friendica\Content\Text\HTML;
use Friendica\Core\Addon;
use Friendica\Core\L10n;
use Friendica\Core\PConfig;
@ -211,10 +212,8 @@ function windowsphonepush_cron()
if (substr($body, 0, 4) == "[url") {
$body = "URL/Image ...";
} else {
require_once("include/html2plain.php");
$body = BBCode::convert($body, false, 2, true);
$body = html2plain($body, 0);
$body = HTML::toPlaintext($body, 0);
$body = ((strlen($body) > 137) ? substr($body, 0, 137) . "..." : $body);
}
} else {

View file

@ -4,13 +4,13 @@
#
#
# Translators:
# fabrixxm <fabrix.xm@gmail.com>, 2014-2015
# fabrixxm <fabrix.xm@gmail.com>, 2014-2015,2017-2018
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-24 21:06+0100\n"
"PO-Revision-Date: 2017-02-10 08:18+0000\n"
"PO-Revision-Date: 2018-03-19 13:26+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"
@ -25,11 +25,11 @@ msgstr "Invia a Wordpress"
#: wppost.php:80 wppost.php:84
msgid "Wordpress Export"
msgstr ""
msgstr "Esporta a Wordpress"
#: wppost.php:87
msgid "Enable WordPress Post Addon"
msgstr "Abilita il addon di invio a Wordpress"
msgstr "Abilita il componente aggiuntivo di invio a Wordpress"
#: wppost.php:92
msgid "WordPress username"
@ -55,19 +55,19 @@ msgstr "Inserisci un link al messaggio originale su Friendica"
msgid ""
"Text for the backlink, e.g. Read the original post and comment stream on "
"Friendica."
msgstr ""
msgstr "Testo per il backlink, p.e. Leggi il post originale e i commenti su Friendica."
#: wppost.php:121
msgid "Don't post messages that are too short"
msgstr ""
msgstr "Non inviare messaggi troppo corti"
#: wppost.php:127
msgid "Save Settings"
msgstr ""
msgstr "Salva Impostazioni"
#: wppost.php:206
msgid "Read the orig­i­nal post and com­ment stream on Friendica"
msgstr ""
msgstr "Leggi il messaggio originale e i commenti su Friendica"
#: wppost.php:269
msgid "Post from Friendica"

View file

@ -6,15 +6,15 @@ function string_plural_select_it($n){
}}
;
$a->strings["Post to Wordpress"] = "Invia a Wordpress";
$a->strings["Wordpress Export"] = "";
$a->strings["Enable WordPress Post Addon"] = "Abilita il addon di invio a Wordpress";
$a->strings["Wordpress Export"] = "Esporta a Wordpress";
$a->strings["Enable WordPress Post Addon"] = "Abilita il componente aggiuntivo 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";
$a->strings["Post to WordPress by default"] = "Invia sempre a Wordpress";
$a->strings["Provide a backlink to the Friendica post"] = "Inserisci un link al messaggio originale su Friendica";
$a->strings["Text for the backlink, e.g. Read the original post and comment stream on Friendica."] = "";
$a->strings["Don't post messages that are too short"] = "";
$a->strings["Save Settings"] = "";
$a->strings["Read the orig­i­nal post and com­ment stream on Friendica"] = "";
$a->strings["Text for the backlink, e.g. Read the original post and comment stream on Friendica."] = "Testo per il backlink, p.e. Leggi il post originale e i commenti su Friendica.";
$a->strings["Don't post messages that are too short"] = "Non inviare messaggi troppo corti";
$a->strings["Save Settings"] = "Salva Impostazioni";
$a->strings["Read the orig­i­nal post and com­ment stream on Friendica"] = "Leggi il messaggio originale e i commenti su Friendica";
$a->strings["Post from Friendica"] = "Messaggio da Friendica";

View file

@ -5,7 +5,9 @@
* Version: 1.1
* Author: Mike Macgirvin <http://macgirvin.com/profile/mike>
*/
use Friendica\Content\Text\BBCode;
use Friendica\Content\Text\HTML;
use Friendica\Core\Addon;
use Friendica\Core\L10n;
use Friendica\Core\PConfig;
@ -146,7 +148,7 @@ function wppost_settings_post(&$a,&$b) {
PConfig::set(local_user(),'wppost','shortcheck',trim($_POST['wp_shortcheck']));
$wp_backlink_text = notags(trim($_POST['wp_backlink_text']));
$wp_backlink_text = BBCode::convert($wp_backlink_text, false, 8);
$wp_backlink_text = html2plain($wp_backlink_text, 0, true);
$wp_backlink_text = HTML::toPlaintext($wp_backlink_text, 0, true);
PConfig::set(local_user(),'wppost','wp_backlink_text', $wp_backlink_text);
}
@ -221,8 +223,6 @@ function wppost_send(&$a,&$b) {
}
if ($wp_username && $wp_password && $wp_blog) {
require_once 'include/html2plain.php';
$wptitle = trim($b['title']);
if (intval(PConfig::get($b['uid'], 'wppost', 'shortcheck'))) {
@ -265,7 +265,7 @@ function wppost_send(&$a,&$b) {
// Remove the share element before fetching the first line
$title = trim(preg_replace("/\[share.*?\](.*?)\[\/share\]/ism","\n$1\n",$b['body']));
$title = html2plain(BBCode::convert($title, false), 0, true)."\n";
$title = HTML::toPlaintext(BBCode::convert($title, false), 0, true)."\n";
$pos = strpos($title, "\n");
$trailer = "";
if (($pos == 0) || ($pos > 100)) {

61
xmpp/lang/it/messages.po Normal file
View file

@ -0,0 +1,61 @@
# ADDON xmpp
# Copyright (C)
# This file is distributed under the same license as the Friendica xmpp addon package.
#
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-27 09:30+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>, 2018\n"
"Language-Team: Italian (https://www.transifex.com/Friendica/teams/12172/it/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: it\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: xmpp.php:38
msgid "XMPP settings updated."
msgstr "Impostazioni XMPP aggiornate."
#: xmpp.php:63 xmpp.php:67
msgid "XMPP-Chat (Jabber)"
msgstr "XMPP-Chat (Jabber)"
#: xmpp.php:71
msgid "Enable Webchat"
msgstr "Abilita chat web"
#: xmpp.php:76
msgid "Individual Credentials"
msgstr "Credenziali Individuali"
#: xmpp.php:82 xmpp.php:108
msgid "Jabber BOSH host"
msgstr "Server Jabber BOSH"
#: xmpp.php:91 xmpp.php:107
msgid "Save Settings"
msgstr "Salva Impostazioni"
#: xmpp.php:109
msgid "Use central userbase"
msgstr "Usa base utenti centrale"
#: xmpp.php:109
msgid ""
"If enabled, users will automatically login to an ejabberd server that has to"
" be installed on this machine with synchronized credentials via the "
"\"auth_ejabberd.php\" script."
msgstr ""
"Se abilitato, gli utenti verranno automaticamente autenticati con un server "
"ejabber che deve essere installato su questa macchina, con le credenziali "
"sincronizzate attraverso lo script \"auth_ejabberd.php\""
#: xmpp.php:119
msgid "Settings updated."
msgstr "Impostazioni aggiornate."

16
xmpp/lang/it/strings.php Normal file
View file

@ -0,0 +1,16 @@
<?php
if(! function_exists("string_plural_select_it")) {
function string_plural_select_it($n){
return ($n != 1);;
}}
;
$a->strings["XMPP settings updated."] = "Impostazioni XMPP aggiornate.";
$a->strings["XMPP-Chat (Jabber)"] = "XMPP-Chat (Jabber)";
$a->strings["Enable Webchat"] = "Abilita chat web";
$a->strings["Individual Credentials"] = "Credenziali Individuali";
$a->strings["Jabber BOSH host"] = "Server Jabber BOSH";
$a->strings["Save Settings"] = "Salva Impostazioni";
$a->strings["Use central userbase"] = "Usa base utenti centrale";
$a->strings["If enabled, users will automatically login to an ejabberd server that has to be installed on this machine with synchronized credentials via the \"auth_ejabberd.php\" script."] = "Se abilitato, gli utenti verranno automaticamente autenticati con un server ejabber che deve essere installato su questa macchina, con le credenziali sincronizzate attraverso lo script \"auth_ejabberd.php\"";
$a->strings["Settings updated."] = "Impostazioni aggiornate.";

61
xmpp/lang/nl/messages.po Normal file
View file

@ -0,0 +1,61 @@
# ADDON xmpp
# Copyright (C)
# This file is distributed under the same license as the Friendica xmpp addon package.
#
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-27 09:30+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Karel Vandecandelaere <karel@dasrakel.eu>, 2018\n"
"Language-Team: Dutch (https://www.transifex.com/Friendica/teams/12172/nl/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: nl\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: xmpp.php:38
msgid "XMPP settings updated."
msgstr "XMPP-instellingen bijgewerkt."
#: xmpp.php:63 xmpp.php:67
msgid "XMPP-Chat (Jabber)"
msgstr "XMPP-chat (Jabber)"
#: xmpp.php:71
msgid "Enable Webchat"
msgstr "Webchat inschakelen"
#: xmpp.php:76
msgid "Individual Credentials"
msgstr ""
#: xmpp.php:82 xmpp.php:108
msgid "Jabber BOSH host"
msgstr "Jabber BOSH Server"
#: xmpp.php:91 xmpp.php:107
msgid "Save Settings"
msgstr "Instellingen opslaan"
#: xmpp.php:109
msgid "Use central userbase"
msgstr ""
#: xmpp.php:109
msgid ""
"If enabled, users will automatically login to an ejabberd server that has to"
" be installed on this machine with synchronized credentials via the "
"\"auth_ejabberd.php\" script."
msgstr ""
"Wanneer ingeschakeld zullen gebruikers automatisch inloggen op een ejabberd-"
"server die op deze server moet geïnstalleerd staan, met dezelfde "
"gebruikersnaam en wachtwoord, via het \"auth_ejabberd.php\" script."
#: xmpp.php:119
msgid "Settings updated."
msgstr "Instellingen bijgewerkt."

16
xmpp/lang/nl/strings.php Normal file
View file

@ -0,0 +1,16 @@
<?php
if(! function_exists("string_plural_select_nl")) {
function string_plural_select_nl($n){
return ($n != 1);;
}}
;
$a->strings["XMPP settings updated."] = "XMPP-instellingen bijgewerkt.";
$a->strings["XMPP-Chat (Jabber)"] = "XMPP-chat (Jabber)";
$a->strings["Enable Webchat"] = "Webchat inschakelen";
$a->strings["Individual Credentials"] = "";
$a->strings["Jabber BOSH host"] = "Jabber BOSH Server";
$a->strings["Save Settings"] = "Instellingen opslaan";
$a->strings["Use central userbase"] = "";
$a->strings["If enabled, users will automatically login to an ejabberd server that has to be installed on this machine with synchronized credentials via the \"auth_ejabberd.php\" script."] = "Wanneer ingeschakeld zullen gebruikers automatisch inloggen op een ejabberd-server die op deze server moet geïnstalleerd staan, met dezelfde gebruikersnaam en wachtwoord, via het \"auth_ejabberd.php\" script.";
$a->strings["Settings updated."] = "Instellingen bijgewerkt.";

View file

@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2015-08-31 10:30+0000\n"
"PO-Revision-Date: 2017-09-20 06:09+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"

View file

@ -0,0 +1,48 @@
# ADDON yourls
# Copyright (C)
# This file is distributed under the same license as the Friendica yourls addon package.
#
#
# Translators:
# Karel Vandecandelaere <karel@dasrakel.eu>, 2018
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2018-03-20 13:29+0000\n"
"Last-Translator: Karel Vandecandelaere <karel@dasrakel.eu>\n"
"Language-Team: Dutch (http://www.transifex.com/Friendica/friendica/language/nl/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: nl\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: yourls.php:55
msgid "YourLS Settings"
msgstr "YourLS-instellingen"
#: yourls.php:57
msgid "URL: http://"
msgstr "URL: http://"
#: yourls.php:62
msgid "Username:"
msgstr "Gebruikersnaam:"
#: yourls.php:67
msgid "Password:"
msgstr "Wachtwoord:"
#: yourls.php:72
msgid "Use SSL "
msgstr "Gebruik SSL"
#: yourls.php:76
msgid "Submit"
msgstr "Toepassen"
#: yourls.php:92
msgid "yourls Settings saved."
msgstr "YourLS-instellingen bijgewerkt."

View file

@ -0,0 +1,14 @@
<?php
if(! function_exists("string_plural_select_nl")) {
function string_plural_select_nl($n){
return ($n != 1);;
}}
;
$a->strings["YourLS Settings"] = "YourLS-instellingen";
$a->strings["URL: http://"] = "URL: http://";
$a->strings["Username:"] = "Gebruikersnaam:";
$a->strings["Password:"] = "Wachtwoord:";
$a->strings["Use SSL "] = "Gebruik SSL";
$a->strings["Submit"] = "Toepassen";
$a->strings["yourls Settings saved."] = "YourLS-instellingen bijgewerkt.";