editor: i18n en la template

This commit is contained in:
void 2021-02-18 21:43:47 +00:00
parent 8212c323ca
commit 7cf35a98c4
3 changed files with 13 additions and 25 deletions

View file

@ -48,12 +48,12 @@
.col-12.col-lg.form-group.d-flex.align-items-end
.custom-file
%input.custom-file-input{ type: 'file', name: 'multimedia-file' }/
%label.custom-file-label{ for: 'multimedia-file' }= t('editor.file.multimedia')
%button.btn{ type: 'button', name: 'multimedia-file-upload' }= t('editor.file.multimedia-upload')
%label.custom-file-label{ for: 'multimedia-file' }= t('editor.multimedia-select')
%button.btn{ type: 'button', name: 'multimedia-file-upload' }= t('editor.multimedia-upload')
.col-12.col-lg.form-group
%label{ for: 'multimedia-alt' }= t('editor.description')
%input.form-control{ type: 'text', name: 'multimedia-alt' }/
%button.btn{ type: 'button', name: 'multimedia-remove' }= t('editor.file.multimedia-remove')
%button.btn{ type: 'button', name: 'multimedia-remove' }= t('editor.multimedia-remove')
.form-group{ data: { editor: { auxiliary: 'link' } } }
%label{ for: 'link-url' }= t('editor.url')

View file

@ -577,7 +577,7 @@ en:
deleted: Strikethrough
underline: Underline
mark: Mark
a: Link
link: Link
sup: Superscript
sub: Subscript
h1: Heading 1
@ -591,17 +591,11 @@ en:
left: Left
right: Right
center: Center
img: Image
video: Video
audio: Audio
pdf: PDF
color: Color
img: Image
file:
img: Select and upload image
video: Select and upload video
audio: Select and upload audio
pdf: Select and upload PDF
multimedia: Media
multimedia-select: Select file
multimedia-upload: Upload
multimedia-remove: Remove media
description: Description for blind people and search engines
url: Address
word: "If you're pasting from an hegemonic word processor, please be patient with us, it's not always simple to recover the whole format :)"

View file

@ -592,7 +592,7 @@ es:
mark: Resaltado
sup: Índice
sub: Subíndice
a: Vínculo
link: Vínculo
h1: Título 1
h2: Título 2
h3: Título 3
@ -604,17 +604,11 @@ es:
left: Izquierda
right: Derecha
center: Centro
img: Imágen
video: Video
audio: Audio
pdf: PDF
color: Color
img: Imágen
file:
img: Seleccionar y subir imágen
video: Seleccionar y subir video
audio: Seleccionar y subir audio
pdf: Seleccionar y subir archivo PDF
multimedia: Multimedia
multimedia-select: Seleccionar archivo
multimedia-upload: Subir
multimedia-remove: Borrar multimedia
description: Descripción para personas no videntes y buscadores
url: Dirección
word: "Si estás pegando texto desde un hegemónico editor de texto que empieza con W, por favor tenenos paciencia, no siempre es simple recuperar y respetar todo el formato :)"