Skip to content

Commit

Permalink
Fix the Spanish translation for "set amount"
Browse files Browse the repository at this point in the history
  • Loading branch information
abzokhattab authored Oct 10, 2024
1 parent d1feccc commit 60ed8d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/languages/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -929,10 +929,10 @@ const translations = {
noReimbursableExpenses: 'El importe de este informe no es válido',
pendingConversionMessage: 'El total se actualizará cuando estés online',
changedTheExpense: 'cambió el gasto',
setTheRequest: ({valueName, newValueToDisplay}: SetTheRequestParams) => `${valueName === 'comerciante' ? 'el' : 'la'} ${valueName} a ${newValueToDisplay}`,
setTheRequest: ({valueName, newValueToDisplay}: SetTheRequestParams) => `${valueName === 'comerciante' || valueName === 'importe' || valueName === 'gasto' ? 'el' : 'la'} ${valueName} a ${newValueToDisplay}`,

Check failure on line 932 in src/languages/es.ts

View workflow job for this annotation

GitHub Actions / ESLint check

Insert `⏎···········`

Check failure on line 932 in src/languages/es.ts

View workflow job for this annotation

GitHub Actions / Changed files ESLint check

Insert `⏎···········`
setTheDistanceMerchant: ({translatedChangedField, newMerchant, newAmountToDisplay}: SetTheDistanceMerchantParams) =>
`estableció la ${translatedChangedField} a ${newMerchant}, lo que estableció el importe a ${newAmountToDisplay}`,
removedTheRequest: ({valueName, oldValueToDisplay}: RemovedTheRequestParams) => `${valueName === 'comerciante' ? 'el' : 'la'} ${valueName} (previamente ${oldValueToDisplay})`,
removedTheRequest: ({valueName, oldValueToDisplay}: RemovedTheRequestParams) => `${valueName === 'comerciante' || valueName === 'importe' || valueName === 'gasto' ? 'el' : 'la'} ${valueName} (previamente ${oldValueToDisplay})`,

Check failure on line 935 in src/languages/es.ts

View workflow job for this annotation

GitHub Actions / ESLint check

Insert `⏎···········`

Check failure on line 935 in src/languages/es.ts

View workflow job for this annotation

GitHub Actions / Changed files ESLint check

Insert `⏎···········`
updatedTheRequest: ({valueName, newValueToDisplay, oldValueToDisplay}: UpdatedTheRequestParams) =>
`${valueName === 'comerciante' || valueName === 'importe' || valueName === 'gasto' ? 'el' : 'la'} ${valueName} a ${newValueToDisplay} (previamente ${oldValueToDisplay})`,
updatedTheDistanceMerchant: ({translatedChangedField, newMerchant, oldMerchant, newAmountToDisplay, oldAmountToDisplay}: UpdatedTheDistanceMerchantParams) =>
Expand Down

0 comments on commit 60ed8d3

Please sign in to comment.