diff --git a/app/views/posts/attributes/_content.haml b/app/views/posts/attributes/_content.haml index b35e274..715f6c2 100644 --- a/app/views/posts/attributes/_content.haml +++ b/app/views/posts/attributes/_content.haml @@ -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') diff --git a/config/locales/en.yml b/config/locales/en.yml index 1535a62..7aa061c 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -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 :)" diff --git a/config/locales/es.yml b/config/locales/es.yml index 8ec1527..7a35ee5 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -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 :)"