Site customization: images uploads
This commit is contained in:
@@ -43,6 +43,9 @@ en:
|
||||
site_customization/page:
|
||||
one: Custom page
|
||||
other: Custom pages
|
||||
site_customization/image:
|
||||
one: Custom image
|
||||
other: Custom images
|
||||
attributes:
|
||||
budget:
|
||||
name: "Name"
|
||||
@@ -151,3 +154,8 @@ en:
|
||||
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"
|
||||
|
||||
@@ -43,6 +43,9 @@ es:
|
||||
site_customization/page:
|
||||
one: Página
|
||||
other: Páginas
|
||||
site_customization/image:
|
||||
one: Imagen
|
||||
other: Imágenes
|
||||
attributes:
|
||||
budget:
|
||||
name: "Nombre"
|
||||
@@ -146,3 +149,8 @@ es:
|
||||
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"
|
||||
|
||||
@@ -209,6 +209,7 @@ en:
|
||||
signature_sheets: Signature Sheets
|
||||
site_customization:
|
||||
pages: Custom Pages
|
||||
images: Custom Images
|
||||
moderators:
|
||||
index:
|
||||
title: Moderators
|
||||
@@ -478,12 +479,23 @@ en:
|
||||
sms_code_not_confirmed: Has not confirmed the sms code
|
||||
title: Incomplete verifications
|
||||
site_customization:
|
||||
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.'
|
||||
notice: Page created successfully
|
||||
error: Process couldn't be created
|
||||
update:
|
||||
notice: 'Page updated successfully.'
|
||||
notice: Page updated successfully
|
||||
error: Page couldn't be updated
|
||||
destroy:
|
||||
notice: Page deleted successfully
|
||||
|
||||
@@ -208,7 +208,8 @@ es:
|
||||
stats: Estadísticas
|
||||
signature_sheets: Hojas de firmas
|
||||
site_customization:
|
||||
pages: Páginas
|
||||
pages: Personalizar páginas
|
||||
images: Personalizar imágenes
|
||||
moderators:
|
||||
index:
|
||||
title: Moderadores
|
||||
@@ -478,12 +479,23 @@ es:
|
||||
sms_code_not_confirmed: No ha introducido su código de seguridad
|
||||
title: Verificaciones incompletas
|
||||
site_customization:
|
||||
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.'
|
||||
notice: Página creada correctamente
|
||||
error: No se ha podido crear la página
|
||||
update:
|
||||
notice: 'Página actualizada correctamente.s'
|
||||
notice: Página actualizada correctamente
|
||||
error: No se ha podido actualizar la página
|
||||
destroy:
|
||||
notice: Página eliminada correctamente
|
||||
|
||||
@@ -225,6 +225,7 @@ Rails.application.routes.draw do
|
||||
|
||||
namespace :site_customization do
|
||||
resources :pages, except: [:show]
|
||||
resources :images, only: [:index, :update, :destroy]
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user