Merge pull request #1484 from PopulateTools/site-customization

Site customization
This commit is contained in:
Raimond Garcia
2017-04-11 13:48:17 +02:00
committed by GitHub
61 changed files with 1444 additions and 21 deletions

View File

@@ -46,6 +46,15 @@ en:
spending_proposal:
one: "Spending proposal"
other: "Spending proposals"
site_customization/page:
one: Custom page
other: Custom pages
site_customization/image:
one: Custom image
other: Custom images
site_customization/content_block:
one: Custom content block
other: Custom content blocks
attributes:
budget:
name: "Name"
@@ -120,6 +129,23 @@ en:
signable_type: "Signable type"
signable_id: "Signable ID"
document_numbers: "Documents numbers"
site_customization/page:
content: Content
created_at: Created at
subtitle: Subtitle
slug: Slug
status: Status
title: Title
updated_at: Updated at
more_info_flag: Show in more information page
print_content_flag: Print content button
site_customization/image:
name: Name
image: Image
site_customization/content_block:
name: Name
locale: locale
body: Body
errors:
models:
user:
@@ -156,3 +182,12 @@ en:
document_number:
not_in_census: 'Not verified by Census'
already_voted: 'Already voted this proposal'
site_customization/page:
attributes:
slug:
slug_format: "must be letters, numbers, _ and -"
site_customization/image:
attributes:
image:
image_width: "Width must be %{required_width}px"
image_height: "Height must be %{required_height}px"

View File

@@ -46,6 +46,15 @@ es:
spending_proposal:
one: "Propuesta de inversión"
other: "Propuestas de inversión"
site_customization/page:
one: Página
other: Páginas
site_customization/image:
one: Imagen
other: Imágenes
site_customization/content_block:
one: Bloque
other: Bloques
attributes:
budget:
name: "Nombre"
@@ -115,6 +124,23 @@ es:
signable_type: "Tipo de hoja de firmas"
signable_id: "ID Propuesta ciudadana/Propuesta inversión"
document_numbers: "Números de documentos"
site_customization/page:
content: Contenido
created_at: Creada
subtitle: Subtítulo
slug: Slug
status: Estado
title: Título
updated_at: última actualización
more_info_flag: Mostrar en la página de más información
print_content_flag: Botón de imprimir contenido
site_customization/image:
name: Nombre
image: Imagen
site_customization/content_block:
name: Nombre
locale: Idioma
body: Contenido
errors:
models:
user:
@@ -151,3 +177,12 @@ es:
document_number:
not_in_census: 'No verificado por Padrón'
already_voted: 'Ya ha votado esta propuesta'
site_customization/page:
attributes:
slug:
slug_format: "deber ser letras, números, _ y -"
site_customization/image:
attributes:
image:
image_width: "Debe tener %{required_width}px de ancho"
image_height: "Debe tener %{required_height}px de alto"

View File

@@ -215,12 +215,17 @@ en:
spending_proposals: Spending proposals
stats: Statistics
signature_sheets: Signature Sheets
site_customization:
pages: Custom Pages
images: Custom Images
content_blocks: Custom content blocks
title_categories: Categories
title_moderated_content: Moderated content
title_budgets: Budgets
title_polls: Polls
title_profiles: Profiles
title_banners: Banners
title_site_customization: Site customization
moderators:
index:
title: Moderators
@@ -657,3 +662,77 @@ en:
phone_not_given: Phone not given
sms_code_not_confirmed: Has not confirmed the sms code
title: Incomplete verifications
site_customization:
content_blocks:
form:
content_blocks_information: Information about content blocks
content_block_about: You can create HTML content blocks to be inserted in the header or the footer of your Consul.
content_block_top_links_html: "<strong>Header blocks (top_links)</strong> are blocks of links that must have this format:"
content_block_footer_html: "<strong>Footer blocks</strong> can have any format and can be used to insert Javascript, CSS or custom HTML."
create:
notice: Content block created successfully
error: Content block couldn't be created
update:
notice: Content block updated successfully
error: Content block couldn't be updated
destroy:
notice: Content block deleted successfully
edit:
title: Editing content block
back: Back
errors:
form:
error: Error
index:
create: Create new content block
delete: Delete
title: Content blocks
new:
back: Back
title: Create new content block
content_block:
body: Body
name: Name
images:
index:
title: Custom images
update: Update
delete: Delete
update:
notice: Image updated successfully
error: Image couldn't be updated
destroy:
notice: Image deleted successfully
error: Image couldn't be deleted
pages:
create:
notice: Page created successfully
error: Page couldn't be created
update:
notice: Page updated successfully
error: Page couldn't be updated
destroy:
notice: Page deleted successfully
edit:
title: Editing %{page_title}
back: Back
errors:
form:
error: Error
form:
options: Options
index:
create: Create new page
delete: Delete
title: Custom Pages
see_page: See page
new:
back: Back
title: Create new custom page
page:
created_at: Created at
status: Status
title: Title
updated_at: Updated at
status_draft: Draft
status_published: Published

View File

@@ -215,12 +215,17 @@ es:
spending_proposals: Propuestas de inversión
stats: Estadísticas
signature_sheets: Hojas de firmas
site_customization:
pages: Personalizar páginas
images: Personalizar imágenes
content_blocks: Personalizar bloques
title_categories: Categorías
title_moderated_content: Contenido moderado
title_budgets: Presupuestos
title_polls: Votaciones
title_profiles: Perfiles
title_banners: Banners
title_site_customization: Personalizar sitio
moderators:
index:
title: Moderadores
@@ -657,3 +662,77 @@ es:
phone_not_given: No ha dado su teléfono
sms_code_not_confirmed: No ha introducido su código de seguridad
title: Verificaciones incompletas
site_customization:
content_blocks:
form:
content_blocks_information: Información sobre los bloques de texto
content_block_about: Puedes crear bloques de HTML que se incrustarán en la cabecera o el pie de tu Cónsul.
content_block_top_links_html: "Los <strong>bloques de la cabecera (top_links)</strong> son bloques de enlaces que deben crearse con este formato:"
content_block_footer_html: "Los <strong>bloques del pie (footer)</strong> pueden tener cualquier formato y se pueden utilizar para guardar huellas Javascript, contenido CSS o contenido HTML personalizado."
create:
notice: Bloque creado correctamente
error: No se ha podido crear el bloque
update:
notice: Bloque actualizado correctamente
error: No se ha podido actualizar el bloque
destroy:
notice: Bloque borrado correctamente
edit:
title: Editar bloque
back: Volver
errors:
form:
error: Error
index:
create: Crear nuevo bloque
delete: Borrar
title: Bloques
new:
back: Volver
title: Crear nuevo bloque
content_block:
body: Contenido
name: Nombre
images:
index:
title: Personalizar imágenes
update: Actualizar
delete: Borrar
update:
notice: Imagen actualizada correctamente
error: No se ha podido actualizar la imagen
destroy:
notice: Imagen borrada correctamente
error: No se ha podido borrar la imagen
pages:
create:
notice: Página creada correctamente
error: No se ha podido crear la página
update:
notice: Página actualizada correctamente
error: No se ha podido actualizar la página
destroy:
notice: Página eliminada correctamente
edit:
title: Editar %{page_title}
back: Volver
errors:
form:
error: Error
form:
options: Opciones
index:
create: Crear nueva página
delete: Borrar
title: Páginas
see_page: Ver página
new:
back: Back
title: Página nueva
page:
created_at: Creada
status: Estado
title: Título
updated_at: Última actualización
status_draft: Borrador
status_published: Publicada

View File

@@ -21,6 +21,8 @@ en:
youtube_handle: "Youtube handle"
telegram_handle: "Telegram handle"
blog_url: "Blog URL"
transparency_url: "Transparency URL"
opendata_url: "Open Data URL"
url: "Main URL"
org_name: "Organization"
place_name: "Place"

View File

@@ -21,6 +21,8 @@ es:
youtube_handle: "Usuario de Youtube"
telegram_handle: "Usuario de Telegram"
blog_url: "URL del blog"
transparency_url: "URL de transparencia"
opendata_url: "URL de open data"
url: "URL general de la web"
org_name: "Nombre de la organización"
place_name: "Nombre del lugar"