Skip to content

Commit

Permalink
Remplace some i18n templats tags from trans blocktrans and update the…
Browse files Browse the repository at this point in the history
… spanish translation string
  • Loading branch information
macagua committed Jan 13, 2012
1 parent 16da4dc commit 9e495aa
Show file tree
Hide file tree
Showing 17 changed files with 101 additions and 73 deletions.
Binary file modified readthedocs/locale/es/LC_MESSAGES/django.mo
Binary file not shown.
131 changes: 79 additions & 52 deletions readthedocs/locale/es/LC_MESSAGES/django.po
@@ -1,4 +1,4 @@
# SOME DESCRIPTIVE TITLE.
# Read the Docs Spanish translation.
# Copyright (C) 2011 readthedocs
# This file is distributed under the same license as the readthedocs package.
# Leonardo J. Caballero G. <leonardocaballero@gmail.com>, 2011.
Expand All @@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: readthedocs\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-01-12 16:04-0430\n"
"PO-Revision-Date: 2012-01-12 17:04-0400\n"
"POT-Creation-Date: 2012-01-13 11:02-0430\n"
"PO-Revision-Date: 2012-01-13 14:18-0400\n"
"Last-Translator: Leonardo J. Caballero G. <leonardocaballero@gmail.com>\n"
"Language-Team: Plataforma colaborativa Canaima <plataforma-colaborativa@canaima.softwarelibre.gob.ve>\n"
"MIME-Version: 1.0\n"
Expand Down Expand Up @@ -201,7 +201,7 @@ msgstr "Carácter no válido en el nombre del repositorio)"

#: projects/forms.py:65
msgid "It looks like you entered a private repo - please use the public (http:// or git://) clone url"
msgstr "Al parecer usted ingreso un repositorio privado - por favor, utilice la dirección URL clon público (http:// or git://) "
msgstr "Al parecer usted ingreso un repositorio privado - por favor, utilice la dirección URL clon público (http:// or git://)"

#: projects/forms.py:170
msgid "Choose the default version for this project"
Expand Down Expand Up @@ -271,6 +271,14 @@ msgstr "Código de Google Analytics Tracking. Esto puede ralentizar la carga de
msgid "Install your project inside a virtualenv using setup.py install"
msgstr "Instalar su proyecto dentro de un virtualenv usando setup.py install"

#: settings/base.py:36
msgid "English"
msgstr "Ingles"

#: settings/base.py:38
msgid "Spanish"
msgstr "Español"

#: templates/404.html:6
msgid "Maze Found"
msgstr "Laberinto encontrado"
Expand Down Expand Up @@ -334,6 +342,14 @@ msgstr "Inicio"
msgid "What is this place?"
msgstr "What is this place?"

#: templates/homepage.html:30
msgid ""
"Read the Docs hosts documentation, making it fully searchable and easy to find.\n"
" You can import your docs using any major version control system, including Mercurial, Git, Subversion, and Bazaar."
msgstr ""
"Read the Docs hospeda documentación, por lo que es totalmente accesible y fácil de encontrar.\n"
" Puede importar sus documentos utilizando cualquier sistema de control de versiones más usados, incluyendo MMercurial, Git, Subversion, y Bazaar."

#: templates/homepage.html:32
msgid "We support"
msgstr "Nosotros soportamos"
Expand Down Expand Up @@ -426,8 +442,9 @@ msgid "Recent Bookmarks"
msgstr "Favoritos recientes"

#: templates/builds/build_detail.html:7
msgid "Build for"
msgstr "Construcción para"
#, python-format
msgid "Build for %(build.project.name)s"
msgstr "Construcción para %(build.project.name)s"

#: templates/builds/build_detail.html:10
msgid "Built:"
Expand Down Expand Up @@ -473,7 +490,6 @@ msgstr "versión"

#: templates/core/build_list_detailed.html:6
#: templates/core/project_details.html:100
#: templates/core/project_list_detailed.html:11
msgid "ago"
msgstr "hace"

Expand Down Expand Up @@ -665,6 +681,11 @@ msgstr "Las revisiones más recientes construidas"
msgid "Most viewed pages for this project"
msgstr "Las páginas más vistas de este proyecto"

#: templates/core/project_list_detailed.html:11
#, python-format
msgid "%(project.modified_date|timesince)s ago"
msgstr "hace %(project.modified_date|timesince)s"

#: templates/core/project_list_detailed.html:21
msgid "No Docs"
msgstr "Sin Documentos"
Expand Down Expand Up @@ -792,13 +813,9 @@ msgid "What you are saying:"
msgstr "Lo que usted dice:"

#: templates/flagging/flag_confirm.html:21
msgid "Are you sure you want to flag"
msgstr "Está seguro que desea marcar"

#: templates/flagging/flag_confirm.html:21
#: templates/flagging/flag_success.html:16
msgid "as"
msgstr "como"
#, python-format
msgid "Are you sure you want to flag \"%(object)s\" as \"%(flag_type.title)s\"?"
msgstr "¿Está seguro que desea marcar \"%(object)s\" como \"%(flag_type.title)s\"?"

#: templates/flagging/flag_confirm.html:23
msgid "Yes, this is"
Expand All @@ -814,20 +831,21 @@ msgid "Flagging successful"
msgstr "Marcado fue éxito"

#: templates/flagging/flag_success.html:16
msgid "You have successfully flagged"
msgstr "Usted ha marcado con éxito"
#, python-format
msgid "You have successfully flagged \"%(object)s\" as \"%(flag_type.title)s\""
msgstr "Usted ha marcado con éxito \"%(object)s\" como \"%(flag_type.title)s\""

#: templates/flagging/flag_success.html:18
msgid "Thank you for contributing to the quality of this site!"
msgstr "¡Gracias por contribuir a la calidad de este sitio!"

#: templates/pagination/pagination.html:5
#: templates/pagination/pagination.html:7
#: templates/pagination/pagination.html:6
#: templates/pagination/pagination.html:8
msgid "previous"
msgstr "anterior"

#: templates/pagination/pagination.html:21
#: templates/pagination/pagination.html:23
#: templates/pagination/pagination.html:22
#: templates/pagination/pagination.html:24
msgid "next"
msgstr "próximo"

Expand Down Expand Up @@ -911,12 +929,9 @@ msgid "You sure?"
msgstr "¿Esta seguro?"

#: templates/projects/file_delete.html:13
msgid "I don't ever want to see"
msgstr "Yo no quiero volver a ver"

#: templates/projects/file_delete.html:13
msgid "again"
msgstr "otra ves"
#, python-format
msgid "I don't ever want to see '%(file.heading|default:\"file\")s' again"
msgstr "Yo no quiero volver a ver '%(file.heading|default:\"file\")s' otra ves"

#: templates/projects/file_edit.html:27
#: templates/projects/file_history.html:6
Expand All @@ -940,14 +955,14 @@ msgid "Revert to"
msgstr "Revertir a"

#: templates/projects/file_revert.html:4
#, python-format
msgid "Revert %(file.heading)s to revision %(revision.revision_number)s?"
msgstr "Revertir %(file.heading)s a la revisión %(revision.revision_number)s?"

#: templates/projects/file_revert.html:8
msgid "Revert"
msgstr "Revertir"

#: templates/projects/file_revert.html:4
msgid "to revision"
msgstr "Para revisión"

#: templates/projects/legend.html:4
msgid "External Links"
msgstr "Enlaces externos"
Expand Down Expand Up @@ -1000,9 +1015,8 @@ msgid "actual code indented"
msgstr "código actual identado"

#: templates/projects/legend.html:34
#, fuzzy
msgid "reStructuredText Primer"
msgstr "La descripción reStructuredText del proyecto"
msgstr "Manual de reStructuredText"

#: templates/projects/project_configure.html:4
msgid "Configure"
Expand Down Expand Up @@ -1158,8 +1172,9 @@ msgstr "Elegir las versiones que le gustaría publicar, además de la última re

#: templates/projects/search.html:7
#: templates/projects/search.html.py:21
msgid "Search results for"
msgstr "Resultados de la búsqueda para"
#, python-format
msgid "Search results for %(term)s"
msgstr "Resultados de la búsqueda para %(term)s"

#: templates/projects/search.html:38
msgid "Huh?"
Expand Down Expand Up @@ -1227,20 +1242,14 @@ msgid "Account activation error"
msgstr "Error de activación de cuenta"

#: templates/registration/activate.html:17
msgid "The activation key"
msgstr "La activación ed la key"

#: templates/registration/activate.html:17
msgid "is invalid and cannot be used to activate this account."
msgstr "es válido y no puede ser utilizado para activar la cuenta."

#: templates/registration/activate.html:18
msgid "Did you really think activation key"
msgstr "¿De verdad cree la clave de activación"
#, python-format
msgid "The activation key \"%(activation_key)s\" is invalid and cannot be used to activate this account."
msgstr "La clave de activación \"%(activation_key)s\" es inválido y no puede ser utilizado para activar la cuenta."

#: templates/registration/activate.html:18
msgid "was going to work?!"
msgstr ""
#, python-format
msgid "Did you really think activation key \"%(activation_key)s\" was going to work?!"
msgstr "¿De verdad cree la clave de activación \"%(activation_key)s\" funciona?"

#: templates/registration/activate.html:21
msgid "We're not sure how you got that key, but would you mind registering again"
Expand Down Expand Up @@ -1438,29 +1447,45 @@ msgstr "Registro cerrado"
msgid "Eh... Registration closed."
msgstr "Eh ... registro cerrado."

#: templates/registration/registration_closed.html:17
msgid ""
" You registered a long time ago.\n"
" We aren't sure if you are a robot or if \n"
" something got lost or what."
msgstr ""
" Usted se registró hace mucho tiempo.\n"
" No estamos seguros si es un robot, o si \n"
" hay algo que se perdió o qué paso."

#: templates/registration/registration_closed.html:20
msgid "Please try"
msgstr "Por favor, inténtelo"

#: templates/registration/registration_closed.html:20
#, fuzzy
msgid "registering again"
msgstr "registering again"
msgstr "registrando otra ves"

#: templates/registration/registration_closed.html:23
msgid "We hope that isn't too inconvenient."
msgstr "Esperamos que esto no sea mucho inconveniente."

#: templates/registration/registration_complete.html:6
#: templates/registration/registration_complete.html:11
#, fuzzy
msgid "Registration complete"
msgstr "completar el registro"
msgstr "Registro completo"

#: templates/registration/registration_complete.html:16
msgid "Now activate your account."
msgstr "Ahora activar tu cuenta."

#: templates/registration/registration_complete.html:18
msgid ""
"We will be sending you an email with an activation link.\n"
" Visit the link to verify this account."
msgstr ""
"Nosotros le enviaremos un correo electrónico con un enlace de activación.\n"
" Visite el enlace para verificar esta cuenta."

#: templates/registration/registration_complete.html:22
msgid "Check your email. We'll wait."
msgstr "Revise su correo electrónico. Nosotros vamos a esperar."
Expand All @@ -1481,8 +1506,9 @@ msgstr "Volverse loco."

#: templates/search/base_facet.html:31
#: templates/search/search.html:31
msgid "Results for"
msgstr "Resultados para"
#, python-format
msgid "Results for %(query)s"
msgstr "Resultados para %(query)s"

#: templates/search/base_facet.html:54
#: templates/search/base_facet.html:56
Expand All @@ -1491,6 +1517,7 @@ msgstr "Resultados para"
msgid "Previous"
msgstr "Anterior"

#: templates/search/base_facet.html:60
#: templates/search/base_facet.html:62
#: templates/search/search.html:58
#: templates/search/search.html.py:60
Expand Down
2 changes: 1 addition & 1 deletion readthedocs/templates/builds/build_detail.html
Expand Up @@ -4,7 +4,7 @@

{% block title %}{{ build.project.name }}{% endblock %}

{% block content-header %}<h1>{% trans "Build for" %} {{ build.project.name }}</h1>{% endblock %}
{% block content-header %}<h1>{% blocktrans %}Build for {{ build.project.name }}{% endblocktrans %}</h1>{% endblock %}

{% block content %}
<p>{% trans "Built:" %} {{ build.date|date:"N j, Y. P" }}</p>
Expand Down
2 changes: 1 addition & 1 deletion readthedocs/templates/core/project_list_detailed.html
Expand Up @@ -8,7 +8,7 @@
<a href="{{ user.get_absolute_url }}" class="quiet">{{ user }}</a>{% if not forloop.last %}, {% endif %}
{% endfor %}
)
<span class="quiet">{{ project.modified_date|timesince }} {% trans "ago" %}</span>
<span class="quiet">{% blocktrans %}{{ project.modified_date|timesince }} ago{% endblocktrans %}</span>
<ul class="module-item-menu">
{% if project.has_good_build %}
<span class="hidden-child" style="display: none;">
Expand Down
2 changes: 1 addition & 1 deletion readthedocs/templates/flagging/flag_confirm.html
Expand Up @@ -18,7 +18,7 @@ <h3>{% trans "What you are saying:" %}</h3>
<p>{{ flag_type.description }}</p>

<form action="{{ object|flag_url:flag_type.slug }}{% if next %}?next={{ next }}{% endif %}" method="post">{% csrf_token %}
<p>{% trans "Are you sure you want to flag" %} "{{ object }}" {% trans "as" %} "{{ flag_type.title }}"?</p>
<p>{% blocktrans %}Are you sure you want to flag "{{ object }}" as "{{ flag_type.title }}"?{% endblocktrans %}</p>
<p class="submit">
<button type="submit">{% trans "Yes, this is" %} {{ flag_type.title }}</button>
<a href="{{ next }}">{% trans "cancel" %}</a>
Expand Down
2 changes: 1 addition & 1 deletion readthedocs/templates/flagging/flag_success.html
Expand Up @@ -13,7 +13,7 @@ <h2>{% trans "Flagging successful" %}</h2>


{% block content %}
<p>{% trans "You have successfully flagged" %} "{{ object }}" {% trans "as" %} "{{ flag_type.title }}"</p>
<p>{% blocktrans %}You have successfully flagged "{{ object }}" as "{{ flag_type.title }}"{% endblocktrans %}</p>

<p>{% trans "Thank you for contributing to the quality of this site!" %}</p>
{% endblock %}
4 changes: 2 additions & 2 deletions readthedocs/templates/homepage.html
Expand Up @@ -27,8 +27,8 @@
<div class="module-header">
<h3>{% trans "What is this place?" %}</h3>
<p>
{% trans "Read the Docs hosts documentation, making it fully searchable and easy to find.
You can import your docs using any major version control system, including Mercurial, Git, Subversion, and Bazaar." %}
{% blocktrans %}Read the Docs hosts documentation, making it fully searchable and easy to find.
You can import your docs using any major version control system, including Mercurial, Git, Subversion, and Bazaar.{% endblocktrans %}
{% trans "We support" %} <a href="http://read-the-docs.readthedocs.org/en/latest/webhooks.html">webhooks</a> {% trans "so your docs get built when you commit code." %}
{% trans "There's also support for versioning so you can build docs from tags and branches of your code in your repository. A" %} <a href="http://read-the-docs.readthedocs.org/en/latest/features.html">{% trans "full list of features" %}</a> {% trans "is available." %}
</p>
Expand Down
3 changes: 2 additions & 1 deletion readthedocs/templates/pagination/pagination.html
@@ -1,5 +1,6 @@
{% if is_paginated %}
{% load i18n %}

{% if is_paginated %}
<div class="pagination">
{% if page_obj.has_previous %}
<a href="?page={{ page_obj.previous_page_number }}{{ getvars }}{{ hashtag }}" class="prev">&lsaquo;&lsaquo; {% trans "previous" %}</a>
Expand Down
2 changes: 1 addition & 1 deletion readthedocs/templates/projects/file_delete.html
Expand Up @@ -10,6 +10,6 @@
{% block content %}
<p>{% trans "You sure?" %} O_o</p>
<form method="post" action=".">{% csrf_token %}
<input type="submit" value="{% trans "I don't ever want to see" %} '{{ file.heading|default:"file" }}' {% trans "again" %}" />
<input type="submit" value="{% blocktrans %}I don't ever want to see '{{ file.heading|default:"file" }}' again{% endblocktrans %}" />
</form>
{% endblock %}
2 changes: 1 addition & 1 deletion readthedocs/templates/projects/file_revert.html
@@ -1,7 +1,7 @@
{% extends "projects/base_project.html" %}
{% load i18n %}

{% block title %}{% trans "Revert" %} {{ file.heading }} {% trans "to revision" %} {{ revision.revision_number }}?{% endblock %}
{% block title %}{% blocktrans %}Revert {{ file.heading }} to revision {{ revision.revision_number }}?{% endblocktrans %}{% endblock %}

{% block content %}
<form method="post" action=".">{% csrf_token %}
Expand Down
4 changes: 2 additions & 2 deletions readthedocs/templates/projects/search.html
Expand Up @@ -4,7 +4,7 @@

{% load pagination_tags %}

{% block title %}{% trans "Search results for" %} {{ term }} {% endblock %}
{% block title %}{% blocktrans %}Search results for {{ term }}{% endblocktrans %} {% endblock %}

{% block nav-browse %}class="active"{% endblock %}

Expand All @@ -18,7 +18,7 @@
<div class="module-wrapper">

<div class="module-header">
<h2>{% trans "Search results for" %} {{ term }}</h2>
<h2>{% blocktrans %}Search results for {{ term }}{% endblocktrans %}</h2>
</div>

<div class="module-list">
Expand Down
4 changes: 2 additions & 2 deletions readthedocs/templates/registration/activate.html
Expand Up @@ -14,8 +14,8 @@ <h1>{% trans "Account activation error" %}</h1>

{% block content %}
<p>
{% trans "The activation key" %} "{{ activation_key }}" {% trans "is invalid and cannot be used to activate this account." %}
{% trans "Did you really think activation key" %} "{{ activation_key }}" {% trans "was going to work?!" %}
{% blocktrans %}The activation key "{{ activation_key }}" is invalid and cannot be used to activate this account.{% endblocktrans %}
{% blocktrans %}Did you really think activation key "{{ activation_key }}" was going to work?!{% endblocktrans %}
</p>
<p>
{% trans "We're not sure how you got that key, but would you mind registering again" %} <a href="{% url registration_register %}">{% trans "here" %}</a>?
Expand Down
2 changes: 1 addition & 1 deletion readthedocs/templates/registration/activation_email.txt
Expand Up @@ -5,7 +5,7 @@

http://{{ site.domain }}{% url registration_activate activation_key %}

{% trans "This page will expire in" %} {{ expiration_days }} {% trans "day" %}{{ expiration_days|pluralize }}.
{% blocktrans %}This page will expire in {{ expiration_days }} day{{ expiration_days|pluralize }}.{% endblocktrans %}

***

Expand Down

0 comments on commit 9e495aa

Please sign in to comment.