diff options
author | Sebastian Silva <sebastian@somosazucar.org> | 2013-05-23 04:22:31 (GMT) |
---|---|---|
committer | Sebastian Silva <sebastian@somosazucar.org> | 2013-05-23 04:22:31 (GMT) |
commit | 9d81661c6f1c98de7595007c24fe24726f88ee66 (patch) | |
tree | 3ea73856f4a0c9ab909319628c9e0a9c4546f7c2 | |
parent | f697e700af64a3d9295f28006c50d9ced68a6a64 (diff) |
changes for testing 1.0
-rw-r--r-- | messages.pot | 148 | ||||
-rw-r--r-- | po/es.po | 501 | ||||
-rw-r--r-- | sugar_network_webui/app.py | 30 | ||||
-rw-r--r-- | sugar_network_webui/dialogs.py | 2 | ||||
-rw-r--r-- | sugar_network_webui/static/css/browser.css | 8 | ||||
-rw-r--r-- | sugar_network_webui/static/docs/terminos_de_uso.html | 2 | ||||
-rw-r--r-- | sugar_network_webui/templates/_context-artifact-list.html | 6 | ||||
-rw-r--r-- | sugar_network_webui/templates/_context-review-list.html | 16 | ||||
-rw-r--r-- | sugar_network_webui/templates/base.html | 19 | ||||
-rw-r--r-- | sugar_network_webui/templates/context-view.html | 11 | ||||
-rw-r--r-- | sugar_network_webui/templates/dialog_project.html | 16 | ||||
-rw-r--r-- | sugar_network_webui/translations/es/LC_MESSAGES/messages.mo | bin | 10045 -> 9797 bytes | |||
-rw-r--r-- | sugar_network_webui/translations/es/LC_MESSAGES/messages.po | 194 |
13 files changed, 505 insertions, 448 deletions
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 <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\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 "" @@ -2,47 +2,46 @@ # Copyright (C) 2012 ORGANIZATION # This file is distributed under the same license as the PROJECT project. # FIRST AUTHOR <EMAIL@ADDRESS>, 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 <sebastian@sugarlabs.org>\n" +"POT-Creation-Date: 2013-05-22 01:40-0500\n" +"PO-Revision-Date: 2013-05-20 18:33-0500\n" +"Last-Translator: lv <laura@somosazucar.org>\n" "Language-Team: es <LL@li.org>\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.<br><br>Be the " @@ -242,41 +257,53 @@ msgstr "" "Aún no se han compartido %(resource)s en este contexto.<br><br>¡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.<br><br>Be the " @@ -285,21 +312,21 @@ msgstr "" "Aún no se han compartido %(resource)s en este contexto.<br><br>¡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" +"<b>Creative Commons Attribution Share-Alike License v3.0 or any later " +"version</b>." +msgstr "" +"Salvo que se especifique de otra manera, el contenido en este servicio " +"está licenciado bajo la\n" +" <b> Licencia Creative Commons Reconocimiento Compartir-Igual v3.0 o " +"cualquier versión posterior</b>. " + +#: sugar_network_webui/templates/dialog_about.html:19 +msgid "" +"Likewise, Sugar Network software modules are licensed under the\n" +"<b>General Public License v3.0 or any later version</b>." +msgstr "" +"De la misma manera, el software de los módulos de la Red Azúcar están " +"licenciados bajo la\n" +"<b>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 "<b>Creative Commons Attribution Share-Alike License</b>" -msgstr "" +msgstr "<b>Licencia Creative Commons Reconocimiento Compartir Igual</b>" #: 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. <b>Do not submit copyrighted " "work without permission!</b>" msgstr "" +"Tambien nos aseguras que tu escribiste esto, o lo copiaste de un dominio " +"público u otro recurso similar libre.<b> Por favor no envies material con" +" licencias no libres!</b>" + +#: 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/<resource_guid>', methods=['DELETE']) +def del_comment(resource_guid): + g.client.Artifact.delete(resource_guid) + return "true" + @app.route('/_comments/<resource_guid>') def comments_browser(resource_guid=None): @@ -668,6 +683,7 @@ def reviews_browser(resource_guid=None, review_guid=None): @app.route('/question/<resource_guid>') @app.route('/idea/<resource_guid>') @app.route('/problem/<resource_guid>') +@app.route('/feedback/<resource_guid>') 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 @@ <LI><P STYLE="margin-bottom: 0cm; border: none; padding: 0cm; font-style: normal; font-weight: normal; line-height: 0.6cm; widows: 2; orphans: 2"> <FONT COLOR="#000000"><FONT FACE="DejaVu Sans, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">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.</FONT></FONT></FONT></P> </OL> <P STYLE="margin-bottom: 0cm"><BR> 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 -%} + <span class="delete-artifact-button has_tooltip" title="{{_('delete')}}" data-guid="{{item['guid']}}"> + <img class="action-button" src="/static/icons/edit-delete.png" + onclick="delete_artifact('{{item['guid']}}')" ></img> + </span> + {%- endif -%} </div> <div class="resource-meta"> {%- 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 @@ <br /><form id="review-form" method="POST" data-guid="{{context['guid']}}" action="/submit_review"> <input type="hidden" name="resource_guid" value="{{context['guid']}}" /> - {%- if (session['connected'] or False) -%} <textarea id="textarea-solution" name="review"></textarea> + <!-- span id="submit-buttons"> + <input name="question" value=" " type="button" class="question-button submit_button button has_tooltip" title="{{_('submit question')}}" /> + <br /> + <input name="idea" value=" " type="button" class="idea-button submit_button button has_tooltip" src="/static/icons/button-idea.png" title="{{_('submit idea')}}" /> + <br /> + <input name="problem" value=" " type="button" class="problem-button submit_button button has_tooltip" src="/static/icons/button-problem.png" title="{{_('submit problem')}}" /> + </span --> <br /> <input id="contribute-button" class="sugar-button" type="submit" value="{{_('contribute a review')}}" /> - {%- else -%} - <br /> - {{_('Offline contribution will be saved until synchronized.')}} - <textarea id="textarea-solution" name="review"></textarea> - <br /> - <input id="contribute-button" class="sugar-button" type="submit" value="{{_('contribute a review offline')}}" /> - <br /><br /> - {%- endif -%} </form> <div id="mejorar-sistema"> <!--img onclick="location='/new/resource?cursor_offset={{context_offset}}'" class="toolbar-icon white-button" src="/static/icons/list-add.png" /--> 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 @@ <textarea id="edit-content" name="content" class="resource-inputarea" ></textarea> </div> </form> - <div id="submit-buttons"> - <img class="question-button button has_tooltip" src="/static/icons/emblem-question.png" title="{{_('submit question')}}" /> - <br /> - <img class="idea-button button has_tooltip" src="/static/icons/emblem-charging.png" title="{{_('submit idea')}}" /> - <br /> - <img class="problem-button button has_tooltip" src="/static/icons/emblem-notification.png" title="{{_('submit problem')}}" /> - </div> - {#%- else -%} - <div class="resource-form-field"> - <br/> - <br/> - <b>{{_('Alpha Version')}}</b> - <br/> - {{_('For the time being you need to be connected to the Internet in order to contribute!')}} - </div> - {%- endif -%#} </div> <script type="text/javascript"> {%- block script %} @@ -171,7 +155,6 @@ $('input#href').val(location.href); $('input#title').focus(); - $('#submit-buttons').hide(); $('#accept-button').show(); if (title==false) { $('input.resource-input').parent().hide(); @@ -233,7 +216,6 @@ $('input#title').focus(); $('textarea.edit-content').val(content); - $('#submit-buttons').hide(); $('#accept-button').show(); if (title==false) { $('input.resource-input').parent().hide(); @@ -273,7 +255,6 @@ $('input#title').focus(); $('textarea.resource-inputarea').val(content); - $('#submit-buttons').hide(); $('#accept-button').show(); if (title==false) { $('input.resource-input').parent().hide(); diff --git a/sugar_network_webui/templates/context-view.html b/sugar_network_webui/templates/context-view.html index d81bf7a..e02a525 100644 --- a/sugar_network_webui/templates/context-view.html +++ b/sugar_network_webui/templates/context-view.html @@ -93,6 +93,17 @@ {%- block script %} {{ super() }} + function delete_artifact (guid) { + $(this).parent().parent().fadeOut(); + $.ajax({ + url: '/_artifacts/'+guid, + type: 'DELETE', + success: function(result) { + location.reload(); + } + }); + } + function initComments () { var guid = $(this).data('guid'); $('#throbber_'+guid).slideDown(); diff --git a/sugar_network_webui/templates/dialog_project.html b/sugar_network_webui/templates/dialog_project.html index 287381b..ecd1ead 100644 --- a/sugar_network_webui/templates/dialog_project.html +++ b/sugar_network_webui/templates/dialog_project.html @@ -9,12 +9,9 @@ {%- endif -%} <div class="window-buttons"> <img id="cancel-button" class="button window-button" src="/static/icons/dialog-cancel.png" /> - {%- if (session['connected'] or False) -%} <img id="accept-button" class="button window-button" src="/static/icons/dialog-ok.png" /> - {%- endif -%} </div> </div> - {%- if (session['connected'] or False) -%} {%- if mode=='new' -%} <form id="resource-form1" method="POST" action="/submit_context"> {%- elif mode=='edit' -%} @@ -37,19 +34,6 @@ <textarea id="edit-content" name="content" class="resource-inputarea" >{{content|special_str or ''}}</textarea> </div> </form> - {% else %} - <div class="resource-form-field"> - <br/> - <br/> - <b>{{_('You are in offline mode')}}</b> - <br/> - {{_('You need to be connected to the Internet or to a Sugar Network Node in order to upload a project.')}} - <div class="resource-form-field"> - <input class="sugar-button" type="button" id="go_ahead" value="{{_('Try to connect')}}" onclick="location='/_toggle_connect/project/new/?returnto=returnto|special_str'" /> - </div> - </div> - {% endif %} - <div class="resource-form-field warning" id="warning" style="display: none"> {{_('Must fill all fields.')}} </div> diff --git a/sugar_network_webui/translations/es/LC_MESSAGES/messages.mo b/sugar_network_webui/translations/es/LC_MESSAGES/messages.mo Binary files differindex d699021..e163cff 100644 --- a/sugar_network_webui/translations/es/LC_MESSAGES/messages.mo +++ b/sugar_network_webui/translations/es/LC_MESSAGES/messages.mo diff --git a/sugar_network_webui/translations/es/LC_MESSAGES/messages.po b/sugar_network_webui/translations/es/LC_MESSAGES/messages.po index 72d7dca..7dcc4b9 100644 --- a/sugar_network_webui/translations/es/LC_MESSAGES/messages.po +++ b/sugar_network_webui/translations/es/LC_MESSAGES/messages.po @@ -7,9 +7,9 @@ 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" -"PO-Revision-Date: 2012-12-13 12:34-0500\n" -"Last-Translator: Sebastian Silva <sebastian@somosazucar.org>\n" +"POT-Creation-Date: 2013-05-22 01:40-0500\n" +"PO-Revision-Date: 2013-05-20 18:33-0500\n" +"Last-Translator: lv <laura@somosazucar.org>\n" "Language-Team: es <LL@li.org>\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n" "MIME-Version: 1.0\n" @@ -37,11 +37,11 @@ msgstr "" msgid "MMMM d, yyyy" msgstr "d 'de' MMMM 'de' yyyy" -#: sugar_network_webui/app.py:330 +#: 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:331 +#: sugar_network_webui/app.py:339 #, python-format msgid "" "Success!\n" @@ -54,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:390 +#: sugar_network_webui/app.py:398 msgid "zero results" msgstr "cero resultados" -#: sugar_network_webui/app.py:392 +#: 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: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 @@ -71,7 +71,7 @@ msgstr "página %(page)s de %(total)s" msgid "questions" msgstr "preguntas" -#: 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 @@ -79,7 +79,7 @@ msgstr "preguntas" msgid "problems" msgstr "problemas" -#: 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 @@ -87,33 +87,33 @@ msgstr "problemas" msgid "ideas" msgstr "ideas" -#: 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 #: 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:443 sugar_network_webui/app.py:739 +#: sugar_network_webui/app.py:451 sugar_network_webui/app.py:751 msgid "artifacts" -msgstr "artefactos" +msgstr "archivos" -#: 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 "recursos" -#: 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 "navegando por %(total)s %(resource_label)s" -#: sugar_network_webui/app.py:488 +#: sugar_network_webui/app.py:496 msgid "Object not found." msgstr "Objeto no encontrado." -#: 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" @@ -123,27 +123,27 @@ msgstr "" "\n" "Si estás offline intenta conectarte." -#: sugar_network_webui/app.py:498 +#: sugar_network_webui/app.py:506 msgid "Error" msgstr "Error" -#: sugar_network_webui/app.py:501 +#: sugar_network_webui/app.py:509 msgid "Server error." msgstr "Error de servidor." -#: sugar_network_webui/app.py:535 +#: sugar_network_webui/app.py:543 msgid "activities" msgstr "actividades" -#: sugar_network_webui/app.py:538 +#: sugar_network_webui/app.py:546 msgid "projects" msgstr "proyectos" -#: sugar_network_webui/app.py:542 +#: sugar_network_webui/app.py:550 msgid "contexts" msgstr "contextos" -#: sugar_network_webui/app.py:557 +#: sugar_network_webui/app.py:565 #, python-format msgid "browsing %(total)s %(label)s" msgstr "navegando por %(total)s %(label)s" @@ -164,7 +164,7 @@ 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 @@ -182,40 +182,20 @@ msgstr "ver más" #: 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 "por %(author)s el %(date)s" -#: 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 "seguidores" - -#: 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 "comentarios" - -#: 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 "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 @@ -228,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 @@ -249,6 +229,24 @@ msgstr "disponible sin conexión" msgid "favorite" msgstr "favorito" +#: 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 @@ -265,7 +263,7 @@ msgstr "borrar" #: 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" @@ -280,24 +278,31 @@ msgid "collapse" msgstr "colapsar" #: 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 "Nueva pregunta, idea o problema" -#: sugar_network_webui/templates/_context-review-list.html:6 -msgid "contribute a review" -msgstr "aportar una reseña" +#: 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 "Contribuciones \"offline\" serán guardadas hasta próxima sincronización." +#: sugar_network_webui/templates/dialog_resource.html:41 +msgid "submit problem" +msgstr "enviar problema" #: sugar_network_webui/templates/_context-review-list.html:12 -msgid "contribute a review offline" -msgstr "aportar una reseña \"offline\"" +msgid "contribute a review" +msgstr "aportar un comentario" -#: 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 "" @@ -307,7 +312,7 @@ msgstr "" "Aún no se han compartido %(resource)s en este contexto.<br><br>¡Se el " "primero en compartir con la comunidad!" -#: 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 "editar" @@ -341,8 +346,8 @@ msgid "Sugar Network" msgstr "Red Azúcar" #: 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 @@ -356,58 +361,43 @@ msgid "Summary" msgstr "Resumen" #: 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 "Detalles" -#: sugar_network_webui/templates/base.html:102 -#: sugar_network_webui/templates/dialog_resource.html:37 -msgid "submit question" -msgstr "enviar pregunta" - -#: sugar_network_webui/templates/base.html:104 -#: sugar_network_webui/templates/dialog_resource.html:39 -msgid "submit idea" -msgstr "enviar idea" - -#: sugar_network_webui/templates/base.html:106 -#: sugar_network_webui/templates/dialog_resource.html:41 -msgid "submit problem" -msgstr "enviar problema" - -#: sugar_network_webui/templates/base.html:144 +#: sugar_network_webui/templates/base.html:128 msgid "Edit project" msgstr "Editar proyecto" -#: 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 "Nombre" -#: 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 "Artículo" -#: sugar_network_webui/templates/base.html:205 +#: sugar_network_webui/templates/base.html:188 msgid "Create new project" msgstr "Crear nuevo proyecto" -#: sugar_network_webui/templates/base.html:261 +#: sugar_network_webui/templates/base.html:243 msgid "Edit resource" msgstr "Editar recurso" -#: 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 "Estas en modo \"offline\"" -#: sugar_network_webui/templates/base.html:412 +#: sugar_network_webui/templates/base.html:393 msgid "You are in online mode" msgstr "Estas en modo \"online\"" @@ -457,7 +447,7 @@ msgid "" msgstr "" "De la misma manera, el software de los módulos de la Red Azúcar están " "licenciados bajo la\n" -"<b>Licencia Pública General GPL v3.0 o cualquier versión posterior." +"<b>Licencia Pública General GPL v3.0 o cualquier versión posterior." #: sugar_network_webui/templates/dialog_project.html:6 msgid "Creating new project" @@ -473,7 +463,7 @@ msgid "" "order to upload a project." msgstr "" "Necesitas tener conección a Internet o a un nodo de la red Azúcar para " -"enviar un proyecto." +"crear un proyecto." #: sugar_network_webui/templates/dialog_project.html:48 #: sugar_network_webui/templates/synchronize.html:39 @@ -506,7 +496,7 @@ msgid "" "writing to be edited and redistributed at will, then do not submit it " "here." msgstr "" -"Por favor note que todas las contribuciones a Laboratorios Azúcar se " +"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 " @@ -584,7 +574,7 @@ msgstr "Soluciones" #: sugar_network_webui/templates/toolbar.html:57 #: sugar_network_webui/templates/toolbar.html:70 msgid "Reviews" -msgstr "Reseñas" +msgstr "Comentarios" #: sugar_network_webui/templates/synchronize.html:21 #: sugar_network_webui/templates/upload-form.html:24 @@ -645,7 +635,7 @@ msgstr "Problemas" #: 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:76 msgid "synchronize" @@ -673,7 +663,7 @@ 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." @@ -690,8 +680,8 @@ msgid "" "work without permission!</b>" msgstr "" "Tambien nos aseguras que tu escribiste esto, o lo copiaste de un dominio " -"público u otro recurso libre similar.<b> Por favor envies material con " -"licencias no libres sin permiso!</b>" +"público u otro recurso similar libre.<b> Por favor no envies material con" +" licencias no libres!</b>" #: sugar_network_webui/templates/upload-form.html:40 msgid "Alpha Version" @@ -701,5 +691,13 @@ msgstr "Versión Alfa" 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!" +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\"" |