Expensify / App

Welcome to New Expensify: a complete re-imagination of financial collaboration, centered around chat. Help us build the next generation of Expensify by sharing feedback and contributing to the code.
https://new.expensify.com
MIT License
2.99k stars 2.5k forks source link

Add translations for sync stages #41490

Closed lakchote closed 1 week ago

lakchote commented 2 weeks ago

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/41486 PROPOSAL:

Tests

  1. Go to Accounting and click on Set up for Xero
  2. Make the new Xero browser window that pop up, side-by-side to the NewDot window
  3. Go through the whole process
  4. You should see the different sync stages correctly translated

Video:

https://github.com/Expensify/App/assets/21549771/00359807-61b6-494c-bebc-e5209fe2cbf7

Offline tests

NA

QA Steps

PR Author Checklist

Screenshots/Videos

Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari https://github.com/Expensify/App/assets/21549771/00359807-61b6-494c-bebc-e5209fe2cbf7
MacOS: Desktop
melvin-bot[bot] commented 2 weeks ago

@mollfpr Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

lakchote commented 1 week ago

English translations:

case 'xeroSyncImportChartOfAccounts':
    return 'Syncing chart of accounts';
case 'xeroSyncImportCategories':
    return 'Syncing categories';
case 'xeroSyncImportCustomers':
    return 'Syncing customers';
case 'xeroSyncXeroReimbursedReports':
    return 'Marking Expensify reports as reimbursed';
case 'xeroSyncExpensifyReimbursedReports':
    return 'Marking Xero bills and invoices as paid';
case 'xeroSyncImportTrackingCategories':
    return 'Syncing tracking categories';
case 'xeroSyncImportBankAccounts':
    return 'Syncing bank accounts';
case 'xeroSyncImportTaxRates':
    return 'Syncing tax rates';
case 'xeroCheckConnection':
    return 'Checking Xero connection';
case 'xeroSyncTitle':
    return 'Synchronizing Xero data';
case 'xeroSyncStep':
    return 'Loading data';

Spanish translations (with DeepL):

case 'xeroSyncImportChartOfAccounts':
    return 'Sincronizando chart of accounts';
case 'xeroSyncImportCategories':
    return 'Sincronizando categories';
case 'xeroSyncImportCustomers':
    return 'Sincronizando customers';
case 'xeroSyncXeroReimbursedReports':
    return 'Marcar Expensify reports como reimbursed';
case 'xeroSyncExpensifyReimbursedReports':
    return 'Marcar Xero bills y invoices como paid';
case 'xeroSyncImportTrackingCategories':
    return 'Sincronizando tracking categories';
case 'xeroSyncImportBankAccounts':
    return 'Sincronizando bank accounts';
case 'xeroSyncImportTaxRates':
    return 'Sincronizando tax rates';
case 'xeroCheckConnection':
    return 'Comprobando conexiΓ³n Xero';
case 'xeroSyncTitle':
    return 'Sincronizando datos Xero';
case 'xeroSyncStep':
    return 'Cargando datos';

Do the spanish translations look correct to you?

lakchote commented 1 week ago

@pecanoro could you please take a look at the translations just above? Thanks!

pecanoro commented 1 week ago

Can you add the translations to the file so I can leave suggestions? πŸ˜„

lakchote commented 1 week ago

Can you add the translations to the file so I can leave suggestions? πŸ˜„

Done here πŸ˜„

lakchote commented 1 week ago

Thank you Rocio!

cc @rushatgabhane ready for review

pecanoro commented 1 week ago

@rushatgabhane All yours!

pecanoro commented 1 week ago

@lakchote Do we need to change the main branch of this one as well?

lakchote commented 1 week ago

@lakchote Do we need to change the main branch of this one as well?

Yes, a big YES! I've thought about it for my other Xero PR, but forgot about this one. Thank you!

pecanoro commented 1 week ago

@rushatgabhane Friendly bump!

mananjadhav commented 1 week ago

@lakchote I am testing Sync now on Xero and I am assuming the translations/stages will be fixed here when the user clicks sync button? When do you think we'll have this merged?

https://github.com/Expensify/App/assets/3069065/00c7cb4d-a99f-4830-99b4-6ea72b2c52bd

lakchote commented 1 week ago

@lakchote I am testing Sync now on Xero and I am assuming the translations/stages will be fixed here when the user clicks sync button? When do you think we'll have this merged?

Yes it'll be fixed when this PR gets merged. We are waiting for @rushatgabhane's approval.

rushatgabhane commented 1 week ago

Reviewer Checklist

Screenshots/Videos

Android: Native
Android: mWeb Chrome
iOS: Native https://github.com/Expensify/App/assets/29673073/40e37b5c-99c3-42ed-8b26-08108ef9fbcf
iOS: mWeb Safari https://github.com/Expensify/App/assets/29673073/4b21865f-7718-41fb-b1cd-80343f233f96
MacOS: Chrome / Safari https://github.com/Expensify/App/assets/29673073/68e8ec7a-c5cc-4b12-8a00-68c72ee9fad1 https://github.com/Expensify/App/assets/29673073/1e75de4b-5e67-43d5-89db-7b0a0630f9aa
MacOS: Desktop https://github.com/Expensify/App/assets/29673073/844cc160-2f7f-49b6-b54d-a3f399a495b0
OSBotify commented 3 days ago

πŸš€ Deployed to staging by https://github.com/pecanoro in version: 1.4.74-0 πŸš€

platform result
πŸ€– android πŸ€– success βœ…
πŸ–₯ desktop πŸ–₯ success βœ…
🍎 iOS 🍎 success βœ…
πŸ•Έ web πŸ•Έ success βœ