mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-10 18:38:49 +00:00
Revert to stable version 3.5.4
This commit is contained in:
parent
38db18b624
commit
5360f08f42
355 changed files with 21449 additions and 4957 deletions
|
@ -4,15 +4,15 @@
|
|||
#
|
||||
#
|
||||
# Translators:
|
||||
# Albert, 2016-2017
|
||||
# Albert, 2016
|
||||
# juanman <juanma@gnutn.org.ar>, 2017
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: friendica\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-04-21 08:45+0200\n"
|
||||
"PO-Revision-Date: 2017-10-26 18:00+0000\n"
|
||||
"Last-Translator: Albert\n"
|
||||
"PO-Revision-Date: 2017-07-04 16:27+0000\n"
|
||||
"Last-Translator: juanman <juanma@gnutn.org.ar>\n"
|
||||
"Language-Team: Spanish (http://www.transifex.com/Friendica/friendica/language/es/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
|
@ -22,7 +22,7 @@ msgstr ""
|
|||
|
||||
#: superblock.php:53 superblock.php:57
|
||||
msgid "\"Superblock\""
|
||||
msgstr "«Superbloque»"
|
||||
msgstr ""
|
||||
|
||||
#: superblock.php:60
|
||||
msgid "Comma separated profile URLS to block"
|
||||
|
@ -34,7 +34,7 @@ msgstr "Guardar configuración"
|
|||
|
||||
#: superblock.php:76
|
||||
msgid "SUPERBLOCK Settings saved."
|
||||
msgstr "Ajustes de SUPERBLOQUE guardados."
|
||||
msgstr ""
|
||||
|
||||
#: superblock.php:148
|
||||
msgid "Block Completely"
|
||||
|
@ -42,4 +42,4 @@ msgstr "Bloquear completamente"
|
|||
|
||||
#: superblock.php:168
|
||||
msgid "superblock settings updated"
|
||||
msgstr "ajustes de superbloque actualizados"
|
||||
msgstr ""
|
||||
|
|
|
@ -5,9 +5,9 @@ function string_plural_select_es($n){
|
|||
return ($n != 1);;
|
||||
}}
|
||||
;
|
||||
$a->strings["\"Superblock\""] = "«Superbloque»";
|
||||
$a->strings["\"Superblock\""] = "";
|
||||
$a->strings["Comma separated profile URLS to block"] = "Perfil de URLS a bloque separado por comas";
|
||||
$a->strings["Save Settings"] = "Guardar configuración";
|
||||
$a->strings["SUPERBLOCK Settings saved."] = "Ajustes de SUPERBLOQUE guardados.";
|
||||
$a->strings["SUPERBLOCK Settings saved."] = "";
|
||||
$a->strings["Block Completely"] = "Bloquear completamente";
|
||||
$a->strings["superblock settings updated"] = "ajustes de superbloque actualizados";
|
||||
$a->strings["superblock settings updated"] = "";
|
||||
|
|
|
@ -9,8 +9,6 @@
|
|||
*
|
||||
*/
|
||||
|
||||
use Friendica\Core\PConfig;
|
||||
|
||||
function superblock_install() {
|
||||
|
||||
register_hook('plugin_settings', 'addon/superblock/superblock.php', 'superblock_addon_settings');
|
||||
|
@ -46,7 +44,7 @@ function superblock_addon_settings(&$a,&$s) {
|
|||
|
||||
$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . $a->get_baseurl() . '/addon/superblock/superblock.css' . '" media="all" />' . "\r\n";
|
||||
|
||||
$words = PConfig::get(local_user(),'system','blocked');
|
||||
$words = get_pconfig(local_user(),'system','blocked');
|
||||
if(! $words) {
|
||||
$words = '';
|
||||
}
|
||||
|
@ -74,14 +72,14 @@ function superblock_addon_settings_post(&$a,&$b) {
|
|||
return;
|
||||
|
||||
if($_POST['superblock-submit']) {
|
||||
PConfig::set(local_user(),'system','blocked',trim($_POST['superblock-words']));
|
||||
set_pconfig(local_user(),'system','blocked',trim($_POST['superblock-words']));
|
||||
info( t('SUPERBLOCK Settings saved.') . EOL);
|
||||
}
|
||||
}
|
||||
|
||||
function superblock_enotify_store(&$a,&$b) {
|
||||
|
||||
$words = PConfig::get($b['uid'],'system','blocked');
|
||||
$words = get_pconfig($b['uid'],'system','blocked');
|
||||
if($words) {
|
||||
$arr = explode(',',$words);
|
||||
}
|
||||
|
@ -113,7 +111,7 @@ function superblock_conversation_start(&$a,&$b) {
|
|||
if(! local_user())
|
||||
return;
|
||||
|
||||
$words = PConfig::get(local_user(),'system','blocked');
|
||||
$words = get_pconfig(local_user(),'system','blocked');
|
||||
if($words) {
|
||||
$a->data['superblock'] = explode(',',$words);
|
||||
}
|
||||
|
@ -158,7 +156,7 @@ function superblock_init(&$a) {
|
|||
if(! local_user())
|
||||
return;
|
||||
|
||||
$words = PConfig::get(local_user(),'system','blocked');
|
||||
$words = get_pconfig(local_user(),'system','blocked');
|
||||
|
||||
if(array_key_exists('block',$_GET) && $_GET['block']) {
|
||||
if(strlen($words))
|
||||
|
@ -166,7 +164,7 @@ function superblock_init(&$a) {
|
|||
$words .= trim($_GET['block']);
|
||||
}
|
||||
|
||||
PConfig::set(local_user(),'system','blocked',$words);
|
||||
set_pconfig(local_user(),'system','blocked',$words);
|
||||
info( t('superblock settings updated') . EOL );
|
||||
killme();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue