Skip to content

Commit

Permalink
Fix backticks usage
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham1206agra committed Sep 27, 2024
1 parent 1dde318 commit e514a72
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
26 changes: 13 additions & 13 deletions src/languages/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -841,8 +841,8 @@ const translations = {
receiptScanInProgress: 'Receipt scan in progress',
receiptScanInProgressDescription: 'Receipt scan in progress. Check back later or enter the details now.',
receiptIssuesFound: () => ({
one: `Issue found`,
other: `Issues found`,
one: 'Issue found',
other: 'Issues found',
}),
fieldPending: 'Pending...',
defaultRate: 'Default rate',
Expand Down Expand Up @@ -874,12 +874,12 @@ const translations = {
};
},
deleteExpense: () => ({
one: `Delete expense`,
other: `Delete expenses`,
one: 'Delete expense',
other: 'Delete expenses',
}),
deleteConfirmation: () => ({
one: `Are you sure that you want to delete this expense?`,
other: `Are you sure that you want to delete these expenses?`,
one: 'Are you sure that you want to delete this expense?',
other: 'Are you sure that you want to delete these expenses?',
}),
settledExpensify: 'Paid',
settledElsewhere: 'Paid elsewhere',
Expand Down Expand Up @@ -982,14 +982,14 @@ const translations = {
confirmApprove: 'Confirm approval amount',
confirmApprovalAmount: 'Approve only compliant expenses, or approve the entire report.',
confirmApprovalAllHoldAmount: () => ({
one: `This expense is on hold. Do you want to approve anyway?`,
other: `These expenses are on hold. Do you want to approve anyway?`,
one: 'This expense is on hold. Do you want to approve anyway?',
other: 'These expenses are on hold. Do you want to approve anyway?',
}),
confirmPay: 'Confirm payment amount',
confirmPayAmount: "Pay what's not on hold, or pay the entire report.",
confirmPayAllHoldAmount: () => ({
one: `This expense is on hold. Do you want to pay anyway?`,
other: `These expenses are on hold. Do you want to pay anyway?`,
one: 'This expense is on hold. Do you want to pay anyway?',
other: 'These expenses are on hold. Do you want to pay anyway?',
}),
payOnly: 'Pay only',
approveOnly: 'Approve only',
Expand Down Expand Up @@ -2283,7 +2283,7 @@ const translations = {
issueAndManageCards: 'Issue and manage cards',
reconcileCards: 'Reconcile cards',
selected: () => ({
one: `1 selected`,
one: '1 selected',
other: (count: number) => `${count} selected`,
}),
settlementFrequency: 'Settlement frequency',
Expand Down Expand Up @@ -2887,7 +2887,7 @@ const translations = {
detailedInstructionsLink: 'View detailed instructions',
detailedInstructionsRestOfSentence: ' on adding user-defined dimensions.',
userDimensionsAdded: () => ({
one: `1 UDD added`,
one: '1 UDD added',
other: (count: number) => `${count} UDDs added`,
}),
mappingTitle: ({mappingName}: IntacctMappingTitleParams) => {
Expand Down Expand Up @@ -3880,7 +3880,7 @@ const translations = {
maxExpenseAge: 'Max expense age',
maxExpenseAgeDescription: 'Flag spend older than a specific number of days.',
maxExpenseAgeDays: () => ({
one: `1 day`,
one: '1 day',
other: (count: number) => `${count} days`,
}),
billableDefault: 'Billable default',
Expand Down
26 changes: 13 additions & 13 deletions src/languages/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -831,8 +831,8 @@ const translations = {
markAsCash: 'Marcar como efectivo',
routePending: 'Ruta pendiente...',
receiptIssuesFound: () => ({
one: `Problema encontrado`,
other: `Problemas encontrados`,
one: 'Problema encontrado',
other: 'Problemas encontrados',
}),
fieldPending: 'Pendiente...',
receiptScanning: 'Escaneando recibo...',
Expand Down Expand Up @@ -867,12 +867,12 @@ const translations = {
};
},
deleteExpense: () => ({
one: `Eliminar gasto`,
other: `Eliminar gastos`,
one: 'Eliminar gasto',
other: 'Eliminar gastos',
}),
deleteConfirmation: () => ({
one: `¿Estás seguro de que quieres eliminar esta solicitud?`,
other: `¿Estás seguro de que quieres eliminar estas solicitudes?`,
one: '¿Estás seguro de que quieres eliminar esta solicitud?',
other: '¿Estás seguro de que quieres eliminar estas solicitudes?',
}),
settledExpensify: 'Pagado',
settledElsewhere: 'Pagado de otra forma',
Expand Down Expand Up @@ -974,14 +974,14 @@ const translations = {
confirmApprove: 'Confirmar importe a aprobar',
confirmApprovalAmount: 'Aprueba sólo los gastos conformes, o aprueba todo el informe.',
confirmApprovalAllHoldAmount: () => ({
one: `Este gasto está bloqueado. ¿Quieres aprobarlo de todos modos?`,
other: `Estos gastos están bloqueados. ¿Quieres aprobarlos de todos modos?`,
one: 'Este gasto está bloqueado. ¿Quieres aprobarlo de todos modos?',
other: 'Estos gastos están bloqueados. ¿Quieres aprobarlos de todos modos?',
}),
confirmPay: 'Confirmar importe de pago',
confirmPayAmount: 'Paga lo que no está bloqueado, o paga el informe completo.',
confirmPayAllHoldAmount: () => ({
one: `Este gasto está bloqueado. ¿Quieres pagarlo de todos modos?`,
other: `Estos gastos están bloqueados. ¿Quieres pagarlos de todos modos?`,
one: 'Este gasto está bloqueado. ¿Quieres pagarlo de todos modos?',
other: 'Estos gastos están bloqueados. ¿Quieres pagarlos de todos modos?',
}),
payOnly: 'Solo pagar',
approveOnly: 'Solo aprobar',
Expand Down Expand Up @@ -2303,7 +2303,7 @@ const translations = {
issueAndManageCards: 'Emitir y gestionar tarjetas',
reconcileCards: 'Reconciliar tarjetas',
selected: () => ({
one: `1 seleccionado`,
one: '1 seleccionado',
other: (count: number) => `${count} seleccionados`,
}),
settlementFrequency: 'Frecuencia de liquidación',
Expand Down Expand Up @@ -2922,7 +2922,7 @@ const translations = {
detailedInstructionsLink: 'Ver instrucciones detalladas',
detailedInstructionsRestOfSentence: ' para añadir dimensiones definidas por el usuario.',
userDimensionsAdded: () => ({
one: `1 UDD añadido`,
one: '1 UDD añadido',
other: (count: number) => `${count} UDDs añadido`,
}),
mappingTitle: ({mappingName}: IntacctMappingTitleParams) => {
Expand Down Expand Up @@ -3923,7 +3923,7 @@ const translations = {
maxExpenseAge: 'Antigüedad máxima de los gastos',
maxExpenseAgeDescription: 'Marca los gastos de más de un número determinado de días.',
maxExpenseAgeDays: () => ({
one: `1 día`,
one: '1 día',
other: (count: number) => `${count} días`,
}),
billableDefault: 'Valor predeterminado facturable',
Expand Down

0 comments on commit e514a72

Please sign in to comment.