Skip to content
This repository has been archived by the owner on Mar 10, 2018. It is now read-only.

Commit

Permalink
Revert "Traduções para PT"
Browse files Browse the repository at this point in the history
This reverts commit 3c00292.
  • Loading branch information
dialex committed Jun 25, 2013
1 parent 3c00292 commit 73a5215
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 28 deletions.
8 changes: 4 additions & 4 deletions templates/parliament/base.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% autoescape on %}
<!DOCTYPE html>
<html lang="pt-pt">
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
Expand Down Expand Up @@ -35,11 +35,11 @@
{% block navbar-content %}
<div class="nav-collapse collapse" style="height: 0px;">
<ul class="nav">
<li class="active"><a href="/parliament/">Início</a></li>
<li><a href="/parliament/proposals/">Propostas</a></li>
<li class="active"><a href="/parliament/">Home</a></li>
<li><a href="/parliament/proposals/">Proposals</a></li>
<li><a href="/parliament/tags/">Tags</a></li>
<li><a href="#"><!-- empty space --></a></li>
<li><a href="/parliament/proposals/create">Faz uma Proposta</a></li>
<li><a href="/parliament/proposals/create">Make a proposal</a></li>
</ul>
</div>
{% endblock navbar-content %}
Expand Down
4 changes: 2 additions & 2 deletions templates/parliament/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

{% block content %}
<h1 align="center"><img src="{{ STATIC_URL }}img/logo-dcid.png" width="300px" height="auto" alt="DCID LOGO" /></h1>
<h3 align="center"><em>propõe . discute . decide</em></h3>
<h3 align="center"><em>propose . discuss . decide</em></h3>
<br/>
<p align="center"><a class="btn btn-large btn-inverse" href="/parliament/proposals/">Entra</a></p>
<p align="center"><a class="btn btn-large btn-inverse" href="/parliament/proposals/">Enter</a></p>
<br/>
{% endblock content %}
6 changes: 3 additions & 3 deletions templates/parliament/proposal_create.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{% extends "parliament/base.html" %}

{% block title %}Faz uma proposta{% endblock %}
{% block description %}Aqui é onde tu podes fazer a proposta.{% endblock %}
{% block title %}Make a proposal{% endblock %}
{% block description %}This is where you make your proposal.{% endblock %}

{% block content %}
<h1>Faz uma proposta</h1>
<h1>Make a proposal</h1>
<br/>
{% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %}
<form class="form" action="/parliament/proposals/create/" method="post">{% csrf_token %}
Expand Down
12 changes: 6 additions & 6 deletions templates/parliament/proposal_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ <h1>{{ proposal.title }}</h1>
<div class="row-fluid">
<div class="span9">
<p class="lead">{{ proposal.problem }}</p>
<br/><h4>Solução</h4>
<br/><h4>Solution</h4>
<p>{{ proposal.solution }}</p>
<br/><h4>Vantagens</h4>
<br/><h4>Benefits</h4>
<p>{{ proposal.benefits }}</p>
<br/> <!-- for low resolutions, separates the previous text from voting buttons bellow -->
</div>
Expand All @@ -31,10 +31,10 @@ <h1>{{ proposal.title }}</h1>
<a class="label label-info" href="/parliament/tags/{{ tag.name }}">{{ tag.name }}</a>
{% endfor %}
</p>
<p>visto: <b>{{ proposal.views }} times</b></p>
<p>desde: <b>{{ proposal.timestamp|date:"j M Y" }}</b></p>
<p>autor da proposta: <b>{{ proposal.author.short_name }}</b></p>
<p><a class="btn" onclick="confirm_delete({{ proposal.id_num }})"><i class="icon-trash"></i> apagar proposta</a></p>
<p>viewed: <b>{{ proposal.views }} times</b></p>
<p>since: <b>{{ proposal.timestamp|date:"j M Y" }}</b></p>
<p>proposer: <b>{{ proposal.author.short_name }}</b></p>
<p><a class="btn" onclick="confirm_delete({{ proposal.id_num }})"><i class="icon-trash"></i> delete proposal</a></p>
</div>
</div>
<hr>
Expand Down
16 changes: 8 additions & 8 deletions templates/parliament/proposals.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{% extends "parliament/base.html" %}
{% load humanize %}

{% block title %}Novas Propostas{% endblock %}
{% block title %}Newest proposals{% endblock %}
{% block description %}TODO{% endblock %}

{% block content %}
<h1>Propostas</h1>
<h1>Proposals</h1>
<br/>
<!-- tabs to select sorting criteria -->
<div>
<ul class="nav nav-tabs" id="SortingCriteriaTabs">
<li class="active"><a href="#OrderByTimestamp" data-toggle="tab" text="most recently added proposals">Recente</a></li>
<li><a href="#OrderByScore" data-toggle="tab" text="proposals with the highest scores, in descending order">Favorita</a></li>
<li><a href="#OrderByViews" data-toggle="tab" text="proposals with the most views, in descending order">Mais visualizada</a></li>
<li class="active"><a href="#OrderByTimestamp" data-toggle="tab" text="most recently added proposals">Recent</a></li>
<li><a href="#OrderByScore" data-toggle="tab" text="proposals with the highest scores, in descending order">Most likeable</a></li>
<li><a href="#OrderByViews" data-toggle="tab" text="proposals with the most views, in descending order">Most viewed</a></li>
</ul>
</div>
{% if proposals_list %}
Expand Down Expand Up @@ -52,7 +52,7 @@ <h1>{{ p.score }}</h1>
</div>
<div class="span10">
<h3><a href="/parliament/proposals/{{ p.id_num }}/">{{ p.title }}</a></h3>
<p>Proposta por <a href="#">{{ p.author.short_name }}</a>, in {{ p.timestamp|date:"j F Y" }}</p>
<p>Proposed by <a href="#">{{ p.author.short_name }}</a>, in {{ p.timestamp|date:"j F Y" }}</p>
<p>
{% for tag in p.tag_set.all %}
<a class="label label-info" href="/parliament/tags/{{ tag.name }}">{{ tag.name }}</a>
Expand All @@ -76,7 +76,7 @@ <h1>{{ p.score }}</h1>
</div>
<div class="span10">
<h3><a href="/parliament/proposals/{{ p.id_num }}/">{{ p.title }}</a></h3>
<p>Proposta por <a href="#">{{ p.author.short_name }}</a>, in {{ p.timestamp|date:"j F Y" }}</p>
<p>Proposed by <a href="#">{{ p.author.short_name }}</a>, in {{ p.timestamp|date:"j F Y" }}</p>
<p>
{% for tag in p.tag_set.all %}
<a class="label label-info" href="/parliament/tags/{{ tag.name }}">{{ tag.name }}</a>
Expand All @@ -93,7 +93,7 @@ <h3><a href="/parliament/proposals/{{ p.id_num }}/">{{ p.title }}</a></h3>
{% else %}
<div class="row-fluid">
<div class="span12" style="background-color: #EEEEEE">
<p align="center">Não foram encontradas propostas.</p>
<p align="center">No proposals found.</p>
</div>
</div>
{% endif %}
Expand Down
4 changes: 2 additions & 2 deletions templates/parliament/tag_detail.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends "parliament/base.html" %}

{% block title %}Propostas marcadas com "{{tag.name}}"{% endblock %}
{% block title %}Proposals tagged with "{{tag.name}}"{% endblock %}
{% block description %}TODO{% endblock %}

{% block content %}
Expand All @@ -16,7 +16,7 @@ <h1>{{ p.score }}</h1>
</div>
<div class="span10">
<h3><a href="/parliament/proposals/{{ p.id_num }}/">{{ p.title }}</a></h3>
<p>Proposto por <a href="#">{{ p.author.short_name }}</a>, em {{ p.timestamp|date:"j F Y" }}</p>
<p>Proposed by <a href="#">{{ p.author.short_name }}</a>, in {{ p.timestamp|date:"j F Y" }}</p>
<p> {% for tag in p.tag_set.all %}
<a class="label label-info" href="/parliament/tags/{{ tag.name }}">{{ tag.name }}</a>
{% endfor %}
Expand Down
6 changes: 3 additions & 3 deletions templates/parliament/tags.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{% extends "parliament/base.html" %}

{% block title %}Lista de Propostas{% endblock %}
{% block title %}List of proposals{% endblock %}
{% block description %}TODO{% endblock %}

{% block content %}
<h1>Tags</h1>
<br/>
<p>Estas são todas as tags de todas as propostas. Podes selecionar uma tag para visualizar todas as propostas com essa tag</p>
<p>These are the all tags of all proposals. You can select one to view only proposals with that tag.</p>
<br/>
{% if tags_list %}
<p align="center">
Expand All @@ -15,6 +15,6 @@ <h1>Tags</h1>
{% endfor %}
</p>
{% else %}
<p align="center">Não foram encontradas tags.</p>
<p align="center">No tags found.</p>
{% endif %}
{% endblock content %}

0 comments on commit 73a5215

Please sign in to comment.