From 9d81661c6f1c98de7595007c24fe24726f88ee66 Mon Sep 17 00:00:00 2001 From: Sebastian Silva Date: Thu, 23 May 2013 04:22:31 +0000 Subject: changes for testing 1.0 --- diff --git a/messages.pot b/messages.pot index 0cf17dc..fc42032 100644 --- a/messages.pot +++ b/messages.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2013-04-22 04:18-0500\n" +"POT-Creation-Date: 2013-05-22 01:40-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -37,11 +37,11 @@ msgstr "" msgid "MMMM d, yyyy" msgstr "" -#: sugar_network_webui/app.py:330 +#: sugar_network_webui/app.py:338 msgid "Artifact has been downloaded." msgstr "" -#: sugar_network_webui/app.py:331 +#: sugar_network_webui/app.py:339 #, python-format msgid "" "Success!\n" @@ -50,16 +50,16 @@ msgid "" "You can access it from the Journal." msgstr "" -#: sugar_network_webui/app.py:390 +#: sugar_network_webui/app.py:398 msgid "zero results" msgstr "" -#: sugar_network_webui/app.py:392 +#: sugar_network_webui/app.py:400 #, python-format msgid "page %(page)s of %(total)s" msgstr "" -#: sugar_network_webui/app.py:431 sugar_network_webui/app.py:729 +#: sugar_network_webui/app.py:439 sugar_network_webui/app.py:741 #: sugar_network_webui/templates/_browser-grid.html:5 #: sugar_network_webui/templates/context-view.html:5 #: sugar_network_webui/templates/context-view.html:25 @@ -67,7 +67,7 @@ msgstr "" msgid "questions" msgstr "" -#: sugar_network_webui/app.py:434 sugar_network_webui/app.py:732 +#: sugar_network_webui/app.py:442 sugar_network_webui/app.py:744 #: sugar_network_webui/templates/_browser-grid.html:11 #: sugar_network_webui/templates/context-view.html:11 #: sugar_network_webui/templates/context-view.html:31 @@ -75,7 +75,7 @@ msgstr "" msgid "problems" msgstr "" -#: sugar_network_webui/app.py:437 sugar_network_webui/app.py:735 +#: sugar_network_webui/app.py:445 sugar_network_webui/app.py:747 #: sugar_network_webui/templates/_browser-grid.html:8 #: sugar_network_webui/templates/context-view.html:8 #: sugar_network_webui/templates/context-view.html:28 @@ -83,7 +83,7 @@ msgstr "" msgid "ideas" msgstr "" -#: sugar_network_webui/app.py:440 sugar_network_webui/app.py:664 +#: sugar_network_webui/app.py:448 sugar_network_webui/app.py:675 #: sugar_network_webui/templates/_browser-grid.html:14 #: sugar_network_webui/templates/_review-list.html:16 #: sugar_network_webui/templates/context-view.html:14 @@ -92,51 +92,51 @@ msgstr "" msgid "reviews" msgstr "" -#: sugar_network_webui/app.py:443 sugar_network_webui/app.py:739 +#: sugar_network_webui/app.py:451 sugar_network_webui/app.py:751 msgid "artifacts" msgstr "" -#: sugar_network_webui/app.py:446 sugar_network_webui/app.py:742 +#: sugar_network_webui/app.py:454 sugar_network_webui/app.py:754 msgid "resources" msgstr "" -#: sugar_network_webui/app.py:460 sugar_network_webui/app.py:751 +#: sugar_network_webui/app.py:468 sugar_network_webui/app.py:763 #, python-format msgid "browsing %(total)s %(resource_label)s" msgstr "" -#: sugar_network_webui/app.py:488 +#: sugar_network_webui/app.py:496 msgid "Object not found." msgstr "" -#: sugar_network_webui/app.py:489 +#: sugar_network_webui/app.py:497 msgid "" "The resource you are looking for is not available at the moment.\n" "\n" "If you are offline try connecting." msgstr "" -#: sugar_network_webui/app.py:498 +#: sugar_network_webui/app.py:506 msgid "Error" msgstr "" -#: sugar_network_webui/app.py:501 +#: sugar_network_webui/app.py:509 msgid "Server error." msgstr "" -#: sugar_network_webui/app.py:535 +#: sugar_network_webui/app.py:543 msgid "activities" msgstr "" -#: sugar_network_webui/app.py:538 +#: sugar_network_webui/app.py:546 msgid "projects" msgstr "" -#: sugar_network_webui/app.py:542 +#: sugar_network_webui/app.py:550 msgid "contexts" msgstr "" -#: sugar_network_webui/app.py:557 +#: sugar_network_webui/app.py:565 #, python-format msgid "browsing %(total)s %(label)s" msgstr "" @@ -175,40 +175,20 @@ msgstr "" #: sugar_network_webui/templates/_context-comment-list.html:13 #: sugar_network_webui/templates/_context-resource-list.html:40 #: sugar_network_webui/templates/_context-resource-list.html:42 +#: sugar_network_webui/templates/_context-review-list.html:33 #: sugar_network_webui/templates/_context-review-list.html:35 -#: sugar_network_webui/templates/_context-review-list.html:37 #: sugar_network_webui/templates/_context-solution-list.html:16 #: sugar_network_webui/templates/_context-solution-list.html:18 #: sugar_network_webui/templates/_context-solution-list.html:70 #: sugar_network_webui/templates/_context-solution-list.html:72 #: sugar_network_webui/templates/_resource-list.html:33 #: sugar_network_webui/templates/_resource-list.html:35 -#: sugar_network_webui/templates/_review-list.html:31 +#: sugar_network_webui/templates/_review-list.html:32 +#: sugar_network_webui/templates/_review-list.html:34 #, python-format msgid "by %(author)s on %(date)s" msgstr "" -#: sugar_network_webui/templates/_artifact-list.html:49 -#: sugar_network_webui/templates/_context-artifact-list.html:52 -#: sugar_network_webui/templates/_context-resource-list.html:52 -#: sugar_network_webui/templates/_review-list.html:49 -msgid "followers" -msgstr "" - -#: sugar_network_webui/templates/_artifact-list.html:52 -#: sugar_network_webui/templates/_context-artifact-list.html:55 -#: sugar_network_webui/templates/_context-resource-list.html:55 -#: sugar_network_webui/templates/_review-list.html:52 -msgid "comments" -msgstr "" - -#: sugar_network_webui/templates/_artifact-list.html:55 -#: sugar_network_webui/templates/_context-artifact-list.html:58 -#: sugar_network_webui/templates/_context-resource-list.html:58 -#: sugar_network_webui/templates/_review-list.html:55 -msgid "solutions" -msgstr "" - #: sugar_network_webui/templates/_browser-grid.html:17 #: sugar_network_webui/templates/context-view.html:17 #: sugar_network_webui/templates/context-view.html:40 @@ -242,6 +222,24 @@ msgstr "" msgid "favorite" msgstr "" +#: sugar_network_webui/templates/_context-artifact-list.html:52 +#: sugar_network_webui/templates/_context-resource-list.html:52 +#: sugar_network_webui/templates/_review-list.html:53 +msgid "followers" +msgstr "" + +#: sugar_network_webui/templates/_context-artifact-list.html:55 +#: sugar_network_webui/templates/_context-resource-list.html:55 +#: sugar_network_webui/templates/_review-list.html:56 +msgid "comments" +msgstr "" + +#: sugar_network_webui/templates/_context-artifact-list.html:58 +#: sugar_network_webui/templates/_context-resource-list.html:58 +#: sugar_network_webui/templates/_review-list.html:59 +msgid "solutions" +msgstr "" + #: sugar_network_webui/templates/_context-artifact-list.html:66 #: sugar_network_webui/templates/_context-resource-list.html:66 #, python-format @@ -256,7 +254,7 @@ msgstr "" #: sugar_network_webui/templates/_context-comment-list.html:35 #: sugar_network_webui/templates/_context-comment-list.html:38 -#: sugar_network_webui/templates/_context-review-list.html:57 +#: sugar_network_webui/templates/_context-review-list.html:55 #: sugar_network_webui/templates/_context-solution-list.html:45 #: sugar_network_webui/templates/_context-solution-list.html:92 msgid "comment" @@ -271,24 +269,31 @@ msgid "collapse" msgstr "" #: sugar_network_webui/templates/_context-resource-list.html:83 -#: sugar_network_webui/templates/_context-review-list.html:18 +#: sugar_network_webui/templates/_context-review-list.html:16 #: sugar_network_webui/templates/_context-solution-list.html:123 msgid "New question, idea or problem" msgstr "" -#: sugar_network_webui/templates/_context-review-list.html:6 -msgid "contribute a review" +#: sugar_network_webui/templates/_context-review-list.html:5 +#: sugar_network_webui/templates/dialog_resource.html:37 +msgid "submit question" +msgstr "" + +#: sugar_network_webui/templates/_context-review-list.html:7 +#: sugar_network_webui/templates/dialog_resource.html:39 +msgid "submit idea" msgstr "" #: sugar_network_webui/templates/_context-review-list.html:9 -msgid "Offline contribution will be saved until synchronized." +#: sugar_network_webui/templates/dialog_resource.html:41 +msgid "submit problem" msgstr "" #: sugar_network_webui/templates/_context-review-list.html:12 -msgid "contribute a review offline" +msgid "contribute a review" msgstr "" -#: sugar_network_webui/templates/_context-review-list.html:23 +#: sugar_network_webui/templates/_context-review-list.html:21 #: sugar_network_webui/templates/_context-solution-list.html:58 #, python-format msgid "" @@ -296,7 +301,7 @@ msgid "" "first to share with the community!" msgstr "" -#: sugar_network_webui/templates/_context-review-list.html:47 +#: sugar_network_webui/templates/_context-review-list.html:45 #: sugar_network_webui/templates/_context-solution-list.html:82 msgid "edit" msgstr "" @@ -330,8 +335,8 @@ msgid "Sugar Network" msgstr "" #: sugar_network_webui/templates/base.html:85 -#: sugar_network_webui/templates/base.html:155 -#: sugar_network_webui/templates/base.html:216 +#: sugar_network_webui/templates/base.html:139 +#: sugar_network_webui/templates/base.html:199 #: sugar_network_webui/templates/dialog_project.html:24 #: sugar_network_webui/templates/dialog_resource.html:23 #: sugar_network_webui/templates/resource-form.html:21 @@ -345,58 +350,43 @@ msgid "Summary" msgstr "" #: sugar_network_webui/templates/base.html:97 -#: sugar_network_webui/templates/base.html:156 -#: sugar_network_webui/templates/base.html:217 +#: sugar_network_webui/templates/base.html:140 +#: sugar_network_webui/templates/base.html:200 #: sugar_network_webui/templates/dialog_project.html:36 #: sugar_network_webui/templates/dialog_resource.html:33 #: sugar_network_webui/templates/resource-form.html:25 msgid "Details" msgstr "" -#: sugar_network_webui/templates/base.html:102 -#: sugar_network_webui/templates/dialog_resource.html:37 -msgid "submit question" -msgstr "" - -#: sugar_network_webui/templates/base.html:104 -#: sugar_network_webui/templates/dialog_resource.html:39 -msgid "submit idea" -msgstr "" - -#: sugar_network_webui/templates/base.html:106 -#: sugar_network_webui/templates/dialog_resource.html:41 -msgid "submit problem" -msgstr "" - -#: sugar_network_webui/templates/base.html:144 +#: sugar_network_webui/templates/base.html:128 msgid "Edit project" msgstr "" -#: sugar_network_webui/templates/base.html:145 -#: sugar_network_webui/templates/base.html:206 +#: sugar_network_webui/templates/base.html:129 +#: sugar_network_webui/templates/base.html:189 msgid "Name" msgstr "" -#: sugar_network_webui/templates/base.html:146 -#: sugar_network_webui/templates/base.html:207 +#: sugar_network_webui/templates/base.html:130 +#: sugar_network_webui/templates/base.html:190 msgid "Article" msgstr "" -#: sugar_network_webui/templates/base.html:205 +#: sugar_network_webui/templates/base.html:188 msgid "Create new project" msgstr "" -#: sugar_network_webui/templates/base.html:261 +#: sugar_network_webui/templates/base.html:243 msgid "Edit resource" msgstr "" -#: sugar_network_webui/templates/base.html:406 +#: sugar_network_webui/templates/base.html:387 #: sugar_network_webui/templates/dialog_project.html:44 #: sugar_network_webui/templates/synchronize.html:34 msgid "You are in offline mode" msgstr "" -#: sugar_network_webui/templates/base.html:412 +#: sugar_network_webui/templates/base.html:393 msgid "You are in online mode" msgstr "" diff --git a/po/es.po b/po/es.po index 0dba7c7..7dcc4b9 100644 --- a/po/es.po +++ b/po/es.po @@ -2,47 +2,46 @@ # Copyright (C) 2012 ORGANIZATION # This file is distributed under the same license as the PROJECT project. # FIRST AUTHOR , 2012. +# msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2012-11-11 05:04-0500\n" -"PO-Revision-Date: 2012-04-21 20:49-0500\n" -"Last-Translator: Sebastian Silva \n" +"POT-Creation-Date: 2013-05-22 01:40-0500\n" +"PO-Revision-Date: 2013-05-20 18:33-0500\n" +"Last-Translator: lv \n" "Language-Team: es \n" -"Language: es\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Pootle 2.0.5\n" -"Generated-By: Babel 0.9.4\n" +"Generated-By: Babel 0.9.6\n" -#: red-azucar.py:31 red-azucar.py:35 app/env.py:30 +#: red-azucar.py:31 red-azucar.py:35 sugar_network_webui/env.py:30 msgid "address to listen for Web clients" msgstr "dirección para escuchar a los clientes Web" #: red-azucar.py:57 msgid "Run application in debug mode" -msgstr "Correr aplicación en modo depuración" +msgstr "" #: red-azucar.py:79 msgid "Flask server to serve Sugar Network users" -msgstr "Servidor Flask para usuarios de la red Sugar." +msgstr "" #: red-azucar.py:80 msgid "See http://wiki.sugarlabs.org/go/Platform_Team/Sugar_Network/Browser." -msgstr "Vea http://wiki.sugarlabs.org/go/Platform_Team/Sugar_Network/Browser." +msgstr "" -#: sugar_network_webui/app.py:89 +#: sugar_network_webui/app.py:97 msgid "MMMM d, yyyy" -msgstr "d 'de' MMMM 'de' 2012" +msgstr "d 'de' MMMM 'de' yyyy" -#: sugar_network_webui/app.py:366 +#: sugar_network_webui/app.py:338 msgid "Artifact has been downloaded." -msgstr "Se ha descargado un artefacto." +msgstr "Se ha descargado un archivo." -#: sugar_network_webui/app.py:367 +#: sugar_network_webui/app.py:339 #, python-format msgid "" "Success!\n" @@ -55,16 +54,16 @@ msgstr "" "El archivo %s ha sido copiado a tu carpeta de Documentos.\n" "Puedes acceder a él desde el Diario." -#: sugar_network_webui/app.py:509 +#: sugar_network_webui/app.py:398 msgid "zero results" msgstr "cero resultados" -#: sugar_network_webui/app.py:511 +#: sugar_network_webui/app.py:400 #, python-format msgid "page %(page)s of %(total)s" msgstr "página %(page)s de %(total)s" -#: sugar_network_webui/app.py:550 sugar_network_webui/app.py:839 +#: sugar_network_webui/app.py:439 sugar_network_webui/app.py:741 #: sugar_network_webui/templates/_browser-grid.html:5 #: sugar_network_webui/templates/context-view.html:5 #: sugar_network_webui/templates/context-view.html:25 @@ -72,7 +71,7 @@ msgstr "página %(page)s de %(total)s" msgid "questions" msgstr "preguntas" -#: sugar_network_webui/app.py:553 sugar_network_webui/app.py:842 +#: sugar_network_webui/app.py:442 sugar_network_webui/app.py:744 #: sugar_network_webui/templates/_browser-grid.html:11 #: sugar_network_webui/templates/context-view.html:11 #: sugar_network_webui/templates/context-view.html:31 @@ -80,7 +79,7 @@ msgstr "preguntas" msgid "problems" msgstr "problemas" -#: sugar_network_webui/app.py:556 sugar_network_webui/app.py:845 +#: sugar_network_webui/app.py:445 sugar_network_webui/app.py:747 #: sugar_network_webui/templates/_browser-grid.html:8 #: sugar_network_webui/templates/context-view.html:8 #: sugar_network_webui/templates/context-view.html:28 @@ -88,60 +87,67 @@ msgstr "problemas" msgid "ideas" msgstr "ideas" -#: sugar_network_webui/app.py:559 sugar_network_webui/app.py:777 +#: sugar_network_webui/app.py:448 sugar_network_webui/app.py:675 #: sugar_network_webui/templates/_browser-grid.html:14 +#: sugar_network_webui/templates/_review-list.html:16 #: sugar_network_webui/templates/context-view.html:14 #: sugar_network_webui/templates/context-view.html:34 #: sugar_network_webui/templates/resource-list.html:15 msgid "reviews" -msgstr "reseñas" +msgstr "comentarios" -#: sugar_network_webui/app.py:562 sugar_network_webui/app.py:849 +#: sugar_network_webui/app.py:451 sugar_network_webui/app.py:751 msgid "artifacts" -msgstr "artefactos" +msgstr "archivos" -#: sugar_network_webui/app.py:565 sugar_network_webui/app.py:852 +#: sugar_network_webui/app.py:454 sugar_network_webui/app.py:754 msgid "resources" msgstr "recursos" -#: sugar_network_webui/app.py:579 sugar_network_webui/app.py:861 +#: sugar_network_webui/app.py:468 sugar_network_webui/app.py:763 #, python-format msgid "browsing %(total)s %(resource_label)s" msgstr "navegando por %(total)s %(resource_label)s" -#: sugar_network_webui/app.py:604 sugar_network_webui/app.py:613 -msgid "Error" -msgstr "Error" - -#: sugar_network_webui/app.py:607 +#: sugar_network_webui/app.py:496 msgid "Object not found." msgstr "Objeto no encontrado." -#: sugar_network_webui/app.py:616 +#: sugar_network_webui/app.py:497 +msgid "" +"The resource you are looking for is not available at the moment.\n" +"\n" +"If you are offline try connecting." +msgstr "" +"El recurso que buscas no se encuentra disponible por el momento.\n" +"\n" +"Si estás offline intenta conectarte." + +#: sugar_network_webui/app.py:506 +msgid "Error" +msgstr "Error" + +#: sugar_network_webui/app.py:509 msgid "Server error." msgstr "Error de servidor." -#: sugar_network_webui/app.py:649 +#: sugar_network_webui/app.py:543 msgid "activities" msgstr "actividades" -#: sugar_network_webui/app.py:652 +#: sugar_network_webui/app.py:546 msgid "projects" msgstr "proyectos" -#: sugar_network_webui/app.py:656 +#: sugar_network_webui/app.py:550 msgid "contexts" msgstr "contextos" -#: sugar_network_webui/app.py:671 +#: sugar_network_webui/app.py:565 #, python-format msgid "browsing %(total)s %(label)s" msgstr "navegando por %(total)s %(label)s" -#: sugar_network_webui/dialogs.py:68 -msgid "Synchronization in progress..." -msgstr "" - #: sugar_network_webui/env.py:22 msgid "start web application to serve Sugar Network content" msgstr "iniciar la aplicación para servir contenido de la Red Azúcar" @@ -151,54 +157,45 @@ msgid "hostname to bind" msgstr "nombre de host" #: sugar_network_webui/templates/_artifact-list.html:6 -#: sugar_network_webui/templates/_resource-list.html:6 +#: sugar_network_webui/templates/_resource-list.html:7 +#: sugar_network_webui/templates/_review-list.html:6 msgid "context resources" msgstr "recursos del contexto" #: sugar_network_webui/templates/_artifact-list.html:16 msgid "download artifact" -msgstr "descargar artefacto" +msgstr "descargar archivo" #: sugar_network_webui/templates/_artifact-list.html:22 #: sugar_network_webui/templates/_artifact-list.html:27 -#: sugar_network_webui/templates/_resource-list.html:22 -#: sugar_network_webui/templates/_resource-list.html:27 +#: sugar_network_webui/templates/_resource-list.html:23 +#: sugar_network_webui/templates/_resource-list.html:28 +#: sugar_network_webui/templates/_review-list.html:22 +#: sugar_network_webui/templates/_review-list.html:27 msgid "see more" msgstr "ver más" #: sugar_network_webui/templates/_artifact-list.html:31 -#: sugar_network_webui/templates/_context-artifact-list.html:39 -#: sugar_network_webui/templates/_context-comment-list.html:9 -#: sugar_network_webui/templates/_context-resource-list.html:39 -#: sugar_network_webui/templates/_context-review-list.html:34 -#: sugar_network_webui/templates/_context-solution-list.html:14 -#: sugar_network_webui/templates/_context-solution-list.html:63 -#: sugar_network_webui/templates/_resource-list.html:31 +#: sugar_network_webui/templates/_context-artifact-list.html:40 +#: sugar_network_webui/templates/_context-artifact-list.html:42 +#: sugar_network_webui/templates/_context-comment-list.html:11 +#: sugar_network_webui/templates/_context-comment-list.html:13 +#: sugar_network_webui/templates/_context-resource-list.html:40 +#: sugar_network_webui/templates/_context-resource-list.html:42 +#: sugar_network_webui/templates/_context-review-list.html:33 +#: sugar_network_webui/templates/_context-review-list.html:35 +#: sugar_network_webui/templates/_context-solution-list.html:16 +#: sugar_network_webui/templates/_context-solution-list.html:18 +#: sugar_network_webui/templates/_context-solution-list.html:70 +#: sugar_network_webui/templates/_context-solution-list.html:72 +#: sugar_network_webui/templates/_resource-list.html:33 +#: sugar_network_webui/templates/_resource-list.html:35 +#: sugar_network_webui/templates/_review-list.html:32 +#: sugar_network_webui/templates/_review-list.html:34 #, python-format msgid "by %(author)s on %(date)s" msgstr "por %(author)s el %(date)s" -#: sugar_network_webui/templates/_artifact-list.html:49 -#: sugar_network_webui/templates/_context-artifact-list.html:48 -#: sugar_network_webui/templates/_context-resource-list.html:48 -#: sugar_network_webui/templates/_resource-list.html:49 -msgid "followers" -msgstr "seguidores" - -#: sugar_network_webui/templates/_artifact-list.html:52 -#: sugar_network_webui/templates/_context-artifact-list.html:51 -#: sugar_network_webui/templates/_context-resource-list.html:51 -#: sugar_network_webui/templates/_resource-list.html:52 -msgid "comments" -msgstr "comentarios" - -#: sugar_network_webui/templates/_artifact-list.html:55 -#: sugar_network_webui/templates/_context-artifact-list.html:54 -#: sugar_network_webui/templates/_context-resource-list.html:54 -#: sugar_network_webui/templates/_resource-list.html:55 -msgid "solutions" -msgstr "soluciones" - #: sugar_network_webui/templates/_browser-grid.html:17 #: sugar_network_webui/templates/context-view.html:17 #: sugar_network_webui/templates/context-view.html:40 @@ -211,7 +208,7 @@ msgstr "todos los recursos" #: sugar_network_webui/templates/context-view.html:37 #: sugar_network_webui/templates/resource-list.html:21 msgid "artifact gallery" -msgstr "galería de artefactos" +msgstr "galería de archivos" #: sugar_network_webui/templates/_browser-grid.html:24 #: sugar_network_webui/templates/context-view.html:42 @@ -232,8 +229,26 @@ msgstr "disponible sin conexión" msgid "favorite" msgstr "favorito" -#: sugar_network_webui/templates/_context-artifact-list.html:62 -#: sugar_network_webui/templates/_context-resource-list.html:62 +#: sugar_network_webui/templates/_context-artifact-list.html:52 +#: sugar_network_webui/templates/_context-resource-list.html:52 +#: sugar_network_webui/templates/_review-list.html:53 +msgid "followers" +msgstr "seguidores" + +#: sugar_network_webui/templates/_context-artifact-list.html:55 +#: sugar_network_webui/templates/_context-resource-list.html:55 +#: sugar_network_webui/templates/_review-list.html:56 +msgid "comments" +msgstr "comentarios" + +#: sugar_network_webui/templates/_context-artifact-list.html:58 +#: sugar_network_webui/templates/_context-resource-list.html:58 +#: sugar_network_webui/templates/_review-list.html:59 +msgid "solutions" +msgstr "soluciones" + +#: sugar_network_webui/templates/_context-artifact-list.html:66 +#: sugar_network_webui/templates/_context-resource-list.html:66 #, python-format msgid "" "No %(resource)s have been shared yet for this context.

Be the " @@ -242,41 +257,53 @@ msgstr "" "Aún no se han compartido %(resource)s en este contexto.

¡Se el " "primero en aportar a la comunidad!" -#: sugar_network_webui/templates/_context-comment-list.html:11 +#: sugar_network_webui/templates/_context-comment-list.html:17 msgid "delete" msgstr "borrar" -#: sugar_network_webui/templates/_context-comment-list.html:29 -#: sugar_network_webui/templates/_context-comment-list.html:32 -#: sugar_network_webui/templates/_context-review-list.html:53 -#: sugar_network_webui/templates/_context-solution-list.html:40 -#: sugar_network_webui/templates/_context-solution-list.html:82 +#: sugar_network_webui/templates/_context-comment-list.html:35 +#: sugar_network_webui/templates/_context-comment-list.html:38 +#: sugar_network_webui/templates/_context-review-list.html:55 +#: sugar_network_webui/templates/_context-solution-list.html:45 +#: sugar_network_webui/templates/_context-solution-list.html:92 msgid "comment" msgstr "comentar" -#: sugar_network_webui/templates/_context-comment-list.html:32 +#: sugar_network_webui/templates/_context-comment-list.html:38 msgid "can't comment in offline mode yet" -msgstr "aún no se puede comentar sin conexión" +msgstr "no se puede comentar sin conexión" -#: sugar_network_webui/templates/_context-comment-list.html:36 +#: sugar_network_webui/templates/_context-comment-list.html:42 msgid "collapse" msgstr "colapsar" -#: sugar_network_webui/templates/_context-review-list.html:6 -msgid "contribute a review" -msgstr "aportar una reseña" +#: sugar_network_webui/templates/_context-resource-list.html:83 +#: sugar_network_webui/templates/_context-review-list.html:16 +#: sugar_network_webui/templates/_context-solution-list.html:123 +msgid "New question, idea or problem" +msgstr "Nueva pregunta, idea o problema" + +#: sugar_network_webui/templates/_context-review-list.html:5 +#: sugar_network_webui/templates/dialog_resource.html:37 +msgid "submit question" +msgstr "enviar pregunta" + +#: sugar_network_webui/templates/_context-review-list.html:7 +#: sugar_network_webui/templates/dialog_resource.html:39 +msgid "submit idea" +msgstr "enviar idea" #: sugar_network_webui/templates/_context-review-list.html:9 -msgid "Offline contribution will be saved until synchronized." -msgstr "" +#: sugar_network_webui/templates/dialog_resource.html:41 +msgid "submit problem" +msgstr "enviar problema" #: sugar_network_webui/templates/_context-review-list.html:12 -#, fuzzy -msgid "contribute a review offline" -msgstr "aportar una reseña" +msgid "contribute a review" +msgstr "aportar un comentario" -#: sugar_network_webui/templates/_context-review-list.html:23 -#: sugar_network_webui/templates/_context-solution-list.html:52 +#: sugar_network_webui/templates/_context-review-list.html:21 +#: sugar_network_webui/templates/_context-solution-list.html:58 #, python-format msgid "" "No %(resource)s have been shared yet for this context.

Be the " @@ -285,21 +312,21 @@ msgstr "" "Aún no se han compartido %(resource)s en este contexto.

¡Se el " "primero en compartir con la comunidad!" -#: sugar_network_webui/templates/_context-review-list.html:43 -#: sugar_network_webui/templates/_context-solution-list.html:72 +#: sugar_network_webui/templates/_context-review-list.html:45 +#: sugar_network_webui/templates/_context-solution-list.html:82 msgid "edit" msgstr "editar" -#: sugar_network_webui/templates/_context-solution-list.html:103 +#: sugar_network_webui/templates/_context-solution-list.html:114 msgid "contribute a solution" msgstr "aportar una solución" -#: sugar_network_webui/templates/_context-solution-list.html:107 -#, fuzzy +#: sugar_network_webui/templates/_context-solution-list.html:118 msgid "contribute a solution in offline mode" -msgstr "aportar una solución" +msgstr "aportar una solución \"offline\"" -#: sugar_network_webui/templates/_resource-list.html:16 +#: sugar_network_webui/templates/_resource-list.html:17 +#: sugar_network_webui/templates/_review-list.html:16 #, python-format msgid "context %(resource)s" msgstr "%(resource)s del contexto" @@ -308,82 +335,75 @@ msgstr "%(resource)s del contexto" msgid "Welcome to Sugar Network" msgstr "Bienvenido(a) a Red Azúcar" -#: sugar_network_webui/templates/base.html:70 +#: sugar_network_webui/templates/base.html:74 msgid "New resource" msgstr "Nuevo recurso" -#: sugar_network_webui/templates/base.html:70 +#: sugar_network_webui/templates/base.html:74 #: sugar_network_webui/templates/dialog_resource.html:18 #: sugar_network_webui/templates/upload-form.html:13 msgid "Sugar Network" msgstr "Red Azúcar" -#: sugar_network_webui/templates/base.html:81 -#: sugar_network_webui/templates/base.html:151 -#: sugar_network_webui/templates/base.html:212 +#: sugar_network_webui/templates/base.html:85 +#: sugar_network_webui/templates/base.html:139 +#: sugar_network_webui/templates/base.html:199 #: sugar_network_webui/templates/dialog_project.html:24 #: sugar_network_webui/templates/dialog_resource.html:23 #: sugar_network_webui/templates/resource-form.html:21 msgid "Title" msgstr "Título" -#: sugar_network_webui/templates/base.html:89 +#: sugar_network_webui/templates/base.html:93 #: sugar_network_webui/templates/context-view.html:83 #: sugar_network_webui/templates/dialog_project.html:32 msgid "Summary" msgstr "Resumen" -#: sugar_network_webui/templates/base.html:93 -#: sugar_network_webui/templates/base.html:152 -#: sugar_network_webui/templates/base.html:213 +#: sugar_network_webui/templates/base.html:97 +#: sugar_network_webui/templates/base.html:140 +#: sugar_network_webui/templates/base.html:200 #: sugar_network_webui/templates/dialog_project.html:36 #: sugar_network_webui/templates/dialog_resource.html:33 #: sugar_network_webui/templates/resource-form.html:25 msgid "Details" msgstr "Detalles" -#: sugar_network_webui/templates/base.html:98 -#: sugar_network_webui/templates/dialog_resource.html:37 -#, fuzzy -msgid "submit question" -msgstr "preguntas" - -#: sugar_network_webui/templates/base.html:100 -#: sugar_network_webui/templates/dialog_resource.html:39 -msgid "submit idea" -msgstr "" - -#: sugar_network_webui/templates/base.html:102 -#: sugar_network_webui/templates/dialog_resource.html:41 -#, fuzzy -msgid "submit problem" -msgstr "problemas" - -#: sugar_network_webui/templates/base.html:140 +#: sugar_network_webui/templates/base.html:128 msgid "Edit project" msgstr "Editar proyecto" -#: sugar_network_webui/templates/base.html:141 -#: sugar_network_webui/templates/base.html:202 +#: sugar_network_webui/templates/base.html:129 +#: sugar_network_webui/templates/base.html:189 msgid "Name" msgstr "Nombre" -#: sugar_network_webui/templates/base.html:142 -#: sugar_network_webui/templates/base.html:203 +#: sugar_network_webui/templates/base.html:130 +#: sugar_network_webui/templates/base.html:190 msgid "Article" msgstr "Artículo" -#: sugar_network_webui/templates/base.html:201 +#: sugar_network_webui/templates/base.html:188 msgid "Create new project" msgstr "Crear nuevo proyecto" -#: sugar_network_webui/templates/base.html:257 +#: sugar_network_webui/templates/base.html:243 msgid "Edit resource" msgstr "Editar recurso" +#: sugar_network_webui/templates/base.html:387 +#: sugar_network_webui/templates/dialog_project.html:44 +#: sugar_network_webui/templates/synchronize.html:34 +msgid "You are in offline mode" +msgstr "Estas en modo \"offline\"" + +#: sugar_network_webui/templates/base.html:393 +msgid "You are in online mode" +msgstr "Estas en modo \"online\"" + #: sugar_network_webui/templates/browser-view.html:72 #: sugar_network_webui/templates/browser-view.html:80 -#: sugar_network_webui/templates/context-view.html:237 +#: sugar_network_webui/templates/context-view.html:243 #: sugar_network_webui/templates/resource-list.html:111 msgid "page '+new_page+' of" msgstr "página '+new_page+' de" @@ -400,53 +420,75 @@ msgstr "Licencia" msgid "Work in progress." msgstr "En construcción." +#: sugar_network_webui/templates/dialog_about.html:5 +msgid "Terms of Use" +msgstr "Términos de Uso" + +#: sugar_network_webui/templates/dialog_about.html:11 +msgid "terms_of_use.html" +msgstr "terminos_de_uso.html" + +#: sugar_network_webui/templates/dialog_about.html:16 +msgid "" +"Except where otherwise noted, content on this service is licensed under " +"the\n" +"Creative Commons Attribution Share-Alike License v3.0 or any later " +"version." +msgstr "" +"Salvo que se especifique de otra manera, el contenido en este servicio " +"está licenciado bajo la\n" +" Licencia Creative Commons Reconocimiento Compartir-Igual v3.0 o " +"cualquier versión posterior. " + +#: sugar_network_webui/templates/dialog_about.html:19 +msgid "" +"Likewise, Sugar Network software modules are licensed under the\n" +"General Public License v3.0 or any later version." +msgstr "" +"De la misma manera, el software de los módulos de la Red Azúcar están " +"licenciados bajo la\n" +"Licencia Pública General GPL v3.0 o cualquier versión posterior." + #: sugar_network_webui/templates/dialog_project.html:6 -#, fuzzy msgid "Creating new project" -msgstr "Crear nuevo proyecto" +msgstr "Creando nuevo proyecto" #: sugar_network_webui/templates/dialog_project.html:8 -#, fuzzy msgid "Editing project" -msgstr "Editar proyecto" - -#: sugar_network_webui/templates/dialog_project.html:44 -#: sugar_network_webui/templates/synchronize.html:32 -#, fuzzy -msgid "You are in offline mode" -msgstr "aún no se puede aportar sin conexión" +msgstr "Editando proyecto" #: sugar_network_webui/templates/dialog_project.html:46 -#, fuzzy msgid "" "You need to be connected to the Internet or to a Sugar Network Node in " "order to upload a project." -msgstr "¡Por ahora es necesario tener conexión para aportar!" +msgstr "" +"Necesitas tener conección a Internet o a un nodo de la red Azúcar para " +"crear un proyecto." #: sugar_network_webui/templates/dialog_project.html:48 -#: sugar_network_webui/templates/synchronize.html:37 +#: sugar_network_webui/templates/synchronize.html:39 msgid "Try to connect" -msgstr "" +msgstr "Intentar conectar" #: sugar_network_webui/templates/dialog_project.html:54 msgid "Must fill all fields." -msgstr "" +msgstr "Es necesario llenar todos los campos." #: sugar_network_webui/templates/dialog_project.html:57 #: sugar_network_webui/templates/dialog_resource.html:48 -#: sugar_network_webui/templates/synchronize.html:22 +#: sugar_network_webui/templates/synchronize.html:24 msgid "cc-by-sa-full.png" -msgstr "" +msgstr "cc-by-sa-full.png" #: sugar_network_webui/templates/dialog_project.html:58 #: sugar_network_webui/templates/dialog_resource.html:49 -#: sugar_network_webui/templates/synchronize.html:23 +#: sugar_network_webui/templates/synchronize.html:25 msgid "Creative Commons Attribution Share-Alike License" -msgstr "" +msgstr "Licencia Creative Commons Reconocimiento Compartir Igual" #: sugar_network_webui/templates/dialog_project.html:59 #: sugar_network_webui/templates/dialog_resource.html:50 -#: sugar_network_webui/templates/synchronize.html:24 +#: sugar_network_webui/templates/synchronize.html:26 #: sugar_network_webui/templates/upload-form.html:27 msgid "" "Please note that all contributions to Sugar Labs are considered to be " @@ -454,23 +496,29 @@ msgid "" "writing to be edited and redistributed at will, then do not submit it " "here." msgstr "" +"Por favor nota que todas las contribuciones a Laboratorios Azúcar se " +"consideran publicadas bajo la Licencia CC Reconocimiento y Compartir " +"Igual 3.0 Internacional. Si no es tu intención permitir que tu obra pueda" +" ser modificada y distribuida libremente, por favor no las publiques " +"aquí. " #: sugar_network_webui/templates/dialog_project.html:61 #: sugar_network_webui/templates/dialog_resource.html:52 -#: sugar_network_webui/templates/synchronize.html:26 +#: sugar_network_webui/templates/synchronize.html:28 msgid "" "You are also promising us that you wrote this yourself, or copied it from" " a public domain or similar free resource." msgstr "" +"Tambien nos aseguras que tu escribiste esto, o lo copiaste de un dominio " +"público u otro recurso libre similar." #: sugar_network_webui/templates/dialog_resource.html:6 msgid "Creating new resource: Question, Idea or Problem" -msgstr "" +msgstr "Creando nuevo recurso: Pregunta, Idea or Problema" #: sugar_network_webui/templates/dialog_resource.html:8 -#, fuzzy msgid "Editing " -msgstr "editar" +msgstr "Editando" #: sugar_network_webui/templates/dialog_resource.html:18 #: sugar_network_webui/templates/resource-form.html:13 @@ -480,31 +528,27 @@ msgstr "Contexto" #: sugar_network_webui/templates/please_wait.html:5 msgid "Please wait" -msgstr "" +msgstr "Por favor espera" #: sugar_network_webui/templates/report-form.html:5 msgid "Report to developers: Activity failed to start!" msgstr "Reporte a desarrolladores: ¡La Actividad falló al iniciar!" -#: sugar_network_webui/templates/report-form.html:13 +#: sugar_network_webui/templates/report-form.html:12 msgid "You may also add a comment regarding failure conditions." msgstr "Si lo deseas, deja un comentario sobre las condiciones del fallo." -#: sugar_network_webui/templates/report-form.html:20 +#: sugar_network_webui/templates/report-form.html:19 msgid "Report" msgstr "Reportar" -#: sugar_network_webui/templates/report-form.html:27 -#: sugar_network_webui/templates/upload-form.html:40 -msgid "Alpha Version" -msgstr "Versión Alfa" +#: sugar_network_webui/templates/report-form.html:25 +msgid "Sugar Network is in offline mode" +msgstr "Estás en modo \"offline\"" -#: sugar_network_webui/templates/report-form.html:29 -#: sugar_network_webui/templates/upload-form.html:42 -msgid "" -"For the time being you need to be connected to the Internet in order to " -"contribute!" -msgstr "¡Por ahora es necesario tener conexión para aportar!" +#: sugar_network_webui/templates/report-form.html:27 +msgid "Your report will be queued for upload." +msgstr "Tu reporte de fallo será enviando con próxima sincronización" #: sugar_network_webui/templates/resource-form.html:5 msgid "Improve the system" @@ -512,113 +556,114 @@ msgstr "Mejorar el sistema" #: sugar_network_webui/templates/synchronize.html:5 msgid "Sugar Network Synchronization" -msgstr "" +msgstr "Sincronización de la Red Azúcar" #: sugar_network_webui/templates/synchronize.html:11 msgid "The following resources are queued for sharing." -msgstr "" +msgstr "Los siguientes recursos esperan ser enviados." #: sugar_network_webui/templates/synchronize.html:13 msgid "Feedback" -msgstr "" +msgstr "Retroalimentación" #: sugar_network_webui/templates/synchronize.html:15 -#, fuzzy msgid "Solutions" -msgstr "soluciones" +msgstr "Soluciones" -#: sugar_network_webui/templates/synchronize.html:19 +#: sugar_network_webui/templates/synchronize.html:17 +#: sugar_network_webui/templates/toolbar.html:57 +#: sugar_network_webui/templates/toolbar.html:70 +msgid "Reviews" +msgstr "Comentarios" + +#: sugar_network_webui/templates/synchronize.html:21 #: sugar_network_webui/templates/upload-form.html:24 msgid "Upload and share" msgstr "Cargar y compartir" -#: sugar_network_webui/templates/synchronize.html:34 -#, fuzzy +#: sugar_network_webui/templates/synchronize.html:36 msgid "" "You need to be connected to the Internet or to a Sugar Network Node in " "order to sync." -msgstr "¡Por ahora es necesario tener conexión para aportar!" +msgstr "" +"Necesitas estar conectado a Internet o a un nodo de la Red Azúcar para " +"poder sincronizar." #: sugar_network_webui/templates/toolbar.html:8 -#: sugar_network_webui/templates/toolbar.html:46 +#: sugar_network_webui/templates/toolbar.html:43 msgid "Activities" msgstr "Actividades" #: sugar_network_webui/templates/toolbar.html:9 -#: sugar_network_webui/templates/toolbar.html:47 +#: sugar_network_webui/templates/toolbar.html:44 msgid "Projects" msgstr "Proyectos" #: sugar_network_webui/templates/toolbar.html:10 -#: sugar_network_webui/templates/toolbar.html:49 -#: sugar_network_webui/templates/toolbar.html:62 -#: sugar_network_webui/templates/toolbar.html:75 +#: sugar_network_webui/templates/toolbar.html:46 +#: sugar_network_webui/templates/toolbar.html:59 +#: sugar_network_webui/templates/toolbar.html:72 msgid "All" msgstr "Todos" #: sugar_network_webui/templates/toolbar.html:18 -msgid "connect with" -msgstr "conectar con" +msgid "toggle connected" +msgstr "Red Azúcar" -#: sugar_network_webui/templates/toolbar.html:41 +#: sugar_network_webui/templates/toolbar.html:38 msgid "context grid" msgstr "grilla de contextos" -#: sugar_network_webui/templates/toolbar.html:53 +#: sugar_network_webui/templates/toolbar.html:50 msgid "resources list" msgstr "lista de recursos" -#: sugar_network_webui/templates/toolbar.html:57 -#: sugar_network_webui/templates/toolbar.html:70 +#: sugar_network_webui/templates/toolbar.html:54 +#: sugar_network_webui/templates/toolbar.html:67 msgid "Questions" msgstr "Preguntas" -#: sugar_network_webui/templates/toolbar.html:58 -#: sugar_network_webui/templates/toolbar.html:71 +#: sugar_network_webui/templates/toolbar.html:55 +#: sugar_network_webui/templates/toolbar.html:68 msgid "Ideas" msgstr "Ideas" -#: sugar_network_webui/templates/toolbar.html:59 -#: sugar_network_webui/templates/toolbar.html:72 +#: sugar_network_webui/templates/toolbar.html:56 +#: sugar_network_webui/templates/toolbar.html:69 msgid "Problems" msgstr "Problemas" -#: sugar_network_webui/templates/toolbar.html:60 -#: sugar_network_webui/templates/toolbar.html:73 -msgid "Reviews" -msgstr "Reseñas" - -#: sugar_network_webui/templates/toolbar.html:66 +#: sugar_network_webui/templates/toolbar.html:63 msgid "artifacts list" -msgstr "galería de artefactos" +msgstr "galería de archivos" -#: sugar_network_webui/templates/toolbar.html:79 +#: sugar_network_webui/templates/toolbar.html:76 msgid "synchronize" -msgstr "" +msgstr "sincronizar" -#: sugar_network_webui/templates/toolbar.html:86 +#: sugar_network_webui/templates/toolbar.html:83 msgid "type to search contexts" msgstr "escribe para buscar contextos" -#: sugar_network_webui/templates/toolbar.html:91 +#: sugar_network_webui/templates/toolbar.html:88 msgid "create new resource" msgstr "crear nuevo recurso" -#: sugar_network_webui/templates/toolbar.html:96 +#: sugar_network_webui/templates/toolbar.html:94 +msgid "reload" +msgstr "recargar" + +#: sugar_network_webui/templates/toolbar.html:99 msgid "create new context" msgstr "crear nuevo proyecto" -#: sugar_network_webui/templates/toolbar.html:101 +#: sugar_network_webui/templates/toolbar.html:104 msgid "about" -msgstr "" - -#: sugar_network_webui/templates/toolbar.html:107 -msgid "reload" -msgstr "recargar" +msgstr "Acerca de" #: sugar_network_webui/templates/upload-form.html:5 msgid "Upload an artifact: Share your work!" -msgstr "Carga un artefacto: ¡Comparte tu trabajo!" +msgstr "Carga un archivo: ¡Comparte tu trabajo!" #: sugar_network_webui/templates/upload-form.html:17 msgid "Please add a short description." @@ -626,7 +671,7 @@ msgstr "Porfavor incluye una breve descripción." #: sugar_network_webui/templates/upload-form.html:29 msgid "cc-by-sa.png" -msgstr "" +msgstr "cc-by-sa.png" #: sugar_network_webui/templates/upload-form.html:31 msgid "" @@ -634,3 +679,25 @@ msgid "" " a public domain or similar free resource. Do not submit copyrighted " "work without permission!" msgstr "" +"Tambien nos aseguras que tu escribiste esto, o lo copiaste de un dominio " +"público u otro recurso similar libre. Por favor no envies material con" +" licencias no libres!" + +#: sugar_network_webui/templates/upload-form.html:40 +msgid "Alpha Version" +msgstr "Versión Alfa" + +#: sugar_network_webui/templates/upload-form.html:42 +msgid "" +"For the time being you need to be connected to the Internet in order to " +"contribute!" +msgstr "¡Por ahora es necesario tener conexión para contribuir!" + +#~ msgid "Offline contribution will be saved until synchronized." +#~ msgstr "" +#~ "Contribuciones \"offline\" serán guardadas " +#~ "hasta próxima sincronización." + +#~ msgid "contribute a review offline" +#~ msgstr "aportar un comentario \"offline\"" + diff --git a/sugar_network_webui/app.py b/sugar_network_webui/app.py index 5c0f317..c464dfa 100644 --- a/sugar_network_webui/app.py +++ b/sugar_network_webui/app.py @@ -61,14 +61,16 @@ AboutView.register(app) def event_stream(): global _pull_events - for event in _pull_events: - yield 'data: %s\n\n' % simplejson.dumps(_pull_events.pop(0)) + while True: + for event in _pull_events: + yield 'data: %s\n\n' % simplejson.dumps(_pull_events.pop(0)) + gevent.sleep(1) @babel.localeselector def get_locale(): global WWW - if str(request.remote_addr)=='127.0.0.1': + if 'localhost' in request.host: # we're probably embedded, get locale from env lang = locale.getdefaultlocale()[0].split('_')[0] logging.debug('Locale from env: %s' % lang) @@ -99,12 +101,20 @@ def get_colors(): from .client import commands_processor if commands_processor._offline: return ('#000000', '#000000') - import gconf + + try: + import gconf + except ImportError: + return ('#000000', '#000000') + conf = gconf.client_get_default() return conf.get_string('/desktop/sugar/user/color').split(',') def get_user(): - import gconf + try: + import gconf + except ImportError: + return 'demo' conf = gconf.client_get_default() return conf.get_string('/desktop/sugar/user/nick') @@ -189,7 +199,7 @@ def incoming(event): return None _pull_listener = Client.connect(incoming) -@app.route('/my_event_source') +@app.route('/event_source') def sse_request(): return Response( event_stream(), @@ -582,6 +592,11 @@ def del_comment(resource_guid): g.client.Comment.delete(resource_guid) return "true" +@app.route('/_artifacts/', methods=['DELETE']) +def del_comment(resource_guid): + g.client.Artifact.delete(resource_guid) + return "true" + @app.route('/_comments/') def comments_browser(resource_guid=None): @@ -668,6 +683,7 @@ def reviews_browser(resource_guid=None, review_guid=None): @app.route('/question/') @app.route('/idea/') @app.route('/problem/') +@app.route('/feedback/') def solution_browser(resource_guid=None): resource_type = split(request.path, "/")[1] if resource_type == 'question': @@ -867,7 +883,7 @@ def new_context(): g.Contexts._reset() else: abort(500) - return redirect(url_for('context_grid', page=1, type='project')) + return redirect(url_for('project_browser', context_guid=context['guid'])) @app.route('/submit_solution', methods=['POST']) diff --git a/sugar_network_webui/dialogs.py b/sugar_network_webui/dialogs.py index 9c20324..fcc5fe6 100644 --- a/sugar_network_webui/dialogs.py +++ b/sugar_network_webui/dialogs.py @@ -10,7 +10,9 @@ class FeedbackView(FlaskView): context_guid = flask.request.args.get('context') or \ flask.session.get('last_context') or \ 'sugar-network' + title = flask.request.args.get('title') return flask.render_template('dialog_resource.html', + title=title, context=context_guid, mode='new') diff --git a/sugar_network_webui/static/css/browser.css b/sugar_network_webui/static/css/browser.css index 056de9e..b0c6cc7 100644 --- a/sugar_network_webui/static/css/browser.css +++ b/sugar_network_webui/static/css/browser.css @@ -468,6 +468,9 @@ img.action-button:hover { background-color: #808080; cursor:pointer; } +span.delete-artifact-button { + float:right; + } div.meta-column { padding-top: 20px; @@ -944,9 +947,7 @@ textarea.resource-inputarea { } #submit-buttons { - #padding: 0px 20px; position: relative; - margin-top: 20px; } #submit-buttons input:hover { @@ -1016,6 +1017,8 @@ img.button_selected { } #review-form { padding-left: 110px; + padding-top: 10px; + padding-bottom: 10px; background-image: url(/static/icons/button-review.png); background-color: #d7ebf2; background-position: 40px 30px; @@ -1030,6 +1033,7 @@ img.button_selected { margin-top:10px; width: 400px; height: 100px; + float: left; } #textarea-comment { diff --git a/sugar_network_webui/static/docs/terminos_de_uso.html b/sugar_network_webui/static/docs/terminos_de_uso.html index 79f6465..6006711 100644 --- a/sugar_network_webui/static/docs/terminos_de_uso.html +++ b/sugar_network_webui/static/docs/terminos_de_uso.html @@ -60,7 +60,7 @@
  • El incumplimiento de los términos de uso podrá significar la - suspención del acceso a la Red y/o la eliminación del contendio + suspensión del acceso a la Red y/o la eliminación del contenido publicado.


    diff --git a/sugar_network_webui/templates/_context-artifact-list.html b/sugar_network_webui/templates/_context-artifact-list.html index 6395aa4..332d26f 100644 --- a/sugar_network_webui/templates/_context-artifact-list.html +++ b/sugar_network_webui/templates/_context-artifact-list.html @@ -41,6 +41,12 @@ {% else %} {{_('by %(author)s on %(date)s', author=sugar_nick, date=item['mtime']|timedelta)}} {% endif %} + {%- if item.is_author -%} + + + + {%- endif -%}

    {%- for tag in item['tags'] %} diff --git a/sugar_network_webui/templates/_context-review-list.html b/sugar_network_webui/templates/_context-review-list.html index 4fc0fe2..5cae03d 100644 --- a/sugar_network_webui/templates/_context-review-list.html +++ b/sugar_network_webui/templates/_context-review-list.html @@ -1,17 +1,15 @@
    - {%- if (session['connected'] or False) -%} +
    - {%- else -%} -
    - {{_('Offline contribution will be saved until synchronized.')}} - -
    - -

    - {%- endif -%}
    diff --git a/sugar_network_webui/templates/base.html b/sugar_network_webui/templates/base.html index 4be0cdf..0041b39 100644 --- a/sugar_network_webui/templates/base.html +++ b/sugar_network_webui/templates/base.html @@ -98,22 +98,6 @@
    -
    - -
    - -
    - -
    - {#%- else -%} -
    -
    -
    - {{_('Alpha Version')}} -
    - {{_('For the time being you need to be connected to the Internet in order to contribute!')}} -
    - {%- endif -%#}