Skip to content

Commit

Permalink
Add translations for sync job
Browse files Browse the repository at this point in the history
  • Loading branch information
aldo-expensify committed Apr 26, 2024
1 parent 42d4ed7 commit 117e550
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/CONST.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1681,6 +1681,12 @@ const CONST = {
QBO_SYNC_PAYMENTS: 'quickbooksOnlineSyncBillPayments',
QBO_IMPORT_TAX_CODES: 'quickbooksOnlineSyncTaxCodes',
QBO_CHECK_CONNECTION: 'quickbooksOnlineCheckConnection',
QBO_SYNC_TITLE: 'quickbooksOnlineSyncTitle',
QBO_SYNC_LOAD_DATA: 'quickbooksOnlineSyncLoadData',
QBO_SYNC_APPLY_CATEGORIES: 'quickbooksOnlineSyncApplyCategories',
QBO_SYNC_APPLY_CUSTOMERS: 'quickbooksOnlineSyncApplyCustomers',
QBO_SYNC_APPLY_PEOPLE: 'quickbooksOnlineSyncApplyEmployees',
QBO_SYNC_APPLY_CLASSES_LOCATIONS: 'quickbooksOnlineSyncApplyClassesLocations',
JOB_DONE: 'jobDone',
},
},
Expand Down
12 changes: 12 additions & 0 deletions src/languages/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2196,6 +2196,18 @@ export default {
return 'Importing your QuickBooks Online data';
case 'startingImport':
return 'Importing your QuickBooks Online data';
case 'quickbooksOnlineSyncTitle':
return 'Synchronizing QuickBooks Online data';
case 'quickbooksOnlineSyncLoadData':
return 'Loading data';
case 'quickbooksOnlineSyncApplyCategories':
return 'Updating categories';
case 'quickbooksOnlineSyncApplyCustomers':
return 'Updating Customers/Projects';
case 'quickbooksOnlineSyncApplyEmployees':
return 'Updating people list';
case 'quickbooksOnlineSyncApplyClassesLocations':
return 'Updating report fields';
default: {
return `Translation missing for stage: ${stage}`;
}
Expand Down
12 changes: 12 additions & 0 deletions src/languages/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2191,6 +2191,18 @@ export default {
return 'Importando datos desde QuickBooks Online';
case 'startingImport':
return 'Importando datos desde QuickBooks Online';
case 'quickbooksOnlineSyncTitle':
return 'Sincronizando datos desde QuickBooks Online';
case 'quickbooksOnlineSyncLoadData':
return 'Cargando datos';
case 'quickbooksOnlineSyncApplyCategories':
return 'Actualizando categorías';
case 'quickbooksOnlineSyncApplyCustomers':
return 'Actualizando Clientes/Proyectos';
case 'quickbooksOnlineSyncApplyEmployees':
return 'Actualizando empleados';
case 'quickbooksOnlineSyncApplyClassesLocations':
return 'Actualizando clases';
default: {
return `Translation missing for stage: ${stage}`;
}
Expand Down

0 comments on commit 117e550

Please sign in to comment.