adds styles and i18n to signature sheets admin views

This commit is contained in:
Alberto Garcia Cabeza
2016-12-20 14:57:24 +01:00
parent 7ec6a874b6
commit a7aed27db4
9 changed files with 127 additions and 45 deletions

View File

@@ -69,6 +69,10 @@ en:
external_url: "Link to additional documentation"
geozone_id: "Scope of operation"
title: "Title"
signature_sheet:
signable_type: "Signable type"
signable_id: "Signable ID"
document_numbers: "Documents numbers"
errors:
models:
user:

View File

@@ -69,6 +69,10 @@ es:
external_url: "Enlace a documentación adicional"
geozone_id: "Ámbito de actuación"
title: "Título"
signature_sheet:
signable_type: "Tipo de hoja de firmas"
signable_id: "ID Propuesta ciudadana/Propuesta inversión"
document_numbers: "Números de documentos"
errors:
models:
user:

View File

@@ -296,10 +296,27 @@ en:
delete:
success: Geozone successfully deleted
error: This geozone can't be deleted since there are elements attached to it
signature_sheet:
signature_sheets:
author: Author
created_at: Creation date
name: Name
no_signature_sheets: "There are not signature_sheets"
index:
title: Signature sheets
new: New signature sheets
new:
title: New signature sheets
signable_type: Type of signature sheet
document_numbers_note: "Write the numbers separated by commas (,)"
submit: Create signature sheets
show:
created_at: Created
author: Author
documents: Documents
all_valid: "All the signatures (%{count}) are valid"
valid: "There are %{count} valid signatures"
invalid: "There are %{count} invalid signatures"
loading: "There are still signatures that are being verified by the Census, please refresh the page in a few moments"
stats:
show:
stats_title: Stats

View File

@@ -294,10 +294,27 @@ es:
delete:
success: Distrito borrado correctamente
error: No se puede borrar el distrito porque ya tiene elementos asociados
signature_sheet:
signature_sheets:
author: Autor
created_at: Fecha de creación
name: Nombre
no_signature_sheets: "No existen hojas de firmas"
index:
title: Hojas de firmas
new: Nueva hoja de firmas
new:
title: Nueva hoja de firmas
signable_type: Tipo de hoja de firmas
document_numbers_note: "Introduce los números separados por comas (,)"
submit: Crear hoja de firmas
show:
created_at: Creado
author: Autor
documents: Documentos
all_valid: "Todas las firmas introducidas (%{count}) son válidas"
valid: "Hay %{count} firmas válidas"
invalid: "Hay %{count} firmas inválidas"
loading: "Aún hay firmas que se están verificando por el Padrón, por favor refresca la página en unos instantes"
stats:
show:
stats_title: Estadísticas

View File

@@ -27,6 +27,7 @@ en:
facebook_login: Facebook login
google_login: Google login
debates: Debates
signature_sheets: Signature sheets
spending_proposals: Investment projects
spending_proposal_features:
voting_allowed: Voting on investment projects

View File

@@ -27,6 +27,7 @@ es:
facebook_login: Registro con Facebook
google_login: Registro con Google
debates: Debates
signature_sheets: Hojas de firmas
spending_proposals: Propuestas de inversión
spending_proposal_features:
voting_allowed: Votaciones sobre propuestas de inversión.