From 5488c8a9ec5e7510c6d36195b38ceaa61c2b2b25 Mon Sep 17 00:00:00 2001 From: Joao Marcelo Alves Date: Wed, 9 Oct 2024 10:19:56 -0300 Subject: [PATCH] LRSD-6615 Add translations to Callback Form SLA Fragment --- .../callback-form-sla-text/index.html | 4 ++-- .../site-initializer/plo-entries.json | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/workspaces/liferay-customer-workspace/client-extensions/liferay-customer-site-initializer-code/site-initializer/fragments/group/liferay-customer/customer-portal/fragments/callback-form-sla-text/index.html b/workspaces/liferay-customer-workspace/client-extensions/liferay-customer-site-initializer-code/site-initializer/fragments/group/liferay-customer/customer-portal/fragments/callback-form-sla-text/index.html index 1e7c571aff663c..a12af999a8c6db 100644 --- a/workspaces/liferay-customer-workspace/client-extensions/liferay-customer-site-initializer-code/site-initializer/fragments/group/liferay-customer/customer-portal/fragments/callback-form-sla-text/index.html +++ b/workspaces/liferay-customer-workspace/client-extensions/liferay-customer-site-initializer-code/site-initializer/fragments/group/liferay-customer/customer-portal/fragments/callback-form-sla-text/index.html @@ -11,10 +11,10 @@ [#assign objectEntryJSON = jsonFactoryUtil.createJSONObject(objectEntryResponse) /] [/#if] -[#assign message = "While immediate callbacks are reserved for those with platinum level, a support member will get in touch within 1 business day during our standard business hours of your designated Support Center. In the meantime, consider creating a support ticket which can help expedite a resolution." /] +[#assign message = languageUtil.get(locale, "sla-normal-message", "While immediate callbacks are reserved for those with platinum level, a support member will get in touch within 1 business day during our standard business hours of your designated Support Center. In the meantime, consider creating a support ticket which can help expedite a resolution.") /] [#if objectEntryJSON.has("koroneikiAccountToCallbackRequest") && objectEntryJSON.get("koroneikiAccountToCallbackRequest").has("slaCurrent") && objectEntryJSON.get("koroneikiAccountToCallbackRequest").get("slaCurrent") == "Platinum Subscription"] - [#assign message = "A Liferay Support member will contact you within 1 hour at the indicated phone number. Consider creating a support ticket if you haven't already to help expedite a resolution." /] + [#assign message = languageUtil.get(locale, "sla-platinum-message", "A Liferay Support member will contact you within 1 hour at the indicated phone number. Consider creating a support ticket if you haven't already to help expedite a resolution.") /] [/#if]

${message}

\ No newline at end of file diff --git a/workspaces/liferay-customer-workspace/client-extensions/liferay-customer-site-initializer-code/site-initializer/plo-entries.json b/workspaces/liferay-customer-workspace/client-extensions/liferay-customer-site-initializer-code/site-initializer/plo-entries.json index aaff2da9c4ad4d..fcbe92bf2d81c1 100644 --- a/workspaces/liferay-customer-workspace/client-extensions/liferay-customer-site-initializer-code/site-initializer/plo-entries.json +++ b/workspaces/liferay-customer-workspace/client-extensions/liferay-customer-site-initializer-code/site-initializer/plo-entries.json @@ -101,6 +101,24 @@ "en-US": "Sites" } }, + { + "key": "sla-normal-message", + "value": { + "en-US": "While immediate callbacks are reserved for those with platinum level, a support member will get in touch within 1 business day during our standard business hours of your designated Support Center. In the meantime, consider creating a support ticket which can help expedite a resolution.", + "es-ES": "Aunque las respuestas inmediatas se reservan para el nivel plantinum, un miembro de soporte se pondrá en contacto en menos de un día hábil dentro del horario habitual de negocio de tu centro de soporte asignado. Mientras tanto, considera crear un ticket de soporte, ya que puede ayudar a agilizar la resolución del problema.", + "ja-JP": "即時コールバックは、プラチナレベルの方に限りますが、ご指定のサポートセンターの標準営業時間内であれば、1営業日以内にサポートメンバーからご連絡いたします。それまでの間、解決を早めるためにサポートチケットの作成をご検討ください。", + "pt-BR": "Um membro do Suporte da Liferay entrará em contato com você dentro de 1 hora no número de telefone indicado. Considere criar um ticket de suporte, caso ainda não tenha feito, para ajudar a agilizar a resolução." + } + }, + { + "key": "sla-platinum-message", + "value": { + "en-US": "A Liferay Support member will contact you within 1 hour at the indicated phone number. Consider creating a support ticket if you haven't already to help expedite a resolution.", + "es-ES": "Un miembro de Soporte de Liferay se pondrá en contacto en menos de 1 hora mediante el teléfono indicado. Considera crear un ticket de soporte si no lo has creado ya para agilizar la resolución del problema.", + "ja-JP": "Liferayサポートメンバーから指定の電話番号に1時間以内にご連絡いたします。まだサポートチケットを作成していない場合は、解決を早めるためにサポートチケットの作成をご検討ください。", + "pt-BR": "Um membro do Suporte da Liferay entrará em contato com você dentro de 1 hora no número de telefone indicado. Considere criar um ticket de suporte, caso ainda não tenha feito, para ajudar a agilizar a resolução." + } + }, { "key": "there-are-no-breaking-changes-in-out-of-the-box-features-and-capabilities-for-this-quarterly-release", "value": {