From 3c03e52abd8b288dddbe2497597cd8d28b8679d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Melan=C3=A7on?= Date: Sun, 18 Aug 2019 13:03:52 -0400 Subject: [PATCH] For-the-record commit bizarro world translations: spanish that should be english and vice versa Like there's a whole duplicate contact webform called contacto but that sets its language as English. And all that stuff in /es/ that is deleting the spanish and doing english instead. No entiendo. --- config/sync/field.field.node.blog.body.yml | 2 +- config/sync/field.field.node.blog.comment.yml | 2 +- .../sync/field.field.node.blog.field_tags.yml | 2 +- .../language/es/contact.form.feedback.yml | 2 +- .../language/es/contact.form.personal.yml | 2 +- .../sync/language/es/node.type.case_study.yml | 1 + .../es/pathauto.pattern.case_study.yml | 1 + .../es/search_api.index.case_study.yml | 1 + .../language/es/webform.webform.contact.yml | 51 ++-- config/sync/webform.webform.contacto.yml | 250 ++++++++++++++++++ 10 files changed, 293 insertions(+), 21 deletions(-) create mode 100644 config/sync/language/es/node.type.case_study.yml create mode 100644 config/sync/language/es/pathauto.pattern.case_study.yml create mode 100644 config/sync/language/es/search_api.index.case_study.yml create mode 100644 config/sync/webform.webform.contacto.yml diff --git a/config/sync/field.field.node.blog.body.yml b/config/sync/field.field.node.blog.body.yml index 18eb0b9..06eec30 100644 --- a/config/sync/field.field.node.blog.body.yml +++ b/config/sync/field.field.node.blog.body.yml @@ -13,7 +13,7 @@ id: node.blog.body field_name: body entity_type: node bundle: blog -label: Body +label: Cuerpo description: '' required: false translatable: true diff --git a/config/sync/field.field.node.blog.comment.yml b/config/sync/field.field.node.blog.comment.yml index 45d2891..35d16e3 100644 --- a/config/sync/field.field.node.blog.comment.yml +++ b/config/sync/field.field.node.blog.comment.yml @@ -13,7 +13,7 @@ id: node.blog.comment field_name: comment entity_type: node bundle: blog -label: Comments +label: Comentarios description: '' required: false translatable: true diff --git a/config/sync/field.field.node.blog.field_tags.yml b/config/sync/field.field.node.blog.field_tags.yml index a0712d3..3937b5c 100644 --- a/config/sync/field.field.node.blog.field_tags.yml +++ b/config/sync/field.field.node.blog.field_tags.yml @@ -12,7 +12,7 @@ id: node.blog.field_tags field_name: field_tags entity_type: node bundle: blog -label: Tags +label: Etiquetas description: 'Enter a comma-separated list. For example: Amsterdam, Mexico City, "Cleveland, Ohio"' required: false translatable: true diff --git a/config/sync/language/es/contact.form.feedback.yml b/config/sync/language/es/contact.form.feedback.yml index cefd43b..59a5b49 100644 --- a/config/sync/language/es/contact.form.feedback.yml +++ b/config/sync/language/es/contact.form.feedback.yml @@ -1 +1 @@ -message: '¡Gracias por contactarnos! Nos pondremos en contacto con usted tan pronto como uno de nosotros (probablemente Clayton) revise nuestro correo electrónico.' +message: 'Thanks for reaching out! We'll get back to you as soon as one of us (probably Clayton) checks our email.' diff --git a/config/sync/language/es/contact.form.personal.yml b/config/sync/language/es/contact.form.personal.yml index cefd43b..59a5b49 100644 --- a/config/sync/language/es/contact.form.personal.yml +++ b/config/sync/language/es/contact.form.personal.yml @@ -1 +1 @@ -message: '¡Gracias por contactarnos! Nos pondremos en contacto con usted tan pronto como uno de nosotros (probablemente Clayton) revise nuestro correo electrónico.' +message: 'Thanks for reaching out! We'll get back to you as soon as one of us (probably Clayton) checks our email.' diff --git a/config/sync/language/es/node.type.case_study.yml b/config/sync/language/es/node.type.case_study.yml new file mode 100644 index 0000000..40627d8 --- /dev/null +++ b/config/sync/language/es/node.type.case_study.yml @@ -0,0 +1 @@ +name: Work diff --git a/config/sync/language/es/pathauto.pattern.case_study.yml b/config/sync/language/es/pathauto.pattern.case_study.yml new file mode 100644 index 0000000..8e22c93 --- /dev/null +++ b/config/sync/language/es/pathauto.pattern.case_study.yml @@ -0,0 +1 @@ +label: Work diff --git a/config/sync/language/es/search_api.index.case_study.yml b/config/sync/language/es/search_api.index.case_study.yml new file mode 100644 index 0000000..40627d8 --- /dev/null +++ b/config/sync/language/es/search_api.index.case_study.yml @@ -0,0 +1 @@ +name: Work diff --git a/config/sync/language/es/webform.webform.contact.yml b/config/sync/language/es/webform.webform.contact.yml index c54f21c..4e1913b 100644 --- a/config/sync/language/es/webform.webform.contact.yml +++ b/config/sync/language/es/webform.webform.contact.yml @@ -1,24 +1,43 @@ -title: Contacto +title: Contact elements: | introduction: - '#markup': 'Usted – nuestros clientes, colegas, y admiradores locos – on la razón por la que hacemos lo que hacemos. Nos encantaría saber de usted.' + '#type': webform_markup + '#admin_title': Introduction + '#markup': 'You – our clients, colleagues, and crazed adoring fans – are the reason we do what we do. We'd love to hear from you.' name: - '#title': 'Tu Nombre' + '#title': 'Your Name' + '#type': textfield + '#required': true + '#default_value': '[current-user:display-name]' email: - '#title': 'Tu Correo Electrónico' + '#title': 'Your Email' + '#type': email + '#required': true + '#default_value': '[current-user:mail]' subject: - '#title': 'El Tema' + '#title': Subject + '#type': textfield + '#required': true + '#test': 'Testing contact webform from [site:name]' message: - '#title': Mensaje - how_did_you_find_us: - '#title': '¿Cómo se enteró de nosotros?' - '#options': - 'A professional or personal recommendation': 'Una recomendación profesional o personal' - 'I met an Agaric and was given a business card': 'Conocí a un Agárico y me dieron una tarjeta de presentación' - 'Google or something similar': 'Google o algo similar' - 'The Agaric logo appeared on toast I made': 'El logo de Agaric apareció en una tostada que hice' - '#other__option_label': Otro + '#title': Message + '#type': textarea + '#required': true + '#test': 'Please ignore this email.' actions: - '#submit__label': 'Enviar Mensaje' + '#type': webform_actions + '#title': 'Submit button(s)' + '#submit__label': 'Send message' settings: - confirmation_message: '¡Gracias por contactarnos! Nos pondremos en contacto con usted tan pronto como uno de nosotros (probablemente Clayton) revise nuestro correo electrónico.' + confirmation_message: 'Thanks for reaching out! We'll get back to you as soon as one of us (probably Clayton) checks our email.' +handlers: + email_notification: + settings: + body: | + Hi Agarics, + + You got a new message. + +

Submitted on {{ webform_token('[webform_submission:created]', webform_submission) }}

+

Submitted values are:

+ {{ webform_token('[webform_submission:values]', webform_submission) }} diff --git a/config/sync/webform.webform.contacto.yml b/config/sync/webform.webform.contacto.yml new file mode 100644 index 0000000..4c09b4e --- /dev/null +++ b/config/sync/webform.webform.contacto.yml @@ -0,0 +1,250 @@ +langcode: en +status: open +dependencies: + enforced: + module: + - webform +open: null +close: null +weight: 0 +uid: 20 +template: false +archive: false +id: contacto +title: Contacto +description: 'Contact formulario basico.' +category: '' +elements: | + introduction: + '#type': webform_markup + '#admin_title': Introduction + '#markup': 'Ustedes, nuestros clientes, colegas y fans, son la razón por la que hacemos lo que hacemos. Nos encantaría saber de ustedes.' + name: + '#type': textfield + '#title': 'Tu Nombre' + '#required': true + '#default_value': '[current-user:display-name]' + email: + '#type': email + '#title': 'Tu Correo Electrónico' + '#required': true + '#default_value': '[current-user:mail]' + subject: + '#type': textfield + '#title': Subjeto + '#required': true + '#test': 'Testing contact webform from [site:name]' + message: + '#type': textarea + '#title': Mensaje + '#required': true + '#test': 'Please ignore this email.' + actions: + '#type': webform_actions + '#title': 'Submit button(s)' + '#submit__label': 'Enviar mensaje' +css: '' +javascript: '' +settings: + ajax: false + ajax_scroll_top: form + ajax_progress_type: '' + ajax_effect: '' + ajax_speed: null + page: true + page_submit_path: '' + page_confirm_path: '' + page_admin_theme: false + form_title: source_entity_webform + form_submit_once: false + form_exception_message: '' + form_open_message: '' + form_close_message: '' + form_previous_submissions: true + form_confidential: false + form_confidential_message: '' + form_remote_addr: true + form_convert_anonymous: false + form_prepopulate: false + form_prepopulate_source_entity: false + form_prepopulate_source_entity_required: false + form_prepopulate_source_entity_type: '' + form_reset: false + form_disable_autocomplete: false + form_novalidate: false + form_disable_inline_errors: false + form_required: false + form_unsaved: false + form_disable_back: false + form_submit_back: false + form_autofocus: false + form_details_toggle: false + form_access_denied: default + form_access_denied_title: '' + form_access_denied_message: '' + form_access_denied_attributes: { } + form_file_limit: '' + submission_label: '' + submission_log: false + submission_views: { } + submission_views_replace: { } + submission_user_columns: { } + submission_user_duplicate: false + submission_access_denied: default + submission_access_denied_title: '' + submission_access_denied_message: '' + submission_access_denied_attributes: { } + submission_exception_message: '' + submission_locked_message: '' + submission_excluded_elements: { } + submission_exclude_empty: false + submission_exclude_empty_checkbox: false + previous_submission_message: '' + previous_submissions_message: '' + autofill: false + autofill_message: '' + autofill_excluded_elements: { } + wizard_progress_bar: true + wizard_progress_pages: false + wizard_progress_percentage: false + wizard_progress_link: false + wizard_start_label: '' + wizard_preview_link: false + wizard_confirmation: true + wizard_confirmation_label: '' + wizard_track: '' + preview: 0 + preview_label: '' + preview_title: '' + preview_message: '' + preview_attributes: { } + preview_excluded_elements: { } + preview_exclude_empty: true + preview_exclude_empty_checkbox: false + draft: none + draft_multiple: false + draft_auto_save: false + draft_saved_message: '' + draft_loaded_message: '' + draft_pending_single_message: '' + draft_pending_multiple_message: '' + confirmation_type: page + confirmation_title: '' + confirmation_message: '¡Gracias por contactarnos! Nos pondremos en contacto con usted tan pronto como uno de nosotros (probablemente Clayton) revise nuestro correo electrónico.' + confirmation_url: '' + confirmation_attributes: { } + confirmation_back: false + confirmation_back_label: '' + confirmation_back_attributes: { } + confirmation_exclude_query: false + confirmation_exclude_token: false + confirmation_update: false + limit_total: null + limit_total_interval: null + limit_total_message: '' + limit_total_unique: false + limit_user: null + limit_user_interval: null + limit_user_message: '' + limit_user_unique: false + entity_limit_total: null + entity_limit_total_interval: null + entity_limit_user: null + entity_limit_user_interval: null + purge: none + purge_days: null + results_disabled: false + results_disabled_ignore: false + token_update: false +access: + create: + roles: + - anonymous + - authenticated + users: { } + permissions: { } + view_any: + roles: { } + users: { } + permissions: { } + update_any: + roles: { } + users: { } + permissions: { } + delete_any: + roles: { } + users: { } + permissions: { } + purge_any: + roles: { } + users: { } + permissions: { } + view_own: + roles: { } + users: { } + permissions: { } + update_own: + roles: { } + users: { } + permissions: { } + delete_own: + roles: { } + users: { } + permissions: { } + administer: + roles: { } + users: { } + permissions: { } + test: + roles: { } + users: { } + permissions: { } + configuration: + roles: { } + users: { } + permissions: { } +handlers: + email_notification: + id: email + label: 'Email notification' + handler_id: email_notification + status: true + conditions: { } + weight: 1 + settings: + states: + - completed + to_mail: _default + to_options: { } + cc_mail: '' + cc_options: { } + bcc_mail: '' + bcc_options: { } + from_mail: '[webform_submission:values:email:raw]' + from_options: { } + from_name: '[webform_submission:values:name:raw]' + subject: '[webform_submission:values:subject:raw]' + body: | + Hi Agarics, + + You got a new message. + +

Submitted on {{ webform_token('[webform_submission:created]', webform_submission) }}

+

Submitted values are:

+ {{ webform_token('[webform_submission:values]', webform_submission) }} + excluded_elements: { } + ignore_access: false + exclude_empty: true + exclude_empty_checkbox: false + html: true + attachments: false + twig: true + theme_name: '' + debug: false + reply_to: '' + return_path: '' + sender_mail: '' + sender_name: '' +uuid: b908f28a-3a22-43fc-8f90-090e31d7bd0d +_core: + default_config_hash: B-E6t3OGPrgG1OPuVOmoXmjWLXkta_R-lSr_ppfU2Ww