From 28afa046a361623ff7090bf34e4b6c1e4c253487 Mon Sep 17 00:00:00 2001 From: f Date: Wed, 18 Nov 2020 11:06:59 -0300 Subject: [PATCH] =?UTF-8?q?avisar=20que=20est=C3=A1=20en=20desarrollo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/posts/attributes/_content.haml | 3 +++ config/locales/en.yml | 1 + config/locales/es.yml | 1 + 3 files changed, 5 insertions(+) diff --git a/app/views/posts/attributes/_content.haml b/app/views/posts/attributes/_content.haml index b4d1ad2a..89aef3a9 100644 --- a/app/views/posts/attributes/_content.haml +++ b/app/views/posts/attributes/_content.haml @@ -4,6 +4,9 @@ post: post, attribute: attribute, metadata: metadata .editor + .alert.alert-info + :markdown + #{t('editor.alert')} = text_area_tag "post[#{attribute}]", '', dir: dir, lang: locale, **field_options(attribute, metadata), class: 'd-none' diff --git a/config/locales/en.yml b/config/locales/en.yml index ccba5513..0642748c 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -554,6 +554,7 @@ en: description: The field contents are encrypted before being stored and won't be available on the public website or its source code. You can save private information here and it will only be readable to this site's users through Sutty's panel. decryption_error: There was an error trying to decrypt the content, Sutty's team has been notified! editor: + alert: "Hi! This our new editor, supporting more formats. Editors are complex machines and we can only polish them with your help. If you have a few minutes, [we'll like to read about your experience](https://sutty.nl/en/#contact) :)" bold: Bold italic: Emphasis deleted: Strikethrough diff --git a/config/locales/es.yml b/config/locales/es.yml index 1dc5fe72..02312ab3 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -573,6 +573,7 @@ es: description: El contenido de este campo se guarda cifrado y no estará disponible en el sitio ni en su código fuente. Puedes guardar información privada aquí y sólo estará disponible para quienes tengan acceso a ese sitio en el panel de Sutty. decryption_error: Hubo un error al decifrar la información, ¡el equipo de Sutty ya fue notificado! editor: + alert: "¡Hola! Este es nuestro nuevo editor, con soporte para más formatos. Los editores son una máquina compleja y solo podemos mejorarlo con tu ayuda. Si tenés unos minutos, [nos gustaría leer tu experiencia](https://sutty.nl/#contacto) :)" bold: Fuerte italic: Énfasis deleted: Tachado