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

View file

@ -577,7 +577,7 @@ en:
deleted: Strikethrough deleted: Strikethrough
underline: Underline underline: Underline
mark: Mark mark: Mark
a: Link link: Link
sup: Superscript sup: Superscript
sub: Subscript sub: Subscript
h1: Heading 1 h1: Heading 1
@ -591,17 +591,11 @@ en:
left: Left left: Left
right: Right right: Right
center: Center center: Center
img: Image
video: Video
audio: Audio
pdf: PDF
color: Color color: Color
img: Image multimedia: Media
file: multimedia-select: Select file
img: Select and upload image multimedia-upload: Upload
video: Select and upload video multimedia-remove: Remove media
audio: Select and upload audio
pdf: Select and upload PDF
description: Description for blind people and search engines description: Description for blind people and search engines
url: Address 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 :)" 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 mark: Resaltado
sup: Índice sup: Índice
sub: Subíndice sub: Subíndice
a: Vínculo link: Vínculo
h1: Título 1 h1: Título 1
h2: Título 2 h2: Título 2
h3: Título 3 h3: Título 3
@ -604,17 +604,11 @@ es:
left: Izquierda left: Izquierda
right: Derecha right: Derecha
center: Centro center: Centro
img: Imágen
video: Video
audio: Audio
pdf: PDF
color: Color color: Color
img: Imágen multimedia: Multimedia
file: multimedia-select: Seleccionar archivo
img: Seleccionar y subir imágen multimedia-upload: Subir
video: Seleccionar y subir video multimedia-remove: Borrar multimedia
audio: Seleccionar y subir audio
pdf: Seleccionar y subir archivo PDF
description: Descripción para personas no videntes y buscadores description: Descripción para personas no videntes y buscadores
url: Dirección 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 :)" 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 :)"