From 7a8d0a03f6ae9d892ee9a7e7196a4cec8f36cfaa Mon Sep 17 00:00:00 2001 From: jeroenpraat Date: Fri, 14 Aug 2015 15:57:05 +0200 Subject: update spanish --- view/es/messages.po | 18 +++++++++--------- view/es/strings.php | 16 ++++++++-------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/view/es/messages.po b/view/es/messages.po index a5313a9fd..048aa20aa 100644 --- a/view/es/messages.po +++ b/view/es/messages.po @@ -14,7 +14,7 @@ msgstr "" "Project-Id-Version: Redmatrix\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-08-07 00:03-0700\n" -"PO-Revision-Date: 2015-08-12 17:17+0000\n" +"PO-Revision-Date: 2015-08-14 07:27+0000\n" "Last-Translator: Manuel Jiménez Friaza \n" "Language-Team: Spanish (http://www.transifex.com/Friendica/red-matrix/language/es/)\n" "MIME-Version: 1.0\n" @@ -154,7 +154,7 @@ msgstr "editar" #: ../../include/group.php:298 msgid "Collections" -msgstr "Coleciones" +msgstr "Colecciones" #: ../../include/group.php:299 msgid "Edit collection" @@ -1429,7 +1429,7 @@ msgstr "Todo" #: ../../include/widgets.php:349 msgid "Archives" -msgstr "Ficheros" +msgstr "Hemeroteca" #: ../../include/widgets.php:429 ../../mod/connedit.php:571 msgid "Me" @@ -2167,7 +2167,7 @@ msgstr "Iniciar sesión" #: ../../include/nav.php:117 msgid "Sign in" -msgstr "Regístrese" +msgstr "Acceder" #: ../../include/nav.php:134 #, php-format @@ -2192,7 +2192,7 @@ msgstr "Registrarse" #: ../../include/nav.php:155 msgid "Create an account" -msgstr "Crea una cuenta" +msgstr "Crear una cuenta" #: ../../include/nav.php:160 ../../include/apps.php:142 ../../mod/help.php:67 #: ../../mod/help.php:72 ../../mod/layouts.php:176 @@ -2881,7 +2881,7 @@ msgstr "Flujos públicos importados" #: ../../include/conversation.php:1489 msgid "Commented Order" -msgstr "Orden de comentados" +msgstr "Comentarios recientes" #: ../../include/conversation.php:1492 msgid "Sort by Comment Date" @@ -4768,7 +4768,7 @@ msgstr "Sugerir nuevas conexiones" #: ../../mod/connections.php:274 msgid "New Connections" -msgstr "Nuevas conecciones" +msgstr "Nuevas conexiones" #: ../../mod/connections.php:277 msgid "Show pending (new) connections" @@ -7822,7 +7822,7 @@ msgstr "Publicar tu perfil predeterminado en el directorio de la red" #: ../../mod/settings.php:991 msgid "Allow us to suggest you as a potential friend to new members?" -msgstr "¿Nos permite sugierirle como amigo potencial a los nuevos miembros?" +msgstr "¿Nos permite sugerirle como amigo potencial a los nuevos miembros?" #: ../../mod/settings.php:1000 msgid "Your channel address is" @@ -9047,7 +9047,7 @@ msgstr "Contraseña" #: ../../boot.php:1555 msgid "Remember me" -msgstr "Recuérdame" +msgstr "Recuérdeme" #: ../../boot.php:1558 msgid "Forgot your password?" diff --git a/view/es/strings.php b/view/es/strings.php index 0ae82713b..ae56403bd 100644 --- a/view/es/strings.php +++ b/view/es/strings.php @@ -33,7 +33,7 @@ $a->strings["A deleted group with this name was revived. Existing item permissio $a->strings["Default privacy group for new contacts"] = "Grupo de privacidad por defecto para nuevos contactos "; $a->strings["All Channels"] = "Todos los canales"; $a->strings["edit"] = "editar"; -$a->strings["Collections"] = "Coleciones"; +$a->strings["Collections"] = "Colecciones"; $a->strings["Edit collection"] = "Editar colección"; $a->strings["Add new collection"] = "Añadir nueva colección"; $a->strings["Channels not in any collection"] = "El canal no se encuentra en ninguna colección"; @@ -326,7 +326,7 @@ $a->strings["Example: bob@example.com, http://example.com/barbara"] = "Ejemplo: $a->strings["Notes"] = "Notas"; $a->strings["Remove term"] = "Eliminar término"; $a->strings["Everything"] = "Todo"; -$a->strings["Archives"] = "Ficheros"; +$a->strings["Archives"] = "Hemeroteca"; $a->strings["Me"] = "Yo"; $a->strings["Family"] = "Familia"; $a->strings["Friends"] = "Amigos"; @@ -497,13 +497,13 @@ $a->strings["Your bookmarks"] = "Sus marcadores"; $a->strings["Webpages"] = "Páginas web"; $a->strings["Your webpages"] = "Sus páginas web"; $a->strings["Login"] = "Iniciar sesión"; -$a->strings["Sign in"] = "Regístrese"; +$a->strings["Sign in"] = "Acceder"; $a->strings["%s - click to logout"] = "%s - pulsar para cerrar sesión"; $a->strings["Remote authentication"] = "Autenticación remota"; $a->strings["Click to authenticate to your home hub"] = "Pulsar para identificarse en su servidor"; $a->strings["Home Page"] = "Página de inicio"; $a->strings["Register"] = "Registrarse"; -$a->strings["Create an account"] = "Crea una cuenta"; +$a->strings["Create an account"] = "Crear una cuenta"; $a->strings["Help"] = "Ayuda"; $a->strings["Help and documentation"] = "Ayuda y documentación"; $a->strings["Applications, utilities, links, games"] = "Aplicaciones, utilidades, enlaces, juegos"; @@ -667,7 +667,7 @@ $a->strings["OK"] = "OK"; $a->strings["Cancel"] = "Cancelar"; $a->strings["Discover"] = "Descubrir"; $a->strings["Imported public streams"] = "Flujos públicos importados"; -$a->strings["Commented Order"] = "Orden de comentados"; +$a->strings["Commented Order"] = "Comentarios recientes"; $a->strings["Sort by Comment Date"] = "Ordenar por fecha de comentario"; $a->strings["Posted Order"] = "Recientemente publicados"; $a->strings["Sort by Post Date"] = "Ordenar por fecha de publicación"; @@ -1124,7 +1124,7 @@ $a->strings["Ignored"] = "Ignorados"; $a->strings["Hidden"] = "Ocultos"; $a->strings["Archived"] = "Archivados"; $a->strings["Suggest new connections"] = "Sugerir nuevas conexiones"; -$a->strings["New Connections"] = "Nuevas conecciones"; +$a->strings["New Connections"] = "Nuevas conexiones"; $a->strings["Show pending (new) connections"] = "Mostrar conexiones (nuevas) pendientes"; $a->strings["All Connections"] = "Todas las conexiones"; $a->strings["Show all connections"] = "Mostrar todas las conexiones"; @@ -1848,7 +1848,7 @@ $a->strings["Anybody in this network"] = "Cualquiera en esta red"; $a->strings["Anybody authenticated"] = "Cualquiera autenticado"; $a->strings["Anybody on the internet"] = "Cualquiera en internet"; $a->strings["Publish your default profile in the network directory"] = "Publicar tu perfil predeterminado en el directorio de la red"; -$a->strings["Allow us to suggest you as a potential friend to new members?"] = "¿Nos permite sugierirle como amigo potencial a los nuevos miembros?"; +$a->strings["Allow us to suggest you as a potential friend to new members?"] = "¿Nos permite sugerirle como amigo potencial a los nuevos miembros?"; $a->strings["Your channel address is"] = "Su dirección de canal es"; $a->strings["Channel Settings"] = "Configuración de canal"; $a->strings["Basic Settings"] = "Configuración básica"; @@ -2139,7 +2139,7 @@ $a->strings["Update %s failed. See error logs."] = "La actualización %s ha fall $a->strings["Update Error at %s"] = "Error de Actualización en %s"; $a->strings["Create an account to access services and applications within the Red Matrix"] = "Crea una cuenta para acceder a los servicios y aplicaciones dentro de Red Matrix"; $a->strings["Password"] = "Contraseña"; -$a->strings["Remember me"] = "Recuérdame"; +$a->strings["Remember me"] = "Recuérdeme"; $a->strings["Forgot your password?"] = "¿Olvidó su contraseña?"; $a->strings["toggle mobile"] = "cambiar a móvil"; $a->strings["Website SSL certificate is not valid. Please correct."] = "El certificado SSL del sitio web no es válido. Por favor, corríjalo."; -- cgit v1.2.3 From 73b30de9cb22732f51ccca26695eced54683a895 Mon Sep 17 00:00:00 2001 From: Alexandre Hannud Abdo Date: Fri, 14 Aug 2015 12:21:05 -0300 Subject: Properly fix which perms get checked for comments, Mike's solution --- include/zot.php | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/include/zot.php b/include/zot.php index 17554a490..19bacfa4f 100644 --- a/include/zot.php +++ b/include/zot.php @@ -1560,20 +1560,9 @@ function process_delivery($sender, $arr, $deliveries, $relay, $public = false, $ $tag_delivery = tgroup_check($channel['channel_id'],$arr); - $perm = (($arr['mid'] == $arr['parent_mid']) ? 'send_stream' : 'post_comments'); - -// if ($arr['mid'] == $arr['parent_mid']){ -// $perm = 'send_stream'; -// } -// else{ -// $r = q("select item_owner from item where item.mid = '%s' limit 1", -// dbesc($arr['parent_mid'])); -// if($channel['channel_hash'] == $r[0]['item_owner']) -// $perm = 'post_comments'; -// else -// $perm = 'send_stream'; -// } -// + $perm = 'send_stream'; + if(($arr['mid'] !== $arr['parent_mid']) && ($relay)) + $perm = 'post_comments'; // This is our own post, possibly coming from a channel clone -- cgit v1.2.3