Skip to content

Commit

Permalink
More information moved to locale files and translated
Browse files Browse the repository at this point in the history
  • Loading branch information
Ana06 committed Dec 5, 2015
1 parent ec25d5f commit 697fa74
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 17 deletions.
34 changes: 17 additions & 17 deletions app/views/pages/more_information.html.erb
Expand Up @@ -2,54 +2,54 @@
<div class="page row-full">
<div class="row">
<div class="more-information text small-12 medium-8 column">
<h1>Más información</h1>
<h1><%= t('pages.titles.more_information') %></h1>
<ul>
<li>
<%= link_to how_it_works_path do %>
¿Cómo funciona este Portal de Gobierno Abierto?
<span>Descubre todo lo que puedes hacer en esta web</span>
<%= t('pages.more_information.titles.how_it_works') %>
<span><%= t('pages.more_information.description.how_it_works') %></span>
<% end %>
</li>
<li>
<%= link_to how_to_use_path do %>
Utilízalo en tu municipio
<span>Utilízalo libremente o ayúdanos a mejorarlo, es software libre</span>
<%= t('pages.more_information.titles.how_to_use') %>
<span><%= t('pages.more_information.description.how_to_use') %></span>
<% end %>
</li>
<li>
<%= link_to participation_path do %>
Participación y Transparencia en Madrid - Próximas novedades
<span>Participación Ciudadana, Transparencia y Gobierno Abierto</span>
<%= t('pages.more_information.titles.participation') %>
<span><%= t('pages.more_information.description.participation') %></span>
<% end %>
</li>
<li>
<%= link_to proposals_info_path do %>
¿Cómo funcionan las propuestas ciudadanas?
<span>Crea tus propias propuestas</span>
<%= t('pages.more_information.titles.proposals_info') %>
<span><%= t('pages.more_information.description.proposals_info') %></span>
<% end %>
</li>
<li>
<%= link_to participation_world_path do %>
Participación ciudadana directa en el mundo
<span>Sistemas de participación ciudadana que ya existen en el mundo</span>
<%= t('pages.more_information.titles.participation_world') %>
<span><%= t('pages.more_information.description.participation_world') %></span>
<% end %>
</li>
<li>
<%= link_to participation_facts_path do %>
Hechos sobre participación ciudadana y democracia directa
<span>Para perderle el miedo</span>
<%= t('pages.more_information.titles.participation_facts') %>
<span><%= t('pages.more_information.description.participation_facts') %></span>
<% end %>
</li>
<li>
<%= link_to faq_path do %>
Soluciones a problemas técnicos (FAQ)
<span>Preguntas frecuentes sobre problemas técnicos</span>
<%= t('pages.more_information.titles.faq') %>
<span><%= t('pages.more_information.description.faq') %></span>
<% end %>
</li>
<li>
<%= link_to proposals_info_path(:anchor => "iii") do %>
Hojas de firmas
<span>Hojas de firmas para recoger apoyos</span>
<%= t('pages.more_information.titles.signature_sheet') %>
<span><%= t('pages.more_information.description.signature_sheet') %></span>
<% end %>
</li>
</ul>
Expand Down
17 changes: 17 additions & 0 deletions config/locales/pages.en.yml
Expand Up @@ -31,6 +31,23 @@ en:
submit: "Verify my account"
more_information:
titles:
how_it_works: "How does this Open Government Portal work?"
how_to_use: "Use it in your local government"
participation: "Madrid Participation and Transparency y Transparencia - coming news"
proposals_info: "How does citizen proposals work?"
participation_world: "Direct citizen participation in the world"
participation_facts: "Facts about citizen participation and direct democracy"
faq: "Solution to tecnical problemas (FAQ)"
signature_sheet: "Signature sheet"
description:
how_it_works: "Find out all you can do with this web site"
how_to_use: "Use it freely or help us to improve it, it is free software"
participation: "Citizen participation, transparency and open government"
proposals_info: "Create your own proposals"
participation_world: "Systems of citizen participation that exist in the world"
participation_facts: "To lose your fear"
faq: "Frecuently asked question about tecnical problems"
signature_sheet: "Sheet collecting signatures for support"
how_it_works:
i: "Participation"
i1: "Debates area"
Expand Down
16 changes: 16 additions & 0 deletions config/locales/pages.es.yml
Expand Up @@ -32,6 +32,22 @@ es:
more_information:
titles:
how_it_works: "¿Cómo funciona este Portal de Gobierno Abierto?"
how_to_use: "Utilízalo en tu municipio"
participation: "Participación y Transparencia en Madrid - Próximas novedades"
proposals_info: "¿Cómo funcionan las propuestas ciudadanas?"
participation_world: "Participación ciudadana directa en el mundo"
participation_facts: "Hechos sobre participación ciudadana y democracia directa"
faq: "Soluciones a problemas técnicos (FAQ)"
signature_sheet: "Hojas de firmas"
description:
how_it_works: "Descubre todo lo que puedes hacer en esta web"
how_to_use: "Utilízalo libremente o ayúdanos a mejorarlo, es software libre"
participation: "Participación Ciudadana, Transparencia y Gobierno Abierto"
proposals_info: "Crea tus propias propuestas"
participation_world: "Sistemas de participación ciudadana que ya existen en el mundo"
participation_facts: "Para perderle el miedo"
faq: "Preguntas frecuentes sobre problemas técnicos"
signature_sheet: "Hojas de firmas para recoger apoyos"
how_it_works:
i: "Participación"
i1: "Espacio de debate"
Expand Down

0 comments on commit 697fa74

Please sign in to comment.