From 9c8401008ed81b27482b5d1b605ef64e08c0044d Mon Sep 17 00:00:00 2001 From: Ana Date: Mon, 30 Nov 2015 21:38:48 +0100 Subject: [PATCH] Transparency and open data translations --- app/views/layouts/_header.html.erb | 13 ++++++------- app/views/pages/opendata.html.erb | 4 ++-- app/views/pages/transparency.html.erb | 2 +- config/locales/en.yml | 4 ++-- config/locales/pages.en.yml | 10 ++++++++-- config/locales/pages.es.yml | 9 +++++++-- 6 files changed, 26 insertions(+), 16 deletions(-) diff --git a/app/views/layouts/_header.html.erb b/app/views/layouts/_header.html.erb index 8c62cf434..51cca123d 100644 --- a/app/views/layouts/_header.html.erb +++ b/app/views/layouts/_header.html.erb @@ -94,10 +94,9 @@ <% if transparency_page? %>
-

<%= t("pages.transparency") %>

-

Estamos trabajando en el nuevo Portal de Transparencia del Ayuntamiento de Madrid, para que no quede ni una esquina del Ayuntamiento que no puedas ver.

-

Por ahora puedes visitar el portal que existía hasta ahora:

- <%= link_to "Ir al Portal de Transparencia", t("layouts.header.external_link_transparency_url"), target: "_blank", class: "button radius" %> +

<%= t("pages.transparency.title") %>

+

<%= t("pages.transparency.slogan_html") %>

+ <%= link_to t("pages.transparency.go_old"), t("layouts.header.external_link_transparency_url"), target: "_blank", class: "button radius" %>
@@ -109,9 +108,9 @@ <% if opendata_page? %>
-

<%= t("pages.opendata") %>

-

Estamos trabajando en el nuevo Portal de Datos Abiertos del Ayuntamiento de Madrid, por ahora puedes visitar el portal que existía hasta ahora:

- <%= link_to "Ir al Portal de Datos Abiertos", t("layouts.header.external_link_opendata_url"), target: "_blank", class: "button radius" %> +

<%= t("pages.opendata.title") %>

+

<%= t("pages.opendata.slogan_html") %>

+ <%= link_to t("pages.opendata.go_old"), t("layouts.header.external_link_opendata_url"), target: "_blank", class: "button radius" %>
diff --git a/app/views/pages/opendata.html.erb b/app/views/pages/opendata.html.erb index 7d5302b0d..295eca893 100644 --- a/app/views/pages/opendata.html.erb +++ b/app/views/pages/opendata.html.erb @@ -2,7 +2,7 @@
-

Mientras acabamos el nuevo portal, te invitamos a visitar el blog del Área de Participación Ciudadana, Transparencia y Gobierno Abierto para conocer nuestros avances y novedades; o la sección de Participación Ciudadana donde poder decidir qué ciudad es la que quieres.

+

<%= t('pages.while_unfinished_html') %>

-
\ No newline at end of file +
diff --git a/app/views/pages/transparency.html.erb b/app/views/pages/transparency.html.erb index a8b254adf..af72d3454 100644 --- a/app/views/pages/transparency.html.erb +++ b/app/views/pages/transparency.html.erb @@ -2,7 +2,7 @@
-

Mientras acabamos el nuevo portal, te invitamos a visitar el blog del Área de Participación Ciudadana, Transparencia y Gobierno Abierto para conocer nuestros avances y novedades; o la sección de Participación Ciudadana donde poder decidir qué ciudad es la que quieres.

+

<%= t('pages.while_unfinished_html') %>

diff --git a/config/locales/en.yml b/config/locales/en.yml index 029d21e02..cba8fcc67 100755 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -12,9 +12,9 @@ en: external_link_opendata_url: "http://datos.madrid.es" external_link_blog: "Blog" external_link_blog_url: "/blog" - open_gov: "%{open} government" + open_gov: "Open government" open: "open" - participation_html: "Madrid Decide" + participation_html: "Madrid Decide" transparency: "Transparency" open_data: "Open data" open_city_title: "Love the city, and it will become a city you love." diff --git a/config/locales/pages.en.yml b/config/locales/pages.en.yml index 6ee7c9bdd..3449eaa00 100755 --- a/config/locales/pages.en.yml +++ b/config/locales/pages.en.yml @@ -17,9 +17,15 @@ en: "To confirm the account, you must be 16 or older and be registered as resident in Madrid, having provided the information requested previously, which the Directorate-General of Civil Participation will verify against the files 'Municipal Census of Inhabitants', for which the Directorate-General for Statistics is responsible, and the 'Citizen Support Services', for which the Directorate-General for Quality and Citizen Services is responsible. By accepting the verification process, you also consent to the verification of this information, as well as the contact methods featuring in said files. The data provided will be acquired and processed by the Directorate-General for Civil Participation in the file 'Management of Participatory Activities' mentioned previously in the terms and conditions of use for the Portal." + while_unfinished_html: 'While we finish, we encourage you to visit the Citizen Participation Area, Transparency and Open Government blog to know about our progress and news; or the Citizen Participation section where you can decide which is the city you want.' transparency: - "Transparency" - opendata: "Open Data" + title: "Transparency" + slogan_html: "We are working on the new Madrid City Council Transparency Portal, so that there is absolutely nothing about the city council you can not see.
Meanwhile you can visit the actual Transparency Portal:" + go_old: "Go to Transparency Portal" + opendata: + title: "Open Data" + slogan_html: "We are working on the new Madrid City Council Open Data Portal, meanwhile you can visit the actual Open Data Portal:" + go_old: "Go to Open Data Portal" verify: title: "Verify your account" info: "For verufy your account introduce your access data:" diff --git a/config/locales/pages.es.yml b/config/locales/pages.es.yml index 623b38ecf..e0987d39b 100644 --- a/config/locales/pages.es.yml +++ b/config/locales/pages.es.yml @@ -17,10 +17,15 @@ es: "Para verificar la cuenta hay que tener 16 años o más y estar empadronado en Madrid aportando los datos indicados anteriormente, los cuales serán contrastados por la Dirección General de Participación Ciudadana con los ficheros 'Padrón Municipal de Habitantes' cuyo responsable es la Dirección General de Estadística y 'Servicios Atención al Ciudadano' cuyo responsable es la Dirección General de Calidad y Atención al Ciudadano. Aceptando el proceso de verificación acepta dar su consentimiento para contrastar dicha información, así como medios de contacto que figuren en dichos ficheros. Los datos aportados serán incorporados y tratados por la Dirección General de Participación Ciudadana en el fichero 'Gestión de Procesos Participativos' indicado anteriormente en las condiciones de uso del portal." + while_unfinished_html: 'Mientras acabamos el nuevo portal, te invitamos a visitar el blog del Área de Participación Ciudadana, Transparencia y Gobierno Abierto para conocer nuestros avances y novedades; o la sección de Participación Ciudadana donde poder decidir qué ciudad es la que quieres.' transparency: - "Transparencia" + title: "Transparencia" + slogan_html: "Estamos trabajando en el nuevo Portal de Transparencia del Ayuntamiento de Madrid, para que no quede ni una esquina del Ayuntamiento que no puedas ver.
Por ahora puedes visitar el portal que existía hasta ahora:" + go_old: "Ir al Portal de Transparencia" opendata: - "Datos abiertos" + title: "Datos abiertos" + slogan_html: "Estamos trabajando en el nuevo Portal de Datos Abiertos del Ayuntamiento de Madrid, por ahora puedes visitar el portal que existía hasta ahora:" + go_old: "Ir al Portal de Datos Abiertos" verify: title: "Verifica tu cuenta" info: "Para verificar tu cuenta introduce los datos con los que te registraste:"