From 5a331158c4175da8f93f67d0342d54ab55d49234 Mon Sep 17 00:00:00 2001 From: Hans Date: Fri, 3 May 2024 23:33:51 +0700 Subject: [PATCH] update typo.. --- src/languages/en.ts | 4 ++-- src/languages/es.ts | 6 +++--- .../accounting/qbo/advanced/QuickbooksAccountSelectPage.tsx | 2 +- .../qbo/advanced/QuickbooksInvoiceAccountSelectPage.tsx | 2 +- .../workspace/accounting/xero/advanced/XeroAdvancedPage.tsx | 2 +- .../xero/advanced/XeroInvoiceAccountSelectorPage.tsx | 4 ++-- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/languages/en.ts b/src/languages/en.ts index dbe5943b9215..8db64180f789 100755 --- a/src/languages/en.ts +++ b/src/languages/en.ts @@ -1966,7 +1966,7 @@ export default { qboInvoiceCollectionAccount: 'QuickBooks invoice collections account', accountSelectDescription: "As you've enabled sync reimbursed reports, you will need select the bank account your reimbursements are coming out of, and we'll create the payment in QuickBooks.", - invoiceAccountSelectDescription: + invoiceAccountSelectorDescription: 'If you are exporting invoices from Expensify to Quickbooks Online, this is the account the invoice will appear against once marked as paid.', }, accounts: { @@ -2010,7 +2010,7 @@ export default { reimbursedReportsDescription: 'Any time a report is paid using Expensify ACH, the corresponding bill payment will be created in the Xero account below.', xeroBillPaymentAccount: 'Xero Bill Payment Account', xeroInvoiceCollectionAccount: 'Xero Invoice Collections Account', - invoiceAccountSelectDescription: "As you've enabled exporting Invoices from Expensify to Xero, this is the account the Invoice will appear against once marked as Paid.", + invoiceAccountSelectorDescription: "As you've enabled exporting invoices from Expensify to Xero, this is the account the invoice will appear against once marked as paid.", }, }, type: { diff --git a/src/languages/es.ts b/src/languages/es.ts index 71d883bcfab2..a156b0073442 100644 --- a/src/languages/es.ts +++ b/src/languages/es.ts @@ -1993,7 +1993,7 @@ export default { qboInvoiceCollectionAccount: 'Cuenta de cobro de las facturas QuickBooks', accountSelectDescription: 'Como has activado la sincronización de los informes de reembolso, tendrás que seleccionar la cuenta bancaria de la que saldrán tus reembolsos y crearemos el pago en QuickBooks.', - invoiceAccountSelectDescription: + invoiceAccountSelectorDescription: 'Si está exportando facturas de Expensify a Quickbooks Online, ésta es la cuenta en la que aparecerá la factura una vez marcada como pagada.', }, accounts: { @@ -2044,8 +2044,8 @@ export default { 'Cada vez que se pague un informe utilizando Expensify ACH, se creará el correspondiente pago de la factura en la cuenta de Xero indicadas a continuación.', xeroBillPaymentAccount: 'Cuenta de pago de las facturas de Xero', xeroInvoiceCollectionAccount: 'Cuenta de cobro de las facturas Xero', - invoiceAccountSelectDescription: - 'Como ha activado la exportación de facturas de Expensify a Xero, esta es la cuenta en la que aparecerá la factura una vez marcada como Pagada.', + invoiceAccountSelectorDescription: + 'Como ha activado la exportación de facturas de Expensify a Xero, esta es la cuenta en la que aparecerá la factura una vez marcada como pagada.', }, }, type: { diff --git a/src/pages/workspace/accounting/qbo/advanced/QuickbooksAccountSelectPage.tsx b/src/pages/workspace/accounting/qbo/advanced/QuickbooksAccountSelectPage.tsx index 38dc517d57de..e9cc481eb23e 100644 --- a/src/pages/workspace/accounting/qbo/advanced/QuickbooksAccountSelectPage.tsx +++ b/src/pages/workspace/accounting/qbo/advanced/QuickbooksAccountSelectPage.tsx @@ -42,7 +42,7 @@ function QuickbooksAccountSelectPage({policy}: WithPolicyConnectionsProps) { const listHeaderComponent = useMemo( () => ( - {translate('workspace.qbo.advancedConfig.invoiceAccountSelectDescription')} + {translate('workspace.qbo.advancedConfig.invoiceAccountSelectorDescription')} ), [translate, styles.pb2, styles.ph5, styles.pb5, styles.textNormal], diff --git a/src/pages/workspace/accounting/qbo/advanced/QuickbooksInvoiceAccountSelectPage.tsx b/src/pages/workspace/accounting/qbo/advanced/QuickbooksInvoiceAccountSelectPage.tsx index 31667da4ff6d..fd6bfde869f3 100644 --- a/src/pages/workspace/accounting/qbo/advanced/QuickbooksInvoiceAccountSelectPage.tsx +++ b/src/pages/workspace/accounting/qbo/advanced/QuickbooksInvoiceAccountSelectPage.tsx @@ -43,7 +43,7 @@ function QuickbooksInvoiceAccountSelectPage({policy}: WithPolicyConnectionsProps const listHeaderComponent = useMemo( () => ( - {translate('workspace.qbo.advancedConfig.invoiceAccountSelectDescription')} + {translate('workspace.qbo.advancedConfig.invoiceAccountSelectorDescription')} ), [translate, styles.pb2, styles.ph5, styles.pb5, styles.textNormal], diff --git a/src/pages/workspace/accounting/xero/advanced/XeroAdvancedPage.tsx b/src/pages/workspace/accounting/xero/advanced/XeroAdvancedPage.tsx index 516180145406..9d84fbb206d2 100644 --- a/src/pages/workspace/accounting/xero/advanced/XeroAdvancedPage.tsx +++ b/src/pages/workspace/accounting/xero/advanced/XeroAdvancedPage.tsx @@ -57,7 +57,7 @@ function XeroAdvancedPage({policy}: WithPolicyConnectionsProps) { ( - {translate('workspace.xero.advancedConfig.invoiceAccountSelectDescription')} + {translate('workspace.xero.advancedConfig.invoiceAccountSelectorDescription')} ), [translate, styles.pb2, styles.ph5, styles.pb5, styles.textNormal], @@ -65,7 +65,7 @@ function XeroInvoiceAccountSelectorPage({policy}: WithPolicyConnectionsProps) { onSelectRow={updateMode} initiallyFocusedOptionKey={initiallyFocusedOptionKey} headerContent={listHeaderComponent} - onBackButtonPress={() => Navigation.goBack()} + onBackButtonPress={() => Navigation.goBack(ROUTES.POLICY_ACCOUNTING_XERO_ADVANCED.getRoute(policyID))} title="workspace.xero.advancedConfig.xeroInvoiceCollectionAccount" /> );