Skip to content

Commit

Permalink
Merge pull request #44128 from Expensify/yuwen-nsSyncSteps
Browse files Browse the repository at this point in the history
[No QA] Add sync steps and translations for NetSuite
  • Loading branch information
youssef-lr authored Jun 21, 2024
2 parents 5158966 + 8f1b45f commit 221117c
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/CONST.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1834,6 +1834,21 @@ const CONST = {
XERO_SYNC_IMPORT_TAX_RATES: 'xeroSyncImportTaxRates',
XERO_CHECK_CONNECTION: 'xeroCheckConnection',
XERO_SYNC_TITLE: 'xeroSyncTitle',
NETSUITE_SYNC_CONNECTION: 'netSuiteSyncConnection',
NETSUITE_SYNC_CUSTOMERS: 'netSuiteSyncCustomers',
NETSUITE_SYNC_INIT_DATA: 'netSuiteSyncInitData',
NETSUITE_SYNC_IMPORT_TAXES: 'netSuiteSyncImportTaxes',
NETSUITE_SYNC_IMPORT_ITEMS: 'netSuiteSyncImportItems',
NETSUITE_SYNC_DATA: 'netSuiteSyncData',
NETSUITE_SYNC_ACCOUNTS: 'netSuiteSyncAccounts',
NETSUITE_SYNC_CURRENCIES: 'netSuiteSyncCurrencies',
NETSUITE_SYNC_CATEGORIES: 'netSuiteSyncCategories',
NETSUITE_SYNC_IMPORT_EMPLOYEES: 'netSuiteSyncImportEmployees',
NETSUITE_SYNC_REPORT_FIELDS: 'netSuiteSyncReportFields',
NETSUITE_SYNC_TAGS: 'netSuiteSyncTags',
NETSUITE_SYNC_UPDATE_DATA: 'netSuiteSyncUpdateConnectionData',
NETSUITE_SYNC_NETSUITE_REIMBURSED_REPORTS: 'netSuiteSyncNetSuiteReimbursedReports',
NETSUITE_SYNC_EXPENSIFY_REIMBURSED_REPORTS: 'netSuiteSyncExpensifyReimbursedReports',
},
SYNC_STAGE_TIMEOUT_MINUTES: 20,
},
Expand Down
30 changes: 30 additions & 0 deletions src/languages/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2527,6 +2527,36 @@ export default {
return 'Syncing Xero data';
case 'xeroSyncStep':
return 'Loading data';
case 'netSuiteSyncConnection':
return 'Initializing connection to NetSuite';
case 'netSuiteSyncCustomers':
return 'Importing customers';
case 'netSuiteSyncInitData':
return 'Retrieving data from NetSuite';
case 'netSuiteSyncImportTaxes':
return 'Importing taxes';
case 'netSuiteSyncImportItems':
return 'Importing items';
case 'netSuiteSyncData':
return 'Importing data into Expensify';
case 'netSuiteSyncAccounts':
return 'Syncing accounts';
case 'netSuiteSyncCurrencies':
return 'Syncing currencies';
case 'netSuiteSyncCategories':
return 'Syncing categories';
case 'netSuiteSyncImportEmployees':
return 'Importing employees';
case 'netSuiteSyncReportFields':
return 'Importing data as Expensify report fields';
case 'netSuiteSyncTags':
return 'Importing data as Expensify tags';
case 'netSuiteSyncUpdateConnectionData':
return 'Updating connection info';
case 'netSuiteSyncNetSuiteReimbursedReports':
return 'Marking Expensify reports as reimbursed';
case 'netSuiteSyncExpensifyReimbursedReports':
return 'Marking NetSuite bills and invoices as paid';
default: {
return `Translation missing for stage: ${stage}`;
}
Expand Down
30 changes: 30 additions & 0 deletions src/languages/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2531,6 +2531,36 @@ export default {
return 'Sincronizando los datos de Xero';
case 'xeroSyncStep':
return 'Cargando datos';
case 'netSuiteSyncConnection':
return 'Iniciando conexión a NetSuite';
case 'netSuiteSyncCustomers':
return 'Importando clientes';
case 'netSuiteSyncInitData':
return 'Recuperando datos de NetSuite';
case 'netSuiteSyncImportTaxes':
return 'Importando impuestos';
case 'netSuiteSyncImportItems':
return 'Importando artículos';
case 'netSuiteSyncData':
return 'Importando datos a Expensify';
case 'netSuiteSyncAccounts':
return 'Sincronizando cuentas';
case 'netSuiteSyncCurrencies':
return 'Sincronizando divisas';
case 'netSuiteSyncCategories':
return 'Sincronizando categorías';
case 'netSuiteSyncImportEmployees':
return 'Importando empleados';
case 'netSuiteSyncReportFields':
return 'Importando datos como campos de informe de Expensify';
case 'netSuiteSyncTags':
return 'Importando datos como etiquetas de Expensify';
case 'netSuiteSyncUpdateConnectionData':
return 'Actualizando información de conexión';
case 'netSuiteSyncNetSuiteReimbursedReports':
return 'Marcando informes de Expensify como reembolsados';
case 'netSuiteSyncExpensifyReimbursedReports':
return 'Marcando facturas y recibos de NetSuite como pagados';
default: {
return `Translation missing for stage: ${stage}`;
}
Expand Down

0 comments on commit 221117c

Please sign in to comment.