From ca831e0987b766f20e17a59aa0e92fb15cdff500 Mon Sep 17 00:00:00 2001 From: Carlos Martins Date: Thu, 9 May 2024 08:46:46 -0600 Subject: [PATCH 1/5] update copy --- src/languages/es.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/languages/es.ts b/src/languages/es.ts index b2f02708bbe2..3c841b8b6e6b 100644 --- a/src/languages/es.ts +++ b/src/languages/es.ts @@ -2523,7 +2523,6 @@ export default { addPaymentCardRedundant: 'Infraestructura redundante', addPaymentCardLearnMore: 'Conozca más sobre nuestra', addPaymentCardSecurity: 'seguridad', - // TODO: add spanish translations below amountOwedTitle: 'Saldo pendiente', amountOwedButtonText: 'OK', amountOwedText: 'Esta cuenta tiene un saldo pendiente de un mes anterior.\n\n¿Quiere liquidar el saldo y hacerse cargo de la facturación de este espacio de trabajo?', @@ -2543,9 +2542,9 @@ export default { hasFailedSettlementsButtonText: 'Entiendo', hasFailedSettlementsText: ({email}) => `No puede hacerse cargo de la facturación porque ${email} tiene una liquidación vencida de la tarjeta Expensify. Avíseles que se comuniquen con concierge@expensify.com para resolver el problema. Luego, podrá hacerse cargo de la facturación de este espacio de trabajo.`, - failedToClearBalanceTitle: 'Failed to clear balance', + failedToClearBalanceTitle: 'Saldo no compensado', failedToClearBalanceButtonText: 'OK', - failedToClearBalanceText: 'We were unable to clear the balance. Please try again later.', + failedToClearBalanceText: 'No hemos podido liquidar el saldo, por favor, inténtalo más tarde.', successTitle: '¡Guau! Todo listo.', successDescription: 'Ahora eres el propietario de este espacio de trabajo.', errorTitle: '¡Ups! No tan rapido...', From d068785b2bc378f0bc7b01ef1e9ff615db679a0e Mon Sep 17 00:00:00 2001 From: Carlos Martins Date: Thu, 9 May 2024 10:06:04 -0600 Subject: [PATCH 2/5] update copy --- src/languages/es.ts | 2 +- src/libs/WorkspacesSettingsUtils.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/languages/es.ts b/src/languages/es.ts index 3c841b8b6e6b..5f56fdb12310 100644 --- a/src/languages/es.ts +++ b/src/languages/es.ts @@ -2542,7 +2542,7 @@ export default { hasFailedSettlementsButtonText: 'Entiendo', hasFailedSettlementsText: ({email}) => `No puede hacerse cargo de la facturación porque ${email} tiene una liquidación vencida de la tarjeta Expensify. Avíseles que se comuniquen con concierge@expensify.com para resolver el problema. Luego, podrá hacerse cargo de la facturación de este espacio de trabajo.`, - failedToClearBalanceTitle: 'Saldo no compensado', + failedToClearBalanceTitle: 'Fallo al liquidar el saldo', failedToClearBalanceButtonText: 'OK', failedToClearBalanceText: 'No hemos podido liquidar el saldo, por favor, inténtalo más tarde.', successTitle: '¡Guau! Todo listo.', diff --git a/src/libs/WorkspacesSettingsUtils.ts b/src/libs/WorkspacesSettingsUtils.ts index 6c57c2a6f99d..fa951d794def 100644 --- a/src/libs/WorkspacesSettingsUtils.ts +++ b/src/libs/WorkspacesSettingsUtils.ts @@ -237,7 +237,7 @@ function getOwnershipChecksDisplayText( const subscription = changeOwner?.subscription as unknown as {ownerUserCount: number; totalUserCount: number}; const ownerOwesAmount = changeOwner?.ownerOwesAmount as unknown as {ownerEmail: string; amount: number; currency: string}; - switch (error) { + switch (CONST.POLICY.OWNERSHIP_ERRORS.FAILED_TO_CLEAR_BALANCE) { case CONST.POLICY.OWNERSHIP_ERRORS.AMOUNT_OWED: title = translate('workspace.changeOwner.amountOwedTitle'); text = translate('workspace.changeOwner.amountOwedText'); From 9fd467b785f507d6f19473ceea8c050c5f4545d3 Mon Sep 17 00:00:00 2001 From: Carlos Martins Date: Thu, 9 May 2024 10:09:02 -0600 Subject: [PATCH 3/5] undo debug --- src/libs/WorkspacesSettingsUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/WorkspacesSettingsUtils.ts b/src/libs/WorkspacesSettingsUtils.ts index fa951d794def..6c57c2a6f99d 100644 --- a/src/libs/WorkspacesSettingsUtils.ts +++ b/src/libs/WorkspacesSettingsUtils.ts @@ -237,7 +237,7 @@ function getOwnershipChecksDisplayText( const subscription = changeOwner?.subscription as unknown as {ownerUserCount: number; totalUserCount: number}; const ownerOwesAmount = changeOwner?.ownerOwesAmount as unknown as {ownerEmail: string; amount: number; currency: string}; - switch (CONST.POLICY.OWNERSHIP_ERRORS.FAILED_TO_CLEAR_BALANCE) { + switch (error) { case CONST.POLICY.OWNERSHIP_ERRORS.AMOUNT_OWED: title = translate('workspace.changeOwner.amountOwedTitle'); text = translate('workspace.changeOwner.amountOwedText'); From a382d662ea1578a902f4f475c9303156e507d539 Mon Sep 17 00:00:00 2001 From: Carlos Martins Date: Thu, 9 May 2024 10:21:14 -0600 Subject: [PATCH 4/5] update another copy --- src/languages/es.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/languages/es.ts b/src/languages/es.ts index 5f56fdb12310..bf3cd9a858c1 100644 --- a/src/languages/es.ts +++ b/src/languages/es.ts @@ -2510,7 +2510,7 @@ export default { updateToUSD: 'Actualizar a USD', }, changeOwner: { - changeOwnerPageTitle: 'Dueño de la transferencia', + changeOwnerPageTitle: 'Transferir dueño', addPaymentCardTitle: 'Ingrese tu tarjeta de pago para transferir la propiedad', addPaymentCardButtonText: 'Aceptar términos y agregar tarjeta de pago', addPaymentCardReadAndAcceptTextPart1: 'Lea y acepte', From 1b6c9ea07d80822e58cb73e3896e20433417c033 Mon Sep 17 00:00:00 2001 From: Carlos Martins Date: Thu, 9 May 2024 10:24:15 -0600 Subject: [PATCH 5/5] use same copy as button --- src/languages/es.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/languages/es.ts b/src/languages/es.ts index bf3cd9a858c1..115ef7a32f9e 100644 --- a/src/languages/es.ts +++ b/src/languages/es.ts @@ -2510,7 +2510,7 @@ export default { updateToUSD: 'Actualizar a USD', }, changeOwner: { - changeOwnerPageTitle: 'Transferir dueño', + changeOwnerPageTitle: 'Transferir la propiedad', addPaymentCardTitle: 'Ingrese tu tarjeta de pago para transferir la propiedad', addPaymentCardButtonText: 'Aceptar términos y agregar tarjeta de pago', addPaymentCardReadAndAcceptTextPart1: 'Lea y acepte',